1 2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
2 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make):
5 Mention more problems with the -e option.
7 2006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10 * doc/autoconf.texi (Systemology): Mention the Heirloom Project.
12 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally
13 in URLs to improve DVI formatted output (requires texinfo 4.6).
14 (System Services, Systemology, Shellology): Likewise.
15 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer
18 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in
20 (Runtime): Fix macro argument names to match description:
21 `action-if-found' -> `action-if-true' and similarly.
22 (Obsolete Macros): Likewise.
23 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise.
24 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE)
25 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise.
27 2006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
29 * doc/autoconf.texi (Limitations of Make): Clean up markup.
32 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for
35 2006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
37 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD
38 /bin/sh set unsorted output.
39 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust.
40 * tests/local.at: Likewise.
42 2006-04-26 Paul Eggert <eggert@cs.ucla.edu>
44 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability):
45 (Integer Overflow, Null Pointers, Buffer Overruns):
46 (Floating Point Portability, Exiting Portably): New sections.
47 (Writing Test Programs): Fix some langauge. Recommend exiting
48 with status 1, not merely nonzero. Clarify exit declaration.
49 (Run Time): Move C exit status stuff to new Exiting Portably section.
50 (Systemology): Mention Posix and levenez. Update v7 reference.
51 (Portable Shell): Mention the Posix shell.
53 2006-04-25 Stepan Kasal <kasal@ucw.cz>
55 * bin/autoconf.as (me): Replace by as_me.
57 2006-04-25 Paul Eggert <eggert@cs.ucla.edu>
59 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR,
60 since as_me isn't set yet.
62 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
64 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix
65 a few minor bugs in this area.
67 * doc/autoconf.texi (Programming in M4sh): Comment out the
68 documentation of AS_BASENAME, for now.
69 (Shell Substitutions): Do not use AS_DIRNAME in an example.
70 (Limitations of Builtins) <basename>: Do not refer to
72 * bin/autoconf.as (me): Don't use AS_BASENAME.
73 (dir): Remove the unused variable.
74 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
75 AS_DETECT_REQUIRED. All uses changed.
76 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
78 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
79 (AS_BASENAME): Use "basename --" to protect against leading "-".
80 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
81 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
82 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
83 (_AS_DIRNAME_PREPARE): Likewise.
84 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
85 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
86 (AS_DIRNAME): Use "dirname --".
88 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
90 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses
91 of "run time" and "run-time" changed to "runtime", for consistency.
92 * lib/autoconf/fortran.m4: Likewise (in comment).
93 * lib/autoconf/functions.m4: Likewise.
94 * lib/autoconf/general.m4: Likewise.
95 * lib/autoconf/headers.m4: Likewise.
97 * doc/autoconf.texi (Run Time): Document the exit status situation
98 with more accuracy and detail.
100 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
102 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
103 Archive is not officially `GNU' any more. Update URL.
104 (Defining Directories): Likewise
105 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
107 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
110 newline from the `trap' code to finish `config.log'; the NetBSD
111 /bin/sh resets the exit status after an empty command, as
112 documented in doc/autoconf.texi.
113 Reported by Dalibor Topic <robilad@kaffe.org>.
115 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
117 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
118 Suggested by Bruno Haible.
120 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
122 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
123 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
124 Instead, just list the shells that we know work.
125 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
126 changed. Be more cautious about the _cv_ variable.
127 * tests/tools.at (Syntax of the shell scripts): Check the
128 _cv_ variable once, at first, to avoid an internal autoconf error
129 when sh -n does not work.
131 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
133 * lib/Autom4te/FileUtils.pm: Sync from Automake.
135 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
137 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
138 use ">&-" since we're only 99.999% sure that this is portable,
139 and since the MinGW bug is fixed in a different way.
140 * lib/autotest/general.m4 (AT_INIT): Likewise.
142 2006-04-16 Stepan Kasal <kasal@ucw.cz>
144 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
145 before opening config.log, to avoid hitting a bug on MinGW.
147 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
149 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
150 AS_MESSAGE_LOG_FD before reopening it onto the log file.
151 This works around a MinGW bug reported by Eric Paire.
152 Make sure that all writes to the log file append to it,
153 rather than possibly losing data.
154 * lib/autotest/general.m4 (AT_INIT): Likewise.
156 2006-04-14 Stepan Kasal <kasal@ucw.cz>
158 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
161 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165 * configure.ac (AC_INIT): Bump to 2.59d.
167 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
171 * Makefile.maint (news-date-check): Do not require a leading `*'
172 before the release date in NEWS.
174 2006-04-12 Stepan Kasal <kasal@ucw.cz>
175 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
177 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
178 the instantiated file do not contain the string 'datarootdir'
179 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
180 @mandir@, replace the reference '${datarootdir}' by the value.
181 * tests/torture.at (datarootdir workaround): New test.
182 * NEWS: Advertise this temporary fixup.
183 Based on a patch by Bruno Haible, reported and analyzed by
184 Paul Eggert and Noah Misch.
186 2006-04-12 Eric Blake <ebb9@byu.net>
188 * tests/autotest.at (Debugging a failed test): Fix comment.
190 2006-04-12 Stepan Kasal <kasal@ucw.cz>
192 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
193 all the changes since 2006-04-07.
195 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
197 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
198 succeeded, but `ln -s file dir' failed, take care to remove the
199 leftover target before the next test, to prevent its spurious
200 failure; also make sure `ln file dir' works before selecting it.
201 Thanks to Keith Marshall for pointing this out.
204 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
205 assignments in `at_debug_args', so that we put them correctly
207 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
208 Reported by Eric Blake.
210 2006-04-11 Eric Blake <ebb9@byu.net>
212 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
213 top-level tests after micro-suite has been run. Used in...
214 (Debugging a successful test, Debugging script and environment),
215 (Debugging a failed test): ...these new tests. The first of these
217 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
218 macro, split out from...
219 (AT_INIT): ...here, so that using -d also generates a run script.
220 Document that -d inhibits top-level logging.
221 * doc/autoconf.texi (testsuite Invocation): Document that -d only
222 inhibits top-level logging; debug scripts are created.
224 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
226 * tests/autotest.at (Empty test, Empty check): New test to check it.
228 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
231 2006-04-10 Stepan Kasal <kasal@ucw.cz>
233 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
234 the files if a problem appears. Make the empty *.at files
235 read-only, too. Proposed by Ralf Wildenhues.
237 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
239 * config/Makefile.am: Add comment to force updated Makefile.in.
241 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
242 space only patch to this file, this patch causes the Makefile.in
243 files that include freeze.mk to be updated, and thus have a
244 newer time stamp again, which in turn makes a pristine CVS
245 checkout have correct time stamps.
247 * Makefile.maint (cvs-sv): New macro, to be used..
248 (config.guess-url_prefix, config.sub-url_prefix)
249 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
250 point to CVS text checkout of Gnulib files.
251 (copyright-check): Bump current year.
252 (announcement): Do not hard-wire `./announce-gen'.
253 (cvs-update): Propagate failures of `cvs' and `move-if-change'
255 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
257 (wget_files): Update config.guess, config.sub, texinfo.tex by
258 `wget-update', now that their URLs work again.
260 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
262 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
263 Problem noted by Paul D. Smith.
265 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
267 * doc/autoconf.texi: Remove unused words from word list.
268 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
269 .x-sc_trailing_space: New files.
271 * doc/standards.texi: Sync from gnulib.
273 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
274 `LIBOBJDIR' as experimental.
276 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
277 with a target directory; it's internally implemented as `cp'
278 anyway, but since Autoconf advertises the possibility to use
279 a target directory when LN_S is `ln -s', we need to find out.
280 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
281 analyzed by Keith Marshall <keith.marshall@total.com>.
285 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
287 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
288 confdefs.h as-is. In general, if it has backslash-newline or the
289 like, then it doesn't work either to sort or to remove empty
292 2006-04-09 Stepan Kasal <kasal@ucw.cz>
294 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
296 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
298 * lib/autom4te.in (Automake-preselections): Preselect
301 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
303 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
304 apostrophe within a single-quoted string, as this is the usual
305 tradition and is easier to read than '"'"'. Don't rely on the
306 shell treating "$/" like '$/'. Use a more-consistent indenting
309 2006-04-09 Eric Blake <ebb9@byu.net>
311 * tests/autotest.at (Backquote command substitution),
312 (Multiline backquote command substitution): Remove mistaken
313 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
315 (Parenthetical command substitution, Multiline parenthetical
316 command substitution): here.
318 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
320 Import macros from gnulib (often changing their name).
322 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
323 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
324 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
325 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
326 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
327 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
328 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
329 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
330 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
331 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
332 The manual mentions Gnulib more prominently.
333 * doc/autoconf.texi (Gnulib): New node.
334 (Pointers): Add Gnulib URL.
335 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
336 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
338 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
339 suggest a #define rather than a typedef for _Bool, and mention
340 Gnulib rather than trying to substitute stdbool code.
341 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
342 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
343 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
344 AC_STRUCT_DIRENT_D_TYPE.
345 (Particular Types): Mention stdint.h and inttypes.h as standard
347 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
348 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
349 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
350 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
351 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
352 (C Compiler): Move AC_C_LONG_DOUBLE to ...
353 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
354 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
355 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
356 (Coding Style). Don't mention m4_expand_once.
357 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
358 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
359 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
360 (AC_CHECK_FUNCS): Use it.
361 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
362 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
363 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
364 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
365 (AC_HEADER_ASSERT): New macro.
366 (AC_HEADER_STDBOOL): Don't assume "#error" works.
367 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
368 Catch a bug in an HP-UX C compiler.
369 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
370 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
371 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
372 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
373 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
374 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
377 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
378 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
380 2006-04-08 Stepan Kasal <kasal@ucw.cz>
382 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
383 of the warning introduced by the 2001-08-28 change.
385 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
386 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
388 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
389 variables shall be overriden by the cache.
390 * tests/torture.at (AC_ARG_VAR): Test also with a first value
391 that contains braces.
393 2006-04-07 Stepan Kasal <kasal@ucw.cz>
395 Revert the patch from 2006-04-01 and only improve
396 _AS_DETECT_BETTER_SHELL:
398 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
399 skip nonexistent directories.
400 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
401 only shell candidates which exist.
402 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
403 * lib/autotest/general.m4 (AT_INIT): No need to give three
404 parameters to _AS_PATH_WALK.
406 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
407 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
410 distinguish m4sugar macros.
411 * tests/tools.at (autoupdating with aclocal and m4_include):
412 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
413 test case by Noah Misch <noah@cs.caltech.edu>.
415 2006-04-07 Stepan Kasal <kasal@ucw.cz>
417 Revert my change from 2006-03-17, in other words:
418 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
420 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
421 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
424 2006-04-07 Eric Blake <ebb9@byu.net>
426 * doc/autoconf.texi (Programming in M4sh): Document that
427 AS_MKDIR_P exits the script on failure.
428 * lib/autotest/general.m4: Remove redundant AS_ERROR.
430 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
432 * config/elisp-comp, config/install-sh, config/mdate-sh,
433 config/missing, config/mkinstalldirs: Sync from Automake.
435 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
438 * doc/make-stds.texi: Sync from gnulib.
440 2006-04-06 Eric Blake <ebb9@byu.net>
442 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
443 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
446 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
447 Eric Blake <ebb9@byu.net>,
448 Paul Eggert <eggert@cs.ucla.edu>,
449 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
451 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
452 whether `set' quotes correctly: redirect stderr of the tested
453 `set', and use a subshell, for Ultrix; use `sed' instead of
454 `grep' for zsh `set' which may write binary output; match only
455 at the beginning of a line, to avoid false positives.
456 In order to avoid false positives by unrelated variables with
457 multiline content, put the dump algorithm in a subshell and
458 unset all variables containing newlines (except some which are
459 special to the shell). Warn about cache variables that are
462 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
464 * config/config.guess, config/config.sub, config/texinfo.tex:
467 * tests/mktests.sh: Reword comments.
469 * tests/mktests.sh: Only skip internal macros starting with
470 `_AC_' or `__AC_'. Noted by Stepan Kasal.
471 Update exclusion lists for the test suite to this end:
472 (AC_ARG_VAR): Do test this now.
473 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
474 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
475 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
476 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
478 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
479 shell issue with double-quoted command substitutions of native
481 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
484 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
485 no file matches the glob, discard the warning, set `nullglob'.
486 (syntax-check): Likewise.
487 (sc_cast_of_x_alloc_return_value): Likewise.
488 (sc_cast_of_alloca_return_value, sc_error_exit_success)
489 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
490 (m4-check): Likewise.
491 (sc_system_h_headers): Do not print rule on execution.
492 (sc_tight_scope): Do not fail for non-existing `src' directory.
493 (sc_changelog): Skip the Copyright footer.
494 * lib/autoconf/lang.m4: Remove trailing space.
496 * lib/autoconf/status.m4: More replacements to
497 <tab><space> where this makes sense.
499 2006-04-06 Stepan Kasal <kasal@ucw.cz>
501 * tests/Makefile.am (maintainer-check-posix):
502 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
504 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
505 ac_config_<foo>s again, sometimes normalized, sometimes not.
506 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
507 (AC_CONFIG_COMMANDS): Do not do so here.
508 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
509 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
510 2005-07-25 rewrite. Noticed by Noah Misch.
512 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
513 _AC_PRESERVE_HELP_ORDER, ...
514 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
516 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
517 inside m4_expand_once; it is redundant.
519 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
520 for --help from Cygnus `configure.'
522 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
524 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
525 on a patch proposed by Ralf Wildenhues.
527 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
529 * lib/autoconf/status.m4: Replace <space>''<tab> with
530 <tab><space> where this makes sense.
532 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
533 Noah Misch <noah@cs.caltech.edu>
535 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
536 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
537 * doc/autoconf.texi (Help Formatting): New node.
538 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
540 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
542 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
543 lib/autoconf/specific.m4, lib/autoconf/status.m4,
544 lib/autoconf/types.m4, lib/autotest/general.m4,
545 tests/mktests.sh, tests/torture.at: White space cleanup:
546 remove some SPACE before TAB, or add quoting ('' or @&t@).
548 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
550 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
552 2006-04-05 Eric Blake <ebb9@byu.net>
554 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
555 empty test suite works.
556 * tests/autotest.at (Empty test suite): Remove xfail.
558 2006-04-05 Noah Misch <noah@cs.caltech.edu>
560 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
561 TAGS to ac_config_<foo>s.
562 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
563 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
564 normalizing it, consistent it with previous releases.
565 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
567 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
569 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
570 Use simplified args that Eric Blake originally suggested.
572 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
574 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
575 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
576 Use 'comm' rather than N instances of grep; this also fixes a bug
577 whereby substrings were incorrectly matched, causing us to not
578 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
579 (exclude_list): Exclude empty macros.
580 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
582 Use awk rather than grep -E or egrep, to avoid
583 portability problems with regular expressions containing newlines.
584 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
585 Switch from grep to awk syntax.
586 (ac_exclude_script): Renamed from ac_exclude_egrep.
587 (au_exclude_script): Renamed from au_exclude_egrep.
589 2006-04-04 Noah Misch <noah@cs.caltech.edu>
591 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
592 a subdirectory subject to Cygnus `configure'.
593 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
595 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
596 report request when we have no AC_PACKAGE_BUGREPORT.
598 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
602 * tests/mktests.sh: Update copyright year in the header of the
605 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
606 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
607 typedef'ed restricted pointer, to catch a compiler bug on
608 HP-UX 11.x, and fix warnings so it passes with -Werror.
609 (_AC_PROG_CC_C99): Likewise.
610 Reported by Albert Chin <china@thewrittenword.com>.
611 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
613 2006-04-03 Noah Misch <noah@cs.caltech.edu>
615 * bin/autoscan.in (subdirs): New global.
616 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
617 (output): Emit AC_CONFIG_SUBDIRS as needed.
618 * tests/autoscan.at (autoscan): Remove XFAIL.
620 2006-04-03 Noah Misch <noah@cs.caltech.edu>
622 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
624 2006-04-03 Eric Blake <ebb9@byu.net>
626 * THANKS: Add myself.
628 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
630 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
631 to log, point to testsuite output tree.
633 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
635 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
636 * doc/autoconf.texi (Function Portability): Mention that C++
637 has trouble with 'exit'.
638 (Guidelines): Test programs shouldn't use 'exit'.
639 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
640 Remove; all uses removed.
641 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
642 Return from 'main' instead of calling 'exit'.
643 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
644 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
645 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
646 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
647 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
648 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
649 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
650 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
651 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
652 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
653 * tests/compile.at: Likewise.
655 2006-04-02 Pavel Roskin <proski@gnu.org>
657 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
659 2006-04-01 Stepan Kasal <kasal@ucw.cz>
661 Clean up _AC_COMPILER_EXEEXT* macros.
663 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
664 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
665 ac_file to the name of the default output filei and call
666 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
667 initial `rm' of the candidate files...
668 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
669 the same list in subsequent `rm' calls, and for the temporary
670 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
671 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
672 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
673 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
674 no longer needed) by libtool. Make it a cache check.
675 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
676 copied here by mistake.
677 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
679 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
680 _AC_COMPILER_OBJEXT directly.
681 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
683 2006-04-01 Stepan Kasal <kasal@ucw.cz>
685 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
686 (AS_DIRNAME): Use it.
687 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
689 * tests/*.at: Remove the generated ones.
691 2006-04-01 Stepan Kasal <kasal@ucw.cz>
693 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
695 2006-04-01 Eric Blake <ebb9@byu.net>
697 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
698 directories, unless optional third argument supplied.
699 (AS_UNAME): Don't optimize PATH walk.
701 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
703 2006-04-01 Eric Blake <ebb9@byu.net>
704 and Stepan Kasal <kasal@ucw.cz>
706 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
709 2006-04-01 Noah Misch <noah@cs.caltech.edu>
711 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
712 Autoconf version number despite a zero- or one-argument AC_INIT.
714 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
716 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
717 * doc/autoconf.texi (autoreconf Invocation): Document it.
719 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
720 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
722 2006-04-01 Eric Blake <ebb9@byu.net>
724 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
725 * lib/autotest/general.m4: Be tolerant of existing directory when
726 rm failed to remove it.
728 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
730 * bin/autoupdate.in: Redefine m4_location so that warnings print
731 the correct lines of the input file by subtracting..
732 (_au__first_line): ..this new definition.
734 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
735 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
736 Remove stray newline in output.
737 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
738 AC_DEFUN this for autoconf, including the obsoletion diagnose.
739 Fixes autoupdating of code where the replacement output contains
741 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
742 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
743 (au_exclude_list): Add AC_LANG_SAVE.
744 * tests/tools.at: Several new tests for all of this.
745 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
747 The AC_LANG_SAVE issue was reported against Libtool by
748 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
749 Kristian Kvilekval <kris@cs.ucsb.edu>.
751 2006-04-01 Stepan Kasal <kasal@ucw.cz>
753 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
754 switch all of them on and of when necessary. Fixes the bug when
755 m4sugar macros (e.g., m4_define) were expanded after the first
756 automatic update (e.g., after AC_PREREQ or AC_INIT).
758 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
760 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
761 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
763 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
764 correctly. Problem reported by Eric Blake.
765 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
768 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
770 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
771 Tighten up the basename/dirname wording.
773 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
775 * Makefile.maint (sc_texi_notab): New check: do not use TABs
776 in texinfo files outside of verbatim environments.
777 (syntax-check-rules): Update.
778 * doc/autoconf.texi (Configuration Headers): Conform to it.
780 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
782 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
783 aclocal cannot be given on the command line.
785 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
787 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
788 Give an example for AS_DIRNAME instead of referring to Posix..
789 (File System Conventions): Put discussion of // versus / here, and
791 (Limitations of Usual Tools): Add basename. Remove verbiage
792 after dirname, since it got moved to the above sections.
793 All this was inspired by a patch proposed earlier by Eric Blake.
795 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
797 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
798 `$0' to protect against spaces.
799 * lib/autotest/general.m4 (AT_INIT): Likewise.
800 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
803 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
805 * bin/autoscan.in: The value of find_configure_ac should be
806 checked for existence, so we don't barf over a nonexisting
807 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
809 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
811 * bin/autoupdate.in: Fix some typos.
813 2006-03-21 Stepan Kasal <kasal@ucw.cz>
815 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
817 * lib/autoscan/autoscan.list: Refreshed.
819 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
821 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
822 and Erlang related variables.
824 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
825 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
826 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
827 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
828 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
829 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
830 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
831 (_AC_PROG_OBJC_G): New macros.
832 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
833 * doc/autoconf.texi (Objective C Compiler): New node.
834 (Preset Output Variables): Document OBJCFLAGS.
835 (Language Choice): Document `Objective C' language.
836 (Fortran Compiler): Fix typo.
838 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
840 2006-03-20 Stepan Kasal <kasal@ucw.cz>
842 * doc/autoconf.texi (Default Includes): Fix typo
843 s/AC_HEADERS_STDC/AC_HEADER_STDC/
844 (Limitations of Usual Tools): s/unwriteable/unwritable/
845 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
846 Fix typos in the comments.
848 2006-03-17 Stepan Kasal <kasal@ucw.cz>
850 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
851 Factor out the warning to...
852 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
853 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
854 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
856 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
857 case `ac_delim' when writing the sed script.
859 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
861 (AS_SHELL_SANITIZE): ... here.
862 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
865 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
867 (_AC_PATH_PROG): Store the result to VARIABLE.
868 (AC_PATH_PROG): No need to set VARIABLE again.
870 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
871 the first one is usual AT_CHECK_MACRO test, the second one checks
872 that the same works when cross-compiling.
873 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
874 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
876 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
878 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
879 the directory `/usr/bin/posix' in the shell search, to prefer
880 the Posix shell not only in subsequent spawns as with `$BIN_SH'
883 * doc/autoconf.texi (contents): To fix texi2html output, hide
884 `@setcontentsaftertitlepage' for HTML.
885 (Writing Autoconf Macros): Likewise, insert space after `@c'.
886 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
889 2006-03-16 Stepan Kasal <kasal@ucw.cz>
891 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
893 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
894 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
895 why IFS is restored so late; thank you, Ralf, for reminding us.
897 2006-03-15 Stepan Kasal <kasal@ucw.cz>
899 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
900 variables in the examples.
902 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
904 * doc/autoconf.texi (several sections): Cleaned up documentation for
907 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
909 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
910 failure condition for `$(cmd)' style command substitutions.
911 (Parenthetical command substition, Multiline parenthetical
912 command substition): Use it.
914 * doc/autoconf.texi (Special Shell Variables): Missing word.
915 Reported by Keith Marshall <keith.marshall@total.com>.
917 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
918 IFS even in case of empty `$PATH'.
920 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
922 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
923 `expr' away if there is nothing to do.
924 < --keywords >: Simplify and robustify argument handling.
925 Revert erroneous comment from 2005-08-23. Extend to allow
926 keyword negation with `!'.
927 Update help message. Remove broken code to prevent running
928 tests multiple times.
929 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
930 Update and fix the documentation accordingly.
931 * tests/autotest.at (Keywords): Renamed to..
932 (Keywords and ranges): .. this. Extended to make sure negated
933 keywords, keywords taken from AT_SETUP arguments, and numeric
934 test ranges work, and that matching is case-insensitive.
936 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
938 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
939 allow to pass unnamed structs even in C++.
940 (AC_CHECK_SIZEOF): Likewise.
941 Also fix quoting error in `AC_MSG_FAILURE' arguments.
942 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
943 struct): New tests for unnamed structs, each both native and
946 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
947 a structure inside a cast, for C++ conformance.
948 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
949 Also fix quoting error in `AC_MSG_FAILURE' arguments.
951 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
952 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
953 trying to execute the command `no'.
955 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
956 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
959 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
960 example. Do not emphasize `$%', it is hardly new and special.
961 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
963 * doc/autoconf.texi (Limitations of Usual Tools): Document
964 OpenBSD and traditional `grep' failure to handle multiple
965 patterns separated by newlines.
967 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
969 * doc/autoconf.texi (several sections): Add documentation for macros
972 2006-03-10 Eric Blake <ebb9@byu.net>
974 * doc/autoconf.texi (Obsolete Macros): Fix wording of
977 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
979 * doc/autoconf.texi: Use @acronym more consistently for acronyms
980 like BSD, GPL, LGPL. Fix minor English typos.
981 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
982 Mention that these macros are becoming obsolete.
983 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
984 Use more modern terminology for which standard is what.
985 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
987 (AC_PROG_CXX): Likewise.
988 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
989 Remove obsolete discussion about how to port to K&R.
990 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
991 the obsolescent AC_HEADER_STDC.
992 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
995 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
997 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
998 Remove stdin redirection from /dev/null to allow pipe to work.
1000 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
1002 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
1003 Require that /lib/cpp include stdio.h correctly. Solaris 10's
1004 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
1007 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1009 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
1010 HP-UX sed is 99 commands, not 100.
1011 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
1012 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
1013 newline for portability.
1014 * tests/torture.at (Torturing config.status): Also test 100
1015 AC_SUBST_FILE invocations. Fix test to actually verify the
1016 AC_CONFIG_FILES output.
1017 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
1018 command, label, and read-file `r' limits. Unify HP-UX spelling.
1020 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
1022 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
1024 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
1025 * tests/mktests.sh: Small shell portability fixes.
1027 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1029 * doc/autoconf.texi (Caching Results): Fix the examples to use a
1030 recommended quoting style and discard unwanted output.
1032 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
1034 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
1035 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
1036 cases, and to work around Tru64 expr bug.
1038 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1040 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
1041 expr bug that turns the result of a regex match into a number if
1044 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1046 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
1047 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
1048 in section `Specific Compiler Characteristics'.
1050 2006-03-04 Eric Blake <ebb9@byu.net>
1052 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
1055 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1057 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1058 order of variable initialization, so even the Solaris 2.6 shell
1059 can create a config header correctly. Fixes lots of test suite
1062 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1064 * doc/autoconf.texi (Text processing Macros): New node to
1065 document the m4sugar macros m4_re_escape, m4_tolower,
1066 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1068 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
1070 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1071 XrmInitialize (0) -> XrmInitialize ().
1072 Reported by Toshio Kuratomi.
1074 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1076 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1077 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1078 * doc/autoconf.texi (Programming in M4sh): Adjusted.
1079 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
1080 both macros are defun'ed so that required macros are evaluated
1083 * doc/autoconf.texi (Prerequisite Macros): State more precisely
1084 where a required macro will be expanded.
1085 (Coding Style): Another reason not to use `m4_define'.
1087 2006-02-21 Eric Blake <ebb9@byu.net>
1089 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1091 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1093 * doc/autoconf.texi (Looping constructs): New node, to
1094 document m4_for, m4_foreach, m4_foreach_w, and mention
1095 obsolete AC_FOREACH.
1096 (Obsolete Macros): Document AC_FOREACH.
1097 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1098 (m4_for): Fix to never loop (almost) endlessly, work correctly
1099 with arithmetic expressions in arguments, a step of zero or
1100 non-integer multiple of the interval, and avoid integer
1102 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1105 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1107 Add basic support for Erlang, both for configuring Erlang/OTP
1108 tools, and Erlang as a conf test language.
1109 * lib/autoconf/erlang.m4: New file.
1110 * lib/autoconf/autoconf.m4: Add erlang.m4.
1111 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1112 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1113 * NEWS: Add short description of new macros.
1114 * THANKS: Add Romain Lenglet.
1116 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1118 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1119 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1121 2006-02-15 Eric Blake <ebb9@byu.net>
1123 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1126 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1128 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1129 (_AS_CASE): Private helper macro.
1130 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1131 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1132 Fix syntax of AS_IF description
1133 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1134 for the AC_REQUIRE mess.
1135 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1138 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
1140 * doc/autoconf.texi: Minor style cleanup.
1141 Be consistent about spaces after commas.
1142 Insert [] where empty args look a bit funny.
1143 Fix some "i.e." and "e.g." usages.
1144 Try to avoid "X/Y" usages.
1145 Don't be pedantic about "ISO C99"; just say C99.
1146 Prefer GNU style for spaces in front of parens.
1147 (Function Portability): Comment about C89 versus C99
1148 signed integer division.
1149 (Particular Headers): Use current gnulib style for dirent
1152 2006-02-14 Stepan Kasal <kasal@ucw.cz>
1153 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1155 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1156 macros without parameters.
1157 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1158 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1159 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1161 (autoupdate): Updated to match AU_ALIAS fix.
1163 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1164 and Paul Eggert <eggert@cs.ucla.edu>
1166 * doc/autoconf.texi (Programming in M4sh): Document
1167 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1169 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1171 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1172 (AS_BOURNE_COMPATIBLE): ..this.
1173 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1175 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1177 * doc/install.texi (Defining Variables): Tighten up the
1178 CONFIG_SHELL wording.
1180 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1181 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1184 of (set -o) rather than testing whether (set -o posix) succeeds,
1185 to work around a bug in the AIX 5.3 shell. Problem originally
1186 reportd by Howard Chu for libtool.
1188 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
1190 * doc/autoconf.texi (Running the Compiler, Running the Linker):
1191 Changes the macro arguments in summaries to match the
1194 2006-02-04 Stepan Kasal <kasal@ucw.cz>
1196 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
1197 hint as ``a workaround for a bug.''
1199 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1201 * bin/autoreconf.in: New option `--no-recursive'.
1202 Improve wording for subpackages a bit.
1203 * doc/autoconf.texi (autoreconf Invocation): Updated.
1206 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1207 in environment of `configure', not the command line.
1208 Reported by Howard Chu <hyc@highlandsun.com>.
1210 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1212 * doc/autoconf.texi (Limitations of Builtins): Document the
1213 problem with "trap -".
1215 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
1217 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1218 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1219 messages to differentiate Fortran and Fortran 77 tests.
1220 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1221 AC_LANG_ASSERT, to allow use in mixed-language projects.
1223 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1225 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1226 FOO" to "defined (FOO)".
1227 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1228 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1229 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1230 * tests/tools.at (ifnames): Likewise.
1232 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1234 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1235 * lib/Autom4te/General.pm (mktmpdir): Likewise.
1236 (END): Improve error message a bit.
1237 Reported by Bruce Korb <bkorb@gnu.org>.
1239 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1241 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1242 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1244 2006-01-11 Stepan Kasal <kasal@ucw.cz>
1246 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1247 requires sys/stream.h. Reported by Oliver Kiddle.
1249 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1250 Stepan Kasal <kasal@ucw.cz>
1252 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1253 before the removals of test dirs, use `find' to avoid modification
1254 of symlinked directories.
1256 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1258 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1259 Don't ignore the macro arguments.
1261 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
1263 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1264 declaration that works for MSVC.
1266 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1268 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1269 Add `*.map' and `.inf' for Green Hills compiler.
1270 Reported by Stefan Seefeld <stefan@codesourcery.com>.
1272 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1273 correctly: pad with spaces after FIRST_PREFIX if necessary,
1274 and compute string lenghts with `m4_qlen' instead of `m4_len'.
1275 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1276 * tests/m4sh.at (AS_HELP_STRING): Test extended.
1278 Reported by numerous people, numerous times.
1280 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
1282 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
1283 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
1284 * lib/autoconf/general.m4, lib/autoconf/status.m4:
1285 * lib/autotest/general.m4, tests/local.at:
1286 Update copyright year to 2006.
1288 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
1290 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
1291 for file names, again. Reported by Noah Misch.
1292 (Coding Style): Explain that s|a|b| is preferred for file names.
1293 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
1294 (AC_OUTPUT_MAKE_DEFS): Likewise.
1295 * lib/autotest/general.m4 (AT_INIT): Likewise.
1296 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
1297 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
1299 Fix Posix-conformance bugs re use of { command in sed scripts,
1300 and improve the sed-related documentation a bit.
1301 * doc/autoconf.texi (Installation Directory Variables): Use
1302 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
1303 rather than "sed" when talking about Sed in general.
1304 (Particular Programs): Likewise.
1305 (Coding Style): y is like s with respect to / and ,.
1306 (Limitations of Usual Tools): Document the weird restrictions
1307 that Posix has about { }. Use better quoting.
1308 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
1309 Rewrite to conform to Posix rules about { } in sed scripts.
1310 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
1311 * tests/foreign.at (Libtool): Likewise.
1312 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
1313 Use our own style advice re 's,a,b,' versus 's|a|b|'.
1315 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1317 * lib/autoconf/status.m4: Fix typo.
1319 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1320 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
1321 `-def', for the benefit of Portland `pgf90 -Mipa'.
1322 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
1324 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
1326 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
1327 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
1328 shell from zsh to bash.
1330 2005-12-31 Stepan Kasal <kasal@ucw.cz>
1332 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
1333 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
1335 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
1337 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
1338 parentheses in $(...). Problem reported by Eric Blake.
1340 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
1342 * doc/autoconf.texi (Limitations of Usual Tools):
1343 Mention which characters can be escaped with \ in portable regular
1344 expressions used in grep, sed, expr. Mention the leading ^ problem
1345 with expr. Clean up some confusing wording. Mention which
1346 grep options are portable.
1348 2005-12-09 Stepan Kasal <kasal@ucw.cz>
1350 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
1352 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1354 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
1355 patch, noted by Ralf Wildenhues.
1357 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1359 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
1360 posix' unconditionally, for pdksh in `native sh' emulation.
1362 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1364 * doc/autoconf.texi (Shellology): Document eval $? problem
1366 (Limitations of Builtins): Likewise.
1368 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1370 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
1371 CONFIG_SHELL in the environment of the configure rerun.
1372 * doc/autoconf.texi (Here-Documents, config.status Invocation):
1373 Suggest passing CONFIG_SHELL absolute, and in the environment
1374 rather than as option.
1376 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1378 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1379 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
1380 Fix macro quoting. Fix output for n * 98 substituted variables.
1382 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1384 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
1385 `tmp' to avoid file removal race.
1387 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1389 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
1390 ac_clean_files and LIBOBJS.
1392 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1394 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
1395 Factor functionality to..
1396 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
1397 `AC_SUBST($1)' in the public version.
1398 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
1399 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
1402 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1404 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
1407 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1409 * NEWS: Move AH_HEADER mention to right place.
1411 2005-10-27 Stepan Kasal <kasal@ucw.cz>
1413 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
1414 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1416 2005-10-25 Stepan Kasal <kasal@ucw.cz>
1418 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
1419 conftst2.$ac_objext.
1420 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1422 2005-10-24 Stepan Kasal <kasal@ucw.cz>
1424 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
1425 conftest.o, to see whether the compiler really obeys; rm the object
1426 file before and after the test and register it with ac_clean_files.
1427 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1429 2005-10-21 Stepan Kasal <kasal@ucw.cz>
1431 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
1432 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
1433 code so that the most common case requires less forks.
1435 2005-10-20 Stepan Kasal <kasal@ucw.cz>
1437 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
1438 not portable; thanks to Paul Eggert and Alexandre.
1440 * NEWS: Fix an old typo.
1442 2005-10-20 Jim Meyering <jim@meyering.net>
1444 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
1445 the latter'', in two places.
1447 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
1449 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
1450 AC_LANG_PROGRAM, fixing a typo. Don't give details about
1451 the inner workings of AC_LANG_FUNC_LINK_TRY.
1452 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
1453 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
1454 by the function rather than ignoring it.
1455 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
1456 comparing its address. Intel's interprocedural optimization was
1457 outsmarting the old heuristic. Problem reported by
1460 2005-10-19 Stepan Kasal <kasal@ucw.cz>
1462 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
1464 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1466 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
1467 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
1469 2005-10-04 Stepan Kasal <kasal@ucw.cz>
1471 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
1472 before removing it (chmod -R u+rwx); there are three instances of this.
1474 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1475 Stepan Kasal <kasal@ucw.cz>
1477 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
1478 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
1479 make its content writable before removing it. Remove an errorneous
1480 comment from the end, where the logs of the failed tests are copied
1481 to the main log file.
1483 2005-09-27 Stepan Kasal <kasal@ucw.cz>
1485 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
1486 in case the computer is too quick. Double quote the configure.ac
1489 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
1490 problems if the testsuite were running too fast.
1492 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1494 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1495 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1496 (which belong to Xt, not X itself). See Debian bug 327655.
1497 * NEWS: Mention this.
1499 2005-09-07 Stepan Kasal <kasal@ucw.cz>
1501 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
1503 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
1505 * config/move-if-change: Don't output "$2 is unchanged";
1506 suggested by Ben Elliston. Handle weird characters correctly.
1508 2005-09-06 Stepan Kasal <kasal@ucw.cz>
1510 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
1511 calls, so that the final expansion of this macro is shorter.
1512 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
1513 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
1514 the cleanup there. Use AS_VAR_* macros, to be more general.
1515 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
1517 * lib/autoconf/general.m4: Use AS_IF where appropriate.
1519 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
1521 2005-09-01 Stepan Kasal <kasal@ucw.cz>
1523 * doc/autoconf.texi (Configuration Headers): Add an index entry
1526 2005-08-26 Pavel Roskin <proski@gnu.org>
1528 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
1529 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
1532 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
1534 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1535 The previous patch didn't work, so try a better one.
1537 2005-08-26 Stepan Kasal <kasal@ucw.cz>
1539 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
1540 in the example. Reported by Bruno Haible.
1541 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
1542 "if $undefined_var;" succeeds with my shell.
1544 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
1545 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
1546 but change the m4_divert_text to m4_divert_once.
1548 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
1550 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1551 Work around bug in Solaris /usr/xpg4/bin/awk.
1552 The bug is present in at least Solaris 8 through 10.
1554 2005-08-24 Stepan Kasal <kasal@ucw.cz>
1556 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
1557 some evil values and relying on the fact that $* concatenates the
1558 parameters by the first character from IFS.
1560 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1561 Stepan Kasal <kasal@ucw.cz>
1563 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
1564 first header appears, define AH_HEADER.
1565 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
1566 Update limitations about when to call AC_CONFIG_HEADERS.
1567 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
1568 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
1569 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
1570 ``Configuration Actions''; fix their index entries.
1572 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
1573 options correctly. Process N-M as M-N if M is smaller than N.
1574 Process ranges correctly so that N-N will run only N.
1575 Sort and uniquify the tests that will be run. If there is more
1576 than one test, reinsert the banners for the tests.
1577 * tests/autotest.at (Keywords): Unmark XFAIL.
1579 2005-08-23 Stepan Kasal <kasal@ucw.cz>
1581 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
1582 before passing the macro name to AH_TEMPLATE.
1584 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
1585 now opens log after option processing; in particular, --version
1586 and --help do not touch config.log.
1588 * Makefile.maint: Revert the change from 2005-08-12.
1590 2005-08-22 Stepan Kasal <kasal@ucw.cz>
1592 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
1594 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
1596 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1598 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
1599 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
1602 * doc/autoconf.texi (Defining Symbols, Changed Results):
1603 Prepend to LIBS, not append, in examples.
1605 2005-08-16 Stepan Kasal <kasal@ucw.cz>
1607 When building in place, set srcdir="."; suggested by Tim Van Holder.
1609 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
1610 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
1611 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
1612 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
1613 does not mean "no --srcdir option".
1615 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1617 * tests/autoscan.at (autoscan): New file.
1618 * tests/suite.at: Use it.
1619 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
1620 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
1622 * tests/autotest.at (Keywords): Test keywords combinations.
1624 2005-08-12 Stepan Kasal <kasal@ucw.cz>
1626 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
1627 add "2>&1"; gzip 1.2.4 prints help on stderr.
1629 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1631 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
1632 was pushdef'ed twice while popped only once. Push it only once.
1633 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
1635 2005-07-26 Stepan Kasal <kasal@ucw.cz>
1637 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
1638 prefixed by mere "===", not "configure: === ".
1640 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1642 * Makefile.maint: Update from Bison.
1644 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
1645 "<tab>" in comment, so that the point is understandable.
1647 2005-07-25 Stepan Kasal <kasal@ucw.cz>
1649 Rewrite substantial part of lib/autoconf/status.m4.
1650 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
1651 and CONFIG_COMMANDS are not processed in four separate loops.
1652 Instead, there is one main loop. This alows that the common code
1653 is expanded only once, thus config.status (and configure) is smaller.
1655 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
1656 the AC_LIST_FILES and cousins macros are no longer used.
1658 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
1659 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
1660 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
1661 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
1662 contain the initialization, nor the for loop, nor the associated
1663 commands; all these go to ...
1664 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
1665 _AC_OUTPUT_CONFIG_STATUS.
1666 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
1667 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
1668 (_AC_OUTPUT_FILE): The creation of the sed script ...
1669 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
1670 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
1671 _AC_OUTPUT_MAIN_LOOP.
1672 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
1673 _AC_CONFIG_COMMANDS): Use ...
1674 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
1675 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
1676 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
1677 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
1678 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
1679 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
1681 (_AC_CONFIG_UNIQUE): Update.
1682 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
1683 Replaced by this ...
1684 (_AC_LIST_TAGS): ... new common macro.
1685 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
1686 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
1687 (_AC_LIST_TAG_COMMANDS): ... new common macro.
1688 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
1689 this didn't belong to the `config commands' section.
1690 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
1691 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
1692 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
1693 to the `config commands' section either.
1694 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
1695 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
1697 ... and many changes to the comments nearby.
1699 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
1700 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
1701 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1702 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
1703 (#define header templates): The comment at the top of the generated
1704 header now includes the name(s) of the source file(s).
1706 Several unrelated small changes:
1708 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
1709 parameter to AC_DIAGNOSE.
1710 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
1711 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
1712 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
1713 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
1715 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
1716 in AC_OUTPUT doesn't double-quote it either.
1717 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
1720 2005-07-10 Stepan Kasal <kasal@ucw.cz>
1722 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
1723 versions of Portland Group compiler produce single- and double-quoted
1724 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
1725 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1727 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1729 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1730 This is a corrected version of yesterday's patch.
1732 2005-07-07 Stepan Kasal <kasal@ucw.cz>
1734 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
1735 path, too; insert a "===" to emphasize the line.
1737 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
1738 ac_cv_build_alias to ac_build_alias.
1739 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
1741 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
1742 change eliminates it. Problem reported by Alexandre Duret-Lutz.
1743 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
1744 (AC_ARG_VAR): ... here.
1745 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
1748 Keep a list of all precious variables and process them with one simple
1749 for loop, instead of expanding all commands, or, OTOH, complicated
1750 processing of output of "set".
1751 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
1752 variable names in new macro...
1753 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
1754 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
1755 a loop to assign all ac_env_* and ac_cv_env_* variables.
1756 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
1758 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
1759 its value to shell variable ac_precious_vars and call
1760 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
1761 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
1762 _AC_ARG_VAR_VALIDATE.
1764 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
1765 and the AC_SUBSTs ...
1766 (AC_INIT): ... here.
1768 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
1769 the ac_subst_files section in config.log.
1771 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
1773 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
1775 * NEWS: New macro AC_C_TYPEOF.
1776 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
1777 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
1778 * tests/c.at (C keywords): Test AC_C_TYPEOF.
1780 Fix problems reported by Nicolas Joly.
1781 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
1782 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1783 They are generated by the Tru64 v5.1B shell.
1785 2005-07-05 Stepan Kasal <kasal@ucw.cz>
1787 Fix my changes from 2005-07-01; reported by Noah Misch.
1788 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
1789 description, the macro now accepts only a single tag.
1790 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
1792 Fix cases when the varsions of Autoconf and Autotest don't match.
1793 Reported by Noah Misch.
1794 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
1795 at_top_builddir, for compatibility with older autotest.
1796 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
1797 is not set, use at_top_builddir, for compatibility with older
1798 versions of autoconf.
1800 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1802 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
1803 Problem reported by Patrick Welche.
1805 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1807 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
1808 sed substitution command, so that we allow | in program prefixes
1809 and program suffixes. (& is a problem anyway; we're not fixing
1811 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
1812 configure_input, top_builddir, srcdir, etc.
1813 * lib/autotest/general.m4 (AT_INIT): Likewise, for
1814 PATH_SEPARATOR in AUTOTEST_PATH.
1816 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1818 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
1819 for loop over config.site files using `set', to allow
1820 directory names containing IFS characters.
1822 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
1824 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
1825 directories with weird names. Apparently some people like living
1826 on the edge. However, improve the test that "pwd" actually does
1827 report a name for the working directory.
1828 * NEWS: Remove the claim that we test for funny chars in dir names.
1830 2005-07-01 Stepan Kasal <kasal@ucw.cz>
1832 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
1834 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
1835 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
1836 Now accept a single tag, not whitespace separated list.
1837 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
1839 2005-06-30 Stepan Kasal <kasal@ucw.cz>
1841 * doc/autoconf.texi (Configuration Headers): Change the explanation
1842 about #include <config.h>.
1843 (Generic Functions): Mention the Gnulib project.
1844 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
1846 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
1847 document to output the default config_* lists to config.status.
1848 Don't recognize option --file, if the functionality is not there.
1849 Likewise for --header; moreover, recognize --he and --h as shortcuts
1850 for --help in that case.
1852 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
1853 matches the order of execution. No code changed.
1855 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1857 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
1858 single-quoted -cmdline argument in Portland Group compiler.
1859 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1861 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1863 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
1865 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1867 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
1868 descriptors to child processes; reported by Norman Gray.
1870 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1872 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
1874 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
1875 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
1876 (AC_SUBST): Call it.
1877 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
1878 the directory specific variables; but don't call it for configure_input.
1880 2005-06-28 Derek Price <derek@ximbiot.com>
1882 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
1885 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1887 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
1888 directory have inherent problems with special characters like spaces,
1889 due to limitations in Make syntax. Problem reported by Alexandre
1891 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
1892 Also, fix Tru64 porting problem with shell patterns,
1893 reported by Ralf Wildenhues.
1895 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1897 * doc/autoconf.texi (Subdirectories): Fix markup typos.
1899 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1901 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
1903 Fix some more shell quoting problems. Prompted by a bug report
1904 from Justace Clutter.
1905 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
1906 variable into diagnostic. Make the diagnostic an error, not a warning,
1907 because we really don't support spaces and suchlike in dir names.
1908 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
1909 Don't worry about backslashes in srcdir; it can't happen now.
1910 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
1911 Simplify ac_optarg handling.
1912 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
1914 2005-06-22 Stepan Kasal <kasal@ucw.cz>
1916 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
1917 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
1918 * tests/atlocal.in: Propagate $EGREP and $SED.
1919 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
1920 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
1922 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
1923 that '\|' is not allowed in BREs; recommend using newline separated
1924 list of patterns instead of multiple -e options.
1926 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
1928 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
1930 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1932 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
1934 2005-06-21 Stepan Kasal <kasal@ucw.cz>
1936 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
1937 b, t, r, w commands require single space, while : cannot have any.
1938 (Special Shell Variables): Fix sed code this in the example.
1939 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
1940 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
1942 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
1943 expand to the empty list. Don't use two pairs of m4_changequote,
1946 2005-06-20 Derek Price <derek@ximbiot.com>
1948 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
1950 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
1952 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
1953 * doc/autoconf.texi:
1954 Don't mention Solaris versions so much, if a
1955 problem is common to all extant versions of Solaris. Say "SunOS
1956 4" instead of "SunOS" for SunOS 4.
1957 (awk): Mention more of the limitations of traditional Awk.
1958 (cat): Don't talk about cat -v.
1960 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
1962 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
1963 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
1964 but the implementation is entirely different and is designed
1965 to be compatible with glibc strverscmp.
1966 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
1968 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
1969 on Mac OS X 10.4 reported by Peter O'Gorman in:
1970 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
1971 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
1972 Use shell builtins rather than 'expr', to work around expr bug.
1974 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
1976 * doc/autoconf.texi: "filesystem" -> "file system".
1977 "behaviour" -> "behavior".
1978 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
1979 * lib/autoconf/general.m4: Omit blank after ":" sed command,
1981 * lib/m4sugar/m4sh.m4: Likewise.
1982 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
1983 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
1985 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
1986 (.x.1): Ignore the time stamp in the .TH line when deciding whether
1987 to update the man page. That way, we don't have to check in new
1988 man pages every month.
1990 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
1991 quotes and backslashes. Patch from Derek Price.
1993 2005-06-10 Derek Price <derek@ximbiot.com>
1995 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
1998 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
2000 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
2001 -u, since it outputs chatter if the input files are the same.
2002 Problem reported by Ralf Menzel.
2004 2005-06-08 Derek Price <derek@ximbiot.com>
2006 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
2007 renaming them since they are about to be redefined anyhow.
2009 2005-06-08 Derek Price <derek@ximbiot.com>
2011 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
2012 redefined M4 macros to this node. Document m4_include & m4_sinclude.
2013 Move m4_undefine to alphabetical order.
2015 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
2017 * README: Recommend GNU M4 1.4.3 or later.
2018 * doc/autoconf.texi (Introduction): Likewise.
2019 Reword to avoid some formatting glitches.
2020 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
2021 Clarify explanation of HP compiler bug.
2022 Redo example output tp match current CVS snapshot.
2023 Use @example.org in email addresses when the examples
2024 might get inadvertently cut-and-pasted into user code.
2025 Remove example of autom4te usage that doesn't seem to work now.
2026 Use modern AC_INIT (except when the example is meant to be
2027 shown with Autoconf 2.13).
2028 Update ksh info for Solaris 9 and later.
2030 Modernize description of Automake versions a bit.
2031 Don't claim a future version of Autoconf is near.
2032 * doc/install.texi: Reword to avoid some formatting glitches.
2034 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2036 * doc/autoconf.texi: Add [] to examples, so that the manual
2037 follows its own advice about quoting better.
2038 Reword to avoid some formatting glitches.
2039 * doc/installt.exi: Reword to avoid some formatting glitches.
2041 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2042 Tru64 ksh pattern matching bug. Reported against Libtool by
2043 Albert Chin <libtool@mlists.thewrittenword.com> and
2044 Nicolas Joly <njoly@pasteur.fr>.
2046 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2048 m4_cdr of one-member list was [[]] (one-member list containing an
2049 empty string) instead of [] (an empty list. Callers were skewed to
2050 match this misbehaviour. As a consequence of this:
2051 - m4_foreach([x], [], [foo]) expanded to `foo', while
2052 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
2053 This bug has been fixed:
2055 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
2056 expand to an empty string; print error msg if called without
2058 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2059 misbehaviour; handle [] and [[]] correctly.
2061 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2063 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2064 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2065 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2067 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
2069 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2070 swallow records with more than 99 fields.
2071 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2072 parse the long line.
2074 2005-06-04 Stepan Kasal <kasal@ucw.cz>
2076 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2077 swallow literals longer than 399. Reported by Ralf Wildenhues.
2078 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2079 to workaround this limitation.
2081 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
2083 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2084 to gfortran, and make these the first two compiler names
2085 checked (following the general autoconf preference for gcc).
2087 2005-06-03 Stepan Kasal <kasal@ucw.cz>
2089 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2090 (DISTCLEANFILES): Remove $(check_SCRIPTS).
2091 (testsuite): Make sure autotest.m4f is up-to-date before using it.
2093 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
2095 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2096 expression of unbounded size when processing the --list
2097 option. This runs afoul of a limit of 399 bytes per regular
2098 expression on AIX. Problem reported by Ralf Wildenhues.
2100 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
2102 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2103 * doc/autoconf.texi (Particular Headers): Reword example
2104 for multiline stdbool replacement.
2105 (Setting Output Variables): Reword text a bit. Don't
2106 give all the details about |#_!!_#|.
2107 Reword description of line replacement.
2109 2005-05-31 Dan Manthey <dan_manthey@partech.com>
2111 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2112 now contain newlines, and substituted files must be referenced on
2113 a line alone; the sed scripts to substitute them are now very
2115 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2116 commands can be put in a sed script portably.
2117 * doc/autoconf.texi (Setting Output Variables): Document above
2118 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2119 use of multiline substitution.
2120 * tests/torture.at: No longer expect substitution of newline to fail.
2122 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
2124 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2125 From Ralf Menzel (trivial change).
2127 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
2129 * tests/local.at: Don't attempt to check for negated character
2130 classes in shell scripts. The test was too brittle.
2132 2005-05-25 Stepan Kasal <kasal@ucw.cz>
2134 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2135 * doc/autoconf.texi (Limitations of Builtins): Document this
2138 2005-05-24 Stepan Kasal <kasal@ucw.cz>
2140 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2141 common code; used in many places in the tree.
2142 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2143 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2145 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2147 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2148 messages when ac_unique_file is not found.
2149 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2150 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2151 commands, for consistency with AC_MSG_ERROR and such.
2153 * bin/autoconf.as: Make more use of "shift 2" in option processing.
2155 * bin/Makefile.am: Merge the two rules for creating scripts.
2157 2005-05-23 Stepan Kasal <kasal@ucw.cz>
2159 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2160 obsolete; it was never documented.
2161 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2163 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2165 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2166 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2167 (ac_top_builddir): ... this ...
2168 (ac_top_build_prefix): ... to this; the old name is also kept, for
2169 backward compatibility.
2170 (ac_top_builddir_sub): New variable, without the trailing slash,
2172 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2173 * doc/autoconf.texi (Configuration Actions): Rename
2174 ac_top_builddir to ac_top_build_prefix.
2175 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2176 at_top_builddir to at_top_build_prefix.
2177 * lib/autotest/general.m4 (AT_INIT): Likewise.
2179 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2181 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2184 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2186 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2187 argument to m4_foreach. I guess it was necessary in the past,
2188 but I think it's a no-op now.
2190 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2192 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2193 ``cat <<_ACEOF'' commands to one.
2194 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
2195 * lib/autoconf/status.m4: On various places, use expr instead of
2197 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
2198 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
2199 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2201 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2202 the wrong patterns between ``case'' and ``esac.'' The previous
2203 code had false positives.
2205 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
2207 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2209 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2212 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
2214 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2215 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2216 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2217 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2218 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2219 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2220 config/config.guess, config/config.sub, config/elisp-comp,
2221 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2222 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2223 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2224 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2225 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2226 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2227 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2228 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2229 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2230 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2231 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2232 lib/autoconf/general.m4, lib/autoconf/headers.m4,
2233 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2234 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2235 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2236 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2237 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2238 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2239 lib/autotest/general.m4, lib/emacs/Makefile.am,
2240 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2241 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2242 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2243 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2244 tests/compile.at, tests/foreign.at, tests/fortran.at,
2245 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2246 tests/semantics.at, tests/suite.at, tests/tools.at,
2247 tests/torture.at, tests/wrapper.as:
2248 Update FSF postal mail address.
2250 2005-05-13 Stepan Kasal <kasal@ucw.cz>
2252 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2254 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2255 enough arguments, similarly as in m4_bpatsubsts.
2257 2005-05-12 Stepan Kasal <kasal@ucw.cz>
2259 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2262 2005-05-11 Stepan Kasal <kasal@ucw.cz>
2264 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2265 for absolute directory names in one loop.
2266 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2267 abbreviations of --version and --debug.
2269 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
2271 * doc/autoconf.texi (Autoconf Language): Be more precise about
2272 quoting rules. Problems noted by Stepan Kasal.
2273 Also, throughout this document, be more careful about white space.
2274 "blank", "white space", and "space" all have different meanings
2275 and we should be careful to say what we mean.
2277 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
2279 Fix C++ related problems reported by Werner Lemberg.
2280 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
2281 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
2282 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
2283 avoid problems with C++ and throw.
2284 * tests/compile.at: .cpp, not .cc.
2286 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2288 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2290 * doc/autoconf.texi (Generic Functions): Typos.
2292 2005-05-02 Gary V. Vaughan <gary@gnu.org>
2294 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
2295 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
2296 set by latest automake.
2298 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
2300 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
2301 outputs 0 on GNU/Linux these days.
2303 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
2305 * doc/autoconf.texi (Autoconf Language): Add more description
2306 about quoting heuristics.
2307 (Limitations of Builtins): Describe "set -" problems.
2309 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2311 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
2314 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
2315 by AC_DEFINE; it was a mistake.
2316 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
2318 2005-04-25 Stepan Kasal <kasal@ucw.cz>
2320 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2322 2005-04-22 Stepan Kasal <kasal@ucw.cz>
2324 * doc/autoconf.texi (External Software): Quadrigraphs are not
2325 processed correctly in AS_HELP_STRING; avoid this in the examples.
2326 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
2327 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
2328 comment and reduce m4_default([foo], []) to [foo].
2329 (m4_strip): Update the explanation.
2331 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
2333 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
2334 Remove core.conftest.* too; it's generated by Tru64 5.1.
2335 Problem reported by Jennis Pruett.
2336 * lib/autoconf/functions.m4
2337 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2338 Don't bother to remove core files; AC_RUN_IFELSE should do that
2341 2005-04-19 Stepan Kasal <kasal@ucw.cz>
2343 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2345 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2347 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
2348 Report from Horst Wente.
2350 2005-04-15 Stepan Kasal <kasal@ucw.cz>
2352 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
2355 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
2357 * doc/autoconf.texi (External Software, Package Options): Add
2358 examples showing how to implement --with-* and --enable-* options.
2360 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
2362 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
2363 as well as configure.in. Problem reported by Gregorio Guidi.
2365 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
2367 * doc/autoconf.texi (Particular Functions): Use gnulib's current
2368 pattern for alloca snippet.
2370 2005-04-04 Stepan Kasal <kasal@ucw.cz>
2372 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2374 2005-04-01 Stepan Kasal <kasal@ucw.cz>
2376 * doc/autoconf.texi (Generic Programs): Fix a typo.
2378 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
2380 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
2381 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2383 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2385 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
2386 Merge `-z option' as well for the benefit of Solaris link flags. Pass
2387 whole-archive (-zallextract, -zdefaultextract) options in the hope of
2388 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
2389 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
2391 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
2393 * NEWS: The configure command now warns you if you attempt to use
2394 a directory whose name contains a special character like space,
2396 * doc/autoconf.texi (Installation Directory Variables): Allow
2397 "," in file names. Do not use \@; it's not a portable regexp.
2398 * bin/Makefile.am (edit): Likewise.
2399 * lib/Makefile.am (edit): Likewise.
2400 * tests/Makefile.am (edit): Likewise.
2401 * tests/semantics.at: Likewise.
2402 * tests/torture.at: Likewise.
2403 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
2404 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
2405 * doc/autoconf.texi (File System Conventions): Warn about
2406 unportable file names.
2407 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
2409 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
2410 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
2411 ac_pwd, and quote srcdir.
2412 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
2414 * doc/autoconf.texi: Fix some systematic formatting problems.
2415 ".)" needs a following @: if not at the end of a sentence, and
2416 similarly for "!)". "etc." should be preceded by a comma.
2417 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
2419 2005-03-22 Bruno Haible <bruno@clisp.org>
2421 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
2422 argument is often called 'build-aux'.
2424 2005-03-07 Stepan Kasal <kasal@ucw.cz>
2426 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
2427 macro AC_TRY_LINK is obsolete.
2428 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
2431 2005-02-24 Stepan Kasal <kasal@ucw.cz>
2433 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
2434 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
2435 from a Common Lisp's `cl'.
2436 (AC_PROG_CXX): Behave according to the documentation: don't
2437 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
2438 make the variable CCC precious; use `cl.exe', not `cl'.
2440 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2441 Alexandre Duret-Lutz <adl@gnu.org>
2443 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
2444 /dev/null, as "configure" shouldn't read stdin, and this insulates
2445 us from problems (e.g., when testing for "cl"). Also, do this
2446 redirection before invoking "hostname" or "uname", and keep the
2447 original input stream available via...
2448 (AS_ORIGINAL_STDIN_FD): ... this new macro.
2449 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
2450 bother with "</dev/null" since it's now done at the top of
2452 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
2453 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2454 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2455 * doc/autoconf.texi (File Descriptor Macros): New section.
2456 (Printing Messages): Mention it.
2457 * tests/base.at (Input/Output): New test.
2459 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2461 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
2462 newline if neither \c nor -n work, as that would output two
2463 newlines. Prefer -n to \c. Reported by Stepan Kasal.
2465 2005-02-12 Stepan Kasal <kasal@ucw.cz>
2467 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
2468 This causes that any required macros inside will get before the if.
2469 * doc/autoconf.texi (autom4te.cache): A typo.
2471 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
2473 Undo previous change, except keep the change to
2474 lib/autoconf/programs.m4 that replaced grep with shell
2475 pattern-matching. This is because net-snmp configure reads stdin.
2476 Reported by Noah Misch.
2478 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
2480 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
2481 from /dev/null, as "configure" shouldn't read stdin, and this
2482 insulates us from problems (e.g., when testing for "cl").
2483 Suggested by Alexandre Duret-Lutz. Also, do this redirection
2484 before invoking "hostname" or "uname".
2485 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2486 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
2487 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
2488 "</dev/null" since it's now done at the top of 'configure'.
2489 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2490 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2491 Also, replace grep with shell pattern-matching, to save a process.
2493 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
2495 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2496 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
2497 avoid thinking that Allegro Common Lisp's "cl" command is a C++
2500 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
2502 * doc/autoconf.texi (Limitations of Usual Tools): Document that
2503 grep -q isn't portable. Improve grep -s explanation.
2504 Problem reported by Dan Manthey.
2506 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
2508 * doc/autoconf.texi (Special Shell Variables): Clarify
2509 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2511 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
2513 * doc/autoconf.texi: Use @acronym for DJGPP.
2514 Fix some @code's that should have been @env's, and vice versa.
2515 Sort environment variable names.
2516 Mention that shells no longer inherit IFS.
2517 Don't recommend PATH_SEPARATOR=';' so strongly.
2518 Mention that $RANDOM might expand to the empty string.
2519 "symlink" and "soft link" -> "symbolic link".
2520 Improve mktemp description (reported by Bruno Haible).
2522 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
2524 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
2525 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
2527 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
2530 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
2532 * NEWS: Mention AT_COPYRIGHT.
2534 * tests/local.at (AT_CMP): Use diff directly on input files rather
2537 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
2538 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2540 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2541 and Paul Eggert <eggert@cs.ucla.edu>
2543 * tests/autotest.at (Empty test suite): New test.
2544 * tests/torture.at (Substitute and define special characters)
2545 (Substitute a 2000-byte string, Define to a 2000-byte string)
2546 (Substitute a newline, Define a newline): New tests.
2548 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2550 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
2551 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
2552 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
2553 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
2554 (Standard regular expressions): New test.
2555 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
2556 excess test name quoting.
2557 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
2558 CPPFLAGS to `configure' instead of setting it in `configure'.
2560 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
2561 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
2564 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
2565 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
2567 * tests/local.at (AT_CMP): New macro.
2568 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
2569 (AC_SAVE_STATE): Move environment grep...
2570 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
2571 (AT_CONFIG_CMP): New macro.
2572 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
2573 * tests/c.at (Extensions): Do not exit early.
2574 * tests/atlocal.in: Inherit $GREP.
2576 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
2577 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
2579 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
2580 (AC_COPYRIGHT): Factor header comment portion out and move into...
2581 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
2582 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
2583 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
2585 * tests/local.at: Add Autoconf test suite copyright notice.
2586 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
2588 2005-02-04 Bruno Haible <bruno@clisp.org>
2589 and Paul Eggert <eggert@cs.ucla.edu>
2591 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2593 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2595 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
2596 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
2598 Try not to generated lines of unlimited length, as POSIX places a
2599 2047-byte limit on line length of portable text files.
2600 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
2601 Use newline as a separator, not space.
2602 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
2603 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
2606 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2608 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
2609 as_func_*. Add test to check whether positional parameters
2610 are restored after function return.
2612 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2614 * doc/autoconf.texi (Special Shell Variables): Mention _,
2615 BIN_SH, DUALCASE. Say that variables other than "status" are safe
2616 if they contain a lower-case letter. The DUALCASE problem was
2617 reported by Ralf Wildenhues.
2619 * bin/autoconf.as: Don't exit with status 0 after write failure
2620 with --help or --version.
2621 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
2622 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2624 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2626 * doc/autoconf.texi (Limitations of Usual Tools):
2627 Unicos 9 sed limitations.
2628 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
2629 to get the option-enhanced interface on older Crays. Try ftn for
2630 Fortran 95 (newer Crays).
2632 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
2634 * man/Makefile.am (.x.1): Go back to the simple solution, but take
2635 care to echo the commands, so the user knows what's going on.
2636 Modified from a suggestion by Stepan Kasal.
2638 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
2639 with a cross reference. Derived from a suggestion by Bruce Korb.
2641 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
2643 * doc/autoconf.texi (config.status Invocation): Warn about
2644 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2645 * doc/install.texi (Defining Variables): Likewise.
2646 Based on a proposed patch by Ralf Wildenhues.
2648 * man/Makefile.am (.x.1): Make sure the required generated files
2649 are up to date. Problem and original solution proposed by Stepan Kasal.
2650 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
2651 implicit-man-prerequisites): New rules, used by the above.
2653 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2654 * config/config.guess, config/config.sub, config/install-sh: Likewise.
2655 * config/missing, config/texinfo.tex: Likewise.
2657 2005-01-29 Stepan Kasal <kasal@ucw.cz>
2659 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
2660 Update the long comment explaining it.
2662 m4_require no longer writes an ``is required by'' line to the
2663 execution stack. It contains only one bit of non-redundant
2664 information: that the macro was required, not called. And even
2665 this bit is useless in most situations: have you ever met a macro
2666 which both calls and requires the same macro?
2668 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
2669 (_m4_defun_pro_outer): ... only via this macro, for the outermost
2671 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
2672 (m4_expansion_stack_pop): Remove the misplaced comment.
2673 (m4_require): Don't put the ``is required by'' line to the
2674 execution stack; slightly improve the out-of-a-defun error message.
2675 (_m4_divert_grow): New macro, counter for the temporary diversions.
2676 (_m4_require_call): Use it.
2677 * tests/m4sugar.at (m4_require): Expect output without the
2678 ``is required by'' messages.
2680 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2682 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
2683 rather than x for expr.
2685 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
2687 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
2688 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2689 * lib/autotest/general.m4 (AT_INIT): Likewise.
2690 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
2691 * tests/mktests.sh: Likewise.
2693 2005-01-27 Akim Demaille <akim@epita.fr>
2695 Have autoheader honor --force.
2697 * doc/make-stds.texi, doc/standards.texi: Update from masters.
2698 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
2699 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
2700 from masters, so that FileUtils.pm's update_file provide --force
2702 * bin/autoheader.in: Pass $force to update_file so that
2703 config.h.in is always recreated when --force.
2705 2005-01-24 Stepan Kasal <kasal@ucw.cz>
2707 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
2709 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
2711 * doc/autoconf.texi (Limitations of Builtins): Clarify that
2712 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2714 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2716 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
2717 Warn about newline stripping in `` and $(). Update Solaris
2719 (Limitations of Builtins): Use expr "X...", not expr "x...", as
2720 X insulates us from future changes to Posix.
2721 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
2724 2005-01-19 Stepan Kasal <kasal@ucw.cz>
2726 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
2727 you cannot use AC_DEFINE to define macros containing `[' or `]'.
2729 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
2731 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
2732 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
2733 bug-tar mailing list.
2735 2005-01-05 Stepan Kasal <kasal@ucw.cz>
2737 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2739 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
2741 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
2742 ulongval to be static, to avoid unwanted GCC warning. Problem
2743 reported by Michael Jennings via Daniel Reed; see
2744 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2746 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2748 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
2749 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
2750 datadir, infodir, and mandir. Adjust argument parsing code.
2751 (_AC_INIT_HELP): Update help text.
2752 * doc/autoconf.texi (Installation Directory Variables): Document
2755 2005-01-04 Noah Misch <noah@cs.caltech.edu>
2757 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
2758 not seem to work, assume it does set $(MAKE).
2759 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2761 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2763 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2765 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2767 A cleanup of the diversion support in m4sugar.
2769 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
2770 (_m4_divert_n_stack): New macro; the expansion is
2771 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
2773 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
2774 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
2775 stored in _m4_divert_diversion or _m4_divert_dump.
2776 (m4_divert_pop): When the parameter is given, compare the symbolic
2777 name with the last diversion pushed on the stack. Previously, the
2778 current diversion was compared with the numeric value of the
2779 diversion given as the parameter.
2780 (m4_require): If the macro hasn't been expanded yet, call ...
2781 (_m4_require_call): this new macro.
2783 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2785 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
2786 Workarounds for documented `case' limitations.
2788 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
2790 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
2791 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2793 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
2795 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
2796 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2797 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
2799 Patch from Roger Leigh (with some minor changes) as follows:
2800 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
2801 Resurrect AC_PROG_CC_STDC.
2802 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
2803 AC_PROG_CC_C89, AC_PROG_CC_C99.
2804 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
2805 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
2806 AC_PROG_CC_C99): New macros.
2807 (AC_PROG_CC_STDC): Use them.
2808 (_AC_PROG_CC_STDC): Remove.
2809 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
2810 * THANKS: Add Roger Leigh.
2812 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2814 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
2815 signals that the package uses Automake; a `Makefile.am' is typical but
2816 not essential. Reported by Magnus Therning.
2817 * tests/torture.at (autoreconf.): New banner.
2818 (autoreconf and non-AC configure): Rename to `Non-Autoconf
2820 (autoreconf an empty directory): Rename to `Empty directory'.
2821 (Unusual Automake input files): New test.
2823 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2825 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
2826 (AT_SETUP): Clear AT_capture_files.
2827 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
2828 (AT_KEYWORDS): Fix comment typo.
2829 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
2830 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
2831 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2833 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
2835 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2836 If the variable to set is already set, set ac_cv_path_$1
2837 to the preset value so caller can assume ac_cv_path_$1
2838 is available. (trivial change)
2840 2004-12-27 Noah Misch <noah@cs.caltech.edu>
2842 * BUGS (Minor Problems): Warn about makefile limitations.
2843 * Makefile.am: Find and update `INSTALL' in $(srcdir).
2844 * man/Makefile.am: Find and update manual pages in $(srcdir).
2846 2004-12-24 Eric Blake <ebb9@byu.net>
2848 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
2849 shells in subshell, to avoid noise from ash. (trivial change)
2851 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2853 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2854 problems with SunOS ksh and backslash escaping, Bourne shells and
2855 closing brackets (both within character classes). Bug reported
2856 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
2857 <read>: New entry. Mention non-availability of -r.
2859 2004-12-21 Akim Demaille <akim@epita.fr>
2861 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
2862 avoid cluttering displayed messages. Rather, prepend srcdir where
2863 AT_LINE is used for log files.
2865 2004-12-21 Stepan Kasal <kasal@ucw.cz>
2867 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
2868 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
2869 no longer part of the macro, quote the occurrence of ``$tmp''.
2870 * doc/autoconf.texi (Forbidden Patterns): Typo.
2872 2004-12-21 Akim Demaille <akim@epita.fr>
2874 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
2875 separated from the test title by forcing a white space.
2877 2004-12-21 Akim Demaille <akim@epita.fr>
2879 Enable Emacs navigation within testsuite.log files.
2881 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
2882 use the compilation mode.
2883 (AT_LINE): Point to the srcdir.
2885 2004-12-19 Noah Misch <noah@cs.caltech.edu>
2887 * tests/Makefile.am (installcheck-local): Use $(bindir).
2888 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
2889 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
2890 Makefile.am scheme Autoconf now uses.
2892 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2894 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
2895 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2897 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2899 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
2900 (_AT_CHECK): Use it.
2901 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
2902 (AS_ESCAPE): Fix comment.
2903 * tests/autotest.at: Adjust section banner comments.
2904 (AT_CHECK_AT): Accept STATUS and STDERR.
2905 (AT_CHECK_AT_TEST): Likewise.
2906 (Invalid brace-enclosed parameter expansion)
2907 (Multiline command from M4 expansion)
2908 (Double-M4-quoted command): New tests.
2910 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
2912 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2914 2004-12-17 Akim Demaille <akim@epita.fr>
2916 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
2918 Suggested by Alexandre Duret-Lutz.
2919 * doc/autoconf.texi (Setting Output Variables): Catch up.
2921 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2923 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2925 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2927 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
2928 remove the comment which said we cannot.
2930 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2932 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
2933 Reini Urban and Paul Eggert for reporting the dependencies.
2935 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
2936 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
2937 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2939 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2941 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
2942 so that eg. ``autoscan --help'' doesn't truncate it.
2944 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
2946 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2947 generated conftest files.
2949 2004-12-13 Noah Misch <noah@cs.caltech.edu>
2951 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
2952 tracing on commands with possibly-escaped newlines.
2953 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
2954 discontinued behavior and its implications.
2955 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
2956 (BSx641-newline in command, BS-BS-newline in command)
2957 (BSx640-newline in command, Newline-CODE-BS-newline in command)
2958 (Single-quote-BS-newline in command)
2959 (Single-quote-newline-BS-newline in command): New tests.
2961 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2963 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
2964 on platforms where it works.
2965 (_AS_TEST_PREPARE): Test for ``test -x''.
2966 (_AS_BROKEN_TEST_PREPARE): Nuke.
2968 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2970 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
2971 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
2972 give only 4-letter prefix to AS_TMPDIR, comment fixed.
2973 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
2974 create the temporary directory.
2975 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2977 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
2979 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
2982 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
2984 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2986 2004-12-11 Noah Misch <noah@cs.caltech.edu>
2988 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
2989 to avoid using a negated character class. Reported by Nicolas Joly.
2990 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2992 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
2994 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
2995 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
2996 Don't depend on .x file explicitly, since "make" does that for us.
2997 Suggested by Stepan Kasal.
2999 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
3001 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
3002 ifnames): Factor common code. And they said it couldn't be done!
3004 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3006 * bin/.cvsignore: Add autoconf.in.
3007 * tests/.cvsignore: Add wrapper.in.
3008 * lib/autotest/general.m4: Escape '$' in case pattern.
3010 2004-12-09 Noah Misch <noah@cs.caltech.edu>
3012 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
3014 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
3016 * tests/autotest.at: New file.
3017 * tests/suite.at: Include it.
3018 * tests/Makefile.am: Distribute it.
3020 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
3021 shell tracing on a command that could contain multiple lines.
3022 * doc/autoconf.text: Document that fact and its implications.
3023 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
3024 * tests/autotest.at (Multiline backquote command substitution,
3025 Multiline parameter expansion, Literal multiline command,
3026 Multiline parenthetical command substitution): Remove XFAIL.
3028 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
3030 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
3031 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
3033 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3035 * configure.ac (test suite): Cease to generate wrapper scripts.
3036 * configure: Regenerate.
3037 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
3038 (m4f_dependencies): Adjust accordingly.
3039 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
3040 (wrapper.in): Generate it in the build directory.
3041 (MAINTAINERCLEANFILES): Delete wrapper.in.
3042 (CLEANFILES): Add wrapper.in.
3043 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
3044 the output. Replace each $as_me with a @wrap_program@.
3045 * tests/wrapper.in: Delete it; we always build it.
3047 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
3048 (EXTRA_DIST): Remove autoconf.in.
3049 (CLEANFILES): Add autoconf.in.
3050 (autoconf): Find autoconf.in in the build directory.
3051 * bin/autoconf.in: Delete it; we always build it.
3053 2004-12-08 Noah Misch <noah@cs.caltech.edu>
3055 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
3056 PATH members so as to not prepend an empty element. Move a comment.
3057 * Makefile.am (SUBDIRS): Build in `tests' last.
3058 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3060 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
3062 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3063 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
3064 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3065 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3067 2004-12-07 Stepan Kasal <kasal@ucw.cz>
3069 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3072 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
3074 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3075 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
3076 * doc/autoconf.texi (Particular Functions): Mention new behavior.
3078 2004-12-03 Stepan Kasal <kasal@ucw.cz>
3080 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3081 out the common code to ...
3082 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3083 value of the #define--default to 1, iff the macro was called
3084 with exactly one parameter.
3086 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
3088 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3089 "char c = '\200';" rather than "char c = 0x80;" as the
3090 latter doesn't conform to the strict C standard due to
3091 overflow on signed char hosts.
3093 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3094 to -qlanglvl=ansi. We don't want to disable extensions.
3096 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
3098 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3099 (Using Autotest, testsuite Scripts, Writing testsuite.at):
3100 Reword slightly to avoid some English-language problems noted
3101 by Ralf Wildenhues in:
3102 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3104 2004-11-29 Stepan Kasal <kasal@ucw.cz>
3106 * NEWS: Add ^L above each release.
3108 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
3110 Fix documentation problems reported by Russ Boylan in
3111 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3112 along with some nearby cruft.
3113 * doc/autoconf.texi (Libtool): Libtool can be used without
3114 Automake (not without Autoconf).
3115 (Introduction): Mention lists.gnu.org.
3116 * BUGS: Don't mention bugs.gnu.org.
3117 Remove mention of ancient libtool compatibility problem.
3118 * NEWS: Mention that bugs.gnu.org is kaput.
3119 * README: Likewise. Mention where mailing list archives can be found.
3121 2004-11-28 Stepan Kasal <kasal@ucw.cz>
3123 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3124 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3126 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
3128 * doc/autoconf.texi (Pretty Help Strings): Go back to
3129 single-quoting assignments to cache variables.
3131 2004-11-23 Stepan Kasal <kasal@ucw.cz>
3133 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3134 with the examples; fix the bug in MY_ARG_WITH example reported
3135 by Alexandre Duret-Lutz.
3136 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3137 expansion of $1 in the comment emitted to configure.
3139 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
3141 * doc/autoconf.texi (Pretty Help Strings): Fix typo
3142 in my editing of the previous patch. Problem reported
3143 by Alexandre Duret-Lutz.
3145 2004-11-22 Stepan Kasal <kasal@ucw.cz>
3147 * doc/autoconf.texi (Autoconf Language): Explain that
3148 ``descriptions'' may not be double quotes.
3149 (Quotation Rule Of Thumb): Likewise.
3150 (Pretty Help Strings): Likewise; remove the wrong comment;
3151 simplify the examples and improve their quoting.
3153 2004-11-13 Stepan Kasal <kasal@ucw.cz>
3155 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3156 the $1_found variable, don't test whether the file is executable;
3157 Both things are checked ...
3158 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3159 the former ``test -f''.
3160 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3162 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
3164 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3167 2004-11-10 Derek R. Price <derek@ximbiot.com>
3169 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3170 limitations. Reorder paragraphs for clarity.
3172 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
3174 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3175 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3176 variants", "Unix", and some related minor wording fixups.
3178 (Shellology, Special Shell Variables): Document that the Zsh
3179 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
3180 to Alexandre Duret-Lutz for this info.
3182 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
3184 * doc/autoconf.texi (One-Shot Macros): New node.
3186 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
3188 * doc/autoconf.texi (Function Portability): Fix misdescription
3189 of putenv. Problem reported by Michael Wardle.
3191 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
3193 * doc/autoconf.texi (auindex): New macro.
3194 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
3195 Problem reported by Stepan Kasal.
3197 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
3199 Fix problems reported by Andreas Buening in:
3200 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3201 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3203 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3204 readable; it's not true in OS/2-emx.
3206 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
3208 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3209 "/usr/include", clear ac_x_includes instead of leaving it as "no"
3210 (trivial change). Problem and patch reported by Andrew Church in:
3211 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3213 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
3215 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3216 three args in examples. Problem reported by Frederik Fouvry in:
3217 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3218 Also, fix some minor spacing and punctuation bugs.
3220 2004-09-02 Akim Demaille <akim@epita.fr>
3222 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3223 "case" to restore ordering.
3224 Reported by Stepan Kasal.
3226 2004-08-26 Akim Demaille <akim@epita.fr>
3228 * doc/autoconf.texi: Minor typos and stylos.
3230 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3232 * configure.ac (AC_INIT): Bump to 2.59c.
3234 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3238 * README: Add advice about m4 1.4.2.
3240 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3241 texinfo.tex for now (done by hand now).
3242 * Makefile.maint (wget_files, cvs_files):
3243 Remove ansi2knr.c; nobody uses it.
3244 (ansi2knr.c-url_prefix): Remove.
3245 (cvs-update): Fix test for failure. I don't know why it ever
3248 * doc/autoconf.texi: Update URLs, some of which went stale.
3249 Use @uref rather than @href.
3251 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3252 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
3254 * config/config.guess, config/config.sub, config/elisp-comp,
3255 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3256 doc/fdl.texi, doc/standards.texi: Sync with master copy.
3258 * NEWS, TODO, configure.ac, bin/autoscan.in,
3259 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3260 doc/install.texi, lib/Autom4te/Configure_ac.pm,
3261 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3262 lib/autoconf/programs.m4, lib/autoconf/status.m4,
3263 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3264 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3265 tests/tools.at, tests/torture.at:
3266 Use "file name" rather than "filename" or "path",
3267 to be consistent with the terminology of the GNU coding standards.
3269 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
3271 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3272 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3273 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
3274 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3276 More fixes to support spaces in the name of the build directory.
3277 This isn't a complete fix but it's an improvement.
3279 * bin/autoconf.as (autom4te_options): New var.
3280 Use it instead of appending to AUTOM4TE, so that we can allow
3281 spaces in the build directory's absolute name.
3282 * bin/autoheader.in ($autoconf): Allow spaces in file names.
3283 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
3284 AT_CHECK_NOESCAPE): Likewise.
3285 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
3286 main program): Likewise.
3288 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
3290 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
3291 From Ralf Corsepius in:
3292 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
3294 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
3296 * doc/autoconf.texi (Function Portability): Document isinf and
3297 and isnan. From a suggestion by Kevin Ryde.
3299 * lib/Autom4te/General.pm (END): Return correct exit status even
3300 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
3302 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
3304 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
3305 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
3306 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
3308 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3310 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
3311 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
3312 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
3313 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
3314 * lib/autom4te.in (Automake-preselections): Preselect
3315 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
3317 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
3319 * lib/autom4te.in (Automake-preselections): Preselect
3320 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
3323 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
3325 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
3327 * doc/autoconf.texi (Shellology): Mention BIN_SH.
3328 Document problem with "`""`" in pdksh POSIX mode.
3330 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
3332 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
3333 with pdksh, too. Problem reported by Patrick Welche via
3335 * doc/autoconf.texi (Shellology): Note that set -o posix is
3336 useful for pkdsh, too.
3338 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
3340 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
3341 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
3342 Don't fail if ENV or BASH_ENV is readonly.
3343 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
3344 etc. are read only. Problem reported by Ludovic Courtes.
3346 2004-06-23 Noah Misch <noah@cs.caltech.edu>
3348 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
3349 zsh, disable GLOB_SUBST to avoid backslash handling problems.
3352 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
3354 * doc/autoconf.texi (File System Conventions): Warn about
3355 names like "aux". Problem reported by Eric Blake.
3357 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
3358 by zero instead of array size, so that we can use any arithmetic
3359 constant expression (instead of requiring an integer constant
3360 expression). This allows us to test expressions like DBL_MAX <
3361 LDBL_MAX, which didn't conform to the C standard using the old
3363 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
3364 now that we can do floating-point tests at compile time.
3366 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
3368 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
3369 and LDBL_EPSILON, as the resulting expression isn't an
3370 integer constant expression and violates the C standard.
3371 Problem reported by Nelson H. F. Beebe. Also, check
3372 for "L" suffix, and check that long double doesn't have
3373 worse range or precision than double, that mixed-mode
3374 arithmetic doesn't generate a diagnostic, that double
3375 constants fit in long double.
3377 2004-06-03 Kevin Ryde <user42@zip.com.au>
3379 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
3380 malloc(0) and realloc(NULL,size).
3382 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
3385 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
3387 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
3388 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
3391 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
3393 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
3394 can be rewritten using if-then-else. Suggested by Bruno Haible.
3396 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
3398 * doc/autoconf.texi (testsuite Scripts): Fix typo.
3399 Problem reported by Stepan Kasal.
3401 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
3403 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
3404 change). Patch reported by Ralf Wildenhues in
3405 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
3407 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
3408 function F exists if the compiler and linker let you compile an
3409 expression like (F != 0). Recent versions of GCC optimize away
3410 the reference to F in that case, since every function address must
3411 be nonzero, so the link succeeds even if F does not exist.
3412 Problem reported by Manu in
3413 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
3415 * doc/autoconf.texi (Systemology): Standardize on the spelling of
3416 "Unix". Many uses changed.
3417 (Limitations of Builtins): Explain better why the ! command isn't
3420 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
3422 * lib/autom4te.in (Automake-preselections): Preselect
3423 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
3425 2004-05-19 Kevin Ryde <user42@zip.com.au>
3427 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
3428 referencing AC_FUNC_STRERROR_R.
3430 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
3431 note pessimistic assumption when cross compiling.
3433 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
3435 * doc/autoconf.texi (Limitations of Make): Note that BSD make
3436 (until 2004) invoked subcommands with sh -e, contra POSIX.
3437 Reported by Kevin Ryde.
3439 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
3441 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
3442 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
3443 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
3444 `test -f " /usr/bin/grep"', which _always_ failed.
3445 (AC_PROG_SED): Ditto bogus PATH fix.
3446 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
3447 requires that grep correctly supports _multiple_ `-e' options, rather
3448 than stating only that grep should accept `-e'.
3450 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
3452 Port to C99, which requires that 'exit' be declared.
3454 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
3455 to ensure that stdlib.h is included.
3456 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
3457 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
3458 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3459 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3460 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3461 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
3462 when using 'exit' in a test; C99 requires that 'exit' be declared.
3464 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
3466 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
3467 now prefers 'grep' implementations that accept -e.
3468 (Limitations of Usual Tools): Describe problems of traditional
3469 egrep and fgrep with long input lines, and of traditional grep
3471 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
3472 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
3473 All callers changed. Append /usr/xpg4/bin to the PATH, for
3475 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
3476 the user with complaints about multiple -e options.
3477 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
3478 Define it with AC_PROG_GREP.
3479 * configure.ac (AC_PROG_GREP): Add.
3480 * lib/freeze.mk (GREP): New macro.
3482 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
3484 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
3485 a possible candidate only after all others fail, rather than
3486 consulting it first. This improves backward compatibility by
3487 better reflecting the way shell selection occurred in previous
3488 versions of Autoconf, and should help to avoid triggering latent
3489 problems in other packages, such as the one in Automake where zsh
3490 is not handled robustly:
3491 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
3492 Although it is not Autoconf's responsibility to work around
3493 problems in Automake, it nevertheless makes sense to avoid
3494 introducing unnecessary incompatibilites.
3496 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
3497 Gary V. Vaughan <gary@gnu.org>
3499 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
3500 how deeply nested we are when a suitable tool is found, set the
3501 ac_path_TOOL_found flag.
3502 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
3503 nested we are in this macro. Break out of all 3 nested loops if
3504 ac_path_TOOL_found is set.
3506 2004-04-21 Gary V. Vaughan <gary@gnu.org>
3508 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
3509 of the _AS_PATH_WALK loop too if GNU flavor is found.
3511 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3513 * doc/autoconf.texi (Limitations of Make): Update documentation
3514 for `$<'. New entry `Long lines', based on a report from Simon
3515 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
3516 paragraph about DJGPP, based on a mail from Richard Dawe.
3518 2004-04-20 Paul Eggert <eggert@twinsun.com>
3520 * tests/c.at (C keywords): Don't assume that GCC supports
3521 "restrict" and "inline", as sufficiently-old GCC versions do not
3522 (also, GCC configured to be in pedantic C89 mode does not).
3523 Problem reported by Sumit Pandya in:
3524 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
3526 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
3527 consider -g to work if it generates warnings when plain compiles
3528 don't. Problem reported by Braden McDaniel in:
3529 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
3531 * doc/autoconf.texi (Slashes): New section, to document a problem
3532 reported by Jim Meyering in:
3533 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
3535 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
3536 linker output files before linking, to work around IRIX 6 linker bug.
3537 Problem reported by Rainer Orth in:
3538 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
3540 2004-04-20 Gary V. Vaughan <gary@gnu.org>
3542 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
3543 best tool so far counter rely on the tool path variable name to
3544 avoid checks for one tool being affected by the results of running
3545 the length check on a previous tool.
3547 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
3548 match expression argument, as different greps have different
3549 regular expression flavours.
3550 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
3552 (AC_PROG_EGREP): Pass 'EGREP$'.
3553 (AC_PROG_GREP): Pass 'GREP$'.
3555 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
3557 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
3558 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
3560 2004-03-29 Paul Eggert <eggert@twinsun.com>
3562 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
3563 Types, Specific Compiler Characteristics, System Services,
3564 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
3565 etc. consistently instead of 'long', 'short', 'unsigned' etc.
3566 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
3567 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
3569 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
3570 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
3571 AC_TYPE_OFF_T): Likewise.
3572 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
3575 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
3576 pacify libtool 1.5.2. Fix quoting problems in sed command.
3578 2004-03-28 Paul Eggert <eggert@twinsun.com>
3580 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
3581 now defines HAVE_DECL_TZNAME if it is declared, when
3582 HAVE_STRUCT_TM_TM_ZONE is not defined.
3583 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
3584 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
3587 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
3589 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
3590 superfluous backslashing of quotes (") in sed expressions;
3591 thanks to Paul Eggert.
3593 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
3595 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
3596 Fortran compiler is ifort, also added pghpf; thanks to Nelson
3597 H. F. Beebe for the bug report.
3599 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
3601 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
3602 quoted -cmdline argument in Portland Group compiler (bug
3603 reported by Jeffrey J. Barteet).
3605 2004-03-25 Kevin Ryde <user42@zip.com.au>
3607 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
3608 (Run Time): ... here, where it's now mentioned.
3610 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
3612 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
3613 inherits from language Autoconf-without-aclocal-m4.
3614 (Customizing autom4te): Adjust example; the cache must now be
3615 disabled for language Autoconf-without-aclocal-m4.
3617 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
3618 Nathanael Nerode <neroden@twcny.rr.com>
3620 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
3621 AC_CHECK_TOOLS): Warn if a cross-tool is found without
3623 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3624 AC_CHECK_TARGET_TOOLS): New macros.
3625 * doc/autoconf.texi (Generic Programs): Document
3626 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3627 AC_CHECK_TARGET_TOOLS, and warn for future changes
3628 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
3630 (Specifying Names): Document the reason for these future
3632 * tests/mktests.sh: Do not generate tests for the
3634 * NEWS: Document these changes.
3636 * doc/autoconf.texi: Avoid macros with unbraced arguments,
3637 they make TeX hang up.
3639 2004-03-15 Paul Eggert <eggert@bogus.example.com>
3641 * NEWS: New macro AC_CHECK_ALIGNOF.
3642 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
3643 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
3644 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
3646 (AC_CHECK_ALIGNOF): New macro.
3647 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
3648 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
3651 2004-03-03 Paul Eggert <eggert@twinsun.com>
3653 * bin/Makefile.am (edit): Don't use $< in a context where
3654 POSIX doesn't require support for it. Use $@.in instead.
3655 Problem reported by Anthony N. Frasso in
3656 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
3657 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
3659 2004-02-23 Gary V. Vaughan <gary@gnu.org>
3661 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
3662 from the next generation of Libtool.
3663 * lib/autom4te.in (Autoreconf-preselections): Ditto.
3665 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3667 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
3668 is not always thread-safe. Report from Nathanael Nerode.
3670 2004-02-18 Paul Eggert <eggert@twinsun.com>
3672 Fix a dependencies problem, stemming from a Autoconf 2.59 build
3673 problem on QNX reported by Stephen Rasku in
3674 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
3676 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
3677 $(m4sh_m4f_dependencies); this removes a FIXME.
3678 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
3679 (MAINTAINERCLEANFILES): Split into pieces,
3680 one per related section. Add $(srcdir)/wrapper.in.
3682 2004-02-09 Paul Eggert <eggert@twinsun.com>
3684 * doc/autoconf.texi (Setting Output Variables): Emphasize that
3685 AC_SUBST provides no portable way to escape literal newlines.
3687 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
3688 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
3689 Darwin uses -lcrt2.o and there's little point to cataloging all
3690 the system variants. Partial fix reported by Andreas Waechter in:
3691 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
3692 for bug reported by Nelson H. F. Beebe in:
3693 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
3695 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
3697 * doc/autoconf.texi (AU_DEFUN): Fix English,
3698 suggested by Paul Eggert.
3699 * lib/autoconf/autoupdate.m4: Correct reference to
3700 acobsolete.m4, suggested by Alexandre Duret-Lutz.
3702 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
3704 * bin/autoupdate.in: Define __file__ so that warnings
3705 refer to the correct file.
3706 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
3707 the behavior of the third argument.
3708 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
3709 correctly the behavior of the third argument. Document
3710 what the three macros that AU_DEFUN defines do. Fix
3711 warning message when the third argument includes $0
3712 (reported by Alexandre Duret-Lutz).
3714 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3715 Eric Sunshine <sunshine@sunshineco.com>
3716 Paul Eggert <eggert@twinsun.com>
3718 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
3719 (AS_INIT): Output shell initialization there. Removed optional
3720 parameter. Expand _AS_SHELL_FN_SPY.
3721 (AS_INIT_WITH_SHELL_FN): Removed.
3722 (_AS_SHELL_FN_SPY): New macro.
3723 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
3725 (AS_SHELL_SANITIZE): Remove loop to find better shell
3726 and documentation for the parameter.
3727 (_AS_DETECT_BETTER_SHELL): Move it here.
3728 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
3729 (_AS_RUN): Move it here, support testing with eval.
3730 (AS_REQUIRE_SHELL_FN): Require shell functions when
3732 (_AS_LINENO_WORKS): Put around braces, we do not
3733 trigger the bash bug anymore.
3734 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
3735 use AS_INIT_WITH_SHELL_FN.
3736 * bin/autoconf.in, tests/wrapper.in: Regenerated.
3738 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3740 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
3741 * doc/autoconf.texi: Don't say that the third parameter
3743 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
3744 (AU_DEFUN): Honor the third parameter, create autoupdate
3745 macros with AU_DEFINE.
3746 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
3747 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
3748 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3749 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
3750 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
3751 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
3752 AC_XENIX_DIR): Likewise.
3753 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
3754 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
3755 * lib/autoconf/status.m4: Remove FIXME.
3756 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
3757 that the macro is not present anymore in the updated
3759 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
3762 2004-01-28 Paul Eggert <eggert@twinsun.com>
3764 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
3766 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
3767 2003 (except 1997) to the list of copyright years. This undoes
3768 the 2003-05-22 change, which removed the older years from the list.
3769 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
3771 2004-01-27 Gary V. Vaughan <gary@gnu.org>
3772 Albert Chin-A-Young <china@thewrittenword.com>
3774 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
3775 grep or ggrep program in PATH that accepts as long lines as
3777 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
3779 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
3780 egrep and fgrep respectively if $GREP -E/-F don't work.
3781 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
3782 _AC_PROG_GREP, and AC_PROG_SED.
3783 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
3784 longest input length accepted by a command.
3785 (AC_PROG_SED): Use it.
3786 * doc/autoconf.texi (Particular Programs): Document the changes.
3789 2004-01-27 Paul Eggert <eggert@twinsun.com>
3791 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
3792 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3793 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
3794 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3796 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
3797 bin/autoconf.in, config/Makefile.in, config/config.guess,
3798 config/config.sub, config/install-sh, config/mdate-sh,
3799 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
3800 lib/Makefile.in, lib/Autom4te/Makefile.in,
3801 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
3802 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
3803 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
3804 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
3805 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
3806 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
3807 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
3808 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
3809 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
3810 tests/actypes.at: Regenerate and/or sync with original
3813 2004-01-26 Paul Eggert <eggert@twinsun.com>
3815 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
3816 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
3817 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
3818 not <inttypes.h>. Problem reported by Tim Mooney in
3819 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
3820 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3823 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
3824 otherwise "make check" fails because it forbids cmp (I guess
3825 because cmp treats files as binary on DOS-like systems).
3827 * tests/mktests.sh: Update copyright date to 2004, since some tests
3828 have changed in 2004.
3830 2004-01-23 Gary V. Vaughan <gary@gnu.org>
3832 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
3833 non-truncating sed or gsed program in PATH.
3834 * tests/acprograms.at: Add it.
3835 * doc/autoconf.texi (Particular Programs): Document it.
3838 2004-01-15 Paul Eggert <eggert@twinsun.com>
3840 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
3841 -std1 disables some useful extensions on Tru64. Problem reported
3843 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
3845 2004-01-14 Paul Eggert <eggert@twinsun.com>
3847 * doc/autoconf.texi (Programming in M4sh): Document that
3848 AS_MKDIR_P succeeds if the destination is a symbolic link
3849 to an existing directory.
3850 (Limitations of Usual Tools): Note that mkdir -p might not
3851 succeed on symlinks to directories.
3853 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
3855 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
3856 * bin/autoheader.in: Grammar fix in message.
3857 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
3858 Test for dir before calling mkdir -p. (trivial changes)
3860 2004-01-13 Eric Blake <ebb9@byu.net>
3862 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
3863 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
3865 2004-01-10 Jim Meyering <jim@meyering.net>
3867 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
3869 2004-01-09 Paul Eggert <eggert@twinsun.com>
3871 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
3872 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
3873 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
3874 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
3875 AC_COMPILE_IFELSE, since we now assume our caller invokes
3876 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
3877 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
3878 of AC_RUN_IFELSE; this avoids the warning mentioned above.
3879 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
3881 2004-01-07 Paul Eggert <eggert@twinsun.com>
3883 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
3884 `"'...'"`, as it's confusing (and I suspect it may not work on
3885 some platforms). The code was incorrect anyway, as it assumed
3886 that \$ evaluated to itself in that context. Reported by
3887 Alexandre Duret-Lutz.
3889 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
3891 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
3892 and _LT_AC_TAGCONFIG.
3894 2004-01-06 Paul Eggert <eggert@twinsun.com>
3896 * doc/autoconf.texi (One Macro Call): Fix an incorrect
3897 example, and add more examples. Reported by Eric Sunshine.
3899 2004-01-05 Paul Eggert <eggert@twinsun.com>
3901 * doc/autoconf.texi (Limitations of Usual Tools):
3902 Remove warning against "rm -fr" introduced yesterday; it
3905 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
3906 autoscan, autoupdate, ifnames): Don't use chmod -w.
3907 * lib/Makefile.am (autom4te.cfg): Likewise.
3908 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
3911 2004-01-04 Paul Eggert <eggert@twinsun.com>
3912 Paolo Bonzini <bonzini@gnu.org>
3914 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
3915 by doing lineno substitution only on lines containing "$LINENO".
3917 2004-01-04 Paul Eggert <eggert@twinsun.com>
3919 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
3920 Use "rm -f" to remove conftest.sed, not plain "rm".
3921 Bug reported by David Relson in
3922 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
3924 * Makefile.am (autom4te-update):
3925 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
3926 * Makefile.maint (my-distcheck, do-po-update): Likewise.
3927 * doc/autoconf.texi (Guidelines): Likewise.
3928 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
3929 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
3930 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3931 * lib/autotest/general.m4 (AT_INIT): Likewise.
3932 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
3933 * tests/Makefile.am (clean-local): Likewise.
3934 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
3936 * doc/autoconf.texi (Limitations of Usual Tools):
3937 Warn against "rm -fr".
3939 2004-01-03 Paul Eggert <eggert@twinsun.com>
3941 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
3942 -c -o might not work. From a suggestion by Kevin Ryde.
3943 (C Compiler, Generating Sources, Limitations
3944 of Usual Tools, Limitations of Make, Making testsuite Scripts):
3945 Don't put '-o' after non-options, as POSIX doesn't allow this.
3946 Mention that cc's name might be gcc or c89 or whatever.
3948 2004-01-04 Kevin Ryde <user42@zip.com.au>
3950 * doc/autoconf.texi: Add various further index entries.
3952 2003-12-29 Paul Eggert <eggert@twinsun.com>
3954 * bin/autoreconf.in (autoreconf_current_directory):
3955 Fix typo: mkdir without umask arg.
3957 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
3959 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
3960 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
3961 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
3962 explanation clearer.
3964 2003-12-24 Andreas Schwab <schwab@suse.de>
3966 * doc/autoconf.texi (Default Includes): Fix misspelling of
3967 AC_INCLUDES_DEFAULT.
3969 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3971 * configure.ac: Test if sh -n works.
3972 * configure: Regenerate.
3973 * tests/atlocal.in: Store the result here.
3974 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
3975 tools.at, looking in atlocal's ac_cv_sh_n_works instead
3976 of explicitly testing.
3977 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
3978 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
3979 * tests/tools.at (Syntax of the shell scripts): Simplify
3980 using AT_CHECK_SHELL_SYNTAX.
3981 (Syntax of the Perl scripts): Remove definition of
3982 AT_CHECK_PERL_SYNTAX.
3984 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3986 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
3987 stderr to /dev/null.
3988 * bin/autoconf.in: Regenerate.
3989 * bin/wrapper.in: Regenerate.
3991 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
3993 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
3994 Extracted from AS_SHELL_SANITIZE.
3995 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
3997 (AS_SHELL_SANITIZE): Move reinvocation code from
3998 _AS_LINENO_WORKS, use it to find out if shell
4000 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
4002 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
4003 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
4005 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
4006 * bin/autoconf.in: Regenerate.
4007 * tests/wrapper.in: Regenerate.
4008 * tests/tools.at: Test the syntax of tests/autoconf
4009 and tests/testsuite.
4011 2003-11-24 Akim Demaille <akim@epita.fr>
4013 * config/announce-gen (&print_locations, &print_signatures)
4016 No longer rely on Gnus to inline the list of signatures: compute
4019 2003-11-24 Akim Demaille <akim@epita.fr>
4021 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
4022 override some files.
4023 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
4024 From Debian Autoconf 2.58.
4026 2003-11-24 Akim Demaille <akim@epita.fr>
4028 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
4030 From Debian Autoconf 2.58.
4032 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4034 * TODO: Remove already done things. Update the part about finding
4035 tools for the target.
4037 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4039 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
4040 Make wording more consistent.
4041 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4042 Explain the transition better.
4043 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
4044 the transition better.
4046 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
4048 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
4049 parameter of AU_DEFUN.
4050 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
4051 (AU_DEFUN): Remove the third parameter, it was not used.
4052 Use AC_DEFUN directly, not AU_DEFINE.
4053 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
4054 the expanded body, consistently with other macros such as AC_USG.
4056 2003-11-17 Paul Eggert <eggert@twinsun.com>
4058 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4059 into the initial confdefs.h, to work around a bug in NextStep 3.3
4060 patch 3 reported by Eric Sunshine.
4062 2003-11-15 Kevin Ryde <user42@zip.com.au>
4064 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4065 than $target since the latter is not usual, add guidelines on when to
4066 use or not use the system type.
4068 2003-11-12 Derek Price <derek@ximbiot.com>
4070 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4071 typo misrepaired by an auto-spellcheck.
4073 2003-11-12 Akim Demaille <akim@epita.fr>
4075 * bin/autoreconf.in (&parse_args): Don't call automake with
4076 --force-missing unless it actually supports it.
4077 From Debian #219336.
4079 2003-11-12 Akim Demaille <akim@epita.fr>
4081 * configure.ac: Bump to 2.59a.
4084 2003-11-06 Akim Demaille <akim@epita.fr>
4088 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
4090 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4091 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4092 and ac_abs_top_srcdir are absolute paths.
4093 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4095 2003-11-05 Akim Demaille <akim@epita.fr>
4097 * configure.ac: Bump to 2.58a.
4099 2003-11-05 Kevin Ryde <user42@zip.com.au>
4101 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4102 it provokes a warning from makeinfo about looking like a cross
4103 reference in info output.
4105 * doc/autoconf.texi (Function Portability): Add notes on signal
4106 handler return type, as per AC_TYPE_SIGNAL.
4108 2003-11-04 Akim Demaille <akim@epita.fr>
4111 * doc/standards.texi: Update from master.
4113 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4115 2003-11-04 Akim Demaille <akim@epita.fr>
4117 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4118 computing the absolute path to d1 in the source hierarchy: it may
4119 not exist at all. So don't cd into it.
4120 From Alexandre Duret-Lutz.
4121 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4123 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4124 From Paul Eggert, but named after Perl's IO::Spec->catfile.
4125 * doc/autoconf.texi (Programming in M4sh): Document.
4126 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4128 2003-11-03 Pavel Roskin <proski@gnu.org>
4130 * doc/autoconf.texi (Generic Structure Checks): Describe
4131 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4133 2003-10-31 Akim Demaille <akim@epita.fr>
4135 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4137 * doc/autoconf.texi (Language Choice): Document.
4138 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4139 the current language is Fortran.
4141 2003-10-31 Akim Demaille <akim@epita.fr>
4143 * bin/autom4te.in (&freeze): Use a less likely warning separator
4144 than `\n\n', so that `\n\n\n' is valid in warnings.
4145 Reported by Steve Huston.
4147 2003-10-28 Akim Demaille <akim@epita.fr>
4149 * Makefile.cfg (local_updates, executable-update): Tweak to be
4150 robust to parallel makes.
4151 Suggested by Alexandre Duret-Lutz.
4153 2003-10-27 Akim Demaille <akim@epita.fr>
4155 * Makefile.cfg (executable-update): New.
4156 (local_updates): Call it.
4158 2003-10-27 Akim Demaille <akim@epita.fr>
4160 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4161 Don't remove core.* as it may remove valid user files.
4162 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4163 (AC_FUNC_UTIME_NULL): Likewise.
4165 2003-10-23 Akim Demaille <akim@epita.fr>
4168 * config/config.guess, config/config.sub: Upgrade from masters.
4170 2003-10-23 Akim Demaille <akim@epita.fr>
4172 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4173 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
4176 2003-10-23 Akim Demaille <akim@epita.fr>
4178 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4179 Don't forget to remove conftest.err.
4181 2003-10-23 Akim Demaille <akim@epita.fr>
4183 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4184 same object file in $LIBOBJS.
4185 Reported by Alexandre Duret-Lutz & Derek Robert Price.
4186 * doc/autoconf.texi (Generic Functions): Adjust.
4188 2003-10-20 Paul Eggert <eggert@twinsun.com>
4190 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4191 Use 'eval', so that the resulting configure scripts work even if
4192 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4194 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4196 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
4197 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
4198 (_AC_LINK_IFELSE): Check the werror flag.
4199 * doc/autoconf.texi (Generic Compiler Characteristics): Document
4203 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4205 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4206 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
4207 override AC_LINK_IFELSE.
4209 2003-10-15 Paul Eggert <eggert@twinsun.com>
4211 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4212 pdksh 5.2.14. Bug reported by Ralf Corsepius.
4213 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4214 Mention /usr/dt/bin/dtksh on Solaris.
4215 (Shell Substitutions): Warn about $((...)).
4216 (Parentheses): New section.
4218 2003-10-15 Kevin Ryde <user42@zip.com.au>
4220 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4221 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
4223 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
4225 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4228 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
4230 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4231 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4233 2003-10-10 Andreas Schwab <schwab@suse.de>
4235 * bin/autoheader.in: Avoid empty first line in --version and
4237 * bin/ifnames.in: Likewise.
4239 2003-10-09 Paul Eggert <eggert@twinsun.com>
4241 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4242 Issue a more-informative diagnostic.
4243 Problems reported by Eric Sunshine.
4245 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4247 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4248 -mGLOB_options_string stuff for Intel ifc, which can cause
4249 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
4250 pattern-matching instead of grep.
4252 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4254 * doc/autoconf.texi: Document new FC Fortran macros.
4256 2003-10-08 Gary V. Vaughan <gary@gnu.org>
4258 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4259 that future autopoint/aclocal/automake/autoreconf will be able
4260 to trace to find where to install local m4 macros.
4261 * doc/autoconf.texi (Input): Document it.
4264 2003-10-06 Gary V. Vaughan <gary@gnu.org>
4266 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4267 -lcrtbegin.o to list of ignored flags and fix underquoting of
4270 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
4272 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4273 cache variable instead of $G77 to decide whether to include -O2,
4274 since $G77 is specific to Fortran 77.
4276 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4278 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
4279 free" flag. Re-order flags tested into rough order of popularity.
4281 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4283 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
4284 arguments so that it can be used with syntax identical to
4285 AC_PROG_F77, and so that we can more easily decide to
4286 remove/deprecate the DIALECT optional argument in the future if it
4288 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
4289 non-freeform-supporting compilers. Document freeform flags.
4291 2003-10-03 Akim Demaille <akim@epita.fr>
4293 * configure.ac: Look for emacs, not macs.
4294 Reported by Eric Sunshine.
4296 2003-10-03 Akim Demaille <akim@epita.fr>
4298 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
4299 * bin/autoreconf.in (autoreconf_current_directory): Create the
4300 AUX_DIR if needed, for sake of automake --add-missing etc.
4301 Suggested by Alexandre Duret-Lutz.
4303 2003-10-03 Akim Demaille <akim@epita.fr>
4305 * configure.ac: Quotation and formatting changes.
4306 (EMACS): Don't set it if it is not recent enough to support
4310 2003-10-02 Akim Demaille <akim@epita.fr>
4312 * bin/ifnames.in (&scan_file): Skip C++ comments.
4315 2003-10-01 Pavel Roskin <proski@gnu.org>
4317 * doc/autoconf.texi (Particular Structure Checks):
4318 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
4320 2003-10-01 Akim Demaille <akim@epita.fr>
4324 2003-09-30 Paul Eggert <eggert@twinsun.com>
4326 * lib/Autom4te/XFile.pm: Use Errno.
4327 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
4328 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
4330 2003-09-30 Akim Demaille <akim@epita.fr>
4332 * config/announce-gen (&print_news_deltas): Extracted from...
4333 (&print_changelog_deltas): here.
4334 (&news_file): Rename as...
4337 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
4339 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
4340 have been created when invoking the compiler.
4341 * tests/fortran.at (GNU Fortran 77): Quote $G77.
4343 2003-09-29 Akim Demaille <akim@epita.fr>
4347 * config/mkinstalldirs: Upgrade.
4349 2003-09-28 Paul Eggert <eggert@twinsun.com>
4351 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
4352 Problem reported by Lars J. Aas in
4353 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
4354 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
4355 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
4356 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
4358 2003-09-26 Akim Demaille <akim@epita.fr>
4360 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
4361 directory for AC_CONFIG_COMMANDS' first argument exists.
4362 This makes valid the invocation of _AC_SRCPATH that follows.
4363 Reported by Eric Sunshine.
4364 * doc/autoconf.texi (Configuration Commands): Adjust.
4366 2003-09-26 Akim Demaille <akim@epita.fr>
4368 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
4369 Reported by Ralf Corsepius.
4371 2003-09-26 Akim Demaille <akim@epita.fr>
4373 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
4375 Actually, use AU_ALIAS.
4378 2003-09-26 Paul Eggert <eggert@twinsun.com>
4380 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
4381 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
4382 Problem reported by Eric Sunshine in:
4383 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
4385 2003-09-26 Akim Demaille <akim@epita.fr>
4387 The test suite are sometimes assigning timings incorrectly.
4388 Reported by Henk Krus.
4389 Diagnosed by Nicolas Joly.
4391 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
4393 Instead of making AT_help a sequence of assignments to grow
4394 $at_help_all, just make AT_help_all be the growing contents of
4395 $at_help_all, and make a single assignment in...
4397 (at_times_skip): Flip the meaning and rename as...
4399 (AT_INIT): When summarizing the test that ran, remove
4400 $at_times_file after use, and check it is present before trying to
4403 2003-09-25 Akim Demaille <akim@epita.fr>
4407 * bin/Makefile.am (edit): Handle '@configure_input@'.
4408 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
4409 (ifnames): chmod -w.
4410 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
4411 executables, not bin/ executables! Otherwise all the magic needed
4412 to find non installed files is turned off. This caused a failure
4413 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
4414 as found in its environment (sent by tests/autoreconf): pointing
4415 to bin/autom4te that could not find its files.
4416 * tests/mktests.sh: Force the replacement of generated files, for
4417 the sake of "mv" program that are interactive when overwriting a
4419 * config/install-sh: Upgrade from CVS Automake.
4421 2003-09-23 Paul Eggert <eggert@twinsun.com>
4423 * doc/autoconf.texi (Limitations of Builtins): Document test -h
4424 versus test -L issues.
4426 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
4427 Paul Eggert <eggert@twinsun.com>
4429 Trivial change to support GCC's configuration procedure.
4430 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
4431 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
4432 about inconsistency if the preprocessor is set to give errors for
4434 * doc/autoconf.texi (C Compiler Characteristics): Document this.
4436 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
4438 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
4439 and XFile.pm from Automake.
4440 * lib/Autom4te/XFile.pm: Update from Automake.
4442 2003-09-12 Akim Demaille <akim@epita.fr>
4446 2003-09-12 Akim Demaille <akim@epita.fr>
4448 * config/config.guess, config/config.sub, config/missing,
4449 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
4452 2003-09-12 Akim Demaille <akim@epita.fr>
4454 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
4457 2003-09-11 Akim Demaille <akim@epita.fr>
4459 * doc/autoconf.texi (Header Portability): linux/random.h.
4460 From Peter Hendrickson.
4462 2003-09-10 Akim Demaille <akim@epita.fr>
4464 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
4465 willing to edit the output files.
4467 2003-09-10 Akim Demaille <akim@epita.fr>
4469 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
4471 * tests/mktests.sh: Skip AC_FC_SRCEXT.
4472 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
4474 2003-09-09 Akim Demaille <akim@epita.fr>
4476 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
4477 Reported by Gary Vaughan.
4478 * bin/autom4te.in (handle_m4): Likewise.
4480 2003-09-09 Akim Demaille <akim@epita.fr>
4482 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
4485 2003-09-07 Paul Eggert <eggert@twinsun.com>
4487 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
4488 Improve the accuracy of the wording about obsolescence.
4489 From a suggestion by Ian Lance Taylor in
4490 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
4492 2003-09-05 Paul Eggert <eggert@twinsun.com>
4494 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
4495 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
4497 2003-09-04 Akim Demaille <akim@epita.fr>
4499 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
4502 2003-09-04 Akim Demaille <akim@epita.fr>
4504 * bin/autom4te.in: Use &fatal where more appropriate than &error.
4505 (freeze): When exiting, use $exit_code.
4506 * lib/autoconf/fortran.m4: Comment changes.
4508 2003-09-04 Akim Demaille <akim@epita.fr>
4510 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
4512 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
4514 Add support for newer Fortran dialects. The F77 interface is
4515 unchanged, and continues to support Fortran 77. New FC macros
4516 correspond to all the old F77 macros, with output variables FC,
4517 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
4518 available dialect, but older dialects can be specified. There are
4519 new macros AC_FC_SRCEXT to set the source extension, and
4520 AC_FC_FREEFORM to accept free-form source files.
4522 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
4524 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
4525 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
4526 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
4527 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
4528 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
4529 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
4530 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
4531 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
4532 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
4533 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
4534 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
4535 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
4536 AC_FC_SRCEXT, AC_FC_FREEFORM):
4538 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
4539 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
4540 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
4541 Rewrite in terms of the above.
4542 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
4543 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
4544 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
4545 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
4547 2003-09-02 Paul Eggert <eggert@twinsun.com>
4549 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
4550 Document problems with timestamp resolution that 'make', 'cp -p', and
4553 2003-08-27 Akim Demaille <akim@epita.fr>
4555 * tests/m4sugar.at (cross_warning): Make sure to enable the
4556 output, so that we can track spurious m4sugar output.
4557 * tests/local.at: Require 2.57.
4558 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
4559 are defaulted by AT_CHECK anyway.
4560 Use AT_CHECK_AUTOM4TE.
4561 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
4564 2003-08-27 Akim Demaille <akim@epita.fr>
4566 * bin/autoheader.in: Issue the "Using auxiliary..." message only
4567 when -Wobsolete is set.
4568 Set it on by default.
4569 Suggested by Klee Dienes.
4571 2003-08-27 Akim Demaille <akim@epita.fr>
4573 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
4577 2003-08-26 Akim Demaille <akim@epita.fr>
4579 * doc/autoconf.texi (Output): Make clear that one can run code
4582 2003-08-25 Akim Demaille <akim@epita.fr>
4584 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
4587 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
4589 * bin/autoreconf.in (parse_args): Do not pass --no-force to
4590 Automake versions prior to 1.8.
4592 2003-08-25 Akim Demaille <akim@epita.fr>
4594 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
4597 2003-08-24 Akim Demaille <akim@epita.fr>
4599 * configure.ac: Bump to 2.57c.
4601 2003-08-22 Akim Demaille <akim@epita.fr>
4605 * Makefile.cfg (local-checks-to-skip): New.
4606 * Makefile.maint (local-check): Rename as...
4607 (local-checks-available): this.
4610 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
4611 * configure.ac: Require Automake 1.7.6.
4613 2003-08-22 Akim Demaille <akim@epita.fr>
4615 Output stack traces in warnings.
4617 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
4618 Replace the former...
4619 (m4_warn): Pass the call stack to _m4_warn.
4620 * bin/autom4te.in: Adjust to output the call stack.
4621 * tests/m4sugar.at (m4@&t@_warn): Adjust.
4623 2003-08-22 Akim Demaille <akim@epita.fr>
4625 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
4626 * bin/autom4te.in: Adjust.
4628 2003-08-21 Akim Demaille <akim@epita.fr>
4630 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
4632 (&getopt): Adjust the note and verb channels, depending upon
4634 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
4635 * bin/autoupdate.in: Adjust.
4636 Use &verb, not &verbose.
4638 2003-08-21 Akim Demaille <akim@epita.fr>
4640 * bin/autoheader.in (&parse_args): Use &parse_warnings and
4642 ($help): Use Autom4te::ChannelDefs::usage.
4643 * bin/autoscan.in: Use Autom4te::ChannelDefs.
4644 * lib/Autom4te/General.pm: Don't export error: you don't own it.
4646 2003-08-21 Akim Demaille <akim@epita.fr>
4648 First stab at preserving warnings between calls to autom4te,
4649 including when the cache is used.
4651 There are still several issues: (i) there are too many runs of m4
4652 (one for include, one for warnings, and some more), (ii) warnings
4653 spreading on several lines are not handled gracefully, (iii) the
4654 code meant to have the call stack display for errors does not work
4655 (its handling should move from m4 to autom4te).
4657 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
4659 (@preselect): Add m4_warn.
4660 ($exit_status): Remove, use $exit_code.
4661 ($help): Use Autom4te::ChannelDefs::usage.
4662 (&handle_m4): No longer define the m4_warnings.
4663 At each run, extract and report the warnings.
4664 Always cache the result, including if the exit status is on
4665 failure, since if nothing changes, we should result in the same
4666 failure, hence we can use the cache.
4667 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
4668 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
4670 (m4_warn): Redefine as a do-nothing: it is its invocation that
4671 matters, as warnings are now reported via traces.
4672 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
4673 the contents of m4_warn: make it _call_ m4_warn, so that tracing
4674 the latter reveals calls to the former.
4678 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
4680 2003-08-21 Akim Demaille <akim@epita.fr>
4682 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
4685 2003-08-21 Akim Demaille <akim@epita.fr>
4687 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
4689 * lib/Autom4te/ChannelDefs.pm: Doc typos.
4690 (&parse_warnings): Accept a list of warning requests.
4691 (&usage): Return a string, not a side effect.
4692 (cross): New warning category.
4694 2003-08-21 Akim Demaille <akim@epita.fr>
4696 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
4697 (&require_configure_ac): Accept an optional directory argument.
4698 ($configure_ac): Remove.
4699 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
4701 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
4702 * bin/autoscan.in: Adjust.
4704 2003-08-20 Akim Demaille <akim@epita.fr>
4706 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
4707 Reported by Alexandre Duret-Lutz.
4709 2003-08-20 Akim Demaille <akim@epita.fr>
4711 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
4712 * bin/autom4te: Adjust.
4713 In particular, be Autoconf tools are really silent when properly
4714 working, bind the verbosity of the 'note' channel to $verbose.
4715 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
4716 (&xsystem, &contents): Remove, since they are exported by...
4717 * lib/Autom4te/FileUtils.pm: this.
4719 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
4720 * lib/Autom4te/FileUtils.pm: here.
4722 2003-08-20 Akim Demaille <akim@epita.fr>
4724 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
4725 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
4728 2003-08-20 Akim Demaille <akim@epita.fr>
4730 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
4731 (autom4te-update): New.
4732 * Makefile.cfg (update): Bind autom4te-update.
4734 2003-08-19 Derek Price <derek@ximbiot.com>
4736 * lib/autotest/general.m4: Comment various HELP_* diversions.
4737 (PARSE_ARGS_BEGIN): New section for option parsing related
4739 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
4740 package specific options and associated help.
4742 2003-08-19 Akim Demaille <akim@epita.fr>
4744 * config/announce-gen, Makefile.cfg: New.
4745 * Makefile.am: Adjust.
4746 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
4748 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4750 * lib/autom4te.in (Automake-preselections): Preselect
4751 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
4754 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4756 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
4757 (Autoconf-without-aclocal-m4): ... this new language.
4758 * doc/autoconf.texi (autom4te Invocation): Mention
4759 Autoconf-without-aclocal-m4.
4761 2003-08-18 Derek Price <derek@ximbiot.com>
4763 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
4764 RUN-IF-PASS optional arguments.
4766 2003-08-18 Derek Price <derek@ximbiot.com>
4768 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
4770 2003-08-16 Derek Price <derek@ximbiot.com>
4772 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
4773 STDOUT & STDERR arguments.
4775 2003-08-14 Derek Price <derek@ximbiot.com>
4777 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
4778 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
4779 shorter column three. Add DESCRIPTION to log file content.
4781 2003-08-13 Derek Price <derek@ximbiot.com>
4783 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
4786 2003-08-12 Derek Price <derek@ximbiot.com>
4788 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
4789 (AT_CHECK_NOESCAPE): Move core functionality to...
4790 (_AT_CHECK): ...this new macro.
4792 2003-08-07 Derek Price <derek@ximbiot.com>
4794 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
4795 (AT_CHECK_NOESCAPE): ...to this new macro.
4797 2003-07-31 Paul Eggert <eggert@twinsun.com>
4799 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
4800 in Bash 2.01. Problem reported by Brian Gough in
4801 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
4803 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
4805 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
4806 -lcrt1.o, for OS X. (trivial change)
4808 2003-07-07 Paul Eggert <eggert@twinsun.com>
4810 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
4811 inside '#ifndef __cplusplus'. Problem reported by
4814 2003-07-06 Bill Clarke <llib@computer.org>
4816 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
4817 'long', not 'int', for benefit of Sun's recent C++ compilers
4818 (trivial change). See:
4819 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
4820 (This really should be 'intptr_t', not 'long', but that would
4823 2003-06-25 Akim Demaille <akim@epita.fr>
4825 * lib/Makefile.am (autom4te.cfg): Make it read only.
4826 Depend on Makefile since it contains substitutions.
4828 * lib/autom4te.in (args): Add local.at? for Autotest args.
4829 This change was made on autom4te.cfg which is generated.
4830 Reported by Raja R. Harinath.
4832 2003-06-25 Akim Demaille <akim@epita.fr>
4834 * doc/autoconf.texi (Header Portability): sys/mount.h.
4835 From Gareth McCaughan.
4837 2003-06-23 Akim Demaille <akim@epita.fr>
4839 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
4840 not all of them. This fixes 1. the fact that when testing
4841 Autoconf there are many many config.log, 2. the incorrect use of
4842 top_srcdir to find config.log.
4843 Don't mix the detailed output of failed test with the summary of
4844 failures. Rather, append detailed log afterwards.
4846 2003-06-23 Akim Demaille <akim@epita.fr>
4848 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
4849 always run: output config.log on $at_group_log.
4851 2003-06-23 Akim Demaille <akim@epita.fr>
4853 * tests/torture.at (#define header templates): Don't use quotes in
4854 C++ comments as it puzzles Emacs' sh font-lock-mode.
4856 2003-06-23 Akim Demaille <akim@epita.fr>
4858 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
4859 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
4860 * tests/atspecific.m4: Rename as...
4861 * tests/local.at: This.
4862 * tests/suite.at: Move the globals into...
4863 * tests/local.at: here.
4864 * tests/Makefile.am: Adjust.
4865 * doc/autoconf.texi (testsuite Scripts): Adjust.
4867 2003-06-21 Kevin Ryde <user42@zip.com.au>
4869 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
4870 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
4871 ensuring we add -std1 for full-ANSI.
4873 * doc/autoconf.texi (hdrindex): New macro.
4874 Add index entries for portability of various standard header files.
4876 2003-06-20 Akim Demaille <akim@epita.fr>
4878 * configure.ac: Bump to 2.57b.
4880 2003-06-20 Akim Demaille <akim@epita.fr>
4884 2003-06-20 Akim Demaille <akim@epita.fr>
4886 * bin/autom4te.in: Don't rely on $HOME being defined.
4887 Reported by Marc Espie as PR/233.
4889 2003-06-20 Akim Demaille <akim@epita.fr>
4891 * lib/autotest/general.m4: Use at_times_file only if used.
4894 2003-06-20 Akim Demaille <akim@epita.fr>
4896 * config/config.guess, config/config.sub, config/elisp-comp,
4897 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
4898 Update from masters.
4900 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
4902 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
4903 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
4904 (TEST_SCRIPT): New diversion.
4905 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
4906 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
4907 (AT_INIT): Support for expected failures.
4909 2003-06-02 Akim Demaille <akim@epita.fr>
4911 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
4913 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
4914 Autoconf nor Automake.
4915 (&contents): New, from Automake.
4918 2003-05-28 Paul Eggert <eggert@twinsun.com>
4920 * NEWS, doc/autoconf.texi (Particular Functions),
4921 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
4922 is the inverse of localtime.
4924 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
4926 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
4927 (handle_exec_errors): New function. Work around $! being
4928 altered by WEXITSTATUS.
4929 (xqx, xsystem): Use handle_exec_errors.
4931 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
4933 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
4934 Do not call `_exit()', simply modify `$?'.
4935 (xsystem): Reset $! before running system, and check it afterward.
4936 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
4937 63 for version mismatches.
4939 2003-05-23 Akim Demaille <akim@epita.fr>
4941 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
4942 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
4943 the middle of a line).
4944 * lib/m4sugar/m4sugar.m4: Likewise.
4945 Remove useless spaces in comments.
4947 2003-05-23 Akim Demaille <akim@epita.fr>
4949 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
4950 exit 63, so that we (or Automake's "missing") can tell the
4951 difference with a plain failure.
4952 * doc/autoconf.texi (Notices): Adjust.
4954 2003-05-23 Akim Demaille <akim@epita.fr>
4956 * Makefile.am, bin/Makefile.am, config/Makefile.am,
4957 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
4958 White spaces cleanup.
4960 2003-05-22 Jim Meyering <jim@meyering.net>
4961 Paul Eggert <eggert@twinsun.com>
4963 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4964 Remove `#include <stdlib.h>' from the list; we should never
4965 make confdefs.h include <stdlib.h> or <cstdlib>, because the
4966 resulting namespace pollution would cause other tests to fail.
4967 Configure scripts run with some older versions of g++ and HP's
4968 aCC would fail due to such an #include. Problems reported by
4969 Matthew Mueller in <http://bugs.debian.org/120704> and by
4971 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
4972 In the test, use the test declaration before including <stdlib.h>,
4973 as that's closer to how it'll be used.
4975 2003-05-23 Akim Demaille <akim@epita.fr>
4977 * doc/autoconf.texi (Header Portability): ucred.h.
4980 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4982 Overhaul Autotest's logging: generate separate log files
4983 in testsuite.dir/NNN/testsuite.log, and append them to
4984 testsuite.log instead of re-running the test verbosely.
4986 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
4987 file descriptor, write 0 to at_status_file instead of setting
4988 at_status=0, initialize some new variables (at_status_file,
4989 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
4990 to rerun the tests, instead append the at_group_log to the
4991 at_suite_log when a test fails.
4992 (AT_SETUP): pipe the test case's output into at_tee_pipe,
4993 with the AS_MESSAGE_LOG_FD redirected to stdout.
4994 (AT_CLEANUP): save the output status in $at_status_file
4995 and restore it, redirect the AS_MESSAGE_LOG_FD back to
4997 (AT_CHECK): since tests are run with a redirected stdout,
4998 and used to be re-run in verbose mode, turn some $at_verbose
4999 into echo, and don't redirect the output of testing stdout
5002 * lib/autotest/autoconf.texi (testsuite Scripts): Update
5003 the name of the debugging directory and information about
5006 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
5008 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
5011 2003-05-22 Akim Demaille <akim@epita.fr>
5013 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
5014 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
5015 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
5016 * lib/autoconf/status.m4: Fix and adjust copyright notices.
5018 2003-05-22 Akim Demaille <akim@epita.fr>
5020 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
5021 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
5022 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5023 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
5024 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
5025 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5026 * lib/autoconf/status.m4, lib/autoconf/types.m4,
5027 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
5028 * tests/atspecific.m4, tests/base.at, tests/compile.at,
5029 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
5030 * tests/tools.at, tests/torture.at:
5031 Whitespace clean up.
5032 Suggested by Jim Meyering.
5034 2003-05-22 Akim Demaille <akim@epita.fr>
5036 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
5037 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
5038 Reported by Jim Meyering.
5040 2003-05-22 Akim Demaille <akim@epita.fr>
5042 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
5043 Add AC_HELP_STRING to the obsolete macros section.
5045 Use '@.' for sentences that ended in a capital letter.
5048 2003-05-22 Akim Demaille <akim@epita.fr>
5050 * config/config.guess, config/config.sub, config/elisp-comp,
5051 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
5052 * config/texinfo.tex, doc/standards.texi: Update from masters.
5054 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
5056 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5059 2003-05-21 Akim Demaille <akim@epita.fr>
5061 * bin/autoupdate.in ($m4): Fix quotation.
5062 Reported by Martin Mokrejs.
5064 2003-05-19 Paul Eggert <eggert@twinsun.com>
5066 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5067 Remove non-ASCII characters.
5069 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
5071 * tests/semantics.at (AC_SEARCH_LIBS): New test.
5072 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5073 AC_CHECK_HEADERS_NEW): New tests.
5075 2003-05-17 Akim Demaille <akim@epita.fr>
5077 * lib/autoconf/functions.m4: Use the default includes so that
5078 memcmp be declared before being tested.
5079 Reported by Sander Niemeijer.
5080 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5081 * doc/autoconf.texi (Default Includes): Document
5082 AC_INCLUDES_DEFAULT.
5084 2003-05-17 Akim Demaille <akim@epita.fr>
5086 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5087 * doc/autoconf.texi (Obsolete Macros): Adjust.
5088 Reported by Werner LEMBERG and Debian Bug 190886.
5090 2003-05-16 Akim Demaille <akim@epita.fr>
5092 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5093 user name space clashes.
5094 Reported by Bruno Haible.
5096 2003-05-16 Akim Demaille <akim@epita.fr>
5098 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5099 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5100 them uniform, and more robust to Perl special characters.
5101 Reported by Martin Mokrejs.
5103 2003-05-14 Akim Demaille <akim@epita.fr>
5105 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5107 2003-05-14 Akim Demaille <akim@epita.fr>
5109 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5112 2003-05-12 Akim Demaille <akim@epita.fr>
5114 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5116 From Matthias Andree.
5118 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
5120 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5123 2003-05-06 Akim Demaille <akim@epita.fr>
5125 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5126 longer updates aclocal.m4 if useless, (ii) if a file m4_included
5127 by aclocal.m4 is changed it might require the importing of another
5128 m4 extension file, i.e., aclocal must be run.
5130 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5131 (&parse_args): Use --force with aclocal if required and supported.
5132 (&autoreconf_current_directory): Use &run_aclocal.
5134 2003-05-06 Akim Demaille <akim@epita.fr>
5136 Lock autom4te's cache.
5138 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5139 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5140 argument instead of a file name, so that the request file remains
5141 open during the whole autom4te run.
5142 ($icache_file): New.
5143 (&freeze): Lock the $icache_file.
5145 2003-04-29 Derek Price <derek@ximbiot.com>
5147 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5148 seperator with m4_append_uniq(). It doesn't work.
5149 (AT_CLEANUP): Add `;' to end of at_help_all.
5150 (AT_INIT): Allow --keywords to be specified more than once. When
5151 grepping $at_help_all for keywords, use the field and keyword
5152 seperators to ensure a complete keyword match. Alter at_prev handling
5153 to support the new --keywords behavior.
5155 2003-04-27 Karl Berry <karl@freefriends.org>
5157 * doc/autoconf.texi: Make the dir entries in the autoconf manual
5158 align better with others. I also made some of the individual
5159 entries on one line, for brevity and to make it easier for me to
5160 sort my dir-example file in the Texinfo distribution :).
5162 2003-04-12 Jim Meyering <jim@meyering.net>
5164 * NEWS: Mention the new macro.
5165 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5166 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5167 * tests/c.at: Test AC_C_RESTRICT.
5168 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5170 2003-04-08 Akim Demaille <akim@epita.fr>
5172 * bin/ifnames.in: Skip C++ comments.
5175 2003-04-08 Akim Demaille <akim@epita.fr>
5177 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5178 From Ilya Zakharevich.
5180 2003-04-08 Akim Demaille <akim@epita.fr>
5182 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5185 2003-04-01 Derek Price <derek@ximbiot.com>
5187 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5188 from Akim's checkin of 2003-03-29.
5190 2003-04-01 Derek Price <derek@ximbiot.com>
5192 * tests/torture.at (Configuring subdirectories): Add missing
5193 close-quote for Akim's change from 2003-03-28.
5195 2003-04-01 Akim Demaille <akim@epita.fr>
5197 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
5198 (AC, AT, MS): these.
5199 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5202 * doc/Makefile.am (CLEANFILES): Adjust.
5203 (TEXI2DVI): Make it --batch.
5205 2003-03-31 Derek Price <derek@ximbiot.com>
5207 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5208 which removed the main loop.
5209 Thanks to Akim Demaille.
5211 2003-03-29 Akim Demaille <akim@epita.fr>
5213 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5215 From Ilya Zakharevich.
5217 2003-03-29 Akim Demaille <akim@epita.fr>
5219 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5220 documentation to read is Autoconf's.
5221 Suggested by Paul Eggert.
5223 2003-03-28 Akim Demaille <akim@epita.fr>
5225 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5226 reading the section "Present But Cannot Be Compiled" when the
5227 header causes problems.
5229 2003-03-28 Akim Demaille <akim@epita.fr>
5231 * tests/torture.at (Configuring subdirectories): Require aclocal
5232 1.4, otherwise the test fails, as it does support configure.ac.
5233 This fixes the "test 40 failed" bug reports.
5235 2003-03-28 Akim Demaille <akim@epita.fr>
5237 * doc/autoconf.texi (C Compiler): `#line' portability.
5238 From Paul Eggert and Nelson H. F. Beebe.
5240 2003-03-27 Derek Price <derek@ximbiot.com>
5242 * lib/autotest/general.m4: Eliminate main loop and reorganize test
5243 layout in order to allow scripting around test groups.
5245 2003-03-27 Derek Price <derek@ximbiot.com>
5247 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5248 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5249 use new diversions in preparation for accepting new arguments and
5250 allowing scripting around tests.
5251 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5253 2003-03-26 Derek Price <derek@ximbiot.com>
5255 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5256 obsolete AC_HELP_STRING.
5257 (AC_HELP_STRING): AU_DEFUN to...
5258 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5259 * tests/m4sh.at (AS_HELP_STRING): New test.
5261 * tests/acgeneral.at: Regenerated.
5263 2003-03-26 Derek Price <derek@ximbiot.com>
5265 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5266 sense. Verbosify the diversion definitions comment.
5268 2003-03-26 Derek Price <derek@ximbiot.com>
5270 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5273 2003-03-21 Eric Siegerman <eric_97@pobox.com>
5275 * doc/autoconf.texi (Present But Cannot Be Compiled):
5276 Grammar fixes and minor rewording. (trivial change)
5278 2003-03-06 Paul Eggert <eggert@twinsun.com>
5280 Work around a problem noted by Nelson H. F. Beebe with coreutils
5281 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
5282 2002/05/09) rejects '#line 32768 "configure"' because the line
5284 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
5286 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
5287 * doc/autoconf.texi (Generating Sources): Document this.
5289 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
5291 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
5292 file name for the m4 program, when it has an "exe" file extension.
5293 DJGPP's error messages include the error code in brackets -
5294 remove the error code during normalization.
5296 2003-02-28 Akim Demaille <akim@epita.fr>
5298 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
5300 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
5302 * doc/autoconf.texi (Limitations of Make): Remove the section
5303 about `$<' in inference rules, it was a bogus interpretation of
5304 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
5305 Tru64 make in the "target lookup" section.
5306 (Automake): Automake 1.5+ no longer requires special tools to be
5307 present on the developer's host.
5309 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
5311 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
5312 to a shell that can handle redirection or quoting correctly.
5313 Override SHELL with the shell detected by configure.
5314 Use of $^O suggested by Tim van Holder.
5315 * bin/autom4te.in (BEGIN): Likewise.
5316 * bin/autoreconf.in (BEGIN): Likewise.
5317 * bin/autoscan.in (BEGIN): Likewise.
5318 * bin/autoupdate.in (BEGIN): Likewise.
5319 * bin/ifnames.in (BEGIN): Likewise.
5321 * bin/ifnames.in: Add final newline to help and version messages.
5323 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
5324 to cope with DOS-style absolute paths, when constructing
5327 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
5328 When constructing paths with IFS=:, quote the path. If we're
5329 constructing a DOS-style absolute path, we don't want to split it
5332 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
5335 2003-02-25 Pavel Roskin <proski@gnu.org>
5337 * bin/autoheader.in: Add missing newline when printing
5338 suggestion how change AC_DEFINE call.
5340 2003-02-24 Paul Eggert <eggert@twinsun.com>
5342 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
5343 2002-09-01 patch by replacing "test -n" with "test -z".
5344 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
5345 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
5347 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
5348 to fix a mismatch between example and discussion.
5350 2003-02-24 Kevin Ryde <user42@zip.com.au>
5352 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
5353 format starting with "-".
5355 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5357 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
5358 is not portable inside Makefile.
5360 2003-02-20 Akim Demaille <akim@epita.fr>
5362 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
5363 compiler says yeah, but preproc says nope, compiler is right.
5364 Conversely, prompt the reader to send a bug report to the
5365 maintainers of the package, not of Autoconf.
5367 2003-02-20 Klee Dienes <kdienes@apple.com>
5369 * bin/autoreconf.in (autoreconf_current_directory): Properly
5370 handle an empty aclocal.m4.
5372 2003-02-20 Akim Demaille <akim@epita.fr>
5374 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
5378 2002-12-23 Paul Eggert <eggert@twinsun.com>
5380 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
5381 innocuous variant befor including <limits.h> or <assert.h>. This
5382 works around a bug reported by Albert Chin: HP-UX 11i
5383 (and earlier versions) have a <limits.h> that declares
5384 gettimeofday and many other functions.
5386 2002-12-03 Paul Eggert <eggert@twinsun.com>
5390 * NEWS, configure.ac: Update version.
5392 * doc/fdl.texi: Upgrade to FDL version 1.2.
5394 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
5395 nontrivially in main's body, so that f's external declaration is
5396 not optimized away in AIX. This should fix the bug reported by
5398 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
5400 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
5401 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
5402 defined, to support freestanding compilers. This should fix the
5403 bug reported by Momchil Velkov in
5404 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
5406 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
5407 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
5408 obsolete AC_CHECK_TYPE. The missing empty arg was reported
5409 by Simon Josefsson in
5410 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
5412 * Makefile.maint (www-gnu): New macro.
5413 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
5414 the location has moved.
5416 2002-12-02 Martin Frydl <martin@systinet.com>
5418 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
5419 \(.*\) match is too long and there is something more to be checked.
5420 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
5422 2002-11-15 Akim Demaille <akim@epita.fr>
5426 * config/install-sh: chmod +x.
5428 * config/move-if-change: Indenting changes.
5429 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
5430 * configure.ac (AM_INIT_AUTOMAKE): here.
5433 2002-11-14 Akim Demaille <akim@epita.fr>
5437 * config/config.guess, config/config.sub, config/install-sh:
5438 Update from masters.
5440 2002-11-14 Akim Demaille <akim@epita.fr>
5442 * Makefile.maint: Sync with Bison, i.e.:
5443 (po-check): Scan .l and .y files instead of the
5444 .c and the .h files that they generate. This fixes the bug
5445 reported by Tim Van Holder in:
5446 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
5447 Look for N_ as well as for _. Try to avoid matching #define for
5451 2002-11-14 Akim Demaille <akim@epita.fr>
5453 * doc/autoconf.texi (C Compiler): Compiling several files at once.
5454 From Paul Eggert and Albert Chin-A-Young.
5456 2002-11-14 Akim Demaille <akim@epita.fr>
5458 * doc/autoconf.texi (C Compiler): Solitary backslashes.
5459 From Paul Eggert and Albert Chin-A-Young.
5461 2002-11-14 Kevin Ryde <user42@zip.com.au>
5463 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
5464 than assigning in main, to avoid HP cc +O3 optimizing it away.
5466 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
5468 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
5469 option. Process --recheck after parsing all options. Pass -q
5470 option to configure on --recheck.
5471 (AC_OUTPUT): Pass -q from configure to config.status.
5472 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
5473 arguments to record.
5474 * doc/autoconf.texi (config.status Invocation): Document
5475 config.status -q option.
5477 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
5479 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
5480 Makefile.in if Makefile.am exists.
5481 (output): Strip `.am' from Makefiles. Don't
5482 output AC_CONFIG_FILES if no Makefiles were found.
5484 2002-11-07 Akim Demaille <akim@epita.fr>
5486 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
5487 (local_updates): New.
5488 * Makefile.maint: Update, from CVS Bison.
5489 (local_updates): New.
5491 2002-11-06 Akim Demaille <akim@epita.fr>
5493 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
5494 declaration in extern "C" too.
5495 Reported by Roberto Bagnara.
5497 2002-11-06 Akim Demaille <akim@epita.fr>
5499 * tests/torture.at (Configuring subdirectories): Don't use grep
5501 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
5502 Reported by Ezra Peisach.
5504 2002-11-05 Akim Demaille <akim@epita.fr>
5506 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
5508 We _have_ to stop using the old compatibility scheme that tried to
5509 avoid useless backslashes because Libtool 1.4.3 contains a
5510 AC_DEFINE([error_t], [int],
5511 [Define to a type to use for \`error_t' if it is not
5512 otherwise available.])
5513 We _have_ to quote the single quote and backslashes with \. The
5514 old compatibility scheme saw that ` was backslashed, and therefore
5515 did not quote the single quote. Hence before this patch, Autoconf
5516 was not compatible with Libtool.
5518 2002-11-04 Paul Eggert <eggert@twinsun.com>
5520 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
5521 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
5522 LC_NAME, LC_PAPER, LC_TELEPHONE.
5523 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
5525 2002-11-04 Akim Demaille <akim@epita.fr>
5529 * Makefile.maint (update, cvs-update, po-update, do-po-update):
5531 * config/texinfo.tex: Update.
5533 2002-11-03 Akim Demaille <akim@epita.fr>
5535 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
5537 (&autoreconf): here.
5538 ($help, $make, &parse_args, &autoreconf_current_directory):
5540 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5542 2002-10-31 Bruno Haible <bruno@clisp.org>
5544 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
5545 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
5546 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
5547 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
5548 to ac_cv_func_realloc_0_nonnull.
5549 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
5551 2002-10-31 Akim Demaille <akim@epita.fr>
5553 The test suite was no longer checking for trailing envvars and files.
5555 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
5556 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
5558 2002-10-31 Akim Demaille <akim@epita.fr>
5560 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
5561 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
5562 Make variable, not a shell variable.
5563 Suggested by Bruno Haible.
5565 2002-10-31 Akim Demaille <akim@epita.fr>
5567 * bin/autom4te.in (load_configuration): Reject #args out of any
5570 2002-10-31 Akim Demaille <akim@epita.fr>
5572 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
5573 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
5574 (_AC_RUN_IFELSE): Use it.
5575 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
5576 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
5577 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
5580 2002-10-30 Akim Demaille <akim@epita.fr>
5582 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
5583 * doc/autoconf.texi (autom4te Invocation): Adjust.
5584 Suggested by Tim van Holder.
5586 2002-10-29 Paul Eggert <eggert@twinsun.com>
5588 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
5589 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
5590 Problem reported by Bruno Haible.
5592 2002-10-29 Akim Demaille <akim@epita.fr>
5594 * doc/autoconf.texi (Header Templates): Put also in words what the
5595 pictures says to assist free style readers.
5596 (Customizing autom4te): s/--cache=/--cache /.
5598 2002-10-29 Akim Demaille <akim@epita.fr>
5600 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
5602 sparc_address_test returns void.
5603 Use it with an argument, as prototyped.
5606 2002-10-29 Akim Demaille <akim@epita.fr>
5608 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
5609 configure.in, not configure.ac.
5610 Reported by Bruno Haible.
5612 2002-10-29 Akim Demaille <akim@epita.fr>
5614 * tests/torture.at (Deep Package): New test.
5615 (Configuring subdirectories): Don't use a testSubDir as Autotest
5618 2002-10-29 Akim Demaille <akim@epita.fr>
5620 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
5621 * doc/autoconf.texi (Invoking autom4te): Rename as...
5622 (autom4te Invocation): this, for consistency with the other nodes.
5624 2002-10-29 Akim Demaille <akim@epita.fr>
5626 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
5627 Reported by Ralf Corsepius.
5629 2002-10-29 Akim Demaille <akim@epita.fr>
5631 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5632 characters is a back as an `obsolete' warning now.
5633 Reported by Ralf Corsepius.
5635 2002-10-28 Akim Demaille <akim@epita.fr>
5637 * configure.ac: Bump to 2.54c.
5639 2002-10-28 Akim Demaille <akim@epita.fr>
5643 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
5645 2002-10-28 Akim Demaille <akim@epita.fr>
5647 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
5648 m4 executable names, and different GNU M4 version.
5649 Reported by Ezra Peisach and Paul Jarc.
5651 2002-10-27 Akim Demaille <akim@epita.fr>
5653 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
5656 2002-10-27 Akim Demaille <akim@epita.fr>
5658 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
5659 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
5660 Die when a simple Fortran program cannot be compiled.
5661 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
5662 Issue a warning if no function is given.
5664 2002-10-27 Akim Demaille <akim@epita.fr>
5666 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
5667 Move the documentation of AC_TRY_RUN to...
5668 (Obsolete Macros): here.
5669 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
5670 (autoconf Invocation): Remove the duplicates with `invoking
5672 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
5673 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5675 2002-10-27 Akim Demaille <akim@epita.fr>
5677 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
5678 and AC_LANG_FUNC_LINK_TRY.
5679 (Examining Libraries): Rename as...
5680 (Running the Linker): this.
5681 Document AC_LINK_IFELSE.
5682 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
5683 (Obsolete Macros): here.
5684 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
5685 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
5686 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
5687 * lib/autoconf/headers.m4 (AC_USG): Likewise.
5689 2002-10-27 Akim Demaille <akim@epita.fr>
5691 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
5693 More `check config.log' messages.
5695 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
5696 * doc/autoconf.texi (Printing Messages): Document it.
5697 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
5699 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
5700 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
5701 (_AC_COMPILER_OBJEXT): Likewise.
5702 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
5703 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
5705 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
5708 Deprecate macros with unusual interfaces.
5710 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
5711 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
5713 Document the new ones, and proper style.
5715 * doc/autoconf.texi (Generating Sources): New.
5716 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
5717 (Examining Declarations): Rename as...
5718 (Running the Preprocessor): this.
5719 Document AC_PREPROC_IFELSE.
5720 (Examining Syntax): Rename as...
5721 (Running the Compiler): this.
5722 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
5723 (Obsolete Macros): Move the definition of AC_TRY_CPP and
5724 AC_TRY_COMPILE here.
5726 2002-10-27 Akim Demaille <akim@epita.fr>
5728 Move sections around.
5730 * doc/autoconf.texi (Customizing autom4te): Remove a lost
5732 Reported by Burno Haible.
5733 (Language Choice): Now the first section of...
5734 (Writing Tests): this section.
5735 Make the introduction less C-centric.
5736 (Guidelines, Test Functions): Move to...
5737 (Writing Test Programs): this new section.
5738 (Test Programs): Merge into...
5741 2002-10-27 Akim Demaille <akim@epita.fr>
5743 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
5744 autom4te.in that resulted in the need for two `make' runs.
5746 2002-10-27 Akim Demaille <akim@epita.fr>
5748 * configure.ac: Bump to 2.54b.
5750 2002-10-25 Akim Demaille <akim@epita.fr>
5754 * Makefile.maint: Update from the Coreutils.
5755 (AMTAR): Remove, obsolete.
5756 (automake_repo): Update to redhat.com.
5758 Adjust to the fact that ansi2knr is now hosted by Automake.
5759 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
5760 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
5761 Update from masters.
5762 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
5763 autoscan.pre is not to be installed, and autoscan.list is not to
5765 (CLEANFILES): Add autoscan.list.
5766 (autoscan.list): Disable the cache.
5767 * bin/Makefile.am: Include freeze.mk.
5769 2002-10-25 Akim Demaille <akim@epita.fr>
5771 * bin/autom4te.in (&load_configuration): Take the file as
5773 (&parse_args): Handle -C, --cache.
5775 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
5776 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
5777 * doc/autoconf.texi (Invoking autom4te): Document --cache.
5778 Now a subsection of...
5779 (Using autom4te): This new section.
5780 (Customizing autom4te): New.
5781 (autom4te.cache): Adjust.
5783 2002-10-25 Akim Demaille <akim@epita.fr>
5785 * doc/autoconf.texi (Generic Headers): More information on how to
5786 use AC_CHECK_HEADERS.
5788 2002-10-25 Akim Demaille <akim@epita.fr>
5790 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
5793 2002-10-25 Akim Demaille <akim@epita.fr>
5795 * bin/autoscan.in (output): Output AC_PREREQ.
5796 (%needed_macros): Add AC_PREREQ so that configure.ac without one
5799 2002-10-23 Akim Demaille <akim@epita.fr>
5801 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
5804 2002-10-23 Akim Demaille <akim@epita.fr>
5806 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
5807 Reported by Peter Eisentraut.
5809 2002-10-23 Akim Demaille <akim@epita.fr>
5811 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
5814 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
5815 Eggert's recommandations.
5817 2002-10-22 Akim Demaille <akim@epita.fr>
5819 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
5820 Bison, by Paul Eggert.
5821 * doc/autoconf.texi (Particular Headers): Document it.
5823 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
5825 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
5826 `$ac_configure_args'.
5828 2002-10-22 Akim Demaille <akim@epita.fr>
5830 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
5831 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
5834 2002-10-22 Akim Demaille <akim@epita.fr>
5836 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
5838 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5839 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
5840 (_AC_CHECK_HEADER_NEW): Rename as...
5841 (AC_CHECK_HEADER): this.
5843 2002-10-22 Akim Demaille <akim@epita.fr>
5845 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
5846 words about HP-UX cmp: it was actually a user-written cmp.
5848 2002-10-22 Akim Demaille <akim@epita.fr>
5850 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
5852 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5853 Quote for Perl '' strings, not "".
5854 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
5857 2002-10-22 Akim Demaille <akim@epita.fr>
5859 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5860 characters is a syntax warning now.
5861 (_AS_QUOTE): Accept $2 as list of characters to quote.
5862 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5863 Quote for Perl, not sh.
5864 * bin/autoheader.in: When $debug, report the file which is
5866 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
5867 `@', to tickle Perl's lists.
5868 Reported by Carlos Velasco.
5870 2002-10-18 Akim Demaille <akim@epita.fr>
5872 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
5873 missing included files _are_ errors.
5874 Thanks to Alexandre Duret-Lutz.
5875 * tests/tools.at (autom4te cache): Adjust.
5876 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
5877 (AT_CHECK_M4SUGAR): Use it.
5878 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5880 * tests/tools.at (autom4te): Now it does exit 1.
5882 2002-10-17 Akim Demaille <akim@epita.fr>
5884 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
5885 Fixes the `AC_ARG_VAR' test failures.
5886 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
5887 * lib/freeze.mk (check-forbidden-patterns): New.
5888 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
5889 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
5890 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
5892 Reported months ago by H. Merijn Brand.
5894 2002-10-17 Akim Demaille <akim@epita.fr>
5896 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
5898 2002-10-16 Paul Eggert <eggert@twinsun.com>
5900 * Makefile.maint (wget_files): Remove ansi2knr.c.
5901 (ansi2knr.c-url_prefix): Remove.
5903 2002-10-16 Akim Demaille <akim@epita.fr>
5905 Because of caching, some files that no longer exist and are no
5906 longer required can still cause errors.
5907 Reported by Alexandre Duret-Lutz.
5909 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
5910 to frozen files in @ARGV, as @ARGV must remain being a list of
5911 files. Rather, at M4 call sites, use this...
5912 (&files_to_options): New function.
5913 (&freeze): Use &error.
5914 (&up_to_date): If a file that was included according to the cache
5915 is no longer there, then the output is out dated.
5916 (&main): Don't even check whether a file is up to date is anyway
5918 * tests/tools.at (autom4te cache): New.
5920 2002-10-16 Akim Demaille <akim@epita.fr>
5922 * bin/autoconf.as: Kill dead options.
5923 * bin/autoupdate.in (&parse_args): Kill old options.
5924 * bin/autoreconf.in (&parse_args): Remove dead options.
5926 (&autoreconf): Report the directories we enter *and leave*, so
5927 that error messages can be easily located, and use GNU Make
5928 format, so that Emacs' compile mode understands us.
5929 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
5930 if some file was changed instead of `print'.
5931 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
5932 (&parse_args): Remove the dead options.
5933 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
5934 autoheader's quiet mode.
5935 (AT_CHECK_AUTOUPDATE): Likewise.
5936 * tests/tools.at (autoupdate): Adjust.
5937 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5939 2002-10-11 Akim Demaille <akim@epita.fr>
5941 No longer use CPP to check for the existing of headers: use CC to
5942 check for compilability.
5944 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5945 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
5946 (_AC_CHECK_HEADER_NEW): Rename as...
5947 (AC_CHECK_HEADER): this.
5949 * lib/autotest/general.m4 (AT_INIT): Include the failed test
5950 numbers in the Subject suggestion.
5952 2002-10-11 Akim Demaille <akim@epita.fr>
5954 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
5955 Suggest using AC_CHECK_DECLS instead.
5957 2002-10-11 Akim Demaille <akim@epita.fr>
5959 * tests/torture.at (AC_ARG_VAR): Have configure report the value
5962 2002-10-11 Akim Demaille <akim@epita.fr>
5964 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
5965 file name to enable parallel executions.
5966 From Sam Varshavchik.
5968 2002-10-08 Akim Demaille <akim@epita.fr>
5970 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
5971 aclocal invocation, as Gettext macros might not be visible to
5973 Instead of blindly running autopoint, scan configure.ac (not the
5974 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
5975 Reported by Paul D. Smith.
5977 2002-10-08 Paul Eggert <eggert@twinsun.com>
5979 Work around problems found when POSIXLY_CORRECT=1 is set.
5980 None of this seems to have anything to do with POSIX, really,
5981 but it's how Perl getopt works.
5982 * bin/autom4te.in (parse_args): Configure GetOpt with
5984 * doc/autoconf.texi (Invoking autom4te):
5985 --warning -> --warnings.
5986 * lib/autom4te.in: --warning -> --warnings.
5988 2002-09-28 Akim Demaille <akim@epita.fr>
5990 * doc/autoconf.texi (autom4te.cache): New section.
5992 2002-09-28 Akim Demaille <akim@epita.fr>
5994 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
5995 (Automake-preselections): Update.
5996 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
5998 2002-09-28 Akim Demaille <akim@epita.fr>
6000 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
6001 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
6002 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6003 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
6005 2002-09-28 Akim Demaille <akim@epita.fr>
6007 * tests/torture.at (Configuring subdirectories): Be robust to
6008 users who use config.site to require for a cache: in this case,
6009 the two last configure runs, using two different sets of
6010 arguments, trigger a legitimate error.
6012 2002-09-28 Akim Demaille <akim@epita.fr>
6014 * tests/m4sh.at (Functions Support, Functions and return Support):
6017 2002-09-28 Akim Demaille <akim@epita.fr>
6019 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
6020 autoheader are Perl programs.
6021 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
6022 (autom4te): Specify that the sources are in the $srcdir.
6023 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6025 2002-09-28 Akim Demaille <akim@epita.fr>
6027 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
6028 (tm_zone): Move their rules to...
6029 * lib/autoconf/types.m4: here, using AN_ macros.
6030 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
6031 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
6032 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
6033 * lib/autoconf/programs.m4: here.
6034 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
6035 (ETAGS_FOR_AUTOCONF): New.
6038 2002-09-28 Akim Demaille <akim@epita.fr>
6040 * lib/autoconf/autoscan.m4: New file.
6041 * lib/autoconf/autoconf.m4: Include it.
6042 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
6043 that were listed in the original autoscan.list.
6044 * lib/autoconf/headers.m4: Similarly with headers.
6045 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
6046 (.m4.m4f): Don't pass --prepend-include, since that's done by
6047 tests/autom4te itself.
6048 * lib/autoscan/Makefile.am: Include freeze.mk.
6049 (autoscan.list): New target --this file is no longer a source.
6050 (autoscan.pre): New file.
6052 2002-09-28 Akim Demaille <akim@epita.fr>
6054 * bin/autoscan.in (@kinds): Make them singular.
6056 (&init_tables): When --debug, report the list of rules to ease
6057 tracking changes in autoscan.list.
6058 * lib/autoscan/autoscan.list (function): Strip comments, sort.
6060 2002-09-28 Akim Demaille <akim@epita.fr>
6062 * lib/autoscan/functions, lib/autoscan/headers,
6063 * lib/autoscan/identifiers, lib/autoscan/makevars,
6064 * lib/autoscan/programs: Merge into...
6065 * lib/autoscan/autoscan.list: this.
6066 * bin/autoscan.in (&init_tables): Adjust.
6068 2002-09-28 Akim Demaille <akim@epita.fr>
6070 * lib/autoscan/functions, lib/autoscan/headers,
6071 * lib/autoscan/identifiers, lib/autoscan/makevars,
6072 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6073 `functions' line is now prefixed with `function:'.
6074 * bin/autoscan.in (&init_tables): Adjust.
6076 2002-09-28 Akim Demaille <akim@epita.fr>
6078 From now on, autoscan files must always map a macro name to a
6079 word: there is no `default' macro for autoscan.
6081 * bin/autoscan.in (&init_tables): Reject entries with no macro at
6083 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6086 2002-09-28 Akim Demaille <akim@epita.fr>
6088 * bin/autoscan.in (%c_keywords): Remove.
6089 (&used): Keep only track of the words we might be interested in.
6090 (&output_kind): It is no longer needed to look for non active
6093 2002-09-27 Akim Demaille <akim@epita.fr>
6095 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6096 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6097 * lib/autoscan/functions: Adjust.
6098 * doc/autoconf.texi (Particular Functions): Adjust.
6100 2002-09-27 Akim Demaille <akim@epita.fr>
6102 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6104 Thanks to Bill Moseley and Paul Eggert.
6105 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6106 the tmpdir must be created.
6107 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6108 dir be in the build tree, instead of $TMPDIR.
6110 2002-09-27 Akim Demaille <akim@epita.fr>
6112 * bin/autoscan.in: Improve the comments.
6113 (&parse_args): Drop obsolete undocumented options.
6114 (&output_kind): Output warnings.
6115 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6116 (getwd): Trigger a warning.
6118 2002-09-26 Akim Demaille <akim@epita.fr>
6120 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6121 Reported by Ralf Corsepius.
6122 * doc/autoconf.texi (autoreconf Invocation): Likewise.
6124 2002-09-26 Akim Demaille <akim@epita.fr>
6126 Single suffix rules and seperated dependencies are not portable.
6128 * doc/autoconf.texi (Installation Directory Variables): Update.
6129 (Limitations of Make): Some about `Single Suffix Rules and
6130 Separated Dependencies'.
6131 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6132 (ifnames, autoscan, autom4te): Un-factor into several rules.
6134 2002-09-25 Paul Eggert <eggert@twinsun.com>
6136 * BUGS (Interoperability bugs): New section. Mention libtool
6137 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6139 2002-09-24 Paul Eggert <eggert@twinsun.com>
6141 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6142 make handles suffix-rules differently from GNU make.
6144 * bin/Makefile.am (SUFFIXES, .in): Remove.
6145 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6146 Move the body of the old .in rule here.
6148 2002-09-16 Akim Demaille <akim@epita.fr>
6150 i960 compilers create `b.out' files by default.
6151 Reported by Ralf Corsepius.
6153 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6154 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6156 2002-09-13 Paul Eggert <eggert@twinsun.com>
6158 * doc/autoconf.texi (Particular Headers): Remove obsolete
6159 reference to `struct timezone' in the description of
6162 2002-09-13 Akim Demaille <akim@epita.fr>
6166 * config/config.sub, config/config.guess: Update.
6167 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6168 * Makefile.am: Adjust.
6170 2002-09-13 Akim Demaille <akim@epita.fr>
6172 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6173 reading config.log when the compiler is rejected.
6174 Suggested by Guido Draheim.
6176 2002-09-13 Akim Demaille <akim@epita.fr>
6178 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6179 (chdir_init) might hang when stat'ing mounted directories.
6180 Reported by Vance Shipley.
6182 2002-09-12 Akim Demaille <akim@epita.fr>
6184 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6187 2002-09-12 Akim Demaille <akim@epita.fr>
6189 * doc/autoconf.texi (Defining Symbols): Present two different
6190 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6191 difference between 1 argument calls, and 2-3 argument calls.
6193 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
6195 * doc/autoconf.texi: Review grammar and punctuation.
6197 2002-09-11 Paul Eggert <eggert@twinsun.com>
6199 * doc/autoconf.texi: Fix minor formatting, spelling, and
6201 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6202 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6205 2002-09-11 Akim Demaille <akim@epita.fr>
6207 * doc/autoconf.texi (Questions): Rename as...
6209 (Defining Directories): New.
6211 2002-09-09 Akim Demaille <akim@epita.fr>
6213 * doc/autoconf.texi (Making testsuite Scripts): Update.
6214 Suggested by Nishio Futoshi.
6216 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
6218 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6219 plain `@' is wanted.
6221 2002-09-09 Akim Demaille <akim@epita.fr>
6223 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6224 `duplicates', since the algorithm was too naive and could keep
6225 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6226 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6227 Reported by Ralf Corsepius.
6228 * tests/torture.at (Configuring subdirectories): Exercise these
6231 2002-09-09 Akim Demaille <akim@epita.fr>
6233 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6234 looking for a replacement file.
6235 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6236 directory is relative.
6237 * doc/autoconf.texi (Generic Functions): Clarify the replacement
6238 directory definition.
6239 Reported by Andreas Schwab and Jim Meyering.
6241 2002-09-06 Akim Demaille <akim@epita.fr>
6243 * doc/autoconf.texi (Setting Output Variables): Clarify what
6244 precious variables are.
6245 Suggested by Pontus Skoeld.
6247 2002-09-05 Akim Demaille <akim@epita.fr>
6249 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6250 (ifnames, autoscan, autom4te): Since we don't only depend on
6251 configure.ac variables (such as VERSION etc.), but also on prefix
6252 and so forth, depend on Makefile, not configure.ac.
6253 Reported by Alexandre Duret-Lutz.
6254 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6256 2002-09-05 Kevin Ryde <user42@zip.com.au>
6258 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6259 doesn't seem to be confined to ia64, just say "some versions".
6261 2002-09-04 Akim Demaille <akim@epita.fr>
6263 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6265 * Makefile.am (maintainer-clean-local): Remove.
6266 (MAINTAINERCLEANFILES): Remove COPYING.
6268 2002-09-03 Paul Eggert <eggert@twinsun.com>
6270 * doc/autoconf.texi (Configuration Commands): Remove obsolete
6271 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
6274 2002-09-03 Akim Demaille <akim@epita.fr>
6276 * configure.ac: Bump to 2.53d.
6277 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6278 as of today, on Automake's team suggestion.
6280 2002-09-03 Akim Demaille <akim@epita.fr>
6284 2002-09-02 Akim Demaille <akim@epita.fr>
6286 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
6288 * configure.ac: Disable SITE_MACRO_DIR.
6290 2002-09-02 Jim Meyering <meyering@lucent.com>
6292 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
6293 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
6294 Also, tweak grammar: s/make sure to/be sure to/.
6296 2002-09-02 Paul Eggert <eggert@twinsun.com>
6298 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
6299 directory names are generally preferable to physical names.
6301 2002-09-02 Akim Demaille <akim@epita.fr>
6303 * lib/Autom4te/General.pm (&update_file): s/die/error/.
6304 Reported by Raja R. Harinath.
6305 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
6306 * bin/autoupdate.in: Use error instead of die.
6308 2002-09-01 Paul Eggert <eggert@twinsun.com>
6310 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
6311 ordinary shell concatenation rather than echo+tr+sed command that
6312 runs afoul of a long-line-related sed bug in Solaris 8.
6314 * bin/autoheader.in (parse_args): --warning -> --warnings.
6316 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
6317 stdout, as traditional "ls" does.
6318 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
6319 _AC_COMPILER_EXEEXT_O): Likewise.
6320 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
6322 * bin/autoconf.as: Add --prepend-include option. This patch was
6323 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
6324 but bin/autoconf.in is generated automatically from bin/autoconf.as.
6326 * bin/autoconf.in, configure: Regenerate.
6328 * doc/autoconf.texi (Special Shell Variables): Mention
6329 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
6331 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
6332 MAILPATH and set PS1, PS2, PS4 to default values, to work
6333 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
6334 For LC_ALL etc, first try to set to "C" as POSIX requires and as
6335 the Autoconf documentation specifies; fall back to "unset" only if
6336 this fails. Use a shell for-loop for this rather than an m4 loop,
6337 to shorten the output script.
6339 2002-08-30 Paul Eggert <eggert@twinsun.com>
6341 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
6342 1003.1-2001's requirements for CDPATH. Give a simpler workaround
6343 for the CDPATH problem. Document PWD.
6344 (Limitations of Builtins): Document the problem that "cd $foo" and
6345 "ls $foo" may refer to different directories in shells conforming
6346 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
6347 example, since the old example is now out of date.
6349 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
6350 FOO" and "ls FOO" talk about different directories; this catches
6351 problems when POSIX 1003.1-2001 "cd" fails due to symlink
6354 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
6355 of rolling our own unset.
6356 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
6357 in practice we needn't worry about CDPATH if unset doesn't work.
6359 * Makefile.in, aclocal.m4, bin/Makefile.in,
6360 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
6361 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
6362 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
6363 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
6364 tests/Makefile.in: Regenerate with Automake 1.6.3.
6366 * config/config.guess, config/config.sub, config/mkinstalldirs:
6369 * configure: Regenerate with self.
6371 2002-08-30 Kevin Ryde <user42@zip.com.au>
6373 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
6376 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6378 * bin/autom4te.in (Request::load): Correctly test for "do" read
6381 2002-08-29 Akim Demaille <akim@epita.fr>
6383 * lib/Autom4te/General.pm (&xqx): New.
6384 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
6385 hand, which is not portable.
6387 * bin/autom4te.in: Use them.
6388 Use &error instead of die.
6389 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6392 2002-08-17 Paul Eggert <eggert@twinsun.com>
6394 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
6395 default list of compilers to try, since it was long ago superseded
6396 by the ksh fc builtin. Suggested by Steven G. Johnson.
6398 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
6400 * doc/autoconf.texi (Invoking autom4te): End the option table,
6401 fixing a bug introduced by the previous patch.
6402 (Limitations of Make): Add a 'target lookup' subentry in the
6403 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
6405 2002-07-29 Mark D. Roth <roth@feep.net>
6407 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
6408 options and use $AUTOM4TE_PATH.
6409 * doc/autoconf.texi: Remove documentation of autom4te
6410 --include-envvar and --site-macro-subdir options and document
6411 use of $AUTOM4TE_PATH.
6412 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
6413 arguments from each language section.
6415 2002-07-29 Paul Eggert <eggert@twinsun.com>
6417 * doc/install.texi: Include copyright symbol in copyright notice.
6419 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
6421 (AM_MAKEINFOFLAGS): New macro.
6422 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
6423 * Makefile.am (INSTALL): Use the new macros.
6424 Use -o rather than --output, since "missing" does not grok --output.
6426 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6428 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
6429 comments do not always work. Never trust the exit status of
6432 2002-07-24 Kevin Ryde <user42@zip.com.au>
6434 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
6435 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
6437 2002-07-23 Paul Eggert <eggert@twinsun.com>
6439 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
6440 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
6441 apparently treats PATH="nonexistent" as if it contained ".".
6442 Bug reported by Stefan `Sec' Zehl.
6444 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6446 * doc/autoconf.texi (Limitations of Make): Mention the special
6447 handling of the obj/ directory by BSD make.
6449 2002-07-20 Kevin Ryde <user42@zip.com.au>
6451 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
6454 2002-07-19 Akim Demaille <akim@epita.fr>
6456 * doc/autoconf.texi (Function Portability): `exit'.
6457 (Programming in M4sh): Ethymology of M4sh.
6459 2002-07-19 Akim Demaille <akim@epita.fr>
6461 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
6463 2002-07-18 Akim Demaille <akim@epita.fr>
6467 2002-07-18 Akim Demaille <akim@epita.fr>
6469 * config/config.guess, config/config.sub: Update.
6471 2002-07-18 Akim Demaille <akim@epita.fr>
6473 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
6476 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
6477 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
6478 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
6480 2002-07-18 Akim Demaille <akim@epita.fr>,
6481 Alexandre Duret-Lutz <duret_g@epita.fr>
6483 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
6484 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
6486 2002-07-17 Russ Allbery <rra@stanford.edu>
6488 * doc/autoconf.texi (Initializing configure): Clarify the
6489 description of the tarname default.
6491 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
6493 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
6494 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
6497 2002-07-17 Akim Demaille <akim@epita.fr>
6499 * lib/Autom4te/General.pm (find_file): Browse the directories in
6500 the order they are given.
6502 2002-07-17 Akim Demaille <akim@epita.fr>
6504 * tests/wrapsh.as, tests/wrappl.as: Merge into...
6505 * tests/wrapper.as: this.
6506 * tests/Makefile.am, configure.ac: Adjust.
6508 2002-07-17 Mark D. Roth <roth@feep.net>
6510 * configure.ac: Add --enable-site-macro-dir option.
6511 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
6512 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
6513 --site-macro-subdir options.
6514 * bin/autoconf.in: Add --prepend-include option.
6515 * bin/autoheader.in: Add --prepend-include option.
6516 * bin/autoreconf.in: Add --prepend-include option.
6517 * bin/autoscan.in: Add --prepend-include option.
6518 * bin/autoupdate.in: Add --prepend-include option.
6519 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
6520 macro directory, remove note that include path directories are
6521 used in reverse order, and document --prepend-include option.
6522 * lib/autom4te.in: Use --prepend-include instead of --include.
6523 * tests/wrapsh.in: Use --prepend-include instead of --include.
6525 2002-07-17 Akim Demaille <akim@epita.fr>
6527 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
6529 * doc/autoconf.texi (Initializing configure): Adjust.
6531 2002-07-17 Akim Demaille <akim@epita.fr>
6533 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
6534 (_AC_FUNC_MALLOC): New.
6535 (AC_FUNC_MALLOC): Use the latter.
6536 Define HAVE_MALLOC to 0 if broken.
6537 * doc/autoconf.texi (Particular Functions): Adjust.
6539 2002-07-16 Akim Demaille <akim@epita.fr>
6541 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
6542 * doc/autoconf.texi (C Compiler): Adjust.
6544 2002-07-09 Akim Demaille <akim@epita.fr>
6546 * doc/autoconf.texi: Properly set the ``header'' part.
6548 2002-07-09 Akim Demaille <akim@epita.fr>
6550 * doc/autoconf.texi (Systemology): Some about Darwin.
6552 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6554 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6555 Don't use AC_REQUIRE in AU_DEFUN.
6557 2002-07-09 Art Haas <ahaas@neosoft.com>
6559 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
6561 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
6563 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6564 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
6565 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
6566 so that Emacs setups GNU style for perl-mode and cperl-mode.
6568 2002-06-27 Paul Eggert <eggert@twinsun.com>
6570 * config/install-sh: Quote $src. Prefer || to test's -o option,
6571 as per "Limitations of Builtins".
6572 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
6573 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6575 * tests/mktests.sh: Use grep instead of fgrep, as per
6576 "Limitations of Builtins".
6578 2002-06-15 Paul Eggert <eggert@twinsun.com>
6580 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
6581 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
6582 so that we consistently test the just-built programs.
6583 * tests/wrappl.as: Likewise.
6585 2002-06-12 Paul Eggert <eggert@twinsun.com>
6587 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
6588 name, so that symlinks to 'autoconf' work properly. Bug reported
6590 * bin/autoheader.in (AUTOM4TE): Likewise.
6591 * bin/autoreconf.in (autoconf, autoheader): Likewise.
6592 * bin/autoscan.in (autom4te): Likewise.
6593 * bin/autoupdate.in (autom4te): Likewise.
6595 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
6596 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
6599 2002-06-11 Andreas Schwab <schwab@suse.de>
6601 * doc/autoconf.texi: Add more dir entries.
6603 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
6605 * bin/autom4te.in ($cache): Don't define using `$me', the name
6606 of the cache should not depend on the name under which autom4te
6609 2002-06-07 Akim Demaille <akim@epita.fr>
6611 * tests/tools.at (autoconf: forbidden tokens, basic)
6612 (autoconf: forbidden tokens, exceptions): Adjust to the change of
6613 words in autom4te.in.
6615 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
6617 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
6618 _AC_LANG_PROGRAM_C_F77_HOOKS.
6620 2002-06-07 Akim Demaille <akim@epita.fr>
6622 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
6624 (AC_REPLACE_FNMATCH): this.
6625 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
6626 AC_FUNC_FNMATCH_GNU.
6628 2002-06-07 Akim Demaille <akim@epita.fr>
6630 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
6631 Rosetta Stone for Unix.
6633 2002-06-07 Akim Demaille <akim@epita.fr>
6635 * bin/autom4te.in (warn_forbidden): When rejecting a token,
6636 suggest m4_pattern_allow.
6637 Suggested by Adam J. Richter.
6639 2002-06-07 Akim Demaille <akim@epita.fr>
6641 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6642 ac_config_libobj_dir.
6643 (AC_CONFIG_LIBOBJ_DIR): New.
6644 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
6645 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
6646 Use ac_config_libobj_dir to find the replacement files.
6647 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
6648 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
6649 (AC_REPLACE_FNMATCH_GNU): these.
6650 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
6651 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
6652 * tests/mktests.sh (ac_exclude_list): Don't check
6653 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
6655 2002-06-06 Paul Eggert <eggert@twinsun.com>
6657 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
6660 * doc/autoconf.texi (Configuration Links): Likewise.
6661 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
6663 2002-06-05 Paul Eggert <eggert@twinsun.com>
6665 * config/config.guess, config/config.sub, config/texinfo.tex:
6666 Update from masters.
6668 2002-05-29 Paul Eggert <eggert@twinsun.com>
6670 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
6671 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6672 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
6674 * lib/autoconf/Makefile.am (check-local): Likewise.
6675 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
6676 * lib/autoconf/types.m4 (commentary only): Likewise.
6677 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
6678 * lib/autotest/Makefile.am (check-local): Likewise.
6679 * lib/m4sugar/Makefile.am (check-local): Likewise.
6680 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
6681 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
6683 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
6684 * doc/autoconf.texi (Particular Programs): Document them.
6685 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
6688 2002-05-27 Paul Eggert <eggert@twinsun.com>
6690 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
6691 * NEWS, doc/autoconf.texi (Particular Types): Document it.
6692 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
6693 instead of AC_MBSTATE_T, which never existed.
6695 2002-05-23 Akim Demaille <akim@epita.fr>
6697 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
6698 version of Autoconf that is discussed.
6700 2002-05-22 Paul Eggert <eggert@twinsun.com>
6702 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
6703 from the default list of compilers to try. Suggested by
6705 * NEWS: Document the above.
6706 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
6708 2002-05-17 Paul Eggert <eggert@twinsun.com>
6710 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
6711 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
6712 This improves on an earlier suggestion by H. Peter Anvin.
6714 2002-05-16 Paul Eggert <eggert@twinsun.com>
6716 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
6717 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
6718 Both macros now accept an optional source-dir arg.
6719 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
6721 * NEWS: Document this.
6722 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
6724 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
6725 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
6726 not for GNU extensions; this undoes part of the 2000-11-03 change,
6727 reverting to 2.13-compatible behavior.
6728 Add new optional argument DIR.
6729 (AC_FUNC_FNMATCH_GNU): New macro.
6731 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
6733 2002-05-08 Paul Eggert <eggert@twinsun.com>
6735 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
6736 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
6737 and it causes a 'test' syntax error if it fails.
6738 Bug reported by Stephen Gildea.
6740 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
6741 If prototypes are supported, use them to check this at compile-time,
6742 instead of trying to check it at run-time. If we must do a run-time
6743 check, assume that setvbuf is standard when cross-compiling, as
6744 nonstandard setvbuf occurs only on ancient and unlikely hosts.
6745 Bug reported by Paul D. Smith.
6747 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
6748 argument specifying location of getloadavg.c. This removes a
6749 FIXME. This idea was taken from Jim Meyering's implementation in
6751 * doc/autoconf.texi (Particular Functions): Document this.
6752 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
6753 that's what the code does; this fixes a bug reported by
6756 2002-05-03 Akim Demaille <akim@epita.fr>
6758 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
6759 autopoint instead of gettextize.
6760 ($uses_alocal): Rename as...
6761 ($uses_aclocal): this.
6762 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6763 Suggested by Bruno Haible.
6765 2002-05-03 Akim Demaille <akim@epita.fr>
6767 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
6769 2002-04-29 Paul Eggert <eggert@twinsun.com>
6771 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
6772 files to be 1 second older; just set them to be the same time.
6773 Also, sleep 1 second after the first aclocal, to work around
6774 problems with sub-second time stamps on the input files.
6776 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
6778 * doc/autoconf.texi: Mention "set -e -x" lossage
6779 under node "Limitations of Builtins".
6781 2002-04-29 Akim Demaille <akim@epita.fr>
6783 * doc/install.texi: Better wording for setting variables when
6785 From Christian Cornelssen.
6787 2002-04-29 Akim Demaille <akim@epita.fr>
6789 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
6790 of lack of $LINENO support, then the test will compare the $LINENO
6791 in testsuite vs. the lineno in the test file. This is wrong, of
6793 Be sure to protect it.
6794 Reported by Patrick Welche.
6796 2002-04-25 Akim Demaille <akim@epita.fr>
6798 * doc/autoconf.texi (Obsolete Macros): Typo.
6799 Reported by Vladimir Volovich.
6801 2002-04-25 Akim Demaille <akim@epita.fr>
6803 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
6804 than some of the input files, hence, on the second run of aclocal,
6805 if some of its input are younger, make them older.
6806 Suggested by Paul Eggert.
6808 2002-04-25 Akim Demaille <akim@epita.fr>
6810 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
6811 Thanks to Paul Eggert.
6813 2002-04-25 Akim Demaille <akim@epita.fr>
6815 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
6816 and ac_subst_vars be sh variables containing the list of
6817 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
6819 (_AC_INIT_PREPARE): Use them to log them.
6820 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
6821 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
6822 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
6823 _AC_SUBST_FILES and _AC_SUBST_VARS.
6824 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
6826 2002-04-24 Akim Demaille <akim@epita.fr>
6828 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
6829 autoheader, so that automake does not complain about a missing
6830 config.h.in that was to be created.
6832 2002-04-23 Akim Demaille <akim@epita.fr>
6834 * bin/autoheader.in (parse_args): --warning takes an argument.
6837 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
6839 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
6840 and bb.out when cleaning up.
6842 2002-04-22 Akim Demaille <akim@epita.fr>
6846 2002-04-22 Akim Demaille <akim@epita.fr>
6848 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
6850 2002-04-22 Akim Demaille <akim@epita.fr>
6852 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
6854 Reported by Gregory Giannoni.
6856 2002-04-22 Akim Demaille <akim@epita.fr>
6858 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
6859 Fixes false failures on Darwin.
6861 2002-04-21 Paul Eggert <eggert@twinsun.com>
6863 * TODO, bin/autoupdate.in, doc/autoconf.texi,
6864 lib/autoconf/general.m4, lib/autoconf/libs.m4,
6865 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
6866 tests/tools.at: Minor spelling and grammar fixes.
6868 2002-04-20 Paul Eggert <eggert@twinsun.com>
6870 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
6871 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
6872 * lib/autotest/general.m4 (AT_INIT): Likewise.
6873 * tests/atgeneral.m4 (AT_INIT): Likewise.
6875 2002-04-19 Paul Eggert <eggert@twinsun.com>
6877 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
6878 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
6879 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
6880 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6881 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
6882 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
6883 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
6884 Minor spelling and grammar fixes.
6886 * doc/autoconf.texi: Follow the outline suggested in the GNU
6887 Sample Texts sections of the Texinfo 4.2 manual. Most
6888 importantly, this makes sure that the copyright notices appear in
6889 all output formats. You probably need Texinfo 4.2 to generate
6892 Fix some bugs when using "$@" when there might be zero positional
6893 arguments in cases where this matters.
6895 * bin/autoconf.as: Rewrite so that the problem does not come up.
6896 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
6897 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
6898 * lib/autotest/general.m4 (AT_INIT): Likewise.
6900 * bin/autoheader.in: Use 'case' statement to work around problem.
6901 * bin/auto4mte.in: Likewise.
6902 * bin/autoreconf.in: Likewise.
6903 * bin/autoscan.in: Likewise.
6904 * bin/autoupdate.in: Likewise.
6905 * bin/ifnames.in: Likewise.
6907 * doc/autoconf.texi (Shell Substitutions): Document the problem.
6909 * lib/autotest/general.m4 (AT_INIT):
6910 Use Zsh alias to work around problem.
6911 * tests/atgeneral.m4 (AT_INIT): Likewise.
6913 * tests/c.at: We can't have zero arguments, so remove workaround
6914 that is not portable to Zsh.
6916 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
6918 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
6919 from aclocal.m4 too.
6921 2002-04-12 Akim Demaille <akim@epita.fr>
6923 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
6925 2002-04-10 Akim Demaille <akim@epita.fr>
6927 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
6928 workaround for ${1+"$@"}.
6929 * doc/autoconf.texi (Shell Substitutions): Explain it.
6930 From Oliver Kiddle and Peter Stephenson.
6932 Have M4sh perform minimal shell sanitizing.
6934 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
6936 (_AS_PREPARE): this new macro.
6938 (AS_INIT): Invoke AS_SHELL_SANITIZE.
6939 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
6941 Adjust Autoconf and Autotest.
6943 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
6944 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
6945 * lib/autotest/general.m4 (AT_INIT): Likewise.
6946 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
6947 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
6950 Use this M4sh to generate Autoconf's shell scripts.
6952 * tests/wrapsh.as: New, precursor of wrapsh.in.
6953 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
6954 on Autotest and M4sh.
6955 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
6956 (wrapsh.in): New target.
6957 * bin/autoconf.as: New, precursor of autoconf.in.
6958 (autoconf.in): New target.
6960 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6962 * doc/autoconf.texi (Limitations of Make): Mention the issue
6963 with indented comments in rules.
6965 2002-04-09 Andreas Schwab <schwab@suse.de>
6967 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
6968 ac_top_builddir when setting ac_abs_top_builddir.
6970 2002-04-06 Kevin Ryde <user42@zip.com.au>
6972 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
6973 (Portable Shell): Cross reference to Systemology.
6975 2002-04-05 Akim Demaille <akim@epita.fr>
6977 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
6978 directories when descending in a SUBDIRS.
6979 Reported by Ezra Peisach.
6981 2002-04-04 Andreas Schwab <schwab@suse.de>
6983 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
6984 contains no literal separators.
6986 2002-04-03 Akim Demaille <akim@epita.fr>
6988 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
6989 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
6990 Use dnl, not the KILL diversion.
6992 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
6993 (AC_CONFIG_LINKS): here.
6995 Don't use the KILL diversion, as it kills spurious output, which
6996 results in failures being hidden.
6997 Use m4_defn where appropriate.
6998 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
6999 after the second argument.
7001 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
7002 syntax, as it is provided by M4sugar.
7003 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
7005 2002-04-03 Andreas Schwab <schwab@suse.de>
7007 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
7008 expanded if $# <= 2.
7010 * bin/autoreconf.in (autoreconf): Run automake after rerunning
7013 2002-04-03 Akim Demaille <akim@epita.fr>
7015 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
7016 (_AC_COMPILER_EXEEXT_REJECT): New.
7017 Also recognize *.bb and *.bbg as compilation byproducts.
7018 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
7019 (_AC_COMPILER_OBJEXT): Use them.
7020 Fixes Debian #138666.
7022 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
7024 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
7026 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
7027 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
7028 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
7029 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
7031 (AC_C_INLINE): Same.
7032 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
7033 * doc/autoconf.texi, NEWS: Document.
7034 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
7037 2002-04-02 Akim Demaille <akim@epita.fr>
7039 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
7040 _AS_MKDIR_P_PREPARE.
7042 2002-03-28 Kevin Ryde <user42@zip.com.au>
7044 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
7045 to avoid versions of HP C which don't allow that.
7047 2002-03-27 Paul Eggert <eggert@twinsun.com>
7049 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
7050 (AS_SHELL_SANITIZE): Invoke it.
7051 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
7053 2002-03-26 Akim Demaille <akim@epita.fr>
7055 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
7057 2002-03-26 Akim Demaille <akim@epita.fr>
7059 * doc/autoconf.texi (Introduction): The GNATS base moved.
7061 2002-03-25 Paul Eggert <eggert@twinsun.com>
7063 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7064 as POSIX requires, as it doesn't work with Zsh.
7065 * doc/autoconf.texi (Assignments): Document the problem.
7067 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7069 * doc/autoconf.texi (Limitations of Make): Mention more issue
7070 about VPATH, overriding of macros in sub-makes, and handling of
7073 2002-03-21 Paul Eggert <eggert@twinsun.com>
7075 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7076 problem with here-document buffer boundaries.
7078 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7079 when reinvoking the shell, to work around problems with installers
7080 who put strange things like "cd" commands in their environments.
7082 2002-03-19 Akim Demaille <akim@epita.fr>
7084 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7087 2002-03-19 Akim Demaille <akim@epita.fr>
7089 * bin/autoscan.in (scan_file): Specify the location in `&used'
7093 2002-03-19 Akim Demaille <akim@epita.fr>
7095 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7096 From Nishio Futoshi.
7098 2002-03-19 Akim Demaille <akim@epita.fr>
7100 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7102 2002-03-18 Paul Eggert <eggert@twinsun.com>
7104 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7105 (Limitations of Usual Tools): Add mkdir section.
7107 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7108 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
7109 back on AS_DIRNAME to compute prefixes otherwise; this is
7110 roughly what mkinstalldirs does. That way, we need not have
7111 our own filename disassembler. The old disassembler did not
7112 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7114 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7115 Create at_test_all by a series of assignments,
7116 not by a single assignment of a long string. The latter causes ksh
7117 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7118 presumably because of a buffer overrun.
7120 2002-03-14 Paul Eggert <eggert@twinsun.com>
7122 * lib/autotest/general.m4 (at_times_skip):
7123 Renamed from at_times. Now a boolean.
7124 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7125 says 'times: not found'.
7127 2002-03-14 Akim Demaille <akim@epita.fr>
7129 * bin/autoreconf.in (&study_gettextize): New.
7130 (&autoreconf): Handle newest gettextize.
7131 Rerun aclocal if needed.
7132 Suggested by Andreas Schwab.
7134 2002-03-13 Akim Demaille <akim@epita.fr>
7136 * doc/autoconf.texi (Special Shell Variables): More about IFS.
7138 2002-03-13 Akim Demaille <akim@epita.fr>
7140 * doc/autoconf.texi (Header Portability): New.
7141 Add information about stdint.h and inttypes.h from Paul Eggert.
7143 2002-03-13 Akim Demaille <akim@epita.fr>
7145 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7149 2002-03-12 Akim Demaille <akim@epita.fr>
7151 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7154 2002-03-11 Andreas Schwab <schwab@suse.de>
7156 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7157 does not do it if --with-lispdir is given.
7159 2002-03-08 Akim Demaille <akim@epita.fr>
7163 2002-03-08 Akim Demaille <akim@epita.fr>
7165 * doc/autoconf.texi (Subdirectories): Clarify that the
7166 subdirectory should exist.
7168 2002-03-08 Akim Demaille <akim@epita.fr>
7170 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7172 2002-03-08 Akim Demaille <akim@epita.fr>
7174 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7175 aliases the actual variables, and modifications of the former
7178 2002-03-08 Akim Demaille <akim@epita.fr>
7180 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7181 because of C-c: have m4 output in tmp files, then mv them.
7183 2002-03-08 Akim Demaille <akim@epita.fr>
7185 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7186 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7187 * bin/ifnames.in: Copyright update.
7189 2002-03-08 Akim Demaille <akim@epita.fr>
7191 * doc/autoconf.texi (Invoking autom4te): New.
7193 2002-03-05 Akim Demaille <akim@epita.fr>
7195 * doc/autoconf.texi (Specifying Names): Clarification suggested by
7198 2002-03-05 Akim Demaille <akim@epita.fr>
7202 2002-03-04 Akim Demaille <akim@epita.fr>
7204 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7205 * lib/autoconf/general.m4 (AC_INIT): More informative error
7208 2002-03-04 Akim Demaille <akim@epita.fr>
7210 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7213 2002-03-04 Akim Demaille <akim@epita.fr>
7215 * doc/autoconf.texi (Transforming Names): Equality between target
7216 and host is irrelevant.
7217 (Specifying Names, Canonicalizing): Remove all references to the
7218 backward compatibility hooks. Rather, collect them all into...
7219 (Hosts and Cross-Compilation): this new section.
7220 * doc/install.texi (System Type): Ditto.
7221 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7222 that `--host' implies cross-compilation.
7224 2002-03-04 Akim Demaille <akim@epita.fr>
7226 * doc/autoconf.texi (Evaluation Macros): New.
7227 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7229 (_m4_foreach): Define the variant with immediate evaluation so
7230 that it contains exactly the items, not an expression which
7231 evaluation is the current item.
7232 (m4_re_string, m4_re_word): Don't over quote them.
7234 2002-03-04 Akim Demaille <akim@epita.fr>
7236 Instead of having stacking `shift's evaluated at the end, let
7237 `foreach' loops immediately evaluate them.
7239 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7240 $*. This is the n-th time I change my mind, but hopefully this is
7243 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7245 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7246 it was only a hack for m4_text_wrap.
7247 (m4_car2): Remove, replaced by...
7249 (_m4_foreach): Adjust.
7250 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7251 m4_bpatsubst for clarification.
7253 2002-03-04 Akim Demaille <akim@epita.fr>
7255 * doc/autoconf.texi (Changequote is Evil): New.
7257 2002-03-03 Kevin Ryde <user42@zip.com.au>
7259 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7260 on old systems like SunOS.
7262 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
7264 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7265 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7266 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7267 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7270 2002-02-28 Akim Demaille <akim@epita.fr>
7272 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7275 2002-02-28 Kevin Ryde <user42@zip.com.au>
7277 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
7279 2002-02-25 Akim Demaille <akim@epita.fr>
7281 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
7284 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
7286 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
7287 translate \r\n to \n.
7289 2002-02-07 Akim Demaille <akim@epita.fr>
7293 2002-02-07 Akim Demaille <akim@epita.fr>
7295 Fix Autoconf PR/209.
7296 Also reported by Frank Denis.
7298 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
7300 2002-02-07 Akim Demaille <akim@epita.fr>
7302 Fix Autoconf PR/207:
7303 AC_PREFIX_PROGRAM fails with dashed program names
7305 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
7306 variable when looking for the prefix program.
7307 Now it also works for shell variables.
7309 2002-02-07 Akim Demaille <akim@epita.fr>
7311 * doc/autoconf.texi (Limitations of Builtins): More about
7314 2002-02-06 Akim Demaille <akim@epita.fr>
7316 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
7317 case/esac, some shells don't support it.
7318 Reported by Zack Weinberg.
7319 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
7321 2002-02-06 Akim Demaille <akim@epita.fr>
7323 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
7324 sure not to introduce newlines in at_groups.
7325 * lib/autotest/Makefile.am (autotest.m4f): Typo.
7327 2002-02-06 Akim Demaille <akim@epita.fr>
7329 * tests/torture.at (Configuring subdirectories): Skip if aclocal
7332 2002-02-05 Paul Eggert <eggert@twinsun.com>
7334 * doc/autoconf.texi (Specific Compiler Characteristics):
7335 Describe HP-UX cc bug workaround more accurately.
7336 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
7338 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
7339 cross-compilers, too. This undoes some of the most recent change
7342 2002-02-05 Akim Demaille <akim@epita.fr>
7344 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
7345 to make sure they are up to date when `check' is run.
7347 2002-02-05 Akim Demaille <akim@epita.fr>
7349 * doc/autoconf.texi (Making testsuite Scripts): Document
7352 2002-02-05 Akim Demaille <akim@epita.fr>
7354 * lib/freeze.mk: New.
7356 2002-02-05 Akim Demaille <akim@epita.fr>
7358 Implement `autom4te --freeze'.
7360 * bin/autom4te.in (&freeze): New.
7361 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
7362 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
7364 2002-02-05 Akim Demaille <akim@epita.fr>
7366 * bin/autom4te.in (&parse_args): Implement `frozen files are
7367 optional are the sum of the previous files on the command line'.
7368 Also, pass `--reload-state=' on them, so...
7370 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
7371 (M4sh): Rely on M4sugar.
7372 (Autotest, M4sh, M4sugar): Use frozen files.
7374 2002-01-31 Akim Demaille <akim@epita.fr>
7376 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
7377 * doc/autoconf.texi (Initializing configure): Adjust.
7379 2002-01-30 Akim Demaille <akim@epita.fr>
7381 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
7382 alphanumeric to `-' instead of `_'.
7384 2002-01-30 Akim Demaille <akim@epita.fr>
7386 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
7387 for plain code, the other for cross-compilation code. The latter
7388 is now run with GCC only.
7389 * doc/autoconf.texi (Compilers and Preprocessors): New.
7391 2002-01-30 Akim Demaille <akim@epita.fr>
7393 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
7395 * doc/autoconf.texi (Initializing configure): Explain how to
7396 change AC_INIT default values.
7398 2002-01-29 Akim Demaille <akim@epita.fr>
7400 * tests/torture.at (Configuring subdirectories): Use configure.in,
7401 so that aclocal 1.4 works.
7402 Reported by Alexandre Duret-Lutz and Larry Schmitt.
7404 2002-01-28 Akim Demaille <akim@epita.fr>
7406 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
7409 2002-01-28 Akim Demaille <akim@epita.fr>
7411 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
7412 AUTOTEST_PATH *after* it was set.
7413 Don't put `.' in the PATH: the user should be precise and `./' if
7414 needed. In addition, given that the test suite does some `cd', if
7415 `.' is in the path, the `tested programs' sections will report
7416 programs found in the test suite's directory, while during the
7417 tests (performed in their own directory), these programs are no
7418 longer visible. In other words, the results is confusing and
7420 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
7422 2002-01-24 Akim Demaille <akim@epita.fr>
7426 2002-01-24 Akim Demaille <akim@epita.fr>
7428 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
7429 * doc/autoconf.texi: Finally add Akim as an author.
7431 2002-01-24 Akim Demaille <akim@epita.fr>
7433 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
7434 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
7435 Bourne. Use /bin/sh.
7436 From Andreas Buening.
7438 2002-01-24 Akim Demaille <akim@epita.fr>
7440 * config/config.guess, config/config.sub, config/texinfo.tex:
7441 Update from masters.
7443 2002-01-24 Akim Demaille <akim@epita.fr>
7445 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
7446 * config/auxdir.m4, config/cond.m4, config/depend.m4,
7447 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
7448 * config/missing.m4, config/sanity.m4, config/select.m4,
7449 * config/strip.m4: Remove, to ease sync'ing with any version of
7452 2002-01-24 Akim Demaille <akim@epita.fr>
7454 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
7455 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
7456 Reported by Geir Ove Myhr.
7458 2002-01-21 Akim Demaille <akim@epita.fr>
7460 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
7462 2002-01-21 Akim Demaille <akim@epita.fr>
7464 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
7465 message on invalid options.
7466 * bin/autom4te.in (parse_args): Don't use
7467 Autoconf::General::getopt with non valid options.
7469 2002-01-17 Jim Meyering <meyering@lucent.com>
7471 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
7472 $ac_cv_exeext so we don't use an old, invalid, cached value.
7474 2002-01-11 Akim Demaille <akim@epita.fr>
7476 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
7478 * doc/autoconf.texi (Function Portability): Document the strnlen
7480 (Particular Functions): Document AC_FUNC_STRNLEN.
7481 * lib/autoscan/functions: Adjust.
7483 2002-01-06 Akim Demaille <akim@epita.fr>
7485 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
7486 package.m4, since is really depends upon configure.ac, not
7488 * doc/autoconf.texi (testsuite Scripts): Adjust.
7489 * tests/Makefile.am (package.m4): New.
7490 EXTRA_DIST it since its a source.
7492 2002-01-06 Akim Demaille <akim@epita.fr>
7494 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
7495 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
7496 and PACKAGE_BUGREPORT from here...
7497 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
7499 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
7500 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
7501 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
7502 * tests/tools.at (autoheader): Adjust.
7503 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
7505 2002-01-06 Akim Demaille <akim@epita.fr>
7507 * bin/autoscan.in (scan_file): Use `&used'.
7509 2002-01-03 Akim Demaille <akim@epita.fr>
7511 * doc/autoconf.texi (Output): Improved wording regarding use of
7515 2001-12-18 Kevin Ryde <user42@zip.com.au>
7517 * doc/autoconf.texi (Function Portability): Add notes on sscanf
7518 sometimes needing writable input.
7520 2001-12-17 Jim Meyering <meyering@lucent.com>
7522 * doc/autoconf.texi (New Macros): Tweak wording.
7524 2001-12-14 Akim Demaille <akim@epita.fr>
7526 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
7527 trailing files, don't apply `-rf' to files which might not be
7528 created by configure (core, core.*, and *.core), but just `rm -f'.
7529 Suggested by Jonathan Kamens.
7531 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
7533 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
7535 2001-12-14 Akim Demaille <akim@epita.fr>
7537 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
7539 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
7541 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
7542 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
7543 abs_srcdir, top_srcpath to abs_top_srcdir.
7544 (_AC_OUTPUT_FILES): Adjust.
7545 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
7546 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
7547 * tests/wrappl.in, tests/wrapsh.in: Adjust.
7549 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
7551 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
7552 C/Fortran linking on HP/UX, by extracting the Fortran library
7553 search path from the LPATH line in the $F77 -v output.
7555 2001-12-12 Kevin Ryde <user42@zip.com.au>
7557 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
7558 forbidden file descriptors table.
7560 2001-11-26 Akim Demaille <akim@epita.fr>
7562 * bin/autoscan.in (%c_keywords): Build it at top level.
7563 Map to 1 in order to simplify its uses.
7565 2001-11-26 Akim Demaille <akim@epita.fr>
7567 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
7568 Remove $filepath, useless.
7569 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
7570 variables, they are really part of the tokens.
7571 Split the input line on spaces and then look for tokens.
7572 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
7573 because of `lex$U.$(OBJEXT)'.
7574 (&scan_files): Use "@list" instead of join.
7575 * doc/Makefile.am (CLEANFILES): Add *.fns.
7577 2001-11-26 Akim Demaille <akim@epita.fr>
7579 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
7580 Remove, replaced by...
7581 * tests/wrappl.in: Be common for all the Perl executables.
7582 In particular autoscan and autoheader want -I.
7583 * configure.ac: Adjust.
7584 * lib/autoscan/headers: errno.h is portable.
7586 2001-11-26 Akim Demaille <akim@epita.fr>
7588 * bin/autoscan.in (used): New.
7591 2001-11-26 Akim Demaille <akim@epita.fr>
7593 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
7595 (&scan_sh_file): Remove a duplicate pattern.
7596 (&check_configure_ac): Use long options.
7597 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
7599 2001-11-26 Akim Demaille <akim@epita.fr>
7601 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
7602 Before, having a line containing the opening of a multi line
7603 comment made the whole line be ignored.
7605 2001-11-26 Akim Demaille <akim@epita.fr>
7607 * doc/autoconf.texi (Using an Autotest Test Suite): New.
7608 (testsuite Scripts): Be one of its subsection.
7609 (Autotest Logs): New.
7611 2001-11-26 Akim Demaille <akim@epita.fr>
7613 Test groups are now run two directories deeper.
7615 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
7616 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
7618 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
7619 top_srcdir, builddir and top_builddir.
7620 Use `at_*dir' relatively to the directory containing the
7621 suite, use `*dir' when relatively to the current group dir.
7623 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
7625 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
7626 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
7627 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
7630 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7632 * doc/autoconf.texi (Using System Type): Add an example of `case
7633 $host' usage so people quit using `case $target' everywhere.
7635 2001-11-22 Akim Demaille <akim@epita.fr>
7637 * doc/autoconf.texi (Installation Directory Variables): Englishoes
7638 spotted by Jim Meyering.
7640 2001-11-16 Paul Eggert <eggert@twinsun.com>
7642 This patch implements a `long double' suggestion by Oliver Kiddle.
7644 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
7645 static, to catch errors if the value isn't known at compile-time
7646 and the compiler supports dynamic arrays. Change its name from
7647 `_array_' to `test_array' to avoid potential name clashes.
7648 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
7649 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
7650 better than double. Catch a bug in GCC 2.95.2 x86.
7651 * doc/autoconf.texi (C Compiler): Document the above.
7654 2001-11-13 Akim Demaille <akim@epita.fr>
7656 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
7658 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
7660 2001-11-13 Akim Demaille <akim@epita.fr>
7662 * lib/autotest/general.m4 (AT_INIT): After having run the test
7663 group, go back to the initial directory, not to at_suite_dir.
7665 2001-11-13 Akim Demaille <akim@epita.fr>
7667 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
7668 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
7669 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
7671 (AT_CHECK_CONFIGURE): Use absolute paths.
7672 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
7673 The problem is still the old one: there is no means in M4 (that I
7674 know about) to create a defining macro, because there is no means
7675 to create `$1' etc., therefore, the defining macro ``swallows''
7676 all the arguments meant to the defined macro.
7678 2001-11-13 Akim Demaille <akim@epita.fr>
7680 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
7681 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
7683 * tests/aclocal.m4: Remove, as it is no longer used.
7685 2001-11-13 Akim Demaille <akim@epita.fr>
7687 * lib/autotest/general.m4: Change `tests?' into `groups?' in
7688 variable names when referring to a single test group, or to
7689 `suite' when referring to the whole test suite.
7690 `at_last_test' is removed: m4 compute at_format itself.
7691 (at_stdout, at_stder1, at_stderr): New variables.
7692 (AT_CHECK): Use them.
7694 2001-11-13 Akim Demaille <akim@epita.fr>
7696 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
7698 Create `testsuite.dir/003/run' instead of `testsuite.003'.
7699 Do it as soon as a test fails, don't wait till the end of the test
7701 Don't remove $as_me.[0-9]*, since these files no longer exist.
7703 2001-11-13 Akim Demaille <akim@epita.fr>
7705 * tests/tools.at: Use absolute paths, since we are no longer run
7708 2001-11-13 Akim Demaille <akim@epita.fr>
7710 Now that tests are running in their own private dir, there is no
7711 need to list the files to remove at the end of tests groups.
7713 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
7714 (AT_data_files, at_data_files): Remove.
7715 (AT_CLEANUP, AT_DATA): Simplify.
7717 Remove the group dir if !debug && !failed.
7718 * tests/atspecific.m4: Adjust.
7720 2001-11-13 Akim Demaille <akim@epita.fr>
7722 Start a new layout for Autotest: `testsuite' creates
7723 `testsuite.dir' in which the at-check-line etc. files are to be
7724 found, and `testsuite.dir/003' where the test group 3 is run.
7726 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
7727 at_check_line_file, at_format, at_test_normalized, at_group_dir
7729 Create the directories.
7730 Use absolute paths for at- files.
7733 2001-11-11 Michael Matz <matz@kde.org>
7735 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
7737 (m4_car): Properly quote arguments.
7739 2001-11-13 Akim Demaille <akim@epita.fr>
7741 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
7742 with stricter rules on LIBOBJS.
7744 2001-11-12 Paul Eggert <eggert@twinsun.com>
7746 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
7747 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
7750 2001-11-12 Akim Demaille <akim@epita.fr>
7752 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
7754 2001-11-12 Akim Demaille <akim@epita.fr>
7756 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7757 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
7758 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7759 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7760 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
7761 specify to what the macro should be defined (typically to 1).
7763 2001-11-12 Akim Demaille <akim@epita.fr>
7765 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
7768 2001-11-12 Akim Demaille <akim@epita.fr>
7770 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7771 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
7772 definition used by Automake where LEX is +/- "${missing} lex" and
7773 `missing' itself contains variables.
7775 2001-11-12 Akim Demaille <akim@epita.fr>
7777 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
7778 Now that M4sh pushes BODY, the comments were output at the end of
7781 2001-11-08 Akim Demaille <akim@epita.fr>
7783 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
7784 that we can trace macros from aclocal.m4.
7785 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
7786 obsoleted, and redirect to the former anyway.
7787 Reported by Ralf Corsepius.
7789 2001-11-08 Akim Demaille <akim@epita.fr>
7791 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
7792 processed only if present.
7793 * tests/torture.at (Configuring subdirectories): Use autoreconf
7794 instead of successive calls to autoconf.
7795 Add a nonexistent subdirectory to exercise the patch above.
7796 Reported by Ralf Corsepius.
7798 2001-11-08 Kevin Ryde <user42@zip.com.au>
7800 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
7801 doesn't accept .S files.
7803 2001-11-07 Akim Demaille <akim@epita.fr>
7805 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
7806 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
7807 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
7808 * bin/autom4te.in (warn_forbidden): New.
7809 (handle_output): Use it.
7810 Read m4_pattern_forbid with messages.
7812 2001-11-05 Akim Demaille <akim@epita.fr>
7814 * bin/autom4te.in (--normalize): Remove.
7815 * lib/autom4te.in: Adjust.
7817 2001-11-05 Akim Demaille <akim@epita.fr>
7819 * tests/Makefile.am (testsuite): Rename this target as...
7820 ($(TESTSUITE)): this.
7823 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
7825 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
7826 the --prefix option, also remove it's argument.
7828 2001-11-05 Akim Demaille <akim@epita.fr>
7830 * doc/autoconf.texi (testsuite Invocation): Update.
7831 (Writing testsuite.at): Update.
7833 2001-11-03 Akim Demaille <akim@epita.fr>
7835 * doc/autoconf.texi: s/@code/@command/ where appropriate.
7837 2001-11-03 Akim Demaille <akim@epita.fr>
7839 * lib/Autom4te/General.pm: (&catfile, &canonfile)
7840 (&file_name_is_absolute): New, wrappers around routines from
7842 Use and export them.
7843 (&find_configure_ac): Optionally take a directory where to look at.
7844 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
7846 Default @ARGV to `.', not find_configure_ac.
7847 (&autoreconf): Argument is a directory.
7848 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
7849 * doc/autoconf.texi (autoreconf Invocation): Update.
7851 2001-11-03 Akim Demaille <akim@epita.fr>
7853 * lib/Autom4te/General.pm (@export_vars, @export_subs)
7854 (@export_forward_subs): New.
7855 Add basename, dirname, and fileparse.
7857 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
7858 Don't look for aclocal flags if we already know aclocal is not
7860 Move aclocal.m4t only if it exists.
7861 Reported by Ezra Peisach.
7863 2001-11-03 Akim Demaille <akim@epita.fr>
7865 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
7866 passed on command line, defaulting to ./configure.ac if present.
7867 (&maybe_autoreconf, File::Find): Remove, unused.
7868 (&autoreconf): If autoconf is not used, don't try to trace.
7870 2001-11-02 Akim Demaille <akim@epita.fr>
7872 * configure.ac: Bump to 2.52g.
7874 2001-11-02 Akim Demaille <akim@epita.fr>
7878 2001-11-02 Akim Demaille <akim@epita.fr>
7880 * config/config.guess, config/config.sub, doc/standards.texi:
7881 * config/lispdir.m4: Update from masters.
7882 * configure.ac: Bump to 2.52f.
7884 2001-11-02 Akim Demaille <akim@epita.fr>
7886 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
7887 Don't run aclocal when aclocal.m4 is not from aclocal.
7889 Don't run libtoolize and gettextize if --install is not given.
7891 2001-11-01 Paul Eggert <eggert@twinsun.com>
7893 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
7894 be invoked before _AS_LINENO_PREPARE.
7895 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
7896 than character ranges.
7898 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
7899 invoking AS_BASENAME. Set the locale variables to 'C' if
7900 possible, as POSIX requires this to get the traditional
7902 * doc/autoconf.texi (Special Shell Variables): Describe the above.
7904 2001-10-31 Paul Eggert <eggert@twinsun.com>
7906 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
7907 with {}, as that triggers a bug in Bash 2.05.
7909 (_AS_LINENO_PREPARE): Use Sed rather than
7910 Awk. Fix the sed prepass to work even if there are multiple
7911 instances of $LINENO on the same line. Do not substitute for
7912 other variables like $LINENOT. Do not check file dates; such a
7913 check is unreliable on sufficiently fast machines, and removing
7914 the check makes the code simpler and more reliable. Check for
7915 output and chmod failures.
7917 * doc/autoconf.texi (Special Shell Variables): Document
7920 2001-10-31 Akim Demaille <akim@epita.fr>
7922 * tests/Makefile.am (atconfig): Remove this target, Automake
7925 2001-10-31 Akim Demaille <akim@epita.fr>
7927 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
7928 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
7929 provided, while it is optional.
7930 * configure.ac: Adjust.
7932 2001-10-26 Paul Eggert <eggert@twinsun.com>
7934 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
7935 lib/Autom4te/Struct.pm:
7936 Require Perl 5.005_03 instead of just 5.005, as some tests fail
7939 * doc/autoconf.texi (Special Shell Variables): Document some
7940 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
7942 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
7943 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
7944 eval $LINENO is not portable in practice.
7946 2001-10-24 Akim Demaille <akim@epita.fr>
7948 * lib/Autom4te/General.pm (backname): New.
7950 2001-10-24 Akim Demaille <akim@epita.fr>
7952 * m4/: Remove, merged into...
7955 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
7957 * doc/autoconf.texi (Shellology): Mention the problems with bash
7958 2.05's use of ANSI quoting in its `set' builtin.
7960 2001-10-22 Paul Eggert <eggert@twinsun.com>
7962 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
7963 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
7964 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
7965 POSIX decided to standardize on the int flavor of strerror_r.
7966 Always do char* test, as there's no reason not to.
7967 Assign to a char* var, to catch strerror_r that returns int*.
7969 * doc/autoconf.texi (Particular Functions):
7970 Document the above changes. Also, document the fact that
7971 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
7973 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
7975 2001-10-20 Akim Demaille <akim@epita.fr>
7977 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
7978 the executable was missing from the log.
7980 2001-10-20 Akim Demaille <akim@epita.fr>
7982 * lib/Autom4te/General.pm (&update_file): If destination is
7983 unchanged, remove the source.
7984 (&up_to_date_p): Don't be verbose, be debug.
7985 * bin/autoreconf.in: No longer support --m4dir.
7986 (&autoreconf): Display the full path of the configure.ac we are
7989 Be sure to honor --force with gettextize.
7991 * doc/autoconf.texi: Adjust.
7993 2001-10-20 Akim Demaille <akim@epita.fr>
7995 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
7997 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
7998 `intl' is already present, as it refuses unless --force.
7999 (&parse_args): Use -I, --include instead of the old Autoconf
8001 ($localdir, $autoconf_dir): Remove.
8003 (&maybe_autoreconf): New, to preserve $_ for File::Find.
8005 2001-10-19 Jens Petersen <petersen@redhat.com>
8007 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
8008 * doc/autoconf.texi (Particular Programs): Likewise.
8010 2001-10-19 Akim Demaille <akim@epita.fr>
8012 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
8013 file in @configure_input@.
8014 Don't mention `automatically' in addition to `generated'.
8015 * tests/torture.at (#define header templates): Adjust.
8017 2001-10-19 Akim Demaille <akim@epita.fr>
8019 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
8020 comment, explain how to install automatic mode selection.
8023 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
8025 * bin/autoreconf.in (autoreconf): Display the path to the
8026 configure.ac being studied.
8028 2001-10-18 Paul Eggert <eggert@twinsun.com>
8030 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
8031 long, to work around a bug in the HP C compiler version HP92453-01
8034 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
8035 (AS_BASENAME_EXPR): New macro.
8036 (AS_BASENAME_SED): Do not assume GNU sed semantics.
8037 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
8038 and fall back on 'sed' only if the other two fail. This makes
8039 AS_BASENAME act more like AS_DIRNAME.
8040 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
8041 contains white space.
8042 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
8043 Use AS_DIRNAME, since I think it's now DOS-friendly.
8044 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
8045 Allow "dirname //FOO" to return either / or //, as POSIX allows
8048 2001-10-10 Akim Demaille <akim@epita.fr>
8050 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
8051 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
8054 2001-10-10 Akim Demaille <akim@epita.fr>
8056 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8058 (_AS_ECHO_N): AS_REQUIREs it.
8060 2001-10-10 Akim Demaille <akim@epita.fr>
8062 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8063 (AC_INCLUDES_DEFAULT): Move to...
8064 * lib/autoconf/headers.m4: here.
8065 * lib/autoconf/types.m4: Comment changes.
8066 * doc/autoconf.texi: Specify where the default includes are used
8067 in the macro prototypes.
8069 2001-10-09 Akim Demaille <akim@epita.fr>
8071 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8074 2001-10-08 Akim Demaille <akim@epita.fr>
8076 * bin/autoreconf.in (&autoreconf): Remove debugging code.
8077 (&parse_args): Pass verbosity/debugging options to subtools when
8078 --debug, not when --verbose.
8079 * lib/autom4te.in (Autoreconf-preselections): New.
8082 2001-10-08 Akim Demaille <akim@epita.fr>
8084 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8086 2001-10-08 Akim Demaille <akim@epita.fr>
8088 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8089 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8091 2001-10-08 Akim Demaille <akim@epita.fr>
8093 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8094 (Syntax of the shell scripts): Don't.
8095 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8096 bother with $force since...
8097 * lib/Autom4te/General.pm: does.
8099 2001-10-08 Akim Demaille <akim@epita.fr>
8101 * bin/autoreconf.in: Rewrite in Perl.
8102 * configure.ac: Adjust.
8103 * lib/Autom4te/General.pm (&up_to_date_p): New.
8104 * bin/autom4te.in (&up_to_date_p): Use it.
8106 (&up_to_date): this.
8108 2001-10-08 Akim Demaille <akim@epita.fr>
8110 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8111 (m4_list_cmp): Use $0 to reinvoke yourself.
8112 (m4_patsubsts): New.
8113 (m4_strip, m4_version_unletter): Use it.
8114 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8116 2001-10-08 Akim Demaille <akim@epita.fr>
8118 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8119 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8120 * lib/autoconf/types.m4, lib/autotest/general.m4,
8121 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8122 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8123 m4_bregexp, m4_bpatsubst, and m4_bmatch.
8124 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8126 2001-10-08 Akim Demaille <akim@epita.fr>
8128 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8130 2001-10-08 Akim Demaille <akim@epita.fr>
8132 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8133 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8134 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8135 * tests/tools.at, tests/m4sh.at: Use it.
8136 * tests/m4sh.at: Don't rely on Autoconf macros.
8137 (DIRNAME_TEST): Also exercise the expr variant.
8138 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8139 preferred M4sugar extension is now `.4s'.
8140 * tests/README: Remove.
8142 2001-10-08 Akim Demaille <akim@epita.fr>
8144 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8145 (m4_provide_if): this.
8146 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8147 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8148 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8149 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8151 2001-10-08 Akim Demaille <akim@epita.fr>
8153 Use `add-log-current-defun-function' for ChangeLog creation.
8154 Suggested by Tom Tromey.
8156 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8157 (autotest-mode): Adjust.
8158 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8159 'comment-region onto `C-c ;'.
8160 Comments are `#', not `dnl'.
8161 (autoconf-current-defun): New.
8162 (autoconf-font-lock-keywords): Recognize `m4_defun'.
8164 2001-10-08 Akim Demaille <akim@epita.fr>
8166 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8167 * lib/m4sugar/m4sh.m4: here.
8168 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8169 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8170 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8171 include handle the m4_pattern_*, no longer push the
8172 BODY diversion nor set the /bin/sh line, AS_INIT does it.
8173 * lib/autotest/general.m4 (AT_INIT): Likewise.
8174 * tests/base.at: Adjust the tests to use AS_INIT.
8175 * tests/tools.at (AT_DATA_FORBIDDEN): New.
8176 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8179 2001-10-07 Paul Eggert <eggert@twinsun.com>
8181 * doc/autoconf.texi (config.status Invocation):
8182 CONFIG_SHELL defaults to a shell that supports LINENO if available.
8184 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8185 shell does not support LINENO, and if CONFIG_SHELL is unset or
8186 empty, and if we can find a shell that does support LINENO,
8187 then set CONFIG_SHELL to that shell and then re-execute
8188 ourselves with CONFIG_SHELL.
8190 2001-10-05 Paul Eggert <eggert@twinsun.com>
8192 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8193 doesn't exist. Remove *.tmp, as a .tmp file is created during the
8194 build of $(TESTSUITE).
8196 2001-10-05 Akim Demaille <akim@epita.fr>
8198 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
8199 iff we are a bareword.
8200 Reported by Raja R Harinath.
8202 2001-10-05 Akim Demaille <akim@epita.fr>
8204 * tests/m4sh.at (LINENO): New.
8205 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8206 PATH_SEPARATOR before using it.
8207 Fix the absolute path case/esac pattern.
8208 Provide $0 as fallback for as_myself.
8209 Reported by Raja R Harinath.
8211 2001-10-05 Akim Demaille <akim@epita.fr>
8213 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8214 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8216 2001-10-05 Akim Demaille <akim@epita.fr>
8218 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8219 (AS_SHELL_SANITIZE): here. Use it.
8220 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8223 2001-10-04 Akim Demaille <akim@epita.fr>
8225 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8226 combination of Awk and sed to replace $LINENO.
8228 2001-10-02 Paul Eggert <eggert@twinsun.com>
8230 * doc/autoconf.texi (Limitations of Builtins): You can't use
8231 "source"; it's not portable. Remove confusing and
8232 somewhat-incorrect example involving "." and "/".
8234 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8235 compatibility with POSIX shells.
8237 2001-10-02 Akim Demaille <akim@epita.fr>
8239 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8240 instead of exec'ing to preserve $0 and $@.
8242 2001-10-01 Akim Demaille <akim@epita.fr>
8244 * tests/testsuite (AT_INIT) <at_pass_list>: New.
8245 Don't run twice the same test.
8247 2001-10-01 Akim Demaille <akim@epita.fr>
8249 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8250 No longer output the list of tests.
8251 <--list>: New option.
8252 <--full-help>: Remove.
8253 Complete the short/long options duality.
8254 Various small adjustments.
8256 2001-10-01 Akim Demaille <akim@epita.fr>
8258 * doc/autoconf.texi: Use @kbd for user input.
8259 Always use `$' as shell prompt.
8261 2001-09-30 Paul Eggert <eggert@twinsun.com>
8263 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8264 Don't use nested parenthesization. This patch was originally
8265 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8266 but somehow it didn't get incorporated then.
8267 * doc/autoconf.texi (Limitations of Usual Tools):
8268 Clarify remark about sed and nested parenthesization.
8270 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8271 Report an error if the size cannot be determined even though
8273 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8274 Check for `expr' arithmetic overflow, and for compilation failure,
8275 and invoke a new argument $4 if either is discovered.
8276 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8277 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
8279 2001-09-28 Akim Demaille <akim@epita.fr>
8281 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
8282 * m4/lispdir.m4: New.
8283 * aclocal.m4, configure.ac: Adjust.
8285 2001-09-28 Akim Demaille <akim@epita.fr>
8287 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
8289 (AT_INIT): More the wrapped section to where it will be expanded.
8290 Output `AT_tested' only when existing.
8291 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
8293 2001-09-27 Akim Demaille <akim@epita.fr>
8295 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
8296 generates too many bug reports.
8298 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
8299 status when executing the ACTION-IF-FALSE.
8300 * tests/base.at (AC_TRY_*): Rename as...
8301 (AC_TRY_COMMAND): this.
8302 (AC_RUN_IFELSE): New.
8303 * tests/compile.at (Extensions, C keywords)
8304 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
8305 (Broken/missing compilers, AC_PROG_CPP with warnings)
8306 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
8307 * tests/c.at (Extensions, C keywords)
8308 (Broken/missing compilers, AC_PROG_CPP with warnings)
8309 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
8310 (AC_PROG_CPP requires AC_PROG_CC): here and...
8311 * tests/fortran.at (GNU Fortran 77): there.
8312 * doc/autoconf.texi (autoconf Invocation): Fix the example:
8313 AC_TRY_RUN is about compilation, not shell commands.
8314 (Test Programs): AC_TRY_RUN works as used to be advertised.
8316 2001-09-27 Akim Demaille <akim@epita.fr>
8318 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
8320 Be sure to detect when $LINENO always returns the same value.
8321 Look for the original script, basename($0) is certainly not
8323 Pass the CLI arguments to `$as_me.lineno'.
8325 2001-09-25 Akim Demaille <akim@epita.fr>
8327 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
8328 Be sure the close and reopen the LOG fd before and after using tee
8330 <at_tests_pattern>: Adjust to the new format of at_help_all.
8332 2001-09-23 Akim Demaille <akim@epita.fr>
8334 * bin/autom4te.in (parse_args): There can be several invocations
8337 2001-09-23 Akim Demaille <akim@epita.fr>
8339 * doc/autoconf.texi (Top): Wrap in @ifnottex.
8341 2001-09-23 Akim Demaille <akim@epita.fr>
8343 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
8344 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
8345 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
8346 builddir, buildpath, top_builddir, and top_buildpath.
8347 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
8348 the current directory.
8349 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
8350 variables *before* changing the current directory.
8351 Skip nonexistent dirs.
8352 * doc/autoconf.texi (Preset Output Variables): Document these
8355 * lib/autotest/general.m4: Do not reset AT_victims.
8356 Don't compute at_srcdir nor at_top_srcdir.
8358 * tests/tools.at: Hence use top_srcdir.
8360 * tests/Makefile.am, tests/autoconf, tests/autoheader,
8361 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
8363 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
8364 * tests/wrapsh.in, tests/autoupdate.in: New.
8365 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
8366 * configure.ac: Build the position independent wrappers.
8368 * man/Makefile.am: Now that test wrappers are position
8369 independent, use them and drop dark envvar magic.
8371 2001-09-23 Akim Demaille <akim@epita.fr>
8373 * doc/autoconf.texi (Common Shell Constructs): Rename as...
8374 (Programming in M4sh): this.
8375 Promote to @section.
8377 2001-09-23 Akim Demaille <akim@epita.fr>
8379 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
8380 Pass $at_debug_args to the rerun test suite.
8381 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
8382 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
8385 2001-09-23 Akim Demaille <akim@epita.fr>
8387 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
8389 2001-09-23 Akim Demaille <akim@epita.fr>
8391 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
8394 2001-09-23 Akim Demaille <akim@epita.fr>
8396 * lib/Autom4te/General.pm (&debug): New.
8397 * bin/autom4te.in ($language): Move to...
8399 Handle --language in languages.
8400 * lib/autom4te.in (Automake-selections, Autoheader-selections)
8401 (Autoscan-selections): New.
8404 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
8406 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
8407 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
8408 to match current versions from CVS Automake.
8410 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
8412 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
8415 2001-09-22 Akim Demaille <akim@epita.fr>
8417 * lib/autoconf/autotest.m4: Create `package.m4'.
8418 * tests/Makefile.am (package.m4): Remove.
8420 2001-09-22 Akim Demaille <akim@epita.fr>
8422 Rely on `$LINENO' when possible instead of `__oline__'.
8424 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
8425 `$LINENO' support replacement when not supported.
8426 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
8427 them explicitly to be sure they are not output before this section
8428 (via m4_require). Cosmetic only.
8429 * lib/autoconf/c.m4, lib/autoconf/general.m4,
8430 * lib/autoconf/programs.m4: Replace all the occurrences of
8431 `__oline__' with `$LINENO'.
8432 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
8434 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
8436 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
8437 character (u: -> ue) in a code comment.
8438 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
8441 2001-09-21 Akim Demaille <akim@epita.fr>
8443 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
8444 Suggested by Jim Meyering.
8446 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8448 * lib/autoconf/programs.m4: Use extensions listed in
8449 $ac_executable_extensions when looking for programs.
8451 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8453 * lib/autoconf/general.m4: Fix a small Englisho.
8454 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
8455 setting up ac_dir_suffix and ac_top_builddir.
8456 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
8458 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8460 * doc/autoconf.texi (File System Conventions): Clarify the use of
8462 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
8463 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
8464 be used instead of ':'.
8465 * lib/autotest/general.m4: Replace occurrences of ':' in
8466 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
8468 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8470 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
8471 arguments. Fixed a typo.
8473 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8475 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
8476 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
8478 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8480 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
8481 * bin/autoupdate.in: Ditto.
8482 * bin/autoheader.in: Reworded a few comments.
8483 * bin/autoconf.in: Reworded help text for a few options.
8484 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8485 * bin/autoscan.in, bin/autoupdate.in: Ditto.
8487 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8489 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
8490 already have $file). Set output files to binary mode (helps avoid
8491 CR issues on DOSish systems).
8493 2001-09-19 Akim Demaille <akim@epita.fr>
8495 * lib/autotest/general.m4: Englishoes.
8496 From Tim Van Holder and Alexey Mahotkin.
8498 2001-09-18 Paul Eggert <eggert@twinsun.com>
8500 * doc/autoconf.texi (Common Shell Constructs): New node,
8501 documenting AS_DIRNAME.
8502 (Limitations of Usual Tools): Refer to it when discussing dirname.
8503 Also, update discussion of POSIX standard to reflect latest draft.
8505 * lib/autoconf/c.m4:
8506 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
8508 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8509 Do not pass a first argument with leading '-'
8510 to expr, by parenthesizing initial integers that might be negative.
8512 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
8513 now merely checks whether it is an error to pass an argument
8516 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
8517 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
8518 whether it is a (compile-time) error to pass an argument to
8519 getpgrp. This simpler test supports the revised documentation,
8520 and is all that AC_FUNC_GETPGRP's users really need.
8522 2001-09-18 Akim Demaille <akim@epita.fr>
8524 * doc/autoconf.texi (Limitations of Make) <$<>: New.
8526 2001-09-18 Akim Demaille <akim@epita.fr>
8528 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
8530 * lib/autotest/general.m4 (AT_INIT): Adjust.
8532 2001-09-18 Paul Wagland <paul@wagland.net>
8534 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
8536 Add test for AS_BASENAME.
8537 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
8538 added test. It now correctly handles /1/2/3/, returning '3' not ''.
8539 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
8540 * tests/base.at: Fixed the expected responses. The old ones were
8542 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
8543 the documentation claims it should (and how it behaved in 2.13).
8545 2001-09-18 Akim Demaille <akim@epita.fr>
8547 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
8548 the AC_CONFIG_COMMANDS invocation.
8549 This also solves the name clash problems.
8550 Don't set the package's ID.
8551 * lib/m4sugar/Makefile.am (version.m4): Revamp.
8552 No longer to be shipped.
8553 (version.in): Remove.
8554 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
8555 * lib/autoconf/status.m4: Adjust.
8556 Use `m4_PACKAGE_STRING'.
8557 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
8558 the only optional argument is the name of the test suite.
8559 Expect `package.m4' to define the package signature.
8560 * lib/autom4te.in (Autotest): Add `package.m4?'.
8561 * tests/Makefile.am (package.m4): New.
8562 * tests/suite.at: ifnames is a victim.
8564 2001-09-18 Akim Demaille <akim@epita.fr>
8566 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
8567 AC_LIBSOURCE, AC_CONFIG_FILES.
8568 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
8569 program version string doesn't match the package's.
8570 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
8573 2001-09-17 Paul Eggert <eggert@twinsun.com>
8575 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8576 Allow expression to return any value that can fit into unsigned long
8577 (not int, as before). Check for output errors.
8579 2001-09-17 Bruno Haible <haible@ilog.fr>
8581 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8582 Always include <stdio.h> and <stdlib.h>. Evaluate
8583 the expression in an extra function before these includes. Call
8584 fprintf "%d" only after ensuring the argument is of type 'int'.
8585 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
8587 2001-09-17 Paul Eggert <eggert@twinsun.com>
8589 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
8590 or CFLAGS=-O5. In that case, the linker has a relaxed view of
8591 fatal errors, and AC_CHECK_LIB causes it to include libraries even
8592 when they don't exist.
8594 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
8595 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
8598 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
8599 version with the version used by fileutils 4.1, except use
8600 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
8603 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
8605 2001-09-13 Akim Demaille <akim@epita.fr>
8607 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
8609 Reported by Gerrit P. Haase.
8611 2001-09-13 Akim Demaille <akim@epita.fr>
8613 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
8614 m4_defn'ing is valid.
8616 2001-09-13 Akim Demaille <akim@epita.fr>
8618 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
8619 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
8622 2001-09-13 Akim Demaille <akim@epita.fr>
8624 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
8626 (m4_re_escape): New.
8627 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
8628 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
8629 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
8631 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
8632 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
8633 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
8634 AT_tests_all for consistency.
8636 (AT_VICTIMS): Similar to AT_KEYWORDS.
8637 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
8639 2001-09-13 Akim Demaille <akim@epita.fr>
8641 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
8643 2001-09-13 Akim Demaille <akim@epita.fr>
8645 * lib/autotest/general.m4 (AT_INIT): Create and remove
8646 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
8647 test suites can cohabit.
8649 2001-09-13 Akim Demaille <akim@epita.fr>
8651 * tests/mktests.sh: Don't output banners for empty test files.
8653 2001-09-13 Akim Demaille <akim@epita.fr>
8655 Test suites can be run independently of configure.
8657 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
8658 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
8659 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
8661 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
8663 * lib/autotest/general.m4: Use ECHO_*.
8665 2001-09-13 Akim Demaille <akim@epita.fr>
8667 * bin/ifnames.in: Rewrite in Perl.
8668 * configure.ac: Don't look for AWK.
8669 * tests/tools.at (AWK portability): Remove.
8670 (Syntax of the shell scripts): Don't check ifnames.
8671 (AT_CHECK_PERL_SYNTAX): New.
8672 (Syntax of the Perl scripts): Check ifnames.
8673 * tests/ifnames: New.
8675 2001-09-13 Akim Demaille <akim@epita.fr>
8677 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
8679 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
8680 Remove all the other keywords.
8682 2001-09-10 Akim Demaille <akim@epita.fr>
8684 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
8685 SETUP: no longer used.
8686 Support -k, --keywords.
8687 <at_help>: Be `no', `short', or `long'.
8688 <at_help_all>: New variable.
8690 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
8691 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
8692 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
8693 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
8694 No longer fill the HELP diversion.
8695 (AT_CLEANUP): Use them.
8696 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
8697 (m4_list_append): Remove.
8699 Spread a few keywords in the Autoconf test suite.
8701 2001-09-10 Akim Demaille <akim@epita.fr>
8703 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
8704 PATH_SEPARATOR, let M4sh compute it.
8705 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
8706 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
8708 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
8709 Simplify when the path is not a literal.
8710 (AS_UNAME): Use it to report PATH.
8711 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
8712 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
8713 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
8714 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
8715 normalize the path, and to look for victims.
8716 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
8717 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
8719 2001-09-07 Akim Demaille <akim@epita.fr>
8721 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
8722 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
8723 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
8724 related variables into `at_package_*'.
8725 * lib/autotest/general.m4 (AT_VICTIMS): New.
8726 (AT_INIT): Adjust for stand-alone/embedded test suites.
8727 (AS_MESSAGE_LOG_FD): Define and use it.
8728 * tests/suite.at (AT_VICTIMS): Use it.
8729 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
8732 2001-09-07 Akim Demaille <akim@epita.fr>
8734 Move toward possibly stand-alone test suites.
8736 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
8737 in addition, it introduces useless differences in logs.
8738 (AT_INIT): Let atconfig and atlocal be both optional.
8739 Adjust PATH computation.
8740 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
8742 2001-09-07 Akim Demaille <akim@epita.fr>
8744 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
8747 2001-09-05 Akim Demaille <akim@epita.fr>
8749 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
8750 to avoid GCC warnings.
8753 2001-09-05 Akim Demaille <akim@epita.fr>
8755 * bin/autom4te.in: --language is -l, not -s.
8757 2001-09-05 Akim Demaille <akim@epita.fr>
8759 Be ready to handle filenames as stupid as `dnl.at', for if even
8760 the maintainer is dumb enough to do that...
8762 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
8763 excellence in M4 quotation: consider `__file__' is active.
8765 And BTW, when invoking m4, pass the --include in the right order:
8768 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
8771 2001-09-05 Akim Demaille <akim@epita.fr>
8773 * lib/Autom4te/XFile.pm: New lib file.
8774 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
8775 * bin/autoheader.in: Use it.
8777 2001-09-05 Akim Demaille <akim@epita.fr>
8779 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
8782 2001-09-05 Akim Demaille <akim@epita.fr>
8784 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
8785 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
8787 * bin/autoscan.in: Use `getopt' and `find_files' etc.
8788 Add -I, --include support.
8789 * doc/autoconf.texi (autoscan Invocation): Adjust.
8791 2001-09-05 Akim Demaille <akim@epita.fr>
8793 CVS GNU M4 doesn't like `undefine(undefined)'.
8795 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
8796 New, extracted from main.
8797 Use IO::File wherever possible.
8798 (input.m4): Be constant, use -I instead of hard coding $tmp.
8799 Therefore be a quoted heredoc.
8800 Don't invoke `_au_disable', since ac was not loaded, but just
8803 2001-08-31 Akim Demaille <akim@epita.fr>
8807 2001-08-31 Akim Demaille <akim@epita.fr>
8809 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
8811 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
8813 2001-08-31 Akim Demaille <akim@epita.fr>
8815 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
8816 serious problems handling heredocs in heredocs.
8817 Reported by Nicolas Joly.
8819 2001-08-31 Akim Demaille <akim@epita.fr>
8821 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
8822 (Making testsuite Scripts): Update.
8824 2001-08-31 Akim Demaille <akim@epita.fr>
8826 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
8828 2001-08-31 Akim Demaille <akim@epita.fr>
8830 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
8831 (testsuite Scripts): There is no such thing as `atconfig.in'.
8832 And actually one diagram is missing: test suite runtime.
8834 2001-08-31 Akim Demaille <akim@epita.fr>
8836 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
8839 2001-08-31 Akim Demaille <akim@epita.fr>
8841 * bin/autoupdate.in (@include): `installcheck' revealed the path
8842 to m4sugar was lacking!
8844 2001-08-31 Akim Demaille <akim@epita.fr>
8846 * man/Makefile.am (.x.1): We really have to pass
8847 autom4te_perllibdir.
8849 2001-08-31 Akim Demaille <akim@epita.fr>
8851 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
8852 debug scripts, in particular passing explicitly listed tests to
8855 2001-08-31 Akim Demaille <akim@epita.fr>
8857 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
8858 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
8859 Use directly autom4te, not autoconf.
8860 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
8862 2001-08-31 Akim Demaille <akim@epita.fr>
8864 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
8865 * bin/autoheader.in (%symbol): Strip arguments of macros.
8867 2001-08-31 Akim Demaille <akim@epita.fr>
8869 * doc/autoconf.texi: Catch up -I, --include changes.
8871 2001-08-31 Akim Demaille <akim@epita.fr>
8873 * bin/autom4te.in (&parse_args): Die on unknown languages.
8874 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
8876 Promote --include over --macrodir and other obsolete options.
8878 2001-08-31 Akim Demaille <akim@epita.fr>
8880 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
8881 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
8882 * bin/autom4te.in ($autoconf): Pass --force.
8883 `print $out' doesn't print `$_' but `$out'.
8884 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
8885 (autoheader): Pass --force since the test suite goes too fast for
8887 Adjust to the new autoheader messages.
8889 2001-08-31 Akim Demaille <akim@epita.fr>
8891 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
8892 Check the completeness of the #template.
8893 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
8894 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
8897 2001-08-31 Akim Demaille <akim@epita.fr>
8899 * lib/Autom4te/General.pm (&find_file, &update_file): New.
8900 * bin/autoupdate.in, bin/autoheader.in: Adjust.
8901 Drop AC_MACRODIR dead for real.
8902 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
8903 `autoheader: `config.hin' is created'.
8904 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
8906 2001-08-31 Akim Demaille <akim@epita.fr>
8908 * bin/autoheader.in: Rewrite in Perl.
8909 * tests/autoheader: Adjust.
8911 2001-08-31 Akim Demaille <akim@epita.fr>
8913 * bin/autoconf.in (--include, -I): New option.
8914 Map --localdir, --autoconf-dir onto it.
8915 Forward autom4te's options instead of interpreting them.
8916 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
8917 There is no such envvar since the inception of autom4te.cfg.
8918 * bin/autom4te.in (&parse_args): Uniquify `@include'.
8919 * bin/autoupdate.in: Adjust, and perform more control.
8920 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
8921 * tests/autoconf: Dittowise.
8923 2001-08-31 Akim Demaille <akim@epita.fr>
8925 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
8926 * bin/autom4te.in (&find_file): Support `FILE?' standing for
8928 Use -e, not -f, since /dev/null for instance is OK.
8929 (&parse_args): Adjust.
8930 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
8932 2001-08-31 Akim Demaille <akim@epita.fr>
8934 * configure.ac: Also find tested executables in bin.
8935 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
8936 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
8937 installed peer executables, only PATH is allowed to resolve it.
8938 Pass `autoconf_dir' via options, not via invisible envvars.
8939 * lib/Autom4te/General.pm (&find_peer): Remove.
8940 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
8941 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
8942 * man/Makefile.am: Let help2man rely on PATH instead of trying to
8943 find the executables for it.
8944 * tests/Makefile.am: Major cleanup. Too lazy to document...
8945 * tests/atlocal.in: Remove all the obscure envvar manipulations.
8947 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
8948 indeed related to running the test suite, while passing
8949 --autoconf-dir and others is related to running non installed
8950 Autoconf executables. So don't do that, leave it to...
8951 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
8952 * tests/autoscan: New.
8953 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
8954 refer to library files: rely on --language.
8956 2001-08-29 Akim Demaille <akim@epita.fr>
8958 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
8959 s/--set/--language/.
8961 2001-08-29 Akim Demaille <akim@epita.fr>
8963 * doc/autoconf.texi: Strip the @nodes.
8964 Suggested by Paul Eggert.
8965 (Initializing configure): Typo.
8967 2001-08-29 Akim Demaille <akim@epita.fr>
8969 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
8970 Suggested by Paul Eggert.
8972 2001-08-29 Akim Demaille <akim@epita.fr>
8974 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
8975 download in a tmp dir.
8977 2001-08-29 Akim Demaille <akim@epita.fr>
8979 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
8980 case insensitive OSes out there :(
8981 From Tim Van Holder.
8983 2001-08-29 Akim Demaille <akim@epita.fr>
8985 * lib/autom4te.in: New.
8986 * lib/Makefile.am (edit, autom4te.cfg): New.
8987 * bin/autom4te.in (BEGIN): Simplify.
8988 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
8989 (&load_configuration): New. Use it.
8990 (&parse_args): Support --mode, --set, and --melt.
8991 * bin/autoconf.in: Simplify and adjust.
8992 * tests/Makefile.am (AUTOMAKE): Use --set.
8993 * tests/atlocal.in: Adjust.
8994 * BUGS: distcheck and check are weak.
8996 2001-08-29 Akim Demaille <akim@epita.fr>
8998 * lib/autotest/general.m4: Use
8999 foo=`(command) 2>/dev/null`
9001 foo=`command` 2>/dev/null
9002 (at-devnull): Rename as...
9004 (--clean): Remove AT-* files too.
9005 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
9006 Reported by Nicolas Joly.
9008 2001-08-28 Akim Demaille <akim@epita.fr>
9010 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
9011 quotes inside single quotes.
9012 Reported by Nicolas Joly.
9014 2001-08-28 Kevin Ryde <user42@zip.com.au>
9016 * doc/autoconf.texi (Function Portability): Mention C right shifts.
9018 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
9020 * lib/autotest/general.m4: Reword some messages.
9021 (AT_INIT): Check for the `times' builtin before using it.
9022 Support test ranges as arguments to the testsuite.
9023 Have -e imply -d as the help text suggested.
9025 2001-08-27 Akim Demaille <akim@epita.fr>
9027 * Makefile.maint: Formatting changes.
9028 (do-po-update, po-update, cvs-update, update): New targets.
9031 2001-08-27 Akim Demaille <akim@epita.fr>
9033 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
9035 Pass it to debug-*.sh scripts.
9036 <AUTOTEST_PATH>: May contain absolute dir names.
9038 2001-08-27 Akim Demaille <akim@epita.fr>
9040 * lib/autotest/general.m4 (AT_INIT): Log the command line.
9041 Support `VAR=VAL' as arguments.
9042 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
9043 may be set via the command line.
9045 2001-08-27 Akim Demaille <akim@epita.fr>
9047 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
9048 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
9049 first the build dirs, then the src dirs.
9050 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
9052 2001-08-27 Akim Demaille <akim@epita.fr>
9054 * lib/autotest/general.m4 (AT_INIT): Output the definition of
9055 at_data_files earlier.
9056 (--clean, -c): New option.
9057 * tests/Makefile.am: Use this option.
9059 2001-08-27 Akim Demaille <akim@epita.fr>
9061 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9062 `ac_top_builddir' to mimic Automake's vocabulary, which much more
9065 * doc/autoconf.texi (Configuration Actions): Document the vars
9066 available in commands.
9067 Emphasize the risks of collisions in init-cmds.
9069 2001-08-27 Akim Demaille <akim@epita.fr>
9071 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9072 (Initializing configure): this new node.
9074 2001-08-27 Akim Demaille <akim@epita.fr>
9076 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9078 2001-08-27 Akim Demaille <akim@epita.fr>
9080 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9081 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9083 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9085 2001-08-27 Akim Demaille <akim@epita.fr>
9087 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9089 * lib/autoconf/autoheader.m4: this new file.
9090 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9091 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9093 * lib/autoconf/autoupdate.m4: this new file.
9095 2001-08-27 Akim Demaille <akim@epita.fr>
9097 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9098 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9099 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9101 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9102 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9104 2001-08-27 Akim Demaille <akim@epita.fr>
9106 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9107 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9108 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9109 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9110 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9111 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9112 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9113 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9114 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9115 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9116 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9117 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9118 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9119 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9120 (_AC_OUTPUT_SUBDIRS): Move to...
9121 * lib/autoconf/status.m4: this new file.
9122 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9123 * tests/Makefile.am, tests/suite.at: Adjust.
9125 2001-08-27 Akim Demaille <akim@epita.fr>
9129 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9130 (AMTAR): Help automake define it.
9131 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9132 needed, 1.5 can have a macro and a target with the same name.
9133 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9135 * m4/init.m4, m4/sanity.m4: Update.
9136 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9137 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9138 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9139 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9141 2001-08-27 Akim Demaille <akim@epita.fr>
9143 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9145 * lib/autoconf/version.in: Remove.
9146 * lib/m4sugar/version.in: New.
9147 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9149 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9150 the name of the directory they're in, instead of the filename,
9151 since version.m4 is now in m4sugar, but m4_acversion must not be
9152 classified as an Autoconf macro.
9153 ($input_m4): Don't qualify the path to m4sugar.
9154 Rather, pass autoconf_dir to m4.
9155 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9156 * tests/suite.at: Require 2.52c.
9158 2001-08-27 Akim Demaille <akim@epita.fr>
9160 testsuite.log should include config.log.
9162 * lib/autotest/autotest.m4: New.
9163 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9164 * tests/suite.at : Adjust.
9165 (AT_INIT): Log config.log.
9166 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9167 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9168 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9169 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9170 of config.log on traps.
9171 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9172 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9174 Open the log as soon as possible.
9175 Use the same log introduction as configure's.
9177 2001-08-22 Paul Eggert <eggert@twinsun.com>
9179 * doc/autoconf.texi (Indices): New node.
9180 Move indices out of the top level menu and into this submenu.
9182 2001-08-22 Akim Demaille <akim@epita.fr>
9184 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9186 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9188 2001-08-22 Akim Demaille <akim@epita.fr>
9190 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9191 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9192 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9193 * lib/autoconf/programs.m4: here.
9194 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
9195 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
9196 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
9197 * lib/autoconf/programs.m4: here.
9198 (_AC_DECL_YYTEXT): Rename as...
9199 (_AC_PROG_LEX_YYTEXT_DECL): this.
9200 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9201 * tests/Makefile.am, tests/suite.am: Adjust.
9203 2001-08-22 Akim Demaille <akim@epita.fr>
9205 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9207 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9209 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9210 * lib/autoconf/functions.m4: here.
9211 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9212 (AH_CHECK_LIB): Move to...
9213 * lib/autoconf/libs: this new file.
9214 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9215 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9216 * lib/autoconf/libs.m4: here.
9217 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9219 2001-08-22 Akim Demaille <akim@epita.fr>
9221 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9222 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9223 (AC_SITE_LOAD): Better logging of config.site.
9225 2001-08-20 Akim Demaille <akim@epita.fr>
9227 * configure.ac (AT_CONFIG): Fix the path.
9228 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9231 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
9233 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9234 program with AC_LANG_PROGRAM before feeding it to
9235 AC_COMPILE_IFELSE. Cleanup grep usage.
9237 2001-08-20 Akim Demaille <akim@epita.fr>
9239 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9240 * NEWS, README, README-alpha, TODO, tests/README: This package is
9241 `Autoconf', not `autoconf' (the executable).
9243 2001-08-20 Akim Demaille <akim@epita.fr>
9245 Info readers seem to need `Index' in the index node title :(
9247 * doc/autoconf.texi: Reverse the 2001-08-15 change which
9248 simplified index node names.
9250 2001-08-20 Akim Demaille <akim@epita.fr>
9252 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9253 arguments are not literals.
9254 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9255 Specify the output variables, and macros defined.
9257 2001-08-20 Akim Demaille <akim@epita.fr>
9259 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9260 (Examining Syntax) <AC_TRY_COMPILE>
9261 (Examining Libraries) <AC_TRY_LINK>
9262 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9264 Reported by Werner Lemberg.
9266 2001-08-20 Akim Demaille <akim@epita.fr>
9268 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9269 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9270 Load atlocal late enough to dump it in the log.
9271 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9273 2001-08-20 Akim Demaille <akim@epita.fr>
9275 * tests/torture.at (Configuring subdirectories): New test.
9276 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9278 * m4/atconfig.m4: Be sure the let $[0] be expandable.
9279 (top_srcdir): Fix its computation.
9281 2001-08-20 Akim Demaille <akim@epita.fr>
9283 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
9284 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
9286 Create `atconfig' automagically.
9287 Configure atlocal.in if present.
9288 * tests/atconfig.in: Remove.
9289 * tests/atlocal.in: New.
9290 * tests/Makefile.am: Adjust.
9292 2001-08-20 Akim Demaille <akim@epita.fr>
9294 Huh!?!?! There are still some user EOF tags used, which prevents
9295 their use in AC_CONFIG_COMMANDS for instance...
9297 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
9298 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
9299 `_CSEOF', or `_ATEOF', as appropriate.
9300 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
9301 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
9303 2001-08-20 Akim Demaille <akim@epita.fr>
9305 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
9306 * tests/semantics.at, tests/tools.at, tests/torture.at:
9307 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
9309 2001-08-20 Akim Demaille <akim@epita.fr>
9311 Autotest invokes M4sh's initialization.
9313 * lib/autotest/general.m4: Adjust the diversion names.
9314 (AT_INIT): Run AS_INIT.
9315 Use the BINSH diversion to invoke /bin/sh.
9316 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
9317 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
9319 2001-08-20 Akim Demaille <akim@epita.fr>
9321 Let M4sh have its own diversions.
9323 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
9324 (_m4_divert(NOTICE)): Rename as...
9325 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
9326 (_m4_divert(HEADER-COMMENT)): these.
9327 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
9328 (_m4_divert(NOTICE)): New, for Libtool.
9329 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
9330 long ago with `_m4_divert(GROW)'.
9331 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
9333 2001-08-20 Akim Demaille <akim@epita.fr>
9335 * tests/base.at, tests/compile.at, tests/foreign.at,
9336 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
9337 * tests/semantics.at, tests/suite.at, tests/tools.at,
9338 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
9340 2001-08-20 Akim Demaille <akim@epita.fr>
9342 * bin/autom4te.in (handle_output): Handle @__@.
9344 2001-08-20 Akim Demaille <akim@epita.fr>
9346 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
9347 * lib/autotest/general.m4: Adjust the license.
9349 2001-08-17 Paul Eggert <eggert@twinsun.com>
9351 * doc/autoconf.texi (Function Portability): Mention snprintf,
9352 following up on a suggestion by Kevin Ryde.
9354 2001-08-17 Akim Demaille <akim@epita.fr>
9356 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
9357 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
9359 2001-08-17 Akim Demaille <akim@epita.fr>
9361 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
9362 `$0.log' as for projects where testsuite is in src, we'd have
9363 testsuite.log created in src.
9365 2001-08-17 Akim Demaille <akim@epita.fr>
9367 * bin/autom4te.in (&parse_args): Recognize --normalize.
9369 2001-08-17 Akim Demaille <akim@epita.fr>
9371 Start implementing the AC_CHECK_HEADER transition scheme.
9373 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
9374 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
9375 (AC_CHECK_HEADER): Use them.
9377 2001-08-17 Akim Demaille <akim@epita.fr>
9379 * doc/autoconf.texi: Work around Texinfo buglets.
9380 (Transformation Rules): One example is enough, users are expected
9381 to have their brains on. And BTW, use DESTDIR.
9382 (dvar): New macro. Use it.
9384 2001-08-17 Akim Demaille <akim@epita.fr>
9386 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
9387 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
9388 looking for ChangeLogs.
9390 2001-08-17 Akim Demaille <akim@epita.fr>
9392 * bin/autom4te.in: --normalize is a new option.
9393 * bin/autoconf.in: Use it.
9395 2001-08-17 Akim Demaille <akim@epita.fr>
9397 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
9398 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
9400 2001-08-16 Paul Eggert <eggert@twinsun.com>
9402 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
9405 2001-08-15 Akim Demaille <akim@epita.fr>
9407 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
9410 2001-08-15 Akim Demaille <akim@epita.fr>
9412 * doc/autoconf.texi (pr): New index.
9413 (prindex, findex): Use, merge, and output them.
9414 (Environment Variable Index, Output Variable Index)
9415 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
9416 (Autotest Macro Index): Rename as...
9417 (Environment Variables, Output Variables,Preprocessor Symbols)
9418 (Autoconf Macros, M4 Macros, Autotest Macros): these.
9419 * doc/install.texi: Use @command.
9420 (Environment Variables): Rename as...
9421 (Defining Variables): this.
9423 2001-08-15 Akim Demaille <akim@epita.fr>
9425 * doc/autoconf.texi (Function Portability): sprintf's return
9429 2001-08-15 Akim Demaille <akim@epita.fr>
9431 * Makefile.maint (CVS): New.
9432 (local-check): Run changelog-check. last.
9433 (alpha): Don't depend upon local-check, since...
9434 (cvs-dist): depends upon it.
9436 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
9438 * tests/Makefile.am: Use a clean-local rule to remove
9439 autom4te.cache (it's a directory, not a file.
9440 * Makefile.am: Ditto (but maintainer-clean-local).
9442 2001-08-15 Akim Demaille <akim@epita.fr>
9444 * bin/autom4te.in (@m4_warning): New.
9445 (&handle_m4): Use it.
9446 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
9447 warnings are issued at each run.
9448 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
9451 2001-08-15 Akim Demaille <akim@epita.fr>
9453 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
9454 don't waste time running `autoupdate --version' works.
9455 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
9457 2001-08-13 Akim Demaille <akim@epita.fr>
9459 * doc/autoconf.texi (ma): Rename this index as...
9462 2001-08-13 Akim Demaille <akim@epita.fr>
9464 * Makefile.am: Remove dead code and dead comments.
9465 (pdf, html): New targets.
9466 * doc/autoconf.texi (Using Autotest): New chapter.
9467 * doc/Makefile.am (pdf): New targets.
9468 (CLEANFILES): Adjust.
9470 2001-08-13 Akim Demaille <akim@epita.fr>
9472 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
9473 duration of the test suite.
9475 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9477 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
9478 endianness for comparison instead of relying on AT_CHECK_ENV.
9480 2001-08-11 Paul Eggert <eggert@twinsun.com>
9482 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
9483 to the INSTALL file.
9485 2001-08-11 Paul Eggert <eggert@twinsun.com>
9487 * NEWS: The autoconf manual now is distributed under the terms
9488 of the GNU Free Documentation License.
9490 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
9491 Add an appendix "Copying This Manual" for the FDL.
9493 * doc/fdl.texi: New file, from
9494 <http://www.gnu.org/licenses/fdl.texi>.
9496 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
9498 2001-08-10 Paul Eggert <eggert@twinsun.com>
9500 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
9501 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
9502 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
9503 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
9504 m4/sanity.m4, tests/README, tests/aclocal.m4,
9505 tests/atspecific.m4, tests/base.at, tests/compile.at,
9506 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
9507 tests/semantics.at, tests/suite.at, tests/tools.at,
9508 tests/torture.at: Add copyright notice.
9510 * tests/mktests.sh: Update year in copyright notice.
9512 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9514 * tests/semantics.at (AC_C_BIGENDIAN): New test.
9516 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9518 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
9519 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
9520 * doc/autoconf.texi (C Compiler Characteristics): Update
9521 documentation for AC_C_BIGENDIAN.
9523 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9525 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
9526 magic values from an object file when cross-compiling.
9527 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
9529 2001-08-10 Akim Demaille <akim@epita.fr>
9531 * bin/autom4te.in (&handle_output): Don't use `grep' with side
9533 Suggested by Russ Allbery.
9535 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9537 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
9538 current $prefix to the sub-configures.
9540 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
9542 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
9543 extension (needed on BeOS). Reported by Guido van Rossum.
9545 2001-08-09 Akim Demaille <akim@epita.fr>
9547 * bin/autom4te.in ($icache): Load it only if older than autom4te.
9549 2001-08-07 Akim Demaille <akim@epita.fr>
9551 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
9553 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
9554 No need to remove the files before and after the each test, before
9555 each test and at the end of the suite is enough.
9556 Display only the children `times', not the shell's.
9557 If the test failed or was skipped, at-times is not available.
9559 2001-08-07 Akim Demaille <akim@epita.fr>
9561 Always produce testsuite.log, including when there are no
9562 failures. This helps getting information on skipped tests, and
9563 duration of the tests. Err, implement the latter btw.
9565 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
9566 Dump information on the first run of each test.
9567 (AT_CLEANUP): Create `at-times' containing the duration of the
9570 2001-08-07 Akim Demaille <akim@epita.fr>
9572 The use of `dumpstat' revealed that `len' was used although it
9573 should not. m4_text_wrap was using it, but in the Autoconf world
9574 where it is legal. Hence (i) test M4sh in its own world, not
9575 Autoconf's, and (ii), ahem, fix the bug :)
9577 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
9578 does not like `' instead of [].
9579 (AT_INIT): Forbid `^_?AT_'.
9580 And don't output such tokens.
9581 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
9582 `script.as', and `autom4te.cache'.
9583 Remove `empty' and `macro' which are no longer used.
9584 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
9585 * tests/m4sugar.at: Use it.
9586 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
9588 2001-08-07 Akim Demaille <akim@epita.fr>
9590 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
9592 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
9594 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
9596 2001-08-04 Akim Demaille <akim@epita.fr>
9598 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
9599 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
9601 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
9602 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
9603 (AC_F77_MAIN): Likewise.
9605 2001-08-04 Akim Demaille <akim@epita.fr>
9607 Don't rely on M4sugar outputting the patterns in files, since we
9608 might process the output _without_ running m4, hence without these
9611 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
9612 * bin/autom4te.in (@Request::includes): Remove, unused.
9613 (@Request::source): Rename as...
9614 (@Request::input): this.
9615 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
9616 (&handle_output): Fetch the patterns from the traces.
9617 `$forbidden' and `$allowed' are constant: use m//o.
9618 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
9619 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
9621 2001-08-04 Akim Demaille <akim@epita.fr>
9623 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
9624 autoconf', i.e., in addition to caching traces, cache the output.
9626 * bin/autom4te.in (Request::cache): Rename as...
9627 (Request::id): this.
9628 ($cache, $icache, $tcache, $ocache): New.
9629 (&handle_m4): Save M4 output in the cache instead of $tmp.
9630 (&handle_output): Adjust.
9631 (&up_to_date_p): Check that the output cache is up to date too.
9632 (top level): Run `&handle_m4' iff force or the cache is invalid.
9633 Run `&handle_output' if the output cache is more recent.
9635 2001-08-04 Akim Demaille <akim@epita.fr>
9637 * bin/autom4te.in ($force): New.
9638 (&parse_args, &print_usage): -f, --force is a new option.
9639 (&handle_output): CPP directives might have spaces after `#'.
9640 (&parse_args): The first file only can be frozen.
9642 2001-08-04 Akim Demaille <akim@epita.fr>
9644 Don't let autom4te compute the `include' traces several times:
9645 first check that the trace cache file is up to date, and then
9646 compare its timestamp with that of the output.
9648 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
9649 the preamble. Don't require 5.005 as Autom4te::General does it,
9650 and better yet (use `use', not `require'!).
9651 * lib/Autom4te/Struct.pm: Rename the last occurrences of
9652 Class::Struct as Autom4te::Struct.
9653 * lib/Autom4te/General.pm (File::stat): Use it.
9654 (&mtime): New, export it.
9655 * bin/autom4te.in: Use it.
9656 Declare `$req' is invalid if it is outdated.
9657 Don't declare it valid before saving it if something went wrong.
9659 2001-08-04 Akim Demaille <akim@epita.fr>
9661 Autom4te shall not encode Autoconf data, and preselecting traces
9662 must be proposed to the users.
9664 * bin/autom4te.in (@required_trace): Remove.
9666 (&parse_args, &print_usage): -p, --preselect is a new option.
9667 (&up_to_date_p): Adjust.
9668 * bin/autoconf.in: Preselect some Autoconf macros.
9670 2001-08-04 Akim Demaille <akim@epita.fr>
9672 * tests/tools.at (autoconf --trace: user macros): Check traces on
9673 macros invoked without arguments, and macros invoked with multiple
9676 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
9678 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
9681 2001-08-03 Akim Demaille <akim@epita.fr>
9683 * bin/autoconf.in ($@): Work around the usual sh bug.
9686 2001-08-03 Akim Demaille <akim@epita.fr>
9688 Clean up the handling of the M4 builtins tracing exception.
9690 * bin/autom4te.in (Request::request): Don't complete M4 builtins
9692 (@m4_builtins): Rename as...
9693 (@m4_builtin): this.
9694 (%m4_builtin_alternate_name): New.
9695 (&parse_args): Complete the trace requests with alternate names.
9696 (&handle_traces): Hence no longer do it here.
9697 (&trace_requests): Remove, unused.
9699 2001-08-03 Akim Demaille <akim@epita.fr>
9701 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
9704 2001-08-03 Akim Demaille <akim@epita.fr>
9706 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
9707 (m4_divert_pop): Dump the whole diversion stack when a diversion
9709 * bin/autom4te.in (&handle_output): Remember of the first
9710 occurrence of a possibly undefined macro, not the last.
9711 Complain about the possibly undefined macros in the same order as
9712 the appear in the output.
9713 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
9714 * tests/tools.at (autoconf: forbidden tokens, basic)
9715 (autoconf: forbidden tokens, exceptions): No longer sort
9716 autoconf's stderr, as it is now deterministic.
9717 Check that `dnl' is caught.
9719 2001-08-01 Akim Demaille <akim@epita.fr>
9721 * configure.ac: Bump to 2.52c.
9723 2001-08-01 Akim Demaille <akim@epita.fr>
9727 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
9729 2001-08-01 Akim Demaille <akim@epita.fr>
9733 2001-08-01 Akim Demaille <akim@epita.fr>
9735 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
9738 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
9739 `END', as `Autom4te::General::END' will be triggered.
9740 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
9741 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
9742 system to run `mv', `rm', and `cmp'.
9744 2001-08-01 Akim Demaille <akim@epita.fr>
9746 * lib/Autom4te/General.pm (&unique): New.
9747 * bin/autoscan.in (&output): Use it to issue trace requests once.
9749 2001-08-01 Akim Demaille <akim@epita.fr>
9751 * lib/Autom4te/General.pm: New.
9752 * bin/autom4te.in (Autom4te::General): Use it.
9753 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
9754 (&find_configure_ac, &find_slave): Remove.
9755 * bin/autoscan.in: Likewise.
9756 * bin/autoupdate.in: Likewise.
9758 2001-08-01 Akim Demaille <akim@epita.fr>
9760 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
9761 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
9762 * bin: here, new directory.
9763 * lib/Autoconf: Rename as...
9764 * lib/Autom4te: this, to please case insensitive junkie OSes.
9766 2001-08-01 Akim Demaille <akim@epita.fr>
9768 * autom4te.in ($m4): Handle the --nesting-limit.
9769 * autoconf.in (M4): Remove.
9771 2001-08-01 Akim Demaille <akim@epita.fr>
9773 * autoconf.in ($AWK): Remove, no longer used.
9774 * test/tools.at: Use AT_CHECK_AUTOCONF.
9775 (AWK portability): Remove, for autoconf no longer uses AWK.
9776 (Syntax of the Perl scripts): New.
9777 * configure.ac: autoconf no longer needs an AWK with a good
9779 Use a static test on AC_PACKAGE_VERSION.
9780 * autom4te.in (&up_to_date_p): Output depends on the arguments.
9781 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
9782 * tests/atconfig.in (PERL): New.
9784 2001-08-01 Akim Demaille <akim@epita.fr>
9786 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
9787 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
9788 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
9789 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
9790 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
9791 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
9792 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
9793 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
9794 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
9795 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
9796 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
9797 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
9798 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
9799 * lib/autoconf/c.m4: here, new file.
9801 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
9802 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
9803 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
9804 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
9805 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
9806 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
9807 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
9808 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
9809 (AC_F77_FUNC): Move to...
9810 * lib/autoconf/fortran.m4: here, new file.
9812 2001-08-01 Akim Demaille <akim@epita.fr>
9814 * acfunctions.m4: Rename as...
9815 * lib/autoconf/functions.m4: this.
9816 * acgeneral.m4: Rename as...
9817 * lib/autoconf/general.m4: this.
9818 * acheaders.m4: Rename as...
9819 * lib/autoconf/headers.m4: this.
9820 * aclang.m4: Rename as...
9821 * lib/autoconf/lang.m4: this.
9822 * acoldnames.m4: Rename as...
9823 * lib/autoconf/oldnames.m4: this.
9824 * acspecific.m4: Rename as...
9825 * lib/autoconf/specific.m4: this.
9826 * actypes.m4: Rename as...
9827 * lib/autoconf/types.m4: this.
9828 * autoconf.m4: Rename as...
9829 * lib/autoconf/autoconf.m4: this.
9831 * m4sugar.m4: Rename as...
9832 * lib/m4sugar/m4sugar.m4: this.
9833 * m4sh.m4: Rename as...
9834 * lib/m4sugar/m4sh.m4: this.
9836 * tests/atgeneral.m4: Rename as...
9837 * lib/autotest/general.m4: this.
9839 * acfunctions: Rename as...
9840 * lib/autoscan/functions: this.
9841 * acheaders: Rename as...
9842 * lib/autoscan/headers: this.
9843 * acidentifiers: Rename as...
9844 * lib/autoscan/identifiers: this.
9845 * aclibraries: Rename as...
9846 * lib/autoscan/libraries: this.
9847 * acmakevars: Rename as...
9848 * lib/autoscan/makevars: this.
9849 * acprograms: Rename as...
9850 * lib/autoscan/programs: this.
9852 2001-08-01 Akim Demaille <akim@epita.fr>
9854 * doc/autoconf.texi: Moving/deleting open files is not portable.
9855 Portability issues for `.' (source), and more information about sed.
9857 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
9859 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
9860 which has a special meaning and is not a reference to libibmil.a.
9861 Reported by Matteo Frigo.
9863 2001-07-25 Pavel Roskin <proski@gnu.org>
9865 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
9868 2001-07-25 Akim Demaille <akim@epita.fr>
9870 * autoconf.in: Try to define the variables before using them.
9871 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
9872 instead of `$perllibdir'.
9873 * tests/atconfig.in ($autom4te_perllibdir): Export it.
9875 2001-07-25 Akim Demaille <akim@epita.fr>
9877 * autoconf.in (ac_LF_and_DOT): Remove, unused.
9879 2001-07-24 Akim Demaille <akim@epita.fr>
9881 Let autoconf use autom4te for traces.
9883 * autoconf.in ($task, task trace): Remove, merely pass --trace to
9885 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
9886 (Because I found no way for autom4te to accept `-').
9887 * autom4te.in (&Request::request): Beware of M4 builtins.
9888 (END): Don't try to remove the content of an empty dir.
9889 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
9890 (&handle_output): Set a default value to `$forbidden'.
9891 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
9892 ($autoconf): Pass --debug and --verbose.
9893 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
9896 2001-07-24 Akim Demaille <akim@epita.fr>
9898 Let autoconf use autom4te to create configure.
9900 * autoconf.in ($automate): New var.
9901 (task script): Use autom4te.
9902 * autom4te.in (File::Spec): Use it.
9904 (&parse_args): --warning is -W, not -w.
9905 Find the top level files.
9906 (&handle_m4): Pass the warnings flags.
9907 Don't report verbosely m4's failures, unless requested.
9908 (&handle_output): Don't complain for forbidden tokens in comments.
9909 Be sure to report all the forbidden tokens within a single line.
9910 (&trace_format_to_m4): Preserve `$_'.
9911 (&handle_traces): Sort the output macros.
9912 (&up_to_date_p): Find the files before trying to get its time stamp.
9914 2001-07-24 Akim Demaille <akim@epita.fr>
9916 * Makefile.am: Ship, build and install Autom4te.
9918 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
9919 * configure.in: Require Perl.
9920 * man/autom4te.in: New.
9922 2001-07-19 Paul Eggert <eggert@twinsun.com>
9924 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
9925 example, rather than (exit 1); exit (which isn't portable).
9927 2001-07-18 Akim Demaille <akim@epita.fr>
9931 2001-07-18 Akim Demaille <akim@epita.fr>
9933 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
9934 was run, while they are needed also when it is expanded.
9935 Reported by Nicolas Joly.
9937 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
9938 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
9939 AC_F77_DUMMY_MAIN being expanded.
9941 2001-07-18 Akim Demaille <akim@epita.fr>
9943 * configure.in: Bump to 2.51a.
9945 2001-07-17 Akim Demaille <akim@epita.fr>
9949 2001-07-17 Akim Demaille <akim@epita.fr>
9951 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
9952 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
9954 2001-07-17 Akim Demaille <akim@epita.fr>
9956 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
9957 used. Well, then use the prototypes when you can, and runtime as
9959 Reported by Artur Frysiak
9961 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
9962 (AC_FUNC_GETPGRP): Use it.
9963 First try to compile with 0-ary or 1-ary calls.
9965 2001-07-17 Akim Demaille <akim@epita.fr>
9967 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
9971 2001-07-17 Akim Demaille <akim@epita.fr>
9973 * Makefile.maint: Sync. with cppi 1.10.
9975 2001-07-17 Akim Demaille <akim@epita.fr>
9977 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
9978 AC_F77_DUMMY_MAIN has been run.
9979 From Pavel Roskin and Steven G. Johnson.
9981 2001-07-17 Akim Demaille <akim@epita.fr>
9983 * configure.in: Rename as...
9984 * configure.ac: this.
9986 2001-07-17 Akim Demaille <akim@epita.fr>
9988 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
9991 * Makefile.maint (release-archive-dir): Rename as...
9992 (release_archive_dir): this, so that it can be specialized in
9995 2001-07-14 Akim Demaille <akim@epita.fr>
9997 * configure.in: Bump to 2.50d.
9999 2001-07-14 Akim Demaille <akim@epita.fr>
10002 * Makefile.maint (alpha): Typo.
10004 2001-07-14 Akim Demaille <akim@epita.fr>
10006 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
10008 2001-07-14 Akim Demaille <akim@epita.fr>
10010 * config/config.guess, config/config.sub, config/texinfo.tex
10011 * doc/standards.texi, doc/make-stds.texi: Update.
10013 2001-07-14 Akim Demaille <akim@epita.fr>
10015 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
10017 2001-07-14 Akim Demaille <akim@epita.fr>
10019 * Makefile.maint (maintainer-check): Rename as...
10020 (maintainer-distcheck): this.
10021 (changelog-check, static-check): New.
10024 2001-07-14 Kevin Ryde <user42@zip.com.au>
10026 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
10027 for CXX is g++, not gcc.
10029 2001-07-14 Akim Demaille <akim@epita.fr>
10031 * doc/autoconf.texi (Files): New subsection.
10033 2001-07-14 Akim Demaille <akim@epita.fr>
10035 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
10037 (Generic Compiler Characteristics): this.
10038 (C++ Compiler): New subsection.
10040 2001-07-14 Akim Demaille <akim@epita.fr>
10042 * autoscan.in: Use IO::File.
10043 Adjust all the routines to use it.
10044 ($log): New file (autoscan.log).
10045 (output): Dump detailed logs into $log, and a shortened version to
10047 (&scan_makefile): Refine the regexp catching tokens in the code.
10048 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
10049 and the `configure.ac' checking feature.
10051 2001-07-12 Akim Demaille <akim@epita.fr>
10053 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
10054 Reported by Michael Elizabeth Chastain.
10056 * autoconf.in: Refuse such AWK.
10057 * configure.in: Likewise.
10058 * Makefile.am (acversion.m4): Do not use move-if-change this file
10060 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10062 2001-07-10 Jens Petersen <petersen@redhat.com>
10064 * autoscan.in (&scan_makefile): Improve programs regexp to parse
10065 things like "g++", "file.c" and "some-conf" as tokens.
10066 (&scan_file): Match C++ files extensions.
10067 If the filename extension is C++ then ask for c++.
10069 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
10071 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10072 AC_TRY_LINK_FUNC, to check whether defining a dummy
10073 main-like routine is needed for linking with F77 libs.
10075 2001-07-05 Pavel Roskin <proski@gnu.org>
10077 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10079 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10082 2001-07-05 Akim Demaille <akim@epita.fr>
10084 * Makefile.am (move_if_change): New. Use it instead of `mv'.
10085 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10087 Reported by Nicolas Joly.
10089 2001-07-04 Akim Demaille <akim@epita.fr>
10091 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10093 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10094 warnings from compilers.
10095 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10096 for all the compilers, not only GNU. Hence move from here...
10097 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10099 2001-07-04 Akim Demaille <akim@epita.fr>
10101 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10102 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10105 2001-07-04 Akim Demaille <akim@epita.fr>
10107 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10108 the ``strings.h'' change claimed below.
10110 2001-07-04 Akim Demaille <akim@epita.fr>
10112 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10114 2001-07-04 Akim Demaille <akim@epita.fr>
10116 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10117 strings.h if usable with string.h.
10118 Suggested by Paul Eggert.
10120 2001-07-04 Akim Demaille <akim@epita.fr>
10122 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10123 From Jens Petersen.
10125 2001-07-03 Akim Demaille <akim@epita.fr>
10127 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10130 2001-07-03 Akim Demaille <akim@epita.fr>
10132 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10133 compiler, not the preprocessor.
10134 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10135 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10137 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10138 earlier if there are.
10140 2001-07-03 Akim Demaille <akim@epita.fr>
10142 * autoscan.in ($initfile): Remove.
10143 (&find_file): Rename as...
10144 (&scan_file): this.
10145 Immediately scan the current file, instead of gathering them, and
10146 later having them handled by &scan_files.
10147 (&scan_files): Merely invoke Find::File.
10150 2001-07-02 Akim Demaille <akim@epita.fr>
10152 * autoscan.in: Formatting changes, matching the invocation order.
10153 (File::Find): Use it instead of Perl 4's `find.pl'.
10154 (&wanted): Rename as...
10155 (&find_file): this.
10157 2001-07-01 Pavel Roskin <proski@gnu.org>
10159 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10160 break in the argument to AC_TRY_LINK_FUNC.
10161 (AC_F77_MAIN): Remove conftest* after using break in the
10162 argument to AC_TRY_LINK.
10164 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
10166 Add alternate 'main' routine detection for linking C/C++ with Fortran,
10167 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10169 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10170 dummy alternate main is required even if the user provides her own
10172 (AC_F77_MAIN): New macro to detect whether it is possible to
10173 provide an alternate 'main' function name, using the 'main' from
10174 the Fortran libraries.
10175 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10176 cross-language link tests can be performed successfully.
10177 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
10178 after $LIBS, for consistency; this should be the general rule since
10179 the user may want to link to Fortran libraries that require $FLIBS.
10180 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10182 2001-06-29 Pavel Roskin <proski@gnu.org>
10184 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10185 at-stdout and at-stderr instead of removing the newline
10186 from the echo output, which is not guaranteed to work.
10188 2001-06-28 Jens Petersen <petersen@redhat.com>
10190 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10191 confdefs.h when non-zero.
10193 2001-06-28 Akim Demaille <akim@epita.fr>
10195 * configure.in: Bump to 2.50c.
10197 2001-06-26 Akim Demaille <akim@epita.fr>
10201 2001-06-26 Akim Demaille <akim@epita.fr>
10205 2001-06-25 Pavel Roskin <proski@gnu.org>
10207 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10208 argument, AUTOCONF-FLAGS.
10209 * tests/mktests.sh (update_exclude_list): Add
10210 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10211 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10212 AC_FUNC_WAIT3 with "-W no-obsolete".
10214 2001-06-25 Akim Demaille <akim@epita.fr>
10216 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10218 2001-06-25 Akim Demaille <akim@epita.fr>
10220 * autoscan.in (%macro): Now maps from word to list of macros.
10221 (&init_tables): Die when a word which is already handled by
10222 explicit macros is mapped to the default macro.
10223 (&print_unique): Remove, inlined in...
10224 (&output_kind): here.
10225 (File::Basename): Use it.
10226 (&output): Sort the CONFIG_FILES.
10227 * acheaders: Normalize.
10228 * acfunctions: Likewise.
10230 2001-06-25 Akim Demaille <akim@epita.fr>
10232 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10233 characteristics in the logs.
10234 Suggested by Mo DeJong.
10236 2001-06-24 Akim Demaille <akim@epita.fr>
10238 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10239 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10240 * doc/autoconf.texi (Autoconf 2.13): New section.
10242 2001-06-24 Akim Demaille <akim@epita.fr>
10244 * autoconf.in (Task traces): Separate the error messages from the
10245 traces to improve robustness.
10247 2001-06-23 Akim Demaille <akim@epita.fr>
10249 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10250 three as failures are unlikely, and speed matters.
10252 2001-06-23 Akim Demaille <akim@epita.fr>
10254 * doc/autoconf.texi (Redefined M4 Macros): New.
10256 2001-06-23 Akim Demaille <akim@epita.fr>
10258 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10259 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10262 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
10264 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10265 config.status targets to after the evaluation of the INIT-CMDS.
10266 Double quote config.status targets (used to be single quoted).
10268 2001-06-23 Akim Demaille <akim@epita.fr>
10270 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10271 Check the content of the created file.
10272 Check the ./config.status command line invocation.
10274 2001-06-23 Akim Demaille <akim@epita.fr>
10276 * tests/foreign.at (Libtool): Reject prehistoric versions.
10278 2001-06-23 Akim Demaille <akim@epita.fr>
10280 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
10281 preexisting files matching a.*.
10283 2001-06-23 Akim Demaille <akim@epita.fr>
10285 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
10287 * doc/autoconf.texi (AC_ARG_VAR): Update.
10289 2001-06-21 Akim Demaille <akim@epita.fr>
10291 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
10292 precious variables have changed.
10293 * tests/torture.at (AC_ARG_VAR): Adjust.
10295 2001-06-21 Akim Demaille <akim@epita.fr>
10297 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
10298 but some sed choke on multiple `;', and other tools (e.g.,
10299 Automake), include the separator themselves.
10301 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
10303 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
10305 * doc/autoconf.texi (Functions Portability): Rename as...
10306 (Function Portability): this.
10307 (Function Portability): Document potential problems with unlink().
10309 2001-06-19 Paul Eggert <eggert@twinsun.com>
10311 * NEWS, doc/autoconf.texi: Document quadrigraphs.
10313 2001-06-18 Akim Demaille <akim@epita.fr>
10315 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
10317 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
10319 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
10320 (_AC_FUNC_VFORK): this.
10321 Remove AC_DEFINEs and don't guess cross-compilation values.
10322 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
10323 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
10324 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
10325 vfork doesn't work.
10326 Guess values if cross-compiling, but warn.
10327 * acfunctions: Add AC_FUNC_FORK.
10328 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
10329 and vfork appropriately.
10331 2001-06-18 Akim Demaille <akim@epita.fr>
10333 * doc/autoconf.texi (Functions Portability): New section.
10335 2001-06-18 Akim Demaille <akim@epita.fr>
10337 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
10339 Suggested by Andreas Schwab.
10341 2001-06-18 Akim Demaille <akim@epita.fr>
10343 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
10344 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
10345 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
10346 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
10347 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
10348 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
10349 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
10352 2001-06-18 Akim Demaille <akim@epita.fr>
10354 * doc/autoconf.texi (ms): New index.
10355 (Macro Index): Rename as...
10356 (Autoconf Macro Index): this.
10357 (M4 Macro Index): New appendix.
10358 (Programming in M4): New chapter.
10359 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
10360 (Quoting): Rename as...
10361 (M$ Quotation): this.
10362 Be part of `Programming in M4).
10364 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
10366 * tests/torture.at (AC_ARG_VAR): Set variables and export them
10367 in separate statements for compatibility with Tru64 v5.1.
10369 2001-06-17 Akim Demaille <akim@epita.fr>
10371 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
10372 current values of the precious variables, not the previously
10374 Pass precious variables which are set to config.status.
10375 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
10376 * tests/torture.at (AC_ARG_VAR): New.
10378 2001-06-15 Paul Eggert <eggert@twinsun.com>
10380 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
10381 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
10382 and explain why and how to replace them.
10383 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
10384 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
10386 2001-06-15 Akim Demaille <akim@epita.fr>
10388 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
10389 Reported by Bruno Haible.
10391 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
10392 (_AC_ARG_VAR_PRECIOUS): to here.
10394 2001-06-15 Pavel Roskin <proski@gnu.org>
10396 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
10397 an unused pointer use cast to this type and `if' statement to
10398 avoid warnings from the compiler.
10399 (AC_HEADER_TIME): Likewise.
10400 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
10401 in `if' statement to avoid warnings from the compiler. Declare
10402 ac_aggr static to avoid the need to initialize it.
10404 2001-06-14 Akim Demaille <akim@epita.fr>
10406 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
10409 2001-06-13 Akim Demaille <akim@epita.fr>
10411 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
10412 Suggested by Alexander Mai.
10414 2001-06-13 Akim Demaille <akim@epita.fr>
10416 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
10417 sys/types.h and sys/stat.h, and check for them.
10419 2001-06-13 Akim Demaille <akim@epita.fr>
10421 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
10424 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
10426 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
10427 succeeds and only try adding libdnet upon a failure.
10429 2001-06-12 Akim Demaille <akim@epita.fr>
10431 * autoscan.in (&output_kind): Output the comment only if it exists.
10432 (%kind_comment): Add entry for `programs'.
10433 (&output_programs): Use &output_kind.
10434 (&output_functions, &output_identifiers, &output_headers)
10435 (&output_programs): Inline, and remove.
10437 2001-06-12 Akim Demaille <akim@epita.fr>
10439 * autoscan.in (%kind_comment): New.
10440 (output_kind): New.
10441 (output_functions, output_identifiers, output_headers): Use it.
10443 2001-06-12 Akim Demaille <akim@epita.fr>
10445 * autoscan.in (&print_unique): Take `$kind' and `$word' as
10446 arguments, to factor indirections into `%macro' and `%used'.
10447 (%generic_macro): Fix a typo.
10449 2001-06-12 Akim Demaille <akim@epita.fr>
10451 * aclibraries: New.
10452 * autoscan.in (@kinds): Add `libraries'.
10453 Use `@kinds' instead of hard coded lists.
10454 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
10455 Remove, replaced by...
10458 2001-06-12 Akim Demaille <akim@epita.fr>
10460 * autoscan.in (%functions_macros %headers_macros)
10461 (%identifiers_macros %programs_macros %makevars_macros): Remove,
10465 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
10467 * aclang.m4 (AC_NO_EXECUTABLES): Override
10468 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
10470 2001-06-11 Akim Demaille <akim@epita.fr>
10472 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
10474 Reported by Andreas Schwab.
10476 2001-06-11 Akim Demaille <akim@epita.fr>
10478 * Makefile.am, Makefile.maint: Typos.
10480 2001-06-09 Akim Demaille <akim@epita.fr>
10482 * doc/autoconf.texi (Here-Documents): New section, gathering
10483 documentation about here-documents.
10484 Use `href', not `uref', and other changes.
10486 2001-06-09 Akim Demaille <akim@epita.fr>
10488 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
10491 2001-06-09 Akim Demaille <akim@epita.fr>
10493 * doc/autoconf.texi (Limitations of Builtins): Complete the
10494 description of the here-docs penalties with Alexandre Oliva's
10497 2001-06-01 Paul Eggert <eggert@twinsun.com>
10499 * doc/autoconf.texi: Talk about here documents and speedups.
10500 Do not use "echo" on arbitrary strings.
10501 Spell "here-documents" consistently with the standard.
10503 2001-06-09 Akim Demaille <akim@epita.fr>
10505 * doc/autoconf.texi (Concept Index): Introduce it.
10506 Regenerate the menus.
10508 2001-06-09 Akim Demaille <akim@epita.fr>
10510 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
10511 * config/prev-version.txt: New.
10512 * config/move-if-change: New, for GNU libc.
10514 2001-06-06 Pavel Roskin <proski@gnu.org>
10516 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
10518 2001-06-06 Akim Demaille <akim@epita.fr>
10520 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
10521 properly when $1 is not a literal.
10522 Fixes PR Autoconf/187, reported by Bram Moolenaar.
10524 2001-06-06 Akim Demaille <akim@epita.fr>
10526 Invoking AC_COPYRIGHT before AC_INIT fails.
10528 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
10529 * acgeneral.m4 (_m4_divert(VERSION_FSF))
10530 (_m4_divert(VERSION_USER)): New.
10531 (AC_COPYRIGHT): $2 is the diversion to use.
10532 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
10533 (AC_INIT): Remove dead comments as now it's commutative.
10535 2001-06-06 Akim Demaille <akim@epita.fr>
10537 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
10540 2001-06-05 Akim Demaille <akim@epita.fr>
10542 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
10544 `*dir' variables cannot be NONE.
10545 Reported by Mark Kettenis.
10547 2001-06-05 Paul Eggert <eggert@twinsun.com>
10549 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
10551 2001-06-04 Akim Demaille <akim@epita.fr>
10553 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
10554 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
10555 (AC_TR_SH): Move as...
10556 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
10557 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
10559 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
10560 (_AS_TR_SH_PREPARE): New.
10561 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
10562 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
10564 2001-06-02 Akim Demaille <akim@epita.fr>
10566 * Makefile.am (.m4.m4f): Pass the options first.
10567 Fixes PR autoconf/182.
10569 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
10571 GNU getopt, when POSIXLY_CORRECT does not permute options and
10572 arguments. So pass the options first.
10573 Fixes PR autoconf/184.
10575 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
10576 (run_m4): Remove files.
10578 Update remainder of script to use them.
10579 (for warning in): Do not use a literal comma as it will not be
10582 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
10584 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
10585 Fortran compilers to check.
10586 (_AC_PROG_F77_V): Add '-###' as a possible option to print
10587 information on library and object files.
10588 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
10591 2001-06-02 Akim Demaille <akim@epita.fr>
10593 * autom4te.in (Request::@request): Declare with `vars', not `my',
10594 as it prevents updates via `do FILENAME'.
10596 2001-06-02 Akim Demaille <akim@epita.fr>
10598 * configure.in (standards_texi): Remove, dead code.
10600 2001-06-02 Akim Demaille <akim@epita.fr>
10602 * autom4te.in: New.
10604 2001-06-02 Pavel Roskin <proski@gnu.org>
10606 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
10607 for signals other than 0 - exit with code 1.
10608 * m4sh.m4 (AS_TMPDIR): Likewise.
10609 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
10610 * autoheader.in: Likewise.
10611 * autoreconf.in: Likewise.
10612 * tests/torture.at (Signal handling): New test for the above.
10614 2001-06-01 Akim Demaille <akim@epita.fr>
10616 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
10619 2001-05-31 Akim Demaille <akim@epita.fr>
10621 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
10622 Add copyright and comments.
10623 * acheaders: Add stdint.h.
10624 Suggested by Paul Eggert.
10626 2001-05-31 Akim Demaille <akim@epita.fr>
10628 * atgeneral.m4 (AT_INIT): Use $SHELL.
10629 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
10631 2001-05-31 Akim Demaille <akim@epita.fr>
10633 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10635 From Paul Eggert and Lars Hecking.
10637 2001-05-31 Akim Demaille <akim@epita.fr>
10639 * tests/base.at: Adjust line numbers in error messages.
10641 2001-05-31 Akim Demaille <akim@epita.fr>
10643 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
10644 to emit the bangshe line.
10645 Reported by David Carter.
10647 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
10649 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
10650 Fortran (95) compilers to check.
10652 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
10654 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
10657 2001-05-23 Pavel Roskin <proski@gnu.org>
10659 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
10660 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
10661 (AC_PROG_CXXCPP): Likewise.
10663 2001-05-22 Akim Demaille <akim@epita.fr>
10665 * config: New directory.
10666 * configure.in: AC_CONFIG_AUX_DIR it.
10667 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
10669 2001-05-22 Akim Demaille <akim@epita.fr>
10671 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
10672 * autoupdate.in: Specify the Emacs mode.
10673 * acversion.m4.in: Rename as...
10674 * acversion.m4: this.
10675 * tests/Makefile.am (CLEANFILES): More garbage.
10677 2001-05-22 Akim Demaille <akim@epita.fr>
10679 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
10681 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
10684 2001-05-21 Akim Demaille <akim@epita.fr>
10686 * configure.in: Bump to 2.50a.
10690 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10692 This file is part of GNU Autoconf.
10694 GNU Autoconf is free software; you can redistribute it and/or modify
10695 it under the terms of the GNU General Public License as published by
10696 the Free Software Foundation; either version 2, or (at your option)
10699 GNU Autoconf is distributed in the hope that it will be useful,
10700 but WITHOUT ANY WARRANTY; without even the implied warranty of
10701 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10702 GNU General Public License for more details.
10704 You should have received a copy of the GNU General Public License
10705 along with autoconf; see the file COPYING. If not, write to
10706 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
10707 Boston, MA 02110-1301, USA.