1 2006-05-03 Bruno Haible <bruno@clisp.org>
3 * doc/autoconf.texi (Limitations of Usual Tools): Identify more
4 precisely which Mac OS X versions have the od problem.
6 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
8 * doc/autoconf.texi: Use @option systematically.
11 2006-05-02 Paul Eggert <eggert@cs.ucla.edu>
12 and Bruno Haible <bruno@clisp.org>
14 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph
16 (Integer Overflow): Mention the special case of integer division
19 2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
22 traditional shells like the Solaris one that do not use the
23 first IFS character for assembling `$*'.
24 Prompted by a related report from autoconf_bug@nro.ca.
26 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
27 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
29 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
30 Mention more problems with the -e option.
32 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
35 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
37 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
38 in URLs to improve DVI formatted output (requires texinfo 4.6).
39 (System Services, Systemology, Shellology): Likewise.
40 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
43 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
45 (Runtime): Fix macro argument names to match description:
46 `action-if-found' -> `action-if-true' and similarly.
47 (Obsolete Macros): Likewise.
48 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
49 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
50 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
52 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 * doc/autoconf.texi (Limitations of Make): Clean up markup.
57 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
60 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
62 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
63 /bin/sh set unsorted output.
64 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
65 * tests/local.at: Likewise.
67 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
69 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
70 (Integer Overflow, Null Pointers, Buffer Overruns):
71 (Floating Point Portability, Exiting Portably): New sections.
72 (Writing Test Programs): Fix some langauge. Recommend exiting
73 with status 1, not merely nonzero. Clarify exit declaration.
74 (Run Time): Move C exit status stuff to new Exiting Portably section.
75 (Systemology): Mention Posix and levenez. Update v7 reference.
76 (Portable Shell): Mention the Posix shell.
78 2006-04-25 Stepan Kasal <kasal@ucw.cz>
80 * bin/autoconf.as (me): Replace by as_me.
82 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
84 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
85 since as_me isn't set yet.
87 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
89 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
90 a few minor bugs in this area.
92 * doc/autoconf.texi (Programming in M4sh): Comment out the
93 documentation of AS_BASENAME, for now.
94 (Shell Substitutions): Do not use AS_DIRNAME in an example.
95 (Limitations of Builtins) <basename>: Do not refer to
97 * bin/autoconf.as (me): Don't use AS_BASENAME.
98 (dir): Remove the unused variable.
99 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
100 AS_DETECT_REQUIRED. All uses changed.
101 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
103 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
104 (AS_BASENAME): Use "basename --" to protect against leading "-".
105 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
106 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
107 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
108 (_AS_DIRNAME_PREPARE): Likewise.
109 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
110 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
111 (AS_DIRNAME): Use "dirname --".
113 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
115 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
116 of "run time" and "run-time" changed to "runtime", for consistency.
117 * lib/autoconf/fortran.m4: Likewise (in comment).
118 * lib/autoconf/functions.m4: Likewise.
119 * lib/autoconf/general.m4: Likewise.
120 * lib/autoconf/headers.m4: Likewise.
122 * doc/autoconf.texi (Run Time): Document the exit status situation
123 with more accuracy and detail.
125 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
128 Archive is not officially `GNU' any more. Update URL.
129 (Defining Directories): Likewise
130 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
132 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
135 newline from the `trap' code to finish `config.log'; the NetBSD
136 /bin/sh resets the exit status after an empty command, as
137 documented in doc/autoconf.texi.
138 Reported by Dalibor Topic <robilad@kaffe.org>.
140 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
142 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
143 Suggested by Bruno Haible.
145 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
147 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
148 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
149 Instead, just list the shells that we know work.
150 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
151 changed. Be more cautious about the _cv_ variable.
152 * tests/tools.at (Syntax of the shell scripts): Check the
153 _cv_ variable once, at first, to avoid an internal autoconf error
154 when sh -n does not work.
156 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
158 * lib/Autom4te/FileUtils.pm: Sync from Automake.
160 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
162 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
163 use ">&-" since we're only 99.999% sure that this is portable,
164 and since the MinGW bug is fixed in a different way.
165 * lib/autotest/general.m4 (AT_INIT): Likewise.
167 2006-04-16 Stepan Kasal <kasal@ucw.cz>
169 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
170 before opening config.log, to avoid hitting a bug on MinGW.
172 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
174 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
175 AS_MESSAGE_LOG_FD before reopening it onto the log file.
176 This works around a MinGW bug reported by Eric Paire.
177 Make sure that all writes to the log file append to it,
178 rather than possibly losing data.
179 * lib/autotest/general.m4 (AT_INIT): Likewise.
181 2006-04-14 Stepan Kasal <kasal@ucw.cz>
183 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
186 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
190 * configure.ac (AC_INIT): Bump to 2.59d.
192 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
196 * Makefile.maint (news-date-check): Do not require a leading `*'
197 before the release date in NEWS.
199 2006-04-12 Stepan Kasal <kasal@ucw.cz>
200 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
202 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
203 the instantiated file do not contain the string 'datarootdir'
204 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
205 @mandir@, replace the reference '${datarootdir}' by the value.
206 * tests/torture.at (datarootdir workaround): New test.
207 * NEWS: Advertise this temporary fixup.
208 Based on a patch by Bruno Haible, reported and analyzed by
209 Paul Eggert and Noah Misch.
211 2006-04-12 Eric Blake <ebb9@byu.net>
213 * tests/autotest.at (Debugging a failed test): Fix comment.
215 2006-04-12 Stepan Kasal <kasal@ucw.cz>
217 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
218 all the changes since 2006-04-07.
220 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
223 succeeded, but `ln -s file dir' failed, take care to remove the
224 leftover target before the next test, to prevent its spurious
225 failure; also make sure `ln file dir' works before selecting it.
226 Thanks to Keith Marshall for pointing this out.
229 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
230 assignments in `at_debug_args', so that we put them correctly
232 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
233 Reported by Eric Blake.
235 2006-04-11 Eric Blake <ebb9@byu.net>
237 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
238 top-level tests after micro-suite has been run. Used in...
239 (Debugging a successful test, Debugging script and environment),
240 (Debugging a failed test): ...these new tests. The first of these
242 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
243 macro, split out from...
244 (AT_INIT): ...here, so that using -d also generates a run script.
245 Document that -d inhibits top-level logging.
246 * doc/autoconf.texi (testsuite Invocation): Document that -d only
247 inhibits top-level logging; debug scripts are created.
249 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
251 * tests/autotest.at (Empty test, Empty check): New test to check it.
253 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
256 2006-04-10 Stepan Kasal <kasal@ucw.cz>
258 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
259 the files if a problem appears. Make the empty *.at files
260 read-only, too. Proposed by Ralf Wildenhues.
262 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
264 * config/Makefile.am: Add comment to force updated Makefile.in.
266 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
267 space only patch to this file, this patch causes the Makefile.in
268 files that include freeze.mk to be updated, and thus have a
269 newer time stamp again, which in turn makes a pristine CVS
270 checkout have correct time stamps.
272 * Makefile.maint (cvs-sv): New macro, to be used..
273 (config.guess-url_prefix, config.sub-url_prefix)
274 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
275 point to CVS text checkout of Gnulib files.
276 (copyright-check): Bump current year.
277 (announcement): Do not hard-wire `./announce-gen'.
278 (cvs-update): Propagate failures of `cvs' and `move-if-change'
280 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
282 (wget_files): Update config.guess, config.sub, texinfo.tex by
283 `wget-update', now that their URLs work again.
285 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
287 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
288 Problem noted by Paul D. Smith.
290 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
292 * doc/autoconf.texi: Remove unused words from word list.
293 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
294 .x-sc_trailing_space: New files.
296 * doc/standards.texi: Sync from gnulib.
298 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
299 `LIBOBJDIR' as experimental.
301 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
302 with a target directory; it's internally implemented as `cp'
303 anyway, but since Autoconf advertises the possibility to use
304 a target directory when LN_S is `ln -s', we need to find out.
305 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
306 analyzed by Keith Marshall <keith.marshall@total.com>.
310 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
312 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
313 confdefs.h as-is. In general, if it has backslash-newline or the
314 like, then it doesn't work either to sort or to remove empty
317 2006-04-09 Stepan Kasal <kasal@ucw.cz>
319 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
321 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
323 * lib/autom4te.in (Automake-preselections): Preselect
326 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
328 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
329 apostrophe within a single-quoted string, as this is the usual
330 tradition and is easier to read than '"'"'. Don't rely on the
331 shell treating "$/" like '$/'. Use a more-consistent indenting
334 2006-04-09 Eric Blake <ebb9@byu.net>
336 * tests/autotest.at (Backquote command substitution),
337 (Multiline backquote command substitution): Remove mistaken
338 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
340 (Parenthetical command substitution, Multiline parenthetical
341 command substitution): here.
343 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
345 Import macros from gnulib (often changing their name).
347 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
348 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
349 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
350 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
351 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
352 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
353 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
354 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
355 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
356 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
357 The manual mentions Gnulib more prominently.
358 * doc/autoconf.texi (Gnulib): New node.
359 (Pointers): Add Gnulib URL.
360 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
361 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
363 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
364 suggest a #define rather than a typedef for _Bool, and mention
365 Gnulib rather than trying to substitute stdbool code.
366 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
367 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
368 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
369 AC_STRUCT_DIRENT_D_TYPE.
370 (Particular Types): Mention stdint.h and inttypes.h as standard
372 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
373 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
374 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
375 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
376 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
377 (C Compiler): Move AC_C_LONG_DOUBLE to ...
378 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
379 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
380 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
381 (Coding Style). Don't mention m4_expand_once.
382 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
383 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
384 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
385 (AC_CHECK_FUNCS): Use it.
386 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
387 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
388 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
389 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
390 (AC_HEADER_ASSERT): New macro.
391 (AC_HEADER_STDBOOL): Don't assume "#error" works.
392 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
393 Catch a bug in an HP-UX C compiler.
394 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
395 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
396 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
397 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
398 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
399 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
402 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
403 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
405 2006-04-08 Stepan Kasal <kasal@ucw.cz>
407 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
408 of the warning introduced by the 2001-08-28 change.
410 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
411 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
413 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
414 variables shall be overriden by the cache.
415 * tests/torture.at (AC_ARG_VAR): Test also with a first value
416 that contains braces.
418 2006-04-07 Stepan Kasal <kasal@ucw.cz>
420 Revert the patch from 2006-04-01 and only improve
421 _AS_DETECT_BETTER_SHELL:
423 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
424 skip nonexistent directories.
425 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
426 only shell candidates which exist.
427 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
428 * lib/autotest/general.m4 (AT_INIT): No need to give three
429 parameters to _AS_PATH_WALK.
431 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
432 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
434 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
435 distinguish m4sugar macros.
436 * tests/tools.at (autoupdating with aclocal and m4_include):
437 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
438 test case by Noah Misch <noah@cs.caltech.edu>.
440 2006-04-07 Stepan Kasal <kasal@ucw.cz>
442 Revert my change from 2006-03-17, in other words:
443 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
445 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
446 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
449 2006-04-07 Eric Blake <ebb9@byu.net>
451 * doc/autoconf.texi (Programming in M4sh): Document that
452 AS_MKDIR_P exits the script on failure.
453 * lib/autotest/general.m4: Remove redundant AS_ERROR.
455 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
457 * config/elisp-comp, config/install-sh, config/mdate-sh,
458 config/missing, config/mkinstalldirs: Sync from Automake.
460 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
463 * doc/make-stds.texi: Sync from gnulib.
465 2006-04-06 Eric Blake <ebb9@byu.net>
467 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
468 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
471 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
472 Eric Blake <ebb9@byu.net>,
473 Paul Eggert <eggert@cs.ucla.edu>,
474 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
477 whether `set' quotes correctly: redirect stderr of the tested
478 `set', and use a subshell, for Ultrix; use `sed' instead of
479 `grep' for zsh `set' which may write binary output; match only
480 at the beginning of a line, to avoid false positives.
481 In order to avoid false positives by unrelated variables with
482 multiline content, put the dump algorithm in a subshell and
483 unset all variables containing newlines (except some which are
484 special to the shell). Warn about cache variables that are
487 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
489 * config/config.guess, config/config.sub, config/texinfo.tex:
492 * tests/mktests.sh: Reword comments.
494 * tests/mktests.sh: Only skip internal macros starting with
495 `_AC_' or `__AC_'. Noted by Stepan Kasal.
496 Update exclusion lists for the test suite to this end:
497 (AC_ARG_VAR): Do test this now.
498 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
499 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
500 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
501 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
503 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
504 shell issue with double-quoted command substitutions of native
506 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
509 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
510 no file matches the glob, discard the warning, set `nullglob'.
511 (syntax-check): Likewise.
512 (sc_cast_of_x_alloc_return_value): Likewise.
513 (sc_cast_of_alloca_return_value, sc_error_exit_success)
514 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
515 (m4-check): Likewise.
516 (sc_system_h_headers): Do not print rule on execution.
517 (sc_tight_scope): Do not fail for non-existing `src' directory.
518 (sc_changelog): Skip the Copyright footer.
519 * lib/autoconf/lang.m4: Remove trailing space.
521 * lib/autoconf/status.m4: More replacements to
522 <tab><space> where this makes sense.
524 2006-04-06 Stepan Kasal <kasal@ucw.cz>
526 * tests/Makefile.am (maintainer-check-posix):
527 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
529 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
530 ac_config_<foo>s again, sometimes normalized, sometimes not.
531 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
532 (AC_CONFIG_COMMANDS): Do not do so here.
533 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
534 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
535 2005-07-25 rewrite. Noticed by Noah Misch.
537 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
538 _AC_PRESERVE_HELP_ORDER, ...
539 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
541 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
542 inside m4_expand_once; it is redundant.
544 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
545 for --help from Cygnus `configure.'
547 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
549 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
550 on a patch proposed by Ralf Wildenhues.
552 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
554 * lib/autoconf/status.m4: Replace <space>''<tab> with
555 <tab><space> where this makes sense.
557 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
558 Noah Misch <noah@cs.caltech.edu>
560 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
561 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
562 * doc/autoconf.texi (Help Formatting): New node.
563 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
565 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
567 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
568 lib/autoconf/specific.m4, lib/autoconf/status.m4,
569 lib/autoconf/types.m4, lib/autotest/general.m4,
570 tests/mktests.sh, tests/torture.at: White space cleanup:
571 remove some SPACE before TAB, or add quoting ('' or @&t@).
573 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
575 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
577 2006-04-05 Eric Blake <ebb9@byu.net>
579 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
580 empty test suite works.
581 * tests/autotest.at (Empty test suite): Remove xfail.
583 2006-04-05 Noah Misch <noah@cs.caltech.edu>
585 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
586 TAGS to ac_config_<foo>s.
587 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
588 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
589 normalizing it, consistent it with previous releases.
590 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
592 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
594 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
595 Use simplified args that Eric Blake originally suggested.
597 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
599 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
600 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
601 Use 'comm' rather than N instances of grep; this also fixes a bug
602 whereby substrings were incorrectly matched, causing us to not
603 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
604 (exclude_list): Exclude empty macros.
605 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
607 Use awk rather than grep -E or egrep, to avoid
608 portability problems with regular expressions containing newlines.
609 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
610 Switch from grep to awk syntax.
611 (ac_exclude_script): Renamed from ac_exclude_egrep.
612 (au_exclude_script): Renamed from au_exclude_egrep.
614 2006-04-04 Noah Misch <noah@cs.caltech.edu>
616 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
617 a subdirectory subject to Cygnus `configure'.
618 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
620 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
621 report request when we have no AC_PACKAGE_BUGREPORT.
623 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
627 * tests/mktests.sh: Update copyright year in the header of the
630 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
631 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
632 typedef'ed restricted pointer, to catch a compiler bug on
633 HP-UX 11.x, and fix warnings so it passes with -Werror.
634 (_AC_PROG_CC_C99): Likewise.
635 Reported by Albert Chin <china@thewrittenword.com>.
636 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
638 2006-04-03 Noah Misch <noah@cs.caltech.edu>
640 * bin/autoscan.in (subdirs): New global.
641 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
642 (output): Emit AC_CONFIG_SUBDIRS as needed.
643 * tests/autoscan.at (autoscan): Remove XFAIL.
645 2006-04-03 Noah Misch <noah@cs.caltech.edu>
647 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
649 2006-04-03 Eric Blake <ebb9@byu.net>
651 * THANKS: Add myself.
653 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
655 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
656 to log, point to testsuite output tree.
658 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
660 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
661 * doc/autoconf.texi (Function Portability): Mention that C++
662 has trouble with 'exit'.
663 (Guidelines): Test programs shouldn't use 'exit'.
664 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
665 Remove; all uses removed.
666 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
667 Return from 'main' instead of calling 'exit'.
668 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
669 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
670 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
671 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
672 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
673 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
674 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
675 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
676 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
677 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
678 * tests/compile.at: Likewise.
680 2006-04-02 Pavel Roskin <proski@gnu.org>
682 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
684 2006-04-01 Stepan Kasal <kasal@ucw.cz>
686 Clean up _AC_COMPILER_EXEEXT* macros.
688 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
689 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
690 ac_file to the name of the default output filei and call
691 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
692 initial `rm' of the candidate files...
693 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
694 the same list in subsequent `rm' calls, and for the temporary
695 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
696 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
697 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
698 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
699 no longer needed) by libtool. Make it a cache check.
700 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
701 copied here by mistake.
702 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
704 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
705 _AC_COMPILER_OBJEXT directly.
706 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
708 2006-04-01 Stepan Kasal <kasal@ucw.cz>
710 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
711 (AS_DIRNAME): Use it.
712 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
714 * tests/*.at: Remove the generated ones.
716 2006-04-01 Stepan Kasal <kasal@ucw.cz>
718 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
720 2006-04-01 Eric Blake <ebb9@byu.net>
722 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
723 directories, unless optional third argument supplied.
724 (AS_UNAME): Don't optimize PATH walk.
726 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
728 2006-04-01 Eric Blake <ebb9@byu.net>
729 and Stepan Kasal <kasal@ucw.cz>
731 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
734 2006-04-01 Noah Misch <noah@cs.caltech.edu>
736 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
737 Autoconf version number despite a zero- or one-argument AC_INIT.
739 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
741 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
742 * doc/autoconf.texi (autoreconf Invocation): Document it.
744 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
745 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
747 2006-04-01 Eric Blake <ebb9@byu.net>
749 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
750 * lib/autotest/general.m4: Be tolerant of existing directory when
751 rm failed to remove it.
753 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
755 * bin/autoupdate.in: Redefine m4_location so that warnings print
756 the correct lines of the input file by subtracting..
757 (_au__first_line): ..this new definition.
759 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
760 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
761 Remove stray newline in output.
762 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
763 AC_DEFUN this for autoconf, including the obsoletion diagnose.
764 Fixes autoupdating of code where the replacement output contains
766 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
767 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
768 (au_exclude_list): Add AC_LANG_SAVE.
769 * tests/tools.at: Several new tests for all of this.
770 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
772 The AC_LANG_SAVE issue was reported against Libtool by
773 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
774 Kristian Kvilekval <kris@cs.ucsb.edu>.
776 2006-04-01 Stepan Kasal <kasal@ucw.cz>
778 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
779 switch all of them on and of when necessary. Fixes the bug when
780 m4sugar macros (e.g., m4_define) were expanded after the first
781 automatic update (e.g., after AC_PREREQ or AC_INIT).
783 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
785 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
786 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
788 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
789 correctly. Problem reported by Eric Blake.
790 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
793 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
795 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
796 Tighten up the basename/dirname wording.
798 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
800 * Makefile.maint (sc_texi_notab): New check: do not use TABs
801 in texinfo files outside of verbatim environments.
802 (syntax-check-rules): Update.
803 * doc/autoconf.texi (Configuration Headers): Conform to it.
805 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
807 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
808 aclocal cannot be given on the command line.
810 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
812 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
813 Give an example for AS_DIRNAME instead of referring to Posix..
814 (File System Conventions): Put discussion of // versus / here, and
816 (Limitations of Usual Tools): Add basename. Remove verbiage
817 after dirname, since it got moved to the above sections.
818 All this was inspired by a patch proposed earlier by Eric Blake.
820 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
822 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
823 `$0' to protect against spaces.
824 * lib/autotest/general.m4 (AT_INIT): Likewise.
825 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
828 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
830 * bin/autoscan.in: The value of find_configure_ac should be
831 checked for existence, so we don't barf over a nonexisting
832 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
834 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836 * bin/autoupdate.in: Fix some typos.
838 2006-03-21 Stepan Kasal <kasal@ucw.cz>
840 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
842 * lib/autoscan/autoscan.list: Refreshed.
844 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
846 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
847 and Erlang related variables.
849 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
850 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
851 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
852 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
853 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
854 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
855 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
856 (_AC_PROG_OBJC_G): New macros.
857 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
858 * doc/autoconf.texi (Objective C Compiler): New node.
859 (Preset Output Variables): Document OBJCFLAGS.
860 (Language Choice): Document `Objective C' language.
861 (Fortran Compiler): Fix typo.
863 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
865 2006-03-20 Stepan Kasal <kasal@ucw.cz>
867 * doc/autoconf.texi (Default Includes): Fix typo
868 s/AC_HEADERS_STDC/AC_HEADER_STDC/
869 (Limitations of Usual Tools): s/unwriteable/unwritable/
870 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
871 Fix typos in the comments.
873 2006-03-17 Stepan Kasal <kasal@ucw.cz>
875 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
876 Factor out the warning to...
877 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
878 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
879 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
881 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
882 case `ac_delim' when writing the sed script.
884 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
886 (AS_SHELL_SANITIZE): ... here.
887 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
890 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
892 (_AC_PATH_PROG): Store the result to VARIABLE.
893 (AC_PATH_PROG): No need to set VARIABLE again.
895 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
896 the first one is usual AT_CHECK_MACRO test, the second one checks
897 that the same works when cross-compiling.
898 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
899 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
901 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
903 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
904 the directory `/usr/bin/posix' in the shell search, to prefer
905 the Posix shell not only in subsequent spawns as with `$BIN_SH'
908 * doc/autoconf.texi (contents): To fix texi2html output, hide
909 `@setcontentsaftertitlepage' for HTML.
910 (Writing Autoconf Macros): Likewise, insert space after `@c'.
911 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
914 2006-03-16 Stepan Kasal <kasal@ucw.cz>
916 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
918 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
919 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
920 why IFS is restored so late; thank you, Ralf, for reminding us.
922 2006-03-15 Stepan Kasal <kasal@ucw.cz>
924 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
925 variables in the examples.
927 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
929 * doc/autoconf.texi (several sections): Cleaned up documentation for
932 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
934 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
935 failure condition for `$(cmd)' style command substitutions.
936 (Parenthetical command substition, Multiline parenthetical
937 command substition): Use it.
939 * doc/autoconf.texi (Special Shell Variables): Missing word.
940 Reported by Keith Marshall <keith.marshall@total.com>.
942 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
943 IFS even in case of empty `$PATH'.
945 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
947 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
948 `expr' away if there is nothing to do.
949 < --keywords >: Simplify and robustify argument handling.
950 Revert erroneous comment from 2005-08-23. Extend to allow
951 keyword negation with `!'.
952 Update help message. Remove broken code to prevent running
953 tests multiple times.
954 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
955 Update and fix the documentation accordingly.
956 * tests/autotest.at (Keywords): Renamed to..
957 (Keywords and ranges): .. this. Extended to make sure negated
958 keywords, keywords taken from AT_SETUP arguments, and numeric
959 test ranges work, and that matching is case-insensitive.
961 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
964 allow to pass unnamed structs even in C++.
965 (AC_CHECK_SIZEOF): Likewise.
966 Also fix quoting error in `AC_MSG_FAILURE' arguments.
967 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
968 struct): New tests for unnamed structs, each both native and
971 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
972 a structure inside a cast, for C++ conformance.
973 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
974 Also fix quoting error in `AC_MSG_FAILURE' arguments.
976 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
977 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
978 trying to execute the command `no'.
980 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
981 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
984 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
985 example. Do not emphasize `$%', it is hardly new and special.
986 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
988 * doc/autoconf.texi (Limitations of Usual Tools): Document
989 OpenBSD and traditional `grep' failure to handle multiple
990 patterns separated by newlines.
992 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
994 * doc/autoconf.texi (several sections): Add documentation for macros
997 2006-03-10 Eric Blake <ebb9@byu.net>
999 * doc/autoconf.texi (Obsolete Macros): Fix wording of
1002 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
1004 * doc/autoconf.texi: Use @acronym more consistently for acronyms
1005 like BSD, GPL, LGPL. Fix minor English typos.
1006 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
1007 Mention that these macros are becoming obsolete.
1008 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
1009 Use more modern terminology for which standard is what.
1010 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
1012 (AC_PROG_CXX): Likewise.
1013 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
1014 Remove obsolete discussion about how to port to K&R.
1015 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
1016 the obsolescent AC_HEADER_STDC.
1017 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
1020 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1022 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1023 Remove stdin redirection from /dev/null to allow pipe to work.
1025 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
1027 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1028 Require that /lib/cpp include stdio.h correctly. Solaris 10's
1029 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
1032 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1034 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
1035 HP-UX sed is 99 commands, not 100.
1036 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
1037 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
1038 newline for portability.
1039 * tests/torture.at (Torturing config.status): Also test 100
1040 AC_SUBST_FILE invocations. Fix test to actually verify the
1041 AC_CONFIG_FILES output.
1042 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
1043 command, label, and read-file `r' limits. Unify HP-UX spelling.
1045 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
1047 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
1049 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
1050 * tests/mktests.sh: Small shell portability fixes.
1052 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1054 * doc/autoconf.texi (Caching Results): Fix the examples to use a
1055 recommended quoting style and discard unwanted output.
1057 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
1059 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
1060 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
1061 cases, and to work around Tru64 expr bug.
1063 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1065 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
1066 expr bug that turns the result of a regex match into a number if
1069 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1071 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
1072 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
1073 in section `Specific Compiler Characteristics'.
1075 2006-03-04 Eric Blake <ebb9@byu.net>
1077 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
1080 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1082 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1083 order of variable initialization, so even the Solaris 2.6 shell
1084 can create a config header correctly. Fixes lots of test suite
1087 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1089 * doc/autoconf.texi (Text processing Macros): New node to
1090 document the m4sugar macros m4_re_escape, m4_tolower,
1091 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1093 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
1095 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1096 XrmInitialize (0) -> XrmInitialize ().
1097 Reported by Toshio Kuratomi.
1099 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1101 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1102 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1103 * doc/autoconf.texi (Programming in M4sh): Adjusted.
1104 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
1105 both macros are defun'ed so that required macros are evaluated
1108 * doc/autoconf.texi (Prerequisite Macros): State more precisely
1109 where a required macro will be expanded.
1110 (Coding Style): Another reason not to use `m4_define'.
1112 2006-02-21 Eric Blake <ebb9@byu.net>
1114 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1116 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1118 * doc/autoconf.texi (Looping constructs): New node, to
1119 document m4_for, m4_foreach, m4_foreach_w, and mention
1120 obsolete AC_FOREACH.
1121 (Obsolete Macros): Document AC_FOREACH.
1122 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1123 (m4_for): Fix to never loop (almost) endlessly, work correctly
1124 with arithmetic expressions in arguments, a step of zero or
1125 non-integer multiple of the interval, and avoid integer
1127 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1130 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1132 Add basic support for Erlang, both for configuring Erlang/OTP
1133 tools, and Erlang as a conf test language.
1134 * lib/autoconf/erlang.m4: New file.
1135 * lib/autoconf/autoconf.m4: Add erlang.m4.
1136 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1137 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1138 * NEWS: Add short description of new macros.
1139 * THANKS: Add Romain Lenglet.
1141 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1143 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1144 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1146 2006-02-15 Eric Blake <ebb9@byu.net>
1148 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1151 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1153 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1154 (_AS_CASE): Private helper macro.
1155 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1156 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1157 Fix syntax of AS_IF description
1158 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1159 for the AC_REQUIRE mess.
1160 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1163 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
1165 * doc/autoconf.texi: Minor style cleanup.
1166 Be consistent about spaces after commas.
1167 Insert [] where empty args look a bit funny.
1168 Fix some "i.e." and "e.g." usages.
1169 Try to avoid "X/Y" usages.
1170 Don't be pedantic about "ISO C99"; just say C99.
1171 Prefer GNU style for spaces in front of parens.
1172 (Function Portability): Comment about C89 versus C99
1173 signed integer division.
1174 (Particular Headers): Use current gnulib style for dirent
1177 2006-02-14 Stepan Kasal <kasal@ucw.cz>
1178 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1180 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1181 macros without parameters.
1182 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1183 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1184 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1186 (autoupdate): Updated to match AU_ALIAS fix.
1188 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1189 and Paul Eggert <eggert@cs.ucla.edu>
1191 * doc/autoconf.texi (Programming in M4sh): Document
1192 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1194 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1196 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1197 (AS_BOURNE_COMPATIBLE): ..this.
1198 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1200 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1202 * doc/install.texi (Defining Variables): Tighten up the
1203 CONFIG_SHELL wording.
1205 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1206 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1208 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1209 of (set -o) rather than testing whether (set -o posix) succeeds,
1210 to work around a bug in the AIX 5.3 shell. Problem originally
1211 reportd by Howard Chu for libtool.
1213 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
1215 * doc/autoconf.texi (Running the Compiler, Running the Linker):
1216 Changes the macro arguments in summaries to match the
1219 2006-02-04 Stepan Kasal <kasal@ucw.cz>
1221 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
1222 hint as ``a workaround for a bug.''
1224 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1226 * bin/autoreconf.in: New option `--no-recursive'.
1227 Improve wording for subpackages a bit.
1228 * doc/autoconf.texi (autoreconf Invocation): Updated.
1231 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1232 in environment of `configure', not the command line.
1233 Reported by Howard Chu <hyc@highlandsun.com>.
1235 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1237 * doc/autoconf.texi (Limitations of Builtins): Document the
1238 problem with "trap -".
1240 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
1242 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1243 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1244 messages to differentiate Fortran and Fortran 77 tests.
1245 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1246 AC_LANG_ASSERT, to allow use in mixed-language projects.
1248 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1250 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1251 FOO" to "defined (FOO)".
1252 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1253 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1254 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1255 * tests/tools.at (ifnames): Likewise.
1257 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1259 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1260 * lib/Autom4te/General.pm (mktmpdir): Likewise.
1261 (END): Improve error message a bit.
1262 Reported by Bruce Korb <bkorb@gnu.org>.
1264 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1266 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1267 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1269 2006-01-11 Stepan Kasal <kasal@ucw.cz>
1271 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1272 requires sys/stream.h. Reported by Oliver Kiddle.
1274 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1275 Stepan Kasal <kasal@ucw.cz>
1277 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1278 before the removals of test dirs, use `find' to avoid modification
1279 of symlinked directories.
1281 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1283 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1284 Don't ignore the macro arguments.
1286 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
1288 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1289 declaration that works for MSVC.
1291 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1293 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1294 Add `*.map' and `.inf' for Green Hills compiler.
1295 Reported by Stefan Seefeld <stefan@codesourcery.com>.
1297 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1298 correctly: pad with spaces after FIRST_PREFIX if necessary,
1299 and compute string lenghts with `m4_qlen' instead of `m4_len'.
1300 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1301 * tests/m4sh.at (AS_HELP_STRING): Test extended.
1303 Reported by numerous people, numerous times.
1305 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
1307 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
1308 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
1309 * lib/autoconf/general.m4, lib/autoconf/status.m4:
1310 * lib/autotest/general.m4, tests/local.at:
1311 Update copyright year to 2006.
1313 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
1315 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
1316 for file names, again. Reported by Noah Misch.
1317 (Coding Style): Explain that s|a|b| is preferred for file names.
1318 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
1319 (AC_OUTPUT_MAKE_DEFS): Likewise.
1320 * lib/autotest/general.m4 (AT_INIT): Likewise.
1321 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
1322 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
1324 Fix Posix-conformance bugs re use of { command in sed scripts,
1325 and improve the sed-related documentation a bit.
1326 * doc/autoconf.texi (Installation Directory Variables): Use
1327 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
1328 rather than "sed" when talking about Sed in general.
1329 (Particular Programs): Likewise.
1330 (Coding Style): y is like s with respect to / and ,.
1331 (Limitations of Usual Tools): Document the weird restrictions
1332 that Posix has about { }. Use better quoting.
1333 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
1334 Rewrite to conform to Posix rules about { } in sed scripts.
1335 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
1336 * tests/foreign.at (Libtool): Likewise.
1337 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
1338 Use our own style advice re 's,a,b,' versus 's|a|b|'.
1340 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1342 * lib/autoconf/status.m4: Fix typo.
1344 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1345 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
1346 `-def', for the benefit of Portland `pgf90 -Mipa'.
1347 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
1349 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
1351 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
1352 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
1353 shell from zsh to bash.
1355 2005-12-31 Stepan Kasal <kasal@ucw.cz>
1357 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
1358 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
1360 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
1362 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
1363 parentheses in $(...). Problem reported by Eric Blake.
1365 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
1367 * doc/autoconf.texi (Limitations of Usual Tools):
1368 Mention which characters can be escaped with \ in portable regular
1369 expressions used in grep, sed, expr. Mention the leading ^ problem
1370 with expr. Clean up some confusing wording. Mention which
1371 grep options are portable.
1373 2005-12-09 Stepan Kasal <kasal@ucw.cz>
1375 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
1377 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1379 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
1380 patch, noted by Ralf Wildenhues.
1382 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
1385 posix' unconditionally, for pdksh in `native sh' emulation.
1387 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1389 * doc/autoconf.texi (Shellology): Document eval $? problem
1391 (Limitations of Builtins): Likewise.
1393 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1395 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
1396 CONFIG_SHELL in the environment of the configure rerun.
1397 * doc/autoconf.texi (Here-Documents, config.status Invocation):
1398 Suggest passing CONFIG_SHELL absolute, and in the environment
1399 rather than as option.
1401 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1403 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1404 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
1405 Fix macro quoting. Fix output for n * 98 substituted variables.
1407 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1409 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
1410 `tmp' to avoid file removal race.
1412 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1414 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
1415 ac_clean_files and LIBOBJS.
1417 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1419 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
1420 Factor functionality to..
1421 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
1422 `AC_SUBST($1)' in the public version.
1423 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
1424 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
1427 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1429 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
1432 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1434 * NEWS: Move AH_HEADER mention to right place.
1436 2005-10-27 Stepan Kasal <kasal@ucw.cz>
1438 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
1439 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1441 2005-10-25 Stepan Kasal <kasal@ucw.cz>
1443 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
1444 conftst2.$ac_objext.
1445 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1447 2005-10-24 Stepan Kasal <kasal@ucw.cz>
1449 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
1450 conftest.o, to see whether the compiler really obeys; rm the object
1451 file before and after the test and register it with ac_clean_files.
1452 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1454 2005-10-21 Stepan Kasal <kasal@ucw.cz>
1456 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
1457 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
1458 code so that the most common case requires less forks.
1460 2005-10-20 Stepan Kasal <kasal@ucw.cz>
1462 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
1463 not portable; thanks to Paul Eggert and Alexandre.
1465 * NEWS: Fix an old typo.
1467 2005-10-20 Jim Meyering <jim@meyering.net>
1469 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
1470 the latter'', in two places.
1472 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
1474 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
1475 AC_LANG_PROGRAM, fixing a typo. Don't give details about
1476 the inner workings of AC_LANG_FUNC_LINK_TRY.
1477 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
1478 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
1479 by the function rather than ignoring it.
1480 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
1481 comparing its address. Intel's interprocedural optimization was
1482 outsmarting the old heuristic. Problem reported by
1485 2005-10-19 Stepan Kasal <kasal@ucw.cz>
1487 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
1489 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1491 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
1492 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
1494 2005-10-04 Stepan Kasal <kasal@ucw.cz>
1496 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
1497 before removing it (chmod -R u+rwx); there are three instances of this.
1499 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1500 Stepan Kasal <kasal@ucw.cz>
1502 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
1503 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
1504 make its content writable before removing it. Remove an errorneous
1505 comment from the end, where the logs of the failed tests are copied
1506 to the main log file.
1508 2005-09-27 Stepan Kasal <kasal@ucw.cz>
1510 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
1511 in case the computer is too quick. Double quote the configure.ac
1514 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
1515 problems if the testsuite were running too fast.
1517 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1519 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1520 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1521 (which belong to Xt, not X itself). See Debian bug 327655.
1522 * NEWS: Mention this.
1524 2005-09-07 Stepan Kasal <kasal@ucw.cz>
1526 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
1528 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
1530 * config/move-if-change: Don't output "$2 is unchanged";
1531 suggested by Ben Elliston. Handle weird characters correctly.
1533 2005-09-06 Stepan Kasal <kasal@ucw.cz>
1535 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
1536 calls, so that the final expansion of this macro is shorter.
1537 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
1538 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
1539 the cleanup there. Use AS_VAR_* macros, to be more general.
1540 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
1542 * lib/autoconf/general.m4: Use AS_IF where appropriate.
1544 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
1546 2005-09-01 Stepan Kasal <kasal@ucw.cz>
1548 * doc/autoconf.texi (Configuration Headers): Add an index entry
1551 2005-08-26 Pavel Roskin <proski@gnu.org>
1553 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
1554 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
1557 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
1559 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1560 The previous patch didn't work, so try a better one.
1562 2005-08-26 Stepan Kasal <kasal@ucw.cz>
1564 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
1565 in the example. Reported by Bruno Haible.
1566 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
1567 "if $undefined_var;" succeeds with my shell.
1569 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
1570 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
1571 but change the m4_divert_text to m4_divert_once.
1573 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
1575 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1576 Work around bug in Solaris /usr/xpg4/bin/awk.
1577 The bug is present in at least Solaris 8 through 10.
1579 2005-08-24 Stepan Kasal <kasal@ucw.cz>
1581 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
1582 some evil values and relying on the fact that $* concatenates the
1583 parameters by the first character from IFS.
1585 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1586 Stepan Kasal <kasal@ucw.cz>
1588 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
1589 first header appears, define AH_HEADER.
1590 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
1591 Update limitations about when to call AC_CONFIG_HEADERS.
1592 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
1593 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
1594 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
1595 ``Configuration Actions''; fix their index entries.
1597 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
1598 options correctly. Process N-M as M-N if M is smaller than N.
1599 Process ranges correctly so that N-N will run only N.
1600 Sort and uniquify the tests that will be run. If there is more
1601 than one test, reinsert the banners for the tests.
1602 * tests/autotest.at (Keywords): Unmark XFAIL.
1604 2005-08-23 Stepan Kasal <kasal@ucw.cz>
1606 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
1607 before passing the macro name to AH_TEMPLATE.
1609 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
1610 now opens log after option processing; in particular, --version
1611 and --help do not touch config.log.
1613 * Makefile.maint: Revert the change from 2005-08-12.
1615 2005-08-22 Stepan Kasal <kasal@ucw.cz>
1617 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
1619 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
1621 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1623 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
1624 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
1627 * doc/autoconf.texi (Defining Symbols, Changed Results):
1628 Prepend to LIBS, not append, in examples.
1630 2005-08-16 Stepan Kasal <kasal@ucw.cz>
1632 When building in place, set srcdir="."; suggested by Tim Van Holder.
1634 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
1635 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
1636 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
1637 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
1638 does not mean "no --srcdir option".
1640 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1642 * tests/autoscan.at (autoscan): New file.
1643 * tests/suite.at: Use it.
1644 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
1645 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
1647 * tests/autotest.at (Keywords): Test keywords combinations.
1649 2005-08-12 Stepan Kasal <kasal@ucw.cz>
1651 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
1652 add "2>&1"; gzip 1.2.4 prints help on stderr.
1654 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1656 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
1657 was pushdef'ed twice while popped only once. Push it only once.
1658 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
1660 2005-07-26 Stepan Kasal <kasal@ucw.cz>
1662 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
1663 prefixed by mere "===", not "configure: === ".
1665 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1667 * Makefile.maint: Update from Bison.
1669 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
1670 "<tab>" in comment, so that the point is understandable.
1672 2005-07-25 Stepan Kasal <kasal@ucw.cz>
1674 Rewrite substantial part of lib/autoconf/status.m4.
1675 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
1676 and CONFIG_COMMANDS are not processed in four separate loops.
1677 Instead, there is one main loop. This alows that the common code
1678 is expanded only once, thus config.status (and configure) is smaller.
1680 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
1681 the AC_LIST_FILES and cousins macros are no longer used.
1683 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
1684 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
1685 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
1686 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
1687 contain the initialization, nor the for loop, nor the associated
1688 commands; all these go to ...
1689 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
1690 _AC_OUTPUT_CONFIG_STATUS.
1691 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
1692 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
1693 (_AC_OUTPUT_FILE): The creation of the sed script ...
1694 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
1695 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
1696 _AC_OUTPUT_MAIN_LOOP.
1697 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
1698 _AC_CONFIG_COMMANDS): Use ...
1699 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
1700 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
1701 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
1702 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
1703 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
1704 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
1706 (_AC_CONFIG_UNIQUE): Update.
1707 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
1708 Replaced by this ...
1709 (_AC_LIST_TAGS): ... new common macro.
1710 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
1711 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
1712 (_AC_LIST_TAG_COMMANDS): ... new common macro.
1713 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
1714 this didn't belong to the `config commands' section.
1715 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
1716 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
1717 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
1718 to the `config commands' section either.
1719 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
1720 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
1722 ... and many changes to the comments nearby.
1724 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
1725 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
1726 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1727 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
1728 (#define header templates): The comment at the top of the generated
1729 header now includes the name(s) of the source file(s).
1731 Several unrelated small changes:
1733 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
1734 parameter to AC_DIAGNOSE.
1735 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
1736 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
1737 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
1738 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
1740 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
1741 in AC_OUTPUT doesn't double-quote it either.
1742 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
1745 2005-07-10 Stepan Kasal <kasal@ucw.cz>
1747 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
1748 versions of Portland Group compiler produce single- and double-quoted
1749 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
1750 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1752 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1754 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1755 This is a corrected version of yesterday's patch.
1757 2005-07-07 Stepan Kasal <kasal@ucw.cz>
1759 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
1760 path, too; insert a "===" to emphasize the line.
1762 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
1763 ac_cv_build_alias to ac_build_alias.
1764 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
1766 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
1767 change eliminates it. Problem reported by Alexandre Duret-Lutz.
1768 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
1769 (AC_ARG_VAR): ... here.
1770 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
1773 Keep a list of all precious variables and process them with one simple
1774 for loop, instead of expanding all commands, or, OTOH, complicated
1775 processing of output of "set".
1776 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
1777 variable names in new macro...
1778 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
1779 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
1780 a loop to assign all ac_env_* and ac_cv_env_* variables.
1781 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
1783 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
1784 its value to shell variable ac_precious_vars and call
1785 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
1786 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
1787 _AC_ARG_VAR_VALIDATE.
1789 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
1790 and the AC_SUBSTs ...
1791 (AC_INIT): ... here.
1793 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
1794 the ac_subst_files section in config.log.
1796 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
1798 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
1800 * NEWS: New macro AC_C_TYPEOF.
1801 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
1802 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
1803 * tests/c.at (C keywords): Test AC_C_TYPEOF.
1805 Fix problems reported by Nicolas Joly.
1806 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
1807 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1808 They are generated by the Tru64 v5.1B shell.
1810 2005-07-05 Stepan Kasal <kasal@ucw.cz>
1812 Fix my changes from 2005-07-01; reported by Noah Misch.
1813 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
1814 description, the macro now accepts only a single tag.
1815 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
1817 Fix cases when the varsions of Autoconf and Autotest don't match.
1818 Reported by Noah Misch.
1819 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
1820 at_top_builddir, for compatibility with older autotest.
1821 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
1822 is not set, use at_top_builddir, for compatibility with older
1823 versions of autoconf.
1825 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1827 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
1828 Problem reported by Patrick Welche.
1830 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1832 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
1833 sed substitution command, so that we allow | in program prefixes
1834 and program suffixes. (& is a problem anyway; we're not fixing
1836 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
1837 configure_input, top_builddir, srcdir, etc.
1838 * lib/autotest/general.m4 (AT_INIT): Likewise, for
1839 PATH_SEPARATOR in AUTOTEST_PATH.
1841 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1843 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
1844 for loop over config.site files using `set', to allow
1845 directory names containing IFS characters.
1847 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
1849 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
1850 directories with weird names. Apparently some people like living
1851 on the edge. However, improve the test that "pwd" actually does
1852 report a name for the working directory.
1853 * NEWS: Remove the claim that we test for funny chars in dir names.
1855 2005-07-01 Stepan Kasal <kasal@ucw.cz>
1857 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
1859 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
1860 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
1861 Now accept a single tag, not whitespace separated list.
1862 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
1864 2005-06-30 Stepan Kasal <kasal@ucw.cz>
1866 * doc/autoconf.texi (Configuration Headers): Change the explanation
1867 about #include <config.h>.
1868 (Generic Functions): Mention the Gnulib project.
1869 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
1871 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
1872 document to output the default config_* lists to config.status.
1873 Don't recognize option --file, if the functionality is not there.
1874 Likewise for --header; moreover, recognize --he and --h as shortcuts
1875 for --help in that case.
1877 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
1878 matches the order of execution. No code changed.
1880 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1882 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
1883 single-quoted -cmdline argument in Portland Group compiler.
1884 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1886 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1888 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
1890 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1892 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
1893 descriptors to child processes; reported by Norman Gray.
1895 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1897 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
1899 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
1900 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
1901 (AC_SUBST): Call it.
1902 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
1903 the directory specific variables; but don't call it for configure_input.
1905 2005-06-28 Derek Price <derek@ximbiot.com>
1907 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
1910 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1912 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
1913 directory have inherent problems with special characters like spaces,
1914 due to limitations in Make syntax. Problem reported by Alexandre
1916 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
1917 Also, fix Tru64 porting problem with shell patterns,
1918 reported by Ralf Wildenhues.
1920 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1922 * doc/autoconf.texi (Subdirectories): Fix markup typos.
1924 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1926 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
1928 Fix some more shell quoting problems. Prompted by a bug report
1929 from Justace Clutter.
1930 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
1931 variable into diagnostic. Make the diagnostic an error, not a warning,
1932 because we really don't support spaces and suchlike in dir names.
1933 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
1934 Don't worry about backslashes in srcdir; it can't happen now.
1935 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
1936 Simplify ac_optarg handling.
1937 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
1939 2005-06-22 Stepan Kasal <kasal@ucw.cz>
1941 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
1942 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
1943 * tests/atlocal.in: Propagate $EGREP and $SED.
1944 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
1945 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
1947 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
1948 that '\|' is not allowed in BREs; recommend using newline separated
1949 list of patterns instead of multiple -e options.
1951 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
1953 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
1955 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1957 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
1959 2005-06-21 Stepan Kasal <kasal@ucw.cz>
1961 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
1962 b, t, r, w commands require single space, while : cannot have any.
1963 (Special Shell Variables): Fix sed code this in the example.
1964 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
1965 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
1967 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
1968 expand to the empty list. Don't use two pairs of m4_changequote,
1971 2005-06-20 Derek Price <derek@ximbiot.com>
1973 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
1975 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
1977 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
1978 * doc/autoconf.texi:
1979 Don't mention Solaris versions so much, if a
1980 problem is common to all extant versions of Solaris. Say "SunOS
1981 4" instead of "SunOS" for SunOS 4.
1982 (awk): Mention more of the limitations of traditional Awk.
1983 (cat): Don't talk about cat -v.
1985 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
1987 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
1988 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
1989 but the implementation is entirely different and is designed
1990 to be compatible with glibc strverscmp.
1991 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
1993 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
1994 on Mac OS X 10.4 reported by Peter O'Gorman in:
1995 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
1996 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
1997 Use shell builtins rather than 'expr', to work around expr bug.
1999 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
2001 * doc/autoconf.texi: "filesystem" -> "file system".
2002 "behaviour" -> "behavior".
2003 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
2004 * lib/autoconf/general.m4: Omit blank after ":" sed command,
2006 * lib/m4sugar/m4sh.m4: Likewise.
2007 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
2008 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
2010 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
2011 (.x.1): Ignore the time stamp in the .TH line when deciding whether
2012 to update the man page. That way, we don't have to check in new
2013 man pages every month.
2015 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
2016 quotes and backslashes. Patch from Derek Price.
2018 2005-06-10 Derek Price <derek@ximbiot.com>
2020 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
2023 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
2025 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
2026 -u, since it outputs chatter if the input files are the same.
2027 Problem reported by Ralf Menzel.
2029 2005-06-08 Derek Price <derek@ximbiot.com>
2031 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
2032 renaming them since they are about to be redefined anyhow.
2034 2005-06-08 Derek Price <derek@ximbiot.com>
2036 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
2037 redefined M4 macros to this node. Document m4_include & m4_sinclude.
2038 Move m4_undefine to alphabetical order.
2040 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
2042 * README: Recommend GNU M4 1.4.3 or later.
2043 * doc/autoconf.texi (Introduction): Likewise.
2044 Reword to avoid some formatting glitches.
2045 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
2046 Clarify explanation of HP compiler bug.
2047 Redo example output tp match current CVS snapshot.
2048 Use @example.org in email addresses when the examples
2049 might get inadvertently cut-and-pasted into user code.
2050 Remove example of autom4te usage that doesn't seem to work now.
2051 Use modern AC_INIT (except when the example is meant to be
2052 shown with Autoconf 2.13).
2053 Update ksh info for Solaris 9 and later.
2055 Modernize description of Automake versions a bit.
2056 Don't claim a future version of Autoconf is near.
2057 * doc/install.texi: Reword to avoid some formatting glitches.
2059 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2061 * doc/autoconf.texi: Add [] to examples, so that the manual
2062 follows its own advice about quoting better.
2063 Reword to avoid some formatting glitches.
2064 * doc/installt.exi: Reword to avoid some formatting glitches.
2066 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2067 Tru64 ksh pattern matching bug. Reported against Libtool by
2068 Albert Chin <libtool@mlists.thewrittenword.com> and
2069 Nicolas Joly <njoly@pasteur.fr>.
2071 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2073 m4_cdr of one-member list was [[]] (one-member list containing an
2074 empty string) instead of [] (an empty list. Callers were skewed to
2075 match this misbehaviour. As a consequence of this:
2076 - m4_foreach([x], [], [foo]) expanded to `foo', while
2077 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
2078 This bug has been fixed:
2080 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
2081 expand to an empty string; print error msg if called without
2083 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2084 misbehaviour; handle [] and [[]] correctly.
2086 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2088 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2089 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2090 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2092 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
2094 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2095 swallow records with more than 99 fields.
2096 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2097 parse the long line.
2099 2005-06-04 Stepan Kasal <kasal@ucw.cz>
2101 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2102 swallow literals longer than 399. Reported by Ralf Wildenhues.
2103 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2104 to workaround this limitation.
2106 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
2108 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2109 to gfortran, and make these the first two compiler names
2110 checked (following the general autoconf preference for gcc).
2112 2005-06-03 Stepan Kasal <kasal@ucw.cz>
2114 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2115 (DISTCLEANFILES): Remove $(check_SCRIPTS).
2116 (testsuite): Make sure autotest.m4f is up-to-date before using it.
2118 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
2120 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2121 expression of unbounded size when processing the --list
2122 option. This runs afoul of a limit of 399 bytes per regular
2123 expression on AIX. Problem reported by Ralf Wildenhues.
2125 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
2127 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2128 * doc/autoconf.texi (Particular Headers): Reword example
2129 for multiline stdbool replacement.
2130 (Setting Output Variables): Reword text a bit. Don't
2131 give all the details about |#_!!_#|.
2132 Reword description of line replacement.
2134 2005-05-31 Dan Manthey <dan_manthey@partech.com>
2136 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2137 now contain newlines, and substituted files must be referenced on
2138 a line alone; the sed scripts to substitute them are now very
2140 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2141 commands can be put in a sed script portably.
2142 * doc/autoconf.texi (Setting Output Variables): Document above
2143 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2144 use of multiline substitution.
2145 * tests/torture.at: No longer expect substitution of newline to fail.
2147 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
2149 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2150 From Ralf Menzel (trivial change).
2152 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
2154 * tests/local.at: Don't attempt to check for negated character
2155 classes in shell scripts. The test was too brittle.
2157 2005-05-25 Stepan Kasal <kasal@ucw.cz>
2159 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2160 * doc/autoconf.texi (Limitations of Builtins): Document this
2163 2005-05-24 Stepan Kasal <kasal@ucw.cz>
2165 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2166 common code; used in many places in the tree.
2167 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2168 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2170 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2172 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2173 messages when ac_unique_file is not found.
2174 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2175 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2176 commands, for consistency with AC_MSG_ERROR and such.
2178 * bin/autoconf.as: Make more use of "shift 2" in option processing.
2180 * bin/Makefile.am: Merge the two rules for creating scripts.
2182 2005-05-23 Stepan Kasal <kasal@ucw.cz>
2184 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2185 obsolete; it was never documented.
2186 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2188 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2190 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2191 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2192 (ac_top_builddir): ... this ...
2193 (ac_top_build_prefix): ... to this; the old name is also kept, for
2194 backward compatibility.
2195 (ac_top_builddir_sub): New variable, without the trailing slash,
2197 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2198 * doc/autoconf.texi (Configuration Actions): Rename
2199 ac_top_builddir to ac_top_build_prefix.
2200 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2201 at_top_builddir to at_top_build_prefix.
2202 * lib/autotest/general.m4 (AT_INIT): Likewise.
2204 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2206 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2209 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2211 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2212 argument to m4_foreach. I guess it was necessary in the past,
2213 but I think it's a no-op now.
2215 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2217 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2218 ``cat <<_ACEOF'' commands to one.
2219 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
2220 * lib/autoconf/status.m4: On various places, use expr instead of
2222 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
2223 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
2224 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2226 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2227 the wrong patterns between ``case'' and ``esac.'' The previous
2228 code had false positives.
2230 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
2232 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2234 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2237 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
2239 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2240 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2241 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2242 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2243 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2244 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2245 config/config.guess, config/config.sub, config/elisp-comp,
2246 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2247 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2248 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2249 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2250 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2251 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2252 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2253 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2254 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2255 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2256 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2257 lib/autoconf/general.m4, lib/autoconf/headers.m4,
2258 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2259 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2260 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2261 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2262 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2263 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2264 lib/autotest/general.m4, lib/emacs/Makefile.am,
2265 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2266 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2267 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2268 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2269 tests/compile.at, tests/foreign.at, tests/fortran.at,
2270 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2271 tests/semantics.at, tests/suite.at, tests/tools.at,
2272 tests/torture.at, tests/wrapper.as:
2273 Update FSF postal mail address.
2275 2005-05-13 Stepan Kasal <kasal@ucw.cz>
2277 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2279 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2280 enough arguments, similarly as in m4_bpatsubsts.
2282 2005-05-12 Stepan Kasal <kasal@ucw.cz>
2284 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2287 2005-05-11 Stepan Kasal <kasal@ucw.cz>
2289 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2290 for absolute directory names in one loop.
2291 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2292 abbreviations of --version and --debug.
2294 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
2296 * doc/autoconf.texi (Autoconf Language): Be more precise about
2297 quoting rules. Problems noted by Stepan Kasal.
2298 Also, throughout this document, be more careful about white space.
2299 "blank", "white space", and "space" all have different meanings
2300 and we should be careful to say what we mean.
2302 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
2304 Fix C++ related problems reported by Werner Lemberg.
2305 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
2306 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
2307 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
2308 avoid problems with C++ and throw.
2309 * tests/compile.at: .cpp, not .cc.
2311 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2313 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2315 * doc/autoconf.texi (Generic Functions): Typos.
2317 2005-05-02 Gary V. Vaughan <gary@gnu.org>
2319 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
2320 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
2321 set by latest automake.
2323 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
2325 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
2326 outputs 0 on GNU/Linux these days.
2328 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
2330 * doc/autoconf.texi (Autoconf Language): Add more description
2331 about quoting heuristics.
2332 (Limitations of Builtins): Describe "set -" problems.
2334 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2336 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
2339 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
2340 by AC_DEFINE; it was a mistake.
2341 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
2343 2005-04-25 Stepan Kasal <kasal@ucw.cz>
2345 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2347 2005-04-22 Stepan Kasal <kasal@ucw.cz>
2349 * doc/autoconf.texi (External Software): Quadrigraphs are not
2350 processed correctly in AS_HELP_STRING; avoid this in the examples.
2351 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
2352 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
2353 comment and reduce m4_default([foo], []) to [foo].
2354 (m4_strip): Update the explanation.
2356 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
2358 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
2359 Remove core.conftest.* too; it's generated by Tru64 5.1.
2360 Problem reported by Jennis Pruett.
2361 * lib/autoconf/functions.m4
2362 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2363 Don't bother to remove core files; AC_RUN_IFELSE should do that
2366 2005-04-19 Stepan Kasal <kasal@ucw.cz>
2368 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2370 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2372 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
2373 Report from Horst Wente.
2375 2005-04-15 Stepan Kasal <kasal@ucw.cz>
2377 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
2380 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
2382 * doc/autoconf.texi (External Software, Package Options): Add
2383 examples showing how to implement --with-* and --enable-* options.
2385 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
2387 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
2388 as well as configure.in. Problem reported by Gregorio Guidi.
2390 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
2392 * doc/autoconf.texi (Particular Functions): Use gnulib's current
2393 pattern for alloca snippet.
2395 2005-04-04 Stepan Kasal <kasal@ucw.cz>
2397 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2399 2005-04-01 Stepan Kasal <kasal@ucw.cz>
2401 * doc/autoconf.texi (Generic Programs): Fix a typo.
2403 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
2405 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
2406 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2408 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2410 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
2411 Merge `-z option' as well for the benefit of Solaris link flags. Pass
2412 whole-archive (-zallextract, -zdefaultextract) options in the hope of
2413 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
2414 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
2416 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
2418 * NEWS: The configure command now warns you if you attempt to use
2419 a directory whose name contains a special character like space,
2421 * doc/autoconf.texi (Installation Directory Variables): Allow
2422 "," in file names. Do not use \@; it's not a portable regexp.
2423 * bin/Makefile.am (edit): Likewise.
2424 * lib/Makefile.am (edit): Likewise.
2425 * tests/Makefile.am (edit): Likewise.
2426 * tests/semantics.at: Likewise.
2427 * tests/torture.at: Likewise.
2428 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
2429 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
2430 * doc/autoconf.texi (File System Conventions): Warn about
2431 unportable file names.
2432 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
2434 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
2435 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
2436 ac_pwd, and quote srcdir.
2437 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
2439 * doc/autoconf.texi: Fix some systematic formatting problems.
2440 ".)" needs a following @: if not at the end of a sentence, and
2441 similarly for "!)". "etc." should be preceded by a comma.
2442 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
2444 2005-03-22 Bruno Haible <bruno@clisp.org>
2446 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
2447 argument is often called 'build-aux'.
2449 2005-03-07 Stepan Kasal <kasal@ucw.cz>
2451 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
2452 macro AC_TRY_LINK is obsolete.
2453 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
2456 2005-02-24 Stepan Kasal <kasal@ucw.cz>
2458 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
2459 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
2460 from a Common Lisp's `cl'.
2461 (AC_PROG_CXX): Behave according to the documentation: don't
2462 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
2463 make the variable CCC precious; use `cl.exe', not `cl'.
2465 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2466 Alexandre Duret-Lutz <adl@gnu.org>
2468 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
2469 /dev/null, as "configure" shouldn't read stdin, and this insulates
2470 us from problems (e.g., when testing for "cl"). Also, do this
2471 redirection before invoking "hostname" or "uname", and keep the
2472 original input stream available via...
2473 (AS_ORIGINAL_STDIN_FD): ... this new macro.
2474 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
2475 bother with "</dev/null" since it's now done at the top of
2477 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
2478 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2479 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2480 * doc/autoconf.texi (File Descriptor Macros): New section.
2481 (Printing Messages): Mention it.
2482 * tests/base.at (Input/Output): New test.
2484 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2486 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
2487 newline if neither \c nor -n work, as that would output two
2488 newlines. Prefer -n to \c. Reported by Stepan Kasal.
2490 2005-02-12 Stepan Kasal <kasal@ucw.cz>
2492 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
2493 This causes that any required macros inside will get before the if.
2494 * doc/autoconf.texi (autom4te.cache): A typo.
2496 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
2498 Undo previous change, except keep the change to
2499 lib/autoconf/programs.m4 that replaced grep with shell
2500 pattern-matching. This is because net-snmp configure reads stdin.
2501 Reported by Noah Misch.
2503 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
2505 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
2506 from /dev/null, as "configure" shouldn't read stdin, and this
2507 insulates us from problems (e.g., when testing for "cl").
2508 Suggested by Alexandre Duret-Lutz. Also, do this redirection
2509 before invoking "hostname" or "uname".
2510 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2511 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
2512 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
2513 "</dev/null" since it's now done at the top of 'configure'.
2514 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2515 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2516 Also, replace grep with shell pattern-matching, to save a process.
2518 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
2520 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2521 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
2522 avoid thinking that Allegro Common Lisp's "cl" command is a C++
2525 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
2527 * doc/autoconf.texi (Limitations of Usual Tools): Document that
2528 grep -q isn't portable. Improve grep -s explanation.
2529 Problem reported by Dan Manthey.
2531 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
2533 * doc/autoconf.texi (Special Shell Variables): Clarify
2534 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2536 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
2538 * doc/autoconf.texi: Use @acronym for DJGPP.
2539 Fix some @code's that should have been @env's, and vice versa.
2540 Sort environment variable names.
2541 Mention that shells no longer inherit IFS.
2542 Don't recommend PATH_SEPARATOR=';' so strongly.
2543 Mention that $RANDOM might expand to the empty string.
2544 "symlink" and "soft link" -> "symbolic link".
2545 Improve mktemp description (reported by Bruno Haible).
2547 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
2549 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
2550 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
2552 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
2555 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
2557 * NEWS: Mention AT_COPYRIGHT.
2559 * tests/local.at (AT_CMP): Use diff directly on input files rather
2562 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
2563 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2565 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2566 and Paul Eggert <eggert@cs.ucla.edu>
2568 * tests/autotest.at (Empty test suite): New test.
2569 * tests/torture.at (Substitute and define special characters)
2570 (Substitute a 2000-byte string, Define to a 2000-byte string)
2571 (Substitute a newline, Define a newline): New tests.
2573 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2575 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
2576 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
2577 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
2578 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
2579 (Standard regular expressions): New test.
2580 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
2581 excess test name quoting.
2582 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
2583 CPPFLAGS to `configure' instead of setting it in `configure'.
2585 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
2586 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
2589 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
2590 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
2592 * tests/local.at (AT_CMP): New macro.
2593 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
2594 (AC_SAVE_STATE): Move environment grep...
2595 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
2596 (AT_CONFIG_CMP): New macro.
2597 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
2598 * tests/c.at (Extensions): Do not exit early.
2599 * tests/atlocal.in: Inherit $GREP.
2601 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
2602 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
2604 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
2605 (AC_COPYRIGHT): Factor header comment portion out and move into...
2606 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
2607 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
2608 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
2610 * tests/local.at: Add Autoconf test suite copyright notice.
2611 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
2613 2005-02-04 Bruno Haible <bruno@clisp.org>
2614 and Paul Eggert <eggert@cs.ucla.edu>
2616 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2618 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2620 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
2621 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
2623 Try not to generated lines of unlimited length, as POSIX places a
2624 2047-byte limit on line length of portable text files.
2625 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
2626 Use newline as a separator, not space.
2627 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
2628 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
2631 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2633 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
2634 as_func_*. Add test to check whether positional parameters
2635 are restored after function return.
2637 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2639 * doc/autoconf.texi (Special Shell Variables): Mention _,
2640 BIN_SH, DUALCASE. Say that variables other than "status" are safe
2641 if they contain a lower-case letter. The DUALCASE problem was
2642 reported by Ralf Wildenhues.
2644 * bin/autoconf.as: Don't exit with status 0 after write failure
2645 with --help or --version.
2646 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
2647 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2649 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2651 * doc/autoconf.texi (Limitations of Usual Tools):
2652 Unicos 9 sed limitations.
2653 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
2654 to get the option-enhanced interface on older Crays. Try ftn for
2655 Fortran 95 (newer Crays).
2657 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
2659 * man/Makefile.am (.x.1): Go back to the simple solution, but take
2660 care to echo the commands, so the user knows what's going on.
2661 Modified from a suggestion by Stepan Kasal.
2663 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
2664 with a cross reference. Derived from a suggestion by Bruce Korb.
2666 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
2668 * doc/autoconf.texi (config.status Invocation): Warn about
2669 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2670 * doc/install.texi (Defining Variables): Likewise.
2671 Based on a proposed patch by Ralf Wildenhues.
2673 * man/Makefile.am (.x.1): Make sure the required generated files
2674 are up to date. Problem and original solution proposed by Stepan Kasal.
2675 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
2676 implicit-man-prerequisites): New rules, used by the above.
2678 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2679 * config/config.guess, config/config.sub, config/install-sh: Likewise.
2680 * config/missing, config/texinfo.tex: Likewise.
2682 2005-01-29 Stepan Kasal <kasal@ucw.cz>
2684 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
2685 Update the long comment explaining it.
2687 m4_require no longer writes an ``is required by'' line to the
2688 execution stack. It contains only one bit of non-redundant
2689 information: that the macro was required, not called. And even
2690 this bit is useless in most situations: have you ever met a macro
2691 which both calls and requires the same macro?
2693 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
2694 (_m4_defun_pro_outer): ... only via this macro, for the outermost
2696 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
2697 (m4_expansion_stack_pop): Remove the misplaced comment.
2698 (m4_require): Don't put the ``is required by'' line to the
2699 execution stack; slightly improve the out-of-a-defun error message.
2700 (_m4_divert_grow): New macro, counter for the temporary diversions.
2701 (_m4_require_call): Use it.
2702 * tests/m4sugar.at (m4_require): Expect output without the
2703 ``is required by'' messages.
2705 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2707 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
2708 rather than x for expr.
2710 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
2712 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
2713 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2714 * lib/autotest/general.m4 (AT_INIT): Likewise.
2715 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
2716 * tests/mktests.sh: Likewise.
2718 2005-01-27 Akim Demaille <akim@epita.fr>
2720 Have autoheader honor --force.
2722 * doc/make-stds.texi, doc/standards.texi: Update from masters.
2723 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
2724 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
2725 from masters, so that FileUtils.pm's update_file provide --force
2727 * bin/autoheader.in: Pass $force to update_file so that
2728 config.h.in is always recreated when --force.
2730 2005-01-24 Stepan Kasal <kasal@ucw.cz>
2732 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
2734 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
2736 * doc/autoconf.texi (Limitations of Builtins): Clarify that
2737 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2739 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2741 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
2742 Warn about newline stripping in `` and $(). Update Solaris
2744 (Limitations of Builtins): Use expr "X...", not expr "x...", as
2745 X insulates us from future changes to Posix.
2746 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
2749 2005-01-19 Stepan Kasal <kasal@ucw.cz>
2751 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
2752 you cannot use AC_DEFINE to define macros containing `[' or `]'.
2754 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
2756 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
2757 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
2758 bug-tar mailing list.
2760 2005-01-05 Stepan Kasal <kasal@ucw.cz>
2762 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2764 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
2766 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
2767 ulongval to be static, to avoid unwanted GCC warning. Problem
2768 reported by Michael Jennings via Daniel Reed; see
2769 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2771 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2773 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
2774 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
2775 datadir, infodir, and mandir. Adjust argument parsing code.
2776 (_AC_INIT_HELP): Update help text.
2777 * doc/autoconf.texi (Installation Directory Variables): Document
2780 2005-01-04 Noah Misch <noah@cs.caltech.edu>
2782 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
2783 not seem to work, assume it does set $(MAKE).
2784 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2786 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2788 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2790 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2792 A cleanup of the diversion support in m4sugar.
2794 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
2795 (_m4_divert_n_stack): New macro; the expansion is
2796 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
2798 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
2799 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
2800 stored in _m4_divert_diversion or _m4_divert_dump.
2801 (m4_divert_pop): When the parameter is given, compare the symbolic
2802 name with the last diversion pushed on the stack. Previously, the
2803 current diversion was compared with the numeric value of the
2804 diversion given as the parameter.
2805 (m4_require): If the macro hasn't been expanded yet, call ...
2806 (_m4_require_call): this new macro.
2808 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2810 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
2811 Workarounds for documented `case' limitations.
2813 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
2815 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
2816 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2818 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
2820 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
2821 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2822 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
2824 Patch from Roger Leigh (with some minor changes) as follows:
2825 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
2826 Resurrect AC_PROG_CC_STDC.
2827 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
2828 AC_PROG_CC_C89, AC_PROG_CC_C99.
2829 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
2830 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
2831 AC_PROG_CC_C99): New macros.
2832 (AC_PROG_CC_STDC): Use them.
2833 (_AC_PROG_CC_STDC): Remove.
2834 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
2835 * THANKS: Add Roger Leigh.
2837 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2839 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
2840 signals that the package uses Automake; a `Makefile.am' is typical but
2841 not essential. Reported by Magnus Therning.
2842 * tests/torture.at (autoreconf.): New banner.
2843 (autoreconf and non-AC configure): Rename to `Non-Autoconf
2845 (autoreconf an empty directory): Rename to `Empty directory'.
2846 (Unusual Automake input files): New test.
2848 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2850 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
2851 (AT_SETUP): Clear AT_capture_files.
2852 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
2853 (AT_KEYWORDS): Fix comment typo.
2854 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
2855 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
2856 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2858 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
2860 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2861 If the variable to set is already set, set ac_cv_path_$1
2862 to the preset value so caller can assume ac_cv_path_$1
2863 is available. (trivial change)
2865 2004-12-27 Noah Misch <noah@cs.caltech.edu>
2867 * BUGS (Minor Problems): Warn about makefile limitations.
2868 * Makefile.am: Find and update `INSTALL' in $(srcdir).
2869 * man/Makefile.am: Find and update manual pages in $(srcdir).
2871 2004-12-24 Eric Blake <ebb9@byu.net>
2873 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
2874 shells in subshell, to avoid noise from ash. (trivial change)
2876 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2878 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2879 problems with SunOS ksh and backslash escaping, Bourne shells and
2880 closing brackets (both within character classes). Bug reported
2881 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
2882 <read>: New entry. Mention non-availability of -r.
2884 2004-12-21 Akim Demaille <akim@epita.fr>
2886 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
2887 avoid cluttering displayed messages. Rather, prepend srcdir where
2888 AT_LINE is used for log files.
2890 2004-12-21 Stepan Kasal <kasal@ucw.cz>
2892 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
2893 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
2894 no longer part of the macro, quote the occurrence of ``$tmp''.
2895 * doc/autoconf.texi (Forbidden Patterns): Typo.
2897 2004-12-21 Akim Demaille <akim@epita.fr>
2899 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
2900 separated from the test title by forcing a white space.
2902 2004-12-21 Akim Demaille <akim@epita.fr>
2904 Enable Emacs navigation within testsuite.log files.
2906 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
2907 use the compilation mode.
2908 (AT_LINE): Point to the srcdir.
2910 2004-12-19 Noah Misch <noah@cs.caltech.edu>
2912 * tests/Makefile.am (installcheck-local): Use $(bindir).
2913 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
2914 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
2915 Makefile.am scheme Autoconf now uses.
2917 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2919 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
2920 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2922 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2924 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
2925 (_AT_CHECK): Use it.
2926 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
2927 (AS_ESCAPE): Fix comment.
2928 * tests/autotest.at: Adjust section banner comments.
2929 (AT_CHECK_AT): Accept STATUS and STDERR.
2930 (AT_CHECK_AT_TEST): Likewise.
2931 (Invalid brace-enclosed parameter expansion)
2932 (Multiline command from M4 expansion)
2933 (Double-M4-quoted command): New tests.
2935 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
2937 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2939 2004-12-17 Akim Demaille <akim@epita.fr>
2941 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
2943 Suggested by Alexandre Duret-Lutz.
2944 * doc/autoconf.texi (Setting Output Variables): Catch up.
2946 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2948 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2950 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2952 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
2953 remove the comment which said we cannot.
2955 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2957 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
2958 Reini Urban and Paul Eggert for reporting the dependencies.
2960 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
2961 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
2962 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2964 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2966 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
2967 so that eg. ``autoscan --help'' doesn't truncate it.
2969 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
2971 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2972 generated conftest files.
2974 2004-12-13 Noah Misch <noah@cs.caltech.edu>
2976 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
2977 tracing on commands with possibly-escaped newlines.
2978 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
2979 discontinued behavior and its implications.
2980 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
2981 (BSx641-newline in command, BS-BS-newline in command)
2982 (BSx640-newline in command, Newline-CODE-BS-newline in command)
2983 (Single-quote-BS-newline in command)
2984 (Single-quote-newline-BS-newline in command): New tests.
2986 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2988 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
2989 on platforms where it works.
2990 (_AS_TEST_PREPARE): Test for ``test -x''.
2991 (_AS_BROKEN_TEST_PREPARE): Nuke.
2993 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2995 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
2996 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
2997 give only 4-letter prefix to AS_TMPDIR, comment fixed.
2998 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
2999 create the temporary directory.
3000 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
3002 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
3004 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
3007 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
3009 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
3011 2004-12-11 Noah Misch <noah@cs.caltech.edu>
3013 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
3014 to avoid using a negated character class. Reported by Nicolas Joly.
3015 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
3017 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
3019 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
3020 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
3021 Don't depend on .x file explicitly, since "make" does that for us.
3022 Suggested by Stepan Kasal.
3024 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
3026 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
3027 ifnames): Factor common code. And they said it couldn't be done!
3029 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3031 * bin/.cvsignore: Add autoconf.in.
3032 * tests/.cvsignore: Add wrapper.in.
3033 * lib/autotest/general.m4: Escape '$' in case pattern.
3035 2004-12-09 Noah Misch <noah@cs.caltech.edu>
3037 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
3039 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
3041 * tests/autotest.at: New file.
3042 * tests/suite.at: Include it.
3043 * tests/Makefile.am: Distribute it.
3045 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
3046 shell tracing on a command that could contain multiple lines.
3047 * doc/autoconf.text: Document that fact and its implications.
3048 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
3049 * tests/autotest.at (Multiline backquote command substitution,
3050 Multiline parameter expansion, Literal multiline command,
3051 Multiline parenthetical command substitution): Remove XFAIL.
3053 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3055 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
3056 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
3058 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3060 * configure.ac (test suite): Cease to generate wrapper scripts.
3061 * configure: Regenerate.
3062 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
3063 (m4f_dependencies): Adjust accordingly.
3064 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
3065 (wrapper.in): Generate it in the build directory.
3066 (MAINTAINERCLEANFILES): Delete wrapper.in.
3067 (CLEANFILES): Add wrapper.in.
3068 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
3069 the output. Replace each $as_me with a @wrap_program@.
3070 * tests/wrapper.in: Delete it; we always build it.
3072 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
3073 (EXTRA_DIST): Remove autoconf.in.
3074 (CLEANFILES): Add autoconf.in.
3075 (autoconf): Find autoconf.in in the build directory.
3076 * bin/autoconf.in: Delete it; we always build it.
3078 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3080 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
3081 PATH members so as to not prepend an empty element. Move a comment.
3082 * Makefile.am (SUBDIRS): Build in `tests' last.
3083 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3085 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
3087 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3088 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
3089 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3090 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3092 2004-12-07 Stepan Kasal <kasal@ucw.cz>
3094 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3097 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
3099 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3100 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
3101 * doc/autoconf.texi (Particular Functions): Mention new behavior.
3103 2004-12-03 Stepan Kasal <kasal@ucw.cz>
3105 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3106 out the common code to ...
3107 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3108 value of the #define--default to 1, iff the macro was called
3109 with exactly one parameter.
3111 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
3113 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3114 "char c = '\200';" rather than "char c = 0x80;" as the
3115 latter doesn't conform to the strict C standard due to
3116 overflow on signed char hosts.
3118 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3119 to -qlanglvl=ansi. We don't want to disable extensions.
3121 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
3123 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3124 (Using Autotest, testsuite Scripts, Writing testsuite.at):
3125 Reword slightly to avoid some English-language problems noted
3126 by Ralf Wildenhues in:
3127 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3129 2004-11-29 Stepan Kasal <kasal@ucw.cz>
3131 * NEWS: Add ^L above each release.
3133 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
3135 Fix documentation problems reported by Russ Boylan in
3136 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3137 along with some nearby cruft.
3138 * doc/autoconf.texi (Libtool): Libtool can be used without
3139 Automake (not without Autoconf).
3140 (Introduction): Mention lists.gnu.org.
3141 * BUGS: Don't mention bugs.gnu.org.
3142 Remove mention of ancient libtool compatibility problem.
3143 * NEWS: Mention that bugs.gnu.org is kaput.
3144 * README: Likewise. Mention where mailing list archives can be found.
3146 2004-11-28 Stepan Kasal <kasal@ucw.cz>
3148 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3149 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3151 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
3153 * doc/autoconf.texi (Pretty Help Strings): Go back to
3154 single-quoting assignments to cache variables.
3156 2004-11-23 Stepan Kasal <kasal@ucw.cz>
3158 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3159 with the examples; fix the bug in MY_ARG_WITH example reported
3160 by Alexandre Duret-Lutz.
3161 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3162 expansion of $1 in the comment emitted to configure.
3164 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
3166 * doc/autoconf.texi (Pretty Help Strings): Fix typo
3167 in my editing of the previous patch. Problem reported
3168 by Alexandre Duret-Lutz.
3170 2004-11-22 Stepan Kasal <kasal@ucw.cz>
3172 * doc/autoconf.texi (Autoconf Language): Explain that
3173 ``descriptions'' may not be double quotes.
3174 (Quotation Rule Of Thumb): Likewise.
3175 (Pretty Help Strings): Likewise; remove the wrong comment;
3176 simplify the examples and improve their quoting.
3178 2004-11-13 Stepan Kasal <kasal@ucw.cz>
3180 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3181 the $1_found variable, don't test whether the file is executable;
3182 Both things are checked ...
3183 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3184 the former ``test -f''.
3185 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3187 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
3189 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3192 2004-11-10 Derek R. Price <derek@ximbiot.com>
3194 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3195 limitations. Reorder paragraphs for clarity.
3197 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
3199 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3200 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3201 variants", "Unix", and some related minor wording fixups.
3203 (Shellology, Special Shell Variables): Document that the Zsh
3204 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
3205 to Alexandre Duret-Lutz for this info.
3207 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
3209 * doc/autoconf.texi (One-Shot Macros): New node.
3211 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
3213 * doc/autoconf.texi (Function Portability): Fix misdescription
3214 of putenv. Problem reported by Michael Wardle.
3216 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
3218 * doc/autoconf.texi (auindex): New macro.
3219 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
3220 Problem reported by Stepan Kasal.
3222 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
3224 Fix problems reported by Andreas Buening in:
3225 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3226 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3228 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3229 readable; it's not true in OS/2-emx.
3231 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
3233 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3234 "/usr/include", clear ac_x_includes instead of leaving it as "no"
3235 (trivial change). Problem and patch reported by Andrew Church in:
3236 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3238 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
3240 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3241 three args in examples. Problem reported by Frederik Fouvry in:
3242 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3243 Also, fix some minor spacing and punctuation bugs.
3245 2004-09-02 Akim Demaille <akim@epita.fr>
3247 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3248 "case" to restore ordering.
3249 Reported by Stepan Kasal.
3251 2004-08-26 Akim Demaille <akim@epita.fr>
3253 * doc/autoconf.texi: Minor typos and stylos.
3255 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3257 * configure.ac (AC_INIT): Bump to 2.59c.
3259 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3263 * README: Add advice about m4 1.4.2.
3265 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3266 texinfo.tex for now (done by hand now).
3267 * Makefile.maint (wget_files, cvs_files):
3268 Remove ansi2knr.c; nobody uses it.
3269 (ansi2knr.c-url_prefix): Remove.
3270 (cvs-update): Fix test for failure. I don't know why it ever
3273 * doc/autoconf.texi: Update URLs, some of which went stale.
3274 Use @uref rather than @href.
3276 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3277 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
3279 * config/config.guess, config/config.sub, config/elisp-comp,
3280 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3281 doc/fdl.texi, doc/standards.texi: Sync with master copy.
3283 * NEWS, TODO, configure.ac, bin/autoscan.in,
3284 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3285 doc/install.texi, lib/Autom4te/Configure_ac.pm,
3286 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3287 lib/autoconf/programs.m4, lib/autoconf/status.m4,
3288 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3289 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3290 tests/tools.at, tests/torture.at:
3291 Use "file name" rather than "filename" or "path",
3292 to be consistent with the terminology of the GNU coding standards.
3294 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
3296 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3297 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3298 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
3299 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3301 More fixes to support spaces in the name of the build directory.
3302 This isn't a complete fix but it's an improvement.
3304 * bin/autoconf.as (autom4te_options): New var.
3305 Use it instead of appending to AUTOM4TE, so that we can allow
3306 spaces in the build directory's absolute name.
3307 * bin/autoheader.in ($autoconf): Allow spaces in file names.
3308 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
3309 AT_CHECK_NOESCAPE): Likewise.
3310 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
3311 main program): Likewise.
3313 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
3315 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
3316 From Ralf Corsepius in:
3317 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
3319 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
3321 * doc/autoconf.texi (Function Portability): Document isinf and
3322 and isnan. From a suggestion by Kevin Ryde.
3324 * lib/Autom4te/General.pm (END): Return correct exit status even
3325 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
3327 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
3329 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
3330 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
3331 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
3333 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3335 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
3336 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
3337 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
3338 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
3339 * lib/autom4te.in (Automake-preselections): Preselect
3340 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
3342 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
3344 * lib/autom4te.in (Automake-preselections): Preselect
3345 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
3348 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
3350 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
3352 * doc/autoconf.texi (Shellology): Mention BIN_SH.
3353 Document problem with "`""`" in pdksh POSIX mode.
3355 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
3357 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
3358 with pdksh, too. Problem reported by Patrick Welche via
3360 * doc/autoconf.texi (Shellology): Note that set -o posix is
3361 useful for pkdsh, too.
3363 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
3365 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
3366 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
3367 Don't fail if ENV or BASH_ENV is readonly.
3368 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
3369 etc. are read only. Problem reported by Ludovic Courtes.
3371 2004-06-23 Noah Misch <noah@cs.caltech.edu>
3373 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
3374 zsh, disable GLOB_SUBST to avoid backslash handling problems.
3377 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
3379 * doc/autoconf.texi (File System Conventions): Warn about
3380 names like "aux". Problem reported by Eric Blake.
3382 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
3383 by zero instead of array size, so that we can use any arithmetic
3384 constant expression (instead of requiring an integer constant
3385 expression). This allows us to test expressions like DBL_MAX <
3386 LDBL_MAX, which didn't conform to the C standard using the old
3388 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
3389 now that we can do floating-point tests at compile time.
3391 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
3393 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
3394 and LDBL_EPSILON, as the resulting expression isn't an
3395 integer constant expression and violates the C standard.
3396 Problem reported by Nelson H. F. Beebe. Also, check
3397 for "L" suffix, and check that long double doesn't have
3398 worse range or precision than double, that mixed-mode
3399 arithmetic doesn't generate a diagnostic, that double
3400 constants fit in long double.
3402 2004-06-03 Kevin Ryde <user42@zip.com.au>
3404 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
3405 malloc(0) and realloc(NULL,size).
3407 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
3410 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
3412 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
3413 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
3416 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
3418 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
3419 can be rewritten using if-then-else. Suggested by Bruno Haible.
3421 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
3423 * doc/autoconf.texi (testsuite Scripts): Fix typo.
3424 Problem reported by Stepan Kasal.
3426 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
3428 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
3429 change). Patch reported by Ralf Wildenhues in
3430 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
3432 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
3433 function F exists if the compiler and linker let you compile an
3434 expression like (F != 0). Recent versions of GCC optimize away
3435 the reference to F in that case, since every function address must
3436 be nonzero, so the link succeeds even if F does not exist.
3437 Problem reported by Manu in
3438 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
3440 * doc/autoconf.texi (Systemology): Standardize on the spelling of
3441 "Unix". Many uses changed.
3442 (Limitations of Builtins): Explain better why the ! command isn't
3445 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
3447 * lib/autom4te.in (Automake-preselections): Preselect
3448 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
3450 2004-05-19 Kevin Ryde <user42@zip.com.au>
3452 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
3453 referencing AC_FUNC_STRERROR_R.
3455 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
3456 note pessimistic assumption when cross compiling.
3458 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
3460 * doc/autoconf.texi (Limitations of Make): Note that BSD make
3461 (until 2004) invoked subcommands with sh -e, contra POSIX.
3462 Reported by Kevin Ryde.
3464 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
3466 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
3467 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
3468 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
3469 `test -f " /usr/bin/grep"', which _always_ failed.
3470 (AC_PROG_SED): Ditto bogus PATH fix.
3471 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
3472 requires that grep correctly supports _multiple_ `-e' options, rather
3473 than stating only that grep should accept `-e'.
3475 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
3477 Port to C99, which requires that 'exit' be declared.
3479 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
3480 to ensure that stdlib.h is included.
3481 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
3482 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
3483 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3484 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3485 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3486 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
3487 when using 'exit' in a test; C99 requires that 'exit' be declared.
3489 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
3491 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
3492 now prefers 'grep' implementations that accept -e.
3493 (Limitations of Usual Tools): Describe problems of traditional
3494 egrep and fgrep with long input lines, and of traditional grep
3496 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
3497 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
3498 All callers changed. Append /usr/xpg4/bin to the PATH, for
3500 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
3501 the user with complaints about multiple -e options.
3502 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
3503 Define it with AC_PROG_GREP.
3504 * configure.ac (AC_PROG_GREP): Add.
3505 * lib/freeze.mk (GREP): New macro.
3507 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
3509 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
3510 a possible candidate only after all others fail, rather than
3511 consulting it first. This improves backward compatibility by
3512 better reflecting the way shell selection occurred in previous
3513 versions of Autoconf, and should help to avoid triggering latent
3514 problems in other packages, such as the one in Automake where zsh
3515 is not handled robustly:
3516 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
3517 Although it is not Autoconf's responsibility to work around
3518 problems in Automake, it nevertheless makes sense to avoid
3519 introducing unnecessary incompatibilites.
3521 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
3522 Gary V. Vaughan <gary@gnu.org>
3524 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
3525 how deeply nested we are when a suitable tool is found, set the
3526 ac_path_TOOL_found flag.
3527 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
3528 nested we are in this macro. Break out of all 3 nested loops if
3529 ac_path_TOOL_found is set.
3531 2004-04-21 Gary V. Vaughan <gary@gnu.org>
3533 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
3534 of the _AS_PATH_WALK loop too if GNU flavor is found.
3536 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3538 * doc/autoconf.texi (Limitations of Make): Update documentation
3539 for `$<'. New entry `Long lines', based on a report from Simon
3540 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
3541 paragraph about DJGPP, based on a mail from Richard Dawe.
3543 2004-04-20 Paul Eggert <eggert@twinsun.com>
3545 * tests/c.at (C keywords): Don't assume that GCC supports
3546 "restrict" and "inline", as sufficiently-old GCC versions do not
3547 (also, GCC configured to be in pedantic C89 mode does not).
3548 Problem reported by Sumit Pandya in:
3549 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
3551 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
3552 consider -g to work if it generates warnings when plain compiles
3553 don't. Problem reported by Braden McDaniel in:
3554 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
3556 * doc/autoconf.texi (Slashes): New section, to document a problem
3557 reported by Jim Meyering in:
3558 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
3560 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
3561 linker output files before linking, to work around IRIX 6 linker bug.
3562 Problem reported by Rainer Orth in:
3563 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
3565 2004-04-20 Gary V. Vaughan <gary@gnu.org>
3567 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
3568 best tool so far counter rely on the tool path variable name to
3569 avoid checks for one tool being affected by the results of running
3570 the length check on a previous tool.
3572 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
3573 match expression argument, as different greps have different
3574 regular expression flavours.
3575 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
3577 (AC_PROG_EGREP): Pass 'EGREP$'.
3578 (AC_PROG_GREP): Pass 'GREP$'.
3580 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
3582 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
3583 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
3585 2004-03-29 Paul Eggert <eggert@twinsun.com>
3587 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
3588 Types, Specific Compiler Characteristics, System Services,
3589 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
3590 etc. consistently instead of 'long', 'short', 'unsigned' etc.
3591 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
3592 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
3594 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
3595 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
3596 AC_TYPE_OFF_T): Likewise.
3597 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
3600 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
3601 pacify libtool 1.5.2. Fix quoting problems in sed command.
3603 2004-03-28 Paul Eggert <eggert@twinsun.com>
3605 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
3606 now defines HAVE_DECL_TZNAME if it is declared, when
3607 HAVE_STRUCT_TM_TM_ZONE is not defined.
3608 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
3609 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
3612 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
3614 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
3615 superfluous backslashing of quotes (") in sed expressions;
3616 thanks to Paul Eggert.
3618 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
3620 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
3621 Fortran compiler is ifort, also added pghpf; thanks to Nelson
3622 H. F. Beebe for the bug report.
3624 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
3626 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
3627 quoted -cmdline argument in Portland Group compiler (bug
3628 reported by Jeffrey J. Barteet).
3630 2004-03-25 Kevin Ryde <user42@zip.com.au>
3632 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
3633 (Run Time): ... here, where it's now mentioned.
3635 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
3637 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
3638 inherits from language Autoconf-without-aclocal-m4.
3639 (Customizing autom4te): Adjust example; the cache must now be
3640 disabled for language Autoconf-without-aclocal-m4.
3642 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
3643 Nathanael Nerode <neroden@twcny.rr.com>
3645 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
3646 AC_CHECK_TOOLS): Warn if a cross-tool is found without
3648 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3649 AC_CHECK_TARGET_TOOLS): New macros.
3650 * doc/autoconf.texi (Generic Programs): Document
3651 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3652 AC_CHECK_TARGET_TOOLS, and warn for future changes
3653 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
3655 (Specifying Names): Document the reason for these future
3657 * tests/mktests.sh: Do not generate tests for the
3659 * NEWS: Document these changes.
3661 * doc/autoconf.texi: Avoid macros with unbraced arguments,
3662 they make TeX hang up.
3664 2004-03-15 Paul Eggert <eggert@bogus.example.com>
3666 * NEWS: New macro AC_CHECK_ALIGNOF.
3667 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
3668 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
3669 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
3671 (AC_CHECK_ALIGNOF): New macro.
3672 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
3673 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
3676 2004-03-03 Paul Eggert <eggert@twinsun.com>
3678 * bin/Makefile.am (edit): Don't use $< in a context where
3679 POSIX doesn't require support for it. Use $@.in instead.
3680 Problem reported by Anthony N. Frasso in
3681 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
3682 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
3684 2004-02-23 Gary V. Vaughan <gary@gnu.org>
3686 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
3687 from the next generation of Libtool.
3688 * lib/autom4te.in (Autoreconf-preselections): Ditto.
3690 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3692 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
3693 is not always thread-safe. Report from Nathanael Nerode.
3695 2004-02-18 Paul Eggert <eggert@twinsun.com>
3697 Fix a dependencies problem, stemming from a Autoconf 2.59 build
3698 problem on QNX reported by Stephen Rasku in
3699 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
3701 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
3702 $(m4sh_m4f_dependencies); this removes a FIXME.
3703 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
3704 (MAINTAINERCLEANFILES): Split into pieces,
3705 one per related section. Add $(srcdir)/wrapper.in.
3707 2004-02-09 Paul Eggert <eggert@twinsun.com>
3709 * doc/autoconf.texi (Setting Output Variables): Emphasize that
3710 AC_SUBST provides no portable way to escape literal newlines.
3712 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
3713 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
3714 Darwin uses -lcrt2.o and there's little point to cataloging all
3715 the system variants. Partial fix reported by Andreas Waechter in:
3716 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
3717 for bug reported by Nelson H. F. Beebe in:
3718 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
3720 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
3722 * doc/autoconf.texi (AU_DEFUN): Fix English,
3723 suggested by Paul Eggert.
3724 * lib/autoconf/autoupdate.m4: Correct reference to
3725 acobsolete.m4, suggested by Alexandre Duret-Lutz.
3727 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
3729 * bin/autoupdate.in: Define __file__ so that warnings
3730 refer to the correct file.
3731 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
3732 the behavior of the third argument.
3733 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
3734 correctly the behavior of the third argument. Document
3735 what the three macros that AU_DEFUN defines do. Fix
3736 warning message when the third argument includes $0
3737 (reported by Alexandre Duret-Lutz).
3739 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3740 Eric Sunshine <sunshine@sunshineco.com>
3741 Paul Eggert <eggert@twinsun.com>
3743 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
3744 (AS_INIT): Output shell initialization there. Removed optional
3745 parameter. Expand _AS_SHELL_FN_SPY.
3746 (AS_INIT_WITH_SHELL_FN): Removed.
3747 (_AS_SHELL_FN_SPY): New macro.
3748 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
3750 (AS_SHELL_SANITIZE): Remove loop to find better shell
3751 and documentation for the parameter.
3752 (_AS_DETECT_BETTER_SHELL): Move it here.
3753 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
3754 (_AS_RUN): Move it here, support testing with eval.
3755 (AS_REQUIRE_SHELL_FN): Require shell functions when
3757 (_AS_LINENO_WORKS): Put around braces, we do not
3758 trigger the bash bug anymore.
3759 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
3760 use AS_INIT_WITH_SHELL_FN.
3761 * bin/autoconf.in, tests/wrapper.in: Regenerated.
3763 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3765 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
3766 * doc/autoconf.texi: Don't say that the third parameter
3768 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
3769 (AU_DEFUN): Honor the third parameter, create autoupdate
3770 macros with AU_DEFINE.
3771 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
3772 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
3773 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3774 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
3775 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
3776 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
3777 AC_XENIX_DIR): Likewise.
3778 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
3779 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
3780 * lib/autoconf/status.m4: Remove FIXME.
3781 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
3782 that the macro is not present anymore in the updated
3784 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
3787 2004-01-28 Paul Eggert <eggert@twinsun.com>
3789 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
3791 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
3792 2003 (except 1997) to the list of copyright years. This undoes
3793 the 2003-05-22 change, which removed the older years from the list.
3794 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
3796 2004-01-27 Gary V. Vaughan <gary@gnu.org>
3797 Albert Chin-A-Young <china@thewrittenword.com>
3799 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
3800 grep or ggrep program in PATH that accepts as long lines as
3802 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
3804 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
3805 egrep and fgrep respectively if $GREP -E/-F don't work.
3806 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
3807 _AC_PROG_GREP, and AC_PROG_SED.
3808 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
3809 longest input length accepted by a command.
3810 (AC_PROG_SED): Use it.
3811 * doc/autoconf.texi (Particular Programs): Document the changes.
3814 2004-01-27 Paul Eggert <eggert@twinsun.com>
3816 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
3817 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3818 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
3819 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3821 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
3822 bin/autoconf.in, config/Makefile.in, config/config.guess,
3823 config/config.sub, config/install-sh, config/mdate-sh,
3824 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
3825 lib/Makefile.in, lib/Autom4te/Makefile.in,
3826 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
3827 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
3828 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
3829 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
3830 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
3831 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
3832 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
3833 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
3834 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
3835 tests/actypes.at: Regenerate and/or sync with original
3838 2004-01-26 Paul Eggert <eggert@twinsun.com>
3840 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
3841 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
3842 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
3843 not <inttypes.h>. Problem reported by Tim Mooney in
3844 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
3845 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3848 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
3849 otherwise "make check" fails because it forbids cmp (I guess
3850 because cmp treats files as binary on DOS-like systems).
3852 * tests/mktests.sh: Update copyright date to 2004, since some tests
3853 have changed in 2004.
3855 2004-01-23 Gary V. Vaughan <gary@gnu.org>
3857 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
3858 non-truncating sed or gsed program in PATH.
3859 * tests/acprograms.at: Add it.
3860 * doc/autoconf.texi (Particular Programs): Document it.
3863 2004-01-15 Paul Eggert <eggert@twinsun.com>
3865 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
3866 -std1 disables some useful extensions on Tru64. Problem reported
3868 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
3870 2004-01-14 Paul Eggert <eggert@twinsun.com>
3872 * doc/autoconf.texi (Programming in M4sh): Document that
3873 AS_MKDIR_P succeeds if the destination is a symbolic link
3874 to an existing directory.
3875 (Limitations of Usual Tools): Note that mkdir -p might not
3876 succeed on symlinks to directories.
3878 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
3880 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
3881 * bin/autoheader.in: Grammar fix in message.
3882 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
3883 Test for dir before calling mkdir -p. (trivial changes)
3885 2004-01-13 Eric Blake <ebb9@byu.net>
3887 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
3888 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
3890 2004-01-10 Jim Meyering <jim@meyering.net>
3892 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
3894 2004-01-09 Paul Eggert <eggert@twinsun.com>
3896 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
3897 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
3898 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
3899 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
3900 AC_COMPILE_IFELSE, since we now assume our caller invokes
3901 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
3902 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
3903 of AC_RUN_IFELSE; this avoids the warning mentioned above.
3904 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
3906 2004-01-07 Paul Eggert <eggert@twinsun.com>
3908 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
3909 `"'...'"`, as it's confusing (and I suspect it may not work on
3910 some platforms). The code was incorrect anyway, as it assumed
3911 that \$ evaluated to itself in that context. Reported by
3912 Alexandre Duret-Lutz.
3914 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
3916 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
3917 and _LT_AC_TAGCONFIG.
3919 2004-01-06 Paul Eggert <eggert@twinsun.com>
3921 * doc/autoconf.texi (One Macro Call): Fix an incorrect
3922 example, and add more examples. Reported by Eric Sunshine.
3924 2004-01-05 Paul Eggert <eggert@twinsun.com>
3926 * doc/autoconf.texi (Limitations of Usual Tools):
3927 Remove warning against "rm -fr" introduced yesterday; it
3930 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
3931 autoscan, autoupdate, ifnames): Don't use chmod -w.
3932 * lib/Makefile.am (autom4te.cfg): Likewise.
3933 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
3936 2004-01-04 Paul Eggert <eggert@twinsun.com>
3937 Paolo Bonzini <bonzini@gnu.org>
3939 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
3940 by doing lineno substitution only on lines containing "$LINENO".
3942 2004-01-04 Paul Eggert <eggert@twinsun.com>
3944 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
3945 Use "rm -f" to remove conftest.sed, not plain "rm".
3946 Bug reported by David Relson in
3947 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
3949 * Makefile.am (autom4te-update):
3950 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
3951 * Makefile.maint (my-distcheck, do-po-update): Likewise.
3952 * doc/autoconf.texi (Guidelines): Likewise.
3953 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
3954 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
3955 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3956 * lib/autotest/general.m4 (AT_INIT): Likewise.
3957 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
3958 * tests/Makefile.am (clean-local): Likewise.
3959 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
3961 * doc/autoconf.texi (Limitations of Usual Tools):
3962 Warn against "rm -fr".
3964 2004-01-03 Paul Eggert <eggert@twinsun.com>
3966 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
3967 -c -o might not work. From a suggestion by Kevin Ryde.
3968 (C Compiler, Generating Sources, Limitations
3969 of Usual Tools, Limitations of Make, Making testsuite Scripts):
3970 Don't put '-o' after non-options, as POSIX doesn't allow this.
3971 Mention that cc's name might be gcc or c89 or whatever.
3973 2004-01-04 Kevin Ryde <user42@zip.com.au>
3975 * doc/autoconf.texi: Add various further index entries.
3977 2003-12-29 Paul Eggert <eggert@twinsun.com>
3979 * bin/autoreconf.in (autoreconf_current_directory):
3980 Fix typo: mkdir without umask arg.
3982 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
3984 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
3985 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
3986 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
3987 explanation clearer.
3989 2003-12-24 Andreas Schwab <schwab@suse.de>
3991 * doc/autoconf.texi (Default Includes): Fix misspelling of
3992 AC_INCLUDES_DEFAULT.
3994 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3996 * configure.ac: Test if sh -n works.
3997 * configure: Regenerate.
3998 * tests/atlocal.in: Store the result here.
3999 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
4000 tools.at, looking in atlocal's ac_cv_sh_n_works instead
4001 of explicitly testing.
4002 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
4003 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
4004 * tests/tools.at (Syntax of the shell scripts): Simplify
4005 using AT_CHECK_SHELL_SYNTAX.
4006 (Syntax of the Perl scripts): Remove definition of
4007 AT_CHECK_PERL_SYNTAX.
4009 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
4011 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
4012 stderr to /dev/null.
4013 * bin/autoconf.in: Regenerate.
4014 * bin/wrapper.in: Regenerate.
4016 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
4018 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
4019 Extracted from AS_SHELL_SANITIZE.
4020 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
4022 (AS_SHELL_SANITIZE): Move reinvocation code from
4023 _AS_LINENO_WORKS, use it to find out if shell
4025 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
4027 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
4028 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
4030 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
4031 * bin/autoconf.in: Regenerate.
4032 * tests/wrapper.in: Regenerate.
4033 * tests/tools.at: Test the syntax of tests/autoconf
4034 and tests/testsuite.
4036 2003-11-24 Akim Demaille <akim@epita.fr>
4038 * config/announce-gen (&print_locations, &print_signatures)
4041 No longer rely on Gnus to inline the list of signatures: compute
4044 2003-11-24 Akim Demaille <akim@epita.fr>
4046 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
4047 override some files.
4048 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
4049 From Debian Autoconf 2.58.
4051 2003-11-24 Akim Demaille <akim@epita.fr>
4053 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
4055 From Debian Autoconf 2.58.
4057 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4059 * TODO: Remove already done things. Update the part about finding
4060 tools for the target.
4062 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4064 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
4065 Make wording more consistent.
4066 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4067 Explain the transition better.
4068 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
4069 the transition better.
4071 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4073 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
4074 parameter of AU_DEFUN.
4075 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
4076 (AU_DEFUN): Remove the third parameter, it was not used.
4077 Use AC_DEFUN directly, not AU_DEFINE.
4078 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
4079 the expanded body, consistently with other macros such as AC_USG.
4081 2003-11-17 Paul Eggert <eggert@twinsun.com>
4083 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4084 into the initial confdefs.h, to work around a bug in NextStep 3.3
4085 patch 3 reported by Eric Sunshine.
4087 2003-11-15 Kevin Ryde <user42@zip.com.au>
4089 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4090 than $target since the latter is not usual, add guidelines on when to
4091 use or not use the system type.
4093 2003-11-12 Derek Price <derek@ximbiot.com>
4095 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4096 typo misrepaired by an auto-spellcheck.
4098 2003-11-12 Akim Demaille <akim@epita.fr>
4100 * bin/autoreconf.in (&parse_args): Don't call automake with
4101 --force-missing unless it actually supports it.
4102 From Debian #219336.
4104 2003-11-12 Akim Demaille <akim@epita.fr>
4106 * configure.ac: Bump to 2.59a.
4109 2003-11-06 Akim Demaille <akim@epita.fr>
4113 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
4115 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4116 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4117 and ac_abs_top_srcdir are absolute paths.
4118 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4120 2003-11-05 Akim Demaille <akim@epita.fr>
4122 * configure.ac: Bump to 2.58a.
4124 2003-11-05 Kevin Ryde <user42@zip.com.au>
4126 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4127 it provokes a warning from makeinfo about looking like a cross
4128 reference in info output.
4130 * doc/autoconf.texi (Function Portability): Add notes on signal
4131 handler return type, as per AC_TYPE_SIGNAL.
4133 2003-11-04 Akim Demaille <akim@epita.fr>
4136 * doc/standards.texi: Update from master.
4138 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4140 2003-11-04 Akim Demaille <akim@epita.fr>
4142 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4143 computing the absolute path to d1 in the source hierarchy: it may
4144 not exist at all. So don't cd into it.
4145 From Alexandre Duret-Lutz.
4146 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4148 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4149 From Paul Eggert, but named after Perl's IO::Spec->catfile.
4150 * doc/autoconf.texi (Programming in M4sh): Document.
4151 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4153 2003-11-03 Pavel Roskin <proski@gnu.org>
4155 * doc/autoconf.texi (Generic Structure Checks): Describe
4156 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4158 2003-10-31 Akim Demaille <akim@epita.fr>
4160 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4162 * doc/autoconf.texi (Language Choice): Document.
4163 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4164 the current language is Fortran.
4166 2003-10-31 Akim Demaille <akim@epita.fr>
4168 * bin/autom4te.in (&freeze): Use a less likely warning separator
4169 than `\n\n', so that `\n\n\n' is valid in warnings.
4170 Reported by Steve Huston.
4172 2003-10-28 Akim Demaille <akim@epita.fr>
4174 * Makefile.cfg (local_updates, executable-update): Tweak to be
4175 robust to parallel makes.
4176 Suggested by Alexandre Duret-Lutz.
4178 2003-10-27 Akim Demaille <akim@epita.fr>
4180 * Makefile.cfg (executable-update): New.
4181 (local_updates): Call it.
4183 2003-10-27 Akim Demaille <akim@epita.fr>
4185 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4186 Don't remove core.* as it may remove valid user files.
4187 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4188 (AC_FUNC_UTIME_NULL): Likewise.
4190 2003-10-23 Akim Demaille <akim@epita.fr>
4193 * config/config.guess, config/config.sub: Upgrade from masters.
4195 2003-10-23 Akim Demaille <akim@epita.fr>
4197 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4198 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
4201 2003-10-23 Akim Demaille <akim@epita.fr>
4203 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4204 Don't forget to remove conftest.err.
4206 2003-10-23 Akim Demaille <akim@epita.fr>
4208 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4209 same object file in $LIBOBJS.
4210 Reported by Alexandre Duret-Lutz & Derek Robert Price.
4211 * doc/autoconf.texi (Generic Functions): Adjust.
4213 2003-10-20 Paul Eggert <eggert@twinsun.com>
4215 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4216 Use 'eval', so that the resulting configure scripts work even if
4217 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4219 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4221 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
4222 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
4223 (_AC_LINK_IFELSE): Check the werror flag.
4224 * doc/autoconf.texi (Generic Compiler Characteristics): Document
4228 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4230 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4231 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
4232 override AC_LINK_IFELSE.
4234 2003-10-15 Paul Eggert <eggert@twinsun.com>
4236 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4237 pdksh 5.2.14. Bug reported by Ralf Corsepius.
4238 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4239 Mention /usr/dt/bin/dtksh on Solaris.
4240 (Shell Substitutions): Warn about $((...)).
4241 (Parentheses): New section.
4243 2003-10-15 Kevin Ryde <user42@zip.com.au>
4245 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4246 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
4248 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
4250 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4253 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
4255 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4256 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4258 2003-10-10 Andreas Schwab <schwab@suse.de>
4260 * bin/autoheader.in: Avoid empty first line in --version and
4262 * bin/ifnames.in: Likewise.
4264 2003-10-09 Paul Eggert <eggert@twinsun.com>
4266 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4267 Issue a more-informative diagnostic.
4268 Problems reported by Eric Sunshine.
4270 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4272 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4273 -mGLOB_options_string stuff for Intel ifc, which can cause
4274 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
4275 pattern-matching instead of grep.
4277 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4279 * doc/autoconf.texi: Document new FC Fortran macros.
4281 2003-10-08 Gary V. Vaughan <gary@gnu.org>
4283 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4284 that future autopoint/aclocal/automake/autoreconf will be able
4285 to trace to find where to install local m4 macros.
4286 * doc/autoconf.texi (Input): Document it.
4289 2003-10-06 Gary V. Vaughan <gary@gnu.org>
4291 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4292 -lcrtbegin.o to list of ignored flags and fix underquoting of
4295 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
4297 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4298 cache variable instead of $G77 to decide whether to include -O2,
4299 since $G77 is specific to Fortran 77.
4301 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4303 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
4304 free" flag. Re-order flags tested into rough order of popularity.
4306 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4308 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
4309 arguments so that it can be used with syntax identical to
4310 AC_PROG_F77, and so that we can more easily decide to
4311 remove/deprecate the DIALECT optional argument in the future if it
4313 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
4314 non-freeform-supporting compilers. Document freeform flags.
4316 2003-10-03 Akim Demaille <akim@epita.fr>
4318 * configure.ac: Look for emacs, not macs.
4319 Reported by Eric Sunshine.
4321 2003-10-03 Akim Demaille <akim@epita.fr>
4323 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
4324 * bin/autoreconf.in (autoreconf_current_directory): Create the
4325 AUX_DIR if needed, for sake of automake --add-missing etc.
4326 Suggested by Alexandre Duret-Lutz.
4328 2003-10-03 Akim Demaille <akim@epita.fr>
4330 * configure.ac: Quotation and formatting changes.
4331 (EMACS): Don't set it if it is not recent enough to support
4335 2003-10-02 Akim Demaille <akim@epita.fr>
4337 * bin/ifnames.in (&scan_file): Skip C++ comments.
4340 2003-10-01 Pavel Roskin <proski@gnu.org>
4342 * doc/autoconf.texi (Particular Structure Checks):
4343 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
4345 2003-10-01 Akim Demaille <akim@epita.fr>
4349 2003-09-30 Paul Eggert <eggert@twinsun.com>
4351 * lib/Autom4te/XFile.pm: Use Errno.
4352 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
4353 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
4355 2003-09-30 Akim Demaille <akim@epita.fr>
4357 * config/announce-gen (&print_news_deltas): Extracted from...
4358 (&print_changelog_deltas): here.
4359 (&news_file): Rename as...
4362 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
4364 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
4365 have been created when invoking the compiler.
4366 * tests/fortran.at (GNU Fortran 77): Quote $G77.
4368 2003-09-29 Akim Demaille <akim@epita.fr>
4372 * config/mkinstalldirs: Upgrade.
4374 2003-09-28 Paul Eggert <eggert@twinsun.com>
4376 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
4377 Problem reported by Lars J. Aas in
4378 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
4379 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
4380 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
4381 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
4383 2003-09-26 Akim Demaille <akim@epita.fr>
4385 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
4386 directory for AC_CONFIG_COMMANDS' first argument exists.
4387 This makes valid the invocation of _AC_SRCPATH that follows.
4388 Reported by Eric Sunshine.
4389 * doc/autoconf.texi (Configuration Commands): Adjust.
4391 2003-09-26 Akim Demaille <akim@epita.fr>
4393 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
4394 Reported by Ralf Corsepius.
4396 2003-09-26 Akim Demaille <akim@epita.fr>
4398 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
4400 Actually, use AU_ALIAS.
4403 2003-09-26 Paul Eggert <eggert@twinsun.com>
4405 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
4406 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
4407 Problem reported by Eric Sunshine in:
4408 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
4410 2003-09-26 Akim Demaille <akim@epita.fr>
4412 The test suite are sometimes assigning timings incorrectly.
4413 Reported by Henk Krus.
4414 Diagnosed by Nicolas Joly.
4416 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
4418 Instead of making AT_help a sequence of assignments to grow
4419 $at_help_all, just make AT_help_all be the growing contents of
4420 $at_help_all, and make a single assignment in...
4422 (at_times_skip): Flip the meaning and rename as...
4424 (AT_INIT): When summarizing the test that ran, remove
4425 $at_times_file after use, and check it is present before trying to
4428 2003-09-25 Akim Demaille <akim@epita.fr>
4432 * bin/Makefile.am (edit): Handle '@configure_input@'.
4433 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
4434 (ifnames): chmod -w.
4435 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
4436 executables, not bin/ executables! Otherwise all the magic needed
4437 to find non installed files is turned off. This caused a failure
4438 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
4439 as found in its environment (sent by tests/autoreconf): pointing
4440 to bin/autom4te that could not find its files.
4441 * tests/mktests.sh: Force the replacement of generated files, for
4442 the sake of "mv" program that are interactive when overwriting a
4444 * config/install-sh: Upgrade from CVS Automake.
4446 2003-09-23 Paul Eggert <eggert@twinsun.com>
4448 * doc/autoconf.texi (Limitations of Builtins): Document test -h
4449 versus test -L issues.
4451 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
4452 Paul Eggert <eggert@twinsun.com>
4454 Trivial change to support GCC's configuration procedure.
4455 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
4456 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
4457 about inconsistency if the preprocessor is set to give errors for
4459 * doc/autoconf.texi (C Compiler Characteristics): Document this.
4461 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
4463 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
4464 and XFile.pm from Automake.
4465 * lib/Autom4te/XFile.pm: Update from Automake.
4467 2003-09-12 Akim Demaille <akim@epita.fr>
4471 2003-09-12 Akim Demaille <akim@epita.fr>
4473 * config/config.guess, config/config.sub, config/missing,
4474 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
4477 2003-09-12 Akim Demaille <akim@epita.fr>
4479 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
4482 2003-09-11 Akim Demaille <akim@epita.fr>
4484 * doc/autoconf.texi (Header Portability): linux/random.h.
4485 From Peter Hendrickson.
4487 2003-09-10 Akim Demaille <akim@epita.fr>
4489 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
4490 willing to edit the output files.
4492 2003-09-10 Akim Demaille <akim@epita.fr>
4494 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
4496 * tests/mktests.sh: Skip AC_FC_SRCEXT.
4497 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
4499 2003-09-09 Akim Demaille <akim@epita.fr>
4501 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
4502 Reported by Gary Vaughan.
4503 * bin/autom4te.in (handle_m4): Likewise.
4505 2003-09-09 Akim Demaille <akim@epita.fr>
4507 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
4510 2003-09-07 Paul Eggert <eggert@twinsun.com>
4512 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
4513 Improve the accuracy of the wording about obsolescence.
4514 From a suggestion by Ian Lance Taylor in
4515 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
4517 2003-09-05 Paul Eggert <eggert@twinsun.com>
4519 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
4520 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
4522 2003-09-04 Akim Demaille <akim@epita.fr>
4524 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
4527 2003-09-04 Akim Demaille <akim@epita.fr>
4529 * bin/autom4te.in: Use &fatal where more appropriate than &error.
4530 (freeze): When exiting, use $exit_code.
4531 * lib/autoconf/fortran.m4: Comment changes.
4533 2003-09-04 Akim Demaille <akim@epita.fr>
4535 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
4537 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
4539 Add support for newer Fortran dialects. The F77 interface is
4540 unchanged, and continues to support Fortran 77. New FC macros
4541 correspond to all the old F77 macros, with output variables FC,
4542 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
4543 available dialect, but older dialects can be specified. There are
4544 new macros AC_FC_SRCEXT to set the source extension, and
4545 AC_FC_FREEFORM to accept free-form source files.
4547 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
4549 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
4550 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
4551 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
4552 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
4553 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
4554 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
4555 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
4556 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
4557 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
4558 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
4559 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
4560 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
4561 AC_FC_SRCEXT, AC_FC_FREEFORM):
4563 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
4564 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
4565 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
4566 Rewrite in terms of the above.
4567 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
4568 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
4569 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
4570 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
4572 2003-09-02 Paul Eggert <eggert@twinsun.com>
4574 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
4575 Document problems with timestamp resolution that 'make', 'cp -p', and
4578 2003-08-27 Akim Demaille <akim@epita.fr>
4580 * tests/m4sugar.at (cross_warning): Make sure to enable the
4581 output, so that we can track spurious m4sugar output.
4582 * tests/local.at: Require 2.57.
4583 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
4584 are defaulted by AT_CHECK anyway.
4585 Use AT_CHECK_AUTOM4TE.
4586 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
4589 2003-08-27 Akim Demaille <akim@epita.fr>
4591 * bin/autoheader.in: Issue the "Using auxiliary..." message only
4592 when -Wobsolete is set.
4593 Set it on by default.
4594 Suggested by Klee Dienes.
4596 2003-08-27 Akim Demaille <akim@epita.fr>
4598 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
4602 2003-08-26 Akim Demaille <akim@epita.fr>
4604 * doc/autoconf.texi (Output): Make clear that one can run code
4607 2003-08-25 Akim Demaille <akim@epita.fr>
4609 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
4612 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
4614 * bin/autoreconf.in (parse_args): Do not pass --no-force to
4615 Automake versions prior to 1.8.
4617 2003-08-25 Akim Demaille <akim@epita.fr>
4619 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
4622 2003-08-24 Akim Demaille <akim@epita.fr>
4624 * configure.ac: Bump to 2.57c.
4626 2003-08-22 Akim Demaille <akim@epita.fr>
4630 * Makefile.cfg (local-checks-to-skip): New.
4631 * Makefile.maint (local-check): Rename as...
4632 (local-checks-available): this.
4635 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
4636 * configure.ac: Require Automake 1.7.6.
4638 2003-08-22 Akim Demaille <akim@epita.fr>
4640 Output stack traces in warnings.
4642 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
4643 Replace the former...
4644 (m4_warn): Pass the call stack to _m4_warn.
4645 * bin/autom4te.in: Adjust to output the call stack.
4646 * tests/m4sugar.at (m4@&t@_warn): Adjust.
4648 2003-08-22 Akim Demaille <akim@epita.fr>
4650 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
4651 * bin/autom4te.in: Adjust.
4653 2003-08-21 Akim Demaille <akim@epita.fr>
4655 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
4657 (&getopt): Adjust the note and verb channels, depending upon
4659 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
4660 * bin/autoupdate.in: Adjust.
4661 Use &verb, not &verbose.
4663 2003-08-21 Akim Demaille <akim@epita.fr>
4665 * bin/autoheader.in (&parse_args): Use &parse_warnings and
4667 ($help): Use Autom4te::ChannelDefs::usage.
4668 * bin/autoscan.in: Use Autom4te::ChannelDefs.
4669 * lib/Autom4te/General.pm: Don't export error: you don't own it.
4671 2003-08-21 Akim Demaille <akim@epita.fr>
4673 First stab at preserving warnings between calls to autom4te,
4674 including when the cache is used.
4676 There are still several issues: (i) there are too many runs of m4
4677 (one for include, one for warnings, and some more), (ii) warnings
4678 spreading on several lines are not handled gracefully, (iii) the
4679 code meant to have the call stack display for errors does not work
4680 (its handling should move from m4 to autom4te).
4682 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
4684 (@preselect): Add m4_warn.
4685 ($exit_status): Remove, use $exit_code.
4686 ($help): Use Autom4te::ChannelDefs::usage.
4687 (&handle_m4): No longer define the m4_warnings.
4688 At each run, extract and report the warnings.
4689 Always cache the result, including if the exit status is on
4690 failure, since if nothing changes, we should result in the same
4691 failure, hence we can use the cache.
4692 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
4693 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
4695 (m4_warn): Redefine as a do-nothing: it is its invocation that
4696 matters, as warnings are now reported via traces.
4697 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
4698 the contents of m4_warn: make it _call_ m4_warn, so that tracing
4699 the latter reveals calls to the former.
4703 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
4705 2003-08-21 Akim Demaille <akim@epita.fr>
4707 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
4710 2003-08-21 Akim Demaille <akim@epita.fr>
4712 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
4714 * lib/Autom4te/ChannelDefs.pm: Doc typos.
4715 (&parse_warnings): Accept a list of warning requests.
4716 (&usage): Return a string, not a side effect.
4717 (cross): New warning category.
4719 2003-08-21 Akim Demaille <akim@epita.fr>
4721 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
4722 (&require_configure_ac): Accept an optional directory argument.
4723 ($configure_ac): Remove.
4724 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
4726 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
4727 * bin/autoscan.in: Adjust.
4729 2003-08-20 Akim Demaille <akim@epita.fr>
4731 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
4732 Reported by Alexandre Duret-Lutz.
4734 2003-08-20 Akim Demaille <akim@epita.fr>
4736 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
4737 * bin/autom4te: Adjust.
4738 In particular, be Autoconf tools are really silent when properly
4739 working, bind the verbosity of the 'note' channel to $verbose.
4740 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
4741 (&xsystem, &contents): Remove, since they are exported by...
4742 * lib/Autom4te/FileUtils.pm: this.
4744 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
4745 * lib/Autom4te/FileUtils.pm: here.
4747 2003-08-20 Akim Demaille <akim@epita.fr>
4749 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
4750 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
4753 2003-08-20 Akim Demaille <akim@epita.fr>
4755 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
4756 (autom4te-update): New.
4757 * Makefile.cfg (update): Bind autom4te-update.
4759 2003-08-19 Derek Price <derek@ximbiot.com>
4761 * lib/autotest/general.m4: Comment various HELP_* diversions.
4762 (PARSE_ARGS_BEGIN): New section for option parsing related
4764 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
4765 package specific options and associated help.
4767 2003-08-19 Akim Demaille <akim@epita.fr>
4769 * config/announce-gen, Makefile.cfg: New.
4770 * Makefile.am: Adjust.
4771 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
4773 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4775 * lib/autom4te.in (Automake-preselections): Preselect
4776 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
4779 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4781 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
4782 (Autoconf-without-aclocal-m4): ... this new language.
4783 * doc/autoconf.texi (autom4te Invocation): Mention
4784 Autoconf-without-aclocal-m4.
4786 2003-08-18 Derek Price <derek@ximbiot.com>
4788 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
4789 RUN-IF-PASS optional arguments.
4791 2003-08-18 Derek Price <derek@ximbiot.com>
4793 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
4795 2003-08-16 Derek Price <derek@ximbiot.com>
4797 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
4798 STDOUT & STDERR arguments.
4800 2003-08-14 Derek Price <derek@ximbiot.com>
4802 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
4803 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
4804 shorter column three. Add DESCRIPTION to log file content.
4806 2003-08-13 Derek Price <derek@ximbiot.com>
4808 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
4811 2003-08-12 Derek Price <derek@ximbiot.com>
4813 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
4814 (AT_CHECK_NOESCAPE): Move core functionality to...
4815 (_AT_CHECK): ...this new macro.
4817 2003-08-07 Derek Price <derek@ximbiot.com>
4819 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
4820 (AT_CHECK_NOESCAPE): ...to this new macro.
4822 2003-07-31 Paul Eggert <eggert@twinsun.com>
4824 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
4825 in Bash 2.01. Problem reported by Brian Gough in
4826 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
4828 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
4830 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
4831 -lcrt1.o, for OS X. (trivial change)
4833 2003-07-07 Paul Eggert <eggert@twinsun.com>
4835 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
4836 inside '#ifndef __cplusplus'. Problem reported by
4839 2003-07-06 Bill Clarke <llib@computer.org>
4841 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
4842 'long', not 'int', for benefit of Sun's recent C++ compilers
4843 (trivial change). See:
4844 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
4845 (This really should be 'intptr_t', not 'long', but that would
4848 2003-06-25 Akim Demaille <akim@epita.fr>
4850 * lib/Makefile.am (autom4te.cfg): Make it read only.
4851 Depend on Makefile since it contains substitutions.
4853 * lib/autom4te.in (args): Add local.at? for Autotest args.
4854 This change was made on autom4te.cfg which is generated.
4855 Reported by Raja R. Harinath.
4857 2003-06-25 Akim Demaille <akim@epita.fr>
4859 * doc/autoconf.texi (Header Portability): sys/mount.h.
4860 From Gareth McCaughan.
4862 2003-06-23 Akim Demaille <akim@epita.fr>
4864 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
4865 not all of them. This fixes 1. the fact that when testing
4866 Autoconf there are many many config.log, 2. the incorrect use of
4867 top_srcdir to find config.log.
4868 Don't mix the detailed output of failed test with the summary of
4869 failures. Rather, append detailed log afterwards.
4871 2003-06-23 Akim Demaille <akim@epita.fr>
4873 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
4874 always run: output config.log on $at_group_log.
4876 2003-06-23 Akim Demaille <akim@epita.fr>
4878 * tests/torture.at (#define header templates): Don't use quotes in
4879 C++ comments as it puzzles Emacs' sh font-lock-mode.
4881 2003-06-23 Akim Demaille <akim@epita.fr>
4883 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
4884 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
4885 * tests/atspecific.m4: Rename as...
4886 * tests/local.at: This.
4887 * tests/suite.at: Move the globals into...
4888 * tests/local.at: here.
4889 * tests/Makefile.am: Adjust.
4890 * doc/autoconf.texi (testsuite Scripts): Adjust.
4892 2003-06-21 Kevin Ryde <user42@zip.com.au>
4894 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
4895 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
4896 ensuring we add -std1 for full-ANSI.
4898 * doc/autoconf.texi (hdrindex): New macro.
4899 Add index entries for portability of various standard header files.
4901 2003-06-20 Akim Demaille <akim@epita.fr>
4903 * configure.ac: Bump to 2.57b.
4905 2003-06-20 Akim Demaille <akim@epita.fr>
4909 2003-06-20 Akim Demaille <akim@epita.fr>
4911 * bin/autom4te.in: Don't rely on $HOME being defined.
4912 Reported by Marc Espie as PR/233.
4914 2003-06-20 Akim Demaille <akim@epita.fr>
4916 * lib/autotest/general.m4: Use at_times_file only if used.
4919 2003-06-20 Akim Demaille <akim@epita.fr>
4921 * config/config.guess, config/config.sub, config/elisp-comp,
4922 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
4923 Update from masters.
4925 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
4927 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
4928 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
4929 (TEST_SCRIPT): New diversion.
4930 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
4931 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
4932 (AT_INIT): Support for expected failures.
4934 2003-06-02 Akim Demaille <akim@epita.fr>
4936 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
4938 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
4939 Autoconf nor Automake.
4940 (&contents): New, from Automake.
4943 2003-05-28 Paul Eggert <eggert@twinsun.com>
4945 * NEWS, doc/autoconf.texi (Particular Functions),
4946 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
4947 is the inverse of localtime.
4949 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
4951 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
4952 (handle_exec_errors): New function. Work around $! being
4953 altered by WEXITSTATUS.
4954 (xqx, xsystem): Use handle_exec_errors.
4956 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
4958 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
4959 Do not call `_exit()', simply modify `$?'.
4960 (xsystem): Reset $! before running system, and check it afterward.
4961 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
4962 63 for version mismatches.
4964 2003-05-23 Akim Demaille <akim@epita.fr>
4966 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
4967 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
4968 the middle of a line).
4969 * lib/m4sugar/m4sugar.m4: Likewise.
4970 Remove useless spaces in comments.
4972 2003-05-23 Akim Demaille <akim@epita.fr>
4974 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
4975 exit 63, so that we (or Automake's "missing") can tell the
4976 difference with a plain failure.
4977 * doc/autoconf.texi (Notices): Adjust.
4979 2003-05-23 Akim Demaille <akim@epita.fr>
4981 * Makefile.am, bin/Makefile.am, config/Makefile.am,
4982 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
4983 White spaces cleanup.
4985 2003-05-22 Jim Meyering <jim@meyering.net>
4986 Paul Eggert <eggert@twinsun.com>
4988 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4989 Remove `#include <stdlib.h>' from the list; we should never
4990 make confdefs.h include <stdlib.h> or <cstdlib>, because the
4991 resulting namespace pollution would cause other tests to fail.
4992 Configure scripts run with some older versions of g++ and HP's
4993 aCC would fail due to such an #include. Problems reported by
4994 Matthew Mueller in <http://bugs.debian.org/120704> and by
4996 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
4997 In the test, use the test declaration before including <stdlib.h>,
4998 as that's closer to how it'll be used.
5000 2003-05-23 Akim Demaille <akim@epita.fr>
5002 * doc/autoconf.texi (Header Portability): ucred.h.
5005 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5007 Overhaul Autotest's logging: generate separate log files
5008 in testsuite.dir/NNN/testsuite.log, and append them to
5009 testsuite.log instead of re-running the test verbosely.
5011 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
5012 file descriptor, write 0 to at_status_file instead of setting
5013 at_status=0, initialize some new variables (at_status_file,
5014 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
5015 to rerun the tests, instead append the at_group_log to the
5016 at_suite_log when a test fails.
5017 (AT_SETUP): pipe the test case's output into at_tee_pipe,
5018 with the AS_MESSAGE_LOG_FD redirected to stdout.
5019 (AT_CLEANUP): save the output status in $at_status_file
5020 and restore it, redirect the AS_MESSAGE_LOG_FD back to
5022 (AT_CHECK): since tests are run with a redirected stdout,
5023 and used to be re-run in verbose mode, turn some $at_verbose
5024 into echo, and don't redirect the output of testing stdout
5027 * lib/autotest/autoconf.texi (testsuite Scripts): Update
5028 the name of the debugging directory and information about
5031 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5033 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
5036 2003-05-22 Akim Demaille <akim@epita.fr>
5038 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
5039 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
5040 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
5041 * lib/autoconf/status.m4: Fix and adjust copyright notices.
5043 2003-05-22 Akim Demaille <akim@epita.fr>
5045 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
5046 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
5047 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5048 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
5049 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5050 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5051 * lib/autoconf/status.m4, lib/autoconf/types.m4,
5052 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
5053 * tests/atspecific.m4, tests/base.at, tests/compile.at,
5054 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
5055 * tests/tools.at, tests/torture.at:
5056 Whitespace clean up.
5057 Suggested by Jim Meyering.
5059 2003-05-22 Akim Demaille <akim@epita.fr>
5061 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
5062 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
5063 Reported by Jim Meyering.
5065 2003-05-22 Akim Demaille <akim@epita.fr>
5067 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
5068 Add AC_HELP_STRING to the obsolete macros section.
5070 Use '@.' for sentences that ended in a capital letter.
5073 2003-05-22 Akim Demaille <akim@epita.fr>
5075 * config/config.guess, config/config.sub, config/elisp-comp,
5076 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
5077 * config/texinfo.tex, doc/standards.texi: Update from masters.
5079 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
5081 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5084 2003-05-21 Akim Demaille <akim@epita.fr>
5086 * bin/autoupdate.in ($m4): Fix quotation.
5087 Reported by Martin Mokrejs.
5089 2003-05-19 Paul Eggert <eggert@twinsun.com>
5091 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5092 Remove non-ASCII characters.
5094 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
5096 * tests/semantics.at (AC_SEARCH_LIBS): New test.
5097 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5098 AC_CHECK_HEADERS_NEW): New tests.
5100 2003-05-17 Akim Demaille <akim@epita.fr>
5102 * lib/autoconf/functions.m4: Use the default includes so that
5103 memcmp be declared before being tested.
5104 Reported by Sander Niemeijer.
5105 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5106 * doc/autoconf.texi (Default Includes): Document
5107 AC_INCLUDES_DEFAULT.
5109 2003-05-17 Akim Demaille <akim@epita.fr>
5111 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5112 * doc/autoconf.texi (Obsolete Macros): Adjust.
5113 Reported by Werner LEMBERG and Debian Bug 190886.
5115 2003-05-16 Akim Demaille <akim@epita.fr>
5117 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5118 user name space clashes.
5119 Reported by Bruno Haible.
5121 2003-05-16 Akim Demaille <akim@epita.fr>
5123 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5124 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5125 them uniform, and more robust to Perl special characters.
5126 Reported by Martin Mokrejs.
5128 2003-05-14 Akim Demaille <akim@epita.fr>
5130 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5132 2003-05-14 Akim Demaille <akim@epita.fr>
5134 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5137 2003-05-12 Akim Demaille <akim@epita.fr>
5139 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5141 From Matthias Andree.
5143 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
5145 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5148 2003-05-06 Akim Demaille <akim@epita.fr>
5150 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5151 longer updates aclocal.m4 if useless, (ii) if a file m4_included
5152 by aclocal.m4 is changed it might require the importing of another
5153 m4 extension file, i.e., aclocal must be run.
5155 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5156 (&parse_args): Use --force with aclocal if required and supported.
5157 (&autoreconf_current_directory): Use &run_aclocal.
5159 2003-05-06 Akim Demaille <akim@epita.fr>
5161 Lock autom4te's cache.
5163 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5164 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5165 argument instead of a file name, so that the request file remains
5166 open during the whole autom4te run.
5167 ($icache_file): New.
5168 (&freeze): Lock the $icache_file.
5170 2003-04-29 Derek Price <derek@ximbiot.com>
5172 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5173 seperator with m4_append_uniq(). It doesn't work.
5174 (AT_CLEANUP): Add `;' to end of at_help_all.
5175 (AT_INIT): Allow --keywords to be specified more than once. When
5176 grepping $at_help_all for keywords, use the field and keyword
5177 seperators to ensure a complete keyword match. Alter at_prev handling
5178 to support the new --keywords behavior.
5180 2003-04-27 Karl Berry <karl@freefriends.org>
5182 * doc/autoconf.texi: Make the dir entries in the autoconf manual
5183 align better with others. I also made some of the individual
5184 entries on one line, for brevity and to make it easier for me to
5185 sort my dir-example file in the Texinfo distribution :).
5187 2003-04-12 Jim Meyering <jim@meyering.net>
5189 * NEWS: Mention the new macro.
5190 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5191 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5192 * tests/c.at: Test AC_C_RESTRICT.
5193 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5195 2003-04-08 Akim Demaille <akim@epita.fr>
5197 * bin/ifnames.in: Skip C++ comments.
5200 2003-04-08 Akim Demaille <akim@epita.fr>
5202 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5203 From Ilya Zakharevich.
5205 2003-04-08 Akim Demaille <akim@epita.fr>
5207 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5210 2003-04-01 Derek Price <derek@ximbiot.com>
5212 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5213 from Akim's checkin of 2003-03-29.
5215 2003-04-01 Derek Price <derek@ximbiot.com>
5217 * tests/torture.at (Configuring subdirectories): Add missing
5218 close-quote for Akim's change from 2003-03-28.
5220 2003-04-01 Akim Demaille <akim@epita.fr>
5222 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
5223 (AC, AT, MS): these.
5224 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5227 * doc/Makefile.am (CLEANFILES): Adjust.
5228 (TEXI2DVI): Make it --batch.
5230 2003-03-31 Derek Price <derek@ximbiot.com>
5232 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5233 which removed the main loop.
5234 Thanks to Akim Demaille.
5236 2003-03-29 Akim Demaille <akim@epita.fr>
5238 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5240 From Ilya Zakharevich.
5242 2003-03-29 Akim Demaille <akim@epita.fr>
5244 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5245 documentation to read is Autoconf's.
5246 Suggested by Paul Eggert.
5248 2003-03-28 Akim Demaille <akim@epita.fr>
5250 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5251 reading the section "Present But Cannot Be Compiled" when the
5252 header causes problems.
5254 2003-03-28 Akim Demaille <akim@epita.fr>
5256 * tests/torture.at (Configuring subdirectories): Require aclocal
5257 1.4, otherwise the test fails, as it does support configure.ac.
5258 This fixes the "test 40 failed" bug reports.
5260 2003-03-28 Akim Demaille <akim@epita.fr>
5262 * doc/autoconf.texi (C Compiler): `#line' portability.
5263 From Paul Eggert and Nelson H. F. Beebe.
5265 2003-03-27 Derek Price <derek@ximbiot.com>
5267 * lib/autotest/general.m4: Eliminate main loop and reorganize test
5268 layout in order to allow scripting around test groups.
5270 2003-03-27 Derek Price <derek@ximbiot.com>
5272 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5273 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5274 use new diversions in preparation for accepting new arguments and
5275 allowing scripting around tests.
5276 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5278 2003-03-26 Derek Price <derek@ximbiot.com>
5280 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5281 obsolete AC_HELP_STRING.
5282 (AC_HELP_STRING): AU_DEFUN to...
5283 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5284 * tests/m4sh.at (AS_HELP_STRING): New test.
5286 * tests/acgeneral.at: Regenerated.
5288 2003-03-26 Derek Price <derek@ximbiot.com>
5290 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5291 sense. Verbosify the diversion definitions comment.
5293 2003-03-26 Derek Price <derek@ximbiot.com>
5295 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5298 2003-03-21 Eric Siegerman <eric_97@pobox.com>
5300 * doc/autoconf.texi (Present But Cannot Be Compiled):
5301 Grammar fixes and minor rewording. (trivial change)
5303 2003-03-06 Paul Eggert <eggert@twinsun.com>
5305 Work around a problem noted by Nelson H. F. Beebe with coreutils
5306 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
5307 2002/05/09) rejects '#line 32768 "configure"' because the line
5309 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
5311 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
5312 * doc/autoconf.texi (Generating Sources): Document this.
5314 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
5316 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
5317 file name for the m4 program, when it has an "exe" file extension.
5318 DJGPP's error messages include the error code in brackets -
5319 remove the error code during normalization.
5321 2003-02-28 Akim Demaille <akim@epita.fr>
5323 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
5325 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
5327 * doc/autoconf.texi (Limitations of Make): Remove the section
5328 about `$<' in inference rules, it was a bogus interpretation of
5329 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
5330 Tru64 make in the "target lookup" section.
5331 (Automake): Automake 1.5+ no longer requires special tools to be
5332 present on the developer's host.
5334 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
5336 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
5337 to a shell that can handle redirection or quoting correctly.
5338 Override SHELL with the shell detected by configure.
5339 Use of $^O suggested by Tim van Holder.
5340 * bin/autom4te.in (BEGIN): Likewise.
5341 * bin/autoreconf.in (BEGIN): Likewise.
5342 * bin/autoscan.in (BEGIN): Likewise.
5343 * bin/autoupdate.in (BEGIN): Likewise.
5344 * bin/ifnames.in (BEGIN): Likewise.
5346 * bin/ifnames.in: Add final newline to help and version messages.
5348 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
5349 to cope with DOS-style absolute paths, when constructing
5352 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
5353 When constructing paths with IFS=:, quote the path. If we're
5354 constructing a DOS-style absolute path, we don't want to split it
5357 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
5360 2003-02-25 Pavel Roskin <proski@gnu.org>
5362 * bin/autoheader.in: Add missing newline when printing
5363 suggestion how change AC_DEFINE call.
5365 2003-02-24 Paul Eggert <eggert@twinsun.com>
5367 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
5368 2002-09-01 patch by replacing "test -n" with "test -z".
5369 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
5370 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
5372 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
5373 to fix a mismatch between example and discussion.
5375 2003-02-24 Kevin Ryde <user42@zip.com.au>
5377 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
5378 format starting with "-".
5380 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5382 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
5383 is not portable inside Makefile.
5385 2003-02-20 Akim Demaille <akim@epita.fr>
5387 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
5388 compiler says yeah, but preproc says nope, compiler is right.
5389 Conversely, prompt the reader to send a bug report to the
5390 maintainers of the package, not of Autoconf.
5392 2003-02-20 Klee Dienes <kdienes@apple.com>
5394 * bin/autoreconf.in (autoreconf_current_directory): Properly
5395 handle an empty aclocal.m4.
5397 2003-02-20 Akim Demaille <akim@epita.fr>
5399 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
5403 2002-12-23 Paul Eggert <eggert@twinsun.com>
5405 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
5406 innocuous variant befor including <limits.h> or <assert.h>. This
5407 works around a bug reported by Albert Chin: HP-UX 11i
5408 (and earlier versions) have a <limits.h> that declares
5409 gettimeofday and many other functions.
5411 2002-12-03 Paul Eggert <eggert@twinsun.com>
5415 * NEWS, configure.ac: Update version.
5417 * doc/fdl.texi: Upgrade to FDL version 1.2.
5419 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
5420 nontrivially in main's body, so that f's external declaration is
5421 not optimized away in AIX. This should fix the bug reported by
5423 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
5425 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
5426 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
5427 defined, to support freestanding compilers. This should fix the
5428 bug reported by Momchil Velkov in
5429 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
5431 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
5432 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
5433 obsolete AC_CHECK_TYPE. The missing empty arg was reported
5434 by Simon Josefsson in
5435 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
5437 * Makefile.maint (www-gnu): New macro.
5438 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
5439 the location has moved.
5441 2002-12-02 Martin Frydl <martin@systinet.com>
5443 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
5444 \(.*\) match is too long and there is something more to be checked.
5445 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
5447 2002-11-15 Akim Demaille <akim@epita.fr>
5451 * config/install-sh: chmod +x.
5453 * config/move-if-change: Indenting changes.
5454 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
5455 * configure.ac (AM_INIT_AUTOMAKE): here.
5458 2002-11-14 Akim Demaille <akim@epita.fr>
5462 * config/config.guess, config/config.sub, config/install-sh:
5463 Update from masters.
5465 2002-11-14 Akim Demaille <akim@epita.fr>
5467 * Makefile.maint: Sync with Bison, i.e.:
5468 (po-check): Scan .l and .y files instead of the
5469 .c and the .h files that they generate. This fixes the bug
5470 reported by Tim Van Holder in:
5471 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
5472 Look for N_ as well as for _. Try to avoid matching #define for
5476 2002-11-14 Akim Demaille <akim@epita.fr>
5478 * doc/autoconf.texi (C Compiler): Compiling several files at once.
5479 From Paul Eggert and Albert Chin-A-Young.
5481 2002-11-14 Akim Demaille <akim@epita.fr>
5483 * doc/autoconf.texi (C Compiler): Solitary backslashes.
5484 From Paul Eggert and Albert Chin-A-Young.
5486 2002-11-14 Kevin Ryde <user42@zip.com.au>
5488 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
5489 than assigning in main, to avoid HP cc +O3 optimizing it away.
5491 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
5493 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
5494 option. Process --recheck after parsing all options. Pass -q
5495 option to configure on --recheck.
5496 (AC_OUTPUT): Pass -q from configure to config.status.
5497 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
5498 arguments to record.
5499 * doc/autoconf.texi (config.status Invocation): Document
5500 config.status -q option.
5502 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
5504 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
5505 Makefile.in if Makefile.am exists.
5506 (output): Strip `.am' from Makefiles. Don't
5507 output AC_CONFIG_FILES if no Makefiles were found.
5509 2002-11-07 Akim Demaille <akim@epita.fr>
5511 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
5512 (local_updates): New.
5513 * Makefile.maint: Update, from CVS Bison.
5514 (local_updates): New.
5516 2002-11-06 Akim Demaille <akim@epita.fr>
5518 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
5519 declaration in extern "C" too.
5520 Reported by Roberto Bagnara.
5522 2002-11-06 Akim Demaille <akim@epita.fr>
5524 * tests/torture.at (Configuring subdirectories): Don't use grep
5526 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
5527 Reported by Ezra Peisach.
5529 2002-11-05 Akim Demaille <akim@epita.fr>
5531 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
5533 We _have_ to stop using the old compatibility scheme that tried to
5534 avoid useless backslashes because Libtool 1.4.3 contains a
5535 AC_DEFINE([error_t], [int],
5536 [Define to a type to use for \`error_t' if it is not
5537 otherwise available.])
5538 We _have_ to quote the single quote and backslashes with \. The
5539 old compatibility scheme saw that ` was backslashed, and therefore
5540 did not quote the single quote. Hence before this patch, Autoconf
5541 was not compatible with Libtool.
5543 2002-11-04 Paul Eggert <eggert@twinsun.com>
5545 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
5546 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
5547 LC_NAME, LC_PAPER, LC_TELEPHONE.
5548 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
5550 2002-11-04 Akim Demaille <akim@epita.fr>
5554 * Makefile.maint (update, cvs-update, po-update, do-po-update):
5556 * config/texinfo.tex: Update.
5558 2002-11-03 Akim Demaille <akim@epita.fr>
5560 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
5562 (&autoreconf): here.
5563 ($help, $make, &parse_args, &autoreconf_current_directory):
5565 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5567 2002-10-31 Bruno Haible <bruno@clisp.org>
5569 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
5570 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
5571 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
5572 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
5573 to ac_cv_func_realloc_0_nonnull.
5574 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
5576 2002-10-31 Akim Demaille <akim@epita.fr>
5578 The test suite was no longer checking for trailing envvars and files.
5580 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
5581 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
5583 2002-10-31 Akim Demaille <akim@epita.fr>
5585 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
5586 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
5587 Make variable, not a shell variable.
5588 Suggested by Bruno Haible.
5590 2002-10-31 Akim Demaille <akim@epita.fr>
5592 * bin/autom4te.in (load_configuration): Reject #args out of any
5595 2002-10-31 Akim Demaille <akim@epita.fr>
5597 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
5598 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
5599 (_AC_RUN_IFELSE): Use it.
5600 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
5601 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
5602 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
5605 2002-10-30 Akim Demaille <akim@epita.fr>
5607 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
5608 * doc/autoconf.texi (autom4te Invocation): Adjust.
5609 Suggested by Tim van Holder.
5611 2002-10-29 Paul Eggert <eggert@twinsun.com>
5613 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
5614 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
5615 Problem reported by Bruno Haible.
5617 2002-10-29 Akim Demaille <akim@epita.fr>
5619 * doc/autoconf.texi (Header Templates): Put also in words what the
5620 pictures says to assist free style readers.
5621 (Customizing autom4te): s/--cache=/--cache /.
5623 2002-10-29 Akim Demaille <akim@epita.fr>
5625 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
5627 sparc_address_test returns void.
5628 Use it with an argument, as prototyped.
5631 2002-10-29 Akim Demaille <akim@epita.fr>
5633 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
5634 configure.in, not configure.ac.
5635 Reported by Bruno Haible.
5637 2002-10-29 Akim Demaille <akim@epita.fr>
5639 * tests/torture.at (Deep Package): New test.
5640 (Configuring subdirectories): Don't use a testSubDir as Autotest
5643 2002-10-29 Akim Demaille <akim@epita.fr>
5645 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
5646 * doc/autoconf.texi (Invoking autom4te): Rename as...
5647 (autom4te Invocation): this, for consistency with the other nodes.
5649 2002-10-29 Akim Demaille <akim@epita.fr>
5651 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
5652 Reported by Ralf Corsepius.
5654 2002-10-29 Akim Demaille <akim@epita.fr>
5656 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5657 characters is a back as an `obsolete' warning now.
5658 Reported by Ralf Corsepius.
5660 2002-10-28 Akim Demaille <akim@epita.fr>
5662 * configure.ac: Bump to 2.54c.
5664 2002-10-28 Akim Demaille <akim@epita.fr>
5668 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
5670 2002-10-28 Akim Demaille <akim@epita.fr>
5672 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
5673 m4 executable names, and different GNU M4 version.
5674 Reported by Ezra Peisach and Paul Jarc.
5676 2002-10-27 Akim Demaille <akim@epita.fr>
5678 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
5681 2002-10-27 Akim Demaille <akim@epita.fr>
5683 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
5684 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
5685 Die when a simple Fortran program cannot be compiled.
5686 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
5687 Issue a warning if no function is given.
5689 2002-10-27 Akim Demaille <akim@epita.fr>
5691 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
5692 Move the documentation of AC_TRY_RUN to...
5693 (Obsolete Macros): here.
5694 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
5695 (autoconf Invocation): Remove the duplicates with `invoking
5697 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
5698 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5700 2002-10-27 Akim Demaille <akim@epita.fr>
5702 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
5703 and AC_LANG_FUNC_LINK_TRY.
5704 (Examining Libraries): Rename as...
5705 (Running the Linker): this.
5706 Document AC_LINK_IFELSE.
5707 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
5708 (Obsolete Macros): here.
5709 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
5710 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
5711 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
5712 * lib/autoconf/headers.m4 (AC_USG): Likewise.
5714 2002-10-27 Akim Demaille <akim@epita.fr>
5716 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
5718 More `check config.log' messages.
5720 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
5721 * doc/autoconf.texi (Printing Messages): Document it.
5722 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
5724 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
5725 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
5726 (_AC_COMPILER_OBJEXT): Likewise.
5727 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
5728 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
5730 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
5733 Deprecate macros with unusual interfaces.
5735 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
5736 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
5738 Document the new ones, and proper style.
5740 * doc/autoconf.texi (Generating Sources): New.
5741 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
5742 (Examining Declarations): Rename as...
5743 (Running the Preprocessor): this.
5744 Document AC_PREPROC_IFELSE.
5745 (Examining Syntax): Rename as...
5746 (Running the Compiler): this.
5747 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
5748 (Obsolete Macros): Move the definition of AC_TRY_CPP and
5749 AC_TRY_COMPILE here.
5751 2002-10-27 Akim Demaille <akim@epita.fr>
5753 Move sections around.
5755 * doc/autoconf.texi (Customizing autom4te): Remove a lost
5757 Reported by Burno Haible.
5758 (Language Choice): Now the first section of...
5759 (Writing Tests): this section.
5760 Make the introduction less C-centric.
5761 (Guidelines, Test Functions): Move to...
5762 (Writing Test Programs): this new section.
5763 (Test Programs): Merge into...
5766 2002-10-27 Akim Demaille <akim@epita.fr>
5768 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
5769 autom4te.in that resulted in the need for two `make' runs.
5771 2002-10-27 Akim Demaille <akim@epita.fr>
5773 * configure.ac: Bump to 2.54b.
5775 2002-10-25 Akim Demaille <akim@epita.fr>
5779 * Makefile.maint: Update from the Coreutils.
5780 (AMTAR): Remove, obsolete.
5781 (automake_repo): Update to redhat.com.
5783 Adjust to the fact that ansi2knr is now hosted by Automake.
5784 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
5785 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
5786 Update from masters.
5787 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
5788 autoscan.pre is not to be installed, and autoscan.list is not to
5790 (CLEANFILES): Add autoscan.list.
5791 (autoscan.list): Disable the cache.
5792 * bin/Makefile.am: Include freeze.mk.
5794 2002-10-25 Akim Demaille <akim@epita.fr>
5796 * bin/autom4te.in (&load_configuration): Take the file as
5798 (&parse_args): Handle -C, --cache.
5800 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
5801 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
5802 * doc/autoconf.texi (Invoking autom4te): Document --cache.
5803 Now a subsection of...
5804 (Using autom4te): This new section.
5805 (Customizing autom4te): New.
5806 (autom4te.cache): Adjust.
5808 2002-10-25 Akim Demaille <akim@epita.fr>
5810 * doc/autoconf.texi (Generic Headers): More information on how to
5811 use AC_CHECK_HEADERS.
5813 2002-10-25 Akim Demaille <akim@epita.fr>
5815 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
5818 2002-10-25 Akim Demaille <akim@epita.fr>
5820 * bin/autoscan.in (output): Output AC_PREREQ.
5821 (%needed_macros): Add AC_PREREQ so that configure.ac without one
5824 2002-10-23 Akim Demaille <akim@epita.fr>
5826 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
5829 2002-10-23 Akim Demaille <akim@epita.fr>
5831 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
5832 Reported by Peter Eisentraut.
5834 2002-10-23 Akim Demaille <akim@epita.fr>
5836 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
5839 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
5840 Eggert's recommandations.
5842 2002-10-22 Akim Demaille <akim@epita.fr>
5844 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
5845 Bison, by Paul Eggert.
5846 * doc/autoconf.texi (Particular Headers): Document it.
5848 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
5850 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
5851 `$ac_configure_args'.
5853 2002-10-22 Akim Demaille <akim@epita.fr>
5855 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
5856 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
5859 2002-10-22 Akim Demaille <akim@epita.fr>
5861 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
5863 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5864 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
5865 (_AC_CHECK_HEADER_NEW): Rename as...
5866 (AC_CHECK_HEADER): this.
5868 2002-10-22 Akim Demaille <akim@epita.fr>
5870 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
5871 words about HP-UX cmp: it was actually a user-written cmp.
5873 2002-10-22 Akim Demaille <akim@epita.fr>
5875 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
5877 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5878 Quote for Perl '' strings, not "".
5879 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
5882 2002-10-22 Akim Demaille <akim@epita.fr>
5884 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5885 characters is a syntax warning now.
5886 (_AS_QUOTE): Accept $2 as list of characters to quote.
5887 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5888 Quote for Perl, not sh.
5889 * bin/autoheader.in: When $debug, report the file which is
5891 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
5892 `@', to tickle Perl's lists.
5893 Reported by Carlos Velasco.
5895 2002-10-18 Akim Demaille <akim@epita.fr>
5897 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
5898 missing included files _are_ errors.
5899 Thanks to Alexandre Duret-Lutz.
5900 * tests/tools.at (autom4te cache): Adjust.
5901 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
5902 (AT_CHECK_M4SUGAR): Use it.
5903 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5905 * tests/tools.at (autom4te): Now it does exit 1.
5907 2002-10-17 Akim Demaille <akim@epita.fr>
5909 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
5910 Fixes the `AC_ARG_VAR' test failures.
5911 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
5912 * lib/freeze.mk (check-forbidden-patterns): New.
5913 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
5914 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
5915 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
5917 Reported months ago by H. Merijn Brand.
5919 2002-10-17 Akim Demaille <akim@epita.fr>
5921 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
5923 2002-10-16 Paul Eggert <eggert@twinsun.com>
5925 * Makefile.maint (wget_files): Remove ansi2knr.c.
5926 (ansi2knr.c-url_prefix): Remove.
5928 2002-10-16 Akim Demaille <akim@epita.fr>
5930 Because of caching, some files that no longer exist and are no
5931 longer required can still cause errors.
5932 Reported by Alexandre Duret-Lutz.
5934 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
5935 to frozen files in @ARGV, as @ARGV must remain being a list of
5936 files. Rather, at M4 call sites, use this...
5937 (&files_to_options): New function.
5938 (&freeze): Use &error.
5939 (&up_to_date): If a file that was included according to the cache
5940 is no longer there, then the output is out dated.
5941 (&main): Don't even check whether a file is up to date is anyway
5943 * tests/tools.at (autom4te cache): New.
5945 2002-10-16 Akim Demaille <akim@epita.fr>
5947 * bin/autoconf.as: Kill dead options.
5948 * bin/autoupdate.in (&parse_args): Kill old options.
5949 * bin/autoreconf.in (&parse_args): Remove dead options.
5951 (&autoreconf): Report the directories we enter *and leave*, so
5952 that error messages can be easily located, and use GNU Make
5953 format, so that Emacs' compile mode understands us.
5954 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
5955 if some file was changed instead of `print'.
5956 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
5957 (&parse_args): Remove the dead options.
5958 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
5959 autoheader's quiet mode.
5960 (AT_CHECK_AUTOUPDATE): Likewise.
5961 * tests/tools.at (autoupdate): Adjust.
5962 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5964 2002-10-11 Akim Demaille <akim@epita.fr>
5966 No longer use CPP to check for the existing of headers: use CC to
5967 check for compilability.
5969 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5970 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
5971 (_AC_CHECK_HEADER_NEW): Rename as...
5972 (AC_CHECK_HEADER): this.
5974 * lib/autotest/general.m4 (AT_INIT): Include the failed test
5975 numbers in the Subject suggestion.
5977 2002-10-11 Akim Demaille <akim@epita.fr>
5979 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
5980 Suggest using AC_CHECK_DECLS instead.
5982 2002-10-11 Akim Demaille <akim@epita.fr>
5984 * tests/torture.at (AC_ARG_VAR): Have configure report the value
5987 2002-10-11 Akim Demaille <akim@epita.fr>
5989 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
5990 file name to enable parallel executions.
5991 From Sam Varshavchik.
5993 2002-10-08 Akim Demaille <akim@epita.fr>
5995 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
5996 aclocal invocation, as Gettext macros might not be visible to
5998 Instead of blindly running autopoint, scan configure.ac (not the
5999 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
6000 Reported by Paul D. Smith.
6002 2002-10-08 Paul Eggert <eggert@twinsun.com>
6004 Work around problems found when POSIXLY_CORRECT=1 is set.
6005 None of this seems to have anything to do with POSIX, really,
6006 but it's how Perl getopt works.
6007 * bin/autom4te.in (parse_args): Configure GetOpt with
6009 * doc/autoconf.texi (Invoking autom4te):
6010 --warning -> --warnings.
6011 * lib/autom4te.in: --warning -> --warnings.
6013 2002-09-28 Akim Demaille <akim@epita.fr>
6015 * doc/autoconf.texi (autom4te.cache): New section.
6017 2002-09-28 Akim Demaille <akim@epita.fr>
6019 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
6020 (Automake-preselections): Update.
6021 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
6023 2002-09-28 Akim Demaille <akim@epita.fr>
6025 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
6026 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
6027 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6028 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
6030 2002-09-28 Akim Demaille <akim@epita.fr>
6032 * tests/torture.at (Configuring subdirectories): Be robust to
6033 users who use config.site to require for a cache: in this case,
6034 the two last configure runs, using two different sets of
6035 arguments, trigger a legitimate error.
6037 2002-09-28 Akim Demaille <akim@epita.fr>
6039 * tests/m4sh.at (Functions Support, Functions and return Support):
6042 2002-09-28 Akim Demaille <akim@epita.fr>
6044 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
6045 autoheader are Perl programs.
6046 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
6047 (autom4te): Specify that the sources are in the $srcdir.
6048 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6050 2002-09-28 Akim Demaille <akim@epita.fr>
6052 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
6053 (tm_zone): Move their rules to...
6054 * lib/autoconf/types.m4: here, using AN_ macros.
6055 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
6056 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
6057 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
6058 * lib/autoconf/programs.m4: here.
6059 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
6060 (ETAGS_FOR_AUTOCONF): New.
6063 2002-09-28 Akim Demaille <akim@epita.fr>
6065 * lib/autoconf/autoscan.m4: New file.
6066 * lib/autoconf/autoconf.m4: Include it.
6067 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
6068 that were listed in the original autoscan.list.
6069 * lib/autoconf/headers.m4: Similarly with headers.
6070 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
6071 (.m4.m4f): Don't pass --prepend-include, since that's done by
6072 tests/autom4te itself.
6073 * lib/autoscan/Makefile.am: Include freeze.mk.
6074 (autoscan.list): New target --this file is no longer a source.
6075 (autoscan.pre): New file.
6077 2002-09-28 Akim Demaille <akim@epita.fr>
6079 * bin/autoscan.in (@kinds): Make them singular.
6081 (&init_tables): When --debug, report the list of rules to ease
6082 tracking changes in autoscan.list.
6083 * lib/autoscan/autoscan.list (function): Strip comments, sort.
6085 2002-09-28 Akim Demaille <akim@epita.fr>
6087 * lib/autoscan/functions, lib/autoscan/headers,
6088 * lib/autoscan/identifiers, lib/autoscan/makevars,
6089 * lib/autoscan/programs: Merge into...
6090 * lib/autoscan/autoscan.list: this.
6091 * bin/autoscan.in (&init_tables): Adjust.
6093 2002-09-28 Akim Demaille <akim@epita.fr>
6095 * lib/autoscan/functions, lib/autoscan/headers,
6096 * lib/autoscan/identifiers, lib/autoscan/makevars,
6097 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6098 `functions' line is now prefixed with `function:'.
6099 * bin/autoscan.in (&init_tables): Adjust.
6101 2002-09-28 Akim Demaille <akim@epita.fr>
6103 From now on, autoscan files must always map a macro name to a
6104 word: there is no `default' macro for autoscan.
6106 * bin/autoscan.in (&init_tables): Reject entries with no macro at
6108 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6111 2002-09-28 Akim Demaille <akim@epita.fr>
6113 * bin/autoscan.in (%c_keywords): Remove.
6114 (&used): Keep only track of the words we might be interested in.
6115 (&output_kind): It is no longer needed to look for non active
6118 2002-09-27 Akim Demaille <akim@epita.fr>
6120 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6121 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6122 * lib/autoscan/functions: Adjust.
6123 * doc/autoconf.texi (Particular Functions): Adjust.
6125 2002-09-27 Akim Demaille <akim@epita.fr>
6127 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6129 Thanks to Bill Moseley and Paul Eggert.
6130 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6131 the tmpdir must be created.
6132 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6133 dir be in the build tree, instead of $TMPDIR.
6135 2002-09-27 Akim Demaille <akim@epita.fr>
6137 * bin/autoscan.in: Improve the comments.
6138 (&parse_args): Drop obsolete undocumented options.
6139 (&output_kind): Output warnings.
6140 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6141 (getwd): Trigger a warning.
6143 2002-09-26 Akim Demaille <akim@epita.fr>
6145 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6146 Reported by Ralf Corsepius.
6147 * doc/autoconf.texi (autoreconf Invocation): Likewise.
6149 2002-09-26 Akim Demaille <akim@epita.fr>
6151 Single suffix rules and seperated dependencies are not portable.
6153 * doc/autoconf.texi (Installation Directory Variables): Update.
6154 (Limitations of Make): Some about `Single Suffix Rules and
6155 Separated Dependencies'.
6156 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6157 (ifnames, autoscan, autom4te): Un-factor into several rules.
6159 2002-09-25 Paul Eggert <eggert@twinsun.com>
6161 * BUGS (Interoperability bugs): New section. Mention libtool
6162 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6164 2002-09-24 Paul Eggert <eggert@twinsun.com>
6166 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6167 make handles suffix-rules differently from GNU make.
6169 * bin/Makefile.am (SUFFIXES, .in): Remove.
6170 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6171 Move the body of the old .in rule here.
6173 2002-09-16 Akim Demaille <akim@epita.fr>
6175 i960 compilers create `b.out' files by default.
6176 Reported by Ralf Corsepius.
6178 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6179 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6181 2002-09-13 Paul Eggert <eggert@twinsun.com>
6183 * doc/autoconf.texi (Particular Headers): Remove obsolete
6184 reference to `struct timezone' in the description of
6187 2002-09-13 Akim Demaille <akim@epita.fr>
6191 * config/config.sub, config/config.guess: Update.
6192 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6193 * Makefile.am: Adjust.
6195 2002-09-13 Akim Demaille <akim@epita.fr>
6197 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6198 reading config.log when the compiler is rejected.
6199 Suggested by Guido Draheim.
6201 2002-09-13 Akim Demaille <akim@epita.fr>
6203 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6204 (chdir_init) might hang when stat'ing mounted directories.
6205 Reported by Vance Shipley.
6207 2002-09-12 Akim Demaille <akim@epita.fr>
6209 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6212 2002-09-12 Akim Demaille <akim@epita.fr>
6214 * doc/autoconf.texi (Defining Symbols): Present two different
6215 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6216 difference between 1 argument calls, and 2-3 argument calls.
6218 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
6220 * doc/autoconf.texi: Review grammar and punctuation.
6222 2002-09-11 Paul Eggert <eggert@twinsun.com>
6224 * doc/autoconf.texi: Fix minor formatting, spelling, and
6226 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6227 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6230 2002-09-11 Akim Demaille <akim@epita.fr>
6232 * doc/autoconf.texi (Questions): Rename as...
6234 (Defining Directories): New.
6236 2002-09-09 Akim Demaille <akim@epita.fr>
6238 * doc/autoconf.texi (Making testsuite Scripts): Update.
6239 Suggested by Nishio Futoshi.
6241 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
6243 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6244 plain `@' is wanted.
6246 2002-09-09 Akim Demaille <akim@epita.fr>
6248 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6249 `duplicates', since the algorithm was too naive and could keep
6250 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6251 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6252 Reported by Ralf Corsepius.
6253 * tests/torture.at (Configuring subdirectories): Exercise these
6256 2002-09-09 Akim Demaille <akim@epita.fr>
6258 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6259 looking for a replacement file.
6260 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6261 directory is relative.
6262 * doc/autoconf.texi (Generic Functions): Clarify the replacement
6263 directory definition.
6264 Reported by Andreas Schwab and Jim Meyering.
6266 2002-09-06 Akim Demaille <akim@epita.fr>
6268 * doc/autoconf.texi (Setting Output Variables): Clarify what
6269 precious variables are.
6270 Suggested by Pontus Skoeld.
6272 2002-09-05 Akim Demaille <akim@epita.fr>
6274 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6275 (ifnames, autoscan, autom4te): Since we don't only depend on
6276 configure.ac variables (such as VERSION etc.), but also on prefix
6277 and so forth, depend on Makefile, not configure.ac.
6278 Reported by Alexandre Duret-Lutz.
6279 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6281 2002-09-05 Kevin Ryde <user42@zip.com.au>
6283 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6284 doesn't seem to be confined to ia64, just say "some versions".
6286 2002-09-04 Akim Demaille <akim@epita.fr>
6288 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6290 * Makefile.am (maintainer-clean-local): Remove.
6291 (MAINTAINERCLEANFILES): Remove COPYING.
6293 2002-09-03 Paul Eggert <eggert@twinsun.com>
6295 * doc/autoconf.texi (Configuration Commands): Remove obsolete
6296 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
6299 2002-09-03 Akim Demaille <akim@epita.fr>
6301 * configure.ac: Bump to 2.53d.
6302 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6303 as of today, on Automake's team suggestion.
6305 2002-09-03 Akim Demaille <akim@epita.fr>
6309 2002-09-02 Akim Demaille <akim@epita.fr>
6311 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
6313 * configure.ac: Disable SITE_MACRO_DIR.
6315 2002-09-02 Jim Meyering <meyering@lucent.com>
6317 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
6318 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
6319 Also, tweak grammar: s/make sure to/be sure to/.
6321 2002-09-02 Paul Eggert <eggert@twinsun.com>
6323 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
6324 directory names are generally preferable to physical names.
6326 2002-09-02 Akim Demaille <akim@epita.fr>
6328 * lib/Autom4te/General.pm (&update_file): s/die/error/.
6329 Reported by Raja R. Harinath.
6330 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
6331 * bin/autoupdate.in: Use error instead of die.
6333 2002-09-01 Paul Eggert <eggert@twinsun.com>
6335 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
6336 ordinary shell concatenation rather than echo+tr+sed command that
6337 runs afoul of a long-line-related sed bug in Solaris 8.
6339 * bin/autoheader.in (parse_args): --warning -> --warnings.
6341 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
6342 stdout, as traditional "ls" does.
6343 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
6344 _AC_COMPILER_EXEEXT_O): Likewise.
6345 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
6347 * bin/autoconf.as: Add --prepend-include option. This patch was
6348 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
6349 but bin/autoconf.in is generated automatically from bin/autoconf.as.
6351 * bin/autoconf.in, configure: Regenerate.
6353 * doc/autoconf.texi (Special Shell Variables): Mention
6354 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
6356 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
6357 MAILPATH and set PS1, PS2, PS4 to default values, to work
6358 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
6359 For LC_ALL etc, first try to set to "C" as POSIX requires and as
6360 the Autoconf documentation specifies; fall back to "unset" only if
6361 this fails. Use a shell for-loop for this rather than an m4 loop,
6362 to shorten the output script.
6364 2002-08-30 Paul Eggert <eggert@twinsun.com>
6366 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
6367 1003.1-2001's requirements for CDPATH. Give a simpler workaround
6368 for the CDPATH problem. Document PWD.
6369 (Limitations of Builtins): Document the problem that "cd $foo" and
6370 "ls $foo" may refer to different directories in shells conforming
6371 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
6372 example, since the old example is now out of date.
6374 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
6375 FOO" and "ls FOO" talk about different directories; this catches
6376 problems when POSIX 1003.1-2001 "cd" fails due to symlink
6379 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
6380 of rolling our own unset.
6381 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
6382 in practice we needn't worry about CDPATH if unset doesn't work.
6384 * Makefile.in, aclocal.m4, bin/Makefile.in,
6385 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
6386 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
6387 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
6388 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
6389 tests/Makefile.in: Regenerate with Automake 1.6.3.
6391 * config/config.guess, config/config.sub, config/mkinstalldirs:
6394 * configure: Regenerate with self.
6396 2002-08-30 Kevin Ryde <user42@zip.com.au>
6398 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
6401 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6403 * bin/autom4te.in (Request::load): Correctly test for "do" read
6406 2002-08-29 Akim Demaille <akim@epita.fr>
6408 * lib/Autom4te/General.pm (&xqx): New.
6409 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
6410 hand, which is not portable.
6412 * bin/autom4te.in: Use them.
6413 Use &error instead of die.
6414 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6417 2002-08-17 Paul Eggert <eggert@twinsun.com>
6419 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
6420 default list of compilers to try, since it was long ago superseded
6421 by the ksh fc builtin. Suggested by Steven G. Johnson.
6423 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
6425 * doc/autoconf.texi (Invoking autom4te): End the option table,
6426 fixing a bug introduced by the previous patch.
6427 (Limitations of Make): Add a 'target lookup' subentry in the
6428 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
6430 2002-07-29 Mark D. Roth <roth@feep.net>
6432 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
6433 options and use $AUTOM4TE_PATH.
6434 * doc/autoconf.texi: Remove documentation of autom4te
6435 --include-envvar and --site-macro-subdir options and document
6436 use of $AUTOM4TE_PATH.
6437 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
6438 arguments from each language section.
6440 2002-07-29 Paul Eggert <eggert@twinsun.com>
6442 * doc/install.texi: Include copyright symbol in copyright notice.
6444 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
6446 (AM_MAKEINFOFLAGS): New macro.
6447 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
6448 * Makefile.am (INSTALL): Use the new macros.
6449 Use -o rather than --output, since "missing" does not grok --output.
6451 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6453 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
6454 comments do not always work. Never trust the exit status of
6457 2002-07-24 Kevin Ryde <user42@zip.com.au>
6459 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
6460 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
6462 2002-07-23 Paul Eggert <eggert@twinsun.com>
6464 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
6465 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
6466 apparently treats PATH="nonexistent" as if it contained ".".
6467 Bug reported by Stefan `Sec' Zehl.
6469 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6471 * doc/autoconf.texi (Limitations of Make): Mention the special
6472 handling of the obj/ directory by BSD make.
6474 2002-07-20 Kevin Ryde <user42@zip.com.au>
6476 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
6479 2002-07-19 Akim Demaille <akim@epita.fr>
6481 * doc/autoconf.texi (Function Portability): `exit'.
6482 (Programming in M4sh): Ethymology of M4sh.
6484 2002-07-19 Akim Demaille <akim@epita.fr>
6486 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
6488 2002-07-18 Akim Demaille <akim@epita.fr>
6492 2002-07-18 Akim Demaille <akim@epita.fr>
6494 * config/config.guess, config/config.sub: Update.
6496 2002-07-18 Akim Demaille <akim@epita.fr>
6498 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
6501 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
6502 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
6503 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
6505 2002-07-18 Akim Demaille <akim@epita.fr>,
6506 Alexandre Duret-Lutz <duret_g@epita.fr>
6508 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
6509 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
6511 2002-07-17 Russ Allbery <rra@stanford.edu>
6513 * doc/autoconf.texi (Initializing configure): Clarify the
6514 description of the tarname default.
6516 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
6518 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
6519 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
6522 2002-07-17 Akim Demaille <akim@epita.fr>
6524 * lib/Autom4te/General.pm (find_file): Browse the directories in
6525 the order they are given.
6527 2002-07-17 Akim Demaille <akim@epita.fr>
6529 * tests/wrapsh.as, tests/wrappl.as: Merge into...
6530 * tests/wrapper.as: this.
6531 * tests/Makefile.am, configure.ac: Adjust.
6533 2002-07-17 Mark D. Roth <roth@feep.net>
6535 * configure.ac: Add --enable-site-macro-dir option.
6536 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
6537 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
6538 --site-macro-subdir options.
6539 * bin/autoconf.in: Add --prepend-include option.
6540 * bin/autoheader.in: Add --prepend-include option.
6541 * bin/autoreconf.in: Add --prepend-include option.
6542 * bin/autoscan.in: Add --prepend-include option.
6543 * bin/autoupdate.in: Add --prepend-include option.
6544 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
6545 macro directory, remove note that include path directories are
6546 used in reverse order, and document --prepend-include option.
6547 * lib/autom4te.in: Use --prepend-include instead of --include.
6548 * tests/wrapsh.in: Use --prepend-include instead of --include.
6550 2002-07-17 Akim Demaille <akim@epita.fr>
6552 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
6554 * doc/autoconf.texi (Initializing configure): Adjust.
6556 2002-07-17 Akim Demaille <akim@epita.fr>
6558 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
6559 (_AC_FUNC_MALLOC): New.
6560 (AC_FUNC_MALLOC): Use the latter.
6561 Define HAVE_MALLOC to 0 if broken.
6562 * doc/autoconf.texi (Particular Functions): Adjust.
6564 2002-07-16 Akim Demaille <akim@epita.fr>
6566 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
6567 * doc/autoconf.texi (C Compiler): Adjust.
6569 2002-07-09 Akim Demaille <akim@epita.fr>
6571 * doc/autoconf.texi: Properly set the ``header'' part.
6573 2002-07-09 Akim Demaille <akim@epita.fr>
6575 * doc/autoconf.texi (Systemology): Some about Darwin.
6577 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6579 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6580 Don't use AC_REQUIRE in AU_DEFUN.
6582 2002-07-09 Art Haas <ahaas@neosoft.com>
6584 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
6586 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
6588 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6589 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
6590 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
6591 so that Emacs setups GNU style for perl-mode and cperl-mode.
6593 2002-06-27 Paul Eggert <eggert@twinsun.com>
6595 * config/install-sh: Quote $src. Prefer || to test's -o option,
6596 as per "Limitations of Builtins".
6597 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
6598 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6600 * tests/mktests.sh: Use grep instead of fgrep, as per
6601 "Limitations of Builtins".
6603 2002-06-15 Paul Eggert <eggert@twinsun.com>
6605 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
6606 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
6607 so that we consistently test the just-built programs.
6608 * tests/wrappl.as: Likewise.
6610 2002-06-12 Paul Eggert <eggert@twinsun.com>
6612 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
6613 name, so that symlinks to 'autoconf' work properly. Bug reported
6615 * bin/autoheader.in (AUTOM4TE): Likewise.
6616 * bin/autoreconf.in (autoconf, autoheader): Likewise.
6617 * bin/autoscan.in (autom4te): Likewise.
6618 * bin/autoupdate.in (autom4te): Likewise.
6620 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
6621 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
6624 2002-06-11 Andreas Schwab <schwab@suse.de>
6626 * doc/autoconf.texi: Add more dir entries.
6628 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
6630 * bin/autom4te.in ($cache): Don't define using `$me', the name
6631 of the cache should not depend on the name under which autom4te
6634 2002-06-07 Akim Demaille <akim@epita.fr>
6636 * tests/tools.at (autoconf: forbidden tokens, basic)
6637 (autoconf: forbidden tokens, exceptions): Adjust to the change of
6638 words in autom4te.in.
6640 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
6642 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
6643 _AC_LANG_PROGRAM_C_F77_HOOKS.
6645 2002-06-07 Akim Demaille <akim@epita.fr>
6647 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
6649 (AC_REPLACE_FNMATCH): this.
6650 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
6651 AC_FUNC_FNMATCH_GNU.
6653 2002-06-07 Akim Demaille <akim@epita.fr>
6655 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
6656 Rosetta Stone for Unix.
6658 2002-06-07 Akim Demaille <akim@epita.fr>
6660 * bin/autom4te.in (warn_forbidden): When rejecting a token,
6661 suggest m4_pattern_allow.
6662 Suggested by Adam J. Richter.
6664 2002-06-07 Akim Demaille <akim@epita.fr>
6666 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6667 ac_config_libobj_dir.
6668 (AC_CONFIG_LIBOBJ_DIR): New.
6669 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
6670 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
6671 Use ac_config_libobj_dir to find the replacement files.
6672 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
6673 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
6674 (AC_REPLACE_FNMATCH_GNU): these.
6675 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
6676 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
6677 * tests/mktests.sh (ac_exclude_list): Don't check
6678 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
6680 2002-06-06 Paul Eggert <eggert@twinsun.com>
6682 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
6685 * doc/autoconf.texi (Configuration Links): Likewise.
6686 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
6688 2002-06-05 Paul Eggert <eggert@twinsun.com>
6690 * config/config.guess, config/config.sub, config/texinfo.tex:
6691 Update from masters.
6693 2002-05-29 Paul Eggert <eggert@twinsun.com>
6695 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
6696 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6697 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
6699 * lib/autoconf/Makefile.am (check-local): Likewise.
6700 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
6701 * lib/autoconf/types.m4 (commentary only): Likewise.
6702 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
6703 * lib/autotest/Makefile.am (check-local): Likewise.
6704 * lib/m4sugar/Makefile.am (check-local): Likewise.
6705 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
6706 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
6708 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
6709 * doc/autoconf.texi (Particular Programs): Document them.
6710 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
6713 2002-05-27 Paul Eggert <eggert@twinsun.com>
6715 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
6716 * NEWS, doc/autoconf.texi (Particular Types): Document it.
6717 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
6718 instead of AC_MBSTATE_T, which never existed.
6720 2002-05-23 Akim Demaille <akim@epita.fr>
6722 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
6723 version of Autoconf that is discussed.
6725 2002-05-22 Paul Eggert <eggert@twinsun.com>
6727 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
6728 from the default list of compilers to try. Suggested by
6730 * NEWS: Document the above.
6731 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
6733 2002-05-17 Paul Eggert <eggert@twinsun.com>
6735 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
6736 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
6737 This improves on an earlier suggestion by H. Peter Anvin.
6739 2002-05-16 Paul Eggert <eggert@twinsun.com>
6741 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
6742 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
6743 Both macros now accept an optional source-dir arg.
6744 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
6746 * NEWS: Document this.
6747 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
6749 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
6750 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
6751 not for GNU extensions; this undoes part of the 2000-11-03 change,
6752 reverting to 2.13-compatible behavior.
6753 Add new optional argument DIR.
6754 (AC_FUNC_FNMATCH_GNU): New macro.
6756 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
6758 2002-05-08 Paul Eggert <eggert@twinsun.com>
6760 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
6761 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
6762 and it causes a 'test' syntax error if it fails.
6763 Bug reported by Stephen Gildea.
6765 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
6766 If prototypes are supported, use them to check this at compile-time,
6767 instead of trying to check it at run-time. If we must do a run-time
6768 check, assume that setvbuf is standard when cross-compiling, as
6769 nonstandard setvbuf occurs only on ancient and unlikely hosts.
6770 Bug reported by Paul D. Smith.
6772 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
6773 argument specifying location of getloadavg.c. This removes a
6774 FIXME. This idea was taken from Jim Meyering's implementation in
6776 * doc/autoconf.texi (Particular Functions): Document this.
6777 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
6778 that's what the code does; this fixes a bug reported by
6781 2002-05-03 Akim Demaille <akim@epita.fr>
6783 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
6784 autopoint instead of gettextize.
6785 ($uses_alocal): Rename as...
6786 ($uses_aclocal): this.
6787 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6788 Suggested by Bruno Haible.
6790 2002-05-03 Akim Demaille <akim@epita.fr>
6792 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
6794 2002-04-29 Paul Eggert <eggert@twinsun.com>
6796 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
6797 files to be 1 second older; just set them to be the same time.
6798 Also, sleep 1 second after the first aclocal, to work around
6799 problems with sub-second time stamps on the input files.
6801 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
6803 * doc/autoconf.texi: Mention "set -e -x" lossage
6804 under node "Limitations of Builtins".
6806 2002-04-29 Akim Demaille <akim@epita.fr>
6808 * doc/install.texi: Better wording for setting variables when
6810 From Christian Cornelssen.
6812 2002-04-29 Akim Demaille <akim@epita.fr>
6814 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
6815 of lack of $LINENO support, then the test will compare the $LINENO
6816 in testsuite vs. the lineno in the test file. This is wrong, of
6818 Be sure to protect it.
6819 Reported by Patrick Welche.
6821 2002-04-25 Akim Demaille <akim@epita.fr>
6823 * doc/autoconf.texi (Obsolete Macros): Typo.
6824 Reported by Vladimir Volovich.
6826 2002-04-25 Akim Demaille <akim@epita.fr>
6828 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
6829 than some of the input files, hence, on the second run of aclocal,
6830 if some of its input are younger, make them older.
6831 Suggested by Paul Eggert.
6833 2002-04-25 Akim Demaille <akim@epita.fr>
6835 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
6836 Thanks to Paul Eggert.
6838 2002-04-25 Akim Demaille <akim@epita.fr>
6840 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
6841 and ac_subst_vars be sh variables containing the list of
6842 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
6844 (_AC_INIT_PREPARE): Use them to log them.
6845 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
6846 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
6847 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
6848 _AC_SUBST_FILES and _AC_SUBST_VARS.
6849 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
6851 2002-04-24 Akim Demaille <akim@epita.fr>
6853 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
6854 autoheader, so that automake does not complain about a missing
6855 config.h.in that was to be created.
6857 2002-04-23 Akim Demaille <akim@epita.fr>
6859 * bin/autoheader.in (parse_args): --warning takes an argument.
6862 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
6864 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
6865 and bb.out when cleaning up.
6867 2002-04-22 Akim Demaille <akim@epita.fr>
6871 2002-04-22 Akim Demaille <akim@epita.fr>
6873 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
6875 2002-04-22 Akim Demaille <akim@epita.fr>
6877 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
6879 Reported by Gregory Giannoni.
6881 2002-04-22 Akim Demaille <akim@epita.fr>
6883 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
6884 Fixes false failures on Darwin.
6886 2002-04-21 Paul Eggert <eggert@twinsun.com>
6888 * TODO, bin/autoupdate.in, doc/autoconf.texi,
6889 lib/autoconf/general.m4, lib/autoconf/libs.m4,
6890 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
6891 tests/tools.at: Minor spelling and grammar fixes.
6893 2002-04-20 Paul Eggert <eggert@twinsun.com>
6895 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
6896 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
6897 * lib/autotest/general.m4 (AT_INIT): Likewise.
6898 * tests/atgeneral.m4 (AT_INIT): Likewise.
6900 2002-04-19 Paul Eggert <eggert@twinsun.com>
6902 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
6903 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
6904 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
6905 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6906 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
6907 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
6908 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
6909 Minor spelling and grammar fixes.
6911 * doc/autoconf.texi: Follow the outline suggested in the GNU
6912 Sample Texts sections of the Texinfo 4.2 manual. Most
6913 importantly, this makes sure that the copyright notices appear in
6914 all output formats. You probably need Texinfo 4.2 to generate
6917 Fix some bugs when using "$@" when there might be zero positional
6918 arguments in cases where this matters.
6920 * bin/autoconf.as: Rewrite so that the problem does not come up.
6921 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
6922 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
6923 * lib/autotest/general.m4 (AT_INIT): Likewise.
6925 * bin/autoheader.in: Use 'case' statement to work around problem.
6926 * bin/auto4mte.in: Likewise.
6927 * bin/autoreconf.in: Likewise.
6928 * bin/autoscan.in: Likewise.
6929 * bin/autoupdate.in: Likewise.
6930 * bin/ifnames.in: Likewise.
6932 * doc/autoconf.texi (Shell Substitutions): Document the problem.
6934 * lib/autotest/general.m4 (AT_INIT):
6935 Use Zsh alias to work around problem.
6936 * tests/atgeneral.m4 (AT_INIT): Likewise.
6938 * tests/c.at: We can't have zero arguments, so remove workaround
6939 that is not portable to Zsh.
6941 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
6943 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
6944 from aclocal.m4 too.
6946 2002-04-12 Akim Demaille <akim@epita.fr>
6948 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
6950 2002-04-10 Akim Demaille <akim@epita.fr>
6952 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
6953 workaround for ${1+"$@"}.
6954 * doc/autoconf.texi (Shell Substitutions): Explain it.
6955 From Oliver Kiddle and Peter Stephenson.
6957 Have M4sh perform minimal shell sanitizing.
6959 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
6961 (_AS_PREPARE): this new macro.
6963 (AS_INIT): Invoke AS_SHELL_SANITIZE.
6964 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
6966 Adjust Autoconf and Autotest.
6968 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
6969 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
6970 * lib/autotest/general.m4 (AT_INIT): Likewise.
6971 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
6972 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
6975 Use this M4sh to generate Autoconf's shell scripts.
6977 * tests/wrapsh.as: New, precursor of wrapsh.in.
6978 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
6979 on Autotest and M4sh.
6980 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
6981 (wrapsh.in): New target.
6982 * bin/autoconf.as: New, precursor of autoconf.in.
6983 (autoconf.in): New target.
6985 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6987 * doc/autoconf.texi (Limitations of Make): Mention the issue
6988 with indented comments in rules.
6990 2002-04-09 Andreas Schwab <schwab@suse.de>
6992 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
6993 ac_top_builddir when setting ac_abs_top_builddir.
6995 2002-04-06 Kevin Ryde <user42@zip.com.au>
6997 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
6998 (Portable Shell): Cross reference to Systemology.
7000 2002-04-05 Akim Demaille <akim@epita.fr>
7002 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
7003 directories when descending in a SUBDIRS.
7004 Reported by Ezra Peisach.
7006 2002-04-04 Andreas Schwab <schwab@suse.de>
7008 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
7009 contains no literal separators.
7011 2002-04-03 Akim Demaille <akim@epita.fr>
7013 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
7014 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
7015 Use dnl, not the KILL diversion.
7017 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
7018 (AC_CONFIG_LINKS): here.
7020 Don't use the KILL diversion, as it kills spurious output, which
7021 results in failures being hidden.
7022 Use m4_defn where appropriate.
7023 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
7024 after the second argument.
7026 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
7027 syntax, as it is provided by M4sugar.
7028 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
7030 2002-04-03 Andreas Schwab <schwab@suse.de>
7032 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
7033 expanded if $# <= 2.
7035 * bin/autoreconf.in (autoreconf): Run automake after rerunning
7038 2002-04-03 Akim Demaille <akim@epita.fr>
7040 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
7041 (_AC_COMPILER_EXEEXT_REJECT): New.
7042 Also recognize *.bb and *.bbg as compilation byproducts.
7043 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
7044 (_AC_COMPILER_OBJEXT): Use them.
7045 Fixes Debian #138666.
7047 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
7049 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
7051 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
7052 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
7053 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
7054 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
7056 (AC_C_INLINE): Same.
7057 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
7058 * doc/autoconf.texi, NEWS: Document.
7059 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
7062 2002-04-02 Akim Demaille <akim@epita.fr>
7064 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
7065 _AS_MKDIR_P_PREPARE.
7067 2002-03-28 Kevin Ryde <user42@zip.com.au>
7069 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
7070 to avoid versions of HP C which don't allow that.
7072 2002-03-27 Paul Eggert <eggert@twinsun.com>
7074 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
7075 (AS_SHELL_SANITIZE): Invoke it.
7076 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
7078 2002-03-26 Akim Demaille <akim@epita.fr>
7080 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
7082 2002-03-26 Akim Demaille <akim@epita.fr>
7084 * doc/autoconf.texi (Introduction): The GNATS base moved.
7086 2002-03-25 Paul Eggert <eggert@twinsun.com>
7088 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7089 as POSIX requires, as it doesn't work with Zsh.
7090 * doc/autoconf.texi (Assignments): Document the problem.
7092 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7094 * doc/autoconf.texi (Limitations of Make): Mention more issue
7095 about VPATH, overriding of macros in sub-makes, and handling of
7098 2002-03-21 Paul Eggert <eggert@twinsun.com>
7100 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7101 problem with here-document buffer boundaries.
7103 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7104 when reinvoking the shell, to work around problems with installers
7105 who put strange things like "cd" commands in their environments.
7107 2002-03-19 Akim Demaille <akim@epita.fr>
7109 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7112 2002-03-19 Akim Demaille <akim@epita.fr>
7114 * bin/autoscan.in (scan_file): Specify the location in `&used'
7118 2002-03-19 Akim Demaille <akim@epita.fr>
7120 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7121 From Nishio Futoshi.
7123 2002-03-19 Akim Demaille <akim@epita.fr>
7125 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7127 2002-03-18 Paul Eggert <eggert@twinsun.com>
7129 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7130 (Limitations of Usual Tools): Add mkdir section.
7132 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7133 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
7134 back on AS_DIRNAME to compute prefixes otherwise; this is
7135 roughly what mkinstalldirs does. That way, we need not have
7136 our own filename disassembler. The old disassembler did not
7137 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7139 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7140 Create at_test_all by a series of assignments,
7141 not by a single assignment of a long string. The latter causes ksh
7142 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7143 presumably because of a buffer overrun.
7145 2002-03-14 Paul Eggert <eggert@twinsun.com>
7147 * lib/autotest/general.m4 (at_times_skip):
7148 Renamed from at_times. Now a boolean.
7149 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7150 says 'times: not found'.
7152 2002-03-14 Akim Demaille <akim@epita.fr>
7154 * bin/autoreconf.in (&study_gettextize): New.
7155 (&autoreconf): Handle newest gettextize.
7156 Rerun aclocal if needed.
7157 Suggested by Andreas Schwab.
7159 2002-03-13 Akim Demaille <akim@epita.fr>
7161 * doc/autoconf.texi (Special Shell Variables): More about IFS.
7163 2002-03-13 Akim Demaille <akim@epita.fr>
7165 * doc/autoconf.texi (Header Portability): New.
7166 Add information about stdint.h and inttypes.h from Paul Eggert.
7168 2002-03-13 Akim Demaille <akim@epita.fr>
7170 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7174 2002-03-12 Akim Demaille <akim@epita.fr>
7176 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7179 2002-03-11 Andreas Schwab <schwab@suse.de>
7181 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7182 does not do it if --with-lispdir is given.
7184 2002-03-08 Akim Demaille <akim@epita.fr>
7188 2002-03-08 Akim Demaille <akim@epita.fr>
7190 * doc/autoconf.texi (Subdirectories): Clarify that the
7191 subdirectory should exist.
7193 2002-03-08 Akim Demaille <akim@epita.fr>
7195 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7197 2002-03-08 Akim Demaille <akim@epita.fr>
7199 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7200 aliases the actual variables, and modifications of the former
7203 2002-03-08 Akim Demaille <akim@epita.fr>
7205 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7206 because of C-c: have m4 output in tmp files, then mv them.
7208 2002-03-08 Akim Demaille <akim@epita.fr>
7210 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7211 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7212 * bin/ifnames.in: Copyright update.
7214 2002-03-08 Akim Demaille <akim@epita.fr>
7216 * doc/autoconf.texi (Invoking autom4te): New.
7218 2002-03-05 Akim Demaille <akim@epita.fr>
7220 * doc/autoconf.texi (Specifying Names): Clarification suggested by
7223 2002-03-05 Akim Demaille <akim@epita.fr>
7227 2002-03-04 Akim Demaille <akim@epita.fr>
7229 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7230 * lib/autoconf/general.m4 (AC_INIT): More informative error
7233 2002-03-04 Akim Demaille <akim@epita.fr>
7235 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7238 2002-03-04 Akim Demaille <akim@epita.fr>
7240 * doc/autoconf.texi (Transforming Names): Equality between target
7241 and host is irrelevant.
7242 (Specifying Names, Canonicalizing): Remove all references to the
7243 backward compatibility hooks. Rather, collect them all into...
7244 (Hosts and Cross-Compilation): this new section.
7245 * doc/install.texi (System Type): Ditto.
7246 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7247 that `--host' implies cross-compilation.
7249 2002-03-04 Akim Demaille <akim@epita.fr>
7251 * doc/autoconf.texi (Evaluation Macros): New.
7252 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7254 (_m4_foreach): Define the variant with immediate evaluation so
7255 that it contains exactly the items, not an expression which
7256 evaluation is the current item.
7257 (m4_re_string, m4_re_word): Don't over quote them.
7259 2002-03-04 Akim Demaille <akim@epita.fr>
7261 Instead of having stacking `shift's evaluated at the end, let
7262 `foreach' loops immediately evaluate them.
7264 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7265 $*. This is the n-th time I change my mind, but hopefully this is
7268 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7270 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7271 it was only a hack for m4_text_wrap.
7272 (m4_car2): Remove, replaced by...
7274 (_m4_foreach): Adjust.
7275 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7276 m4_bpatsubst for clarification.
7278 2002-03-04 Akim Demaille <akim@epita.fr>
7280 * doc/autoconf.texi (Changequote is Evil): New.
7282 2002-03-03 Kevin Ryde <user42@zip.com.au>
7284 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7285 on old systems like SunOS.
7287 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
7289 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7290 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7291 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7292 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7295 2002-02-28 Akim Demaille <akim@epita.fr>
7297 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7300 2002-02-28 Kevin Ryde <user42@zip.com.au>
7302 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
7304 2002-02-25 Akim Demaille <akim@epita.fr>
7306 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
7309 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
7311 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
7312 translate \r\n to \n.
7314 2002-02-07 Akim Demaille <akim@epita.fr>
7318 2002-02-07 Akim Demaille <akim@epita.fr>
7320 Fix Autoconf PR/209.
7321 Also reported by Frank Denis.
7323 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
7325 2002-02-07 Akim Demaille <akim@epita.fr>
7327 Fix Autoconf PR/207:
7328 AC_PREFIX_PROGRAM fails with dashed program names
7330 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
7331 variable when looking for the prefix program.
7332 Now it also works for shell variables.
7334 2002-02-07 Akim Demaille <akim@epita.fr>
7336 * doc/autoconf.texi (Limitations of Builtins): More about
7339 2002-02-06 Akim Demaille <akim@epita.fr>
7341 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
7342 case/esac, some shells don't support it.
7343 Reported by Zack Weinberg.
7344 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
7346 2002-02-06 Akim Demaille <akim@epita.fr>
7348 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
7349 sure not to introduce newlines in at_groups.
7350 * lib/autotest/Makefile.am (autotest.m4f): Typo.
7352 2002-02-06 Akim Demaille <akim@epita.fr>
7354 * tests/torture.at (Configuring subdirectories): Skip if aclocal
7357 2002-02-05 Paul Eggert <eggert@twinsun.com>
7359 * doc/autoconf.texi (Specific Compiler Characteristics):
7360 Describe HP-UX cc bug workaround more accurately.
7361 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
7363 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
7364 cross-compilers, too. This undoes some of the most recent change
7367 2002-02-05 Akim Demaille <akim@epita.fr>
7369 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
7370 to make sure they are up to date when `check' is run.
7372 2002-02-05 Akim Demaille <akim@epita.fr>
7374 * doc/autoconf.texi (Making testsuite Scripts): Document
7377 2002-02-05 Akim Demaille <akim@epita.fr>
7379 * lib/freeze.mk: New.
7381 2002-02-05 Akim Demaille <akim@epita.fr>
7383 Implement `autom4te --freeze'.
7385 * bin/autom4te.in (&freeze): New.
7386 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
7387 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
7389 2002-02-05 Akim Demaille <akim@epita.fr>
7391 * bin/autom4te.in (&parse_args): Implement `frozen files are
7392 optional are the sum of the previous files on the command line'.
7393 Also, pass `--reload-state=' on them, so...
7395 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
7396 (M4sh): Rely on M4sugar.
7397 (Autotest, M4sh, M4sugar): Use frozen files.
7399 2002-01-31 Akim Demaille <akim@epita.fr>
7401 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
7402 * doc/autoconf.texi (Initializing configure): Adjust.
7404 2002-01-30 Akim Demaille <akim@epita.fr>
7406 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
7407 alphanumeric to `-' instead of `_'.
7409 2002-01-30 Akim Demaille <akim@epita.fr>
7411 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
7412 for plain code, the other for cross-compilation code. The latter
7413 is now run with GCC only.
7414 * doc/autoconf.texi (Compilers and Preprocessors): New.
7416 2002-01-30 Akim Demaille <akim@epita.fr>
7418 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
7420 * doc/autoconf.texi (Initializing configure): Explain how to
7421 change AC_INIT default values.
7423 2002-01-29 Akim Demaille <akim@epita.fr>
7425 * tests/torture.at (Configuring subdirectories): Use configure.in,
7426 so that aclocal 1.4 works.
7427 Reported by Alexandre Duret-Lutz and Larry Schmitt.
7429 2002-01-28 Akim Demaille <akim@epita.fr>
7431 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
7434 2002-01-28 Akim Demaille <akim@epita.fr>
7436 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
7437 AUTOTEST_PATH *after* it was set.
7438 Don't put `.' in the PATH: the user should be precise and `./' if
7439 needed. In addition, given that the test suite does some `cd', if
7440 `.' is in the path, the `tested programs' sections will report
7441 programs found in the test suite's directory, while during the
7442 tests (performed in their own directory), these programs are no
7443 longer visible. In other words, the results is confusing and
7445 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
7447 2002-01-24 Akim Demaille <akim@epita.fr>
7451 2002-01-24 Akim Demaille <akim@epita.fr>
7453 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
7454 * doc/autoconf.texi: Finally add Akim as an author.
7456 2002-01-24 Akim Demaille <akim@epita.fr>
7458 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
7459 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
7460 Bourne. Use /bin/sh.
7461 From Andreas Buening.
7463 2002-01-24 Akim Demaille <akim@epita.fr>
7465 * config/config.guess, config/config.sub, config/texinfo.tex:
7466 Update from masters.
7468 2002-01-24 Akim Demaille <akim@epita.fr>
7470 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
7471 * config/auxdir.m4, config/cond.m4, config/depend.m4,
7472 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
7473 * config/missing.m4, config/sanity.m4, config/select.m4,
7474 * config/strip.m4: Remove, to ease sync'ing with any version of
7477 2002-01-24 Akim Demaille <akim@epita.fr>
7479 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
7480 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
7481 Reported by Geir Ove Myhr.
7483 2002-01-21 Akim Demaille <akim@epita.fr>
7485 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
7487 2002-01-21 Akim Demaille <akim@epita.fr>
7489 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
7490 message on invalid options.
7491 * bin/autom4te.in (parse_args): Don't use
7492 Autoconf::General::getopt with non valid options.
7494 2002-01-17 Jim Meyering <meyering@lucent.com>
7496 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
7497 $ac_cv_exeext so we don't use an old, invalid, cached value.
7499 2002-01-11 Akim Demaille <akim@epita.fr>
7501 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
7503 * doc/autoconf.texi (Function Portability): Document the strnlen
7505 (Particular Functions): Document AC_FUNC_STRNLEN.
7506 * lib/autoscan/functions: Adjust.
7508 2002-01-06 Akim Demaille <akim@epita.fr>
7510 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
7511 package.m4, since is really depends upon configure.ac, not
7513 * doc/autoconf.texi (testsuite Scripts): Adjust.
7514 * tests/Makefile.am (package.m4): New.
7515 EXTRA_DIST it since its a source.
7517 2002-01-06 Akim Demaille <akim@epita.fr>
7519 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
7520 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
7521 and PACKAGE_BUGREPORT from here...
7522 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
7524 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
7525 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
7526 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
7527 * tests/tools.at (autoheader): Adjust.
7528 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
7530 2002-01-06 Akim Demaille <akim@epita.fr>
7532 * bin/autoscan.in (scan_file): Use `&used'.
7534 2002-01-03 Akim Demaille <akim@epita.fr>
7536 * doc/autoconf.texi (Output): Improved wording regarding use of
7540 2001-12-18 Kevin Ryde <user42@zip.com.au>
7542 * doc/autoconf.texi (Function Portability): Add notes on sscanf
7543 sometimes needing writable input.
7545 2001-12-17 Jim Meyering <meyering@lucent.com>
7547 * doc/autoconf.texi (New Macros): Tweak wording.
7549 2001-12-14 Akim Demaille <akim@epita.fr>
7551 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
7552 trailing files, don't apply `-rf' to files which might not be
7553 created by configure (core, core.*, and *.core), but just `rm -f'.
7554 Suggested by Jonathan Kamens.
7556 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
7558 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
7560 2001-12-14 Akim Demaille <akim@epita.fr>
7562 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
7564 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
7566 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
7567 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
7568 abs_srcdir, top_srcpath to abs_top_srcdir.
7569 (_AC_OUTPUT_FILES): Adjust.
7570 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
7571 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
7572 * tests/wrappl.in, tests/wrapsh.in: Adjust.
7574 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
7576 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
7577 C/Fortran linking on HP/UX, by extracting the Fortran library
7578 search path from the LPATH line in the $F77 -v output.
7580 2001-12-12 Kevin Ryde <user42@zip.com.au>
7582 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
7583 forbidden file descriptors table.
7585 2001-11-26 Akim Demaille <akim@epita.fr>
7587 * bin/autoscan.in (%c_keywords): Build it at top level.
7588 Map to 1 in order to simplify its uses.
7590 2001-11-26 Akim Demaille <akim@epita.fr>
7592 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
7593 Remove $filepath, useless.
7594 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
7595 variables, they are really part of the tokens.
7596 Split the input line on spaces and then look for tokens.
7597 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
7598 because of `lex$U.$(OBJEXT)'.
7599 (&scan_files): Use "@list" instead of join.
7600 * doc/Makefile.am (CLEANFILES): Add *.fns.
7602 2001-11-26 Akim Demaille <akim@epita.fr>
7604 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
7605 Remove, replaced by...
7606 * tests/wrappl.in: Be common for all the Perl executables.
7607 In particular autoscan and autoheader want -I.
7608 * configure.ac: Adjust.
7609 * lib/autoscan/headers: errno.h is portable.
7611 2001-11-26 Akim Demaille <akim@epita.fr>
7613 * bin/autoscan.in (used): New.
7616 2001-11-26 Akim Demaille <akim@epita.fr>
7618 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
7620 (&scan_sh_file): Remove a duplicate pattern.
7621 (&check_configure_ac): Use long options.
7622 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
7624 2001-11-26 Akim Demaille <akim@epita.fr>
7626 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
7627 Before, having a line containing the opening of a multi line
7628 comment made the whole line be ignored.
7630 2001-11-26 Akim Demaille <akim@epita.fr>
7632 * doc/autoconf.texi (Using an Autotest Test Suite): New.
7633 (testsuite Scripts): Be one of its subsection.
7634 (Autotest Logs): New.
7636 2001-11-26 Akim Demaille <akim@epita.fr>
7638 Test groups are now run two directories deeper.
7640 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
7641 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
7643 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
7644 top_srcdir, builddir and top_builddir.
7645 Use `at_*dir' relatively to the directory containing the
7646 suite, use `*dir' when relatively to the current group dir.
7648 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
7650 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
7651 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
7652 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
7655 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7657 * doc/autoconf.texi (Using System Type): Add an example of `case
7658 $host' usage so people quit using `case $target' everywhere.
7660 2001-11-22 Akim Demaille <akim@epita.fr>
7662 * doc/autoconf.texi (Installation Directory Variables): Englishoes
7663 spotted by Jim Meyering.
7665 2001-11-16 Paul Eggert <eggert@twinsun.com>
7667 This patch implements a `long double' suggestion by Oliver Kiddle.
7669 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
7670 static, to catch errors if the value isn't known at compile-time
7671 and the compiler supports dynamic arrays. Change its name from
7672 `_array_' to `test_array' to avoid potential name clashes.
7673 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
7674 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
7675 better than double. Catch a bug in GCC 2.95.2 x86.
7676 * doc/autoconf.texi (C Compiler): Document the above.
7679 2001-11-13 Akim Demaille <akim@epita.fr>
7681 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
7683 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
7685 2001-11-13 Akim Demaille <akim@epita.fr>
7687 * lib/autotest/general.m4 (AT_INIT): After having run the test
7688 group, go back to the initial directory, not to at_suite_dir.
7690 2001-11-13 Akim Demaille <akim@epita.fr>
7692 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
7693 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
7694 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
7696 (AT_CHECK_CONFIGURE): Use absolute paths.
7697 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
7698 The problem is still the old one: there is no means in M4 (that I
7699 know about) to create a defining macro, because there is no means
7700 to create `$1' etc., therefore, the defining macro ``swallows''
7701 all the arguments meant to the defined macro.
7703 2001-11-13 Akim Demaille <akim@epita.fr>
7705 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
7706 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
7708 * tests/aclocal.m4: Remove, as it is no longer used.
7710 2001-11-13 Akim Demaille <akim@epita.fr>
7712 * lib/autotest/general.m4: Change `tests?' into `groups?' in
7713 variable names when referring to a single test group, or to
7714 `suite' when referring to the whole test suite.
7715 `at_last_test' is removed: m4 compute at_format itself.
7716 (at_stdout, at_stder1, at_stderr): New variables.
7717 (AT_CHECK): Use them.
7719 2001-11-13 Akim Demaille <akim@epita.fr>
7721 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
7723 Create `testsuite.dir/003/run' instead of `testsuite.003'.
7724 Do it as soon as a test fails, don't wait till the end of the test
7726 Don't remove $as_me.[0-9]*, since these files no longer exist.
7728 2001-11-13 Akim Demaille <akim@epita.fr>
7730 * tests/tools.at: Use absolute paths, since we are no longer run
7733 2001-11-13 Akim Demaille <akim@epita.fr>
7735 Now that tests are running in their own private dir, there is no
7736 need to list the files to remove at the end of tests groups.
7738 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
7739 (AT_data_files, at_data_files): Remove.
7740 (AT_CLEANUP, AT_DATA): Simplify.
7742 Remove the group dir if !debug && !failed.
7743 * tests/atspecific.m4: Adjust.
7745 2001-11-13 Akim Demaille <akim@epita.fr>
7747 Start a new layout for Autotest: `testsuite' creates
7748 `testsuite.dir' in which the at-check-line etc. files are to be
7749 found, and `testsuite.dir/003' where the test group 3 is run.
7751 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
7752 at_check_line_file, at_format, at_test_normalized, at_group_dir
7754 Create the directories.
7755 Use absolute paths for at- files.
7758 2001-11-11 Michael Matz <matz@kde.org>
7760 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
7762 (m4_car): Properly quote arguments.
7764 2001-11-13 Akim Demaille <akim@epita.fr>
7766 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
7767 with stricter rules on LIBOBJS.
7769 2001-11-12 Paul Eggert <eggert@twinsun.com>
7771 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
7772 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
7775 2001-11-12 Akim Demaille <akim@epita.fr>
7777 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
7779 2001-11-12 Akim Demaille <akim@epita.fr>
7781 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7782 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
7783 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7784 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7785 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
7786 specify to what the macro should be defined (typically to 1).
7788 2001-11-12 Akim Demaille <akim@epita.fr>
7790 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
7793 2001-11-12 Akim Demaille <akim@epita.fr>
7795 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7796 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
7797 definition used by Automake where LEX is +/- "${missing} lex" and
7798 `missing' itself contains variables.
7800 2001-11-12 Akim Demaille <akim@epita.fr>
7802 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
7803 Now that M4sh pushes BODY, the comments were output at the end of
7806 2001-11-08 Akim Demaille <akim@epita.fr>
7808 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
7809 that we can trace macros from aclocal.m4.
7810 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
7811 obsoleted, and redirect to the former anyway.
7812 Reported by Ralf Corsepius.
7814 2001-11-08 Akim Demaille <akim@epita.fr>
7816 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
7817 processed only if present.
7818 * tests/torture.at (Configuring subdirectories): Use autoreconf
7819 instead of successive calls to autoconf.
7820 Add a nonexistent subdirectory to exercise the patch above.
7821 Reported by Ralf Corsepius.
7823 2001-11-08 Kevin Ryde <user42@zip.com.au>
7825 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
7826 doesn't accept .S files.
7828 2001-11-07 Akim Demaille <akim@epita.fr>
7830 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
7831 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
7832 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
7833 * bin/autom4te.in (warn_forbidden): New.
7834 (handle_output): Use it.
7835 Read m4_pattern_forbid with messages.
7837 2001-11-05 Akim Demaille <akim@epita.fr>
7839 * bin/autom4te.in (--normalize): Remove.
7840 * lib/autom4te.in: Adjust.
7842 2001-11-05 Akim Demaille <akim@epita.fr>
7844 * tests/Makefile.am (testsuite): Rename this target as...
7845 ($(TESTSUITE)): this.
7848 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
7850 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
7851 the --prefix option, also remove it's argument.
7853 2001-11-05 Akim Demaille <akim@epita.fr>
7855 * doc/autoconf.texi (testsuite Invocation): Update.
7856 (Writing testsuite.at): Update.
7858 2001-11-03 Akim Demaille <akim@epita.fr>
7860 * doc/autoconf.texi: s/@code/@command/ where appropriate.
7862 2001-11-03 Akim Demaille <akim@epita.fr>
7864 * lib/Autom4te/General.pm: (&catfile, &canonfile)
7865 (&file_name_is_absolute): New, wrappers around routines from
7867 Use and export them.
7868 (&find_configure_ac): Optionally take a directory where to look at.
7869 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
7871 Default @ARGV to `.', not find_configure_ac.
7872 (&autoreconf): Argument is a directory.
7873 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
7874 * doc/autoconf.texi (autoreconf Invocation): Update.
7876 2001-11-03 Akim Demaille <akim@epita.fr>
7878 * lib/Autom4te/General.pm (@export_vars, @export_subs)
7879 (@export_forward_subs): New.
7880 Add basename, dirname, and fileparse.
7882 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
7883 Don't look for aclocal flags if we already know aclocal is not
7885 Move aclocal.m4t only if it exists.
7886 Reported by Ezra Peisach.
7888 2001-11-03 Akim Demaille <akim@epita.fr>
7890 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
7891 passed on command line, defaulting to ./configure.ac if present.
7892 (&maybe_autoreconf, File::Find): Remove, unused.
7893 (&autoreconf): If autoconf is not used, don't try to trace.
7895 2001-11-02 Akim Demaille <akim@epita.fr>
7897 * configure.ac: Bump to 2.52g.
7899 2001-11-02 Akim Demaille <akim@epita.fr>
7903 2001-11-02 Akim Demaille <akim@epita.fr>
7905 * config/config.guess, config/config.sub, doc/standards.texi:
7906 * config/lispdir.m4: Update from masters.
7907 * configure.ac: Bump to 2.52f.
7909 2001-11-02 Akim Demaille <akim@epita.fr>
7911 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
7912 Don't run aclocal when aclocal.m4 is not from aclocal.
7914 Don't run libtoolize and gettextize if --install is not given.
7916 2001-11-01 Paul Eggert <eggert@twinsun.com>
7918 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
7919 be invoked before _AS_LINENO_PREPARE.
7920 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
7921 than character ranges.
7923 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
7924 invoking AS_BASENAME. Set the locale variables to 'C' if
7925 possible, as POSIX requires this to get the traditional
7927 * doc/autoconf.texi (Special Shell Variables): Describe the above.
7929 2001-10-31 Paul Eggert <eggert@twinsun.com>
7931 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
7932 with {}, as that triggers a bug in Bash 2.05.
7934 (_AS_LINENO_PREPARE): Use Sed rather than
7935 Awk. Fix the sed prepass to work even if there are multiple
7936 instances of $LINENO on the same line. Do not substitute for
7937 other variables like $LINENOT. Do not check file dates; such a
7938 check is unreliable on sufficiently fast machines, and removing
7939 the check makes the code simpler and more reliable. Check for
7940 output and chmod failures.
7942 * doc/autoconf.texi (Special Shell Variables): Document
7945 2001-10-31 Akim Demaille <akim@epita.fr>
7947 * tests/Makefile.am (atconfig): Remove this target, Automake
7950 2001-10-31 Akim Demaille <akim@epita.fr>
7952 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
7953 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
7954 provided, while it is optional.
7955 * configure.ac: Adjust.
7957 2001-10-26 Paul Eggert <eggert@twinsun.com>
7959 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
7960 lib/Autom4te/Struct.pm:
7961 Require Perl 5.005_03 instead of just 5.005, as some tests fail
7964 * doc/autoconf.texi (Special Shell Variables): Document some
7965 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
7967 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
7968 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
7969 eval $LINENO is not portable in practice.
7971 2001-10-24 Akim Demaille <akim@epita.fr>
7973 * lib/Autom4te/General.pm (backname): New.
7975 2001-10-24 Akim Demaille <akim@epita.fr>
7977 * m4/: Remove, merged into...
7980 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
7982 * doc/autoconf.texi (Shellology): Mention the problems with bash
7983 2.05's use of ANSI quoting in its `set' builtin.
7985 2001-10-22 Paul Eggert <eggert@twinsun.com>
7987 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
7988 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
7989 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
7990 POSIX decided to standardize on the int flavor of strerror_r.
7991 Always do char* test, as there's no reason not to.
7992 Assign to a char* var, to catch strerror_r that returns int*.
7994 * doc/autoconf.texi (Particular Functions):
7995 Document the above changes. Also, document the fact that
7996 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
7998 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
8000 2001-10-20 Akim Demaille <akim@epita.fr>
8002 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
8003 the executable was missing from the log.
8005 2001-10-20 Akim Demaille <akim@epita.fr>
8007 * lib/Autom4te/General.pm (&update_file): If destination is
8008 unchanged, remove the source.
8009 (&up_to_date_p): Don't be verbose, be debug.
8010 * bin/autoreconf.in: No longer support --m4dir.
8011 (&autoreconf): Display the full path of the configure.ac we are
8014 Be sure to honor --force with gettextize.
8016 * doc/autoconf.texi: Adjust.
8018 2001-10-20 Akim Demaille <akim@epita.fr>
8020 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
8022 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
8023 `intl' is already present, as it refuses unless --force.
8024 (&parse_args): Use -I, --include instead of the old Autoconf
8026 ($localdir, $autoconf_dir): Remove.
8028 (&maybe_autoreconf): New, to preserve $_ for File::Find.
8030 2001-10-19 Jens Petersen <petersen@redhat.com>
8032 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
8033 * doc/autoconf.texi (Particular Programs): Likewise.
8035 2001-10-19 Akim Demaille <akim@epita.fr>
8037 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
8038 file in @configure_input@.
8039 Don't mention `automatically' in addition to `generated'.
8040 * tests/torture.at (#define header templates): Adjust.
8042 2001-10-19 Akim Demaille <akim@epita.fr>
8044 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
8045 comment, explain how to install automatic mode selection.
8048 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
8050 * bin/autoreconf.in (autoreconf): Display the path to the
8051 configure.ac being studied.
8053 2001-10-18 Paul Eggert <eggert@twinsun.com>
8055 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
8056 long, to work around a bug in the HP C compiler version HP92453-01
8059 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
8060 (AS_BASENAME_EXPR): New macro.
8061 (AS_BASENAME_SED): Do not assume GNU sed semantics.
8062 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
8063 and fall back on 'sed' only if the other two fail. This makes
8064 AS_BASENAME act more like AS_DIRNAME.
8065 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
8066 contains white space.
8067 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
8068 Use AS_DIRNAME, since I think it's now DOS-friendly.
8069 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
8070 Allow "dirname //FOO" to return either / or //, as POSIX allows
8073 2001-10-10 Akim Demaille <akim@epita.fr>
8075 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
8076 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
8079 2001-10-10 Akim Demaille <akim@epita.fr>
8081 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8083 (_AS_ECHO_N): AS_REQUIREs it.
8085 2001-10-10 Akim Demaille <akim@epita.fr>
8087 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8088 (AC_INCLUDES_DEFAULT): Move to...
8089 * lib/autoconf/headers.m4: here.
8090 * lib/autoconf/types.m4: Comment changes.
8091 * doc/autoconf.texi: Specify where the default includes are used
8092 in the macro prototypes.
8094 2001-10-09 Akim Demaille <akim@epita.fr>
8096 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8099 2001-10-08 Akim Demaille <akim@epita.fr>
8101 * bin/autoreconf.in (&autoreconf): Remove debugging code.
8102 (&parse_args): Pass verbosity/debugging options to subtools when
8103 --debug, not when --verbose.
8104 * lib/autom4te.in (Autoreconf-preselections): New.
8107 2001-10-08 Akim Demaille <akim@epita.fr>
8109 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8111 2001-10-08 Akim Demaille <akim@epita.fr>
8113 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8114 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8116 2001-10-08 Akim Demaille <akim@epita.fr>
8118 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8119 (Syntax of the shell scripts): Don't.
8120 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8121 bother with $force since...
8122 * lib/Autom4te/General.pm: does.
8124 2001-10-08 Akim Demaille <akim@epita.fr>
8126 * bin/autoreconf.in: Rewrite in Perl.
8127 * configure.ac: Adjust.
8128 * lib/Autom4te/General.pm (&up_to_date_p): New.
8129 * bin/autom4te.in (&up_to_date_p): Use it.
8131 (&up_to_date): this.
8133 2001-10-08 Akim Demaille <akim@epita.fr>
8135 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8136 (m4_list_cmp): Use $0 to reinvoke yourself.
8137 (m4_patsubsts): New.
8138 (m4_strip, m4_version_unletter): Use it.
8139 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8141 2001-10-08 Akim Demaille <akim@epita.fr>
8143 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8144 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8145 * lib/autoconf/types.m4, lib/autotest/general.m4,
8146 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8147 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8148 m4_bregexp, m4_bpatsubst, and m4_bmatch.
8149 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8151 2001-10-08 Akim Demaille <akim@epita.fr>
8153 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8155 2001-10-08 Akim Demaille <akim@epita.fr>
8157 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8158 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8159 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8160 * tests/tools.at, tests/m4sh.at: Use it.
8161 * tests/m4sh.at: Don't rely on Autoconf macros.
8162 (DIRNAME_TEST): Also exercise the expr variant.
8163 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8164 preferred M4sugar extension is now `.4s'.
8165 * tests/README: Remove.
8167 2001-10-08 Akim Demaille <akim@epita.fr>
8169 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8170 (m4_provide_if): this.
8171 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8172 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8173 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8174 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8176 2001-10-08 Akim Demaille <akim@epita.fr>
8178 Use `add-log-current-defun-function' for ChangeLog creation.
8179 Suggested by Tom Tromey.
8181 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8182 (autotest-mode): Adjust.
8183 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8184 'comment-region onto `C-c ;'.
8185 Comments are `#', not `dnl'.
8186 (autoconf-current-defun): New.
8187 (autoconf-font-lock-keywords): Recognize `m4_defun'.
8189 2001-10-08 Akim Demaille <akim@epita.fr>
8191 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8192 * lib/m4sugar/m4sh.m4: here.
8193 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8194 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8195 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8196 include handle the m4_pattern_*, no longer push the
8197 BODY diversion nor set the /bin/sh line, AS_INIT does it.
8198 * lib/autotest/general.m4 (AT_INIT): Likewise.
8199 * tests/base.at: Adjust the tests to use AS_INIT.
8200 * tests/tools.at (AT_DATA_FORBIDDEN): New.
8201 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8204 2001-10-07 Paul Eggert <eggert@twinsun.com>
8206 * doc/autoconf.texi (config.status Invocation):
8207 CONFIG_SHELL defaults to a shell that supports LINENO if available.
8209 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8210 shell does not support LINENO, and if CONFIG_SHELL is unset or
8211 empty, and if we can find a shell that does support LINENO,
8212 then set CONFIG_SHELL to that shell and then re-execute
8213 ourselves with CONFIG_SHELL.
8215 2001-10-05 Paul Eggert <eggert@twinsun.com>
8217 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8218 doesn't exist. Remove *.tmp, as a .tmp file is created during the
8219 build of $(TESTSUITE).
8221 2001-10-05 Akim Demaille <akim@epita.fr>
8223 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
8224 iff we are a bareword.
8225 Reported by Raja R Harinath.
8227 2001-10-05 Akim Demaille <akim@epita.fr>
8229 * tests/m4sh.at (LINENO): New.
8230 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8231 PATH_SEPARATOR before using it.
8232 Fix the absolute path case/esac pattern.
8233 Provide $0 as fallback for as_myself.
8234 Reported by Raja R Harinath.
8236 2001-10-05 Akim Demaille <akim@epita.fr>
8238 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8239 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8241 2001-10-05 Akim Demaille <akim@epita.fr>
8243 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8244 (AS_SHELL_SANITIZE): here. Use it.
8245 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8248 2001-10-04 Akim Demaille <akim@epita.fr>
8250 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8251 combination of Awk and sed to replace $LINENO.
8253 2001-10-02 Paul Eggert <eggert@twinsun.com>
8255 * doc/autoconf.texi (Limitations of Builtins): You can't use
8256 "source"; it's not portable. Remove confusing and
8257 somewhat-incorrect example involving "." and "/".
8259 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8260 compatibility with POSIX shells.
8262 2001-10-02 Akim Demaille <akim@epita.fr>
8264 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8265 instead of exec'ing to preserve $0 and $@.
8267 2001-10-01 Akim Demaille <akim@epita.fr>
8269 * tests/testsuite (AT_INIT) <at_pass_list>: New.
8270 Don't run twice the same test.
8272 2001-10-01 Akim Demaille <akim@epita.fr>
8274 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8275 No longer output the list of tests.
8276 <--list>: New option.
8277 <--full-help>: Remove.
8278 Complete the short/long options duality.
8279 Various small adjustments.
8281 2001-10-01 Akim Demaille <akim@epita.fr>
8283 * doc/autoconf.texi: Use @kbd for user input.
8284 Always use `$' as shell prompt.
8286 2001-09-30 Paul Eggert <eggert@twinsun.com>
8288 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8289 Don't use nested parenthesization. This patch was originally
8290 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8291 but somehow it didn't get incorporated then.
8292 * doc/autoconf.texi (Limitations of Usual Tools):
8293 Clarify remark about sed and nested parenthesization.
8295 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8296 Report an error if the size cannot be determined even though
8298 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8299 Check for `expr' arithmetic overflow, and for compilation failure,
8300 and invoke a new argument $4 if either is discovered.
8301 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8302 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
8304 2001-09-28 Akim Demaille <akim@epita.fr>
8306 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
8307 * m4/lispdir.m4: New.
8308 * aclocal.m4, configure.ac: Adjust.
8310 2001-09-28 Akim Demaille <akim@epita.fr>
8312 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
8314 (AT_INIT): More the wrapped section to where it will be expanded.
8315 Output `AT_tested' only when existing.
8316 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
8318 2001-09-27 Akim Demaille <akim@epita.fr>
8320 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
8321 generates too many bug reports.
8323 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
8324 status when executing the ACTION-IF-FALSE.
8325 * tests/base.at (AC_TRY_*): Rename as...
8326 (AC_TRY_COMMAND): this.
8327 (AC_RUN_IFELSE): New.
8328 * tests/compile.at (Extensions, C keywords)
8329 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
8330 (Broken/missing compilers, AC_PROG_CPP with warnings)
8331 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
8332 * tests/c.at (Extensions, C keywords)
8333 (Broken/missing compilers, AC_PROG_CPP with warnings)
8334 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
8335 (AC_PROG_CPP requires AC_PROG_CC): here and...
8336 * tests/fortran.at (GNU Fortran 77): there.
8337 * doc/autoconf.texi (autoconf Invocation): Fix the example:
8338 AC_TRY_RUN is about compilation, not shell commands.
8339 (Test Programs): AC_TRY_RUN works as used to be advertised.
8341 2001-09-27 Akim Demaille <akim@epita.fr>
8343 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
8345 Be sure to detect when $LINENO always returns the same value.
8346 Look for the original script, basename($0) is certainly not
8348 Pass the CLI arguments to `$as_me.lineno'.
8350 2001-09-25 Akim Demaille <akim@epita.fr>
8352 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
8353 Be sure the close and reopen the LOG fd before and after using tee
8355 <at_tests_pattern>: Adjust to the new format of at_help_all.
8357 2001-09-23 Akim Demaille <akim@epita.fr>
8359 * bin/autom4te.in (parse_args): There can be several invocations
8362 2001-09-23 Akim Demaille <akim@epita.fr>
8364 * doc/autoconf.texi (Top): Wrap in @ifnottex.
8366 2001-09-23 Akim Demaille <akim@epita.fr>
8368 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
8369 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
8370 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
8371 builddir, buildpath, top_builddir, and top_buildpath.
8372 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
8373 the current directory.
8374 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
8375 variables *before* changing the current directory.
8376 Skip nonexistent dirs.
8377 * doc/autoconf.texi (Preset Output Variables): Document these
8380 * lib/autotest/general.m4: Do not reset AT_victims.
8381 Don't compute at_srcdir nor at_top_srcdir.
8383 * tests/tools.at: Hence use top_srcdir.
8385 * tests/Makefile.am, tests/autoconf, tests/autoheader,
8386 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
8388 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
8389 * tests/wrapsh.in, tests/autoupdate.in: New.
8390 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
8391 * configure.ac: Build the position independent wrappers.
8393 * man/Makefile.am: Now that test wrappers are position
8394 independent, use them and drop dark envvar magic.
8396 2001-09-23 Akim Demaille <akim@epita.fr>
8398 * doc/autoconf.texi (Common Shell Constructs): Rename as...
8399 (Programming in M4sh): this.
8400 Promote to @section.
8402 2001-09-23 Akim Demaille <akim@epita.fr>
8404 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
8405 Pass $at_debug_args to the rerun test suite.
8406 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
8407 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
8410 2001-09-23 Akim Demaille <akim@epita.fr>
8412 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
8414 2001-09-23 Akim Demaille <akim@epita.fr>
8416 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
8419 2001-09-23 Akim Demaille <akim@epita.fr>
8421 * lib/Autom4te/General.pm (&debug): New.
8422 * bin/autom4te.in ($language): Move to...
8424 Handle --language in languages.
8425 * lib/autom4te.in (Automake-selections, Autoheader-selections)
8426 (Autoscan-selections): New.
8429 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
8431 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
8432 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
8433 to match current versions from CVS Automake.
8435 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
8437 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
8440 2001-09-22 Akim Demaille <akim@epita.fr>
8442 * lib/autoconf/autotest.m4: Create `package.m4'.
8443 * tests/Makefile.am (package.m4): Remove.
8445 2001-09-22 Akim Demaille <akim@epita.fr>
8447 Rely on `$LINENO' when possible instead of `__oline__'.
8449 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
8450 `$LINENO' support replacement when not supported.
8451 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
8452 them explicitly to be sure they are not output before this section
8453 (via m4_require). Cosmetic only.
8454 * lib/autoconf/c.m4, lib/autoconf/general.m4,
8455 * lib/autoconf/programs.m4: Replace all the occurrences of
8456 `__oline__' with `$LINENO'.
8457 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
8459 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
8461 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
8462 character (u: -> ue) in a code comment.
8463 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
8466 2001-09-21 Akim Demaille <akim@epita.fr>
8468 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
8469 Suggested by Jim Meyering.
8471 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8473 * lib/autoconf/programs.m4: Use extensions listed in
8474 $ac_executable_extensions when looking for programs.
8476 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8478 * lib/autoconf/general.m4: Fix a small Englisho.
8479 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
8480 setting up ac_dir_suffix and ac_top_builddir.
8481 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
8483 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8485 * doc/autoconf.texi (File System Conventions): Clarify the use of
8487 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
8488 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
8489 be used instead of ':'.
8490 * lib/autotest/general.m4: Replace occurrences of ':' in
8491 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
8493 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8495 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
8496 arguments. Fixed a typo.
8498 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8500 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
8501 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
8503 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8505 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
8506 * bin/autoupdate.in: Ditto.
8507 * bin/autoheader.in: Reworded a few comments.
8508 * bin/autoconf.in: Reworded help text for a few options.
8509 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8510 * bin/autoscan.in, bin/autoupdate.in: Ditto.
8512 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8514 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
8515 already have $file). Set output files to binary mode (helps avoid
8516 CR issues on DOSish systems).
8518 2001-09-19 Akim Demaille <akim@epita.fr>
8520 * lib/autotest/general.m4: Englishoes.
8521 From Tim Van Holder and Alexey Mahotkin.
8523 2001-09-18 Paul Eggert <eggert@twinsun.com>
8525 * doc/autoconf.texi (Common Shell Constructs): New node,
8526 documenting AS_DIRNAME.
8527 (Limitations of Usual Tools): Refer to it when discussing dirname.
8528 Also, update discussion of POSIX standard to reflect latest draft.
8530 * lib/autoconf/c.m4:
8531 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
8533 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8534 Do not pass a first argument with leading '-'
8535 to expr, by parenthesizing initial integers that might be negative.
8537 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
8538 now merely checks whether it is an error to pass an argument
8541 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
8542 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
8543 whether it is a (compile-time) error to pass an argument to
8544 getpgrp. This simpler test supports the revised documentation,
8545 and is all that AC_FUNC_GETPGRP's users really need.
8547 2001-09-18 Akim Demaille <akim@epita.fr>
8549 * doc/autoconf.texi (Limitations of Make) <$<>: New.
8551 2001-09-18 Akim Demaille <akim@epita.fr>
8553 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
8555 * lib/autotest/general.m4 (AT_INIT): Adjust.
8557 2001-09-18 Paul Wagland <paul@wagland.net>
8559 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
8561 Add test for AS_BASENAME.
8562 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
8563 added test. It now correctly handles /1/2/3/, returning '3' not ''.
8564 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
8565 * tests/base.at: Fixed the expected responses. The old ones were
8567 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
8568 the documentation claims it should (and how it behaved in 2.13).
8570 2001-09-18 Akim Demaille <akim@epita.fr>
8572 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
8573 the AC_CONFIG_COMMANDS invocation.
8574 This also solves the name clash problems.
8575 Don't set the package's ID.
8576 * lib/m4sugar/Makefile.am (version.m4): Revamp.
8577 No longer to be shipped.
8578 (version.in): Remove.
8579 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
8580 * lib/autoconf/status.m4: Adjust.
8581 Use `m4_PACKAGE_STRING'.
8582 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
8583 the only optional argument is the name of the test suite.
8584 Expect `package.m4' to define the package signature.
8585 * lib/autom4te.in (Autotest): Add `package.m4?'.
8586 * tests/Makefile.am (package.m4): New.
8587 * tests/suite.at: ifnames is a victim.
8589 2001-09-18 Akim Demaille <akim@epita.fr>
8591 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
8592 AC_LIBSOURCE, AC_CONFIG_FILES.
8593 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
8594 program version string doesn't match the package's.
8595 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
8598 2001-09-17 Paul Eggert <eggert@twinsun.com>
8600 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8601 Allow expression to return any value that can fit into unsigned long
8602 (not int, as before). Check for output errors.
8604 2001-09-17 Bruno Haible <haible@ilog.fr>
8606 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8607 Always include <stdio.h> and <stdlib.h>. Evaluate
8608 the expression in an extra function before these includes. Call
8609 fprintf "%d" only after ensuring the argument is of type 'int'.
8610 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
8612 2001-09-17 Paul Eggert <eggert@twinsun.com>
8614 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
8615 or CFLAGS=-O5. In that case, the linker has a relaxed view of
8616 fatal errors, and AC_CHECK_LIB causes it to include libraries even
8617 when they don't exist.
8619 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
8620 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
8623 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
8624 version with the version used by fileutils 4.1, except use
8625 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
8628 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
8630 2001-09-13 Akim Demaille <akim@epita.fr>
8632 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
8634 Reported by Gerrit P. Haase.
8636 2001-09-13 Akim Demaille <akim@epita.fr>
8638 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
8639 m4_defn'ing is valid.
8641 2001-09-13 Akim Demaille <akim@epita.fr>
8643 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
8644 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
8647 2001-09-13 Akim Demaille <akim@epita.fr>
8649 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
8651 (m4_re_escape): New.
8652 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
8653 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
8654 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
8656 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
8657 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
8658 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
8659 AT_tests_all for consistency.
8661 (AT_VICTIMS): Similar to AT_KEYWORDS.
8662 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
8664 2001-09-13 Akim Demaille <akim@epita.fr>
8666 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
8668 2001-09-13 Akim Demaille <akim@epita.fr>
8670 * lib/autotest/general.m4 (AT_INIT): Create and remove
8671 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
8672 test suites can cohabit.
8674 2001-09-13 Akim Demaille <akim@epita.fr>
8676 * tests/mktests.sh: Don't output banners for empty test files.
8678 2001-09-13 Akim Demaille <akim@epita.fr>
8680 Test suites can be run independently of configure.
8682 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
8683 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
8684 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
8686 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
8688 * lib/autotest/general.m4: Use ECHO_*.
8690 2001-09-13 Akim Demaille <akim@epita.fr>
8692 * bin/ifnames.in: Rewrite in Perl.
8693 * configure.ac: Don't look for AWK.
8694 * tests/tools.at (AWK portability): Remove.
8695 (Syntax of the shell scripts): Don't check ifnames.
8696 (AT_CHECK_PERL_SYNTAX): New.
8697 (Syntax of the Perl scripts): Check ifnames.
8698 * tests/ifnames: New.
8700 2001-09-13 Akim Demaille <akim@epita.fr>
8702 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
8704 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
8705 Remove all the other keywords.
8707 2001-09-10 Akim Demaille <akim@epita.fr>
8709 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
8710 SETUP: no longer used.
8711 Support -k, --keywords.
8712 <at_help>: Be `no', `short', or `long'.
8713 <at_help_all>: New variable.
8715 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
8716 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
8717 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
8718 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
8719 No longer fill the HELP diversion.
8720 (AT_CLEANUP): Use them.
8721 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
8722 (m4_list_append): Remove.
8724 Spread a few keywords in the Autoconf test suite.
8726 2001-09-10 Akim Demaille <akim@epita.fr>
8728 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
8729 PATH_SEPARATOR, let M4sh compute it.
8730 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
8731 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
8733 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
8734 Simplify when the path is not a literal.
8735 (AS_UNAME): Use it to report PATH.
8736 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
8737 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
8738 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
8739 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
8740 normalize the path, and to look for victims.
8741 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
8742 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
8744 2001-09-07 Akim Demaille <akim@epita.fr>
8746 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
8747 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
8748 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
8749 related variables into `at_package_*'.
8750 * lib/autotest/general.m4 (AT_VICTIMS): New.
8751 (AT_INIT): Adjust for stand-alone/embedded test suites.
8752 (AS_MESSAGE_LOG_FD): Define and use it.
8753 * tests/suite.at (AT_VICTIMS): Use it.
8754 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
8757 2001-09-07 Akim Demaille <akim@epita.fr>
8759 Move toward possibly stand-alone test suites.
8761 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
8762 in addition, it introduces useless differences in logs.
8763 (AT_INIT): Let atconfig and atlocal be both optional.
8764 Adjust PATH computation.
8765 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
8767 2001-09-07 Akim Demaille <akim@epita.fr>
8769 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
8772 2001-09-05 Akim Demaille <akim@epita.fr>
8774 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
8775 to avoid GCC warnings.
8778 2001-09-05 Akim Demaille <akim@epita.fr>
8780 * bin/autom4te.in: --language is -l, not -s.
8782 2001-09-05 Akim Demaille <akim@epita.fr>
8784 Be ready to handle filenames as stupid as `dnl.at', for if even
8785 the maintainer is dumb enough to do that...
8787 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
8788 excellence in M4 quotation: consider `__file__' is active.
8790 And BTW, when invoking m4, pass the --include in the right order:
8793 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
8796 2001-09-05 Akim Demaille <akim@epita.fr>
8798 * lib/Autom4te/XFile.pm: New lib file.
8799 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
8800 * bin/autoheader.in: Use it.
8802 2001-09-05 Akim Demaille <akim@epita.fr>
8804 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
8807 2001-09-05 Akim Demaille <akim@epita.fr>
8809 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
8810 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
8812 * bin/autoscan.in: Use `getopt' and `find_files' etc.
8813 Add -I, --include support.
8814 * doc/autoconf.texi (autoscan Invocation): Adjust.
8816 2001-09-05 Akim Demaille <akim@epita.fr>
8818 CVS GNU M4 doesn't like `undefine(undefined)'.
8820 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
8821 New, extracted from main.
8822 Use IO::File wherever possible.
8823 (input.m4): Be constant, use -I instead of hard coding $tmp.
8824 Therefore be a quoted heredoc.
8825 Don't invoke `_au_disable', since ac was not loaded, but just
8828 2001-08-31 Akim Demaille <akim@epita.fr>
8832 2001-08-31 Akim Demaille <akim@epita.fr>
8834 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
8836 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
8838 2001-08-31 Akim Demaille <akim@epita.fr>
8840 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
8841 serious problems handling heredocs in heredocs.
8842 Reported by Nicolas Joly.
8844 2001-08-31 Akim Demaille <akim@epita.fr>
8846 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
8847 (Making testsuite Scripts): Update.
8849 2001-08-31 Akim Demaille <akim@epita.fr>
8851 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
8853 2001-08-31 Akim Demaille <akim@epita.fr>
8855 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
8856 (testsuite Scripts): There is no such thing as `atconfig.in'.
8857 And actually one diagram is missing: test suite runtime.
8859 2001-08-31 Akim Demaille <akim@epita.fr>
8861 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
8864 2001-08-31 Akim Demaille <akim@epita.fr>
8866 * bin/autoupdate.in (@include): `installcheck' revealed the path
8867 to m4sugar was lacking!
8869 2001-08-31 Akim Demaille <akim@epita.fr>
8871 * man/Makefile.am (.x.1): We really have to pass
8872 autom4te_perllibdir.
8874 2001-08-31 Akim Demaille <akim@epita.fr>
8876 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
8877 debug scripts, in particular passing explicitly listed tests to
8880 2001-08-31 Akim Demaille <akim@epita.fr>
8882 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
8883 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
8884 Use directly autom4te, not autoconf.
8885 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
8887 2001-08-31 Akim Demaille <akim@epita.fr>
8889 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
8890 * bin/autoheader.in (%symbol): Strip arguments of macros.
8892 2001-08-31 Akim Demaille <akim@epita.fr>
8894 * doc/autoconf.texi: Catch up -I, --include changes.
8896 2001-08-31 Akim Demaille <akim@epita.fr>
8898 * bin/autom4te.in (&parse_args): Die on unknown languages.
8899 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
8901 Promote --include over --macrodir and other obsolete options.
8903 2001-08-31 Akim Demaille <akim@epita.fr>
8905 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
8906 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
8907 * bin/autom4te.in ($autoconf): Pass --force.
8908 `print $out' doesn't print `$_' but `$out'.
8909 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
8910 (autoheader): Pass --force since the test suite goes too fast for
8912 Adjust to the new autoheader messages.
8914 2001-08-31 Akim Demaille <akim@epita.fr>
8916 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
8917 Check the completeness of the #template.
8918 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
8919 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
8922 2001-08-31 Akim Demaille <akim@epita.fr>
8924 * lib/Autom4te/General.pm (&find_file, &update_file): New.
8925 * bin/autoupdate.in, bin/autoheader.in: Adjust.
8926 Drop AC_MACRODIR dead for real.
8927 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
8928 `autoheader: `config.hin' is created'.
8929 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
8931 2001-08-31 Akim Demaille <akim@epita.fr>
8933 * bin/autoheader.in: Rewrite in Perl.
8934 * tests/autoheader: Adjust.
8936 2001-08-31 Akim Demaille <akim@epita.fr>
8938 * bin/autoconf.in (--include, -I): New option.
8939 Map --localdir, --autoconf-dir onto it.
8940 Forward autom4te's options instead of interpreting them.
8941 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
8942 There is no such envvar since the inception of autom4te.cfg.
8943 * bin/autom4te.in (&parse_args): Uniquify `@include'.
8944 * bin/autoupdate.in: Adjust, and perform more control.
8945 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
8946 * tests/autoconf: Dittowise.
8948 2001-08-31 Akim Demaille <akim@epita.fr>
8950 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
8951 * bin/autom4te.in (&find_file): Support `FILE?' standing for
8953 Use -e, not -f, since /dev/null for instance is OK.
8954 (&parse_args): Adjust.
8955 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
8957 2001-08-31 Akim Demaille <akim@epita.fr>
8959 * configure.ac: Also find tested executables in bin.
8960 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
8961 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
8962 installed peer executables, only PATH is allowed to resolve it.
8963 Pass `autoconf_dir' via options, not via invisible envvars.
8964 * lib/Autom4te/General.pm (&find_peer): Remove.
8965 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
8966 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
8967 * man/Makefile.am: Let help2man rely on PATH instead of trying to
8968 find the executables for it.
8969 * tests/Makefile.am: Major cleanup. Too lazy to document...
8970 * tests/atlocal.in: Remove all the obscure envvar manipulations.
8972 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
8973 indeed related to running the test suite, while passing
8974 --autoconf-dir and others is related to running non installed
8975 Autoconf executables. So don't do that, leave it to...
8976 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
8977 * tests/autoscan: New.
8978 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
8979 refer to library files: rely on --language.
8981 2001-08-29 Akim Demaille <akim@epita.fr>
8983 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
8984 s/--set/--language/.
8986 2001-08-29 Akim Demaille <akim@epita.fr>
8988 * doc/autoconf.texi: Strip the @nodes.
8989 Suggested by Paul Eggert.
8990 (Initializing configure): Typo.
8992 2001-08-29 Akim Demaille <akim@epita.fr>
8994 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
8995 Suggested by Paul Eggert.
8997 2001-08-29 Akim Demaille <akim@epita.fr>
8999 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
9000 download in a tmp dir.
9002 2001-08-29 Akim Demaille <akim@epita.fr>
9004 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
9005 case insensitive OSes out there :(
9006 From Tim Van Holder.
9008 2001-08-29 Akim Demaille <akim@epita.fr>
9010 * lib/autom4te.in: New.
9011 * lib/Makefile.am (edit, autom4te.cfg): New.
9012 * bin/autom4te.in (BEGIN): Simplify.
9013 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
9014 (&load_configuration): New. Use it.
9015 (&parse_args): Support --mode, --set, and --melt.
9016 * bin/autoconf.in: Simplify and adjust.
9017 * tests/Makefile.am (AUTOMAKE): Use --set.
9018 * tests/atlocal.in: Adjust.
9019 * BUGS: distcheck and check are weak.
9021 2001-08-29 Akim Demaille <akim@epita.fr>
9023 * lib/autotest/general.m4: Use
9024 foo=`(command) 2>/dev/null`
9026 foo=`command` 2>/dev/null
9027 (at-devnull): Rename as...
9029 (--clean): Remove AT-* files too.
9030 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
9031 Reported by Nicolas Joly.
9033 2001-08-28 Akim Demaille <akim@epita.fr>
9035 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
9036 quotes inside single quotes.
9037 Reported by Nicolas Joly.
9039 2001-08-28 Kevin Ryde <user42@zip.com.au>
9041 * doc/autoconf.texi (Function Portability): Mention C right shifts.
9043 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
9045 * lib/autotest/general.m4: Reword some messages.
9046 (AT_INIT): Check for the `times' builtin before using it.
9047 Support test ranges as arguments to the testsuite.
9048 Have -e imply -d as the help text suggested.
9050 2001-08-27 Akim Demaille <akim@epita.fr>
9052 * Makefile.maint: Formatting changes.
9053 (do-po-update, po-update, cvs-update, update): New targets.
9056 2001-08-27 Akim Demaille <akim@epita.fr>
9058 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
9060 Pass it to debug-*.sh scripts.
9061 <AUTOTEST_PATH>: May contain absolute dir names.
9063 2001-08-27 Akim Demaille <akim@epita.fr>
9065 * lib/autotest/general.m4 (AT_INIT): Log the command line.
9066 Support `VAR=VAL' as arguments.
9067 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
9068 may be set via the command line.
9070 2001-08-27 Akim Demaille <akim@epita.fr>
9072 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
9073 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
9074 first the build dirs, then the src dirs.
9075 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
9077 2001-08-27 Akim Demaille <akim@epita.fr>
9079 * lib/autotest/general.m4 (AT_INIT): Output the definition of
9080 at_data_files earlier.
9081 (--clean, -c): New option.
9082 * tests/Makefile.am: Use this option.
9084 2001-08-27 Akim Demaille <akim@epita.fr>
9086 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9087 `ac_top_builddir' to mimic Automake's vocabulary, which much more
9090 * doc/autoconf.texi (Configuration Actions): Document the vars
9091 available in commands.
9092 Emphasize the risks of collisions in init-cmds.
9094 2001-08-27 Akim Demaille <akim@epita.fr>
9096 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9097 (Initializing configure): this new node.
9099 2001-08-27 Akim Demaille <akim@epita.fr>
9101 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9103 2001-08-27 Akim Demaille <akim@epita.fr>
9105 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9106 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9108 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9110 2001-08-27 Akim Demaille <akim@epita.fr>
9112 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9114 * lib/autoconf/autoheader.m4: this new file.
9115 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9116 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9118 * lib/autoconf/autoupdate.m4: this new file.
9120 2001-08-27 Akim Demaille <akim@epita.fr>
9122 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9123 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9124 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9126 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9127 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9129 2001-08-27 Akim Demaille <akim@epita.fr>
9131 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9132 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9133 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9134 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9135 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9136 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9137 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9138 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9139 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9140 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9141 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9142 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9143 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9144 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9145 (_AC_OUTPUT_SUBDIRS): Move to...
9146 * lib/autoconf/status.m4: this new file.
9147 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9148 * tests/Makefile.am, tests/suite.at: Adjust.
9150 2001-08-27 Akim Demaille <akim@epita.fr>
9154 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9155 (AMTAR): Help automake define it.
9156 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9157 needed, 1.5 can have a macro and a target with the same name.
9158 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9160 * m4/init.m4, m4/sanity.m4: Update.
9161 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9162 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9163 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9164 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9166 2001-08-27 Akim Demaille <akim@epita.fr>
9168 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9170 * lib/autoconf/version.in: Remove.
9171 * lib/m4sugar/version.in: New.
9172 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9174 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9175 the name of the directory they're in, instead of the filename,
9176 since version.m4 is now in m4sugar, but m4_acversion must not be
9177 classified as an Autoconf macro.
9178 ($input_m4): Don't qualify the path to m4sugar.
9179 Rather, pass autoconf_dir to m4.
9180 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9181 * tests/suite.at: Require 2.52c.
9183 2001-08-27 Akim Demaille <akim@epita.fr>
9185 testsuite.log should include config.log.
9187 * lib/autotest/autotest.m4: New.
9188 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9189 * tests/suite.at : Adjust.
9190 (AT_INIT): Log config.log.
9191 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9192 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9193 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9194 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9195 of config.log on traps.
9196 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9197 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9199 Open the log as soon as possible.
9200 Use the same log introduction as configure's.
9202 2001-08-22 Paul Eggert <eggert@twinsun.com>
9204 * doc/autoconf.texi (Indices): New node.
9205 Move indices out of the top level menu and into this submenu.
9207 2001-08-22 Akim Demaille <akim@epita.fr>
9209 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9211 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9213 2001-08-22 Akim Demaille <akim@epita.fr>
9215 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9216 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9217 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9218 * lib/autoconf/programs.m4: here.
9219 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
9220 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
9221 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
9222 * lib/autoconf/programs.m4: here.
9223 (_AC_DECL_YYTEXT): Rename as...
9224 (_AC_PROG_LEX_YYTEXT_DECL): this.
9225 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9226 * tests/Makefile.am, tests/suite.am: Adjust.
9228 2001-08-22 Akim Demaille <akim@epita.fr>
9230 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9232 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9234 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9235 * lib/autoconf/functions.m4: here.
9236 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9237 (AH_CHECK_LIB): Move to...
9238 * lib/autoconf/libs: this new file.
9239 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9240 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9241 * lib/autoconf/libs.m4: here.
9242 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9244 2001-08-22 Akim Demaille <akim@epita.fr>
9246 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9247 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9248 (AC_SITE_LOAD): Better logging of config.site.
9250 2001-08-20 Akim Demaille <akim@epita.fr>
9252 * configure.ac (AT_CONFIG): Fix the path.
9253 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9256 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
9258 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9259 program with AC_LANG_PROGRAM before feeding it to
9260 AC_COMPILE_IFELSE. Cleanup grep usage.
9262 2001-08-20 Akim Demaille <akim@epita.fr>
9264 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9265 * NEWS, README, README-alpha, TODO, tests/README: This package is
9266 `Autoconf', not `autoconf' (the executable).
9268 2001-08-20 Akim Demaille <akim@epita.fr>
9270 Info readers seem to need `Index' in the index node title :(
9272 * doc/autoconf.texi: Reverse the 2001-08-15 change which
9273 simplified index node names.
9275 2001-08-20 Akim Demaille <akim@epita.fr>
9277 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9278 arguments are not literals.
9279 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9280 Specify the output variables, and macros defined.
9282 2001-08-20 Akim Demaille <akim@epita.fr>
9284 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9285 (Examining Syntax) <AC_TRY_COMPILE>
9286 (Examining Libraries) <AC_TRY_LINK>
9287 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9289 Reported by Werner Lemberg.
9291 2001-08-20 Akim Demaille <akim@epita.fr>
9293 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9294 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9295 Load atlocal late enough to dump it in the log.
9296 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9298 2001-08-20 Akim Demaille <akim@epita.fr>
9300 * tests/torture.at (Configuring subdirectories): New test.
9301 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9303 * m4/atconfig.m4: Be sure the let $[0] be expandable.
9304 (top_srcdir): Fix its computation.
9306 2001-08-20 Akim Demaille <akim@epita.fr>
9308 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
9309 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
9311 Create `atconfig' automagically.
9312 Configure atlocal.in if present.
9313 * tests/atconfig.in: Remove.
9314 * tests/atlocal.in: New.
9315 * tests/Makefile.am: Adjust.
9317 2001-08-20 Akim Demaille <akim@epita.fr>
9319 Huh!?!?! There are still some user EOF tags used, which prevents
9320 their use in AC_CONFIG_COMMANDS for instance...
9322 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
9323 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
9324 `_CSEOF', or `_ATEOF', as appropriate.
9325 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
9326 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
9328 2001-08-20 Akim Demaille <akim@epita.fr>
9330 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
9331 * tests/semantics.at, tests/tools.at, tests/torture.at:
9332 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
9334 2001-08-20 Akim Demaille <akim@epita.fr>
9336 Autotest invokes M4sh's initialization.
9338 * lib/autotest/general.m4: Adjust the diversion names.
9339 (AT_INIT): Run AS_INIT.
9340 Use the BINSH diversion to invoke /bin/sh.
9341 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
9342 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
9344 2001-08-20 Akim Demaille <akim@epita.fr>
9346 Let M4sh have its own diversions.
9348 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
9349 (_m4_divert(NOTICE)): Rename as...
9350 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
9351 (_m4_divert(HEADER-COMMENT)): these.
9352 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
9353 (_m4_divert(NOTICE)): New, for Libtool.
9354 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
9355 long ago with `_m4_divert(GROW)'.
9356 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
9358 2001-08-20 Akim Demaille <akim@epita.fr>
9360 * tests/base.at, tests/compile.at, tests/foreign.at,
9361 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
9362 * tests/semantics.at, tests/suite.at, tests/tools.at,
9363 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
9365 2001-08-20 Akim Demaille <akim@epita.fr>
9367 * bin/autom4te.in (handle_output): Handle @__@.
9369 2001-08-20 Akim Demaille <akim@epita.fr>
9371 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
9372 * lib/autotest/general.m4: Adjust the license.
9374 2001-08-17 Paul Eggert <eggert@twinsun.com>
9376 * doc/autoconf.texi (Function Portability): Mention snprintf,
9377 following up on a suggestion by Kevin Ryde.
9379 2001-08-17 Akim Demaille <akim@epita.fr>
9381 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
9382 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
9384 2001-08-17 Akim Demaille <akim@epita.fr>
9386 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
9387 `$0.log' as for projects where testsuite is in src, we'd have
9388 testsuite.log created in src.
9390 2001-08-17 Akim Demaille <akim@epita.fr>
9392 * bin/autom4te.in (&parse_args): Recognize --normalize.
9394 2001-08-17 Akim Demaille <akim@epita.fr>
9396 Start implementing the AC_CHECK_HEADER transition scheme.
9398 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
9399 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
9400 (AC_CHECK_HEADER): Use them.
9402 2001-08-17 Akim Demaille <akim@epita.fr>
9404 * doc/autoconf.texi: Work around Texinfo buglets.
9405 (Transformation Rules): One example is enough, users are expected
9406 to have their brains on. And BTW, use DESTDIR.
9407 (dvar): New macro. Use it.
9409 2001-08-17 Akim Demaille <akim@epita.fr>
9411 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
9412 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
9413 looking for ChangeLogs.
9415 2001-08-17 Akim Demaille <akim@epita.fr>
9417 * bin/autom4te.in: --normalize is a new option.
9418 * bin/autoconf.in: Use it.
9420 2001-08-17 Akim Demaille <akim@epita.fr>
9422 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
9423 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
9425 2001-08-16 Paul Eggert <eggert@twinsun.com>
9427 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
9430 2001-08-15 Akim Demaille <akim@epita.fr>
9432 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
9435 2001-08-15 Akim Demaille <akim@epita.fr>
9437 * doc/autoconf.texi (pr): New index.
9438 (prindex, findex): Use, merge, and output them.
9439 (Environment Variable Index, Output Variable Index)
9440 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
9441 (Autotest Macro Index): Rename as...
9442 (Environment Variables, Output Variables,Preprocessor Symbols)
9443 (Autoconf Macros, M4 Macros, Autotest Macros): these.
9444 * doc/install.texi: Use @command.
9445 (Environment Variables): Rename as...
9446 (Defining Variables): this.
9448 2001-08-15 Akim Demaille <akim@epita.fr>
9450 * doc/autoconf.texi (Function Portability): sprintf's return
9454 2001-08-15 Akim Demaille <akim@epita.fr>
9456 * Makefile.maint (CVS): New.
9457 (local-check): Run changelog-check. last.
9458 (alpha): Don't depend upon local-check, since...
9459 (cvs-dist): depends upon it.
9461 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
9463 * tests/Makefile.am: Use a clean-local rule to remove
9464 autom4te.cache (it's a directory, not a file.
9465 * Makefile.am: Ditto (but maintainer-clean-local).
9467 2001-08-15 Akim Demaille <akim@epita.fr>
9469 * bin/autom4te.in (@m4_warning): New.
9470 (&handle_m4): Use it.
9471 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
9472 warnings are issued at each run.
9473 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
9476 2001-08-15 Akim Demaille <akim@epita.fr>
9478 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
9479 don't waste time running `autoupdate --version' works.
9480 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
9482 2001-08-13 Akim Demaille <akim@epita.fr>
9484 * doc/autoconf.texi (ma): Rename this index as...
9487 2001-08-13 Akim Demaille <akim@epita.fr>
9489 * Makefile.am: Remove dead code and dead comments.
9490 (pdf, html): New targets.
9491 * doc/autoconf.texi (Using Autotest): New chapter.
9492 * doc/Makefile.am (pdf): New targets.
9493 (CLEANFILES): Adjust.
9495 2001-08-13 Akim Demaille <akim@epita.fr>
9497 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
9498 duration of the test suite.
9500 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9502 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
9503 endianness for comparison instead of relying on AT_CHECK_ENV.
9505 2001-08-11 Paul Eggert <eggert@twinsun.com>
9507 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
9508 to the INSTALL file.
9510 2001-08-11 Paul Eggert <eggert@twinsun.com>
9512 * NEWS: The autoconf manual now is distributed under the terms
9513 of the GNU Free Documentation License.
9515 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
9516 Add an appendix "Copying This Manual" for the FDL.
9518 * doc/fdl.texi: New file, from
9519 <http://www.gnu.org/licenses/fdl.texi>.
9521 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
9523 2001-08-10 Paul Eggert <eggert@twinsun.com>
9525 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
9526 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
9527 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
9528 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
9529 m4/sanity.m4, tests/README, tests/aclocal.m4,
9530 tests/atspecific.m4, tests/base.at, tests/compile.at,
9531 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
9532 tests/semantics.at, tests/suite.at, tests/tools.at,
9533 tests/torture.at: Add copyright notice.
9535 * tests/mktests.sh: Update year in copyright notice.
9537 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9539 * tests/semantics.at (AC_C_BIGENDIAN): New test.
9541 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9543 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
9544 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
9545 * doc/autoconf.texi (C Compiler Characteristics): Update
9546 documentation for AC_C_BIGENDIAN.
9548 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9550 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
9551 magic values from an object file when cross-compiling.
9552 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
9554 2001-08-10 Akim Demaille <akim@epita.fr>
9556 * bin/autom4te.in (&handle_output): Don't use `grep' with side
9558 Suggested by Russ Allbery.
9560 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9562 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
9563 current $prefix to the sub-configures.
9565 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
9567 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
9568 extension (needed on BeOS). Reported by Guido van Rossum.
9570 2001-08-09 Akim Demaille <akim@epita.fr>
9572 * bin/autom4te.in ($icache): Load it only if older than autom4te.
9574 2001-08-07 Akim Demaille <akim@epita.fr>
9576 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
9578 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
9579 No need to remove the files before and after the each test, before
9580 each test and at the end of the suite is enough.
9581 Display only the children `times', not the shell's.
9582 If the test failed or was skipped, at-times is not available.
9584 2001-08-07 Akim Demaille <akim@epita.fr>
9586 Always produce testsuite.log, including when there are no
9587 failures. This helps getting information on skipped tests, and
9588 duration of the tests. Err, implement the latter btw.
9590 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
9591 Dump information on the first run of each test.
9592 (AT_CLEANUP): Create `at-times' containing the duration of the
9595 2001-08-07 Akim Demaille <akim@epita.fr>
9597 The use of `dumpstat' revealed that `len' was used although it
9598 should not. m4_text_wrap was using it, but in the Autoconf world
9599 where it is legal. Hence (i) test M4sh in its own world, not
9600 Autoconf's, and (ii), ahem, fix the bug :)
9602 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
9603 does not like `' instead of [].
9604 (AT_INIT): Forbid `^_?AT_'.
9605 And don't output such tokens.
9606 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
9607 `script.as', and `autom4te.cache'.
9608 Remove `empty' and `macro' which are no longer used.
9609 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
9610 * tests/m4sugar.at: Use it.
9611 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
9613 2001-08-07 Akim Demaille <akim@epita.fr>
9615 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
9617 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
9619 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
9621 2001-08-04 Akim Demaille <akim@epita.fr>
9623 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
9624 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
9626 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
9627 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
9628 (AC_F77_MAIN): Likewise.
9630 2001-08-04 Akim Demaille <akim@epita.fr>
9632 Don't rely on M4sugar outputting the patterns in files, since we
9633 might process the output _without_ running m4, hence without these
9636 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
9637 * bin/autom4te.in (@Request::includes): Remove, unused.
9638 (@Request::source): Rename as...
9639 (@Request::input): this.
9640 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
9641 (&handle_output): Fetch the patterns from the traces.
9642 `$forbidden' and `$allowed' are constant: use m//o.
9643 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
9644 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
9646 2001-08-04 Akim Demaille <akim@epita.fr>
9648 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
9649 autoconf', i.e., in addition to caching traces, cache the output.
9651 * bin/autom4te.in (Request::cache): Rename as...
9652 (Request::id): this.
9653 ($cache, $icache, $tcache, $ocache): New.
9654 (&handle_m4): Save M4 output in the cache instead of $tmp.
9655 (&handle_output): Adjust.
9656 (&up_to_date_p): Check that the output cache is up to date too.
9657 (top level): Run `&handle_m4' iff force or the cache is invalid.
9658 Run `&handle_output' if the output cache is more recent.
9660 2001-08-04 Akim Demaille <akim@epita.fr>
9662 * bin/autom4te.in ($force): New.
9663 (&parse_args, &print_usage): -f, --force is a new option.
9664 (&handle_output): CPP directives might have spaces after `#'.
9665 (&parse_args): The first file only can be frozen.
9667 2001-08-04 Akim Demaille <akim@epita.fr>
9669 Don't let autom4te compute the `include' traces several times:
9670 first check that the trace cache file is up to date, and then
9671 compare its timestamp with that of the output.
9673 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
9674 the preamble. Don't require 5.005 as Autom4te::General does it,
9675 and better yet (use `use', not `require'!).
9676 * lib/Autom4te/Struct.pm: Rename the last occurrences of
9677 Class::Struct as Autom4te::Struct.
9678 * lib/Autom4te/General.pm (File::stat): Use it.
9679 (&mtime): New, export it.
9680 * bin/autom4te.in: Use it.
9681 Declare `$req' is invalid if it is outdated.
9682 Don't declare it valid before saving it if something went wrong.
9684 2001-08-04 Akim Demaille <akim@epita.fr>
9686 Autom4te shall not encode Autoconf data, and preselecting traces
9687 must be proposed to the users.
9689 * bin/autom4te.in (@required_trace): Remove.
9691 (&parse_args, &print_usage): -p, --preselect is a new option.
9692 (&up_to_date_p): Adjust.
9693 * bin/autoconf.in: Preselect some Autoconf macros.
9695 2001-08-04 Akim Demaille <akim@epita.fr>
9697 * tests/tools.at (autoconf --trace: user macros): Check traces on
9698 macros invoked without arguments, and macros invoked with multiple
9701 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
9703 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
9706 2001-08-03 Akim Demaille <akim@epita.fr>
9708 * bin/autoconf.in ($@): Work around the usual sh bug.
9711 2001-08-03 Akim Demaille <akim@epita.fr>
9713 Clean up the handling of the M4 builtins tracing exception.
9715 * bin/autom4te.in (Request::request): Don't complete M4 builtins
9717 (@m4_builtins): Rename as...
9718 (@m4_builtin): this.
9719 (%m4_builtin_alternate_name): New.
9720 (&parse_args): Complete the trace requests with alternate names.
9721 (&handle_traces): Hence no longer do it here.
9722 (&trace_requests): Remove, unused.
9724 2001-08-03 Akim Demaille <akim@epita.fr>
9726 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
9729 2001-08-03 Akim Demaille <akim@epita.fr>
9731 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
9732 (m4_divert_pop): Dump the whole diversion stack when a diversion
9734 * bin/autom4te.in (&handle_output): Remember of the first
9735 occurrence of a possibly undefined macro, not the last.
9736 Complain about the possibly undefined macros in the same order as
9737 the appear in the output.
9738 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
9739 * tests/tools.at (autoconf: forbidden tokens, basic)
9740 (autoconf: forbidden tokens, exceptions): No longer sort
9741 autoconf's stderr, as it is now deterministic.
9742 Check that `dnl' is caught.
9744 2001-08-01 Akim Demaille <akim@epita.fr>
9746 * configure.ac: Bump to 2.52c.
9748 2001-08-01 Akim Demaille <akim@epita.fr>
9752 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
9754 2001-08-01 Akim Demaille <akim@epita.fr>
9758 2001-08-01 Akim Demaille <akim@epita.fr>
9760 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
9763 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
9764 `END', as `Autom4te::General::END' will be triggered.
9765 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
9766 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
9767 system to run `mv', `rm', and `cmp'.
9769 2001-08-01 Akim Demaille <akim@epita.fr>
9771 * lib/Autom4te/General.pm (&unique): New.
9772 * bin/autoscan.in (&output): Use it to issue trace requests once.
9774 2001-08-01 Akim Demaille <akim@epita.fr>
9776 * lib/Autom4te/General.pm: New.
9777 * bin/autom4te.in (Autom4te::General): Use it.
9778 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
9779 (&find_configure_ac, &find_slave): Remove.
9780 * bin/autoscan.in: Likewise.
9781 * bin/autoupdate.in: Likewise.
9783 2001-08-01 Akim Demaille <akim@epita.fr>
9785 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
9786 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
9787 * bin: here, new directory.
9788 * lib/Autoconf: Rename as...
9789 * lib/Autom4te: this, to please case insensitive junkie OSes.
9791 2001-08-01 Akim Demaille <akim@epita.fr>
9793 * autom4te.in ($m4): Handle the --nesting-limit.
9794 * autoconf.in (M4): Remove.
9796 2001-08-01 Akim Demaille <akim@epita.fr>
9798 * autoconf.in ($AWK): Remove, no longer used.
9799 * test/tools.at: Use AT_CHECK_AUTOCONF.
9800 (AWK portability): Remove, for autoconf no longer uses AWK.
9801 (Syntax of the Perl scripts): New.
9802 * configure.ac: autoconf no longer needs an AWK with a good
9804 Use a static test on AC_PACKAGE_VERSION.
9805 * autom4te.in (&up_to_date_p): Output depends on the arguments.
9806 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
9807 * tests/atconfig.in (PERL): New.
9809 2001-08-01 Akim Demaille <akim@epita.fr>
9811 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
9812 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
9813 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
9814 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
9815 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
9816 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
9817 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
9818 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
9819 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
9820 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
9821 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
9822 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
9823 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
9824 * lib/autoconf/c.m4: here, new file.
9826 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
9827 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
9828 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
9829 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
9830 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
9831 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
9832 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
9833 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
9834 (AC_F77_FUNC): Move to...
9835 * lib/autoconf/fortran.m4: here, new file.
9837 2001-08-01 Akim Demaille <akim@epita.fr>
9839 * acfunctions.m4: Rename as...
9840 * lib/autoconf/functions.m4: this.
9841 * acgeneral.m4: Rename as...
9842 * lib/autoconf/general.m4: this.
9843 * acheaders.m4: Rename as...
9844 * lib/autoconf/headers.m4: this.
9845 * aclang.m4: Rename as...
9846 * lib/autoconf/lang.m4: this.
9847 * acoldnames.m4: Rename as...
9848 * lib/autoconf/oldnames.m4: this.
9849 * acspecific.m4: Rename as...
9850 * lib/autoconf/specific.m4: this.
9851 * actypes.m4: Rename as...
9852 * lib/autoconf/types.m4: this.
9853 * autoconf.m4: Rename as...
9854 * lib/autoconf/autoconf.m4: this.
9856 * m4sugar.m4: Rename as...
9857 * lib/m4sugar/m4sugar.m4: this.
9858 * m4sh.m4: Rename as...
9859 * lib/m4sugar/m4sh.m4: this.
9861 * tests/atgeneral.m4: Rename as...
9862 * lib/autotest/general.m4: this.
9864 * acfunctions: Rename as...
9865 * lib/autoscan/functions: this.
9866 * acheaders: Rename as...
9867 * lib/autoscan/headers: this.
9868 * acidentifiers: Rename as...
9869 * lib/autoscan/identifiers: this.
9870 * aclibraries: Rename as...
9871 * lib/autoscan/libraries: this.
9872 * acmakevars: Rename as...
9873 * lib/autoscan/makevars: this.
9874 * acprograms: Rename as...
9875 * lib/autoscan/programs: this.
9877 2001-08-01 Akim Demaille <akim@epita.fr>
9879 * doc/autoconf.texi: Moving/deleting open files is not portable.
9880 Portability issues for `.' (source), and more information about sed.
9882 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
9884 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
9885 which has a special meaning and is not a reference to libibmil.a.
9886 Reported by Matteo Frigo.
9888 2001-07-25 Pavel Roskin <proski@gnu.org>
9890 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
9893 2001-07-25 Akim Demaille <akim@epita.fr>
9895 * autoconf.in: Try to define the variables before using them.
9896 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
9897 instead of `$perllibdir'.
9898 * tests/atconfig.in ($autom4te_perllibdir): Export it.
9900 2001-07-25 Akim Demaille <akim@epita.fr>
9902 * autoconf.in (ac_LF_and_DOT): Remove, unused.
9904 2001-07-24 Akim Demaille <akim@epita.fr>
9906 Let autoconf use autom4te for traces.
9908 * autoconf.in ($task, task trace): Remove, merely pass --trace to
9910 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
9911 (Because I found no way for autom4te to accept `-').
9912 * autom4te.in (&Request::request): Beware of M4 builtins.
9913 (END): Don't try to remove the content of an empty dir.
9914 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
9915 (&handle_output): Set a default value to `$forbidden'.
9916 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
9917 ($autoconf): Pass --debug and --verbose.
9918 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
9921 2001-07-24 Akim Demaille <akim@epita.fr>
9923 Let autoconf use autom4te to create configure.
9925 * autoconf.in ($automate): New var.
9926 (task script): Use autom4te.
9927 * autom4te.in (File::Spec): Use it.
9929 (&parse_args): --warning is -W, not -w.
9930 Find the top level files.
9931 (&handle_m4): Pass the warnings flags.
9932 Don't report verbosely m4's failures, unless requested.
9933 (&handle_output): Don't complain for forbidden tokens in comments.
9934 Be sure to report all the forbidden tokens within a single line.
9935 (&trace_format_to_m4): Preserve `$_'.
9936 (&handle_traces): Sort the output macros.
9937 (&up_to_date_p): Find the files before trying to get its time stamp.
9939 2001-07-24 Akim Demaille <akim@epita.fr>
9941 * Makefile.am: Ship, build and install Autom4te.
9943 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
9944 * configure.in: Require Perl.
9945 * man/autom4te.in: New.
9947 2001-07-19 Paul Eggert <eggert@twinsun.com>
9949 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
9950 example, rather than (exit 1); exit (which isn't portable).
9952 2001-07-18 Akim Demaille <akim@epita.fr>
9956 2001-07-18 Akim Demaille <akim@epita.fr>
9958 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
9959 was run, while they are needed also when it is expanded.
9960 Reported by Nicolas Joly.
9962 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
9963 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
9964 AC_F77_DUMMY_MAIN being expanded.
9966 2001-07-18 Akim Demaille <akim@epita.fr>
9968 * configure.in: Bump to 2.51a.
9970 2001-07-17 Akim Demaille <akim@epita.fr>
9974 2001-07-17 Akim Demaille <akim@epita.fr>
9976 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
9977 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
9979 2001-07-17 Akim Demaille <akim@epita.fr>
9981 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
9982 used. Well, then use the prototypes when you can, and runtime as
9984 Reported by Artur Frysiak
9986 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
9987 (AC_FUNC_GETPGRP): Use it.
9988 First try to compile with 0-ary or 1-ary calls.
9990 2001-07-17 Akim Demaille <akim@epita.fr>
9992 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
9996 2001-07-17 Akim Demaille <akim@epita.fr>
9998 * Makefile.maint: Sync. with cppi 1.10.
10000 2001-07-17 Akim Demaille <akim@epita.fr>
10002 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
10003 AC_F77_DUMMY_MAIN has been run.
10004 From Pavel Roskin and Steven G. Johnson.
10006 2001-07-17 Akim Demaille <akim@epita.fr>
10008 * configure.in: Rename as...
10009 * configure.ac: this.
10011 2001-07-17 Akim Demaille <akim@epita.fr>
10013 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
10016 * Makefile.maint (release-archive-dir): Rename as...
10017 (release_archive_dir): this, so that it can be specialized in
10020 2001-07-14 Akim Demaille <akim@epita.fr>
10022 * configure.in: Bump to 2.50d.
10024 2001-07-14 Akim Demaille <akim@epita.fr>
10027 * Makefile.maint (alpha): Typo.
10029 2001-07-14 Akim Demaille <akim@epita.fr>
10031 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
10033 2001-07-14 Akim Demaille <akim@epita.fr>
10035 * config/config.guess, config/config.sub, config/texinfo.tex
10036 * doc/standards.texi, doc/make-stds.texi: Update.
10038 2001-07-14 Akim Demaille <akim@epita.fr>
10040 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
10042 2001-07-14 Akim Demaille <akim@epita.fr>
10044 * Makefile.maint (maintainer-check): Rename as...
10045 (maintainer-distcheck): this.
10046 (changelog-check, static-check): New.
10049 2001-07-14 Kevin Ryde <user42@zip.com.au>
10051 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
10052 for CXX is g++, not gcc.
10054 2001-07-14 Akim Demaille <akim@epita.fr>
10056 * doc/autoconf.texi (Files): New subsection.
10058 2001-07-14 Akim Demaille <akim@epita.fr>
10060 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
10062 (Generic Compiler Characteristics): this.
10063 (C++ Compiler): New subsection.
10065 2001-07-14 Akim Demaille <akim@epita.fr>
10067 * autoscan.in: Use IO::File.
10068 Adjust all the routines to use it.
10069 ($log): New file (autoscan.log).
10070 (output): Dump detailed logs into $log, and a shortened version to
10072 (&scan_makefile): Refine the regexp catching tokens in the code.
10073 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
10074 and the `configure.ac' checking feature.
10076 2001-07-12 Akim Demaille <akim@epita.fr>
10078 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
10079 Reported by Michael Elizabeth Chastain.
10081 * autoconf.in: Refuse such AWK.
10082 * configure.in: Likewise.
10083 * Makefile.am (acversion.m4): Do not use move-if-change this file
10085 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10087 2001-07-10 Jens Petersen <petersen@redhat.com>
10089 * autoscan.in (&scan_makefile): Improve programs regexp to parse
10090 things like "g++", "file.c" and "some-conf" as tokens.
10091 (&scan_file): Match C++ files extensions.
10092 If the filename extension is C++ then ask for c++.
10094 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
10096 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10097 AC_TRY_LINK_FUNC, to check whether defining a dummy
10098 main-like routine is needed for linking with F77 libs.
10100 2001-07-05 Pavel Roskin <proski@gnu.org>
10102 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10104 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10107 2001-07-05 Akim Demaille <akim@epita.fr>
10109 * Makefile.am (move_if_change): New. Use it instead of `mv'.
10110 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10112 Reported by Nicolas Joly.
10114 2001-07-04 Akim Demaille <akim@epita.fr>
10116 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10118 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10119 warnings from compilers.
10120 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10121 for all the compilers, not only GNU. Hence move from here...
10122 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10124 2001-07-04 Akim Demaille <akim@epita.fr>
10126 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10127 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10130 2001-07-04 Akim Demaille <akim@epita.fr>
10132 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10133 the ``strings.h'' change claimed below.
10135 2001-07-04 Akim Demaille <akim@epita.fr>
10137 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10139 2001-07-04 Akim Demaille <akim@epita.fr>
10141 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10142 strings.h if usable with string.h.
10143 Suggested by Paul Eggert.
10145 2001-07-04 Akim Demaille <akim@epita.fr>
10147 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10148 From Jens Petersen.
10150 2001-07-03 Akim Demaille <akim@epita.fr>
10152 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10155 2001-07-03 Akim Demaille <akim@epita.fr>
10157 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10158 compiler, not the preprocessor.
10159 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10160 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10162 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10163 earlier if there are.
10165 2001-07-03 Akim Demaille <akim@epita.fr>
10167 * autoscan.in ($initfile): Remove.
10168 (&find_file): Rename as...
10169 (&scan_file): this.
10170 Immediately scan the current file, instead of gathering them, and
10171 later having them handled by &scan_files.
10172 (&scan_files): Merely invoke Find::File.
10175 2001-07-02 Akim Demaille <akim@epita.fr>
10177 * autoscan.in: Formatting changes, matching the invocation order.
10178 (File::Find): Use it instead of Perl 4's `find.pl'.
10179 (&wanted): Rename as...
10180 (&find_file): this.
10182 2001-07-01 Pavel Roskin <proski@gnu.org>
10184 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10185 break in the argument to AC_TRY_LINK_FUNC.
10186 (AC_F77_MAIN): Remove conftest* after using break in the
10187 argument to AC_TRY_LINK.
10189 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
10191 Add alternate 'main' routine detection for linking C/C++ with Fortran,
10192 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10194 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10195 dummy alternate main is required even if the user provides her own
10197 (AC_F77_MAIN): New macro to detect whether it is possible to
10198 provide an alternate 'main' function name, using the 'main' from
10199 the Fortran libraries.
10200 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10201 cross-language link tests can be performed successfully.
10202 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
10203 after $LIBS, for consistency; this should be the general rule since
10204 the user may want to link to Fortran libraries that require $FLIBS.
10205 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10207 2001-06-29 Pavel Roskin <proski@gnu.org>
10209 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10210 at-stdout and at-stderr instead of removing the newline
10211 from the echo output, which is not guaranteed to work.
10213 2001-06-28 Jens Petersen <petersen@redhat.com>
10215 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10216 confdefs.h when non-zero.
10218 2001-06-28 Akim Demaille <akim@epita.fr>
10220 * configure.in: Bump to 2.50c.
10222 2001-06-26 Akim Demaille <akim@epita.fr>
10226 2001-06-26 Akim Demaille <akim@epita.fr>
10230 2001-06-25 Pavel Roskin <proski@gnu.org>
10232 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10233 argument, AUTOCONF-FLAGS.
10234 * tests/mktests.sh (update_exclude_list): Add
10235 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10236 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10237 AC_FUNC_WAIT3 with "-W no-obsolete".
10239 2001-06-25 Akim Demaille <akim@epita.fr>
10241 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10243 2001-06-25 Akim Demaille <akim@epita.fr>
10245 * autoscan.in (%macro): Now maps from word to list of macros.
10246 (&init_tables): Die when a word which is already handled by
10247 explicit macros is mapped to the default macro.
10248 (&print_unique): Remove, inlined in...
10249 (&output_kind): here.
10250 (File::Basename): Use it.
10251 (&output): Sort the CONFIG_FILES.
10252 * acheaders: Normalize.
10253 * acfunctions: Likewise.
10255 2001-06-25 Akim Demaille <akim@epita.fr>
10257 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10258 characteristics in the logs.
10259 Suggested by Mo DeJong.
10261 2001-06-24 Akim Demaille <akim@epita.fr>
10263 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10264 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10265 * doc/autoconf.texi (Autoconf 2.13): New section.
10267 2001-06-24 Akim Demaille <akim@epita.fr>
10269 * autoconf.in (Task traces): Separate the error messages from the
10270 traces to improve robustness.
10272 2001-06-23 Akim Demaille <akim@epita.fr>
10274 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10275 three as failures are unlikely, and speed matters.
10277 2001-06-23 Akim Demaille <akim@epita.fr>
10279 * doc/autoconf.texi (Redefined M4 Macros): New.
10281 2001-06-23 Akim Demaille <akim@epita.fr>
10283 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10284 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10287 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
10289 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10290 config.status targets to after the evaluation of the INIT-CMDS.
10291 Double quote config.status targets (used to be single quoted).
10293 2001-06-23 Akim Demaille <akim@epita.fr>
10295 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10296 Check the content of the created file.
10297 Check the ./config.status command line invocation.
10299 2001-06-23 Akim Demaille <akim@epita.fr>
10301 * tests/foreign.at (Libtool): Reject prehistoric versions.
10303 2001-06-23 Akim Demaille <akim@epita.fr>
10305 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
10306 preexisting files matching a.*.
10308 2001-06-23 Akim Demaille <akim@epita.fr>
10310 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
10312 * doc/autoconf.texi (AC_ARG_VAR): Update.
10314 2001-06-21 Akim Demaille <akim@epita.fr>
10316 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
10317 precious variables have changed.
10318 * tests/torture.at (AC_ARG_VAR): Adjust.
10320 2001-06-21 Akim Demaille <akim@epita.fr>
10322 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
10323 but some sed choke on multiple `;', and other tools (e.g.,
10324 Automake), include the separator themselves.
10326 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
10328 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
10330 * doc/autoconf.texi (Functions Portability): Rename as...
10331 (Function Portability): this.
10332 (Function Portability): Document potential problems with unlink().
10334 2001-06-19 Paul Eggert <eggert@twinsun.com>
10336 * NEWS, doc/autoconf.texi: Document quadrigraphs.
10338 2001-06-18 Akim Demaille <akim@epita.fr>
10340 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
10342 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
10344 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
10345 (_AC_FUNC_VFORK): this.
10346 Remove AC_DEFINEs and don't guess cross-compilation values.
10347 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
10348 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
10349 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
10350 vfork doesn't work.
10351 Guess values if cross-compiling, but warn.
10352 * acfunctions: Add AC_FUNC_FORK.
10353 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
10354 and vfork appropriately.
10356 2001-06-18 Akim Demaille <akim@epita.fr>
10358 * doc/autoconf.texi (Functions Portability): New section.
10360 2001-06-18 Akim Demaille <akim@epita.fr>
10362 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
10364 Suggested by Andreas Schwab.
10366 2001-06-18 Akim Demaille <akim@epita.fr>
10368 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
10369 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
10370 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
10371 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
10372 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
10373 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
10374 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
10377 2001-06-18 Akim Demaille <akim@epita.fr>
10379 * doc/autoconf.texi (ms): New index.
10380 (Macro Index): Rename as...
10381 (Autoconf Macro Index): this.
10382 (M4 Macro Index): New appendix.
10383 (Programming in M4): New chapter.
10384 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
10385 (Quoting): Rename as...
10386 (M$ Quotation): this.
10387 Be part of `Programming in M4).
10389 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
10391 * tests/torture.at (AC_ARG_VAR): Set variables and export them
10392 in separate statements for compatibility with Tru64 v5.1.
10394 2001-06-17 Akim Demaille <akim@epita.fr>
10396 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
10397 current values of the precious variables, not the previously
10399 Pass precious variables which are set to config.status.
10400 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
10401 * tests/torture.at (AC_ARG_VAR): New.
10403 2001-06-15 Paul Eggert <eggert@twinsun.com>
10405 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
10406 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
10407 and explain why and how to replace them.
10408 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
10409 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
10411 2001-06-15 Akim Demaille <akim@epita.fr>
10413 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
10414 Reported by Bruno Haible.
10416 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
10417 (_AC_ARG_VAR_PRECIOUS): to here.
10419 2001-06-15 Pavel Roskin <proski@gnu.org>
10421 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
10422 an unused pointer use cast to this type and `if' statement to
10423 avoid warnings from the compiler.
10424 (AC_HEADER_TIME): Likewise.
10425 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
10426 in `if' statement to avoid warnings from the compiler. Declare
10427 ac_aggr static to avoid the need to initialize it.
10429 2001-06-14 Akim Demaille <akim@epita.fr>
10431 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
10434 2001-06-13 Akim Demaille <akim@epita.fr>
10436 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
10437 Suggested by Alexander Mai.
10439 2001-06-13 Akim Demaille <akim@epita.fr>
10441 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
10442 sys/types.h and sys/stat.h, and check for them.
10444 2001-06-13 Akim Demaille <akim@epita.fr>
10446 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
10449 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
10451 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
10452 succeeds and only try adding libdnet upon a failure.
10454 2001-06-12 Akim Demaille <akim@epita.fr>
10456 * autoscan.in (&output_kind): Output the comment only if it exists.
10457 (%kind_comment): Add entry for `programs'.
10458 (&output_programs): Use &output_kind.
10459 (&output_functions, &output_identifiers, &output_headers)
10460 (&output_programs): Inline, and remove.
10462 2001-06-12 Akim Demaille <akim@epita.fr>
10464 * autoscan.in (%kind_comment): New.
10465 (output_kind): New.
10466 (output_functions, output_identifiers, output_headers): Use it.
10468 2001-06-12 Akim Demaille <akim@epita.fr>
10470 * autoscan.in (&print_unique): Take `$kind' and `$word' as
10471 arguments, to factor indirections into `%macro' and `%used'.
10472 (%generic_macro): Fix a typo.
10474 2001-06-12 Akim Demaille <akim@epita.fr>
10476 * aclibraries: New.
10477 * autoscan.in (@kinds): Add `libraries'.
10478 Use `@kinds' instead of hard coded lists.
10479 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
10480 Remove, replaced by...
10483 2001-06-12 Akim Demaille <akim@epita.fr>
10485 * autoscan.in (%functions_macros %headers_macros)
10486 (%identifiers_macros %programs_macros %makevars_macros): Remove,
10490 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
10492 * aclang.m4 (AC_NO_EXECUTABLES): Override
10493 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
10495 2001-06-11 Akim Demaille <akim@epita.fr>
10497 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
10499 Reported by Andreas Schwab.
10501 2001-06-11 Akim Demaille <akim@epita.fr>
10503 * Makefile.am, Makefile.maint: Typos.
10505 2001-06-09 Akim Demaille <akim@epita.fr>
10507 * doc/autoconf.texi (Here-Documents): New section, gathering
10508 documentation about here-documents.
10509 Use `href', not `uref', and other changes.
10511 2001-06-09 Akim Demaille <akim@epita.fr>
10513 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
10516 2001-06-09 Akim Demaille <akim@epita.fr>
10518 * doc/autoconf.texi (Limitations of Builtins): Complete the
10519 description of the here-docs penalties with Alexandre Oliva's
10522 2001-06-01 Paul Eggert <eggert@twinsun.com>
10524 * doc/autoconf.texi: Talk about here documents and speedups.
10525 Do not use "echo" on arbitrary strings.
10526 Spell "here-documents" consistently with the standard.
10528 2001-06-09 Akim Demaille <akim@epita.fr>
10530 * doc/autoconf.texi (Concept Index): Introduce it.
10531 Regenerate the menus.
10533 2001-06-09 Akim Demaille <akim@epita.fr>
10535 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
10536 * config/prev-version.txt: New.
10537 * config/move-if-change: New, for GNU libc.
10539 2001-06-06 Pavel Roskin <proski@gnu.org>
10541 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
10543 2001-06-06 Akim Demaille <akim@epita.fr>
10545 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
10546 properly when $1 is not a literal.
10547 Fixes PR Autoconf/187, reported by Bram Moolenaar.
10549 2001-06-06 Akim Demaille <akim@epita.fr>
10551 Invoking AC_COPYRIGHT before AC_INIT fails.
10553 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
10554 * acgeneral.m4 (_m4_divert(VERSION_FSF))
10555 (_m4_divert(VERSION_USER)): New.
10556 (AC_COPYRIGHT): $2 is the diversion to use.
10557 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
10558 (AC_INIT): Remove dead comments as now it's commutative.
10560 2001-06-06 Akim Demaille <akim@epita.fr>
10562 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
10565 2001-06-05 Akim Demaille <akim@epita.fr>
10567 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
10569 `*dir' variables cannot be NONE.
10570 Reported by Mark Kettenis.
10572 2001-06-05 Paul Eggert <eggert@twinsun.com>
10574 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
10576 2001-06-04 Akim Demaille <akim@epita.fr>
10578 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
10579 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
10580 (AC_TR_SH): Move as...
10581 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
10582 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
10584 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
10585 (_AS_TR_SH_PREPARE): New.
10586 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
10587 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
10589 2001-06-02 Akim Demaille <akim@epita.fr>
10591 * Makefile.am (.m4.m4f): Pass the options first.
10592 Fixes PR autoconf/182.
10594 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
10596 GNU getopt, when POSIXLY_CORRECT does not permute options and
10597 arguments. So pass the options first.
10598 Fixes PR autoconf/184.
10600 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
10601 (run_m4): Remove files.
10603 Update remainder of script to use them.
10604 (for warning in): Do not use a literal comma as it will not be
10607 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
10609 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
10610 Fortran compilers to check.
10611 (_AC_PROG_F77_V): Add '-###' as a possible option to print
10612 information on library and object files.
10613 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
10616 2001-06-02 Akim Demaille <akim@epita.fr>
10618 * autom4te.in (Request::@request): Declare with `vars', not `my',
10619 as it prevents updates via `do FILENAME'.
10621 2001-06-02 Akim Demaille <akim@epita.fr>
10623 * configure.in (standards_texi): Remove, dead code.
10625 2001-06-02 Akim Demaille <akim@epita.fr>
10627 * autom4te.in: New.
10629 2001-06-02 Pavel Roskin <proski@gnu.org>
10631 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
10632 for signals other than 0 - exit with code 1.
10633 * m4sh.m4 (AS_TMPDIR): Likewise.
10634 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
10635 * autoheader.in: Likewise.
10636 * autoreconf.in: Likewise.
10637 * tests/torture.at (Signal handling): New test for the above.
10639 2001-06-01 Akim Demaille <akim@epita.fr>
10641 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
10644 2001-05-31 Akim Demaille <akim@epita.fr>
10646 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
10647 Add copyright and comments.
10648 * acheaders: Add stdint.h.
10649 Suggested by Paul Eggert.
10651 2001-05-31 Akim Demaille <akim@epita.fr>
10653 * atgeneral.m4 (AT_INIT): Use $SHELL.
10654 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
10656 2001-05-31 Akim Demaille <akim@epita.fr>
10658 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10660 From Paul Eggert and Lars Hecking.
10662 2001-05-31 Akim Demaille <akim@epita.fr>
10664 * tests/base.at: Adjust line numbers in error messages.
10666 2001-05-31 Akim Demaille <akim@epita.fr>
10668 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
10669 to emit the bangshe line.
10670 Reported by David Carter.
10672 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
10674 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
10675 Fortran (95) compilers to check.
10677 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
10679 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
10682 2001-05-23 Pavel Roskin <proski@gnu.org>
10684 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
10685 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
10686 (AC_PROG_CXXCPP): Likewise.
10688 2001-05-22 Akim Demaille <akim@epita.fr>
10690 * config: New directory.
10691 * configure.in: AC_CONFIG_AUX_DIR it.
10692 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
10694 2001-05-22 Akim Demaille <akim@epita.fr>
10696 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
10697 * autoupdate.in: Specify the Emacs mode.
10698 * acversion.m4.in: Rename as...
10699 * acversion.m4: this.
10700 * tests/Makefile.am (CLEANFILES): More garbage.
10702 2001-05-22 Akim Demaille <akim@epita.fr>
10704 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
10706 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
10709 2001-05-21 Akim Demaille <akim@epita.fr>
10711 * configure.in: Bump to 2.50a.
10715 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10717 This file is part of GNU Autoconf.
10719 GNU Autoconf is free software; you can redistribute it and/or modify
10720 it under the terms of the GNU General Public License as published by
10721 the Free Software Foundation; either version 2, or (at your option)
10724 GNU Autoconf is distributed in the hope that it will be useful,
10725 but WITHOUT ANY WARRANTY; without even the implied warranty of
10726 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10727 GNU General Public License for more details.
10729 You should have received a copy of the GNU General Public License
10730 along with autoconf; see the file COPYING. If not, write to
10731 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
10732 Boston, MA 02110-1301, USA.