1 2006-04-23 Paul Eggert <eggert@cs.ucla.edu>
3 * NEWS: Update wording to say merely "should" for AS_DIRNAME
5 * lib/m4sugar/m4sh.m4 (AS_BASENAME, AS_DIRNAME): Bring these
6 back, albeit undocumented. Programs now have a grace period
7 to switch to AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
9 2006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro
12 Archive is not officially `GNU' any more. Update URL.
13 (Defining Directories): Likewise
14 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL.
16 2006-04-22 Paul Eggert <eggert@cs.ucla.edu>
18 * NEWS: Remove AS_DIRNAME and AS_BASENAME, replacing them with
19 AS_VAR_SET_DIRNAME and AS_VAR_SET_BASENAME.
20 * doc/autoconf.texi (Programming in M4sh): Document this. All uses
21 changed. The newer interfaces are more reliable, as they allow
22 implementations that handle trailing newline correctly. For now,
23 we're in a freeze, so I did not include the more-reliable
24 implementations, but I wanted to correct the interface before 2.60
26 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from
27 AS_DETECT_REQUIRED. All uses changed.
28 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED.
30 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case.
31 (_AS_BASENAME): Renamed from AS_BASENAME. All uses changed.
32 Use "basename --" to protect against leading "-".
33 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed.
34 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed.
35 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--".
36 (_AS_DIRNAME_PREPARE): Likewise.
37 (_AS_DIRNAME): Renamed from AS_DIRNAME. All uses changed.
38 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed.
39 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed.
41 (AS_VAR_SET_BASENAME, AS_VAR_SET_DIRNAME): New macros.
42 * tests/m4sh.at (AS_VAR_SET_DIRNAME): Renamed from AS_DIRNAME.
43 Test the new API. Don't test internals, since they're probably
44 going to change anyway.
45 (AS_VAR_SET_BASENAME): Likewise, renamed from AS_BASENAME.
47 * bin/autoconf.as: Don't use AS_BASENAME or AS_DIRNAME. This
48 removes a bootstrapping problem with the changes described above.
49 The AS_DIRNAME part wasn't used, anyway, and the AS_BASENAME
50 part can be done portably without all the deep Autoconf magic.
52 2006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading
55 newline from the `trap' code to finish `config.log'; the NetBSD
56 /bin/sh resets the exit status after an empty command, as
57 documented in doc/autoconf.texi.
58 Reported by Dalibor Topic <robilad@kaffe.org>.
60 2006-04-19 Paul Eggert <eggert@cs.ucla.edu>
62 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF.
63 Suggested by Bruno Haible.
65 2006-04-18 Paul Eggert <eggert@cs.ucla.edu>
67 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since
68 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly.
69 Instead, just list the shells that we know work.
70 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses
71 changed. Be more cautious about the _cv_ variable.
72 * tests/tools.at (Syntax of the shell scripts): Check the
73 _cv_ variable once, at first, to avoid an internal autoconf error
74 when sh -n does not work.
76 2006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
78 * lib/Autom4te/FileUtils.pm: Sync from Automake.
80 2006-04-16 Paul Eggert <eggert@cs.ucla.edu>
82 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't
83 use ">&-" since we're only 99.999% sure that this is portable,
84 and since the MinGW bug is fixed in a different way.
85 * lib/autotest/general.m4 (AT_INIT): Likewise.
87 2006-04-16 Stepan Kasal <kasal@ucw.cz>
89 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck
90 before opening config.log, to avoid hitting a bug on MinGW.
92 2006-04-14 Paul Eggert <eggert@cs.ucla.edu>
94 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close
95 AS_MESSAGE_LOG_FD before reopening it onto the log file.
96 This works around a MinGW bug reported by Eric Paire.
97 Make sure that all writes to the log file append to it,
98 rather than possibly losing data.
99 * lib/autotest/general.m4 (AT_INIT): Likewise.
101 2006-04-14 Stepan Kasal <kasal@ucw.cz>
103 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the
106 2006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
110 * configure.ac (AC_INIT): Bump to 2.59d.
112 2006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
116 2006-04-12 Stepan Kasal <kasal@ucw.cz>
117 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
119 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for
120 the instantiated file do not contain the string 'datarootdir'
121 but contain @datadir@, @docdir@, @infodir@, @localedir@, or
122 @mandir@, replace the reference '${datarootdir}' by the value.
123 * tests/torture.at (datarootdir workaround): New test.
124 * NEWS: Advertise this temporary fixup.
125 Based on a patch by Bruno Haible, reported and analyzed by
126 Paul Eggert and Noah Misch.
128 2006-04-12 Eric Blake <ebb9@byu.net>
130 * tests/autotest.at (Debugging a failed test): Fix comment.
132 2006-04-12 Stepan Kasal <kasal@ucw.cz>
134 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of
135 all the changes since 2006-04-07.
137 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
139 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2'
140 succeeded, but `ln -s file dir' failed, take care to remove the
141 leftover target before the next test, to prevent its spurious
142 failure; also make sure `ln file dir' works before selecting it.
143 Thanks to Keith Marshall for pointing this out.
146 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
147 assignments in `at_debug_args', so that we put them correctly
149 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
150 Reported by Eric Blake.
152 2006-04-11 Eric Blake <ebb9@byu.net>
154 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
155 top-level tests after micro-suite has been run. Used in...
156 (Debugging a successful test, Debugging script and environment),
157 (Debugging a failed test): ...these new tests. The first of these
159 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
160 macro, split out from...
161 (AT_INIT): ...here, so that using -d also generates a run script.
162 Document that -d inhibits top-level logging.
163 * doc/autoconf.texi (testsuite Invocation): Document that -d only
164 inhibits top-level logging; debug scripts are created.
166 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
168 * tests/autotest.at (Empty test, Empty check): New test to check it.
170 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
173 2006-04-10 Stepan Kasal <kasal@ucw.cz>
175 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
176 the files if a problem appears. Make the empty *.at files
177 read-only, too. Proposed by Ralf Wildenhues.
179 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
181 * config/Makefile.am: Add comment to force updated Makefile.in.
183 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
184 space only patch to this file, this patch causes the Makefile.in
185 files that include freeze.mk to be updated, and thus have a
186 newer time stamp again, which in turn makes a pristine CVS
187 checkout have correct time stamps.
189 * Makefile.maint (cvs-sv): New macro, to be used..
190 (config.guess-url_prefix, config.sub-url_prefix)
191 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
192 point to CVS text checkout of Gnulib files.
193 (copyright-check): Bump current year.
194 (announcement): Do not hard-wire `./announce-gen'.
195 (cvs-update): Propagate failures of `cvs' and `move-if-change'
197 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
199 (wget_files): Update config.guess, config.sub, texinfo.tex by
200 `wget-update', now that their URLs work again.
202 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
204 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
205 Problem noted by Paul D. Smith.
207 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209 * doc/autoconf.texi: Remove unused words from word list.
210 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
211 .x-sc_trailing_space: New files.
213 * doc/standards.texi: Sync from gnulib.
215 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
216 `LIBOBJDIR' as experimental.
218 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
219 with a target directory; it's internally implemented as `cp'
220 anyway, but since Autoconf advertises the possibility to use
221 a target directory when LN_S is `ln -s', we need to find out.
222 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
223 analyzed by Keith Marshall <keith.marshall@total.com>.
227 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
229 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
230 confdefs.h as-is. In general, if it has backslash-newline or the
231 like, then it doesn't work either to sort or to remove empty
234 2006-04-09 Stepan Kasal <kasal@ucw.cz>
236 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
238 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
240 * lib/autom4te.in (Automake-preselections): Preselect
243 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
245 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
246 apostrophe within a single-quoted string, as this is the usual
247 tradition and is easier to read than '"'"'. Don't rely on the
248 shell treating "$/" like '$/'. Use a more-consistent indenting
251 2006-04-09 Eric Blake <ebb9@byu.net>
253 * tests/autotest.at (Backquote command substitution),
254 (Multiline backquote command substitution): Remove mistaken
255 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
257 (Parenthetical command substitution, Multiline parenthetical
258 command substitution): here.
260 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
262 Import macros from gnulib (often changing their name).
264 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
265 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
266 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
267 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
268 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
269 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
270 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
271 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
272 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
273 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
274 The manual mentions Gnulib more prominently.
275 * doc/autoconf.texi (Gnulib): New node.
276 (Pointers): Add Gnulib URL.
277 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
278 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
280 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
281 suggest a #define rather than a typedef for _Bool, and mention
282 Gnulib rather than trying to substitute stdbool code.
283 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
284 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
285 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
286 AC_STRUCT_DIRENT_D_TYPE.
287 (Particular Types): Mention stdint.h and inttypes.h as standard
289 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
290 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
291 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
292 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
293 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
294 (C Compiler): Move AC_C_LONG_DOUBLE to ...
295 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
296 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
297 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
298 (Coding Style). Don't mention m4_expand_once.
299 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
300 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
301 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
302 (AC_CHECK_FUNCS): Use it.
303 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
304 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
305 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
306 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
307 (AC_HEADER_ASSERT): New macro.
308 (AC_HEADER_STDBOOL): Don't assume "#error" works.
309 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
310 Catch a bug in an HP-UX C compiler.
311 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
312 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
313 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
314 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
315 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
316 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
319 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
320 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
322 2006-04-08 Stepan Kasal <kasal@ucw.cz>
324 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
325 of the warning introduced by the 2001-08-28 change.
327 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
328 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
330 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
331 variables shall be overriden by the cache.
332 * tests/torture.at (AC_ARG_VAR): Test also with a first value
333 that contains braces.
335 2006-04-07 Stepan Kasal <kasal@ucw.cz>
337 Revert the patch from 2006-04-01 and only improve
338 _AS_DETECT_BETTER_SHELL:
340 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
341 skip nonexistent directories.
342 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
343 only shell candidates which exist.
344 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
345 * lib/autotest/general.m4 (AT_INIT): No need to give three
346 parameters to _AS_PATH_WALK.
348 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
349 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
351 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
352 distinguish m4sugar macros.
353 * tests/tools.at (autoupdating with aclocal and m4_include):
354 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
355 test case by Noah Misch <noah@cs.caltech.edu>.
357 2006-04-07 Stepan Kasal <kasal@ucw.cz>
359 Revert my change from 2006-03-17, in other words:
360 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
362 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
363 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
366 2006-04-07 Eric Blake <ebb9@byu.net>
368 * doc/autoconf.texi (Programming in M4sh): Document that
369 AS_MKDIR_P exits the script on failure.
370 * lib/autotest/general.m4: Remove redundant AS_ERROR.
372 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
374 * config/elisp-comp, config/install-sh, config/mdate-sh,
375 config/missing, config/mkinstalldirs: Sync from Automake.
377 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
380 * doc/make-stds.texi: Sync from gnulib.
382 2006-04-06 Eric Blake <ebb9@byu.net>
384 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
385 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
388 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
389 Eric Blake <ebb9@byu.net>,
390 Paul Eggert <eggert@cs.ucla.edu>,
391 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
393 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
394 whether `set' quotes correctly: redirect stderr of the tested
395 `set', and use a subshell, for Ultrix; use `sed' instead of
396 `grep' for zsh `set' which may write binary output; match only
397 at the beginning of a line, to avoid false positives.
398 In order to avoid false positives by unrelated variables with
399 multiline content, put the dump algorithm in a subshell and
400 unset all variables containing newlines (except some which are
401 special to the shell). Warn about cache variables that are
404 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
406 * config/config.guess, config/config.sub, config/texinfo.tex:
409 * tests/mktests.sh: Reword comments.
411 * tests/mktests.sh: Only skip internal macros starting with
412 `_AC_' or `__AC_'. Noted by Stepan Kasal.
413 Update exclusion lists for the test suite to this end:
414 (AC_ARG_VAR): Do test this now.
415 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
416 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
417 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
418 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
420 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
421 shell issue with double-quoted command substitutions of native
423 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
426 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
427 no file matches the glob, discard the warning, set `nullglob'.
428 (syntax-check): Likewise.
429 (sc_cast_of_x_alloc_return_value): Likewise.
430 (sc_cast_of_alloca_return_value, sc_error_exit_success)
431 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
432 (m4-check): Likewise.
433 (sc_system_h_headers): Do not print rule on execution.
434 (sc_tight_scope): Do not fail for non-existing `src' directory.
435 (sc_changelog): Skip the Copyright footer.
436 * lib/autoconf/lang.m4: Remove trailing space.
438 * lib/autoconf/status.m4: More replacements to
439 <tab><space> where this makes sense.
441 2006-04-06 Stepan Kasal <kasal@ucw.cz>
443 * tests/Makefile.am (maintainer-check-posix):
444 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
446 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
447 ac_config_<foo>s again, sometimes normalized, sometimes not.
448 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
449 (AC_CONFIG_COMMANDS): Do not do so here.
450 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
451 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
452 2005-07-25 rewrite. Noticed by Noah Misch.
454 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
455 _AC_PRESERVE_HELP_ORDER, ...
456 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
458 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
459 inside m4_expand_once; it is redundant.
461 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
462 for --help from Cygnus `configure.'
464 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
466 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
467 on a patch proposed by Ralf Wildenhues.
469 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
471 * lib/autoconf/status.m4: Replace <space>''<tab> with
472 <tab><space> where this makes sense.
474 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
475 Noah Misch <noah@cs.caltech.edu>
477 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
478 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
479 * doc/autoconf.texi (Help Formatting): New node.
480 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
482 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
484 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
485 lib/autoconf/specific.m4, lib/autoconf/status.m4,
486 lib/autoconf/types.m4, lib/autotest/general.m4,
487 tests/mktests.sh, tests/torture.at: White space cleanup:
488 remove some SPACE before TAB, or add quoting ('' or @&t@).
490 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
492 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
494 2006-04-05 Eric Blake <ebb9@byu.net>
496 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
497 empty test suite works.
498 * tests/autotest.at (Empty test suite): Remove xfail.
500 2006-04-05 Noah Misch <noah@cs.caltech.edu>
502 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
503 TAGS to ac_config_<foo>s.
504 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
505 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
506 normalizing it, consistent it with previous releases.
507 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
509 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
511 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
512 Use simplified args that Eric Blake originally suggested.
514 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
516 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
517 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
518 Use 'comm' rather than N instances of grep; this also fixes a bug
519 whereby substrings were incorrectly matched, causing us to not
520 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
521 (exclude_list): Exclude empty macros.
522 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
524 Use awk rather than grep -E or egrep, to avoid
525 portability problems with regular expressions containing newlines.
526 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
527 Switch from grep to awk syntax.
528 (ac_exclude_script): Renamed from ac_exclude_egrep.
529 (au_exclude_script): Renamed from au_exclude_egrep.
531 2006-04-04 Noah Misch <noah@cs.caltech.edu>
533 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
534 a subdirectory subject to Cygnus `configure'.
535 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
537 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
538 report request when we have no AC_PACKAGE_BUGREPORT.
540 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
544 * tests/mktests.sh: Update copyright year in the header of the
547 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
548 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
549 typedef'ed restricted pointer, to catch a compiler bug on
550 HP-UX 11.x, and fix warnings so it passes with -Werror.
551 (_AC_PROG_CC_C99): Likewise.
552 Reported by Albert Chin <china@thewrittenword.com>.
553 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
555 2006-04-03 Noah Misch <noah@cs.caltech.edu>
557 * bin/autoscan.in (subdirs): New global.
558 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
559 (output): Emit AC_CONFIG_SUBDIRS as needed.
560 * tests/autoscan.at (autoscan): Remove XFAIL.
562 2006-04-03 Noah Misch <noah@cs.caltech.edu>
564 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
566 2006-04-03 Eric Blake <ebb9@byu.net>
568 * THANKS: Add myself.
570 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
572 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
573 to log, point to testsuite output tree.
575 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
577 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
578 * doc/autoconf.texi (Function Portability): Mention that C++
579 has trouble with 'exit'.
580 (Guidelines): Test programs shouldn't use 'exit'.
581 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
582 Remove; all uses removed.
583 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
584 Return from 'main' instead of calling 'exit'.
585 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
586 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
587 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
588 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
589 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
590 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
591 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
592 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
593 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
594 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
595 * tests/compile.at: Likewise.
597 2006-04-02 Pavel Roskin <proski@gnu.org>
599 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
601 2006-04-01 Stepan Kasal <kasal@ucw.cz>
603 Clean up _AC_COMPILER_EXEEXT* macros.
605 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
606 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
607 ac_file to the name of the default output filei and call
608 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
609 initial `rm' of the candidate files...
610 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
611 the same list in subsequent `rm' calls, and for the temporary
612 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
613 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
614 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
615 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
616 no longer needed) by libtool. Make it a cache check.
617 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
618 copied here by mistake.
619 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
621 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
622 _AC_COMPILER_OBJEXT directly.
623 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
625 2006-04-01 Stepan Kasal <kasal@ucw.cz>
627 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
628 (AS_DIRNAME): Use it.
629 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
631 * tests/*.at: Remove the generated ones.
633 2006-04-01 Stepan Kasal <kasal@ucw.cz>
635 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
637 2006-04-01 Eric Blake <ebb9@byu.net>
639 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
640 directories, unless optional third argument supplied.
641 (AS_UNAME): Don't optimize PATH walk.
643 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
645 2006-04-01 Eric Blake <ebb9@byu.net>
646 and Stepan Kasal <kasal@ucw.cz>
648 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
651 2006-04-01 Noah Misch <noah@cs.caltech.edu>
653 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
654 Autoconf version number despite a zero- or one-argument AC_INIT.
656 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
658 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
659 * doc/autoconf.texi (autoreconf Invocation): Document it.
661 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
662 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
664 2006-04-01 Eric Blake <ebb9@byu.net>
666 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
667 * lib/autotest/general.m4: Be tolerant of existing directory when
668 rm failed to remove it.
670 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
672 * bin/autoupdate.in: Redefine m4_location so that warnings print
673 the correct lines of the input file by subtracting..
674 (_au__first_line): ..this new definition.
676 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
677 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
678 Remove stray newline in output.
679 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
680 AC_DEFUN this for autoconf, including the obsoletion diagnose.
681 Fixes autoupdating of code where the replacement output contains
683 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
684 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
685 (au_exclude_list): Add AC_LANG_SAVE.
686 * tests/tools.at: Several new tests for all of this.
687 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
689 The AC_LANG_SAVE issue was reported against Libtool by
690 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
691 Kristian Kvilekval <kris@cs.ucsb.edu>.
693 2006-04-01 Stepan Kasal <kasal@ucw.cz>
695 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
696 switch all of them on and of when necessary. Fixes the bug when
697 m4sugar macros (e.g., m4_define) were expanded after the first
698 automatic update (e.g., after AC_PREREQ or AC_INIT).
700 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
702 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
703 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
705 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
706 correctly. Problem reported by Eric Blake.
707 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
710 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
712 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
713 Tighten up the basename/dirname wording.
715 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
717 * Makefile.maint (sc_texi_notab): New check: do not use TABs
718 in texinfo files outside of verbatim environments.
719 (syntax-check-rules): Update.
720 * doc/autoconf.texi (Configuration Headers): Conform to it.
722 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
724 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
725 aclocal cannot be given on the command line.
727 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
729 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
730 Give an example for AS_DIRNAME instead of referring to Posix..
731 (File System Conventions): Put discussion of // versus / here, and
733 (Limitations of Usual Tools): Add basename. Remove verbiage
734 after dirname, since it got moved to the above sections.
735 All this was inspired by a patch proposed earlier by Eric Blake.
737 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
739 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
740 `$0' to protect against spaces.
741 * lib/autotest/general.m4 (AT_INIT): Likewise.
742 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
745 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
747 * bin/autoscan.in: The value of find_configure_ac should be
748 checked for existence, so we don't barf over a nonexisting
749 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
751 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
753 * bin/autoupdate.in: Fix some typos.
755 2006-03-21 Stepan Kasal <kasal@ucw.cz>
757 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
759 * lib/autoscan/autoscan.list: Refreshed.
761 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
763 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
764 and Erlang related variables.
766 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
767 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
768 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
769 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
770 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
771 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
772 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
773 (_AC_PROG_OBJC_G): New macros.
774 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
775 * doc/autoconf.texi (Objective C Compiler): New node.
776 (Preset Output Variables): Document OBJCFLAGS.
777 (Language Choice): Document `Objective C' language.
778 (Fortran Compiler): Fix typo.
780 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
782 2006-03-20 Stepan Kasal <kasal@ucw.cz>
784 * doc/autoconf.texi (Default Includes): Fix typo
785 s/AC_HEADERS_STDC/AC_HEADER_STDC/
786 (Limitations of Usual Tools): s/unwriteable/unwritable/
787 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
788 Fix typos in the comments.
790 2006-03-17 Stepan Kasal <kasal@ucw.cz>
792 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
793 Factor out the warning to...
794 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
795 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
796 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
798 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
799 case `ac_delim' when writing the sed script.
801 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
803 (AS_SHELL_SANITIZE): ... here.
804 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
807 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
809 (_AC_PATH_PROG): Store the result to VARIABLE.
810 (AC_PATH_PROG): No need to set VARIABLE again.
812 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
813 the first one is usual AT_CHECK_MACRO test, the second one checks
814 that the same works when cross-compiling.
815 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
816 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
818 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
820 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
821 the directory `/usr/bin/posix' in the shell search, to prefer
822 the Posix shell not only in subsequent spawns as with `$BIN_SH'
825 * doc/autoconf.texi (contents): To fix texi2html output, hide
826 `@setcontentsaftertitlepage' for HTML.
827 (Writing Autoconf Macros): Likewise, insert space after `@c'.
828 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
831 2006-03-16 Stepan Kasal <kasal@ucw.cz>
833 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
835 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
836 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
837 why IFS is restored so late; thank you, Ralf, for reminding us.
839 2006-03-15 Stepan Kasal <kasal@ucw.cz>
841 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
842 variables in the examples.
844 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
846 * doc/autoconf.texi (several sections): Cleaned up documentation for
849 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
851 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
852 failure condition for `$(cmd)' style command substitutions.
853 (Parenthetical command substition, Multiline parenthetical
854 command substition): Use it.
856 * doc/autoconf.texi (Special Shell Variables): Missing word.
857 Reported by Keith Marshall <keith.marshall@total.com>.
859 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
860 IFS even in case of empty `$PATH'.
862 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
864 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
865 `expr' away if there is nothing to do.
866 < --keywords >: Simplify and robustify argument handling.
867 Revert erroneous comment from 2005-08-23. Extend to allow
868 keyword negation with `!'.
869 Update help message. Remove broken code to prevent running
870 tests multiple times.
871 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
872 Update and fix the documentation accordingly.
873 * tests/autotest.at (Keywords): Renamed to..
874 (Keywords and ranges): .. this. Extended to make sure negated
875 keywords, keywords taken from AT_SETUP arguments, and numeric
876 test ranges work, and that matching is case-insensitive.
878 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
880 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
881 allow to pass unnamed structs even in C++.
882 (AC_CHECK_SIZEOF): Likewise.
883 Also fix quoting error in `AC_MSG_FAILURE' arguments.
884 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
885 struct): New tests for unnamed structs, each both native and
888 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
889 a structure inside a cast, for C++ conformance.
890 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
891 Also fix quoting error in `AC_MSG_FAILURE' arguments.
893 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
894 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
895 trying to execute the command `no'.
897 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
898 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
901 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
902 example. Do not emphasize `$%', it is hardly new and special.
903 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
905 * doc/autoconf.texi (Limitations of Usual Tools): Document
906 OpenBSD and traditional `grep' failure to handle multiple
907 patterns separated by newlines.
909 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
911 * doc/autoconf.texi (several sections): Add documentation for macros
914 2006-03-10 Eric Blake <ebb9@byu.net>
916 * doc/autoconf.texi (Obsolete Macros): Fix wording of
919 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
921 * doc/autoconf.texi: Use @acronym more consistently for acronyms
922 like BSD, GPL, LGPL. Fix minor English typos.
923 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
924 Mention that these macros are becoming obsolete.
925 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
926 Use more modern terminology for which standard is what.
927 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
929 (AC_PROG_CXX): Likewise.
930 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
931 Remove obsolete discussion about how to port to K&R.
932 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
933 the obsolescent AC_HEADER_STDC.
934 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
937 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
939 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
940 Remove stdin redirection from /dev/null to allow pipe to work.
942 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
944 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
945 Require that /lib/cpp include stdio.h correctly. Solaris 10's
946 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
949 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
951 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
952 HP-UX sed is 99 commands, not 100.
953 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
954 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
955 newline for portability.
956 * tests/torture.at (Torturing config.status): Also test 100
957 AC_SUBST_FILE invocations. Fix test to actually verify the
958 AC_CONFIG_FILES output.
959 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
960 command, label, and read-file `r' limits. Unify HP-UX spelling.
962 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
964 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
966 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
967 * tests/mktests.sh: Small shell portability fixes.
969 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
971 * doc/autoconf.texi (Caching Results): Fix the examples to use a
972 recommended quoting style and discard unwanted output.
974 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
976 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
977 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
978 cases, and to work around Tru64 expr bug.
980 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
982 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
983 expr bug that turns the result of a regex match into a number if
986 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
988 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
989 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
990 in section `Specific Compiler Characteristics'.
992 2006-03-04 Eric Blake <ebb9@byu.net>
994 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
997 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
999 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
1000 order of variable initialization, so even the Solaris 2.6 shell
1001 can create a config header correctly. Fixes lots of test suite
1004 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1006 * doc/autoconf.texi (Text processing Macros): New node to
1007 document the m4sugar macros m4_re_escape, m4_tolower,
1008 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
1010 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
1012 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
1013 XrmInitialize (0) -> XrmInitialize ().
1014 Reported by Toshio Kuratomi.
1016 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1018 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
1019 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
1020 * doc/autoconf.texi (Programming in M4sh): Adjusted.
1021 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
1022 both macros are defun'ed so that required macros are evaluated
1025 * doc/autoconf.texi (Prerequisite Macros): State more precisely
1026 where a required macro will be expanded.
1027 (Coding Style): Another reason not to use `m4_define'.
1029 2006-02-21 Eric Blake <ebb9@byu.net>
1031 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
1033 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1035 * doc/autoconf.texi (Looping constructs): New node, to
1036 document m4_for, m4_foreach, m4_foreach_w, and mention
1037 obsolete AC_FOREACH.
1038 (Obsolete Macros): Document AC_FOREACH.
1039 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
1040 (m4_for): Fix to never loop (almost) endlessly, work correctly
1041 with arithmetic expressions in arguments, a step of zero or
1042 non-integer multiple of the interval, and avoid integer
1044 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
1047 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
1049 Add basic support for Erlang, both for configuring Erlang/OTP
1050 tools, and Erlang as a conf test language.
1051 * lib/autoconf/erlang.m4: New file.
1052 * lib/autoconf/autoconf.m4: Add erlang.m4.
1053 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
1054 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
1055 * NEWS: Add short description of new macros.
1056 * THANKS: Add Romain Lenglet.
1058 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1060 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
1061 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
1063 2006-02-15 Eric Blake <ebb9@byu.net>
1065 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
1068 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1070 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
1071 (_AS_CASE): Private helper macro.
1072 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
1073 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
1074 Fix syntax of AS_IF description
1075 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
1076 for the AC_REQUIRE mess.
1077 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
1080 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
1082 * doc/autoconf.texi: Minor style cleanup.
1083 Be consistent about spaces after commas.
1084 Insert [] where empty args look a bit funny.
1085 Fix some "i.e." and "e.g." usages.
1086 Try to avoid "X/Y" usages.
1087 Don't be pedantic about "ISO C99"; just say C99.
1088 Prefer GNU style for spaces in front of parens.
1089 (Function Portability): Comment about C89 versus C99
1090 signed integer division.
1091 (Particular Headers): Use current gnulib style for dirent
1094 2006-02-14 Stepan Kasal <kasal@ucw.cz>
1095 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1097 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
1098 macros without parameters.
1099 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
1100 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
1101 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
1103 (autoupdate): Updated to match AU_ALIAS fix.
1105 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1106 and Paul Eggert <eggert@cs.ucla.edu>
1108 * doc/autoconf.texi (Programming in M4sh): Document
1109 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
1111 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1113 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
1114 (AS_BOURNE_COMPATIBLE): ..this.
1115 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
1117 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1119 * doc/install.texi (Defining Variables): Tighten up the
1120 CONFIG_SHELL wording.
1122 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
1123 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1125 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
1126 of (set -o) rather than testing whether (set -o posix) succeeds,
1127 to work around a bug in the AIX 5.3 shell. Problem originally
1128 reportd by Howard Chu for libtool.
1130 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
1132 * doc/autoconf.texi (Running the Compiler, Running the Linker):
1133 Changes the macro arguments in summaries to match the
1136 2006-02-04 Stepan Kasal <kasal@ucw.cz>
1138 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
1139 hint as ``a workaround for a bug.''
1141 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1143 * bin/autoreconf.in: New option `--no-recursive'.
1144 Improve wording for subpackages a bit.
1145 * doc/autoconf.texi (autoreconf Invocation): Updated.
1148 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1149 in environment of `configure', not the command line.
1150 Reported by Howard Chu <hyc@highlandsun.com>.
1152 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1154 * doc/autoconf.texi (Limitations of Builtins): Document the
1155 problem with "trap -".
1157 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
1159 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1160 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1161 messages to differentiate Fortran and Fortran 77 tests.
1162 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1163 AC_LANG_ASSERT, to allow use in mixed-language projects.
1165 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1167 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1168 FOO" to "defined (FOO)".
1169 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1170 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1171 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1172 * tests/tools.at (ifnames): Likewise.
1174 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1176 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1177 * lib/Autom4te/General.pm (mktmpdir): Likewise.
1178 (END): Improve error message a bit.
1179 Reported by Bruce Korb <bkorb@gnu.org>.
1181 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1184 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1186 2006-01-11 Stepan Kasal <kasal@ucw.cz>
1188 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1189 requires sys/stream.h. Reported by Oliver Kiddle.
1191 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1192 Stepan Kasal <kasal@ucw.cz>
1194 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1195 before the removals of test dirs, use `find' to avoid modification
1196 of symlinked directories.
1198 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1200 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1201 Don't ignore the macro arguments.
1203 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
1205 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1206 declaration that works for MSVC.
1208 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1210 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1211 Add `*.map' and `.inf' for Green Hills compiler.
1212 Reported by Stefan Seefeld <stefan@codesourcery.com>.
1214 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1215 correctly: pad with spaces after FIRST_PREFIX if necessary,
1216 and compute string lenghts with `m4_qlen' instead of `m4_len'.
1217 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1218 * tests/m4sh.at (AS_HELP_STRING): Test extended.
1220 Reported by numerous people, numerous times.
1222 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
1224 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
1225 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
1226 * lib/autoconf/general.m4, lib/autoconf/status.m4:
1227 * lib/autotest/general.m4, tests/local.at:
1228 Update copyright year to 2006.
1230 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
1232 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
1233 for file names, again. Reported by Noah Misch.
1234 (Coding Style): Explain that s|a|b| is preferred for file names.
1235 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
1236 (AC_OUTPUT_MAKE_DEFS): Likewise.
1237 * lib/autotest/general.m4 (AT_INIT): Likewise.
1238 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
1239 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
1241 Fix Posix-conformance bugs re use of { command in sed scripts,
1242 and improve the sed-related documentation a bit.
1243 * doc/autoconf.texi (Installation Directory Variables): Use
1244 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
1245 rather than "sed" when talking about Sed in general.
1246 (Particular Programs): Likewise.
1247 (Coding Style): y is like s with respect to / and ,.
1248 (Limitations of Usual Tools): Document the weird restrictions
1249 that Posix has about { }. Use better quoting.
1250 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
1251 Rewrite to conform to Posix rules about { } in sed scripts.
1252 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
1253 * tests/foreign.at (Libtool): Likewise.
1254 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
1255 Use our own style advice re 's,a,b,' versus 's|a|b|'.
1257 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1259 * lib/autoconf/status.m4: Fix typo.
1261 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1262 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
1263 `-def', for the benefit of Portland `pgf90 -Mipa'.
1264 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
1266 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
1268 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
1269 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
1270 shell from zsh to bash.
1272 2005-12-31 Stepan Kasal <kasal@ucw.cz>
1274 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
1275 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
1277 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
1279 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
1280 parentheses in $(...). Problem reported by Eric Blake.
1282 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
1284 * doc/autoconf.texi (Limitations of Usual Tools):
1285 Mention which characters can be escaped with \ in portable regular
1286 expressions used in grep, sed, expr. Mention the leading ^ problem
1287 with expr. Clean up some confusing wording. Mention which
1288 grep options are portable.
1290 2005-12-09 Stepan Kasal <kasal@ucw.cz>
1292 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
1294 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1296 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
1297 patch, noted by Ralf Wildenhues.
1299 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1301 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
1302 posix' unconditionally, for pdksh in `native sh' emulation.
1304 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1306 * doc/autoconf.texi (Shellology): Document eval $? problem
1308 (Limitations of Builtins): Likewise.
1310 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1312 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
1313 CONFIG_SHELL in the environment of the configure rerun.
1314 * doc/autoconf.texi (Here-Documents, config.status Invocation):
1315 Suggest passing CONFIG_SHELL absolute, and in the environment
1316 rather than as option.
1318 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1320 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1321 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
1322 Fix macro quoting. Fix output for n * 98 substituted variables.
1324 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1326 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
1327 `tmp' to avoid file removal race.
1329 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1331 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
1332 ac_clean_files and LIBOBJS.
1334 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1336 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
1337 Factor functionality to..
1338 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
1339 `AC_SUBST($1)' in the public version.
1340 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
1341 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
1344 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1346 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
1349 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1351 * NEWS: Move AH_HEADER mention to right place.
1353 2005-10-27 Stepan Kasal <kasal@ucw.cz>
1355 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
1356 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1358 2005-10-25 Stepan Kasal <kasal@ucw.cz>
1360 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
1361 conftst2.$ac_objext.
1362 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1364 2005-10-24 Stepan Kasal <kasal@ucw.cz>
1366 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
1367 conftest.o, to see whether the compiler really obeys; rm the object
1368 file before and after the test and register it with ac_clean_files.
1369 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1371 2005-10-21 Stepan Kasal <kasal@ucw.cz>
1373 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
1374 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
1375 code so that the most common case requires less forks.
1377 2005-10-20 Stepan Kasal <kasal@ucw.cz>
1379 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
1380 not portable; thanks to Paul Eggert and Alexandre.
1382 * NEWS: Fix an old typo.
1384 2005-10-20 Jim Meyering <jim@meyering.net>
1386 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
1387 the latter'', in two places.
1389 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
1391 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
1392 AC_LANG_PROGRAM, fixing a typo. Don't give details about
1393 the inner workings of AC_LANG_FUNC_LINK_TRY.
1394 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
1395 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
1396 by the function rather than ignoring it.
1397 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
1398 comparing its address. Intel's interprocedural optimization was
1399 outsmarting the old heuristic. Problem reported by
1402 2005-10-19 Stepan Kasal <kasal@ucw.cz>
1404 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
1406 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1408 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
1409 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
1411 2005-10-04 Stepan Kasal <kasal@ucw.cz>
1413 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
1414 before removing it (chmod -R u+rwx); there are three instances of this.
1416 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1417 Stepan Kasal <kasal@ucw.cz>
1419 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
1420 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
1421 make its content writable before removing it. Remove an errorneous
1422 comment from the end, where the logs of the failed tests are copied
1423 to the main log file.
1425 2005-09-27 Stepan Kasal <kasal@ucw.cz>
1427 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
1428 in case the computer is too quick. Double quote the configure.ac
1431 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
1432 problems if the testsuite were running too fast.
1434 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1436 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1437 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1438 (which belong to Xt, not X itself). See Debian bug 327655.
1439 * NEWS: Mention this.
1441 2005-09-07 Stepan Kasal <kasal@ucw.cz>
1443 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
1445 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
1447 * config/move-if-change: Don't output "$2 is unchanged";
1448 suggested by Ben Elliston. Handle weird characters correctly.
1450 2005-09-06 Stepan Kasal <kasal@ucw.cz>
1452 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
1453 calls, so that the final expansion of this macro is shorter.
1454 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
1455 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
1456 the cleanup there. Use AS_VAR_* macros, to be more general.
1457 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
1459 * lib/autoconf/general.m4: Use AS_IF where appropriate.
1461 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
1463 2005-09-01 Stepan Kasal <kasal@ucw.cz>
1465 * doc/autoconf.texi (Configuration Headers): Add an index entry
1468 2005-08-26 Pavel Roskin <proski@gnu.org>
1470 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
1471 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
1474 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
1476 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1477 The previous patch didn't work, so try a better one.
1479 2005-08-26 Stepan Kasal <kasal@ucw.cz>
1481 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
1482 in the example. Reported by Bruno Haible.
1483 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
1484 "if $undefined_var;" succeeds with my shell.
1486 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
1487 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
1488 but change the m4_divert_text to m4_divert_once.
1490 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
1492 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1493 Work around bug in Solaris /usr/xpg4/bin/awk.
1494 The bug is present in at least Solaris 8 through 10.
1496 2005-08-24 Stepan Kasal <kasal@ucw.cz>
1498 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
1499 some evil values and relying on the fact that $* concatenates the
1500 parameters by the first character from IFS.
1502 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1503 Stepan Kasal <kasal@ucw.cz>
1505 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
1506 first header appears, define AH_HEADER.
1507 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
1508 Update limitations about when to call AC_CONFIG_HEADERS.
1509 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
1510 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
1511 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
1512 ``Configuration Actions''; fix their index entries.
1514 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
1515 options correctly. Process N-M as M-N if M is smaller than N.
1516 Process ranges correctly so that N-N will run only N.
1517 Sort and uniquify the tests that will be run. If there is more
1518 than one test, reinsert the banners for the tests.
1519 * tests/autotest.at (Keywords): Unmark XFAIL.
1521 2005-08-23 Stepan Kasal <kasal@ucw.cz>
1523 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
1524 before passing the macro name to AH_TEMPLATE.
1526 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
1527 now opens log after option processing; in particular, --version
1528 and --help do not touch config.log.
1530 * Makefile.maint: Revert the change from 2005-08-12.
1532 2005-08-22 Stepan Kasal <kasal@ucw.cz>
1534 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
1536 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
1538 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1540 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
1541 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
1544 * doc/autoconf.texi (Defining Symbols, Changed Results):
1545 Prepend to LIBS, not append, in examples.
1547 2005-08-16 Stepan Kasal <kasal@ucw.cz>
1549 When building in place, set srcdir="."; suggested by Tim Van Holder.
1551 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
1552 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
1553 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
1554 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
1555 does not mean "no --srcdir option".
1557 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1559 * tests/autoscan.at (autoscan): New file.
1560 * tests/suite.at: Use it.
1561 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
1562 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
1564 * tests/autotest.at (Keywords): Test keywords combinations.
1566 2005-08-12 Stepan Kasal <kasal@ucw.cz>
1568 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
1569 add "2>&1"; gzip 1.2.4 prints help on stderr.
1571 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1573 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
1574 was pushdef'ed twice while popped only once. Push it only once.
1575 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
1577 2005-07-26 Stepan Kasal <kasal@ucw.cz>
1579 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
1580 prefixed by mere "===", not "configure: === ".
1582 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1584 * Makefile.maint: Update from Bison.
1586 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
1587 "<tab>" in comment, so that the point is understandable.
1589 2005-07-25 Stepan Kasal <kasal@ucw.cz>
1591 Rewrite substantial part of lib/autoconf/status.m4.
1592 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
1593 and CONFIG_COMMANDS are not processed in four separate loops.
1594 Instead, there is one main loop. This alows that the common code
1595 is expanded only once, thus config.status (and configure) is smaller.
1597 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
1598 the AC_LIST_FILES and cousins macros are no longer used.
1600 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
1601 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
1602 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
1603 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
1604 contain the initialization, nor the for loop, nor the associated
1605 commands; all these go to ...
1606 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
1607 _AC_OUTPUT_CONFIG_STATUS.
1608 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
1609 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
1610 (_AC_OUTPUT_FILE): The creation of the sed script ...
1611 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
1612 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
1613 _AC_OUTPUT_MAIN_LOOP.
1614 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
1615 _AC_CONFIG_COMMANDS): Use ...
1616 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
1617 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
1618 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
1619 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
1620 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
1621 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
1623 (_AC_CONFIG_UNIQUE): Update.
1624 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
1625 Replaced by this ...
1626 (_AC_LIST_TAGS): ... new common macro.
1627 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
1628 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
1629 (_AC_LIST_TAG_COMMANDS): ... new common macro.
1630 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
1631 this didn't belong to the `config commands' section.
1632 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
1633 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
1634 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
1635 to the `config commands' section either.
1636 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
1637 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
1639 ... and many changes to the comments nearby.
1641 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
1642 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
1643 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1644 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
1645 (#define header templates): The comment at the top of the generated
1646 header now includes the name(s) of the source file(s).
1648 Several unrelated small changes:
1650 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
1651 parameter to AC_DIAGNOSE.
1652 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
1653 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
1654 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
1655 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
1657 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
1658 in AC_OUTPUT doesn't double-quote it either.
1659 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
1662 2005-07-10 Stepan Kasal <kasal@ucw.cz>
1664 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
1665 versions of Portland Group compiler produce single- and double-quoted
1666 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
1667 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1669 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1671 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1672 This is a corrected version of yesterday's patch.
1674 2005-07-07 Stepan Kasal <kasal@ucw.cz>
1676 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
1677 path, too; insert a "===" to emphasize the line.
1679 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
1680 ac_cv_build_alias to ac_build_alias.
1681 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
1683 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
1684 change eliminates it. Problem reported by Alexandre Duret-Lutz.
1685 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
1686 (AC_ARG_VAR): ... here.
1687 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
1690 Keep a list of all precious variables and process them with one simple
1691 for loop, instead of expanding all commands, or, OTOH, complicated
1692 processing of output of "set".
1693 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
1694 variable names in new macro...
1695 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
1696 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
1697 a loop to assign all ac_env_* and ac_cv_env_* variables.
1698 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
1700 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
1701 its value to shell variable ac_precious_vars and call
1702 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
1703 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
1704 _AC_ARG_VAR_VALIDATE.
1706 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
1707 and the AC_SUBSTs ...
1708 (AC_INIT): ... here.
1710 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
1711 the ac_subst_files section in config.log.
1713 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
1715 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
1717 * NEWS: New macro AC_C_TYPEOF.
1718 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
1719 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
1720 * tests/c.at (C keywords): Test AC_C_TYPEOF.
1722 Fix problems reported by Nicolas Joly.
1723 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
1724 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1725 They are generated by the Tru64 v5.1B shell.
1727 2005-07-05 Stepan Kasal <kasal@ucw.cz>
1729 Fix my changes from 2005-07-01; reported by Noah Misch.
1730 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
1731 description, the macro now accepts only a single tag.
1732 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
1734 Fix cases when the varsions of Autoconf and Autotest don't match.
1735 Reported by Noah Misch.
1736 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
1737 at_top_builddir, for compatibility with older autotest.
1738 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
1739 is not set, use at_top_builddir, for compatibility with older
1740 versions of autoconf.
1742 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1744 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
1745 Problem reported by Patrick Welche.
1747 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1749 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
1750 sed substitution command, so that we allow | in program prefixes
1751 and program suffixes. (& is a problem anyway; we're not fixing
1753 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
1754 configure_input, top_builddir, srcdir, etc.
1755 * lib/autotest/general.m4 (AT_INIT): Likewise, for
1756 PATH_SEPARATOR in AUTOTEST_PATH.
1758 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1760 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
1761 for loop over config.site files using `set', to allow
1762 directory names containing IFS characters.
1764 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
1766 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
1767 directories with weird names. Apparently some people like living
1768 on the edge. However, improve the test that "pwd" actually does
1769 report a name for the working directory.
1770 * NEWS: Remove the claim that we test for funny chars in dir names.
1772 2005-07-01 Stepan Kasal <kasal@ucw.cz>
1774 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
1776 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
1777 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
1778 Now accept a single tag, not whitespace separated list.
1779 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
1781 2005-06-30 Stepan Kasal <kasal@ucw.cz>
1783 * doc/autoconf.texi (Configuration Headers): Change the explanation
1784 about #include <config.h>.
1785 (Generic Functions): Mention the Gnulib project.
1786 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
1788 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
1789 document to output the default config_* lists to config.status.
1790 Don't recognize option --file, if the functionality is not there.
1791 Likewise for --header; moreover, recognize --he and --h as shortcuts
1792 for --help in that case.
1794 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
1795 matches the order of execution. No code changed.
1797 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1799 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
1800 single-quoted -cmdline argument in Portland Group compiler.
1801 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1803 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1805 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
1807 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1809 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
1810 descriptors to child processes; reported by Norman Gray.
1812 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1814 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
1816 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
1817 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
1818 (AC_SUBST): Call it.
1819 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
1820 the directory specific variables; but don't call it for configure_input.
1822 2005-06-28 Derek Price <derek@ximbiot.com>
1824 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
1827 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1829 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
1830 directory have inherent problems with special characters like spaces,
1831 due to limitations in Make syntax. Problem reported by Alexandre
1833 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
1834 Also, fix Tru64 porting problem with shell patterns,
1835 reported by Ralf Wildenhues.
1837 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1839 * doc/autoconf.texi (Subdirectories): Fix markup typos.
1841 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1843 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
1845 Fix some more shell quoting problems. Prompted by a bug report
1846 from Justace Clutter.
1847 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
1848 variable into diagnostic. Make the diagnostic an error, not a warning,
1849 because we really don't support spaces and suchlike in dir names.
1850 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
1851 Don't worry about backslashes in srcdir; it can't happen now.
1852 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
1853 Simplify ac_optarg handling.
1854 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
1856 2005-06-22 Stepan Kasal <kasal@ucw.cz>
1858 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
1859 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
1860 * tests/atlocal.in: Propagate $EGREP and $SED.
1861 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
1862 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
1864 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
1865 that '\|' is not allowed in BREs; recommend using newline separated
1866 list of patterns instead of multiple -e options.
1868 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
1870 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
1872 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1874 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
1876 2005-06-21 Stepan Kasal <kasal@ucw.cz>
1878 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
1879 b, t, r, w commands require single space, while : cannot have any.
1880 (Special Shell Variables): Fix sed code this in the example.
1881 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
1882 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
1884 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
1885 expand to the empty list. Don't use two pairs of m4_changequote,
1888 2005-06-20 Derek Price <derek@ximbiot.com>
1890 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
1892 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
1894 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
1895 * doc/autoconf.texi:
1896 Don't mention Solaris versions so much, if a
1897 problem is common to all extant versions of Solaris. Say "SunOS
1898 4" instead of "SunOS" for SunOS 4.
1899 (awk): Mention more of the limitations of traditional Awk.
1900 (cat): Don't talk about cat -v.
1902 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
1904 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
1905 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
1906 but the implementation is entirely different and is designed
1907 to be compatible with glibc strverscmp.
1908 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
1910 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
1911 on Mac OS X 10.4 reported by Peter O'Gorman in:
1912 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
1913 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
1914 Use shell builtins rather than 'expr', to work around expr bug.
1916 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
1918 * doc/autoconf.texi: "filesystem" -> "file system".
1919 "behaviour" -> "behavior".
1920 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
1921 * lib/autoconf/general.m4: Omit blank after ":" sed command,
1923 * lib/m4sugar/m4sh.m4: Likewise.
1924 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
1925 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
1927 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
1928 (.x.1): Ignore the time stamp in the .TH line when deciding whether
1929 to update the man page. That way, we don't have to check in new
1930 man pages every month.
1932 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
1933 quotes and backslashes. Patch from Derek Price.
1935 2005-06-10 Derek Price <derek@ximbiot.com>
1937 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
1940 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
1942 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
1943 -u, since it outputs chatter if the input files are the same.
1944 Problem reported by Ralf Menzel.
1946 2005-06-08 Derek Price <derek@ximbiot.com>
1948 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
1949 renaming them since they are about to be redefined anyhow.
1951 2005-06-08 Derek Price <derek@ximbiot.com>
1953 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
1954 redefined M4 macros to this node. Document m4_include & m4_sinclude.
1955 Move m4_undefine to alphabetical order.
1957 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
1959 * README: Recommend GNU M4 1.4.3 or later.
1960 * doc/autoconf.texi (Introduction): Likewise.
1961 Reword to avoid some formatting glitches.
1962 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
1963 Clarify explanation of HP compiler bug.
1964 Redo example output tp match current CVS snapshot.
1965 Use @example.org in email addresses when the examples
1966 might get inadvertently cut-and-pasted into user code.
1967 Remove example of autom4te usage that doesn't seem to work now.
1968 Use modern AC_INIT (except when the example is meant to be
1969 shown with Autoconf 2.13).
1970 Update ksh info for Solaris 9 and later.
1972 Modernize description of Automake versions a bit.
1973 Don't claim a future version of Autoconf is near.
1974 * doc/install.texi: Reword to avoid some formatting glitches.
1976 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1978 * doc/autoconf.texi: Add [] to examples, so that the manual
1979 follows its own advice about quoting better.
1980 Reword to avoid some formatting glitches.
1981 * doc/installt.exi: Reword to avoid some formatting glitches.
1983 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1984 Tru64 ksh pattern matching bug. Reported against Libtool by
1985 Albert Chin <libtool@mlists.thewrittenword.com> and
1986 Nicolas Joly <njoly@pasteur.fr>.
1988 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1990 m4_cdr of one-member list was [[]] (one-member list containing an
1991 empty string) instead of [] (an empty list. Callers were skewed to
1992 match this misbehaviour. As a consequence of this:
1993 - m4_foreach([x], [], [foo]) expanded to `foo', while
1994 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
1995 This bug has been fixed:
1997 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
1998 expand to an empty string; print error msg if called without
2000 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
2001 misbehaviour; handle [] and [[]] correctly.
2003 2005-06-06 Stepan Kasal <kasal@ucw.cz>
2005 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
2006 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
2007 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
2009 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
2011 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
2012 swallow records with more than 99 fields.
2013 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
2014 parse the long line.
2016 2005-06-04 Stepan Kasal <kasal@ucw.cz>
2018 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
2019 swallow literals longer than 399. Reported by Ralf Wildenhues.
2020 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
2021 to workaround this limitation.
2023 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
2025 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
2026 to gfortran, and make these the first two compiler names
2027 checked (following the general autoconf preference for gcc).
2029 2005-06-03 Stepan Kasal <kasal@ucw.cz>
2031 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
2032 (DISTCLEANFILES): Remove $(check_SCRIPTS).
2033 (testsuite): Make sure autotest.m4f is up-to-date before using it.
2035 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
2037 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
2038 expression of unbounded size when processing the --list
2039 option. This runs afoul of a limit of 399 bytes per regular
2040 expression on AIX. Problem reported by Ralf Wildenhues.
2042 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
2044 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
2045 * doc/autoconf.texi (Particular Headers): Reword example
2046 for multiline stdbool replacement.
2047 (Setting Output Variables): Reword text a bit. Don't
2048 give all the details about |#_!!_#|.
2049 Reword description of line replacement.
2051 2005-05-31 Dan Manthey <dan_manthey@partech.com>
2053 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
2054 now contain newlines, and substituted files must be referenced on
2055 a line alone; the sed scripts to substitute them are now very
2057 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
2058 commands can be put in a sed script portably.
2059 * doc/autoconf.texi (Setting Output Variables): Document above
2060 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
2061 use of multiline substitution.
2062 * tests/torture.at: No longer expect substitution of newline to fail.
2064 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
2066 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
2067 From Ralf Menzel (trivial change).
2069 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
2071 * tests/local.at: Don't attempt to check for negated character
2072 classes in shell scripts. The test was too brittle.
2074 2005-05-25 Stepan Kasal <kasal@ucw.cz>
2076 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
2077 * doc/autoconf.texi (Limitations of Builtins): Document this
2080 2005-05-24 Stepan Kasal <kasal@ucw.cz>
2082 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
2083 common code; used in many places in the tree.
2084 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
2085 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
2087 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
2089 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
2090 messages when ac_unique_file is not found.
2091 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
2092 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
2093 commands, for consistency with AC_MSG_ERROR and such.
2095 * bin/autoconf.as: Make more use of "shift 2" in option processing.
2097 * bin/Makefile.am: Merge the two rules for creating scripts.
2099 2005-05-23 Stepan Kasal <kasal@ucw.cz>
2101 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
2102 obsolete; it was never documented.
2103 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
2105 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2107 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
2108 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
2109 (ac_top_builddir): ... this ...
2110 (ac_top_build_prefix): ... to this; the old name is also kept, for
2111 backward compatibility.
2112 (ac_top_builddir_sub): New variable, without the trailing slash,
2114 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
2115 * doc/autoconf.texi (Configuration Actions): Rename
2116 ac_top_builddir to ac_top_build_prefix.
2117 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
2118 at_top_builddir to at_top_build_prefix.
2119 * lib/autotest/general.m4 (AT_INIT): Likewise.
2121 2005-05-20 Stepan Kasal <kasal@ucw.cz>
2123 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
2126 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2128 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
2129 argument to m4_foreach. I guess it was necessary in the past,
2130 but I think it's a no-op now.
2132 2005-05-17 Stepan Kasal <kasal@ucw.cz>
2134 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
2135 ``cat <<_ACEOF'' commands to one.
2136 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
2137 * lib/autoconf/status.m4: On various places, use expr instead of
2139 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
2140 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
2141 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2143 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2144 the wrong patterns between ``case'' and ``esac.'' The previous
2145 code had false positives.
2147 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
2149 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2151 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2154 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
2156 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2157 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2158 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2159 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2160 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2161 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2162 config/config.guess, config/config.sub, config/elisp-comp,
2163 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2164 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2165 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2166 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2167 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2168 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2169 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2170 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2171 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2172 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2173 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2174 lib/autoconf/general.m4, lib/autoconf/headers.m4,
2175 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2176 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2177 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2178 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2179 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2180 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2181 lib/autotest/general.m4, lib/emacs/Makefile.am,
2182 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2183 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2184 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2185 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2186 tests/compile.at, tests/foreign.at, tests/fortran.at,
2187 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2188 tests/semantics.at, tests/suite.at, tests/tools.at,
2189 tests/torture.at, tests/wrapper.as:
2190 Update FSF postal mail address.
2192 2005-05-13 Stepan Kasal <kasal@ucw.cz>
2194 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2196 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2197 enough arguments, similarly as in m4_bpatsubsts.
2199 2005-05-12 Stepan Kasal <kasal@ucw.cz>
2201 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2204 2005-05-11 Stepan Kasal <kasal@ucw.cz>
2206 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2207 for absolute directory names in one loop.
2208 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2209 abbreviations of --version and --debug.
2211 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
2213 * doc/autoconf.texi (Autoconf Language): Be more precise about
2214 quoting rules. Problems noted by Stepan Kasal.
2215 Also, throughout this document, be more careful about white space.
2216 "blank", "white space", and "space" all have different meanings
2217 and we should be careful to say what we mean.
2219 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
2221 Fix C++ related problems reported by Werner Lemberg.
2222 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
2223 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
2224 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
2225 avoid problems with C++ and throw.
2226 * tests/compile.at: .cpp, not .cc.
2228 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2230 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2232 * doc/autoconf.texi (Generic Functions): Typos.
2234 2005-05-02 Gary V. Vaughan <gary@gnu.org>
2236 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
2237 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
2238 set by latest automake.
2240 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
2242 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
2243 outputs 0 on GNU/Linux these days.
2245 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
2247 * doc/autoconf.texi (Autoconf Language): Add more description
2248 about quoting heuristics.
2249 (Limitations of Builtins): Describe "set -" problems.
2251 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2253 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
2256 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
2257 by AC_DEFINE; it was a mistake.
2258 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
2260 2005-04-25 Stepan Kasal <kasal@ucw.cz>
2262 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2264 2005-04-22 Stepan Kasal <kasal@ucw.cz>
2266 * doc/autoconf.texi (External Software): Quadrigraphs are not
2267 processed correctly in AS_HELP_STRING; avoid this in the examples.
2268 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
2269 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
2270 comment and reduce m4_default([foo], []) to [foo].
2271 (m4_strip): Update the explanation.
2273 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
2275 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
2276 Remove core.conftest.* too; it's generated by Tru64 5.1.
2277 Problem reported by Jennis Pruett.
2278 * lib/autoconf/functions.m4
2279 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2280 Don't bother to remove core files; AC_RUN_IFELSE should do that
2283 2005-04-19 Stepan Kasal <kasal@ucw.cz>
2285 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2287 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2289 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
2290 Report from Horst Wente.
2292 2005-04-15 Stepan Kasal <kasal@ucw.cz>
2294 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
2297 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
2299 * doc/autoconf.texi (External Software, Package Options): Add
2300 examples showing how to implement --with-* and --enable-* options.
2302 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
2304 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
2305 as well as configure.in. Problem reported by Gregorio Guidi.
2307 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
2309 * doc/autoconf.texi (Particular Functions): Use gnulib's current
2310 pattern for alloca snippet.
2312 2005-04-04 Stepan Kasal <kasal@ucw.cz>
2314 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2316 2005-04-01 Stepan Kasal <kasal@ucw.cz>
2318 * doc/autoconf.texi (Generic Programs): Fix a typo.
2320 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
2322 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
2323 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2325 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2327 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
2328 Merge `-z option' as well for the benefit of Solaris link flags. Pass
2329 whole-archive (-zallextract, -zdefaultextract) options in the hope of
2330 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
2331 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
2333 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
2335 * NEWS: The configure command now warns you if you attempt to use
2336 a directory whose name contains a special character like space,
2338 * doc/autoconf.texi (Installation Directory Variables): Allow
2339 "," in file names. Do not use \@; it's not a portable regexp.
2340 * bin/Makefile.am (edit): Likewise.
2341 * lib/Makefile.am (edit): Likewise.
2342 * tests/Makefile.am (edit): Likewise.
2343 * tests/semantics.at: Likewise.
2344 * tests/torture.at: Likewise.
2345 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
2346 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
2347 * doc/autoconf.texi (File System Conventions): Warn about
2348 unportable file names.
2349 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
2351 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
2352 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
2353 ac_pwd, and quote srcdir.
2354 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
2356 * doc/autoconf.texi: Fix some systematic formatting problems.
2357 ".)" needs a following @: if not at the end of a sentence, and
2358 similarly for "!)". "etc." should be preceded by a comma.
2359 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
2361 2005-03-22 Bruno Haible <bruno@clisp.org>
2363 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
2364 argument is often called 'build-aux'.
2366 2005-03-07 Stepan Kasal <kasal@ucw.cz>
2368 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
2369 macro AC_TRY_LINK is obsolete.
2370 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
2373 2005-02-24 Stepan Kasal <kasal@ucw.cz>
2375 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
2376 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
2377 from a Common Lisp's `cl'.
2378 (AC_PROG_CXX): Behave according to the documentation: don't
2379 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
2380 make the variable CCC precious; use `cl.exe', not `cl'.
2382 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2383 Alexandre Duret-Lutz <adl@gnu.org>
2385 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
2386 /dev/null, as "configure" shouldn't read stdin, and this insulates
2387 us from problems (e.g., when testing for "cl"). Also, do this
2388 redirection before invoking "hostname" or "uname", and keep the
2389 original input stream available via...
2390 (AS_ORIGINAL_STDIN_FD): ... this new macro.
2391 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
2392 bother with "</dev/null" since it's now done at the top of
2394 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
2395 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2396 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2397 * doc/autoconf.texi (File Descriptor Macros): New section.
2398 (Printing Messages): Mention it.
2399 * tests/base.at (Input/Output): New test.
2401 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2403 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
2404 newline if neither \c nor -n work, as that would output two
2405 newlines. Prefer -n to \c. Reported by Stepan Kasal.
2407 2005-02-12 Stepan Kasal <kasal@ucw.cz>
2409 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
2410 This causes that any required macros inside will get before the if.
2411 * doc/autoconf.texi (autom4te.cache): A typo.
2413 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
2415 Undo previous change, except keep the change to
2416 lib/autoconf/programs.m4 that replaced grep with shell
2417 pattern-matching. This is because net-snmp configure reads stdin.
2418 Reported by Noah Misch.
2420 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
2422 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
2423 from /dev/null, as "configure" shouldn't read stdin, and this
2424 insulates us from problems (e.g., when testing for "cl").
2425 Suggested by Alexandre Duret-Lutz. Also, do this redirection
2426 before invoking "hostname" or "uname".
2427 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2428 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
2429 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
2430 "</dev/null" since it's now done at the top of 'configure'.
2431 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2432 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2433 Also, replace grep with shell pattern-matching, to save a process.
2435 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
2437 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2438 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
2439 avoid thinking that Allegro Common Lisp's "cl" command is a C++
2442 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
2444 * doc/autoconf.texi (Limitations of Usual Tools): Document that
2445 grep -q isn't portable. Improve grep -s explanation.
2446 Problem reported by Dan Manthey.
2448 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
2450 * doc/autoconf.texi (Special Shell Variables): Clarify
2451 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2453 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
2455 * doc/autoconf.texi: Use @acronym for DJGPP.
2456 Fix some @code's that should have been @env's, and vice versa.
2457 Sort environment variable names.
2458 Mention that shells no longer inherit IFS.
2459 Don't recommend PATH_SEPARATOR=';' so strongly.
2460 Mention that $RANDOM might expand to the empty string.
2461 "symlink" and "soft link" -> "symbolic link".
2462 Improve mktemp description (reported by Bruno Haible).
2464 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
2466 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
2467 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
2469 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
2472 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
2474 * NEWS: Mention AT_COPYRIGHT.
2476 * tests/local.at (AT_CMP): Use diff directly on input files rather
2479 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
2480 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2482 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2483 and Paul Eggert <eggert@cs.ucla.edu>
2485 * tests/autotest.at (Empty test suite): New test.
2486 * tests/torture.at (Substitute and define special characters)
2487 (Substitute a 2000-byte string, Define to a 2000-byte string)
2488 (Substitute a newline, Define a newline): New tests.
2490 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2492 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
2493 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
2494 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
2495 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
2496 (Standard regular expressions): New test.
2497 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
2498 excess test name quoting.
2499 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
2500 CPPFLAGS to `configure' instead of setting it in `configure'.
2502 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
2503 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
2506 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
2507 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
2509 * tests/local.at (AT_CMP): New macro.
2510 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
2511 (AC_SAVE_STATE): Move environment grep...
2512 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
2513 (AT_CONFIG_CMP): New macro.
2514 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
2515 * tests/c.at (Extensions): Do not exit early.
2516 * tests/atlocal.in: Inherit $GREP.
2518 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
2519 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
2521 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
2522 (AC_COPYRIGHT): Factor header comment portion out and move into...
2523 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
2524 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
2525 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
2527 * tests/local.at: Add Autoconf test suite copyright notice.
2528 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
2530 2005-02-04 Bruno Haible <bruno@clisp.org>
2531 and Paul Eggert <eggert@cs.ucla.edu>
2533 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2535 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2537 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
2538 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
2540 Try not to generated lines of unlimited length, as POSIX places a
2541 2047-byte limit on line length of portable text files.
2542 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
2543 Use newline as a separator, not space.
2544 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
2545 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
2548 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2550 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
2551 as_func_*. Add test to check whether positional parameters
2552 are restored after function return.
2554 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2556 * doc/autoconf.texi (Special Shell Variables): Mention _,
2557 BIN_SH, DUALCASE. Say that variables other than "status" are safe
2558 if they contain a lower-case letter. The DUALCASE problem was
2559 reported by Ralf Wildenhues.
2561 * bin/autoconf.as: Don't exit with status 0 after write failure
2562 with --help or --version.
2563 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
2564 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2566 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2568 * doc/autoconf.texi (Limitations of Usual Tools):
2569 Unicos 9 sed limitations.
2570 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
2571 to get the option-enhanced interface on older Crays. Try ftn for
2572 Fortran 95 (newer Crays).
2574 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
2576 * man/Makefile.am (.x.1): Go back to the simple solution, but take
2577 care to echo the commands, so the user knows what's going on.
2578 Modified from a suggestion by Stepan Kasal.
2580 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
2581 with a cross reference. Derived from a suggestion by Bruce Korb.
2583 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
2585 * doc/autoconf.texi (config.status Invocation): Warn about
2586 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2587 * doc/install.texi (Defining Variables): Likewise.
2588 Based on a proposed patch by Ralf Wildenhues.
2590 * man/Makefile.am (.x.1): Make sure the required generated files
2591 are up to date. Problem and original solution proposed by Stepan Kasal.
2592 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
2593 implicit-man-prerequisites): New rules, used by the above.
2595 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2596 * config/config.guess, config/config.sub, config/install-sh: Likewise.
2597 * config/missing, config/texinfo.tex: Likewise.
2599 2005-01-29 Stepan Kasal <kasal@ucw.cz>
2601 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
2602 Update the long comment explaining it.
2604 m4_require no longer writes an ``is required by'' line to the
2605 execution stack. It contains only one bit of non-redundant
2606 information: that the macro was required, not called. And even
2607 this bit is useless in most situations: have you ever met a macro
2608 which both calls and requires the same macro?
2610 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
2611 (_m4_defun_pro_outer): ... only via this macro, for the outermost
2613 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
2614 (m4_expansion_stack_pop): Remove the misplaced comment.
2615 (m4_require): Don't put the ``is required by'' line to the
2616 execution stack; slightly improve the out-of-a-defun error message.
2617 (_m4_divert_grow): New macro, counter for the temporary diversions.
2618 (_m4_require_call): Use it.
2619 * tests/m4sugar.at (m4_require): Expect output without the
2620 ``is required by'' messages.
2622 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2624 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
2625 rather than x for expr.
2627 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
2629 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
2630 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2631 * lib/autotest/general.m4 (AT_INIT): Likewise.
2632 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
2633 * tests/mktests.sh: Likewise.
2635 2005-01-27 Akim Demaille <akim@epita.fr>
2637 Have autoheader honor --force.
2639 * doc/make-stds.texi, doc/standards.texi: Update from masters.
2640 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
2641 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
2642 from masters, so that FileUtils.pm's update_file provide --force
2644 * bin/autoheader.in: Pass $force to update_file so that
2645 config.h.in is always recreated when --force.
2647 2005-01-24 Stepan Kasal <kasal@ucw.cz>
2649 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
2651 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
2653 * doc/autoconf.texi (Limitations of Builtins): Clarify that
2654 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2656 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2658 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
2659 Warn about newline stripping in `` and $(). Update Solaris
2661 (Limitations of Builtins): Use expr "X...", not expr "x...", as
2662 X insulates us from future changes to Posix.
2663 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
2666 2005-01-19 Stepan Kasal <kasal@ucw.cz>
2668 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
2669 you cannot use AC_DEFINE to define macros containing `[' or `]'.
2671 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
2673 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
2674 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
2675 bug-tar mailing list.
2677 2005-01-05 Stepan Kasal <kasal@ucw.cz>
2679 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2681 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
2683 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
2684 ulongval to be static, to avoid unwanted GCC warning. Problem
2685 reported by Michael Jennings via Daniel Reed; see
2686 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2688 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2690 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
2691 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
2692 datadir, infodir, and mandir. Adjust argument parsing code.
2693 (_AC_INIT_HELP): Update help text.
2694 * doc/autoconf.texi (Installation Directory Variables): Document
2697 2005-01-04 Noah Misch <noah@cs.caltech.edu>
2699 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
2700 not seem to work, assume it does set $(MAKE).
2701 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2703 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2705 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2707 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2709 A cleanup of the diversion support in m4sugar.
2711 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
2712 (_m4_divert_n_stack): New macro; the expansion is
2713 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
2715 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
2716 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
2717 stored in _m4_divert_diversion or _m4_divert_dump.
2718 (m4_divert_pop): When the parameter is given, compare the symbolic
2719 name with the last diversion pushed on the stack. Previously, the
2720 current diversion was compared with the numeric value of the
2721 diversion given as the parameter.
2722 (m4_require): If the macro hasn't been expanded yet, call ...
2723 (_m4_require_call): this new macro.
2725 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2727 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
2728 Workarounds for documented `case' limitations.
2730 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
2732 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
2733 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2735 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
2737 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
2738 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2739 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
2741 Patch from Roger Leigh (with some minor changes) as follows:
2742 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
2743 Resurrect AC_PROG_CC_STDC.
2744 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
2745 AC_PROG_CC_C89, AC_PROG_CC_C99.
2746 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
2747 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
2748 AC_PROG_CC_C99): New macros.
2749 (AC_PROG_CC_STDC): Use them.
2750 (_AC_PROG_CC_STDC): Remove.
2751 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
2752 * THANKS: Add Roger Leigh.
2754 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2756 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
2757 signals that the package uses Automake; a `Makefile.am' is typical but
2758 not essential. Reported by Magnus Therning.
2759 * tests/torture.at (autoreconf.): New banner.
2760 (autoreconf and non-AC configure): Rename to `Non-Autoconf
2762 (autoreconf an empty directory): Rename to `Empty directory'.
2763 (Unusual Automake input files): New test.
2765 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2767 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
2768 (AT_SETUP): Clear AT_capture_files.
2769 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
2770 (AT_KEYWORDS): Fix comment typo.
2771 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
2772 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
2773 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2775 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
2777 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2778 If the variable to set is already set, set ac_cv_path_$1
2779 to the preset value so caller can assume ac_cv_path_$1
2780 is available. (trivial change)
2782 2004-12-27 Noah Misch <noah@cs.caltech.edu>
2784 * BUGS (Minor Problems): Warn about makefile limitations.
2785 * Makefile.am: Find and update `INSTALL' in $(srcdir).
2786 * man/Makefile.am: Find and update manual pages in $(srcdir).
2788 2004-12-24 Eric Blake <ebb9@byu.net>
2790 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
2791 shells in subshell, to avoid noise from ash. (trivial change)
2793 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2795 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2796 problems with SunOS ksh and backslash escaping, Bourne shells and
2797 closing brackets (both within character classes). Bug reported
2798 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
2799 <read>: New entry. Mention non-availability of -r.
2801 2004-12-21 Akim Demaille <akim@epita.fr>
2803 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
2804 avoid cluttering displayed messages. Rather, prepend srcdir where
2805 AT_LINE is used for log files.
2807 2004-12-21 Stepan Kasal <kasal@ucw.cz>
2809 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
2810 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
2811 no longer part of the macro, quote the occurrence of ``$tmp''.
2812 * doc/autoconf.texi (Forbidden Patterns): Typo.
2814 2004-12-21 Akim Demaille <akim@epita.fr>
2816 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
2817 separated from the test title by forcing a white space.
2819 2004-12-21 Akim Demaille <akim@epita.fr>
2821 Enable Emacs navigation within testsuite.log files.
2823 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
2824 use the compilation mode.
2825 (AT_LINE): Point to the srcdir.
2827 2004-12-19 Noah Misch <noah@cs.caltech.edu>
2829 * tests/Makefile.am (installcheck-local): Use $(bindir).
2830 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
2831 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
2832 Makefile.am scheme Autoconf now uses.
2834 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2836 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
2837 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2839 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2841 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
2842 (_AT_CHECK): Use it.
2843 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
2844 (AS_ESCAPE): Fix comment.
2845 * tests/autotest.at: Adjust section banner comments.
2846 (AT_CHECK_AT): Accept STATUS and STDERR.
2847 (AT_CHECK_AT_TEST): Likewise.
2848 (Invalid brace-enclosed parameter expansion)
2849 (Multiline command from M4 expansion)
2850 (Double-M4-quoted command): New tests.
2852 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
2854 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2856 2004-12-17 Akim Demaille <akim@epita.fr>
2858 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
2860 Suggested by Alexandre Duret-Lutz.
2861 * doc/autoconf.texi (Setting Output Variables): Catch up.
2863 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2865 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2867 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2869 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
2870 remove the comment which said we cannot.
2872 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2874 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
2875 Reini Urban and Paul Eggert for reporting the dependencies.
2877 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
2878 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
2879 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2881 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2883 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
2884 so that eg. ``autoscan --help'' doesn't truncate it.
2886 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
2888 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2889 generated conftest files.
2891 2004-12-13 Noah Misch <noah@cs.caltech.edu>
2893 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
2894 tracing on commands with possibly-escaped newlines.
2895 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
2896 discontinued behavior and its implications.
2897 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
2898 (BSx641-newline in command, BS-BS-newline in command)
2899 (BSx640-newline in command, Newline-CODE-BS-newline in command)
2900 (Single-quote-BS-newline in command)
2901 (Single-quote-newline-BS-newline in command): New tests.
2903 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2905 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
2906 on platforms where it works.
2907 (_AS_TEST_PREPARE): Test for ``test -x''.
2908 (_AS_BROKEN_TEST_PREPARE): Nuke.
2910 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2912 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
2913 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
2914 give only 4-letter prefix to AS_TMPDIR, comment fixed.
2915 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
2916 create the temporary directory.
2917 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2919 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
2921 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
2924 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
2926 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2928 2004-12-11 Noah Misch <noah@cs.caltech.edu>
2930 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
2931 to avoid using a negated character class. Reported by Nicolas Joly.
2932 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2934 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
2936 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
2937 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
2938 Don't depend on .x file explicitly, since "make" does that for us.
2939 Suggested by Stepan Kasal.
2941 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
2943 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
2944 ifnames): Factor common code. And they said it couldn't be done!
2946 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2948 * bin/.cvsignore: Add autoconf.in.
2949 * tests/.cvsignore: Add wrapper.in.
2950 * lib/autotest/general.m4: Escape '$' in case pattern.
2952 2004-12-09 Noah Misch <noah@cs.caltech.edu>
2954 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
2956 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
2958 * tests/autotest.at: New file.
2959 * tests/suite.at: Include it.
2960 * tests/Makefile.am: Distribute it.
2962 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
2963 shell tracing on a command that could contain multiple lines.
2964 * doc/autoconf.text: Document that fact and its implications.
2965 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
2966 * tests/autotest.at (Multiline backquote command substitution,
2967 Multiline parameter expansion, Literal multiline command,
2968 Multiline parenthetical command substitution): Remove XFAIL.
2970 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2972 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
2973 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2975 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2977 * configure.ac (test suite): Cease to generate wrapper scripts.
2978 * configure: Regenerate.
2979 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
2980 (m4f_dependencies): Adjust accordingly.
2981 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
2982 (wrapper.in): Generate it in the build directory.
2983 (MAINTAINERCLEANFILES): Delete wrapper.in.
2984 (CLEANFILES): Add wrapper.in.
2985 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
2986 the output. Replace each $as_me with a @wrap_program@.
2987 * tests/wrapper.in: Delete it; we always build it.
2989 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
2990 (EXTRA_DIST): Remove autoconf.in.
2991 (CLEANFILES): Add autoconf.in.
2992 (autoconf): Find autoconf.in in the build directory.
2993 * bin/autoconf.in: Delete it; we always build it.
2995 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2997 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
2998 PATH members so as to not prepend an empty element. Move a comment.
2999 * Makefile.am (SUBDIRS): Build in `tests' last.
3000 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
3002 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
3004 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
3005 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
3006 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
3007 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
3009 2004-12-07 Stepan Kasal <kasal@ucw.cz>
3011 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
3014 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
3016 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
3017 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
3018 * doc/autoconf.texi (Particular Functions): Mention new behavior.
3020 2004-12-03 Stepan Kasal <kasal@ucw.cz>
3022 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
3023 out the common code to ...
3024 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
3025 value of the #define--default to 1, iff the macro was called
3026 with exactly one parameter.
3028 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
3030 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
3031 "char c = '\200';" rather than "char c = 0x80;" as the
3032 latter doesn't conform to the strict C standard due to
3033 overflow on signed char hosts.
3035 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
3036 to -qlanglvl=ansi. We don't want to disable extensions.
3038 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
3040 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
3041 (Using Autotest, testsuite Scripts, Writing testsuite.at):
3042 Reword slightly to avoid some English-language problems noted
3043 by Ralf Wildenhues in:
3044 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
3046 2004-11-29 Stepan Kasal <kasal@ucw.cz>
3048 * NEWS: Add ^L above each release.
3050 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
3052 Fix documentation problems reported by Russ Boylan in
3053 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
3054 along with some nearby cruft.
3055 * doc/autoconf.texi (Libtool): Libtool can be used without
3056 Automake (not without Autoconf).
3057 (Introduction): Mention lists.gnu.org.
3058 * BUGS: Don't mention bugs.gnu.org.
3059 Remove mention of ancient libtool compatibility problem.
3060 * NEWS: Mention that bugs.gnu.org is kaput.
3061 * README: Likewise. Mention where mailing list archives can be found.
3063 2004-11-28 Stepan Kasal <kasal@ucw.cz>
3065 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
3066 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
3068 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
3070 * doc/autoconf.texi (Pretty Help Strings): Go back to
3071 single-quoting assignments to cache variables.
3073 2004-11-23 Stepan Kasal <kasal@ucw.cz>
3075 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
3076 with the examples; fix the bug in MY_ARG_WITH example reported
3077 by Alexandre Duret-Lutz.
3078 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
3079 expansion of $1 in the comment emitted to configure.
3081 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
3083 * doc/autoconf.texi (Pretty Help Strings): Fix typo
3084 in my editing of the previous patch. Problem reported
3085 by Alexandre Duret-Lutz.
3087 2004-11-22 Stepan Kasal <kasal@ucw.cz>
3089 * doc/autoconf.texi (Autoconf Language): Explain that
3090 ``descriptions'' may not be double quotes.
3091 (Quotation Rule Of Thumb): Likewise.
3092 (Pretty Help Strings): Likewise; remove the wrong comment;
3093 simplify the examples and improve their quoting.
3095 2004-11-13 Stepan Kasal <kasal@ucw.cz>
3097 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
3098 the $1_found variable, don't test whether the file is executable;
3099 Both things are checked ...
3100 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
3101 the former ``test -f''.
3102 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
3104 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
3106 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
3109 2004-11-10 Derek R. Price <derek@ximbiot.com>
3111 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
3112 limitations. Reorder paragraphs for clarity.
3114 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
3116 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
3117 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
3118 variants", "Unix", and some related minor wording fixups.
3120 (Shellology, Special Shell Variables): Document that the Zsh
3121 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
3122 to Alexandre Duret-Lutz for this info.
3124 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
3126 * doc/autoconf.texi (One-Shot Macros): New node.
3128 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
3130 * doc/autoconf.texi (Function Portability): Fix misdescription
3131 of putenv. Problem reported by Michael Wardle.
3133 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
3135 * doc/autoconf.texi (auindex): New macro.
3136 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
3137 Problem reported by Stepan Kasal.
3139 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
3141 Fix problems reported by Andreas Buening in:
3142 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3143 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3145 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3146 readable; it's not true in OS/2-emx.
3148 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
3150 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3151 "/usr/include", clear ac_x_includes instead of leaving it as "no"
3152 (trivial change). Problem and patch reported by Andrew Church in:
3153 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3155 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
3157 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3158 three args in examples. Problem reported by Frederik Fouvry in:
3159 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3160 Also, fix some minor spacing and punctuation bugs.
3162 2004-09-02 Akim Demaille <akim@epita.fr>
3164 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3165 "case" to restore ordering.
3166 Reported by Stepan Kasal.
3168 2004-08-26 Akim Demaille <akim@epita.fr>
3170 * doc/autoconf.texi: Minor typos and stylos.
3172 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3174 * configure.ac (AC_INIT): Bump to 2.59c.
3176 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3180 * README: Add advice about m4 1.4.2.
3182 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3183 texinfo.tex for now (done by hand now).
3184 * Makefile.maint (wget_files, cvs_files):
3185 Remove ansi2knr.c; nobody uses it.
3186 (ansi2knr.c-url_prefix): Remove.
3187 (cvs-update): Fix test for failure. I don't know why it ever
3190 * doc/autoconf.texi: Update URLs, some of which went stale.
3191 Use @uref rather than @href.
3193 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3194 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
3196 * config/config.guess, config/config.sub, config/elisp-comp,
3197 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3198 doc/fdl.texi, doc/standards.texi: Sync with master copy.
3200 * NEWS, TODO, configure.ac, bin/autoscan.in,
3201 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3202 doc/install.texi, lib/Autom4te/Configure_ac.pm,
3203 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3204 lib/autoconf/programs.m4, lib/autoconf/status.m4,
3205 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3206 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3207 tests/tools.at, tests/torture.at:
3208 Use "file name" rather than "filename" or "path",
3209 to be consistent with the terminology of the GNU coding standards.
3211 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
3213 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3214 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3215 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
3216 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3218 More fixes to support spaces in the name of the build directory.
3219 This isn't a complete fix but it's an improvement.
3221 * bin/autoconf.as (autom4te_options): New var.
3222 Use it instead of appending to AUTOM4TE, so that we can allow
3223 spaces in the build directory's absolute name.
3224 * bin/autoheader.in ($autoconf): Allow spaces in file names.
3225 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
3226 AT_CHECK_NOESCAPE): Likewise.
3227 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
3228 main program): Likewise.
3230 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
3232 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
3233 From Ralf Corsepius in:
3234 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
3236 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
3238 * doc/autoconf.texi (Function Portability): Document isinf and
3239 and isnan. From a suggestion by Kevin Ryde.
3241 * lib/Autom4te/General.pm (END): Return correct exit status even
3242 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
3244 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
3246 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
3247 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
3248 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
3250 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3252 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
3253 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
3254 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
3255 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
3256 * lib/autom4te.in (Automake-preselections): Preselect
3257 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
3259 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
3261 * lib/autom4te.in (Automake-preselections): Preselect
3262 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
3265 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
3267 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
3269 * doc/autoconf.texi (Shellology): Mention BIN_SH.
3270 Document problem with "`""`" in pdksh POSIX mode.
3272 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
3274 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
3275 with pdksh, too. Problem reported by Patrick Welche via
3277 * doc/autoconf.texi (Shellology): Note that set -o posix is
3278 useful for pkdsh, too.
3280 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
3282 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
3283 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
3284 Don't fail if ENV or BASH_ENV is readonly.
3285 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
3286 etc. are read only. Problem reported by Ludovic Courtes.
3288 2004-06-23 Noah Misch <noah@cs.caltech.edu>
3290 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
3291 zsh, disable GLOB_SUBST to avoid backslash handling problems.
3294 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
3296 * doc/autoconf.texi (File System Conventions): Warn about
3297 names like "aux". Problem reported by Eric Blake.
3299 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
3300 by zero instead of array size, so that we can use any arithmetic
3301 constant expression (instead of requiring an integer constant
3302 expression). This allows us to test expressions like DBL_MAX <
3303 LDBL_MAX, which didn't conform to the C standard using the old
3305 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
3306 now that we can do floating-point tests at compile time.
3308 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
3310 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
3311 and LDBL_EPSILON, as the resulting expression isn't an
3312 integer constant expression and violates the C standard.
3313 Problem reported by Nelson H. F. Beebe. Also, check
3314 for "L" suffix, and check that long double doesn't have
3315 worse range or precision than double, that mixed-mode
3316 arithmetic doesn't generate a diagnostic, that double
3317 constants fit in long double.
3319 2004-06-03 Kevin Ryde <user42@zip.com.au>
3321 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
3322 malloc(0) and realloc(NULL,size).
3324 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
3327 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
3329 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
3330 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
3333 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
3335 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
3336 can be rewritten using if-then-else. Suggested by Bruno Haible.
3338 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
3340 * doc/autoconf.texi (testsuite Scripts): Fix typo.
3341 Problem reported by Stepan Kasal.
3343 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
3345 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
3346 change). Patch reported by Ralf Wildenhues in
3347 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
3349 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
3350 function F exists if the compiler and linker let you compile an
3351 expression like (F != 0). Recent versions of GCC optimize away
3352 the reference to F in that case, since every function address must
3353 be nonzero, so the link succeeds even if F does not exist.
3354 Problem reported by Manu in
3355 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
3357 * doc/autoconf.texi (Systemology): Standardize on the spelling of
3358 "Unix". Many uses changed.
3359 (Limitations of Builtins): Explain better why the ! command isn't
3362 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
3364 * lib/autom4te.in (Automake-preselections): Preselect
3365 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
3367 2004-05-19 Kevin Ryde <user42@zip.com.au>
3369 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
3370 referencing AC_FUNC_STRERROR_R.
3372 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
3373 note pessimistic assumption when cross compiling.
3375 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
3377 * doc/autoconf.texi (Limitations of Make): Note that BSD make
3378 (until 2004) invoked subcommands with sh -e, contra POSIX.
3379 Reported by Kevin Ryde.
3381 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
3383 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
3384 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
3385 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
3386 `test -f " /usr/bin/grep"', which _always_ failed.
3387 (AC_PROG_SED): Ditto bogus PATH fix.
3388 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
3389 requires that grep correctly supports _multiple_ `-e' options, rather
3390 than stating only that grep should accept `-e'.
3392 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
3394 Port to C99, which requires that 'exit' be declared.
3396 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
3397 to ensure that stdlib.h is included.
3398 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
3399 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
3400 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3401 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3402 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3403 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
3404 when using 'exit' in a test; C99 requires that 'exit' be declared.
3406 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
3408 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
3409 now prefers 'grep' implementations that accept -e.
3410 (Limitations of Usual Tools): Describe problems of traditional
3411 egrep and fgrep with long input lines, and of traditional grep
3413 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
3414 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
3415 All callers changed. Append /usr/xpg4/bin to the PATH, for
3417 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
3418 the user with complaints about multiple -e options.
3419 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
3420 Define it with AC_PROG_GREP.
3421 * configure.ac (AC_PROG_GREP): Add.
3422 * lib/freeze.mk (GREP): New macro.
3424 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
3426 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
3427 a possible candidate only after all others fail, rather than
3428 consulting it first. This improves backward compatibility by
3429 better reflecting the way shell selection occurred in previous
3430 versions of Autoconf, and should help to avoid triggering latent
3431 problems in other packages, such as the one in Automake where zsh
3432 is not handled robustly:
3433 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
3434 Although it is not Autoconf's responsibility to work around
3435 problems in Automake, it nevertheless makes sense to avoid
3436 introducing unnecessary incompatibilites.
3438 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
3439 Gary V. Vaughan <gary@gnu.org>
3441 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
3442 how deeply nested we are when a suitable tool is found, set the
3443 ac_path_TOOL_found flag.
3444 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
3445 nested we are in this macro. Break out of all 3 nested loops if
3446 ac_path_TOOL_found is set.
3448 2004-04-21 Gary V. Vaughan <gary@gnu.org>
3450 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
3451 of the _AS_PATH_WALK loop too if GNU flavor is found.
3453 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3455 * doc/autoconf.texi (Limitations of Make): Update documentation
3456 for `$<'. New entry `Long lines', based on a report from Simon
3457 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
3458 paragraph about DJGPP, based on a mail from Richard Dawe.
3460 2004-04-20 Paul Eggert <eggert@twinsun.com>
3462 * tests/c.at (C keywords): Don't assume that GCC supports
3463 "restrict" and "inline", as sufficiently-old GCC versions do not
3464 (also, GCC configured to be in pedantic C89 mode does not).
3465 Problem reported by Sumit Pandya in:
3466 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
3468 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
3469 consider -g to work if it generates warnings when plain compiles
3470 don't. Problem reported by Braden McDaniel in:
3471 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
3473 * doc/autoconf.texi (Slashes): New section, to document a problem
3474 reported by Jim Meyering in:
3475 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
3477 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
3478 linker output files before linking, to work around IRIX 6 linker bug.
3479 Problem reported by Rainer Orth in:
3480 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
3482 2004-04-20 Gary V. Vaughan <gary@gnu.org>
3484 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
3485 best tool so far counter rely on the tool path variable name to
3486 avoid checks for one tool being affected by the results of running
3487 the length check on a previous tool.
3489 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
3490 match expression argument, as different greps have different
3491 regular expression flavours.
3492 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
3494 (AC_PROG_EGREP): Pass 'EGREP$'.
3495 (AC_PROG_GREP): Pass 'GREP$'.
3497 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
3499 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
3500 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
3502 2004-03-29 Paul Eggert <eggert@twinsun.com>
3504 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
3505 Types, Specific Compiler Characteristics, System Services,
3506 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
3507 etc. consistently instead of 'long', 'short', 'unsigned' etc.
3508 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
3509 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
3511 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
3512 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
3513 AC_TYPE_OFF_T): Likewise.
3514 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
3517 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
3518 pacify libtool 1.5.2. Fix quoting problems in sed command.
3520 2004-03-28 Paul Eggert <eggert@twinsun.com>
3522 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
3523 now defines HAVE_DECL_TZNAME if it is declared, when
3524 HAVE_STRUCT_TM_TM_ZONE is not defined.
3525 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
3526 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
3529 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
3531 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
3532 superfluous backslashing of quotes (") in sed expressions;
3533 thanks to Paul Eggert.
3535 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
3537 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
3538 Fortran compiler is ifort, also added pghpf; thanks to Nelson
3539 H. F. Beebe for the bug report.
3541 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
3543 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
3544 quoted -cmdline argument in Portland Group compiler (bug
3545 reported by Jeffrey J. Barteet).
3547 2004-03-25 Kevin Ryde <user42@zip.com.au>
3549 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
3550 (Run Time): ... here, where it's now mentioned.
3552 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
3554 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
3555 inherits from language Autoconf-without-aclocal-m4.
3556 (Customizing autom4te): Adjust example; the cache must now be
3557 disabled for language Autoconf-without-aclocal-m4.
3559 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
3560 Nathanael Nerode <neroden@twcny.rr.com>
3562 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
3563 AC_CHECK_TOOLS): Warn if a cross-tool is found without
3565 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3566 AC_CHECK_TARGET_TOOLS): New macros.
3567 * doc/autoconf.texi (Generic Programs): Document
3568 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3569 AC_CHECK_TARGET_TOOLS, and warn for future changes
3570 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
3572 (Specifying Names): Document the reason for these future
3574 * tests/mktests.sh: Do not generate tests for the
3576 * NEWS: Document these changes.
3578 * doc/autoconf.texi: Avoid macros with unbraced arguments,
3579 they make TeX hang up.
3581 2004-03-15 Paul Eggert <eggert@bogus.example.com>
3583 * NEWS: New macro AC_CHECK_ALIGNOF.
3584 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
3585 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
3586 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
3588 (AC_CHECK_ALIGNOF): New macro.
3589 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
3590 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
3593 2004-03-03 Paul Eggert <eggert@twinsun.com>
3595 * bin/Makefile.am (edit): Don't use $< in a context where
3596 POSIX doesn't require support for it. Use $@.in instead.
3597 Problem reported by Anthony N. Frasso in
3598 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
3599 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
3601 2004-02-23 Gary V. Vaughan <gary@gnu.org>
3603 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
3604 from the next generation of Libtool.
3605 * lib/autom4te.in (Autoreconf-preselections): Ditto.
3607 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3609 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
3610 is not always thread-safe. Report from Nathanael Nerode.
3612 2004-02-18 Paul Eggert <eggert@twinsun.com>
3614 Fix a dependencies problem, stemming from a Autoconf 2.59 build
3615 problem on QNX reported by Stephen Rasku in
3616 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
3618 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
3619 $(m4sh_m4f_dependencies); this removes a FIXME.
3620 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
3621 (MAINTAINERCLEANFILES): Split into pieces,
3622 one per related section. Add $(srcdir)/wrapper.in.
3624 2004-02-09 Paul Eggert <eggert@twinsun.com>
3626 * doc/autoconf.texi (Setting Output Variables): Emphasize that
3627 AC_SUBST provides no portable way to escape literal newlines.
3629 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
3630 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
3631 Darwin uses -lcrt2.o and there's little point to cataloging all
3632 the system variants. Partial fix reported by Andreas Waechter in:
3633 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
3634 for bug reported by Nelson H. F. Beebe in:
3635 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
3637 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
3639 * doc/autoconf.texi (AU_DEFUN): Fix English,
3640 suggested by Paul Eggert.
3641 * lib/autoconf/autoupdate.m4: Correct reference to
3642 acobsolete.m4, suggested by Alexandre Duret-Lutz.
3644 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
3646 * bin/autoupdate.in: Define __file__ so that warnings
3647 refer to the correct file.
3648 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
3649 the behavior of the third argument.
3650 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
3651 correctly the behavior of the third argument. Document
3652 what the three macros that AU_DEFUN defines do. Fix
3653 warning message when the third argument includes $0
3654 (reported by Alexandre Duret-Lutz).
3656 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3657 Eric Sunshine <sunshine@sunshineco.com>
3658 Paul Eggert <eggert@twinsun.com>
3660 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
3661 (AS_INIT): Output shell initialization there. Removed optional
3662 parameter. Expand _AS_SHELL_FN_SPY.
3663 (AS_INIT_WITH_SHELL_FN): Removed.
3664 (_AS_SHELL_FN_SPY): New macro.
3665 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
3667 (AS_SHELL_SANITIZE): Remove loop to find better shell
3668 and documentation for the parameter.
3669 (_AS_DETECT_BETTER_SHELL): Move it here.
3670 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
3671 (_AS_RUN): Move it here, support testing with eval.
3672 (AS_REQUIRE_SHELL_FN): Require shell functions when
3674 (_AS_LINENO_WORKS): Put around braces, we do not
3675 trigger the bash bug anymore.
3676 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
3677 use AS_INIT_WITH_SHELL_FN.
3678 * bin/autoconf.in, tests/wrapper.in: Regenerated.
3680 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3682 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
3683 * doc/autoconf.texi: Don't say that the third parameter
3685 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
3686 (AU_DEFUN): Honor the third parameter, create autoupdate
3687 macros with AU_DEFINE.
3688 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
3689 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
3690 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3691 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
3692 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
3693 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
3694 AC_XENIX_DIR): Likewise.
3695 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
3696 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
3697 * lib/autoconf/status.m4: Remove FIXME.
3698 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
3699 that the macro is not present anymore in the updated
3701 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
3704 2004-01-28 Paul Eggert <eggert@twinsun.com>
3706 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
3708 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
3709 2003 (except 1997) to the list of copyright years. This undoes
3710 the 2003-05-22 change, which removed the older years from the list.
3711 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
3713 2004-01-27 Gary V. Vaughan <gary@gnu.org>
3714 Albert Chin-A-Young <china@thewrittenword.com>
3716 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
3717 grep or ggrep program in PATH that accepts as long lines as
3719 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
3721 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
3722 egrep and fgrep respectively if $GREP -E/-F don't work.
3723 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
3724 _AC_PROG_GREP, and AC_PROG_SED.
3725 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
3726 longest input length accepted by a command.
3727 (AC_PROG_SED): Use it.
3728 * doc/autoconf.texi (Particular Programs): Document the changes.
3731 2004-01-27 Paul Eggert <eggert@twinsun.com>
3733 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
3734 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3735 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
3736 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3738 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
3739 bin/autoconf.in, config/Makefile.in, config/config.guess,
3740 config/config.sub, config/install-sh, config/mdate-sh,
3741 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
3742 lib/Makefile.in, lib/Autom4te/Makefile.in,
3743 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
3744 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
3745 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
3746 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
3747 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
3748 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
3749 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
3750 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
3751 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
3752 tests/actypes.at: Regenerate and/or sync with original
3755 2004-01-26 Paul Eggert <eggert@twinsun.com>
3757 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
3758 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
3759 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
3760 not <inttypes.h>. Problem reported by Tim Mooney in
3761 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
3762 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3765 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
3766 otherwise "make check" fails because it forbids cmp (I guess
3767 because cmp treats files as binary on DOS-like systems).
3769 * tests/mktests.sh: Update copyright date to 2004, since some tests
3770 have changed in 2004.
3772 2004-01-23 Gary V. Vaughan <gary@gnu.org>
3774 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
3775 non-truncating sed or gsed program in PATH.
3776 * tests/acprograms.at: Add it.
3777 * doc/autoconf.texi (Particular Programs): Document it.
3780 2004-01-15 Paul Eggert <eggert@twinsun.com>
3782 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
3783 -std1 disables some useful extensions on Tru64. Problem reported
3785 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
3787 2004-01-14 Paul Eggert <eggert@twinsun.com>
3789 * doc/autoconf.texi (Programming in M4sh): Document that
3790 AS_MKDIR_P succeeds if the destination is a symbolic link
3791 to an existing directory.
3792 (Limitations of Usual Tools): Note that mkdir -p might not
3793 succeed on symlinks to directories.
3795 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
3797 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
3798 * bin/autoheader.in: Grammar fix in message.
3799 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
3800 Test for dir before calling mkdir -p. (trivial changes)
3802 2004-01-13 Eric Blake <ebb9@byu.net>
3804 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
3805 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
3807 2004-01-10 Jim Meyering <jim@meyering.net>
3809 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
3811 2004-01-09 Paul Eggert <eggert@twinsun.com>
3813 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
3814 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
3815 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
3816 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
3817 AC_COMPILE_IFELSE, since we now assume our caller invokes
3818 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
3819 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
3820 of AC_RUN_IFELSE; this avoids the warning mentioned above.
3821 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
3823 2004-01-07 Paul Eggert <eggert@twinsun.com>
3825 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
3826 `"'...'"`, as it's confusing (and I suspect it may not work on
3827 some platforms). The code was incorrect anyway, as it assumed
3828 that \$ evaluated to itself in that context. Reported by
3829 Alexandre Duret-Lutz.
3831 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
3833 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
3834 and _LT_AC_TAGCONFIG.
3836 2004-01-06 Paul Eggert <eggert@twinsun.com>
3838 * doc/autoconf.texi (One Macro Call): Fix an incorrect
3839 example, and add more examples. Reported by Eric Sunshine.
3841 2004-01-05 Paul Eggert <eggert@twinsun.com>
3843 * doc/autoconf.texi (Limitations of Usual Tools):
3844 Remove warning against "rm -fr" introduced yesterday; it
3847 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
3848 autoscan, autoupdate, ifnames): Don't use chmod -w.
3849 * lib/Makefile.am (autom4te.cfg): Likewise.
3850 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
3853 2004-01-04 Paul Eggert <eggert@twinsun.com>
3854 Paolo Bonzini <bonzini@gnu.org>
3856 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
3857 by doing lineno substitution only on lines containing "$LINENO".
3859 2004-01-04 Paul Eggert <eggert@twinsun.com>
3861 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
3862 Use "rm -f" to remove conftest.sed, not plain "rm".
3863 Bug reported by David Relson in
3864 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
3866 * Makefile.am (autom4te-update):
3867 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
3868 * Makefile.maint (my-distcheck, do-po-update): Likewise.
3869 * doc/autoconf.texi (Guidelines): Likewise.
3870 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
3871 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
3872 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3873 * lib/autotest/general.m4 (AT_INIT): Likewise.
3874 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
3875 * tests/Makefile.am (clean-local): Likewise.
3876 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
3878 * doc/autoconf.texi (Limitations of Usual Tools):
3879 Warn against "rm -fr".
3881 2004-01-03 Paul Eggert <eggert@twinsun.com>
3883 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
3884 -c -o might not work. From a suggestion by Kevin Ryde.
3885 (C Compiler, Generating Sources, Limitations
3886 of Usual Tools, Limitations of Make, Making testsuite Scripts):
3887 Don't put '-o' after non-options, as POSIX doesn't allow this.
3888 Mention that cc's name might be gcc or c89 or whatever.
3890 2004-01-04 Kevin Ryde <user42@zip.com.au>
3892 * doc/autoconf.texi: Add various further index entries.
3894 2003-12-29 Paul Eggert <eggert@twinsun.com>
3896 * bin/autoreconf.in (autoreconf_current_directory):
3897 Fix typo: mkdir without umask arg.
3899 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
3901 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
3902 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
3903 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
3904 explanation clearer.
3906 2003-12-24 Andreas Schwab <schwab@suse.de>
3908 * doc/autoconf.texi (Default Includes): Fix misspelling of
3909 AC_INCLUDES_DEFAULT.
3911 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3913 * configure.ac: Test if sh -n works.
3914 * configure: Regenerate.
3915 * tests/atlocal.in: Store the result here.
3916 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
3917 tools.at, looking in atlocal's ac_cv_sh_n_works instead
3918 of explicitly testing.
3919 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
3920 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
3921 * tests/tools.at (Syntax of the shell scripts): Simplify
3922 using AT_CHECK_SHELL_SYNTAX.
3923 (Syntax of the Perl scripts): Remove definition of
3924 AT_CHECK_PERL_SYNTAX.
3926 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3928 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
3929 stderr to /dev/null.
3930 * bin/autoconf.in: Regenerate.
3931 * bin/wrapper.in: Regenerate.
3933 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
3935 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
3936 Extracted from AS_SHELL_SANITIZE.
3937 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
3939 (AS_SHELL_SANITIZE): Move reinvocation code from
3940 _AS_LINENO_WORKS, use it to find out if shell
3942 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
3944 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
3945 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
3947 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
3948 * bin/autoconf.in: Regenerate.
3949 * tests/wrapper.in: Regenerate.
3950 * tests/tools.at: Test the syntax of tests/autoconf
3951 and tests/testsuite.
3953 2003-11-24 Akim Demaille <akim@epita.fr>
3955 * config/announce-gen (&print_locations, &print_signatures)
3958 No longer rely on Gnus to inline the list of signatures: compute
3961 2003-11-24 Akim Demaille <akim@epita.fr>
3963 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
3964 override some files.
3965 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
3966 From Debian Autoconf 2.58.
3968 2003-11-24 Akim Demaille <akim@epita.fr>
3970 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
3972 From Debian Autoconf 2.58.
3974 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3976 * TODO: Remove already done things. Update the part about finding
3977 tools for the target.
3979 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3981 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
3982 Make wording more consistent.
3983 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3984 Explain the transition better.
3985 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
3986 the transition better.
3988 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3990 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
3991 parameter of AU_DEFUN.
3992 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
3993 (AU_DEFUN): Remove the third parameter, it was not used.
3994 Use AC_DEFUN directly, not AU_DEFINE.
3995 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
3996 the expanded body, consistently with other macros such as AC_USG.
3998 2003-11-17 Paul Eggert <eggert@twinsun.com>
4000 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
4001 into the initial confdefs.h, to work around a bug in NextStep 3.3
4002 patch 3 reported by Eric Sunshine.
4004 2003-11-15 Kevin Ryde <user42@zip.com.au>
4006 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
4007 than $target since the latter is not usual, add guidelines on when to
4008 use or not use the system type.
4010 2003-11-12 Derek Price <derek@ximbiot.com>
4012 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
4013 typo misrepaired by an auto-spellcheck.
4015 2003-11-12 Akim Demaille <akim@epita.fr>
4017 * bin/autoreconf.in (&parse_args): Don't call automake with
4018 --force-missing unless it actually supports it.
4019 From Debian #219336.
4021 2003-11-12 Akim Demaille <akim@epita.fr>
4023 * configure.ac: Bump to 2.59a.
4026 2003-11-06 Akim Demaille <akim@epita.fr>
4030 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
4032 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
4033 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
4034 and ac_abs_top_srcdir are absolute paths.
4035 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
4037 2003-11-05 Akim Demaille <akim@epita.fr>
4039 * configure.ac: Bump to 2.58a.
4041 2003-11-05 Kevin Ryde <user42@zip.com.au>
4043 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
4044 it provokes a warning from makeinfo about looking like a cross
4045 reference in info output.
4047 * doc/autoconf.texi (Function Portability): Add notes on signal
4048 handler return type, as per AC_TYPE_SIGNAL.
4050 2003-11-04 Akim Demaille <akim@epita.fr>
4053 * doc/standards.texi: Update from master.
4055 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
4057 2003-11-04 Akim Demaille <akim@epita.fr>
4059 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
4060 computing the absolute path to d1 in the source hierarchy: it may
4061 not exist at all. So don't cd into it.
4062 From Alexandre Duret-Lutz.
4063 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
4065 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
4066 From Paul Eggert, but named after Perl's IO::Spec->catfile.
4067 * doc/autoconf.texi (Programming in M4sh): Document.
4068 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
4070 2003-11-03 Pavel Roskin <proski@gnu.org>
4072 * doc/autoconf.texi (Generic Structure Checks): Describe
4073 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
4075 2003-10-31 Akim Demaille <akim@epita.fr>
4077 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
4079 * doc/autoconf.texi (Language Choice): Document.
4080 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
4081 the current language is Fortran.
4083 2003-10-31 Akim Demaille <akim@epita.fr>
4085 * bin/autom4te.in (&freeze): Use a less likely warning separator
4086 than `\n\n', so that `\n\n\n' is valid in warnings.
4087 Reported by Steve Huston.
4089 2003-10-28 Akim Demaille <akim@epita.fr>
4091 * Makefile.cfg (local_updates, executable-update): Tweak to be
4092 robust to parallel makes.
4093 Suggested by Alexandre Duret-Lutz.
4095 2003-10-27 Akim Demaille <akim@epita.fr>
4097 * Makefile.cfg (executable-update): New.
4098 (local_updates): Call it.
4100 2003-10-27 Akim Demaille <akim@epita.fr>
4102 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
4103 Don't remove core.* as it may remove valid user files.
4104 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
4105 (AC_FUNC_UTIME_NULL): Likewise.
4107 2003-10-23 Akim Demaille <akim@epita.fr>
4110 * config/config.guess, config/config.sub: Upgrade from masters.
4112 2003-10-23 Akim Demaille <akim@epita.fr>
4114 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
4115 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
4118 2003-10-23 Akim Demaille <akim@epita.fr>
4120 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
4121 Don't forget to remove conftest.err.
4123 2003-10-23 Akim Demaille <akim@epita.fr>
4125 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
4126 same object file in $LIBOBJS.
4127 Reported by Alexandre Duret-Lutz & Derek Robert Price.
4128 * doc/autoconf.texi (Generic Functions): Adjust.
4130 2003-10-20 Paul Eggert <eggert@twinsun.com>
4132 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
4133 Use 'eval', so that the resulting configure scripts work even if
4134 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
4136 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4138 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
4139 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
4140 (_AC_LINK_IFELSE): Check the werror flag.
4141 * doc/autoconf.texi (Generic Compiler Characteristics): Document
4145 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4147 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4148 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
4149 override AC_LINK_IFELSE.
4151 2003-10-15 Paul Eggert <eggert@twinsun.com>
4153 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4154 pdksh 5.2.14. Bug reported by Ralf Corsepius.
4155 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4156 Mention /usr/dt/bin/dtksh on Solaris.
4157 (Shell Substitutions): Warn about $((...)).
4158 (Parentheses): New section.
4160 2003-10-15 Kevin Ryde <user42@zip.com.au>
4162 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4163 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
4165 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
4167 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4170 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
4172 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4173 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4175 2003-10-10 Andreas Schwab <schwab@suse.de>
4177 * bin/autoheader.in: Avoid empty first line in --version and
4179 * bin/ifnames.in: Likewise.
4181 2003-10-09 Paul Eggert <eggert@twinsun.com>
4183 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4184 Issue a more-informative diagnostic.
4185 Problems reported by Eric Sunshine.
4187 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4189 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4190 -mGLOB_options_string stuff for Intel ifc, which can cause
4191 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
4192 pattern-matching instead of grep.
4194 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4196 * doc/autoconf.texi: Document new FC Fortran macros.
4198 2003-10-08 Gary V. Vaughan <gary@gnu.org>
4200 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4201 that future autopoint/aclocal/automake/autoreconf will be able
4202 to trace to find where to install local m4 macros.
4203 * doc/autoconf.texi (Input): Document it.
4206 2003-10-06 Gary V. Vaughan <gary@gnu.org>
4208 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4209 -lcrtbegin.o to list of ignored flags and fix underquoting of
4212 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
4214 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4215 cache variable instead of $G77 to decide whether to include -O2,
4216 since $G77 is specific to Fortran 77.
4218 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4220 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
4221 free" flag. Re-order flags tested into rough order of popularity.
4223 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4225 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
4226 arguments so that it can be used with syntax identical to
4227 AC_PROG_F77, and so that we can more easily decide to
4228 remove/deprecate the DIALECT optional argument in the future if it
4230 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
4231 non-freeform-supporting compilers. Document freeform flags.
4233 2003-10-03 Akim Demaille <akim@epita.fr>
4235 * configure.ac: Look for emacs, not macs.
4236 Reported by Eric Sunshine.
4238 2003-10-03 Akim Demaille <akim@epita.fr>
4240 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
4241 * bin/autoreconf.in (autoreconf_current_directory): Create the
4242 AUX_DIR if needed, for sake of automake --add-missing etc.
4243 Suggested by Alexandre Duret-Lutz.
4245 2003-10-03 Akim Demaille <akim@epita.fr>
4247 * configure.ac: Quotation and formatting changes.
4248 (EMACS): Don't set it if it is not recent enough to support
4252 2003-10-02 Akim Demaille <akim@epita.fr>
4254 * bin/ifnames.in (&scan_file): Skip C++ comments.
4257 2003-10-01 Pavel Roskin <proski@gnu.org>
4259 * doc/autoconf.texi (Particular Structure Checks):
4260 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
4262 2003-10-01 Akim Demaille <akim@epita.fr>
4266 2003-09-30 Paul Eggert <eggert@twinsun.com>
4268 * lib/Autom4te/XFile.pm: Use Errno.
4269 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
4270 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
4272 2003-09-30 Akim Demaille <akim@epita.fr>
4274 * config/announce-gen (&print_news_deltas): Extracted from...
4275 (&print_changelog_deltas): here.
4276 (&news_file): Rename as...
4279 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
4281 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
4282 have been created when invoking the compiler.
4283 * tests/fortran.at (GNU Fortran 77): Quote $G77.
4285 2003-09-29 Akim Demaille <akim@epita.fr>
4289 * config/mkinstalldirs: Upgrade.
4291 2003-09-28 Paul Eggert <eggert@twinsun.com>
4293 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
4294 Problem reported by Lars J. Aas in
4295 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
4296 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
4297 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
4298 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
4300 2003-09-26 Akim Demaille <akim@epita.fr>
4302 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
4303 directory for AC_CONFIG_COMMANDS' first argument exists.
4304 This makes valid the invocation of _AC_SRCPATH that follows.
4305 Reported by Eric Sunshine.
4306 * doc/autoconf.texi (Configuration Commands): Adjust.
4308 2003-09-26 Akim Demaille <akim@epita.fr>
4310 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
4311 Reported by Ralf Corsepius.
4313 2003-09-26 Akim Demaille <akim@epita.fr>
4315 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
4317 Actually, use AU_ALIAS.
4320 2003-09-26 Paul Eggert <eggert@twinsun.com>
4322 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
4323 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
4324 Problem reported by Eric Sunshine in:
4325 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
4327 2003-09-26 Akim Demaille <akim@epita.fr>
4329 The test suite are sometimes assigning timings incorrectly.
4330 Reported by Henk Krus.
4331 Diagnosed by Nicolas Joly.
4333 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
4335 Instead of making AT_help a sequence of assignments to grow
4336 $at_help_all, just make AT_help_all be the growing contents of
4337 $at_help_all, and make a single assignment in...
4339 (at_times_skip): Flip the meaning and rename as...
4341 (AT_INIT): When summarizing the test that ran, remove
4342 $at_times_file after use, and check it is present before trying to
4345 2003-09-25 Akim Demaille <akim@epita.fr>
4349 * bin/Makefile.am (edit): Handle '@configure_input@'.
4350 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
4351 (ifnames): chmod -w.
4352 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
4353 executables, not bin/ executables! Otherwise all the magic needed
4354 to find non installed files is turned off. This caused a failure
4355 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
4356 as found in its environment (sent by tests/autoreconf): pointing
4357 to bin/autom4te that could not find its files.
4358 * tests/mktests.sh: Force the replacement of generated files, for
4359 the sake of "mv" program that are interactive when overwriting a
4361 * config/install-sh: Upgrade from CVS Automake.
4363 2003-09-23 Paul Eggert <eggert@twinsun.com>
4365 * doc/autoconf.texi (Limitations of Builtins): Document test -h
4366 versus test -L issues.
4368 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
4369 Paul Eggert <eggert@twinsun.com>
4371 Trivial change to support GCC's configuration procedure.
4372 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
4373 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
4374 about inconsistency if the preprocessor is set to give errors for
4376 * doc/autoconf.texi (C Compiler Characteristics): Document this.
4378 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
4380 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
4381 and XFile.pm from Automake.
4382 * lib/Autom4te/XFile.pm: Update from Automake.
4384 2003-09-12 Akim Demaille <akim@epita.fr>
4388 2003-09-12 Akim Demaille <akim@epita.fr>
4390 * config/config.guess, config/config.sub, config/missing,
4391 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
4394 2003-09-12 Akim Demaille <akim@epita.fr>
4396 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
4399 2003-09-11 Akim Demaille <akim@epita.fr>
4401 * doc/autoconf.texi (Header Portability): linux/random.h.
4402 From Peter Hendrickson.
4404 2003-09-10 Akim Demaille <akim@epita.fr>
4406 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
4407 willing to edit the output files.
4409 2003-09-10 Akim Demaille <akim@epita.fr>
4411 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
4413 * tests/mktests.sh: Skip AC_FC_SRCEXT.
4414 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
4416 2003-09-09 Akim Demaille <akim@epita.fr>
4418 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
4419 Reported by Gary Vaughan.
4420 * bin/autom4te.in (handle_m4): Likewise.
4422 2003-09-09 Akim Demaille <akim@epita.fr>
4424 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
4427 2003-09-07 Paul Eggert <eggert@twinsun.com>
4429 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
4430 Improve the accuracy of the wording about obsolescence.
4431 From a suggestion by Ian Lance Taylor in
4432 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
4434 2003-09-05 Paul Eggert <eggert@twinsun.com>
4436 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
4437 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
4439 2003-09-04 Akim Demaille <akim@epita.fr>
4441 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
4444 2003-09-04 Akim Demaille <akim@epita.fr>
4446 * bin/autom4te.in: Use &fatal where more appropriate than &error.
4447 (freeze): When exiting, use $exit_code.
4448 * lib/autoconf/fortran.m4: Comment changes.
4450 2003-09-04 Akim Demaille <akim@epita.fr>
4452 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
4454 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
4456 Add support for newer Fortran dialects. The F77 interface is
4457 unchanged, and continues to support Fortran 77. New FC macros
4458 correspond to all the old F77 macros, with output variables FC,
4459 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
4460 available dialect, but older dialects can be specified. There are
4461 new macros AC_FC_SRCEXT to set the source extension, and
4462 AC_FC_FREEFORM to accept free-form source files.
4464 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
4466 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
4467 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
4468 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
4469 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
4470 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
4471 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
4472 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
4473 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
4474 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
4475 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
4476 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
4477 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
4478 AC_FC_SRCEXT, AC_FC_FREEFORM):
4480 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
4481 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
4482 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
4483 Rewrite in terms of the above.
4484 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
4485 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
4486 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
4487 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
4489 2003-09-02 Paul Eggert <eggert@twinsun.com>
4491 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
4492 Document problems with timestamp resolution that 'make', 'cp -p', and
4495 2003-08-27 Akim Demaille <akim@epita.fr>
4497 * tests/m4sugar.at (cross_warning): Make sure to enable the
4498 output, so that we can track spurious m4sugar output.
4499 * tests/local.at: Require 2.57.
4500 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
4501 are defaulted by AT_CHECK anyway.
4502 Use AT_CHECK_AUTOM4TE.
4503 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
4506 2003-08-27 Akim Demaille <akim@epita.fr>
4508 * bin/autoheader.in: Issue the "Using auxiliary..." message only
4509 when -Wobsolete is set.
4510 Set it on by default.
4511 Suggested by Klee Dienes.
4513 2003-08-27 Akim Demaille <akim@epita.fr>
4515 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
4519 2003-08-26 Akim Demaille <akim@epita.fr>
4521 * doc/autoconf.texi (Output): Make clear that one can run code
4524 2003-08-25 Akim Demaille <akim@epita.fr>
4526 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
4529 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
4531 * bin/autoreconf.in (parse_args): Do not pass --no-force to
4532 Automake versions prior to 1.8.
4534 2003-08-25 Akim Demaille <akim@epita.fr>
4536 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
4539 2003-08-24 Akim Demaille <akim@epita.fr>
4541 * configure.ac: Bump to 2.57c.
4543 2003-08-22 Akim Demaille <akim@epita.fr>
4547 * Makefile.cfg (local-checks-to-skip): New.
4548 * Makefile.maint (local-check): Rename as...
4549 (local-checks-available): this.
4552 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
4553 * configure.ac: Require Automake 1.7.6.
4555 2003-08-22 Akim Demaille <akim@epita.fr>
4557 Output stack traces in warnings.
4559 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
4560 Replace the former...
4561 (m4_warn): Pass the call stack to _m4_warn.
4562 * bin/autom4te.in: Adjust to output the call stack.
4563 * tests/m4sugar.at (m4@&t@_warn): Adjust.
4565 2003-08-22 Akim Demaille <akim@epita.fr>
4567 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
4568 * bin/autom4te.in: Adjust.
4570 2003-08-21 Akim Demaille <akim@epita.fr>
4572 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
4574 (&getopt): Adjust the note and verb channels, depending upon
4576 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
4577 * bin/autoupdate.in: Adjust.
4578 Use &verb, not &verbose.
4580 2003-08-21 Akim Demaille <akim@epita.fr>
4582 * bin/autoheader.in (&parse_args): Use &parse_warnings and
4584 ($help): Use Autom4te::ChannelDefs::usage.
4585 * bin/autoscan.in: Use Autom4te::ChannelDefs.
4586 * lib/Autom4te/General.pm: Don't export error: you don't own it.
4588 2003-08-21 Akim Demaille <akim@epita.fr>
4590 First stab at preserving warnings between calls to autom4te,
4591 including when the cache is used.
4593 There are still several issues: (i) there are too many runs of m4
4594 (one for include, one for warnings, and some more), (ii) warnings
4595 spreading on several lines are not handled gracefully, (iii) the
4596 code meant to have the call stack display for errors does not work
4597 (its handling should move from m4 to autom4te).
4599 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
4601 (@preselect): Add m4_warn.
4602 ($exit_status): Remove, use $exit_code.
4603 ($help): Use Autom4te::ChannelDefs::usage.
4604 (&handle_m4): No longer define the m4_warnings.
4605 At each run, extract and report the warnings.
4606 Always cache the result, including if the exit status is on
4607 failure, since if nothing changes, we should result in the same
4608 failure, hence we can use the cache.
4609 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
4610 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
4612 (m4_warn): Redefine as a do-nothing: it is its invocation that
4613 matters, as warnings are now reported via traces.
4614 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
4615 the contents of m4_warn: make it _call_ m4_warn, so that tracing
4616 the latter reveals calls to the former.
4620 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
4622 2003-08-21 Akim Demaille <akim@epita.fr>
4624 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
4627 2003-08-21 Akim Demaille <akim@epita.fr>
4629 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
4631 * lib/Autom4te/ChannelDefs.pm: Doc typos.
4632 (&parse_warnings): Accept a list of warning requests.
4633 (&usage): Return a string, not a side effect.
4634 (cross): New warning category.
4636 2003-08-21 Akim Demaille <akim@epita.fr>
4638 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
4639 (&require_configure_ac): Accept an optional directory argument.
4640 ($configure_ac): Remove.
4641 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
4643 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
4644 * bin/autoscan.in: Adjust.
4646 2003-08-20 Akim Demaille <akim@epita.fr>
4648 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
4649 Reported by Alexandre Duret-Lutz.
4651 2003-08-20 Akim Demaille <akim@epita.fr>
4653 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
4654 * bin/autom4te: Adjust.
4655 In particular, be Autoconf tools are really silent when properly
4656 working, bind the verbosity of the 'note' channel to $verbose.
4657 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
4658 (&xsystem, &contents): Remove, since they are exported by...
4659 * lib/Autom4te/FileUtils.pm: this.
4661 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
4662 * lib/Autom4te/FileUtils.pm: here.
4664 2003-08-20 Akim Demaille <akim@epita.fr>
4666 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
4667 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
4670 2003-08-20 Akim Demaille <akim@epita.fr>
4672 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
4673 (autom4te-update): New.
4674 * Makefile.cfg (update): Bind autom4te-update.
4676 2003-08-19 Derek Price <derek@ximbiot.com>
4678 * lib/autotest/general.m4: Comment various HELP_* diversions.
4679 (PARSE_ARGS_BEGIN): New section for option parsing related
4681 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
4682 package specific options and associated help.
4684 2003-08-19 Akim Demaille <akim@epita.fr>
4686 * config/announce-gen, Makefile.cfg: New.
4687 * Makefile.am: Adjust.
4688 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
4690 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4692 * lib/autom4te.in (Automake-preselections): Preselect
4693 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
4696 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4698 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
4699 (Autoconf-without-aclocal-m4): ... this new language.
4700 * doc/autoconf.texi (autom4te Invocation): Mention
4701 Autoconf-without-aclocal-m4.
4703 2003-08-18 Derek Price <derek@ximbiot.com>
4705 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
4706 RUN-IF-PASS optional arguments.
4708 2003-08-18 Derek Price <derek@ximbiot.com>
4710 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
4712 2003-08-16 Derek Price <derek@ximbiot.com>
4714 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
4715 STDOUT & STDERR arguments.
4717 2003-08-14 Derek Price <derek@ximbiot.com>
4719 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
4720 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
4721 shorter column three. Add DESCRIPTION to log file content.
4723 2003-08-13 Derek Price <derek@ximbiot.com>
4725 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
4728 2003-08-12 Derek Price <derek@ximbiot.com>
4730 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
4731 (AT_CHECK_NOESCAPE): Move core functionality to...
4732 (_AT_CHECK): ...this new macro.
4734 2003-08-07 Derek Price <derek@ximbiot.com>
4736 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
4737 (AT_CHECK_NOESCAPE): ...to this new macro.
4739 2003-07-31 Paul Eggert <eggert@twinsun.com>
4741 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
4742 in Bash 2.01. Problem reported by Brian Gough in
4743 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
4745 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
4747 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
4748 -lcrt1.o, for OS X. (trivial change)
4750 2003-07-07 Paul Eggert <eggert@twinsun.com>
4752 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
4753 inside '#ifndef __cplusplus'. Problem reported by
4756 2003-07-06 Bill Clarke <llib@computer.org>
4758 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
4759 'long', not 'int', for benefit of Sun's recent C++ compilers
4760 (trivial change). See:
4761 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
4762 (This really should be 'intptr_t', not 'long', but that would
4765 2003-06-25 Akim Demaille <akim@epita.fr>
4767 * lib/Makefile.am (autom4te.cfg): Make it read only.
4768 Depend on Makefile since it contains substitutions.
4770 * lib/autom4te.in (args): Add local.at? for Autotest args.
4771 This change was made on autom4te.cfg which is generated.
4772 Reported by Raja R. Harinath.
4774 2003-06-25 Akim Demaille <akim@epita.fr>
4776 * doc/autoconf.texi (Header Portability): sys/mount.h.
4777 From Gareth McCaughan.
4779 2003-06-23 Akim Demaille <akim@epita.fr>
4781 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
4782 not all of them. This fixes 1. the fact that when testing
4783 Autoconf there are many many config.log, 2. the incorrect use of
4784 top_srcdir to find config.log.
4785 Don't mix the detailed output of failed test with the summary of
4786 failures. Rather, append detailed log afterwards.
4788 2003-06-23 Akim Demaille <akim@epita.fr>
4790 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
4791 always run: output config.log on $at_group_log.
4793 2003-06-23 Akim Demaille <akim@epita.fr>
4795 * tests/torture.at (#define header templates): Don't use quotes in
4796 C++ comments as it puzzles Emacs' sh font-lock-mode.
4798 2003-06-23 Akim Demaille <akim@epita.fr>
4800 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
4801 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
4802 * tests/atspecific.m4: Rename as...
4803 * tests/local.at: This.
4804 * tests/suite.at: Move the globals into...
4805 * tests/local.at: here.
4806 * tests/Makefile.am: Adjust.
4807 * doc/autoconf.texi (testsuite Scripts): Adjust.
4809 2003-06-21 Kevin Ryde <user42@zip.com.au>
4811 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
4812 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
4813 ensuring we add -std1 for full-ANSI.
4815 * doc/autoconf.texi (hdrindex): New macro.
4816 Add index entries for portability of various standard header files.
4818 2003-06-20 Akim Demaille <akim@epita.fr>
4820 * configure.ac: Bump to 2.57b.
4822 2003-06-20 Akim Demaille <akim@epita.fr>
4826 2003-06-20 Akim Demaille <akim@epita.fr>
4828 * bin/autom4te.in: Don't rely on $HOME being defined.
4829 Reported by Marc Espie as PR/233.
4831 2003-06-20 Akim Demaille <akim@epita.fr>
4833 * lib/autotest/general.m4: Use at_times_file only if used.
4836 2003-06-20 Akim Demaille <akim@epita.fr>
4838 * config/config.guess, config/config.sub, config/elisp-comp,
4839 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
4840 Update from masters.
4842 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
4844 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
4845 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
4846 (TEST_SCRIPT): New diversion.
4847 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
4848 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
4849 (AT_INIT): Support for expected failures.
4851 2003-06-02 Akim Demaille <akim@epita.fr>
4853 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
4855 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
4856 Autoconf nor Automake.
4857 (&contents): New, from Automake.
4860 2003-05-28 Paul Eggert <eggert@twinsun.com>
4862 * NEWS, doc/autoconf.texi (Particular Functions),
4863 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
4864 is the inverse of localtime.
4866 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
4868 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
4869 (handle_exec_errors): New function. Work around $! being
4870 altered by WEXITSTATUS.
4871 (xqx, xsystem): Use handle_exec_errors.
4873 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
4875 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
4876 Do not call `_exit()', simply modify `$?'.
4877 (xsystem): Reset $! before running system, and check it afterward.
4878 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
4879 63 for version mismatches.
4881 2003-05-23 Akim Demaille <akim@epita.fr>
4883 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
4884 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
4885 the middle of a line).
4886 * lib/m4sugar/m4sugar.m4: Likewise.
4887 Remove useless spaces in comments.
4889 2003-05-23 Akim Demaille <akim@epita.fr>
4891 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
4892 exit 63, so that we (or Automake's "missing") can tell the
4893 difference with a plain failure.
4894 * doc/autoconf.texi (Notices): Adjust.
4896 2003-05-23 Akim Demaille <akim@epita.fr>
4898 * Makefile.am, bin/Makefile.am, config/Makefile.am,
4899 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
4900 White spaces cleanup.
4902 2003-05-22 Jim Meyering <jim@meyering.net>
4903 Paul Eggert <eggert@twinsun.com>
4905 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4906 Remove `#include <stdlib.h>' from the list; we should never
4907 make confdefs.h include <stdlib.h> or <cstdlib>, because the
4908 resulting namespace pollution would cause other tests to fail.
4909 Configure scripts run with some older versions of g++ and HP's
4910 aCC would fail due to such an #include. Problems reported by
4911 Matthew Mueller in <http://bugs.debian.org/120704> and by
4913 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
4914 In the test, use the test declaration before including <stdlib.h>,
4915 as that's closer to how it'll be used.
4917 2003-05-23 Akim Demaille <akim@epita.fr>
4919 * doc/autoconf.texi (Header Portability): ucred.h.
4922 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4924 Overhaul Autotest's logging: generate separate log files
4925 in testsuite.dir/NNN/testsuite.log, and append them to
4926 testsuite.log instead of re-running the test verbosely.
4928 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
4929 file descriptor, write 0 to at_status_file instead of setting
4930 at_status=0, initialize some new variables (at_status_file,
4931 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
4932 to rerun the tests, instead append the at_group_log to the
4933 at_suite_log when a test fails.
4934 (AT_SETUP): pipe the test case's output into at_tee_pipe,
4935 with the AS_MESSAGE_LOG_FD redirected to stdout.
4936 (AT_CLEANUP): save the output status in $at_status_file
4937 and restore it, redirect the AS_MESSAGE_LOG_FD back to
4939 (AT_CHECK): since tests are run with a redirected stdout,
4940 and used to be re-run in verbose mode, turn some $at_verbose
4941 into echo, and don't redirect the output of testing stdout
4944 * lib/autotest/autoconf.texi (testsuite Scripts): Update
4945 the name of the debugging directory and information about
4948 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4950 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
4953 2003-05-22 Akim Demaille <akim@epita.fr>
4955 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
4956 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
4957 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
4958 * lib/autoconf/status.m4: Fix and adjust copyright notices.
4960 2003-05-22 Akim Demaille <akim@epita.fr>
4962 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
4963 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
4964 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4965 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
4966 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4967 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4968 * lib/autoconf/status.m4, lib/autoconf/types.m4,
4969 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
4970 * tests/atspecific.m4, tests/base.at, tests/compile.at,
4971 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
4972 * tests/tools.at, tests/torture.at:
4973 Whitespace clean up.
4974 Suggested by Jim Meyering.
4976 2003-05-22 Akim Demaille <akim@epita.fr>
4978 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
4979 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
4980 Reported by Jim Meyering.
4982 2003-05-22 Akim Demaille <akim@epita.fr>
4984 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
4985 Add AC_HELP_STRING to the obsolete macros section.
4987 Use '@.' for sentences that ended in a capital letter.
4990 2003-05-22 Akim Demaille <akim@epita.fr>
4992 * config/config.guess, config/config.sub, config/elisp-comp,
4993 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
4994 * config/texinfo.tex, doc/standards.texi: Update from masters.
4996 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
4998 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
5001 2003-05-21 Akim Demaille <akim@epita.fr>
5003 * bin/autoupdate.in ($m4): Fix quotation.
5004 Reported by Martin Mokrejs.
5006 2003-05-19 Paul Eggert <eggert@twinsun.com>
5008 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
5009 Remove non-ASCII characters.
5011 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
5013 * tests/semantics.at (AC_SEARCH_LIBS): New test.
5014 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
5015 AC_CHECK_HEADERS_NEW): New tests.
5017 2003-05-17 Akim Demaille <akim@epita.fr>
5019 * lib/autoconf/functions.m4: Use the default includes so that
5020 memcmp be declared before being tested.
5021 Reported by Sander Niemeijer.
5022 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
5023 * doc/autoconf.texi (Default Includes): Document
5024 AC_INCLUDES_DEFAULT.
5026 2003-05-17 Akim Demaille <akim@epita.fr>
5028 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
5029 * doc/autoconf.texi (Obsolete Macros): Adjust.
5030 Reported by Werner LEMBERG and Debian Bug 190886.
5032 2003-05-16 Akim Demaille <akim@epita.fr>
5034 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
5035 user name space clashes.
5036 Reported by Bruno Haible.
5038 2003-05-16 Akim Demaille <akim@epita.fr>
5040 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5041 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
5042 them uniform, and more robust to Perl special characters.
5043 Reported by Martin Mokrejs.
5045 2003-05-14 Akim Demaille <akim@epita.fr>
5047 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
5049 2003-05-14 Akim Demaille <akim@epita.fr>
5051 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
5054 2003-05-12 Akim Demaille <akim@epita.fr>
5056 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
5058 From Matthias Andree.
5060 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
5062 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
5065 2003-05-06 Akim Demaille <akim@epita.fr>
5067 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
5068 longer updates aclocal.m4 if useless, (ii) if a file m4_included
5069 by aclocal.m4 is changed it might require the importing of another
5070 m4 extension file, i.e., aclocal must be run.
5072 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
5073 (&parse_args): Use --force with aclocal if required and supported.
5074 (&autoreconf_current_directory): Use &run_aclocal.
5076 2003-05-06 Akim Demaille <akim@epita.fr>
5078 Lock autom4te's cache.
5080 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
5081 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
5082 argument instead of a file name, so that the request file remains
5083 open during the whole autom4te run.
5084 ($icache_file): New.
5085 (&freeze): Lock the $icache_file.
5087 2003-04-29 Derek Price <derek@ximbiot.com>
5089 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
5090 seperator with m4_append_uniq(). It doesn't work.
5091 (AT_CLEANUP): Add `;' to end of at_help_all.
5092 (AT_INIT): Allow --keywords to be specified more than once. When
5093 grepping $at_help_all for keywords, use the field and keyword
5094 seperators to ensure a complete keyword match. Alter at_prev handling
5095 to support the new --keywords behavior.
5097 2003-04-27 Karl Berry <karl@freefriends.org>
5099 * doc/autoconf.texi: Make the dir entries in the autoconf manual
5100 align better with others. I also made some of the individual
5101 entries on one line, for brevity and to make it easier for me to
5102 sort my dir-example file in the Texinfo distribution :).
5104 2003-04-12 Jim Meyering <jim@meyering.net>
5106 * NEWS: Mention the new macro.
5107 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
5108 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
5109 * tests/c.at: Test AC_C_RESTRICT.
5110 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
5112 2003-04-08 Akim Demaille <akim@epita.fr>
5114 * bin/ifnames.in: Skip C++ comments.
5117 2003-04-08 Akim Demaille <akim@epita.fr>
5119 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
5120 From Ilya Zakharevich.
5122 2003-04-08 Akim Demaille <akim@epita.fr>
5124 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
5127 2003-04-01 Derek Price <derek@ximbiot.com>
5129 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
5130 from Akim's checkin of 2003-03-29.
5132 2003-04-01 Derek Price <derek@ximbiot.com>
5134 * tests/torture.at (Configuring subdirectories): Add missing
5135 close-quote for Akim's change from 2003-03-28.
5137 2003-04-01 Akim Demaille <akim@epita.fr>
5139 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
5140 (AC, AT, MS): these.
5141 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5144 * doc/Makefile.am (CLEANFILES): Adjust.
5145 (TEXI2DVI): Make it --batch.
5147 2003-03-31 Derek Price <derek@ximbiot.com>
5149 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5150 which removed the main loop.
5151 Thanks to Akim Demaille.
5153 2003-03-29 Akim Demaille <akim@epita.fr>
5155 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5157 From Ilya Zakharevich.
5159 2003-03-29 Akim Demaille <akim@epita.fr>
5161 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5162 documentation to read is Autoconf's.
5163 Suggested by Paul Eggert.
5165 2003-03-28 Akim Demaille <akim@epita.fr>
5167 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5168 reading the section "Present But Cannot Be Compiled" when the
5169 header causes problems.
5171 2003-03-28 Akim Demaille <akim@epita.fr>
5173 * tests/torture.at (Configuring subdirectories): Require aclocal
5174 1.4, otherwise the test fails, as it does support configure.ac.
5175 This fixes the "test 40 failed" bug reports.
5177 2003-03-28 Akim Demaille <akim@epita.fr>
5179 * doc/autoconf.texi (C Compiler): `#line' portability.
5180 From Paul Eggert and Nelson H. F. Beebe.
5182 2003-03-27 Derek Price <derek@ximbiot.com>
5184 * lib/autotest/general.m4: Eliminate main loop and reorganize test
5185 layout in order to allow scripting around test groups.
5187 2003-03-27 Derek Price <derek@ximbiot.com>
5189 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5190 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5191 use new diversions in preparation for accepting new arguments and
5192 allowing scripting around tests.
5193 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5195 2003-03-26 Derek Price <derek@ximbiot.com>
5197 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5198 obsolete AC_HELP_STRING.
5199 (AC_HELP_STRING): AU_DEFUN to...
5200 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5201 * tests/m4sh.at (AS_HELP_STRING): New test.
5203 * tests/acgeneral.at: Regenerated.
5205 2003-03-26 Derek Price <derek@ximbiot.com>
5207 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5208 sense. Verbosify the diversion definitions comment.
5210 2003-03-26 Derek Price <derek@ximbiot.com>
5212 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5215 2003-03-21 Eric Siegerman <eric_97@pobox.com>
5217 * doc/autoconf.texi (Present But Cannot Be Compiled):
5218 Grammar fixes and minor rewording. (trivial change)
5220 2003-03-06 Paul Eggert <eggert@twinsun.com>
5222 Work around a problem noted by Nelson H. F. Beebe with coreutils
5223 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
5224 2002/05/09) rejects '#line 32768 "configure"' because the line
5226 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
5228 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
5229 * doc/autoconf.texi (Generating Sources): Document this.
5231 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
5233 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
5234 file name for the m4 program, when it has an "exe" file extension.
5235 DJGPP's error messages include the error code in brackets -
5236 remove the error code during normalization.
5238 2003-02-28 Akim Demaille <akim@epita.fr>
5240 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
5242 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
5244 * doc/autoconf.texi (Limitations of Make): Remove the section
5245 about `$<' in inference rules, it was a bogus interpretation of
5246 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
5247 Tru64 make in the "target lookup" section.
5248 (Automake): Automake 1.5+ no longer requires special tools to be
5249 present on the developer's host.
5251 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
5253 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
5254 to a shell that can handle redirection or quoting correctly.
5255 Override SHELL with the shell detected by configure.
5256 Use of $^O suggested by Tim van Holder.
5257 * bin/autom4te.in (BEGIN): Likewise.
5258 * bin/autoreconf.in (BEGIN): Likewise.
5259 * bin/autoscan.in (BEGIN): Likewise.
5260 * bin/autoupdate.in (BEGIN): Likewise.
5261 * bin/ifnames.in (BEGIN): Likewise.
5263 * bin/ifnames.in: Add final newline to help and version messages.
5265 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
5266 to cope with DOS-style absolute paths, when constructing
5269 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
5270 When constructing paths with IFS=:, quote the path. If we're
5271 constructing a DOS-style absolute path, we don't want to split it
5274 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
5277 2003-02-25 Pavel Roskin <proski@gnu.org>
5279 * bin/autoheader.in: Add missing newline when printing
5280 suggestion how change AC_DEFINE call.
5282 2003-02-24 Paul Eggert <eggert@twinsun.com>
5284 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
5285 2002-09-01 patch by replacing "test -n" with "test -z".
5286 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
5287 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
5289 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
5290 to fix a mismatch between example and discussion.
5292 2003-02-24 Kevin Ryde <user42@zip.com.au>
5294 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
5295 format starting with "-".
5297 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5299 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
5300 is not portable inside Makefile.
5302 2003-02-20 Akim Demaille <akim@epita.fr>
5304 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
5305 compiler says yeah, but preproc says nope, compiler is right.
5306 Conversely, prompt the reader to send a bug report to the
5307 maintainers of the package, not of Autoconf.
5309 2003-02-20 Klee Dienes <kdienes@apple.com>
5311 * bin/autoreconf.in (autoreconf_current_directory): Properly
5312 handle an empty aclocal.m4.
5314 2003-02-20 Akim Demaille <akim@epita.fr>
5316 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
5320 2002-12-23 Paul Eggert <eggert@twinsun.com>
5322 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
5323 innocuous variant befor including <limits.h> or <assert.h>. This
5324 works around a bug reported by Albert Chin: HP-UX 11i
5325 (and earlier versions) have a <limits.h> that declares
5326 gettimeofday and many other functions.
5328 2002-12-03 Paul Eggert <eggert@twinsun.com>
5332 * NEWS, configure.ac: Update version.
5334 * doc/fdl.texi: Upgrade to FDL version 1.2.
5336 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
5337 nontrivially in main's body, so that f's external declaration is
5338 not optimized away in AIX. This should fix the bug reported by
5340 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
5342 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
5343 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
5344 defined, to support freestanding compilers. This should fix the
5345 bug reported by Momchil Velkov in
5346 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
5348 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
5349 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
5350 obsolete AC_CHECK_TYPE. The missing empty arg was reported
5351 by Simon Josefsson in
5352 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
5354 * Makefile.maint (www-gnu): New macro.
5355 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
5356 the location has moved.
5358 2002-12-02 Martin Frydl <martin@systinet.com>
5360 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
5361 \(.*\) match is too long and there is something more to be checked.
5362 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
5364 2002-11-15 Akim Demaille <akim@epita.fr>
5368 * config/install-sh: chmod +x.
5370 * config/move-if-change: Indenting changes.
5371 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
5372 * configure.ac (AM_INIT_AUTOMAKE): here.
5375 2002-11-14 Akim Demaille <akim@epita.fr>
5379 * config/config.guess, config/config.sub, config/install-sh:
5380 Update from masters.
5382 2002-11-14 Akim Demaille <akim@epita.fr>
5384 * Makefile.maint: Sync with Bison, i.e.:
5385 (po-check): Scan .l and .y files instead of the
5386 .c and the .h files that they generate. This fixes the bug
5387 reported by Tim Van Holder in:
5388 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
5389 Look for N_ as well as for _. Try to avoid matching #define for
5393 2002-11-14 Akim Demaille <akim@epita.fr>
5395 * doc/autoconf.texi (C Compiler): Compiling several files at once.
5396 From Paul Eggert and Albert Chin-A-Young.
5398 2002-11-14 Akim Demaille <akim@epita.fr>
5400 * doc/autoconf.texi (C Compiler): Solitary backslashes.
5401 From Paul Eggert and Albert Chin-A-Young.
5403 2002-11-14 Kevin Ryde <user42@zip.com.au>
5405 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
5406 than assigning in main, to avoid HP cc +O3 optimizing it away.
5408 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
5410 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
5411 option. Process --recheck after parsing all options. Pass -q
5412 option to configure on --recheck.
5413 (AC_OUTPUT): Pass -q from configure to config.status.
5414 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
5415 arguments to record.
5416 * doc/autoconf.texi (config.status Invocation): Document
5417 config.status -q option.
5419 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
5421 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
5422 Makefile.in if Makefile.am exists.
5423 (output): Strip `.am' from Makefiles. Don't
5424 output AC_CONFIG_FILES if no Makefiles were found.
5426 2002-11-07 Akim Demaille <akim@epita.fr>
5428 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
5429 (local_updates): New.
5430 * Makefile.maint: Update, from CVS Bison.
5431 (local_updates): New.
5433 2002-11-06 Akim Demaille <akim@epita.fr>
5435 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
5436 declaration in extern "C" too.
5437 Reported by Roberto Bagnara.
5439 2002-11-06 Akim Demaille <akim@epita.fr>
5441 * tests/torture.at (Configuring subdirectories): Don't use grep
5443 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
5444 Reported by Ezra Peisach.
5446 2002-11-05 Akim Demaille <akim@epita.fr>
5448 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
5450 We _have_ to stop using the old compatibility scheme that tried to
5451 avoid useless backslashes because Libtool 1.4.3 contains a
5452 AC_DEFINE([error_t], [int],
5453 [Define to a type to use for \`error_t' if it is not
5454 otherwise available.])
5455 We _have_ to quote the single quote and backslashes with \. The
5456 old compatibility scheme saw that ` was backslashed, and therefore
5457 did not quote the single quote. Hence before this patch, Autoconf
5458 was not compatible with Libtool.
5460 2002-11-04 Paul Eggert <eggert@twinsun.com>
5462 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
5463 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
5464 LC_NAME, LC_PAPER, LC_TELEPHONE.
5465 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
5467 2002-11-04 Akim Demaille <akim@epita.fr>
5471 * Makefile.maint (update, cvs-update, po-update, do-po-update):
5473 * config/texinfo.tex: Update.
5475 2002-11-03 Akim Demaille <akim@epita.fr>
5477 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
5479 (&autoreconf): here.
5480 ($help, $make, &parse_args, &autoreconf_current_directory):
5482 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5484 2002-10-31 Bruno Haible <bruno@clisp.org>
5486 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
5487 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
5488 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
5489 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
5490 to ac_cv_func_realloc_0_nonnull.
5491 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
5493 2002-10-31 Akim Demaille <akim@epita.fr>
5495 The test suite was no longer checking for trailing envvars and files.
5497 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
5498 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
5500 2002-10-31 Akim Demaille <akim@epita.fr>
5502 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
5503 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
5504 Make variable, not a shell variable.
5505 Suggested by Bruno Haible.
5507 2002-10-31 Akim Demaille <akim@epita.fr>
5509 * bin/autom4te.in (load_configuration): Reject #args out of any
5512 2002-10-31 Akim Demaille <akim@epita.fr>
5514 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
5515 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
5516 (_AC_RUN_IFELSE): Use it.
5517 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
5518 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
5519 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
5522 2002-10-30 Akim Demaille <akim@epita.fr>
5524 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
5525 * doc/autoconf.texi (autom4te Invocation): Adjust.
5526 Suggested by Tim van Holder.
5528 2002-10-29 Paul Eggert <eggert@twinsun.com>
5530 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
5531 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
5532 Problem reported by Bruno Haible.
5534 2002-10-29 Akim Demaille <akim@epita.fr>
5536 * doc/autoconf.texi (Header Templates): Put also in words what the
5537 pictures says to assist free style readers.
5538 (Customizing autom4te): s/--cache=/--cache /.
5540 2002-10-29 Akim Demaille <akim@epita.fr>
5542 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
5544 sparc_address_test returns void.
5545 Use it with an argument, as prototyped.
5548 2002-10-29 Akim Demaille <akim@epita.fr>
5550 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
5551 configure.in, not configure.ac.
5552 Reported by Bruno Haible.
5554 2002-10-29 Akim Demaille <akim@epita.fr>
5556 * tests/torture.at (Deep Package): New test.
5557 (Configuring subdirectories): Don't use a testSubDir as Autotest
5560 2002-10-29 Akim Demaille <akim@epita.fr>
5562 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
5563 * doc/autoconf.texi (Invoking autom4te): Rename as...
5564 (autom4te Invocation): this, for consistency with the other nodes.
5566 2002-10-29 Akim Demaille <akim@epita.fr>
5568 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
5569 Reported by Ralf Corsepius.
5571 2002-10-29 Akim Demaille <akim@epita.fr>
5573 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5574 characters is a back as an `obsolete' warning now.
5575 Reported by Ralf Corsepius.
5577 2002-10-28 Akim Demaille <akim@epita.fr>
5579 * configure.ac: Bump to 2.54c.
5581 2002-10-28 Akim Demaille <akim@epita.fr>
5585 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
5587 2002-10-28 Akim Demaille <akim@epita.fr>
5589 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
5590 m4 executable names, and different GNU M4 version.
5591 Reported by Ezra Peisach and Paul Jarc.
5593 2002-10-27 Akim Demaille <akim@epita.fr>
5595 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
5598 2002-10-27 Akim Demaille <akim@epita.fr>
5600 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
5601 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
5602 Die when a simple Fortran program cannot be compiled.
5603 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
5604 Issue a warning if no function is given.
5606 2002-10-27 Akim Demaille <akim@epita.fr>
5608 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
5609 Move the documentation of AC_TRY_RUN to...
5610 (Obsolete Macros): here.
5611 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
5612 (autoconf Invocation): Remove the duplicates with `invoking
5614 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
5615 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5617 2002-10-27 Akim Demaille <akim@epita.fr>
5619 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
5620 and AC_LANG_FUNC_LINK_TRY.
5621 (Examining Libraries): Rename as...
5622 (Running the Linker): this.
5623 Document AC_LINK_IFELSE.
5624 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
5625 (Obsolete Macros): here.
5626 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
5627 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
5628 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
5629 * lib/autoconf/headers.m4 (AC_USG): Likewise.
5631 2002-10-27 Akim Demaille <akim@epita.fr>
5633 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
5635 More `check config.log' messages.
5637 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
5638 * doc/autoconf.texi (Printing Messages): Document it.
5639 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
5641 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
5642 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
5643 (_AC_COMPILER_OBJEXT): Likewise.
5644 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
5645 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
5647 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
5650 Deprecate macros with unusual interfaces.
5652 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
5653 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
5655 Document the new ones, and proper style.
5657 * doc/autoconf.texi (Generating Sources): New.
5658 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
5659 (Examining Declarations): Rename as...
5660 (Running the Preprocessor): this.
5661 Document AC_PREPROC_IFELSE.
5662 (Examining Syntax): Rename as...
5663 (Running the Compiler): this.
5664 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
5665 (Obsolete Macros): Move the definition of AC_TRY_CPP and
5666 AC_TRY_COMPILE here.
5668 2002-10-27 Akim Demaille <akim@epita.fr>
5670 Move sections around.
5672 * doc/autoconf.texi (Customizing autom4te): Remove a lost
5674 Reported by Burno Haible.
5675 (Language Choice): Now the first section of...
5676 (Writing Tests): this section.
5677 Make the introduction less C-centric.
5678 (Guidelines, Test Functions): Move to...
5679 (Writing Test Programs): this new section.
5680 (Test Programs): Merge into...
5683 2002-10-27 Akim Demaille <akim@epita.fr>
5685 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
5686 autom4te.in that resulted in the need for two `make' runs.
5688 2002-10-27 Akim Demaille <akim@epita.fr>
5690 * configure.ac: Bump to 2.54b.
5692 2002-10-25 Akim Demaille <akim@epita.fr>
5696 * Makefile.maint: Update from the Coreutils.
5697 (AMTAR): Remove, obsolete.
5698 (automake_repo): Update to redhat.com.
5700 Adjust to the fact that ansi2knr is now hosted by Automake.
5701 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
5702 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
5703 Update from masters.
5704 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
5705 autoscan.pre is not to be installed, and autoscan.list is not to
5707 (CLEANFILES): Add autoscan.list.
5708 (autoscan.list): Disable the cache.
5709 * bin/Makefile.am: Include freeze.mk.
5711 2002-10-25 Akim Demaille <akim@epita.fr>
5713 * bin/autom4te.in (&load_configuration): Take the file as
5715 (&parse_args): Handle -C, --cache.
5717 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
5718 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
5719 * doc/autoconf.texi (Invoking autom4te): Document --cache.
5720 Now a subsection of...
5721 (Using autom4te): This new section.
5722 (Customizing autom4te): New.
5723 (autom4te.cache): Adjust.
5725 2002-10-25 Akim Demaille <akim@epita.fr>
5727 * doc/autoconf.texi (Generic Headers): More information on how to
5728 use AC_CHECK_HEADERS.
5730 2002-10-25 Akim Demaille <akim@epita.fr>
5732 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
5735 2002-10-25 Akim Demaille <akim@epita.fr>
5737 * bin/autoscan.in (output): Output AC_PREREQ.
5738 (%needed_macros): Add AC_PREREQ so that configure.ac without one
5741 2002-10-23 Akim Demaille <akim@epita.fr>
5743 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
5746 2002-10-23 Akim Demaille <akim@epita.fr>
5748 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
5749 Reported by Peter Eisentraut.
5751 2002-10-23 Akim Demaille <akim@epita.fr>
5753 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
5756 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
5757 Eggert's recommandations.
5759 2002-10-22 Akim Demaille <akim@epita.fr>
5761 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
5762 Bison, by Paul Eggert.
5763 * doc/autoconf.texi (Particular Headers): Document it.
5765 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
5767 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
5768 `$ac_configure_args'.
5770 2002-10-22 Akim Demaille <akim@epita.fr>
5772 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
5773 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
5776 2002-10-22 Akim Demaille <akim@epita.fr>
5778 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
5780 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5781 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
5782 (_AC_CHECK_HEADER_NEW): Rename as...
5783 (AC_CHECK_HEADER): this.
5785 2002-10-22 Akim Demaille <akim@epita.fr>
5787 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
5788 words about HP-UX cmp: it was actually a user-written cmp.
5790 2002-10-22 Akim Demaille <akim@epita.fr>
5792 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
5794 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5795 Quote for Perl '' strings, not "".
5796 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
5799 2002-10-22 Akim Demaille <akim@epita.fr>
5801 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5802 characters is a syntax warning now.
5803 (_AS_QUOTE): Accept $2 as list of characters to quote.
5804 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5805 Quote for Perl, not sh.
5806 * bin/autoheader.in: When $debug, report the file which is
5808 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
5809 `@', to tickle Perl's lists.
5810 Reported by Carlos Velasco.
5812 2002-10-18 Akim Demaille <akim@epita.fr>
5814 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
5815 missing included files _are_ errors.
5816 Thanks to Alexandre Duret-Lutz.
5817 * tests/tools.at (autom4te cache): Adjust.
5818 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
5819 (AT_CHECK_M4SUGAR): Use it.
5820 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5822 * tests/tools.at (autom4te): Now it does exit 1.
5824 2002-10-17 Akim Demaille <akim@epita.fr>
5826 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
5827 Fixes the `AC_ARG_VAR' test failures.
5828 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
5829 * lib/freeze.mk (check-forbidden-patterns): New.
5830 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
5831 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
5832 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
5834 Reported months ago by H. Merijn Brand.
5836 2002-10-17 Akim Demaille <akim@epita.fr>
5838 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
5840 2002-10-16 Paul Eggert <eggert@twinsun.com>
5842 * Makefile.maint (wget_files): Remove ansi2knr.c.
5843 (ansi2knr.c-url_prefix): Remove.
5845 2002-10-16 Akim Demaille <akim@epita.fr>
5847 Because of caching, some files that no longer exist and are no
5848 longer required can still cause errors.
5849 Reported by Alexandre Duret-Lutz.
5851 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
5852 to frozen files in @ARGV, as @ARGV must remain being a list of
5853 files. Rather, at M4 call sites, use this...
5854 (&files_to_options): New function.
5855 (&freeze): Use &error.
5856 (&up_to_date): If a file that was included according to the cache
5857 is no longer there, then the output is out dated.
5858 (&main): Don't even check whether a file is up to date is anyway
5860 * tests/tools.at (autom4te cache): New.
5862 2002-10-16 Akim Demaille <akim@epita.fr>
5864 * bin/autoconf.as: Kill dead options.
5865 * bin/autoupdate.in (&parse_args): Kill old options.
5866 * bin/autoreconf.in (&parse_args): Remove dead options.
5868 (&autoreconf): Report the directories we enter *and leave*, so
5869 that error messages can be easily located, and use GNU Make
5870 format, so that Emacs' compile mode understands us.
5871 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
5872 if some file was changed instead of `print'.
5873 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
5874 (&parse_args): Remove the dead options.
5875 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
5876 autoheader's quiet mode.
5877 (AT_CHECK_AUTOUPDATE): Likewise.
5878 * tests/tools.at (autoupdate): Adjust.
5879 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5881 2002-10-11 Akim Demaille <akim@epita.fr>
5883 No longer use CPP to check for the existing of headers: use CC to
5884 check for compilability.
5886 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5887 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
5888 (_AC_CHECK_HEADER_NEW): Rename as...
5889 (AC_CHECK_HEADER): this.
5891 * lib/autotest/general.m4 (AT_INIT): Include the failed test
5892 numbers in the Subject suggestion.
5894 2002-10-11 Akim Demaille <akim@epita.fr>
5896 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
5897 Suggest using AC_CHECK_DECLS instead.
5899 2002-10-11 Akim Demaille <akim@epita.fr>
5901 * tests/torture.at (AC_ARG_VAR): Have configure report the value
5904 2002-10-11 Akim Demaille <akim@epita.fr>
5906 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
5907 file name to enable parallel executions.
5908 From Sam Varshavchik.
5910 2002-10-08 Akim Demaille <akim@epita.fr>
5912 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
5913 aclocal invocation, as Gettext macros might not be visible to
5915 Instead of blindly running autopoint, scan configure.ac (not the
5916 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
5917 Reported by Paul D. Smith.
5919 2002-10-08 Paul Eggert <eggert@twinsun.com>
5921 Work around problems found when POSIXLY_CORRECT=1 is set.
5922 None of this seems to have anything to do with POSIX, really,
5923 but it's how Perl getopt works.
5924 * bin/autom4te.in (parse_args): Configure GetOpt with
5926 * doc/autoconf.texi (Invoking autom4te):
5927 --warning -> --warnings.
5928 * lib/autom4te.in: --warning -> --warnings.
5930 2002-09-28 Akim Demaille <akim@epita.fr>
5932 * doc/autoconf.texi (autom4te.cache): New section.
5934 2002-09-28 Akim Demaille <akim@epita.fr>
5936 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
5937 (Automake-preselections): Update.
5938 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
5940 2002-09-28 Akim Demaille <akim@epita.fr>
5942 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
5943 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
5944 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5945 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
5947 2002-09-28 Akim Demaille <akim@epita.fr>
5949 * tests/torture.at (Configuring subdirectories): Be robust to
5950 users who use config.site to require for a cache: in this case,
5951 the two last configure runs, using two different sets of
5952 arguments, trigger a legitimate error.
5954 2002-09-28 Akim Demaille <akim@epita.fr>
5956 * tests/m4sh.at (Functions Support, Functions and return Support):
5959 2002-09-28 Akim Demaille <akim@epita.fr>
5961 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
5962 autoheader are Perl programs.
5963 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
5964 (autom4te): Specify that the sources are in the $srcdir.
5965 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5967 2002-09-28 Akim Demaille <akim@epita.fr>
5969 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
5970 (tm_zone): Move their rules to...
5971 * lib/autoconf/types.m4: here, using AN_ macros.
5972 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
5973 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
5974 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
5975 * lib/autoconf/programs.m4: here.
5976 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
5977 (ETAGS_FOR_AUTOCONF): New.
5980 2002-09-28 Akim Demaille <akim@epita.fr>
5982 * lib/autoconf/autoscan.m4: New file.
5983 * lib/autoconf/autoconf.m4: Include it.
5984 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
5985 that were listed in the original autoscan.list.
5986 * lib/autoconf/headers.m4: Similarly with headers.
5987 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
5988 (.m4.m4f): Don't pass --prepend-include, since that's done by
5989 tests/autom4te itself.
5990 * lib/autoscan/Makefile.am: Include freeze.mk.
5991 (autoscan.list): New target --this file is no longer a source.
5992 (autoscan.pre): New file.
5994 2002-09-28 Akim Demaille <akim@epita.fr>
5996 * bin/autoscan.in (@kinds): Make them singular.
5998 (&init_tables): When --debug, report the list of rules to ease
5999 tracking changes in autoscan.list.
6000 * lib/autoscan/autoscan.list (function): Strip comments, sort.
6002 2002-09-28 Akim Demaille <akim@epita.fr>
6004 * lib/autoscan/functions, lib/autoscan/headers,
6005 * lib/autoscan/identifiers, lib/autoscan/makevars,
6006 * lib/autoscan/programs: Merge into...
6007 * lib/autoscan/autoscan.list: this.
6008 * bin/autoscan.in (&init_tables): Adjust.
6010 2002-09-28 Akim Demaille <akim@epita.fr>
6012 * lib/autoscan/functions, lib/autoscan/headers,
6013 * lib/autoscan/identifiers, lib/autoscan/makevars,
6014 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
6015 `functions' line is now prefixed with `function:'.
6016 * bin/autoscan.in (&init_tables): Adjust.
6018 2002-09-28 Akim Demaille <akim@epita.fr>
6020 From now on, autoscan files must always map a macro name to a
6021 word: there is no `default' macro for autoscan.
6023 * bin/autoscan.in (&init_tables): Reject entries with no macro at
6025 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
6028 2002-09-28 Akim Demaille <akim@epita.fr>
6030 * bin/autoscan.in (%c_keywords): Remove.
6031 (&used): Keep only track of the words we might be interested in.
6032 (&output_kind): It is no longer needed to look for non active
6035 2002-09-27 Akim Demaille <akim@epita.fr>
6037 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
6038 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
6039 * lib/autoscan/functions: Adjust.
6040 * doc/autoconf.texi (Particular Functions): Adjust.
6042 2002-09-27 Akim Demaille <akim@epita.fr>
6044 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
6046 Thanks to Bill Moseley and Paul Eggert.
6047 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
6048 the tmpdir must be created.
6049 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
6050 dir be in the build tree, instead of $TMPDIR.
6052 2002-09-27 Akim Demaille <akim@epita.fr>
6054 * bin/autoscan.in: Improve the comments.
6055 (&parse_args): Drop obsolete undocumented options.
6056 (&output_kind): Output warnings.
6057 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
6058 (getwd): Trigger a warning.
6060 2002-09-26 Akim Demaille <akim@epita.fr>
6062 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
6063 Reported by Ralf Corsepius.
6064 * doc/autoconf.texi (autoreconf Invocation): Likewise.
6066 2002-09-26 Akim Demaille <akim@epita.fr>
6068 Single suffix rules and seperated dependencies are not portable.
6070 * doc/autoconf.texi (Installation Directory Variables): Update.
6071 (Limitations of Make): Some about `Single Suffix Rules and
6072 Separated Dependencies'.
6073 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6074 (ifnames, autoscan, autom4te): Un-factor into several rules.
6076 2002-09-25 Paul Eggert <eggert@twinsun.com>
6078 * BUGS (Interoperability bugs): New section. Mention libtool
6079 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
6081 2002-09-24 Paul Eggert <eggert@twinsun.com>
6083 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
6084 make handles suffix-rules differently from GNU make.
6086 * bin/Makefile.am (SUFFIXES, .in): Remove.
6087 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
6088 Move the body of the old .in rule here.
6090 2002-09-16 Akim Demaille <akim@epita.fr>
6092 i960 compilers create `b.out' files by default.
6093 Reported by Ralf Corsepius.
6095 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
6096 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
6098 2002-09-13 Paul Eggert <eggert@twinsun.com>
6100 * doc/autoconf.texi (Particular Headers): Remove obsolete
6101 reference to `struct timezone' in the description of
6104 2002-09-13 Akim Demaille <akim@epita.fr>
6108 * config/config.sub, config/config.guess: Update.
6109 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
6110 * Makefile.am: Adjust.
6112 2002-09-13 Akim Demaille <akim@epita.fr>
6114 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
6115 reading config.log when the compiler is rejected.
6116 Suggested by Guido Draheim.
6118 2002-09-13 Akim Demaille <akim@epita.fr>
6120 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
6121 (chdir_init) might hang when stat'ing mounted directories.
6122 Reported by Vance Shipley.
6124 2002-09-12 Akim Demaille <akim@epita.fr>
6126 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
6129 2002-09-12 Akim Demaille <akim@epita.fr>
6131 * doc/autoconf.texi (Defining Symbols): Present two different
6132 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
6133 difference between 1 argument calls, and 2-3 argument calls.
6135 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
6137 * doc/autoconf.texi: Review grammar and punctuation.
6139 2002-09-11 Paul Eggert <eggert@twinsun.com>
6141 * doc/autoconf.texi: Fix minor formatting, spelling, and
6143 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6144 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6147 2002-09-11 Akim Demaille <akim@epita.fr>
6149 * doc/autoconf.texi (Questions): Rename as...
6151 (Defining Directories): New.
6153 2002-09-09 Akim Demaille <akim@epita.fr>
6155 * doc/autoconf.texi (Making testsuite Scripts): Update.
6156 Suggested by Nishio Futoshi.
6158 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
6160 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6161 plain `@' is wanted.
6163 2002-09-09 Akim Demaille <akim@epita.fr>
6165 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6166 `duplicates', since the algorithm was too naive and could keep
6167 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6168 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6169 Reported by Ralf Corsepius.
6170 * tests/torture.at (Configuring subdirectories): Exercise these
6173 2002-09-09 Akim Demaille <akim@epita.fr>
6175 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6176 looking for a replacement file.
6177 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6178 directory is relative.
6179 * doc/autoconf.texi (Generic Functions): Clarify the replacement
6180 directory definition.
6181 Reported by Andreas Schwab and Jim Meyering.
6183 2002-09-06 Akim Demaille <akim@epita.fr>
6185 * doc/autoconf.texi (Setting Output Variables): Clarify what
6186 precious variables are.
6187 Suggested by Pontus Skoeld.
6189 2002-09-05 Akim Demaille <akim@epita.fr>
6191 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6192 (ifnames, autoscan, autom4te): Since we don't only depend on
6193 configure.ac variables (such as VERSION etc.), but also on prefix
6194 and so forth, depend on Makefile, not configure.ac.
6195 Reported by Alexandre Duret-Lutz.
6196 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6198 2002-09-05 Kevin Ryde <user42@zip.com.au>
6200 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6201 doesn't seem to be confined to ia64, just say "some versions".
6203 2002-09-04 Akim Demaille <akim@epita.fr>
6205 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6207 * Makefile.am (maintainer-clean-local): Remove.
6208 (MAINTAINERCLEANFILES): Remove COPYING.
6210 2002-09-03 Paul Eggert <eggert@twinsun.com>
6212 * doc/autoconf.texi (Configuration Commands): Remove obsolete
6213 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
6216 2002-09-03 Akim Demaille <akim@epita.fr>
6218 * configure.ac: Bump to 2.53d.
6219 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6220 as of today, on Automake's team suggestion.
6222 2002-09-03 Akim Demaille <akim@epita.fr>
6226 2002-09-02 Akim Demaille <akim@epita.fr>
6228 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
6230 * configure.ac: Disable SITE_MACRO_DIR.
6232 2002-09-02 Jim Meyering <meyering@lucent.com>
6234 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
6235 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
6236 Also, tweak grammar: s/make sure to/be sure to/.
6238 2002-09-02 Paul Eggert <eggert@twinsun.com>
6240 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
6241 directory names are generally preferable to physical names.
6243 2002-09-02 Akim Demaille <akim@epita.fr>
6245 * lib/Autom4te/General.pm (&update_file): s/die/error/.
6246 Reported by Raja R. Harinath.
6247 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
6248 * bin/autoupdate.in: Use error instead of die.
6250 2002-09-01 Paul Eggert <eggert@twinsun.com>
6252 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
6253 ordinary shell concatenation rather than echo+tr+sed command that
6254 runs afoul of a long-line-related sed bug in Solaris 8.
6256 * bin/autoheader.in (parse_args): --warning -> --warnings.
6258 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
6259 stdout, as traditional "ls" does.
6260 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
6261 _AC_COMPILER_EXEEXT_O): Likewise.
6262 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
6264 * bin/autoconf.as: Add --prepend-include option. This patch was
6265 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
6266 but bin/autoconf.in is generated automatically from bin/autoconf.as.
6268 * bin/autoconf.in, configure: Regenerate.
6270 * doc/autoconf.texi (Special Shell Variables): Mention
6271 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
6273 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
6274 MAILPATH and set PS1, PS2, PS4 to default values, to work
6275 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
6276 For LC_ALL etc, first try to set to "C" as POSIX requires and as
6277 the Autoconf documentation specifies; fall back to "unset" only if
6278 this fails. Use a shell for-loop for this rather than an m4 loop,
6279 to shorten the output script.
6281 2002-08-30 Paul Eggert <eggert@twinsun.com>
6283 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
6284 1003.1-2001's requirements for CDPATH. Give a simpler workaround
6285 for the CDPATH problem. Document PWD.
6286 (Limitations of Builtins): Document the problem that "cd $foo" and
6287 "ls $foo" may refer to different directories in shells conforming
6288 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
6289 example, since the old example is now out of date.
6291 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
6292 FOO" and "ls FOO" talk about different directories; this catches
6293 problems when POSIX 1003.1-2001 "cd" fails due to symlink
6296 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
6297 of rolling our own unset.
6298 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
6299 in practice we needn't worry about CDPATH if unset doesn't work.
6301 * Makefile.in, aclocal.m4, bin/Makefile.in,
6302 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
6303 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
6304 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
6305 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
6306 tests/Makefile.in: Regenerate with Automake 1.6.3.
6308 * config/config.guess, config/config.sub, config/mkinstalldirs:
6311 * configure: Regenerate with self.
6313 2002-08-30 Kevin Ryde <user42@zip.com.au>
6315 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
6318 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6320 * bin/autom4te.in (Request::load): Correctly test for "do" read
6323 2002-08-29 Akim Demaille <akim@epita.fr>
6325 * lib/Autom4te/General.pm (&xqx): New.
6326 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
6327 hand, which is not portable.
6329 * bin/autom4te.in: Use them.
6330 Use &error instead of die.
6331 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6334 2002-08-17 Paul Eggert <eggert@twinsun.com>
6336 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
6337 default list of compilers to try, since it was long ago superseded
6338 by the ksh fc builtin. Suggested by Steven G. Johnson.
6340 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
6342 * doc/autoconf.texi (Invoking autom4te): End the option table,
6343 fixing a bug introduced by the previous patch.
6344 (Limitations of Make): Add a 'target lookup' subentry in the
6345 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
6347 2002-07-29 Mark D. Roth <roth@feep.net>
6349 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
6350 options and use $AUTOM4TE_PATH.
6351 * doc/autoconf.texi: Remove documentation of autom4te
6352 --include-envvar and --site-macro-subdir options and document
6353 use of $AUTOM4TE_PATH.
6354 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
6355 arguments from each language section.
6357 2002-07-29 Paul Eggert <eggert@twinsun.com>
6359 * doc/install.texi: Include copyright symbol in copyright notice.
6361 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
6363 (AM_MAKEINFOFLAGS): New macro.
6364 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
6365 * Makefile.am (INSTALL): Use the new macros.
6366 Use -o rather than --output, since "missing" does not grok --output.
6368 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6370 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
6371 comments do not always work. Never trust the exit status of
6374 2002-07-24 Kevin Ryde <user42@zip.com.au>
6376 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
6377 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
6379 2002-07-23 Paul Eggert <eggert@twinsun.com>
6381 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
6382 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
6383 apparently treats PATH="nonexistent" as if it contained ".".
6384 Bug reported by Stefan `Sec' Zehl.
6386 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6388 * doc/autoconf.texi (Limitations of Make): Mention the special
6389 handling of the obj/ directory by BSD make.
6391 2002-07-20 Kevin Ryde <user42@zip.com.au>
6393 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
6396 2002-07-19 Akim Demaille <akim@epita.fr>
6398 * doc/autoconf.texi (Function Portability): `exit'.
6399 (Programming in M4sh): Ethymology of M4sh.
6401 2002-07-19 Akim Demaille <akim@epita.fr>
6403 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
6405 2002-07-18 Akim Demaille <akim@epita.fr>
6409 2002-07-18 Akim Demaille <akim@epita.fr>
6411 * config/config.guess, config/config.sub: Update.
6413 2002-07-18 Akim Demaille <akim@epita.fr>
6415 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
6418 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
6419 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
6420 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
6422 2002-07-18 Akim Demaille <akim@epita.fr>,
6423 Alexandre Duret-Lutz <duret_g@epita.fr>
6425 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
6426 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
6428 2002-07-17 Russ Allbery <rra@stanford.edu>
6430 * doc/autoconf.texi (Initializing configure): Clarify the
6431 description of the tarname default.
6433 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
6435 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
6436 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
6439 2002-07-17 Akim Demaille <akim@epita.fr>
6441 * lib/Autom4te/General.pm (find_file): Browse the directories in
6442 the order they are given.
6444 2002-07-17 Akim Demaille <akim@epita.fr>
6446 * tests/wrapsh.as, tests/wrappl.as: Merge into...
6447 * tests/wrapper.as: this.
6448 * tests/Makefile.am, configure.ac: Adjust.
6450 2002-07-17 Mark D. Roth <roth@feep.net>
6452 * configure.ac: Add --enable-site-macro-dir option.
6453 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
6454 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
6455 --site-macro-subdir options.
6456 * bin/autoconf.in: Add --prepend-include option.
6457 * bin/autoheader.in: Add --prepend-include option.
6458 * bin/autoreconf.in: Add --prepend-include option.
6459 * bin/autoscan.in: Add --prepend-include option.
6460 * bin/autoupdate.in: Add --prepend-include option.
6461 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
6462 macro directory, remove note that include path directories are
6463 used in reverse order, and document --prepend-include option.
6464 * lib/autom4te.in: Use --prepend-include instead of --include.
6465 * tests/wrapsh.in: Use --prepend-include instead of --include.
6467 2002-07-17 Akim Demaille <akim@epita.fr>
6469 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
6471 * doc/autoconf.texi (Initializing configure): Adjust.
6473 2002-07-17 Akim Demaille <akim@epita.fr>
6475 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
6476 (_AC_FUNC_MALLOC): New.
6477 (AC_FUNC_MALLOC): Use the latter.
6478 Define HAVE_MALLOC to 0 if broken.
6479 * doc/autoconf.texi (Particular Functions): Adjust.
6481 2002-07-16 Akim Demaille <akim@epita.fr>
6483 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
6484 * doc/autoconf.texi (C Compiler): Adjust.
6486 2002-07-09 Akim Demaille <akim@epita.fr>
6488 * doc/autoconf.texi: Properly set the ``header'' part.
6490 2002-07-09 Akim Demaille <akim@epita.fr>
6492 * doc/autoconf.texi (Systemology): Some about Darwin.
6494 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6496 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6497 Don't use AC_REQUIRE in AU_DEFUN.
6499 2002-07-09 Art Haas <ahaas@neosoft.com>
6501 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
6503 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
6505 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6506 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
6507 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
6508 so that Emacs setups GNU style for perl-mode and cperl-mode.
6510 2002-06-27 Paul Eggert <eggert@twinsun.com>
6512 * config/install-sh: Quote $src. Prefer || to test's -o option,
6513 as per "Limitations of Builtins".
6514 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
6515 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6517 * tests/mktests.sh: Use grep instead of fgrep, as per
6518 "Limitations of Builtins".
6520 2002-06-15 Paul Eggert <eggert@twinsun.com>
6522 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
6523 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
6524 so that we consistently test the just-built programs.
6525 * tests/wrappl.as: Likewise.
6527 2002-06-12 Paul Eggert <eggert@twinsun.com>
6529 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
6530 name, so that symlinks to 'autoconf' work properly. Bug reported
6532 * bin/autoheader.in (AUTOM4TE): Likewise.
6533 * bin/autoreconf.in (autoconf, autoheader): Likewise.
6534 * bin/autoscan.in (autom4te): Likewise.
6535 * bin/autoupdate.in (autom4te): Likewise.
6537 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
6538 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
6541 2002-06-11 Andreas Schwab <schwab@suse.de>
6543 * doc/autoconf.texi: Add more dir entries.
6545 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
6547 * bin/autom4te.in ($cache): Don't define using `$me', the name
6548 of the cache should not depend on the name under which autom4te
6551 2002-06-07 Akim Demaille <akim@epita.fr>
6553 * tests/tools.at (autoconf: forbidden tokens, basic)
6554 (autoconf: forbidden tokens, exceptions): Adjust to the change of
6555 words in autom4te.in.
6557 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
6559 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
6560 _AC_LANG_PROGRAM_C_F77_HOOKS.
6562 2002-06-07 Akim Demaille <akim@epita.fr>
6564 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
6566 (AC_REPLACE_FNMATCH): this.
6567 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
6568 AC_FUNC_FNMATCH_GNU.
6570 2002-06-07 Akim Demaille <akim@epita.fr>
6572 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
6573 Rosetta Stone for Unix.
6575 2002-06-07 Akim Demaille <akim@epita.fr>
6577 * bin/autom4te.in (warn_forbidden): When rejecting a token,
6578 suggest m4_pattern_allow.
6579 Suggested by Adam J. Richter.
6581 2002-06-07 Akim Demaille <akim@epita.fr>
6583 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6584 ac_config_libobj_dir.
6585 (AC_CONFIG_LIBOBJ_DIR): New.
6586 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
6587 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
6588 Use ac_config_libobj_dir to find the replacement files.
6589 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
6590 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
6591 (AC_REPLACE_FNMATCH_GNU): these.
6592 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
6593 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
6594 * tests/mktests.sh (ac_exclude_list): Don't check
6595 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
6597 2002-06-06 Paul Eggert <eggert@twinsun.com>
6599 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
6602 * doc/autoconf.texi (Configuration Links): Likewise.
6603 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
6605 2002-06-05 Paul Eggert <eggert@twinsun.com>
6607 * config/config.guess, config/config.sub, config/texinfo.tex:
6608 Update from masters.
6610 2002-05-29 Paul Eggert <eggert@twinsun.com>
6612 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
6613 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6614 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
6616 * lib/autoconf/Makefile.am (check-local): Likewise.
6617 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
6618 * lib/autoconf/types.m4 (commentary only): Likewise.
6619 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
6620 * lib/autotest/Makefile.am (check-local): Likewise.
6621 * lib/m4sugar/Makefile.am (check-local): Likewise.
6622 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
6623 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
6625 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
6626 * doc/autoconf.texi (Particular Programs): Document them.
6627 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
6630 2002-05-27 Paul Eggert <eggert@twinsun.com>
6632 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
6633 * NEWS, doc/autoconf.texi (Particular Types): Document it.
6634 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
6635 instead of AC_MBSTATE_T, which never existed.
6637 2002-05-23 Akim Demaille <akim@epita.fr>
6639 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
6640 version of Autoconf that is discussed.
6642 2002-05-22 Paul Eggert <eggert@twinsun.com>
6644 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
6645 from the default list of compilers to try. Suggested by
6647 * NEWS: Document the above.
6648 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
6650 2002-05-17 Paul Eggert <eggert@twinsun.com>
6652 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
6653 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
6654 This improves on an earlier suggestion by H. Peter Anvin.
6656 2002-05-16 Paul Eggert <eggert@twinsun.com>
6658 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
6659 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
6660 Both macros now accept an optional source-dir arg.
6661 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
6663 * NEWS: Document this.
6664 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
6666 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
6667 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
6668 not for GNU extensions; this undoes part of the 2000-11-03 change,
6669 reverting to 2.13-compatible behavior.
6670 Add new optional argument DIR.
6671 (AC_FUNC_FNMATCH_GNU): New macro.
6673 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
6675 2002-05-08 Paul Eggert <eggert@twinsun.com>
6677 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
6678 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
6679 and it causes a 'test' syntax error if it fails.
6680 Bug reported by Stephen Gildea.
6682 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
6683 If prototypes are supported, use them to check this at compile-time,
6684 instead of trying to check it at run-time. If we must do a run-time
6685 check, assume that setvbuf is standard when cross-compiling, as
6686 nonstandard setvbuf occurs only on ancient and unlikely hosts.
6687 Bug reported by Paul D. Smith.
6689 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
6690 argument specifying location of getloadavg.c. This removes a
6691 FIXME. This idea was taken from Jim Meyering's implementation in
6693 * doc/autoconf.texi (Particular Functions): Document this.
6694 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
6695 that's what the code does; this fixes a bug reported by
6698 2002-05-03 Akim Demaille <akim@epita.fr>
6700 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
6701 autopoint instead of gettextize.
6702 ($uses_alocal): Rename as...
6703 ($uses_aclocal): this.
6704 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6705 Suggested by Bruno Haible.
6707 2002-05-03 Akim Demaille <akim@epita.fr>
6709 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
6711 2002-04-29 Paul Eggert <eggert@twinsun.com>
6713 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
6714 files to be 1 second older; just set them to be the same time.
6715 Also, sleep 1 second after the first aclocal, to work around
6716 problems with sub-second time stamps on the input files.
6718 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
6720 * doc/autoconf.texi: Mention "set -e -x" lossage
6721 under node "Limitations of Builtins".
6723 2002-04-29 Akim Demaille <akim@epita.fr>
6725 * doc/install.texi: Better wording for setting variables when
6727 From Christian Cornelssen.
6729 2002-04-29 Akim Demaille <akim@epita.fr>
6731 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
6732 of lack of $LINENO support, then the test will compare the $LINENO
6733 in testsuite vs. the lineno in the test file. This is wrong, of
6735 Be sure to protect it.
6736 Reported by Patrick Welche.
6738 2002-04-25 Akim Demaille <akim@epita.fr>
6740 * doc/autoconf.texi (Obsolete Macros): Typo.
6741 Reported by Vladimir Volovich.
6743 2002-04-25 Akim Demaille <akim@epita.fr>
6745 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
6746 than some of the input files, hence, on the second run of aclocal,
6747 if some of its input are younger, make them older.
6748 Suggested by Paul Eggert.
6750 2002-04-25 Akim Demaille <akim@epita.fr>
6752 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
6753 Thanks to Paul Eggert.
6755 2002-04-25 Akim Demaille <akim@epita.fr>
6757 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
6758 and ac_subst_vars be sh variables containing the list of
6759 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
6761 (_AC_INIT_PREPARE): Use them to log them.
6762 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
6763 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
6764 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
6765 _AC_SUBST_FILES and _AC_SUBST_VARS.
6766 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
6768 2002-04-24 Akim Demaille <akim@epita.fr>
6770 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
6771 autoheader, so that automake does not complain about a missing
6772 config.h.in that was to be created.
6774 2002-04-23 Akim Demaille <akim@epita.fr>
6776 * bin/autoheader.in (parse_args): --warning takes an argument.
6779 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
6781 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
6782 and bb.out when cleaning up.
6784 2002-04-22 Akim Demaille <akim@epita.fr>
6788 2002-04-22 Akim Demaille <akim@epita.fr>
6790 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
6792 2002-04-22 Akim Demaille <akim@epita.fr>
6794 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
6796 Reported by Gregory Giannoni.
6798 2002-04-22 Akim Demaille <akim@epita.fr>
6800 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
6801 Fixes false failures on Darwin.
6803 2002-04-21 Paul Eggert <eggert@twinsun.com>
6805 * TODO, bin/autoupdate.in, doc/autoconf.texi,
6806 lib/autoconf/general.m4, lib/autoconf/libs.m4,
6807 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
6808 tests/tools.at: Minor spelling and grammar fixes.
6810 2002-04-20 Paul Eggert <eggert@twinsun.com>
6812 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
6813 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
6814 * lib/autotest/general.m4 (AT_INIT): Likewise.
6815 * tests/atgeneral.m4 (AT_INIT): Likewise.
6817 2002-04-19 Paul Eggert <eggert@twinsun.com>
6819 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
6820 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
6821 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
6822 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6823 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
6824 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
6825 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
6826 Minor spelling and grammar fixes.
6828 * doc/autoconf.texi: Follow the outline suggested in the GNU
6829 Sample Texts sections of the Texinfo 4.2 manual. Most
6830 importantly, this makes sure that the copyright notices appear in
6831 all output formats. You probably need Texinfo 4.2 to generate
6834 Fix some bugs when using "$@" when there might be zero positional
6835 arguments in cases where this matters.
6837 * bin/autoconf.as: Rewrite so that the problem does not come up.
6838 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
6839 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
6840 * lib/autotest/general.m4 (AT_INIT): Likewise.
6842 * bin/autoheader.in: Use 'case' statement to work around problem.
6843 * bin/auto4mte.in: Likewise.
6844 * bin/autoreconf.in: Likewise.
6845 * bin/autoscan.in: Likewise.
6846 * bin/autoupdate.in: Likewise.
6847 * bin/ifnames.in: Likewise.
6849 * doc/autoconf.texi (Shell Substitutions): Document the problem.
6851 * lib/autotest/general.m4 (AT_INIT):
6852 Use Zsh alias to work around problem.
6853 * tests/atgeneral.m4 (AT_INIT): Likewise.
6855 * tests/c.at: We can't have zero arguments, so remove workaround
6856 that is not portable to Zsh.
6858 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
6860 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
6861 from aclocal.m4 too.
6863 2002-04-12 Akim Demaille <akim@epita.fr>
6865 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
6867 2002-04-10 Akim Demaille <akim@epita.fr>
6869 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
6870 workaround for ${1+"$@"}.
6871 * doc/autoconf.texi (Shell Substitutions): Explain it.
6872 From Oliver Kiddle and Peter Stephenson.
6874 Have M4sh perform minimal shell sanitizing.
6876 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
6878 (_AS_PREPARE): this new macro.
6880 (AS_INIT): Invoke AS_SHELL_SANITIZE.
6881 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
6883 Adjust Autoconf and Autotest.
6885 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
6886 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
6887 * lib/autotest/general.m4 (AT_INIT): Likewise.
6888 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
6889 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
6892 Use this M4sh to generate Autoconf's shell scripts.
6894 * tests/wrapsh.as: New, precursor of wrapsh.in.
6895 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
6896 on Autotest and M4sh.
6897 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
6898 (wrapsh.in): New target.
6899 * bin/autoconf.as: New, precursor of autoconf.in.
6900 (autoconf.in): New target.
6902 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6904 * doc/autoconf.texi (Limitations of Make): Mention the issue
6905 with indented comments in rules.
6907 2002-04-09 Andreas Schwab <schwab@suse.de>
6909 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
6910 ac_top_builddir when setting ac_abs_top_builddir.
6912 2002-04-06 Kevin Ryde <user42@zip.com.au>
6914 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
6915 (Portable Shell): Cross reference to Systemology.
6917 2002-04-05 Akim Demaille <akim@epita.fr>
6919 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
6920 directories when descending in a SUBDIRS.
6921 Reported by Ezra Peisach.
6923 2002-04-04 Andreas Schwab <schwab@suse.de>
6925 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
6926 contains no literal separators.
6928 2002-04-03 Akim Demaille <akim@epita.fr>
6930 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
6931 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
6932 Use dnl, not the KILL diversion.
6934 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
6935 (AC_CONFIG_LINKS): here.
6937 Don't use the KILL diversion, as it kills spurious output, which
6938 results in failures being hidden.
6939 Use m4_defn where appropriate.
6940 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
6941 after the second argument.
6943 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
6944 syntax, as it is provided by M4sugar.
6945 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
6947 2002-04-03 Andreas Schwab <schwab@suse.de>
6949 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
6950 expanded if $# <= 2.
6952 * bin/autoreconf.in (autoreconf): Run automake after rerunning
6955 2002-04-03 Akim Demaille <akim@epita.fr>
6957 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
6958 (_AC_COMPILER_EXEEXT_REJECT): New.
6959 Also recognize *.bb and *.bbg as compilation byproducts.
6960 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
6961 (_AC_COMPILER_OBJEXT): Use them.
6962 Fixes Debian #138666.
6964 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
6966 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
6968 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
6969 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
6970 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
6971 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
6973 (AC_C_INLINE): Same.
6974 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
6975 * doc/autoconf.texi, NEWS: Document.
6976 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
6979 2002-04-02 Akim Demaille <akim@epita.fr>
6981 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
6982 _AS_MKDIR_P_PREPARE.
6984 2002-03-28 Kevin Ryde <user42@zip.com.au>
6986 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
6987 to avoid versions of HP C which don't allow that.
6989 2002-03-27 Paul Eggert <eggert@twinsun.com>
6991 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
6992 (AS_SHELL_SANITIZE): Invoke it.
6993 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
6995 2002-03-26 Akim Demaille <akim@epita.fr>
6997 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
6999 2002-03-26 Akim Demaille <akim@epita.fr>
7001 * doc/autoconf.texi (Introduction): The GNATS base moved.
7003 2002-03-25 Paul Eggert <eggert@twinsun.com>
7005 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
7006 as POSIX requires, as it doesn't work with Zsh.
7007 * doc/autoconf.texi (Assignments): Document the problem.
7009 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
7011 * doc/autoconf.texi (Limitations of Make): Mention more issue
7012 about VPATH, overriding of macros in sub-makes, and handling of
7015 2002-03-21 Paul Eggert <eggert@twinsun.com>
7017 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
7018 problem with here-document buffer boundaries.
7020 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
7021 when reinvoking the shell, to work around problems with installers
7022 who put strange things like "cd" commands in their environments.
7024 2002-03-19 Akim Demaille <akim@epita.fr>
7026 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
7029 2002-03-19 Akim Demaille <akim@epita.fr>
7031 * bin/autoscan.in (scan_file): Specify the location in `&used'
7035 2002-03-19 Akim Demaille <akim@epita.fr>
7037 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
7038 From Nishio Futoshi.
7040 2002-03-19 Akim Demaille <akim@epita.fr>
7042 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
7044 2002-03-18 Paul Eggert <eggert@twinsun.com>
7046 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
7047 (Limitations of Usual Tools): Add mkdir section.
7049 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
7050 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
7051 back on AS_DIRNAME to compute prefixes otherwise; this is
7052 roughly what mkinstalldirs does. That way, we need not have
7053 our own filename disassembler. The old disassembler did not
7054 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
7056 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
7057 Create at_test_all by a series of assignments,
7058 not by a single assignment of a long string. The latter causes ksh
7059 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
7060 presumably because of a buffer overrun.
7062 2002-03-14 Paul Eggert <eggert@twinsun.com>
7064 * lib/autotest/general.m4 (at_times_skip):
7065 Renamed from at_times. Now a boolean.
7066 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
7067 says 'times: not found'.
7069 2002-03-14 Akim Demaille <akim@epita.fr>
7071 * bin/autoreconf.in (&study_gettextize): New.
7072 (&autoreconf): Handle newest gettextize.
7073 Rerun aclocal if needed.
7074 Suggested by Andreas Schwab.
7076 2002-03-13 Akim Demaille <akim@epita.fr>
7078 * doc/autoconf.texi (Special Shell Variables): More about IFS.
7080 2002-03-13 Akim Demaille <akim@epita.fr>
7082 * doc/autoconf.texi (Header Portability): New.
7083 Add information about stdint.h and inttypes.h from Paul Eggert.
7085 2002-03-13 Akim Demaille <akim@epita.fr>
7087 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
7091 2002-03-12 Akim Demaille <akim@epita.fr>
7093 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
7096 2002-03-11 Andreas Schwab <schwab@suse.de>
7098 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
7099 does not do it if --with-lispdir is given.
7101 2002-03-08 Akim Demaille <akim@epita.fr>
7105 2002-03-08 Akim Demaille <akim@epita.fr>
7107 * doc/autoconf.texi (Subdirectories): Clarify that the
7108 subdirectory should exist.
7110 2002-03-08 Akim Demaille <akim@epita.fr>
7112 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
7114 2002-03-08 Akim Demaille <akim@epita.fr>
7116 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
7117 aliases the actual variables, and modifications of the former
7120 2002-03-08 Akim Demaille <akim@epita.fr>
7122 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
7123 because of C-c: have m4 output in tmp files, then mv them.
7125 2002-03-08 Akim Demaille <akim@epita.fr>
7127 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
7128 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
7129 * bin/ifnames.in: Copyright update.
7131 2002-03-08 Akim Demaille <akim@epita.fr>
7133 * doc/autoconf.texi (Invoking autom4te): New.
7135 2002-03-05 Akim Demaille <akim@epita.fr>
7137 * doc/autoconf.texi (Specifying Names): Clarification suggested by
7140 2002-03-05 Akim Demaille <akim@epita.fr>
7144 2002-03-04 Akim Demaille <akim@epita.fr>
7146 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7147 * lib/autoconf/general.m4 (AC_INIT): More informative error
7150 2002-03-04 Akim Demaille <akim@epita.fr>
7152 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7155 2002-03-04 Akim Demaille <akim@epita.fr>
7157 * doc/autoconf.texi (Transforming Names): Equality between target
7158 and host is irrelevant.
7159 (Specifying Names, Canonicalizing): Remove all references to the
7160 backward compatibility hooks. Rather, collect them all into...
7161 (Hosts and Cross-Compilation): this new section.
7162 * doc/install.texi (System Type): Ditto.
7163 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7164 that `--host' implies cross-compilation.
7166 2002-03-04 Akim Demaille <akim@epita.fr>
7168 * doc/autoconf.texi (Evaluation Macros): New.
7169 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7171 (_m4_foreach): Define the variant with immediate evaluation so
7172 that it contains exactly the items, not an expression which
7173 evaluation is the current item.
7174 (m4_re_string, m4_re_word): Don't over quote them.
7176 2002-03-04 Akim Demaille <akim@epita.fr>
7178 Instead of having stacking `shift's evaluated at the end, let
7179 `foreach' loops immediately evaluate them.
7181 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7182 $*. This is the n-th time I change my mind, but hopefully this is
7185 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7187 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7188 it was only a hack for m4_text_wrap.
7189 (m4_car2): Remove, replaced by...
7191 (_m4_foreach): Adjust.
7192 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7193 m4_bpatsubst for clarification.
7195 2002-03-04 Akim Demaille <akim@epita.fr>
7197 * doc/autoconf.texi (Changequote is Evil): New.
7199 2002-03-03 Kevin Ryde <user42@zip.com.au>
7201 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7202 on old systems like SunOS.
7204 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
7206 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7207 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7208 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7209 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7212 2002-02-28 Akim Demaille <akim@epita.fr>
7214 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7217 2002-02-28 Kevin Ryde <user42@zip.com.au>
7219 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
7221 2002-02-25 Akim Demaille <akim@epita.fr>
7223 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
7226 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
7228 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
7229 translate \r\n to \n.
7231 2002-02-07 Akim Demaille <akim@epita.fr>
7235 2002-02-07 Akim Demaille <akim@epita.fr>
7237 Fix Autoconf PR/209.
7238 Also reported by Frank Denis.
7240 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
7242 2002-02-07 Akim Demaille <akim@epita.fr>
7244 Fix Autoconf PR/207:
7245 AC_PREFIX_PROGRAM fails with dashed program names
7247 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
7248 variable when looking for the prefix program.
7249 Now it also works for shell variables.
7251 2002-02-07 Akim Demaille <akim@epita.fr>
7253 * doc/autoconf.texi (Limitations of Builtins): More about
7256 2002-02-06 Akim Demaille <akim@epita.fr>
7258 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
7259 case/esac, some shells don't support it.
7260 Reported by Zack Weinberg.
7261 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
7263 2002-02-06 Akim Demaille <akim@epita.fr>
7265 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
7266 sure not to introduce newlines in at_groups.
7267 * lib/autotest/Makefile.am (autotest.m4f): Typo.
7269 2002-02-06 Akim Demaille <akim@epita.fr>
7271 * tests/torture.at (Configuring subdirectories): Skip if aclocal
7274 2002-02-05 Paul Eggert <eggert@twinsun.com>
7276 * doc/autoconf.texi (Specific Compiler Characteristics):
7277 Describe HP-UX cc bug workaround more accurately.
7278 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
7280 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
7281 cross-compilers, too. This undoes some of the most recent change
7284 2002-02-05 Akim Demaille <akim@epita.fr>
7286 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
7287 to make sure they are up to date when `check' is run.
7289 2002-02-05 Akim Demaille <akim@epita.fr>
7291 * doc/autoconf.texi (Making testsuite Scripts): Document
7294 2002-02-05 Akim Demaille <akim@epita.fr>
7296 * lib/freeze.mk: New.
7298 2002-02-05 Akim Demaille <akim@epita.fr>
7300 Implement `autom4te --freeze'.
7302 * bin/autom4te.in (&freeze): New.
7303 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
7304 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
7306 2002-02-05 Akim Demaille <akim@epita.fr>
7308 * bin/autom4te.in (&parse_args): Implement `frozen files are
7309 optional are the sum of the previous files on the command line'.
7310 Also, pass `--reload-state=' on them, so...
7312 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
7313 (M4sh): Rely on M4sugar.
7314 (Autotest, M4sh, M4sugar): Use frozen files.
7316 2002-01-31 Akim Demaille <akim@epita.fr>
7318 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
7319 * doc/autoconf.texi (Initializing configure): Adjust.
7321 2002-01-30 Akim Demaille <akim@epita.fr>
7323 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
7324 alphanumeric to `-' instead of `_'.
7326 2002-01-30 Akim Demaille <akim@epita.fr>
7328 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
7329 for plain code, the other for cross-compilation code. The latter
7330 is now run with GCC only.
7331 * doc/autoconf.texi (Compilers and Preprocessors): New.
7333 2002-01-30 Akim Demaille <akim@epita.fr>
7335 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
7337 * doc/autoconf.texi (Initializing configure): Explain how to
7338 change AC_INIT default values.
7340 2002-01-29 Akim Demaille <akim@epita.fr>
7342 * tests/torture.at (Configuring subdirectories): Use configure.in,
7343 so that aclocal 1.4 works.
7344 Reported by Alexandre Duret-Lutz and Larry Schmitt.
7346 2002-01-28 Akim Demaille <akim@epita.fr>
7348 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
7351 2002-01-28 Akim Demaille <akim@epita.fr>
7353 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
7354 AUTOTEST_PATH *after* it was set.
7355 Don't put `.' in the PATH: the user should be precise and `./' if
7356 needed. In addition, given that the test suite does some `cd', if
7357 `.' is in the path, the `tested programs' sections will report
7358 programs found in the test suite's directory, while during the
7359 tests (performed in their own directory), these programs are no
7360 longer visible. In other words, the results is confusing and
7362 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
7364 2002-01-24 Akim Demaille <akim@epita.fr>
7368 2002-01-24 Akim Demaille <akim@epita.fr>
7370 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
7371 * doc/autoconf.texi: Finally add Akim as an author.
7373 2002-01-24 Akim Demaille <akim@epita.fr>
7375 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
7376 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
7377 Bourne. Use /bin/sh.
7378 From Andreas Buening.
7380 2002-01-24 Akim Demaille <akim@epita.fr>
7382 * config/config.guess, config/config.sub, config/texinfo.tex:
7383 Update from masters.
7385 2002-01-24 Akim Demaille <akim@epita.fr>
7387 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
7388 * config/auxdir.m4, config/cond.m4, config/depend.m4,
7389 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
7390 * config/missing.m4, config/sanity.m4, config/select.m4,
7391 * config/strip.m4: Remove, to ease sync'ing with any version of
7394 2002-01-24 Akim Demaille <akim@epita.fr>
7396 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
7397 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
7398 Reported by Geir Ove Myhr.
7400 2002-01-21 Akim Demaille <akim@epita.fr>
7402 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
7404 2002-01-21 Akim Demaille <akim@epita.fr>
7406 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
7407 message on invalid options.
7408 * bin/autom4te.in (parse_args): Don't use
7409 Autoconf::General::getopt with non valid options.
7411 2002-01-17 Jim Meyering <meyering@lucent.com>
7413 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
7414 $ac_cv_exeext so we don't use an old, invalid, cached value.
7416 2002-01-11 Akim Demaille <akim@epita.fr>
7418 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
7420 * doc/autoconf.texi (Function Portability): Document the strnlen
7422 (Particular Functions): Document AC_FUNC_STRNLEN.
7423 * lib/autoscan/functions: Adjust.
7425 2002-01-06 Akim Demaille <akim@epita.fr>
7427 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
7428 package.m4, since is really depends upon configure.ac, not
7430 * doc/autoconf.texi (testsuite Scripts): Adjust.
7431 * tests/Makefile.am (package.m4): New.
7432 EXTRA_DIST it since its a source.
7434 2002-01-06 Akim Demaille <akim@epita.fr>
7436 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
7437 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
7438 and PACKAGE_BUGREPORT from here...
7439 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
7441 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
7442 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
7443 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
7444 * tests/tools.at (autoheader): Adjust.
7445 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
7447 2002-01-06 Akim Demaille <akim@epita.fr>
7449 * bin/autoscan.in (scan_file): Use `&used'.
7451 2002-01-03 Akim Demaille <akim@epita.fr>
7453 * doc/autoconf.texi (Output): Improved wording regarding use of
7457 2001-12-18 Kevin Ryde <user42@zip.com.au>
7459 * doc/autoconf.texi (Function Portability): Add notes on sscanf
7460 sometimes needing writable input.
7462 2001-12-17 Jim Meyering <meyering@lucent.com>
7464 * doc/autoconf.texi (New Macros): Tweak wording.
7466 2001-12-14 Akim Demaille <akim@epita.fr>
7468 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
7469 trailing files, don't apply `-rf' to files which might not be
7470 created by configure (core, core.*, and *.core), but just `rm -f'.
7471 Suggested by Jonathan Kamens.
7473 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
7475 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
7477 2001-12-14 Akim Demaille <akim@epita.fr>
7479 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
7481 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
7483 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
7484 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
7485 abs_srcdir, top_srcpath to abs_top_srcdir.
7486 (_AC_OUTPUT_FILES): Adjust.
7487 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
7488 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
7489 * tests/wrappl.in, tests/wrapsh.in: Adjust.
7491 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
7493 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
7494 C/Fortran linking on HP/UX, by extracting the Fortran library
7495 search path from the LPATH line in the $F77 -v output.
7497 2001-12-12 Kevin Ryde <user42@zip.com.au>
7499 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
7500 forbidden file descriptors table.
7502 2001-11-26 Akim Demaille <akim@epita.fr>
7504 * bin/autoscan.in (%c_keywords): Build it at top level.
7505 Map to 1 in order to simplify its uses.
7507 2001-11-26 Akim Demaille <akim@epita.fr>
7509 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
7510 Remove $filepath, useless.
7511 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
7512 variables, they are really part of the tokens.
7513 Split the input line on spaces and then look for tokens.
7514 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
7515 because of `lex$U.$(OBJEXT)'.
7516 (&scan_files): Use "@list" instead of join.
7517 * doc/Makefile.am (CLEANFILES): Add *.fns.
7519 2001-11-26 Akim Demaille <akim@epita.fr>
7521 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
7522 Remove, replaced by...
7523 * tests/wrappl.in: Be common for all the Perl executables.
7524 In particular autoscan and autoheader want -I.
7525 * configure.ac: Adjust.
7526 * lib/autoscan/headers: errno.h is portable.
7528 2001-11-26 Akim Demaille <akim@epita.fr>
7530 * bin/autoscan.in (used): New.
7533 2001-11-26 Akim Demaille <akim@epita.fr>
7535 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
7537 (&scan_sh_file): Remove a duplicate pattern.
7538 (&check_configure_ac): Use long options.
7539 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
7541 2001-11-26 Akim Demaille <akim@epita.fr>
7543 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
7544 Before, having a line containing the opening of a multi line
7545 comment made the whole line be ignored.
7547 2001-11-26 Akim Demaille <akim@epita.fr>
7549 * doc/autoconf.texi (Using an Autotest Test Suite): New.
7550 (testsuite Scripts): Be one of its subsection.
7551 (Autotest Logs): New.
7553 2001-11-26 Akim Demaille <akim@epita.fr>
7555 Test groups are now run two directories deeper.
7557 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
7558 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
7560 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
7561 top_srcdir, builddir and top_builddir.
7562 Use `at_*dir' relatively to the directory containing the
7563 suite, use `*dir' when relatively to the current group dir.
7565 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
7567 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
7568 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
7569 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
7572 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7574 * doc/autoconf.texi (Using System Type): Add an example of `case
7575 $host' usage so people quit using `case $target' everywhere.
7577 2001-11-22 Akim Demaille <akim@epita.fr>
7579 * doc/autoconf.texi (Installation Directory Variables): Englishoes
7580 spotted by Jim Meyering.
7582 2001-11-16 Paul Eggert <eggert@twinsun.com>
7584 This patch implements a `long double' suggestion by Oliver Kiddle.
7586 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
7587 static, to catch errors if the value isn't known at compile-time
7588 and the compiler supports dynamic arrays. Change its name from
7589 `_array_' to `test_array' to avoid potential name clashes.
7590 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
7591 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
7592 better than double. Catch a bug in GCC 2.95.2 x86.
7593 * doc/autoconf.texi (C Compiler): Document the above.
7596 2001-11-13 Akim Demaille <akim@epita.fr>
7598 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
7600 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
7602 2001-11-13 Akim Demaille <akim@epita.fr>
7604 * lib/autotest/general.m4 (AT_INIT): After having run the test
7605 group, go back to the initial directory, not to at_suite_dir.
7607 2001-11-13 Akim Demaille <akim@epita.fr>
7609 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
7610 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
7611 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
7613 (AT_CHECK_CONFIGURE): Use absolute paths.
7614 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
7615 The problem is still the old one: there is no means in M4 (that I
7616 know about) to create a defining macro, because there is no means
7617 to create `$1' etc., therefore, the defining macro ``swallows''
7618 all the arguments meant to the defined macro.
7620 2001-11-13 Akim Demaille <akim@epita.fr>
7622 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
7623 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
7625 * tests/aclocal.m4: Remove, as it is no longer used.
7627 2001-11-13 Akim Demaille <akim@epita.fr>
7629 * lib/autotest/general.m4: Change `tests?' into `groups?' in
7630 variable names when referring to a single test group, or to
7631 `suite' when referring to the whole test suite.
7632 `at_last_test' is removed: m4 compute at_format itself.
7633 (at_stdout, at_stder1, at_stderr): New variables.
7634 (AT_CHECK): Use them.
7636 2001-11-13 Akim Demaille <akim@epita.fr>
7638 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
7640 Create `testsuite.dir/003/run' instead of `testsuite.003'.
7641 Do it as soon as a test fails, don't wait till the end of the test
7643 Don't remove $as_me.[0-9]*, since these files no longer exist.
7645 2001-11-13 Akim Demaille <akim@epita.fr>
7647 * tests/tools.at: Use absolute paths, since we are no longer run
7650 2001-11-13 Akim Demaille <akim@epita.fr>
7652 Now that tests are running in their own private dir, there is no
7653 need to list the files to remove at the end of tests groups.
7655 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
7656 (AT_data_files, at_data_files): Remove.
7657 (AT_CLEANUP, AT_DATA): Simplify.
7659 Remove the group dir if !debug && !failed.
7660 * tests/atspecific.m4: Adjust.
7662 2001-11-13 Akim Demaille <akim@epita.fr>
7664 Start a new layout for Autotest: `testsuite' creates
7665 `testsuite.dir' in which the at-check-line etc. files are to be
7666 found, and `testsuite.dir/003' where the test group 3 is run.
7668 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
7669 at_check_line_file, at_format, at_test_normalized, at_group_dir
7671 Create the directories.
7672 Use absolute paths for at- files.
7675 2001-11-11 Michael Matz <matz@kde.org>
7677 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
7679 (m4_car): Properly quote arguments.
7681 2001-11-13 Akim Demaille <akim@epita.fr>
7683 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
7684 with stricter rules on LIBOBJS.
7686 2001-11-12 Paul Eggert <eggert@twinsun.com>
7688 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
7689 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
7692 2001-11-12 Akim Demaille <akim@epita.fr>
7694 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
7696 2001-11-12 Akim Demaille <akim@epita.fr>
7698 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7699 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
7700 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7701 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7702 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
7703 specify to what the macro should be defined (typically to 1).
7705 2001-11-12 Akim Demaille <akim@epita.fr>
7707 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
7710 2001-11-12 Akim Demaille <akim@epita.fr>
7712 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7713 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
7714 definition used by Automake where LEX is +/- "${missing} lex" and
7715 `missing' itself contains variables.
7717 2001-11-12 Akim Demaille <akim@epita.fr>
7719 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
7720 Now that M4sh pushes BODY, the comments were output at the end of
7723 2001-11-08 Akim Demaille <akim@epita.fr>
7725 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
7726 that we can trace macros from aclocal.m4.
7727 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
7728 obsoleted, and redirect to the former anyway.
7729 Reported by Ralf Corsepius.
7731 2001-11-08 Akim Demaille <akim@epita.fr>
7733 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
7734 processed only if present.
7735 * tests/torture.at (Configuring subdirectories): Use autoreconf
7736 instead of successive calls to autoconf.
7737 Add a nonexistent subdirectory to exercise the patch above.
7738 Reported by Ralf Corsepius.
7740 2001-11-08 Kevin Ryde <user42@zip.com.au>
7742 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
7743 doesn't accept .S files.
7745 2001-11-07 Akim Demaille <akim@epita.fr>
7747 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
7748 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
7749 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
7750 * bin/autom4te.in (warn_forbidden): New.
7751 (handle_output): Use it.
7752 Read m4_pattern_forbid with messages.
7754 2001-11-05 Akim Demaille <akim@epita.fr>
7756 * bin/autom4te.in (--normalize): Remove.
7757 * lib/autom4te.in: Adjust.
7759 2001-11-05 Akim Demaille <akim@epita.fr>
7761 * tests/Makefile.am (testsuite): Rename this target as...
7762 ($(TESTSUITE)): this.
7765 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
7767 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
7768 the --prefix option, also remove it's argument.
7770 2001-11-05 Akim Demaille <akim@epita.fr>
7772 * doc/autoconf.texi (testsuite Invocation): Update.
7773 (Writing testsuite.at): Update.
7775 2001-11-03 Akim Demaille <akim@epita.fr>
7777 * doc/autoconf.texi: s/@code/@command/ where appropriate.
7779 2001-11-03 Akim Demaille <akim@epita.fr>
7781 * lib/Autom4te/General.pm: (&catfile, &canonfile)
7782 (&file_name_is_absolute): New, wrappers around routines from
7784 Use and export them.
7785 (&find_configure_ac): Optionally take a directory where to look at.
7786 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
7788 Default @ARGV to `.', not find_configure_ac.
7789 (&autoreconf): Argument is a directory.
7790 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
7791 * doc/autoconf.texi (autoreconf Invocation): Update.
7793 2001-11-03 Akim Demaille <akim@epita.fr>
7795 * lib/Autom4te/General.pm (@export_vars, @export_subs)
7796 (@export_forward_subs): New.
7797 Add basename, dirname, and fileparse.
7799 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
7800 Don't look for aclocal flags if we already know aclocal is not
7802 Move aclocal.m4t only if it exists.
7803 Reported by Ezra Peisach.
7805 2001-11-03 Akim Demaille <akim@epita.fr>
7807 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
7808 passed on command line, defaulting to ./configure.ac if present.
7809 (&maybe_autoreconf, File::Find): Remove, unused.
7810 (&autoreconf): If autoconf is not used, don't try to trace.
7812 2001-11-02 Akim Demaille <akim@epita.fr>
7814 * configure.ac: Bump to 2.52g.
7816 2001-11-02 Akim Demaille <akim@epita.fr>
7820 2001-11-02 Akim Demaille <akim@epita.fr>
7822 * config/config.guess, config/config.sub, doc/standards.texi:
7823 * config/lispdir.m4: Update from masters.
7824 * configure.ac: Bump to 2.52f.
7826 2001-11-02 Akim Demaille <akim@epita.fr>
7828 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
7829 Don't run aclocal when aclocal.m4 is not from aclocal.
7831 Don't run libtoolize and gettextize if --install is not given.
7833 2001-11-01 Paul Eggert <eggert@twinsun.com>
7835 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
7836 be invoked before _AS_LINENO_PREPARE.
7837 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
7838 than character ranges.
7840 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
7841 invoking AS_BASENAME. Set the locale variables to 'C' if
7842 possible, as POSIX requires this to get the traditional
7844 * doc/autoconf.texi (Special Shell Variables): Describe the above.
7846 2001-10-31 Paul Eggert <eggert@twinsun.com>
7848 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
7849 with {}, as that triggers a bug in Bash 2.05.
7851 (_AS_LINENO_PREPARE): Use Sed rather than
7852 Awk. Fix the sed prepass to work even if there are multiple
7853 instances of $LINENO on the same line. Do not substitute for
7854 other variables like $LINENOT. Do not check file dates; such a
7855 check is unreliable on sufficiently fast machines, and removing
7856 the check makes the code simpler and more reliable. Check for
7857 output and chmod failures.
7859 * doc/autoconf.texi (Special Shell Variables): Document
7862 2001-10-31 Akim Demaille <akim@epita.fr>
7864 * tests/Makefile.am (atconfig): Remove this target, Automake
7867 2001-10-31 Akim Demaille <akim@epita.fr>
7869 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
7870 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
7871 provided, while it is optional.
7872 * configure.ac: Adjust.
7874 2001-10-26 Paul Eggert <eggert@twinsun.com>
7876 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
7877 lib/Autom4te/Struct.pm:
7878 Require Perl 5.005_03 instead of just 5.005, as some tests fail
7881 * doc/autoconf.texi (Special Shell Variables): Document some
7882 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
7884 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
7885 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
7886 eval $LINENO is not portable in practice.
7888 2001-10-24 Akim Demaille <akim@epita.fr>
7890 * lib/Autom4te/General.pm (backname): New.
7892 2001-10-24 Akim Demaille <akim@epita.fr>
7894 * m4/: Remove, merged into...
7897 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
7899 * doc/autoconf.texi (Shellology): Mention the problems with bash
7900 2.05's use of ANSI quoting in its `set' builtin.
7902 2001-10-22 Paul Eggert <eggert@twinsun.com>
7904 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
7905 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
7906 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
7907 POSIX decided to standardize on the int flavor of strerror_r.
7908 Always do char* test, as there's no reason not to.
7909 Assign to a char* var, to catch strerror_r that returns int*.
7911 * doc/autoconf.texi (Particular Functions):
7912 Document the above changes. Also, document the fact that
7913 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
7915 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
7917 2001-10-20 Akim Demaille <akim@epita.fr>
7919 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
7920 the executable was missing from the log.
7922 2001-10-20 Akim Demaille <akim@epita.fr>
7924 * lib/Autom4te/General.pm (&update_file): If destination is
7925 unchanged, remove the source.
7926 (&up_to_date_p): Don't be verbose, be debug.
7927 * bin/autoreconf.in: No longer support --m4dir.
7928 (&autoreconf): Display the full path of the configure.ac we are
7931 Be sure to honor --force with gettextize.
7933 * doc/autoconf.texi: Adjust.
7935 2001-10-20 Akim Demaille <akim@epita.fr>
7937 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
7939 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
7940 `intl' is already present, as it refuses unless --force.
7941 (&parse_args): Use -I, --include instead of the old Autoconf
7943 ($localdir, $autoconf_dir): Remove.
7945 (&maybe_autoreconf): New, to preserve $_ for File::Find.
7947 2001-10-19 Jens Petersen <petersen@redhat.com>
7949 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
7950 * doc/autoconf.texi (Particular Programs): Likewise.
7952 2001-10-19 Akim Demaille <akim@epita.fr>
7954 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
7955 file in @configure_input@.
7956 Don't mention `automatically' in addition to `generated'.
7957 * tests/torture.at (#define header templates): Adjust.
7959 2001-10-19 Akim Demaille <akim@epita.fr>
7961 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
7962 comment, explain how to install automatic mode selection.
7965 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
7967 * bin/autoreconf.in (autoreconf): Display the path to the
7968 configure.ac being studied.
7970 2001-10-18 Paul Eggert <eggert@twinsun.com>
7972 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
7973 long, to work around a bug in the HP C compiler version HP92453-01
7976 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
7977 (AS_BASENAME_EXPR): New macro.
7978 (AS_BASENAME_SED): Do not assume GNU sed semantics.
7979 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
7980 and fall back on 'sed' only if the other two fail. This makes
7981 AS_BASENAME act more like AS_DIRNAME.
7982 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
7983 contains white space.
7984 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
7985 Use AS_DIRNAME, since I think it's now DOS-friendly.
7986 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
7987 Allow "dirname //FOO" to return either / or //, as POSIX allows
7990 2001-10-10 Akim Demaille <akim@epita.fr>
7992 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
7993 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
7996 2001-10-10 Akim Demaille <akim@epita.fr>
7998 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
8000 (_AS_ECHO_N): AS_REQUIREs it.
8002 2001-10-10 Akim Demaille <akim@epita.fr>
8004 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
8005 (AC_INCLUDES_DEFAULT): Move to...
8006 * lib/autoconf/headers.m4: here.
8007 * lib/autoconf/types.m4: Comment changes.
8008 * doc/autoconf.texi: Specify where the default includes are used
8009 in the macro prototypes.
8011 2001-10-09 Akim Demaille <akim@epita.fr>
8013 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
8016 2001-10-08 Akim Demaille <akim@epita.fr>
8018 * bin/autoreconf.in (&autoreconf): Remove debugging code.
8019 (&parse_args): Pass verbosity/debugging options to subtools when
8020 --debug, not when --verbose.
8021 * lib/autom4te.in (Autoreconf-preselections): New.
8024 2001-10-08 Akim Demaille <akim@epita.fr>
8026 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
8028 2001-10-08 Akim Demaille <akim@epita.fr>
8030 * doc/autoconf.texi (autoreconf Invocation): Adjust.
8031 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
8033 2001-10-08 Akim Demaille <akim@epita.fr>
8035 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
8036 (Syntax of the shell scripts): Don't.
8037 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
8038 bother with $force since...
8039 * lib/Autom4te/General.pm: does.
8041 2001-10-08 Akim Demaille <akim@epita.fr>
8043 * bin/autoreconf.in: Rewrite in Perl.
8044 * configure.ac: Adjust.
8045 * lib/Autom4te/General.pm (&up_to_date_p): New.
8046 * bin/autom4te.in (&up_to_date_p): Use it.
8048 (&up_to_date): this.
8050 2001-10-08 Akim Demaille <akim@epita.fr>
8052 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
8053 (m4_list_cmp): Use $0 to reinvoke yourself.
8054 (m4_patsubsts): New.
8055 (m4_strip, m4_version_unletter): Use it.
8056 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
8058 2001-10-08 Akim Demaille <akim@epita.fr>
8060 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
8061 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
8062 * lib/autoconf/types.m4, lib/autotest/general.m4,
8063 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
8064 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
8065 m4_bregexp, m4_bpatsubst, and m4_bmatch.
8066 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
8068 2001-10-08 Akim Demaille <akim@epita.fr>
8070 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
8072 2001-10-08 Akim Demaille <akim@epita.fr>
8074 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
8075 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
8076 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
8077 * tests/tools.at, tests/m4sh.at: Use it.
8078 * tests/m4sh.at: Don't rely on Autoconf macros.
8079 (DIRNAME_TEST): Also exercise the expr variant.
8080 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
8081 preferred M4sugar extension is now `.4s'.
8082 * tests/README: Remove.
8084 2001-10-08 Akim Demaille <akim@epita.fr>
8086 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
8087 (m4_provide_if): this.
8088 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
8089 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
8090 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
8091 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
8093 2001-10-08 Akim Demaille <akim@epita.fr>
8095 Use `add-log-current-defun-function' for ChangeLog creation.
8096 Suggested by Tom Tromey.
8098 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
8099 (autotest-mode): Adjust.
8100 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
8101 'comment-region onto `C-c ;'.
8102 Comments are `#', not `dnl'.
8103 (autoconf-current-defun): New.
8104 (autoconf-font-lock-keywords): Recognize `m4_defun'.
8106 2001-10-08 Akim Demaille <akim@epita.fr>
8108 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
8109 * lib/m4sugar/m4sh.m4: here.
8110 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
8111 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
8112 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
8113 include handle the m4_pattern_*, no longer push the
8114 BODY diversion nor set the /bin/sh line, AS_INIT does it.
8115 * lib/autotest/general.m4 (AT_INIT): Likewise.
8116 * tests/base.at: Adjust the tests to use AS_INIT.
8117 * tests/tools.at (AT_DATA_FORBIDDEN): New.
8118 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
8121 2001-10-07 Paul Eggert <eggert@twinsun.com>
8123 * doc/autoconf.texi (config.status Invocation):
8124 CONFIG_SHELL defaults to a shell that supports LINENO if available.
8126 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
8127 shell does not support LINENO, and if CONFIG_SHELL is unset or
8128 empty, and if we can find a shell that does support LINENO,
8129 then set CONFIG_SHELL to that shell and then re-execute
8130 ourselves with CONFIG_SHELL.
8132 2001-10-05 Paul Eggert <eggert@twinsun.com>
8134 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
8135 doesn't exist. Remove *.tmp, as a .tmp file is created during the
8136 build of $(TESTSUITE).
8138 2001-10-05 Akim Demaille <akim@epita.fr>
8140 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
8141 iff we are a bareword.
8142 Reported by Raja R Harinath.
8144 2001-10-05 Akim Demaille <akim@epita.fr>
8146 * tests/m4sh.at (LINENO): New.
8147 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8148 PATH_SEPARATOR before using it.
8149 Fix the absolute path case/esac pattern.
8150 Provide $0 as fallback for as_myself.
8151 Reported by Raja R Harinath.
8153 2001-10-05 Akim Demaille <akim@epita.fr>
8155 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8156 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8158 2001-10-05 Akim Demaille <akim@epita.fr>
8160 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8161 (AS_SHELL_SANITIZE): here. Use it.
8162 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8165 2001-10-04 Akim Demaille <akim@epita.fr>
8167 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8168 combination of Awk and sed to replace $LINENO.
8170 2001-10-02 Paul Eggert <eggert@twinsun.com>
8172 * doc/autoconf.texi (Limitations of Builtins): You can't use
8173 "source"; it's not portable. Remove confusing and
8174 somewhat-incorrect example involving "." and "/".
8176 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8177 compatibility with POSIX shells.
8179 2001-10-02 Akim Demaille <akim@epita.fr>
8181 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8182 instead of exec'ing to preserve $0 and $@.
8184 2001-10-01 Akim Demaille <akim@epita.fr>
8186 * tests/testsuite (AT_INIT) <at_pass_list>: New.
8187 Don't run twice the same test.
8189 2001-10-01 Akim Demaille <akim@epita.fr>
8191 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8192 No longer output the list of tests.
8193 <--list>: New option.
8194 <--full-help>: Remove.
8195 Complete the short/long options duality.
8196 Various small adjustments.
8198 2001-10-01 Akim Demaille <akim@epita.fr>
8200 * doc/autoconf.texi: Use @kbd for user input.
8201 Always use `$' as shell prompt.
8203 2001-09-30 Paul Eggert <eggert@twinsun.com>
8205 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8206 Don't use nested parenthesization. This patch was originally
8207 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8208 but somehow it didn't get incorporated then.
8209 * doc/autoconf.texi (Limitations of Usual Tools):
8210 Clarify remark about sed and nested parenthesization.
8212 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8213 Report an error if the size cannot be determined even though
8215 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8216 Check for `expr' arithmetic overflow, and for compilation failure,
8217 and invoke a new argument $4 if either is discovered.
8218 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8219 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
8221 2001-09-28 Akim Demaille <akim@epita.fr>
8223 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
8224 * m4/lispdir.m4: New.
8225 * aclocal.m4, configure.ac: Adjust.
8227 2001-09-28 Akim Demaille <akim@epita.fr>
8229 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
8231 (AT_INIT): More the wrapped section to where it will be expanded.
8232 Output `AT_tested' only when existing.
8233 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
8235 2001-09-27 Akim Demaille <akim@epita.fr>
8237 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
8238 generates too many bug reports.
8240 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
8241 status when executing the ACTION-IF-FALSE.
8242 * tests/base.at (AC_TRY_*): Rename as...
8243 (AC_TRY_COMMAND): this.
8244 (AC_RUN_IFELSE): New.
8245 * tests/compile.at (Extensions, C keywords)
8246 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
8247 (Broken/missing compilers, AC_PROG_CPP with warnings)
8248 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
8249 * tests/c.at (Extensions, C keywords)
8250 (Broken/missing compilers, AC_PROG_CPP with warnings)
8251 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
8252 (AC_PROG_CPP requires AC_PROG_CC): here and...
8253 * tests/fortran.at (GNU Fortran 77): there.
8254 * doc/autoconf.texi (autoconf Invocation): Fix the example:
8255 AC_TRY_RUN is about compilation, not shell commands.
8256 (Test Programs): AC_TRY_RUN works as used to be advertised.
8258 2001-09-27 Akim Demaille <akim@epita.fr>
8260 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
8262 Be sure to detect when $LINENO always returns the same value.
8263 Look for the original script, basename($0) is certainly not
8265 Pass the CLI arguments to `$as_me.lineno'.
8267 2001-09-25 Akim Demaille <akim@epita.fr>
8269 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
8270 Be sure the close and reopen the LOG fd before and after using tee
8272 <at_tests_pattern>: Adjust to the new format of at_help_all.
8274 2001-09-23 Akim Demaille <akim@epita.fr>
8276 * bin/autom4te.in (parse_args): There can be several invocations
8279 2001-09-23 Akim Demaille <akim@epita.fr>
8281 * doc/autoconf.texi (Top): Wrap in @ifnottex.
8283 2001-09-23 Akim Demaille <akim@epita.fr>
8285 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
8286 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
8287 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
8288 builddir, buildpath, top_builddir, and top_buildpath.
8289 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
8290 the current directory.
8291 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
8292 variables *before* changing the current directory.
8293 Skip nonexistent dirs.
8294 * doc/autoconf.texi (Preset Output Variables): Document these
8297 * lib/autotest/general.m4: Do not reset AT_victims.
8298 Don't compute at_srcdir nor at_top_srcdir.
8300 * tests/tools.at: Hence use top_srcdir.
8302 * tests/Makefile.am, tests/autoconf, tests/autoheader,
8303 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
8305 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
8306 * tests/wrapsh.in, tests/autoupdate.in: New.
8307 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
8308 * configure.ac: Build the position independent wrappers.
8310 * man/Makefile.am: Now that test wrappers are position
8311 independent, use them and drop dark envvar magic.
8313 2001-09-23 Akim Demaille <akim@epita.fr>
8315 * doc/autoconf.texi (Common Shell Constructs): Rename as...
8316 (Programming in M4sh): this.
8317 Promote to @section.
8319 2001-09-23 Akim Demaille <akim@epita.fr>
8321 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
8322 Pass $at_debug_args to the rerun test suite.
8323 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
8324 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
8327 2001-09-23 Akim Demaille <akim@epita.fr>
8329 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
8331 2001-09-23 Akim Demaille <akim@epita.fr>
8333 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
8336 2001-09-23 Akim Demaille <akim@epita.fr>
8338 * lib/Autom4te/General.pm (&debug): New.
8339 * bin/autom4te.in ($language): Move to...
8341 Handle --language in languages.
8342 * lib/autom4te.in (Automake-selections, Autoheader-selections)
8343 (Autoscan-selections): New.
8346 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
8348 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
8349 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
8350 to match current versions from CVS Automake.
8352 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
8354 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
8357 2001-09-22 Akim Demaille <akim@epita.fr>
8359 * lib/autoconf/autotest.m4: Create `package.m4'.
8360 * tests/Makefile.am (package.m4): Remove.
8362 2001-09-22 Akim Demaille <akim@epita.fr>
8364 Rely on `$LINENO' when possible instead of `__oline__'.
8366 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
8367 `$LINENO' support replacement when not supported.
8368 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
8369 them explicitly to be sure they are not output before this section
8370 (via m4_require). Cosmetic only.
8371 * lib/autoconf/c.m4, lib/autoconf/general.m4,
8372 * lib/autoconf/programs.m4: Replace all the occurrences of
8373 `__oline__' with `$LINENO'.
8374 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
8376 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
8378 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
8379 character (u: -> ue) in a code comment.
8380 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
8383 2001-09-21 Akim Demaille <akim@epita.fr>
8385 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
8386 Suggested by Jim Meyering.
8388 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8390 * lib/autoconf/programs.m4: Use extensions listed in
8391 $ac_executable_extensions when looking for programs.
8393 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8395 * lib/autoconf/general.m4: Fix a small Englisho.
8396 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
8397 setting up ac_dir_suffix and ac_top_builddir.
8398 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
8400 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8402 * doc/autoconf.texi (File System Conventions): Clarify the use of
8404 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
8405 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
8406 be used instead of ':'.
8407 * lib/autotest/general.m4: Replace occurrences of ':' in
8408 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
8410 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8412 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
8413 arguments. Fixed a typo.
8415 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8417 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
8418 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
8420 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8422 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
8423 * bin/autoupdate.in: Ditto.
8424 * bin/autoheader.in: Reworded a few comments.
8425 * bin/autoconf.in: Reworded help text for a few options.
8426 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8427 * bin/autoscan.in, bin/autoupdate.in: Ditto.
8429 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8431 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
8432 already have $file). Set output files to binary mode (helps avoid
8433 CR issues on DOSish systems).
8435 2001-09-19 Akim Demaille <akim@epita.fr>
8437 * lib/autotest/general.m4: Englishoes.
8438 From Tim Van Holder and Alexey Mahotkin.
8440 2001-09-18 Paul Eggert <eggert@twinsun.com>
8442 * doc/autoconf.texi (Common Shell Constructs): New node,
8443 documenting AS_DIRNAME.
8444 (Limitations of Usual Tools): Refer to it when discussing dirname.
8445 Also, update discussion of POSIX standard to reflect latest draft.
8447 * lib/autoconf/c.m4:
8448 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
8450 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8451 Do not pass a first argument with leading '-'
8452 to expr, by parenthesizing initial integers that might be negative.
8454 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
8455 now merely checks whether it is an error to pass an argument
8458 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
8459 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
8460 whether it is a (compile-time) error to pass an argument to
8461 getpgrp. This simpler test supports the revised documentation,
8462 and is all that AC_FUNC_GETPGRP's users really need.
8464 2001-09-18 Akim Demaille <akim@epita.fr>
8466 * doc/autoconf.texi (Limitations of Make) <$<>: New.
8468 2001-09-18 Akim Demaille <akim@epita.fr>
8470 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
8472 * lib/autotest/general.m4 (AT_INIT): Adjust.
8474 2001-09-18 Paul Wagland <paul@wagland.net>
8476 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
8478 Add test for AS_BASENAME.
8479 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
8480 added test. It now correctly handles /1/2/3/, returning '3' not ''.
8481 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
8482 * tests/base.at: Fixed the expected responses. The old ones were
8484 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
8485 the documentation claims it should (and how it behaved in 2.13).
8487 2001-09-18 Akim Demaille <akim@epita.fr>
8489 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
8490 the AC_CONFIG_COMMANDS invocation.
8491 This also solves the name clash problems.
8492 Don't set the package's ID.
8493 * lib/m4sugar/Makefile.am (version.m4): Revamp.
8494 No longer to be shipped.
8495 (version.in): Remove.
8496 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
8497 * lib/autoconf/status.m4: Adjust.
8498 Use `m4_PACKAGE_STRING'.
8499 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
8500 the only optional argument is the name of the test suite.
8501 Expect `package.m4' to define the package signature.
8502 * lib/autom4te.in (Autotest): Add `package.m4?'.
8503 * tests/Makefile.am (package.m4): New.
8504 * tests/suite.at: ifnames is a victim.
8506 2001-09-18 Akim Demaille <akim@epita.fr>
8508 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
8509 AC_LIBSOURCE, AC_CONFIG_FILES.
8510 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
8511 program version string doesn't match the package's.
8512 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
8515 2001-09-17 Paul Eggert <eggert@twinsun.com>
8517 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8518 Allow expression to return any value that can fit into unsigned long
8519 (not int, as before). Check for output errors.
8521 2001-09-17 Bruno Haible <haible@ilog.fr>
8523 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8524 Always include <stdio.h> and <stdlib.h>. Evaluate
8525 the expression in an extra function before these includes. Call
8526 fprintf "%d" only after ensuring the argument is of type 'int'.
8527 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
8529 2001-09-17 Paul Eggert <eggert@twinsun.com>
8531 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
8532 or CFLAGS=-O5. In that case, the linker has a relaxed view of
8533 fatal errors, and AC_CHECK_LIB causes it to include libraries even
8534 when they don't exist.
8536 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
8537 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
8540 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
8541 version with the version used by fileutils 4.1, except use
8542 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
8545 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
8547 2001-09-13 Akim Demaille <akim@epita.fr>
8549 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
8551 Reported by Gerrit P. Haase.
8553 2001-09-13 Akim Demaille <akim@epita.fr>
8555 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
8556 m4_defn'ing is valid.
8558 2001-09-13 Akim Demaille <akim@epita.fr>
8560 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
8561 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
8564 2001-09-13 Akim Demaille <akim@epita.fr>
8566 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
8568 (m4_re_escape): New.
8569 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
8570 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
8571 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
8573 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
8574 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
8575 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
8576 AT_tests_all for consistency.
8578 (AT_VICTIMS): Similar to AT_KEYWORDS.
8579 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
8581 2001-09-13 Akim Demaille <akim@epita.fr>
8583 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
8585 2001-09-13 Akim Demaille <akim@epita.fr>
8587 * lib/autotest/general.m4 (AT_INIT): Create and remove
8588 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
8589 test suites can cohabit.
8591 2001-09-13 Akim Demaille <akim@epita.fr>
8593 * tests/mktests.sh: Don't output banners for empty test files.
8595 2001-09-13 Akim Demaille <akim@epita.fr>
8597 Test suites can be run independently of configure.
8599 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
8600 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
8601 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
8603 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
8605 * lib/autotest/general.m4: Use ECHO_*.
8607 2001-09-13 Akim Demaille <akim@epita.fr>
8609 * bin/ifnames.in: Rewrite in Perl.
8610 * configure.ac: Don't look for AWK.
8611 * tests/tools.at (AWK portability): Remove.
8612 (Syntax of the shell scripts): Don't check ifnames.
8613 (AT_CHECK_PERL_SYNTAX): New.
8614 (Syntax of the Perl scripts): Check ifnames.
8615 * tests/ifnames: New.
8617 2001-09-13 Akim Demaille <akim@epita.fr>
8619 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
8621 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
8622 Remove all the other keywords.
8624 2001-09-10 Akim Demaille <akim@epita.fr>
8626 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
8627 SETUP: no longer used.
8628 Support -k, --keywords.
8629 <at_help>: Be `no', `short', or `long'.
8630 <at_help_all>: New variable.
8632 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
8633 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
8634 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
8635 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
8636 No longer fill the HELP diversion.
8637 (AT_CLEANUP): Use them.
8638 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
8639 (m4_list_append): Remove.
8641 Spread a few keywords in the Autoconf test suite.
8643 2001-09-10 Akim Demaille <akim@epita.fr>
8645 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
8646 PATH_SEPARATOR, let M4sh compute it.
8647 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
8648 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
8650 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
8651 Simplify when the path is not a literal.
8652 (AS_UNAME): Use it to report PATH.
8653 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
8654 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
8655 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
8656 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
8657 normalize the path, and to look for victims.
8658 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
8659 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
8661 2001-09-07 Akim Demaille <akim@epita.fr>
8663 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
8664 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
8665 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
8666 related variables into `at_package_*'.
8667 * lib/autotest/general.m4 (AT_VICTIMS): New.
8668 (AT_INIT): Adjust for stand-alone/embedded test suites.
8669 (AS_MESSAGE_LOG_FD): Define and use it.
8670 * tests/suite.at (AT_VICTIMS): Use it.
8671 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
8674 2001-09-07 Akim Demaille <akim@epita.fr>
8676 Move toward possibly stand-alone test suites.
8678 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
8679 in addition, it introduces useless differences in logs.
8680 (AT_INIT): Let atconfig and atlocal be both optional.
8681 Adjust PATH computation.
8682 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
8684 2001-09-07 Akim Demaille <akim@epita.fr>
8686 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
8689 2001-09-05 Akim Demaille <akim@epita.fr>
8691 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
8692 to avoid GCC warnings.
8695 2001-09-05 Akim Demaille <akim@epita.fr>
8697 * bin/autom4te.in: --language is -l, not -s.
8699 2001-09-05 Akim Demaille <akim@epita.fr>
8701 Be ready to handle filenames as stupid as `dnl.at', for if even
8702 the maintainer is dumb enough to do that...
8704 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
8705 excellence in M4 quotation: consider `__file__' is active.
8707 And BTW, when invoking m4, pass the --include in the right order:
8710 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
8713 2001-09-05 Akim Demaille <akim@epita.fr>
8715 * lib/Autom4te/XFile.pm: New lib file.
8716 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
8717 * bin/autoheader.in: Use it.
8719 2001-09-05 Akim Demaille <akim@epita.fr>
8721 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
8724 2001-09-05 Akim Demaille <akim@epita.fr>
8726 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
8727 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
8729 * bin/autoscan.in: Use `getopt' and `find_files' etc.
8730 Add -I, --include support.
8731 * doc/autoconf.texi (autoscan Invocation): Adjust.
8733 2001-09-05 Akim Demaille <akim@epita.fr>
8735 CVS GNU M4 doesn't like `undefine(undefined)'.
8737 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
8738 New, extracted from main.
8739 Use IO::File wherever possible.
8740 (input.m4): Be constant, use -I instead of hard coding $tmp.
8741 Therefore be a quoted heredoc.
8742 Don't invoke `_au_disable', since ac was not loaded, but just
8745 2001-08-31 Akim Demaille <akim@epita.fr>
8749 2001-08-31 Akim Demaille <akim@epita.fr>
8751 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
8753 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
8755 2001-08-31 Akim Demaille <akim@epita.fr>
8757 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
8758 serious problems handling heredocs in heredocs.
8759 Reported by Nicolas Joly.
8761 2001-08-31 Akim Demaille <akim@epita.fr>
8763 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
8764 (Making testsuite Scripts): Update.
8766 2001-08-31 Akim Demaille <akim@epita.fr>
8768 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
8770 2001-08-31 Akim Demaille <akim@epita.fr>
8772 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
8773 (testsuite Scripts): There is no such thing as `atconfig.in'.
8774 And actually one diagram is missing: test suite runtime.
8776 2001-08-31 Akim Demaille <akim@epita.fr>
8778 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
8781 2001-08-31 Akim Demaille <akim@epita.fr>
8783 * bin/autoupdate.in (@include): `installcheck' revealed the path
8784 to m4sugar was lacking!
8786 2001-08-31 Akim Demaille <akim@epita.fr>
8788 * man/Makefile.am (.x.1): We really have to pass
8789 autom4te_perllibdir.
8791 2001-08-31 Akim Demaille <akim@epita.fr>
8793 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
8794 debug scripts, in particular passing explicitly listed tests to
8797 2001-08-31 Akim Demaille <akim@epita.fr>
8799 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
8800 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
8801 Use directly autom4te, not autoconf.
8802 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
8804 2001-08-31 Akim Demaille <akim@epita.fr>
8806 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
8807 * bin/autoheader.in (%symbol): Strip arguments of macros.
8809 2001-08-31 Akim Demaille <akim@epita.fr>
8811 * doc/autoconf.texi: Catch up -I, --include changes.
8813 2001-08-31 Akim Demaille <akim@epita.fr>
8815 * bin/autom4te.in (&parse_args): Die on unknown languages.
8816 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
8818 Promote --include over --macrodir and other obsolete options.
8820 2001-08-31 Akim Demaille <akim@epita.fr>
8822 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
8823 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
8824 * bin/autom4te.in ($autoconf): Pass --force.
8825 `print $out' doesn't print `$_' but `$out'.
8826 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
8827 (autoheader): Pass --force since the test suite goes too fast for
8829 Adjust to the new autoheader messages.
8831 2001-08-31 Akim Demaille <akim@epita.fr>
8833 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
8834 Check the completeness of the #template.
8835 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
8836 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
8839 2001-08-31 Akim Demaille <akim@epita.fr>
8841 * lib/Autom4te/General.pm (&find_file, &update_file): New.
8842 * bin/autoupdate.in, bin/autoheader.in: Adjust.
8843 Drop AC_MACRODIR dead for real.
8844 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
8845 `autoheader: `config.hin' is created'.
8846 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
8848 2001-08-31 Akim Demaille <akim@epita.fr>
8850 * bin/autoheader.in: Rewrite in Perl.
8851 * tests/autoheader: Adjust.
8853 2001-08-31 Akim Demaille <akim@epita.fr>
8855 * bin/autoconf.in (--include, -I): New option.
8856 Map --localdir, --autoconf-dir onto it.
8857 Forward autom4te's options instead of interpreting them.
8858 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
8859 There is no such envvar since the inception of autom4te.cfg.
8860 * bin/autom4te.in (&parse_args): Uniquify `@include'.
8861 * bin/autoupdate.in: Adjust, and perform more control.
8862 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
8863 * tests/autoconf: Dittowise.
8865 2001-08-31 Akim Demaille <akim@epita.fr>
8867 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
8868 * bin/autom4te.in (&find_file): Support `FILE?' standing for
8870 Use -e, not -f, since /dev/null for instance is OK.
8871 (&parse_args): Adjust.
8872 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
8874 2001-08-31 Akim Demaille <akim@epita.fr>
8876 * configure.ac: Also find tested executables in bin.
8877 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
8878 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
8879 installed peer executables, only PATH is allowed to resolve it.
8880 Pass `autoconf_dir' via options, not via invisible envvars.
8881 * lib/Autom4te/General.pm (&find_peer): Remove.
8882 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
8883 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
8884 * man/Makefile.am: Let help2man rely on PATH instead of trying to
8885 find the executables for it.
8886 * tests/Makefile.am: Major cleanup. Too lazy to document...
8887 * tests/atlocal.in: Remove all the obscure envvar manipulations.
8889 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
8890 indeed related to running the test suite, while passing
8891 --autoconf-dir and others is related to running non installed
8892 Autoconf executables. So don't do that, leave it to...
8893 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
8894 * tests/autoscan: New.
8895 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
8896 refer to library files: rely on --language.
8898 2001-08-29 Akim Demaille <akim@epita.fr>
8900 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
8901 s/--set/--language/.
8903 2001-08-29 Akim Demaille <akim@epita.fr>
8905 * doc/autoconf.texi: Strip the @nodes.
8906 Suggested by Paul Eggert.
8907 (Initializing configure): Typo.
8909 2001-08-29 Akim Demaille <akim@epita.fr>
8911 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
8912 Suggested by Paul Eggert.
8914 2001-08-29 Akim Demaille <akim@epita.fr>
8916 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
8917 download in a tmp dir.
8919 2001-08-29 Akim Demaille <akim@epita.fr>
8921 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
8922 case insensitive OSes out there :(
8923 From Tim Van Holder.
8925 2001-08-29 Akim Demaille <akim@epita.fr>
8927 * lib/autom4te.in: New.
8928 * lib/Makefile.am (edit, autom4te.cfg): New.
8929 * bin/autom4te.in (BEGIN): Simplify.
8930 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
8931 (&load_configuration): New. Use it.
8932 (&parse_args): Support --mode, --set, and --melt.
8933 * bin/autoconf.in: Simplify and adjust.
8934 * tests/Makefile.am (AUTOMAKE): Use --set.
8935 * tests/atlocal.in: Adjust.
8936 * BUGS: distcheck and check are weak.
8938 2001-08-29 Akim Demaille <akim@epita.fr>
8940 * lib/autotest/general.m4: Use
8941 foo=`(command) 2>/dev/null`
8943 foo=`command` 2>/dev/null
8944 (at-devnull): Rename as...
8946 (--clean): Remove AT-* files too.
8947 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
8948 Reported by Nicolas Joly.
8950 2001-08-28 Akim Demaille <akim@epita.fr>
8952 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
8953 quotes inside single quotes.
8954 Reported by Nicolas Joly.
8956 2001-08-28 Kevin Ryde <user42@zip.com.au>
8958 * doc/autoconf.texi (Function Portability): Mention C right shifts.
8960 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
8962 * lib/autotest/general.m4: Reword some messages.
8963 (AT_INIT): Check for the `times' builtin before using it.
8964 Support test ranges as arguments to the testsuite.
8965 Have -e imply -d as the help text suggested.
8967 2001-08-27 Akim Demaille <akim@epita.fr>
8969 * Makefile.maint: Formatting changes.
8970 (do-po-update, po-update, cvs-update, update): New targets.
8973 2001-08-27 Akim Demaille <akim@epita.fr>
8975 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
8977 Pass it to debug-*.sh scripts.
8978 <AUTOTEST_PATH>: May contain absolute dir names.
8980 2001-08-27 Akim Demaille <akim@epita.fr>
8982 * lib/autotest/general.m4 (AT_INIT): Log the command line.
8983 Support `VAR=VAL' as arguments.
8984 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
8985 may be set via the command line.
8987 2001-08-27 Akim Demaille <akim@epita.fr>
8989 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
8990 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
8991 first the build dirs, then the src dirs.
8992 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
8994 2001-08-27 Akim Demaille <akim@epita.fr>
8996 * lib/autotest/general.m4 (AT_INIT): Output the definition of
8997 at_data_files earlier.
8998 (--clean, -c): New option.
8999 * tests/Makefile.am: Use this option.
9001 2001-08-27 Akim Demaille <akim@epita.fr>
9003 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
9004 `ac_top_builddir' to mimic Automake's vocabulary, which much more
9007 * doc/autoconf.texi (Configuration Actions): Document the vars
9008 available in commands.
9009 Emphasize the risks of collisions in init-cmds.
9011 2001-08-27 Akim Demaille <akim@epita.fr>
9013 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
9014 (Initializing configure): this new node.
9016 2001-08-27 Akim Demaille <akim@epita.fr>
9018 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
9020 2001-08-27 Akim Demaille <akim@epita.fr>
9022 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
9023 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
9025 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
9027 2001-08-27 Akim Demaille <akim@epita.fr>
9029 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
9031 * lib/autoconf/autoheader.m4: this new file.
9032 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
9033 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
9035 * lib/autoconf/autoupdate.m4: this new file.
9037 2001-08-27 Akim Demaille <akim@epita.fr>
9039 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
9040 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
9041 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
9043 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
9044 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
9046 2001-08-27 Akim Demaille <akim@epita.fr>
9048 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
9049 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
9050 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
9051 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
9052 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
9053 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
9054 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
9055 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
9056 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
9057 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
9058 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
9059 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
9060 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
9061 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
9062 (_AC_OUTPUT_SUBDIRS): Move to...
9063 * lib/autoconf/status.m4: this new file.
9064 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
9065 * tests/Makefile.am, tests/suite.at: Adjust.
9067 2001-08-27 Akim Demaille <akim@epita.fr>
9071 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
9072 (AMTAR): Help automake define it.
9073 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
9074 needed, 1.5 can have a macro and a target with the same name.
9075 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
9077 * m4/init.m4, m4/sanity.m4: Update.
9078 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
9079 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
9080 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
9081 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
9083 2001-08-27 Akim Demaille <akim@epita.fr>
9085 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
9087 * lib/autoconf/version.in: Remove.
9088 * lib/m4sugar/version.in: New.
9089 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
9091 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
9092 the name of the directory they're in, instead of the filename,
9093 since version.m4 is now in m4sugar, but m4_acversion must not be
9094 classified as an Autoconf macro.
9095 ($input_m4): Don't qualify the path to m4sugar.
9096 Rather, pass autoconf_dir to m4.
9097 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
9098 * tests/suite.at: Require 2.52c.
9100 2001-08-27 Akim Demaille <akim@epita.fr>
9102 testsuite.log should include config.log.
9104 * lib/autotest/autotest.m4: New.
9105 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
9106 * tests/suite.at : Adjust.
9107 (AT_INIT): Log config.log.
9108 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
9109 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
9110 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
9111 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
9112 of config.log on traps.
9113 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
9114 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
9116 Open the log as soon as possible.
9117 Use the same log introduction as configure's.
9119 2001-08-22 Paul Eggert <eggert@twinsun.com>
9121 * doc/autoconf.texi (Indices): New node.
9122 Move indices out of the top level menu and into this submenu.
9124 2001-08-22 Akim Demaille <akim@epita.fr>
9126 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
9128 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
9130 2001-08-22 Akim Demaille <akim@epita.fr>
9132 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
9133 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
9134 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
9135 * lib/autoconf/programs.m4: here.
9136 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
9137 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
9138 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
9139 * lib/autoconf/programs.m4: here.
9140 (_AC_DECL_YYTEXT): Rename as...
9141 (_AC_PROG_LEX_YYTEXT_DECL): this.
9142 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9143 * tests/Makefile.am, tests/suite.am: Adjust.
9145 2001-08-22 Akim Demaille <akim@epita.fr>
9147 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9149 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9151 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9152 * lib/autoconf/functions.m4: here.
9153 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9154 (AH_CHECK_LIB): Move to...
9155 * lib/autoconf/libs: this new file.
9156 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9157 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9158 * lib/autoconf/libs.m4: here.
9159 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9161 2001-08-22 Akim Demaille <akim@epita.fr>
9163 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9164 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9165 (AC_SITE_LOAD): Better logging of config.site.
9167 2001-08-20 Akim Demaille <akim@epita.fr>
9169 * configure.ac (AT_CONFIG): Fix the path.
9170 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9173 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
9175 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9176 program with AC_LANG_PROGRAM before feeding it to
9177 AC_COMPILE_IFELSE. Cleanup grep usage.
9179 2001-08-20 Akim Demaille <akim@epita.fr>
9181 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9182 * NEWS, README, README-alpha, TODO, tests/README: This package is
9183 `Autoconf', not `autoconf' (the executable).
9185 2001-08-20 Akim Demaille <akim@epita.fr>
9187 Info readers seem to need `Index' in the index node title :(
9189 * doc/autoconf.texi: Reverse the 2001-08-15 change which
9190 simplified index node names.
9192 2001-08-20 Akim Demaille <akim@epita.fr>
9194 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9195 arguments are not literals.
9196 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9197 Specify the output variables, and macros defined.
9199 2001-08-20 Akim Demaille <akim@epita.fr>
9201 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9202 (Examining Syntax) <AC_TRY_COMPILE>
9203 (Examining Libraries) <AC_TRY_LINK>
9204 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9206 Reported by Werner Lemberg.
9208 2001-08-20 Akim Demaille <akim@epita.fr>
9210 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9211 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9212 Load atlocal late enough to dump it in the log.
9213 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9215 2001-08-20 Akim Demaille <akim@epita.fr>
9217 * tests/torture.at (Configuring subdirectories): New test.
9218 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9220 * m4/atconfig.m4: Be sure the let $[0] be expandable.
9221 (top_srcdir): Fix its computation.
9223 2001-08-20 Akim Demaille <akim@epita.fr>
9225 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
9226 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
9228 Create `atconfig' automagically.
9229 Configure atlocal.in if present.
9230 * tests/atconfig.in: Remove.
9231 * tests/atlocal.in: New.
9232 * tests/Makefile.am: Adjust.
9234 2001-08-20 Akim Demaille <akim@epita.fr>
9236 Huh!?!?! There are still some user EOF tags used, which prevents
9237 their use in AC_CONFIG_COMMANDS for instance...
9239 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
9240 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
9241 `_CSEOF', or `_ATEOF', as appropriate.
9242 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
9243 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
9245 2001-08-20 Akim Demaille <akim@epita.fr>
9247 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
9248 * tests/semantics.at, tests/tools.at, tests/torture.at:
9249 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
9251 2001-08-20 Akim Demaille <akim@epita.fr>
9253 Autotest invokes M4sh's initialization.
9255 * lib/autotest/general.m4: Adjust the diversion names.
9256 (AT_INIT): Run AS_INIT.
9257 Use the BINSH diversion to invoke /bin/sh.
9258 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
9259 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
9261 2001-08-20 Akim Demaille <akim@epita.fr>
9263 Let M4sh have its own diversions.
9265 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
9266 (_m4_divert(NOTICE)): Rename as...
9267 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
9268 (_m4_divert(HEADER-COMMENT)): these.
9269 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
9270 (_m4_divert(NOTICE)): New, for Libtool.
9271 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
9272 long ago with `_m4_divert(GROW)'.
9273 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
9275 2001-08-20 Akim Demaille <akim@epita.fr>
9277 * tests/base.at, tests/compile.at, tests/foreign.at,
9278 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
9279 * tests/semantics.at, tests/suite.at, tests/tools.at,
9280 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
9282 2001-08-20 Akim Demaille <akim@epita.fr>
9284 * bin/autom4te.in (handle_output): Handle @__@.
9286 2001-08-20 Akim Demaille <akim@epita.fr>
9288 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
9289 * lib/autotest/general.m4: Adjust the license.
9291 2001-08-17 Paul Eggert <eggert@twinsun.com>
9293 * doc/autoconf.texi (Function Portability): Mention snprintf,
9294 following up on a suggestion by Kevin Ryde.
9296 2001-08-17 Akim Demaille <akim@epita.fr>
9298 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
9299 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
9301 2001-08-17 Akim Demaille <akim@epita.fr>
9303 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
9304 `$0.log' as for projects where testsuite is in src, we'd have
9305 testsuite.log created in src.
9307 2001-08-17 Akim Demaille <akim@epita.fr>
9309 * bin/autom4te.in (&parse_args): Recognize --normalize.
9311 2001-08-17 Akim Demaille <akim@epita.fr>
9313 Start implementing the AC_CHECK_HEADER transition scheme.
9315 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
9316 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
9317 (AC_CHECK_HEADER): Use them.
9319 2001-08-17 Akim Demaille <akim@epita.fr>
9321 * doc/autoconf.texi: Work around Texinfo buglets.
9322 (Transformation Rules): One example is enough, users are expected
9323 to have their brains on. And BTW, use DESTDIR.
9324 (dvar): New macro. Use it.
9326 2001-08-17 Akim Demaille <akim@epita.fr>
9328 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
9329 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
9330 looking for ChangeLogs.
9332 2001-08-17 Akim Demaille <akim@epita.fr>
9334 * bin/autom4te.in: --normalize is a new option.
9335 * bin/autoconf.in: Use it.
9337 2001-08-17 Akim Demaille <akim@epita.fr>
9339 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
9340 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
9342 2001-08-16 Paul Eggert <eggert@twinsun.com>
9344 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
9347 2001-08-15 Akim Demaille <akim@epita.fr>
9349 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
9352 2001-08-15 Akim Demaille <akim@epita.fr>
9354 * doc/autoconf.texi (pr): New index.
9355 (prindex, findex): Use, merge, and output them.
9356 (Environment Variable Index, Output Variable Index)
9357 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
9358 (Autotest Macro Index): Rename as...
9359 (Environment Variables, Output Variables,Preprocessor Symbols)
9360 (Autoconf Macros, M4 Macros, Autotest Macros): these.
9361 * doc/install.texi: Use @command.
9362 (Environment Variables): Rename as...
9363 (Defining Variables): this.
9365 2001-08-15 Akim Demaille <akim@epita.fr>
9367 * doc/autoconf.texi (Function Portability): sprintf's return
9371 2001-08-15 Akim Demaille <akim@epita.fr>
9373 * Makefile.maint (CVS): New.
9374 (local-check): Run changelog-check. last.
9375 (alpha): Don't depend upon local-check, since...
9376 (cvs-dist): depends upon it.
9378 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
9380 * tests/Makefile.am: Use a clean-local rule to remove
9381 autom4te.cache (it's a directory, not a file.
9382 * Makefile.am: Ditto (but maintainer-clean-local).
9384 2001-08-15 Akim Demaille <akim@epita.fr>
9386 * bin/autom4te.in (@m4_warning): New.
9387 (&handle_m4): Use it.
9388 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
9389 warnings are issued at each run.
9390 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
9393 2001-08-15 Akim Demaille <akim@epita.fr>
9395 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
9396 don't waste time running `autoupdate --version' works.
9397 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
9399 2001-08-13 Akim Demaille <akim@epita.fr>
9401 * doc/autoconf.texi (ma): Rename this index as...
9404 2001-08-13 Akim Demaille <akim@epita.fr>
9406 * Makefile.am: Remove dead code and dead comments.
9407 (pdf, html): New targets.
9408 * doc/autoconf.texi (Using Autotest): New chapter.
9409 * doc/Makefile.am (pdf): New targets.
9410 (CLEANFILES): Adjust.
9412 2001-08-13 Akim Demaille <akim@epita.fr>
9414 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
9415 duration of the test suite.
9417 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9419 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
9420 endianness for comparison instead of relying on AT_CHECK_ENV.
9422 2001-08-11 Paul Eggert <eggert@twinsun.com>
9424 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
9425 to the INSTALL file.
9427 2001-08-11 Paul Eggert <eggert@twinsun.com>
9429 * NEWS: The autoconf manual now is distributed under the terms
9430 of the GNU Free Documentation License.
9432 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
9433 Add an appendix "Copying This Manual" for the FDL.
9435 * doc/fdl.texi: New file, from
9436 <http://www.gnu.org/licenses/fdl.texi>.
9438 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
9440 2001-08-10 Paul Eggert <eggert@twinsun.com>
9442 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
9443 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
9444 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
9445 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
9446 m4/sanity.m4, tests/README, tests/aclocal.m4,
9447 tests/atspecific.m4, tests/base.at, tests/compile.at,
9448 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
9449 tests/semantics.at, tests/suite.at, tests/tools.at,
9450 tests/torture.at: Add copyright notice.
9452 * tests/mktests.sh: Update year in copyright notice.
9454 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9456 * tests/semantics.at (AC_C_BIGENDIAN): New test.
9458 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9460 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
9461 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
9462 * doc/autoconf.texi (C Compiler Characteristics): Update
9463 documentation for AC_C_BIGENDIAN.
9465 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9467 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
9468 magic values from an object file when cross-compiling.
9469 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
9471 2001-08-10 Akim Demaille <akim@epita.fr>
9473 * bin/autom4te.in (&handle_output): Don't use `grep' with side
9475 Suggested by Russ Allbery.
9477 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9479 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
9480 current $prefix to the sub-configures.
9482 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
9484 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
9485 extension (needed on BeOS). Reported by Guido van Rossum.
9487 2001-08-09 Akim Demaille <akim@epita.fr>
9489 * bin/autom4te.in ($icache): Load it only if older than autom4te.
9491 2001-08-07 Akim Demaille <akim@epita.fr>
9493 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
9495 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
9496 No need to remove the files before and after the each test, before
9497 each test and at the end of the suite is enough.
9498 Display only the children `times', not the shell's.
9499 If the test failed or was skipped, at-times is not available.
9501 2001-08-07 Akim Demaille <akim@epita.fr>
9503 Always produce testsuite.log, including when there are no
9504 failures. This helps getting information on skipped tests, and
9505 duration of the tests. Err, implement the latter btw.
9507 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
9508 Dump information on the first run of each test.
9509 (AT_CLEANUP): Create `at-times' containing the duration of the
9512 2001-08-07 Akim Demaille <akim@epita.fr>
9514 The use of `dumpstat' revealed that `len' was used although it
9515 should not. m4_text_wrap was using it, but in the Autoconf world
9516 where it is legal. Hence (i) test M4sh in its own world, not
9517 Autoconf's, and (ii), ahem, fix the bug :)
9519 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
9520 does not like `' instead of [].
9521 (AT_INIT): Forbid `^_?AT_'.
9522 And don't output such tokens.
9523 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
9524 `script.as', and `autom4te.cache'.
9525 Remove `empty' and `macro' which are no longer used.
9526 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
9527 * tests/m4sugar.at: Use it.
9528 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
9530 2001-08-07 Akim Demaille <akim@epita.fr>
9532 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
9534 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
9536 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
9538 2001-08-04 Akim Demaille <akim@epita.fr>
9540 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
9541 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
9543 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
9544 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
9545 (AC_F77_MAIN): Likewise.
9547 2001-08-04 Akim Demaille <akim@epita.fr>
9549 Don't rely on M4sugar outputting the patterns in files, since we
9550 might process the output _without_ running m4, hence without these
9553 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
9554 * bin/autom4te.in (@Request::includes): Remove, unused.
9555 (@Request::source): Rename as...
9556 (@Request::input): this.
9557 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
9558 (&handle_output): Fetch the patterns from the traces.
9559 `$forbidden' and `$allowed' are constant: use m//o.
9560 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
9561 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
9563 2001-08-04 Akim Demaille <akim@epita.fr>
9565 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
9566 autoconf', i.e., in addition to caching traces, cache the output.
9568 * bin/autom4te.in (Request::cache): Rename as...
9569 (Request::id): this.
9570 ($cache, $icache, $tcache, $ocache): New.
9571 (&handle_m4): Save M4 output in the cache instead of $tmp.
9572 (&handle_output): Adjust.
9573 (&up_to_date_p): Check that the output cache is up to date too.
9574 (top level): Run `&handle_m4' iff force or the cache is invalid.
9575 Run `&handle_output' if the output cache is more recent.
9577 2001-08-04 Akim Demaille <akim@epita.fr>
9579 * bin/autom4te.in ($force): New.
9580 (&parse_args, &print_usage): -f, --force is a new option.
9581 (&handle_output): CPP directives might have spaces after `#'.
9582 (&parse_args): The first file only can be frozen.
9584 2001-08-04 Akim Demaille <akim@epita.fr>
9586 Don't let autom4te compute the `include' traces several times:
9587 first check that the trace cache file is up to date, and then
9588 compare its timestamp with that of the output.
9590 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
9591 the preamble. Don't require 5.005 as Autom4te::General does it,
9592 and better yet (use `use', not `require'!).
9593 * lib/Autom4te/Struct.pm: Rename the last occurrences of
9594 Class::Struct as Autom4te::Struct.
9595 * lib/Autom4te/General.pm (File::stat): Use it.
9596 (&mtime): New, export it.
9597 * bin/autom4te.in: Use it.
9598 Declare `$req' is invalid if it is outdated.
9599 Don't declare it valid before saving it if something went wrong.
9601 2001-08-04 Akim Demaille <akim@epita.fr>
9603 Autom4te shall not encode Autoconf data, and preselecting traces
9604 must be proposed to the users.
9606 * bin/autom4te.in (@required_trace): Remove.
9608 (&parse_args, &print_usage): -p, --preselect is a new option.
9609 (&up_to_date_p): Adjust.
9610 * bin/autoconf.in: Preselect some Autoconf macros.
9612 2001-08-04 Akim Demaille <akim@epita.fr>
9614 * tests/tools.at (autoconf --trace: user macros): Check traces on
9615 macros invoked without arguments, and macros invoked with multiple
9618 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
9620 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
9623 2001-08-03 Akim Demaille <akim@epita.fr>
9625 * bin/autoconf.in ($@): Work around the usual sh bug.
9628 2001-08-03 Akim Demaille <akim@epita.fr>
9630 Clean up the handling of the M4 builtins tracing exception.
9632 * bin/autom4te.in (Request::request): Don't complete M4 builtins
9634 (@m4_builtins): Rename as...
9635 (@m4_builtin): this.
9636 (%m4_builtin_alternate_name): New.
9637 (&parse_args): Complete the trace requests with alternate names.
9638 (&handle_traces): Hence no longer do it here.
9639 (&trace_requests): Remove, unused.
9641 2001-08-03 Akim Demaille <akim@epita.fr>
9643 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
9646 2001-08-03 Akim Demaille <akim@epita.fr>
9648 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
9649 (m4_divert_pop): Dump the whole diversion stack when a diversion
9651 * bin/autom4te.in (&handle_output): Remember of the first
9652 occurrence of a possibly undefined macro, not the last.
9653 Complain about the possibly undefined macros in the same order as
9654 the appear in the output.
9655 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
9656 * tests/tools.at (autoconf: forbidden tokens, basic)
9657 (autoconf: forbidden tokens, exceptions): No longer sort
9658 autoconf's stderr, as it is now deterministic.
9659 Check that `dnl' is caught.
9661 2001-08-01 Akim Demaille <akim@epita.fr>
9663 * configure.ac: Bump to 2.52c.
9665 2001-08-01 Akim Demaille <akim@epita.fr>
9669 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
9671 2001-08-01 Akim Demaille <akim@epita.fr>
9675 2001-08-01 Akim Demaille <akim@epita.fr>
9677 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
9680 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
9681 `END', as `Autom4te::General::END' will be triggered.
9682 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
9683 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
9684 system to run `mv', `rm', and `cmp'.
9686 2001-08-01 Akim Demaille <akim@epita.fr>
9688 * lib/Autom4te/General.pm (&unique): New.
9689 * bin/autoscan.in (&output): Use it to issue trace requests once.
9691 2001-08-01 Akim Demaille <akim@epita.fr>
9693 * lib/Autom4te/General.pm: New.
9694 * bin/autom4te.in (Autom4te::General): Use it.
9695 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
9696 (&find_configure_ac, &find_slave): Remove.
9697 * bin/autoscan.in: Likewise.
9698 * bin/autoupdate.in: Likewise.
9700 2001-08-01 Akim Demaille <akim@epita.fr>
9702 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
9703 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
9704 * bin: here, new directory.
9705 * lib/Autoconf: Rename as...
9706 * lib/Autom4te: this, to please case insensitive junkie OSes.
9708 2001-08-01 Akim Demaille <akim@epita.fr>
9710 * autom4te.in ($m4): Handle the --nesting-limit.
9711 * autoconf.in (M4): Remove.
9713 2001-08-01 Akim Demaille <akim@epita.fr>
9715 * autoconf.in ($AWK): Remove, no longer used.
9716 * test/tools.at: Use AT_CHECK_AUTOCONF.
9717 (AWK portability): Remove, for autoconf no longer uses AWK.
9718 (Syntax of the Perl scripts): New.
9719 * configure.ac: autoconf no longer needs an AWK with a good
9721 Use a static test on AC_PACKAGE_VERSION.
9722 * autom4te.in (&up_to_date_p): Output depends on the arguments.
9723 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
9724 * tests/atconfig.in (PERL): New.
9726 2001-08-01 Akim Demaille <akim@epita.fr>
9728 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
9729 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
9730 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
9731 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
9732 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
9733 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
9734 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
9735 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
9736 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
9737 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
9738 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
9739 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
9740 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
9741 * lib/autoconf/c.m4: here, new file.
9743 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
9744 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
9745 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
9746 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
9747 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
9748 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
9749 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
9750 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
9751 (AC_F77_FUNC): Move to...
9752 * lib/autoconf/fortran.m4: here, new file.
9754 2001-08-01 Akim Demaille <akim@epita.fr>
9756 * acfunctions.m4: Rename as...
9757 * lib/autoconf/functions.m4: this.
9758 * acgeneral.m4: Rename as...
9759 * lib/autoconf/general.m4: this.
9760 * acheaders.m4: Rename as...
9761 * lib/autoconf/headers.m4: this.
9762 * aclang.m4: Rename as...
9763 * lib/autoconf/lang.m4: this.
9764 * acoldnames.m4: Rename as...
9765 * lib/autoconf/oldnames.m4: this.
9766 * acspecific.m4: Rename as...
9767 * lib/autoconf/specific.m4: this.
9768 * actypes.m4: Rename as...
9769 * lib/autoconf/types.m4: this.
9770 * autoconf.m4: Rename as...
9771 * lib/autoconf/autoconf.m4: this.
9773 * m4sugar.m4: Rename as...
9774 * lib/m4sugar/m4sugar.m4: this.
9775 * m4sh.m4: Rename as...
9776 * lib/m4sugar/m4sh.m4: this.
9778 * tests/atgeneral.m4: Rename as...
9779 * lib/autotest/general.m4: this.
9781 * acfunctions: Rename as...
9782 * lib/autoscan/functions: this.
9783 * acheaders: Rename as...
9784 * lib/autoscan/headers: this.
9785 * acidentifiers: Rename as...
9786 * lib/autoscan/identifiers: this.
9787 * aclibraries: Rename as...
9788 * lib/autoscan/libraries: this.
9789 * acmakevars: Rename as...
9790 * lib/autoscan/makevars: this.
9791 * acprograms: Rename as...
9792 * lib/autoscan/programs: this.
9794 2001-08-01 Akim Demaille <akim@epita.fr>
9796 * doc/autoconf.texi: Moving/deleting open files is not portable.
9797 Portability issues for `.' (source), and more information about sed.
9799 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
9801 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
9802 which has a special meaning and is not a reference to libibmil.a.
9803 Reported by Matteo Frigo.
9805 2001-07-25 Pavel Roskin <proski@gnu.org>
9807 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
9810 2001-07-25 Akim Demaille <akim@epita.fr>
9812 * autoconf.in: Try to define the variables before using them.
9813 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
9814 instead of `$perllibdir'.
9815 * tests/atconfig.in ($autom4te_perllibdir): Export it.
9817 2001-07-25 Akim Demaille <akim@epita.fr>
9819 * autoconf.in (ac_LF_and_DOT): Remove, unused.
9821 2001-07-24 Akim Demaille <akim@epita.fr>
9823 Let autoconf use autom4te for traces.
9825 * autoconf.in ($task, task trace): Remove, merely pass --trace to
9827 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
9828 (Because I found no way for autom4te to accept `-').
9829 * autom4te.in (&Request::request): Beware of M4 builtins.
9830 (END): Don't try to remove the content of an empty dir.
9831 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
9832 (&handle_output): Set a default value to `$forbidden'.
9833 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
9834 ($autoconf): Pass --debug and --verbose.
9835 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
9838 2001-07-24 Akim Demaille <akim@epita.fr>
9840 Let autoconf use autom4te to create configure.
9842 * autoconf.in ($automate): New var.
9843 (task script): Use autom4te.
9844 * autom4te.in (File::Spec): Use it.
9846 (&parse_args): --warning is -W, not -w.
9847 Find the top level files.
9848 (&handle_m4): Pass the warnings flags.
9849 Don't report verbosely m4's failures, unless requested.
9850 (&handle_output): Don't complain for forbidden tokens in comments.
9851 Be sure to report all the forbidden tokens within a single line.
9852 (&trace_format_to_m4): Preserve `$_'.
9853 (&handle_traces): Sort the output macros.
9854 (&up_to_date_p): Find the files before trying to get its time stamp.
9856 2001-07-24 Akim Demaille <akim@epita.fr>
9858 * Makefile.am: Ship, build and install Autom4te.
9860 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
9861 * configure.in: Require Perl.
9862 * man/autom4te.in: New.
9864 2001-07-19 Paul Eggert <eggert@twinsun.com>
9866 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
9867 example, rather than (exit 1); exit (which isn't portable).
9869 2001-07-18 Akim Demaille <akim@epita.fr>
9873 2001-07-18 Akim Demaille <akim@epita.fr>
9875 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
9876 was run, while they are needed also when it is expanded.
9877 Reported by Nicolas Joly.
9879 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
9880 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
9881 AC_F77_DUMMY_MAIN being expanded.
9883 2001-07-18 Akim Demaille <akim@epita.fr>
9885 * configure.in: Bump to 2.51a.
9887 2001-07-17 Akim Demaille <akim@epita.fr>
9891 2001-07-17 Akim Demaille <akim@epita.fr>
9893 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
9894 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
9896 2001-07-17 Akim Demaille <akim@epita.fr>
9898 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
9899 used. Well, then use the prototypes when you can, and runtime as
9901 Reported by Artur Frysiak
9903 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
9904 (AC_FUNC_GETPGRP): Use it.
9905 First try to compile with 0-ary or 1-ary calls.
9907 2001-07-17 Akim Demaille <akim@epita.fr>
9909 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
9913 2001-07-17 Akim Demaille <akim@epita.fr>
9915 * Makefile.maint: Sync. with cppi 1.10.
9917 2001-07-17 Akim Demaille <akim@epita.fr>
9919 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
9920 AC_F77_DUMMY_MAIN has been run.
9921 From Pavel Roskin and Steven G. Johnson.
9923 2001-07-17 Akim Demaille <akim@epita.fr>
9925 * configure.in: Rename as...
9926 * configure.ac: this.
9928 2001-07-17 Akim Demaille <akim@epita.fr>
9930 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
9933 * Makefile.maint (release-archive-dir): Rename as...
9934 (release_archive_dir): this, so that it can be specialized in
9937 2001-07-14 Akim Demaille <akim@epita.fr>
9939 * configure.in: Bump to 2.50d.
9941 2001-07-14 Akim Demaille <akim@epita.fr>
9944 * Makefile.maint (alpha): Typo.
9946 2001-07-14 Akim Demaille <akim@epita.fr>
9948 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
9950 2001-07-14 Akim Demaille <akim@epita.fr>
9952 * config/config.guess, config/config.sub, config/texinfo.tex
9953 * doc/standards.texi, doc/make-stds.texi: Update.
9955 2001-07-14 Akim Demaille <akim@epita.fr>
9957 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
9959 2001-07-14 Akim Demaille <akim@epita.fr>
9961 * Makefile.maint (maintainer-check): Rename as...
9962 (maintainer-distcheck): this.
9963 (changelog-check, static-check): New.
9966 2001-07-14 Kevin Ryde <user42@zip.com.au>
9968 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
9969 for CXX is g++, not gcc.
9971 2001-07-14 Akim Demaille <akim@epita.fr>
9973 * doc/autoconf.texi (Files): New subsection.
9975 2001-07-14 Akim Demaille <akim@epita.fr>
9977 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
9979 (Generic Compiler Characteristics): this.
9980 (C++ Compiler): New subsection.
9982 2001-07-14 Akim Demaille <akim@epita.fr>
9984 * autoscan.in: Use IO::File.
9985 Adjust all the routines to use it.
9986 ($log): New file (autoscan.log).
9987 (output): Dump detailed logs into $log, and a shortened version to
9989 (&scan_makefile): Refine the regexp catching tokens in the code.
9990 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
9991 and the `configure.ac' checking feature.
9993 2001-07-12 Akim Demaille <akim@epita.fr>
9995 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
9996 Reported by Michael Elizabeth Chastain.
9998 * autoconf.in: Refuse such AWK.
9999 * configure.in: Likewise.
10000 * Makefile.am (acversion.m4): Do not use move-if-change this file
10002 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
10004 2001-07-10 Jens Petersen <petersen@redhat.com>
10006 * autoscan.in (&scan_makefile): Improve programs regexp to parse
10007 things like "g++", "file.c" and "some-conf" as tokens.
10008 (&scan_file): Match C++ files extensions.
10009 If the filename extension is C++ then ask for c++.
10011 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
10013 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
10014 AC_TRY_LINK_FUNC, to check whether defining a dummy
10015 main-like routine is needed for linking with F77 libs.
10017 2001-07-05 Pavel Roskin <proski@gnu.org>
10019 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
10021 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
10024 2001-07-05 Akim Demaille <akim@epita.fr>
10026 * Makefile.am (move_if_change): New. Use it instead of `mv'.
10027 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
10029 Reported by Nicolas Joly.
10031 2001-07-04 Akim Demaille <akim@epita.fr>
10033 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
10035 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
10036 warnings from compilers.
10037 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
10038 for all the compilers, not only GNU. Hence move from here...
10039 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
10041 2001-07-04 Akim Demaille <akim@epita.fr>
10043 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
10044 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
10047 2001-07-04 Akim Demaille <akim@epita.fr>
10049 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
10050 the ``strings.h'' change claimed below.
10052 2001-07-04 Akim Demaille <akim@epita.fr>
10054 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
10056 2001-07-04 Akim Demaille <akim@epita.fr>
10058 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10059 strings.h if usable with string.h.
10060 Suggested by Paul Eggert.
10062 2001-07-04 Akim Demaille <akim@epita.fr>
10064 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
10065 From Jens Petersen.
10067 2001-07-03 Akim Demaille <akim@epita.fr>
10069 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
10072 2001-07-03 Akim Demaille <akim@epita.fr>
10074 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
10075 compiler, not the preprocessor.
10076 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
10077 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
10079 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
10080 earlier if there are.
10082 2001-07-03 Akim Demaille <akim@epita.fr>
10084 * autoscan.in ($initfile): Remove.
10085 (&find_file): Rename as...
10086 (&scan_file): this.
10087 Immediately scan the current file, instead of gathering them, and
10088 later having them handled by &scan_files.
10089 (&scan_files): Merely invoke Find::File.
10092 2001-07-02 Akim Demaille <akim@epita.fr>
10094 * autoscan.in: Formatting changes, matching the invocation order.
10095 (File::Find): Use it instead of Perl 4's `find.pl'.
10096 (&wanted): Rename as...
10097 (&find_file): this.
10099 2001-07-01 Pavel Roskin <proski@gnu.org>
10101 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
10102 break in the argument to AC_TRY_LINK_FUNC.
10103 (AC_F77_MAIN): Remove conftest* after using break in the
10104 argument to AC_TRY_LINK.
10106 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
10108 Add alternate 'main' routine detection for linking C/C++ with Fortran,
10109 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
10111 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
10112 dummy alternate main is required even if the user provides her own
10114 (AC_F77_MAIN): New macro to detect whether it is possible to
10115 provide an alternate 'main' function name, using the 'main' from
10116 the Fortran libraries.
10117 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
10118 cross-language link tests can be performed successfully.
10119 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
10120 after $LIBS, for consistency; this should be the general rule since
10121 the user may want to link to Fortran libraries that require $FLIBS.
10122 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
10124 2001-06-29 Pavel Roskin <proski@gnu.org>
10126 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
10127 at-stdout and at-stderr instead of removing the newline
10128 from the echo output, which is not guaranteed to work.
10130 2001-06-28 Jens Petersen <petersen@redhat.com>
10132 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
10133 confdefs.h when non-zero.
10135 2001-06-28 Akim Demaille <akim@epita.fr>
10137 * configure.in: Bump to 2.50c.
10139 2001-06-26 Akim Demaille <akim@epita.fr>
10143 2001-06-26 Akim Demaille <akim@epita.fr>
10147 2001-06-25 Pavel Roskin <proski@gnu.org>
10149 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10150 argument, AUTOCONF-FLAGS.
10151 * tests/mktests.sh (update_exclude_list): Add
10152 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10153 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10154 AC_FUNC_WAIT3 with "-W no-obsolete".
10156 2001-06-25 Akim Demaille <akim@epita.fr>
10158 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10160 2001-06-25 Akim Demaille <akim@epita.fr>
10162 * autoscan.in (%macro): Now maps from word to list of macros.
10163 (&init_tables): Die when a word which is already handled by
10164 explicit macros is mapped to the default macro.
10165 (&print_unique): Remove, inlined in...
10166 (&output_kind): here.
10167 (File::Basename): Use it.
10168 (&output): Sort the CONFIG_FILES.
10169 * acheaders: Normalize.
10170 * acfunctions: Likewise.
10172 2001-06-25 Akim Demaille <akim@epita.fr>
10174 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10175 characteristics in the logs.
10176 Suggested by Mo DeJong.
10178 2001-06-24 Akim Demaille <akim@epita.fr>
10180 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10181 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10182 * doc/autoconf.texi (Autoconf 2.13): New section.
10184 2001-06-24 Akim Demaille <akim@epita.fr>
10186 * autoconf.in (Task traces): Separate the error messages from the
10187 traces to improve robustness.
10189 2001-06-23 Akim Demaille <akim@epita.fr>
10191 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10192 three as failures are unlikely, and speed matters.
10194 2001-06-23 Akim Demaille <akim@epita.fr>
10196 * doc/autoconf.texi (Redefined M4 Macros): New.
10198 2001-06-23 Akim Demaille <akim@epita.fr>
10200 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10201 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10204 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
10206 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10207 config.status targets to after the evaluation of the INIT-CMDS.
10208 Double quote config.status targets (used to be single quoted).
10210 2001-06-23 Akim Demaille <akim@epita.fr>
10212 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10213 Check the content of the created file.
10214 Check the ./config.status command line invocation.
10216 2001-06-23 Akim Demaille <akim@epita.fr>
10218 * tests/foreign.at (Libtool): Reject prehistoric versions.
10220 2001-06-23 Akim Demaille <akim@epita.fr>
10222 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
10223 preexisting files matching a.*.
10225 2001-06-23 Akim Demaille <akim@epita.fr>
10227 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
10229 * doc/autoconf.texi (AC_ARG_VAR): Update.
10231 2001-06-21 Akim Demaille <akim@epita.fr>
10233 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
10234 precious variables have changed.
10235 * tests/torture.at (AC_ARG_VAR): Adjust.
10237 2001-06-21 Akim Demaille <akim@epita.fr>
10239 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
10240 but some sed choke on multiple `;', and other tools (e.g.,
10241 Automake), include the separator themselves.
10243 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
10245 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
10247 * doc/autoconf.texi (Functions Portability): Rename as...
10248 (Function Portability): this.
10249 (Function Portability): Document potential problems with unlink().
10251 2001-06-19 Paul Eggert <eggert@twinsun.com>
10253 * NEWS, doc/autoconf.texi: Document quadrigraphs.
10255 2001-06-18 Akim Demaille <akim@epita.fr>
10257 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
10259 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
10261 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
10262 (_AC_FUNC_VFORK): this.
10263 Remove AC_DEFINEs and don't guess cross-compilation values.
10264 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
10265 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
10266 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
10267 vfork doesn't work.
10268 Guess values if cross-compiling, but warn.
10269 * acfunctions: Add AC_FUNC_FORK.
10270 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
10271 and vfork appropriately.
10273 2001-06-18 Akim Demaille <akim@epita.fr>
10275 * doc/autoconf.texi (Functions Portability): New section.
10277 2001-06-18 Akim Demaille <akim@epita.fr>
10279 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
10281 Suggested by Andreas Schwab.
10283 2001-06-18 Akim Demaille <akim@epita.fr>
10285 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
10286 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
10287 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
10288 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
10289 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
10290 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
10291 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
10294 2001-06-18 Akim Demaille <akim@epita.fr>
10296 * doc/autoconf.texi (ms): New index.
10297 (Macro Index): Rename as...
10298 (Autoconf Macro Index): this.
10299 (M4 Macro Index): New appendix.
10300 (Programming in M4): New chapter.
10301 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
10302 (Quoting): Rename as...
10303 (M$ Quotation): this.
10304 Be part of `Programming in M4).
10306 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
10308 * tests/torture.at (AC_ARG_VAR): Set variables and export them
10309 in separate statements for compatibility with Tru64 v5.1.
10311 2001-06-17 Akim Demaille <akim@epita.fr>
10313 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
10314 current values of the precious variables, not the previously
10316 Pass precious variables which are set to config.status.
10317 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
10318 * tests/torture.at (AC_ARG_VAR): New.
10320 2001-06-15 Paul Eggert <eggert@twinsun.com>
10322 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
10323 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
10324 and explain why and how to replace them.
10325 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
10326 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
10328 2001-06-15 Akim Demaille <akim@epita.fr>
10330 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
10331 Reported by Bruno Haible.
10333 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
10334 (_AC_ARG_VAR_PRECIOUS): to here.
10336 2001-06-15 Pavel Roskin <proski@gnu.org>
10338 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
10339 an unused pointer use cast to this type and `if' statement to
10340 avoid warnings from the compiler.
10341 (AC_HEADER_TIME): Likewise.
10342 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
10343 in `if' statement to avoid warnings from the compiler. Declare
10344 ac_aggr static to avoid the need to initialize it.
10346 2001-06-14 Akim Demaille <akim@epita.fr>
10348 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
10351 2001-06-13 Akim Demaille <akim@epita.fr>
10353 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
10354 Suggested by Alexander Mai.
10356 2001-06-13 Akim Demaille <akim@epita.fr>
10358 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
10359 sys/types.h and sys/stat.h, and check for them.
10361 2001-06-13 Akim Demaille <akim@epita.fr>
10363 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
10366 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
10368 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
10369 succeeds and only try adding libdnet upon a failure.
10371 2001-06-12 Akim Demaille <akim@epita.fr>
10373 * autoscan.in (&output_kind): Output the comment only if it exists.
10374 (%kind_comment): Add entry for `programs'.
10375 (&output_programs): Use &output_kind.
10376 (&output_functions, &output_identifiers, &output_headers)
10377 (&output_programs): Inline, and remove.
10379 2001-06-12 Akim Demaille <akim@epita.fr>
10381 * autoscan.in (%kind_comment): New.
10382 (output_kind): New.
10383 (output_functions, output_identifiers, output_headers): Use it.
10385 2001-06-12 Akim Demaille <akim@epita.fr>
10387 * autoscan.in (&print_unique): Take `$kind' and `$word' as
10388 arguments, to factor indirections into `%macro' and `%used'.
10389 (%generic_macro): Fix a typo.
10391 2001-06-12 Akim Demaille <akim@epita.fr>
10393 * aclibraries: New.
10394 * autoscan.in (@kinds): Add `libraries'.
10395 Use `@kinds' instead of hard coded lists.
10396 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
10397 Remove, replaced by...
10400 2001-06-12 Akim Demaille <akim@epita.fr>
10402 * autoscan.in (%functions_macros %headers_macros)
10403 (%identifiers_macros %programs_macros %makevars_macros): Remove,
10407 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
10409 * aclang.m4 (AC_NO_EXECUTABLES): Override
10410 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
10412 2001-06-11 Akim Demaille <akim@epita.fr>
10414 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
10416 Reported by Andreas Schwab.
10418 2001-06-11 Akim Demaille <akim@epita.fr>
10420 * Makefile.am, Makefile.maint: Typos.
10422 2001-06-09 Akim Demaille <akim@epita.fr>
10424 * doc/autoconf.texi (Here-Documents): New section, gathering
10425 documentation about here-documents.
10426 Use `href', not `uref', and other changes.
10428 2001-06-09 Akim Demaille <akim@epita.fr>
10430 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
10433 2001-06-09 Akim Demaille <akim@epita.fr>
10435 * doc/autoconf.texi (Limitations of Builtins): Complete the
10436 description of the here-docs penalties with Alexandre Oliva's
10439 2001-06-01 Paul Eggert <eggert@twinsun.com>
10441 * doc/autoconf.texi: Talk about here documents and speedups.
10442 Do not use "echo" on arbitrary strings.
10443 Spell "here-documents" consistently with the standard.
10445 2001-06-09 Akim Demaille <akim@epita.fr>
10447 * doc/autoconf.texi (Concept Index): Introduce it.
10448 Regenerate the menus.
10450 2001-06-09 Akim Demaille <akim@epita.fr>
10452 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
10453 * config/prev-version.txt: New.
10454 * config/move-if-change: New, for GNU libc.
10456 2001-06-06 Pavel Roskin <proski@gnu.org>
10458 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
10460 2001-06-06 Akim Demaille <akim@epita.fr>
10462 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
10463 properly when $1 is not a literal.
10464 Fixes PR Autoconf/187, reported by Bram Moolenaar.
10466 2001-06-06 Akim Demaille <akim@epita.fr>
10468 Invoking AC_COPYRIGHT before AC_INIT fails.
10470 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
10471 * acgeneral.m4 (_m4_divert(VERSION_FSF))
10472 (_m4_divert(VERSION_USER)): New.
10473 (AC_COPYRIGHT): $2 is the diversion to use.
10474 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
10475 (AC_INIT): Remove dead comments as now it's commutative.
10477 2001-06-06 Akim Demaille <akim@epita.fr>
10479 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
10482 2001-06-05 Akim Demaille <akim@epita.fr>
10484 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
10486 `*dir' variables cannot be NONE.
10487 Reported by Mark Kettenis.
10489 2001-06-05 Paul Eggert <eggert@twinsun.com>
10491 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
10493 2001-06-04 Akim Demaille <akim@epita.fr>
10495 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
10496 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
10497 (AC_TR_SH): Move as...
10498 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
10499 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
10501 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
10502 (_AS_TR_SH_PREPARE): New.
10503 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
10504 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
10506 2001-06-02 Akim Demaille <akim@epita.fr>
10508 * Makefile.am (.m4.m4f): Pass the options first.
10509 Fixes PR autoconf/182.
10511 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
10513 GNU getopt, when POSIXLY_CORRECT does not permute options and
10514 arguments. So pass the options first.
10515 Fixes PR autoconf/184.
10517 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
10518 (run_m4): Remove files.
10520 Update remainder of script to use them.
10521 (for warning in): Do not use a literal comma as it will not be
10524 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
10526 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
10527 Fortran compilers to check.
10528 (_AC_PROG_F77_V): Add '-###' as a possible option to print
10529 information on library and object files.
10530 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
10533 2001-06-02 Akim Demaille <akim@epita.fr>
10535 * autom4te.in (Request::@request): Declare with `vars', not `my',
10536 as it prevents updates via `do FILENAME'.
10538 2001-06-02 Akim Demaille <akim@epita.fr>
10540 * configure.in (standards_texi): Remove, dead code.
10542 2001-06-02 Akim Demaille <akim@epita.fr>
10544 * autom4te.in: New.
10546 2001-06-02 Pavel Roskin <proski@gnu.org>
10548 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
10549 for signals other than 0 - exit with code 1.
10550 * m4sh.m4 (AS_TMPDIR): Likewise.
10551 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
10552 * autoheader.in: Likewise.
10553 * autoreconf.in: Likewise.
10554 * tests/torture.at (Signal handling): New test for the above.
10556 2001-06-01 Akim Demaille <akim@epita.fr>
10558 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
10561 2001-05-31 Akim Demaille <akim@epita.fr>
10563 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
10564 Add copyright and comments.
10565 * acheaders: Add stdint.h.
10566 Suggested by Paul Eggert.
10568 2001-05-31 Akim Demaille <akim@epita.fr>
10570 * atgeneral.m4 (AT_INIT): Use $SHELL.
10571 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
10573 2001-05-31 Akim Demaille <akim@epita.fr>
10575 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10577 From Paul Eggert and Lars Hecking.
10579 2001-05-31 Akim Demaille <akim@epita.fr>
10581 * tests/base.at: Adjust line numbers in error messages.
10583 2001-05-31 Akim Demaille <akim@epita.fr>
10585 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
10586 to emit the bangshe line.
10587 Reported by David Carter.
10589 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
10591 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
10592 Fortran (95) compilers to check.
10594 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
10596 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
10599 2001-05-23 Pavel Roskin <proski@gnu.org>
10601 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
10602 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
10603 (AC_PROG_CXXCPP): Likewise.
10605 2001-05-22 Akim Demaille <akim@epita.fr>
10607 * config: New directory.
10608 * configure.in: AC_CONFIG_AUX_DIR it.
10609 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
10611 2001-05-22 Akim Demaille <akim@epita.fr>
10613 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
10614 * autoupdate.in: Specify the Emacs mode.
10615 * acversion.m4.in: Rename as...
10616 * acversion.m4: this.
10617 * tests/Makefile.am (CLEANFILES): More garbage.
10619 2001-05-22 Akim Demaille <akim@epita.fr>
10621 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
10623 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
10626 2001-05-21 Akim Demaille <akim@epita.fr>
10628 * configure.in: Bump to 2.50a.
10632 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10634 This file is part of GNU Autoconf.
10636 GNU Autoconf is free software; you can redistribute it and/or modify
10637 it under the terms of the GNU General Public License as published by
10638 the Free Software Foundation; either version 2, or (at your option)
10641 GNU Autoconf is distributed in the hope that it will be useful,
10642 but WITHOUT ANY WARRANTY; without even the implied warranty of
10643 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10644 GNU General Public License for more details.
10646 You should have received a copy of the GNU General Public License
10647 along with autoconf; see the file COPYING. If not, write to
10648 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
10649 Boston, MA 02110-1301, USA.