1 2006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * lib/autotest/general.m4 (AT_INIT): Store quoted variable
4 assignments in `at_debug_args', so that we put them correctly
6 * tests/autotest.at (Debugging a failed test): Unmark XFAIL.
7 Reported by Eric Blake.
9 2006-04-11 Eric Blake <ebb9@byu.net>
11 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow
12 top-level tests after micro-suite has been run. Used in...
13 (Debugging a successful test, Debugging script and environment),
14 (Debugging a failed test): ...these new tests. The first of these
16 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New
17 macro, split out from...
18 (AT_INIT): ...here, so that using -d also generates a run script.
19 Document that -d inhibits top-level logging.
20 * doc/autoconf.texi (testsuite Invocation): Document that -d only
21 inhibits top-level logging; debug scripts are created.
23 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty
25 * tests/autotest.at (Empty test, Empty check): New test to check it.
27 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings
30 2006-04-10 Stepan Kasal <kasal@ucw.cz>
32 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch
33 the files if a problem appears. Make the empty *.at files
34 read-only, too. Proposed by Ralf Wildenhues.
36 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
38 * config/Makefile.am: Add comment to force updated Makefile.in.
40 * lib/freeze.mk: Fix typo in comment. Unlike the last, white
41 space only patch to this file, this patch causes the Makefile.in
42 files that include freeze.mk to be updated, and thus have a
43 newer time stamp again, which in turn makes a pristine CVS
44 checkout have correct time stamps.
46 * Makefile.maint (cvs-sv): New macro, to be used..
47 (config.guess-url_prefix, config.sub-url_prefix)
48 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here;
49 point to CVS text checkout of Gnulib files.
50 (copyright-check): Bump current year.
51 (announcement): Do not hard-wire `./announce-gen'.
52 (cvs-update): Propagate failures of `cvs' and `move-if-change'
54 * Makefile.cfg (executable-update): Use `chmod a+x' instead of
56 (wget_files): Update config.guess, config.sub, texinfo.tex by
57 `wget-update', now that their URLs work again.
59 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
61 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE.
62 Problem noted by Paul D. Smith.
64 2006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
66 * doc/autoconf.texi: Remove unused words from word list.
67 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names,
68 .x-sc_trailing_space: New files.
70 * doc/standards.texi: Sync from gnulib.
72 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark
73 `LIBOBJDIR' as experimental.
75 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails
76 with a target directory; it's internally implemented as `cp'
77 anyway, but since Autoconf advertises the possibility to use
78 a target directory when LN_S is `ln -s', we need to find out.
79 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS,
80 analyzed by Keith Marshall <keith.marshall@total.com>.
84 2006-04-10 Paul Eggert <eggert@cs.ucla.edu>
86 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output
87 confdefs.h as-is. In general, if it has backslash-newline or the
88 like, then it doesn't work either to sort or to remove empty
91 2006-04-09 Stepan Kasal <kasal@ucw.cz>
93 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment.
95 2006-04-09 Alexandre Duret-Lutz <adl@gnu.org>
97 * lib/autom4te.in (Automake-preselections): Preselect
100 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
102 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an
103 apostrophe within a single-quoted string, as this is the usual
104 tradition and is easier to read than '"'"'. Don't rely on the
105 shell treating "$/" like '$/'. Use a more-consistent indenting
108 2006-04-09 Eric Blake <ebb9@byu.net>
110 * tests/autotest.at (Backquote command substitution),
111 (Multiline backquote command substitution): Remove mistaken
112 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be
114 (Parenthetical command substitution, Multiline parenthetical
115 command substitution): here.
117 2006-04-08 Paul Eggert <eggert@cs.ucla.edu>
119 Import macros from gnulib (often changing their name).
121 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete.
122 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE,
123 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT,
124 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE,
125 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T,
126 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
127 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT,
128 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T,
129 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T,
130 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS.
131 The manual mentions Gnulib more prominently.
132 * doc/autoconf.texi (Gnulib): New node.
133 (Pointers): Add Gnulib URL.
134 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD.
135 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new
137 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h,
138 suggest a #define rather than a typedef for _Bool, and mention
139 Gnulib rather than trying to substitute stdbool code.
140 (Generic Headers): Add AC_CHECK_HEADERS_ONCE.
141 (Generic Declarations): Add AC_CHECK_DECLS_ONCE.
142 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO,
143 AC_STRUCT_DIRENT_D_TYPE.
144 (Particular Types): Mention stdint.h and inttypes.h as standard
146 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T,
147 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE,
148 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T,
149 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T,
150 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT.
151 (C Compiler): Move AC_C_LONG_DOUBLE to ...
152 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention
153 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead.
154 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS.
155 (Coding Style). Don't mention m4_expand_once.
156 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via
157 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete.
158 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro.
159 (AC_CHECK_FUNCS): Use it.
160 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros.
161 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX".
162 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro.
163 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro.
164 (AC_HEADER_ASSERT): New macro.
165 (AC_HEADER_STDBOOL): Don't assume "#error" works.
166 Catch a bug in IBM AIX xlc compiler version 6.0.0.0.
167 Catch a bug in an HP-UX C compiler.
168 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro.
169 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T):
170 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE):
171 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT):
172 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT):
173 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE):
176 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not
177 use /^foo|bar$/, it does not mean /^(foo|bar)$/.
179 2006-04-08 Stepan Kasal <kasal@ucw.cz>
181 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording
182 of the warning introduced by the 2001-08-28 change.
184 2006-04-08 Stepan Kasal <kasal@ucw.cz>,
185 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
187 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo'
188 variables shall be overriden by the cache.
189 * tests/torture.at (AC_ARG_VAR): Test also with a first value
190 that contains braces.
192 2006-04-07 Stepan Kasal <kasal@ucw.cz>
194 Revert the patch from 2006-04-01 and only improve
195 _AS_DETECT_BETTER_SHELL:
197 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not
198 skip nonexistent directories.
199 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try
200 only shell candidates which exist.
201 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK.
202 * lib/autotest/general.m4 (AT_INIT): No need to give three
203 parameters to _AS_PATH_WALK.
205 2006-04-07 Stepan Kasal <kasal@ucw.cz>,
206 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
208 * bin/autoupdate.in (handle_autoconf_patches): Change the way we
209 distinguish m4sugar macros.
210 * tests/tools.at (autoupdating with aclocal and m4_include):
211 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>,
212 test case by Noah Misch <noah@cs.caltech.edu>.
214 2006-04-07 Stepan Kasal <kasal@ucw.cz>
216 Revert my change from 2006-03-17, in other words:
217 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4
219 (AS_SHELL_SANITIZE): Remove DUALCASE=1.
220 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that
223 2006-04-07 Eric Blake <ebb9@byu.net>
225 * doc/autoconf.texi (Programming in M4sh): Document that
226 AS_MKDIR_P exits the script on failure.
227 * lib/autotest/general.m4: Remove redundant AS_ERROR.
229 2006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
231 * config/elisp-comp, config/install-sh, config/mdate-sh,
232 config/missing, config/mkinstalldirs: Sync from Automake.
234 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync
237 * doc/make-stds.texi: Sync from gnulib.
239 2006-04-06 Eric Blake <ebb9@byu.net>
241 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache
242 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced
245 2006-04-06 Stepan Kasal <kasal@ucw.cz>,
246 Eric Blake <ebb9@byu.net>,
247 Paul Eggert <eggert@cs.ucla.edu>,
248 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
250 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of
251 whether `set' quotes correctly: redirect stderr of the tested
252 `set', and use a subshell, for Ultrix; use `sed' instead of
253 `grep' for zsh `set' which may write binary output; match only
254 at the beginning of a line, to avoid false positives.
255 In order to avoid false positives by unrelated variables with
256 multiline content, put the dump algorithm in a subshell and
257 unset all variables containing newlines (except some which are
258 special to the shell). Warn about cache variables that are
261 2006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
263 * config/config.guess, config/config.sub, config/texinfo.tex:
266 * tests/mktests.sh: Reword comments.
268 * tests/mktests.sh: Only skip internal macros starting with
269 `_AC_' or `__AC_'. Noted by Stepan Kasal.
270 Update exclusion lists for the test suite to this end:
271 (AC_ARG_VAR): Do test this now.
272 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument.
273 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION).
274 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF).
275 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed).
277 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS
278 shell issue with double-quoted command substitutions of native
280 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith
283 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when
284 no file matches the glob, discard the warning, set `nullglob'.
285 (syntax-check): Likewise.
286 (sc_cast_of_x_alloc_return_value): Likewise.
287 (sc_cast_of_alloca_return_value, sc_error_exit_success)
288 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics)
289 (m4-check): Likewise.
290 (sc_system_h_headers): Do not print rule on execution.
291 (sc_tight_scope): Do not fail for non-existing `src' directory.
292 (sc_changelog): Skip the Copyright footer.
293 * lib/autoconf/lang.m4: Remove trailing space.
295 * lib/autoconf/status.m4: More replacements to
296 <tab><space> where this makes sense.
298 2006-04-06 Stepan Kasal <kasal@ucw.cz>
300 * tests/Makefile.am (maintainer-check-posix):
301 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/
303 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to
304 ac_config_<foo>s again, sometimes normalized, sometimes not.
305 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS):
306 (AC_CONFIG_COMMANDS): Do not do so here.
307 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS
308 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the
309 2005-07-25 rewrite. Noticed by Noah Misch.
311 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define
312 _AC_PRESERVE_HELP_ORDER, ...
313 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad.
315 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once
316 inside m4_expand_once; it is redundant.
318 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support
319 for --help from Cygnus `configure.'
321 2006-04-06 Paul Eggert <eggert@cs.ucla.edu>
323 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up
324 on a patch proposed by Ralf Wildenhues.
326 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
328 * lib/autoconf/status.m4: Replace <space>''<tab> with
329 <tab><space> where this makes sense.
331 2006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change)
332 Noah Misch <noah@cs.caltech.edu>
334 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro.
335 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust.
336 * doc/autoconf.texi (Help Formatting): New node.
337 * NEWS: Announce AC_PRESERVE_HELP_ORDER.
339 2006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4,
342 lib/autoconf/specific.m4, lib/autoconf/status.m4,
343 lib/autoconf/types.m4, lib/autotest/general.m4,
344 tests/mktests.sh, tests/torture.at: White space cleanup:
345 remove some SPACE before TAB, or add quoting ('' or @&t@).
347 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'.
349 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'.
351 2006-04-05 Eric Blake <ebb9@byu.net>
353 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an
354 empty test suite works.
355 * tests/autotest.at (Empty test suite): Remove xfail.
357 2006-04-05 Noah Misch <noah@cs.caltech.edu>
359 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized
360 TAGS to ac_config_<foo>s.
361 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here.
362 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without
363 normalizing it, consistent it with previous releases.
364 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test.
366 2006-04-05 Paul Eggert <eggert@cs.ucla.edu>
368 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR):
369 Use simplified args that Eric Blake originally suggested.
371 2006-04-04 Paul Eggert <eggert@cs.ucla.edu>
373 * tests/mktests.sh: Don't use 'cat'; just read the files directly.
374 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it.
375 Use 'comm' rather than N instances of grep; this also fixes a bug
376 whereby substrings were incorrectly matched, causing us to not
377 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT.
378 (exclude_list): Exclude empty macros.
379 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT.
381 Use awk rather than grep -E or egrep, to avoid
382 portability problems with regular expressions containing newlines.
383 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script):
384 Switch from grep to awk syntax.
385 (ac_exclude_script): Renamed from ac_exclude_egrep.
386 (au_exclude_script): Renamed from au_exclude_egrep.
388 2006-04-04 Noah Misch <noah@cs.caltech.edu>
390 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences
391 a subdirectory subject to Cygnus `configure'.
392 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise.
394 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug
395 report request when we have no AC_PACKAGE_BUGREPORT.
397 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
401 * tests/mktests.sh: Update copyright year in the header of the
404 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code.
405 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a
406 typedef'ed restricted pointer, to catch a compiler bug on
407 HP-UX 11.x, and fix warnings so it passes with -Werror.
408 (_AC_PROG_CC_C99): Likewise.
409 Reported by Albert Chin <china@thewrittenword.com>.
410 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT.
412 2006-04-03 Noah Misch <noah@cs.caltech.edu>
414 * bin/autoscan.in (subdirs): New global.
415 (scan_file): Prune directories with configure{,.{ac,in,gnu}}.
416 (output): Emit AC_CONFIG_SUBDIRS as needed.
417 * tests/autoscan.at (autoscan): Remove XFAIL.
419 2006-04-03 Noah Misch <noah@cs.caltech.edu>
421 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE.
423 2006-04-03 Eric Blake <ebb9@byu.net>
425 * THANKS: Add myself.
427 2006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
429 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer
430 to log, point to testsuite output tree.
432 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
434 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'.
435 * doc/autoconf.texi (Function Portability): Mention that C++
436 has trouble with 'exit'.
437 (Guidelines): Test programs shouldn't use 'exit'.
438 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
439 Remove; all uses removed.
440 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN):
441 Return from 'main' instead of calling 'exit'.
442 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID):
443 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS):
444 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF):
445 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF):
446 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R):
447 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
448 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
449 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise.
450 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
451 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
452 * tests/compile.at: Likewise.
454 2006-04-02 Pavel Roskin <proski@gnu.org>
456 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change.
458 2006-04-01 Stepan Kasal <kasal@ucw.cz>
460 Clean up _AC_COMPILER_EXEEXT* macros.
462 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to
463 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set
464 ac_file to the name of the default output filei and call
465 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the
466 initial `rm' of the candidate files...
467 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use
468 the same list in subsequent `rm' calls, and for the temporary
469 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end,
470 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use...
471 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro.
472 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or
473 no longer needed) by libtool. Make it a cache check.
474 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously
475 copied here by mistake.
476 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not
478 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call
479 _AC_COMPILER_OBJEXT directly.
480 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
482 2006-04-01 Stepan Kasal <kasal@ucw.cz>
484 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro.
485 (AS_DIRNAME): Use it.
486 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE.
488 * tests/*.at: Remove the generated ones.
490 2006-04-01 Stepan Kasal <kasal@ucw.cz>
492 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk.
494 2006-04-01 Eric Blake <ebb9@byu.net>
496 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent
497 directories, unless optional third argument supplied.
498 (AS_UNAME): Don't optimize PATH walk.
500 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/
502 2006-04-01 Eric Blake <ebb9@byu.net>
503 and Stepan Kasal <kasal@ucw.cz>
505 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments,
508 2006-04-01 Noah Misch <noah@cs.caltech.edu>
510 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and
511 Autoconf version number despite a zero- or one-argument AC_INIT.
513 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to
515 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental.
516 * doc/autoconf.texi (autoreconf Invocation): Document it.
518 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently.
519 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes.
521 2006-04-01 Eric Blake <ebb9@byu.net>
523 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists.
524 * lib/autotest/general.m4: Be tolerant of existing directory when
525 rm failed to remove it.
527 2006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
529 * bin/autoupdate.in: Redefine m4_location so that warnings print
530 the correct lines of the input file by subtracting..
531 (_au__first_line): ..this new definition.
533 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer
534 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code.
535 Remove stray newline in output.
536 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also
537 AC_DEFUN this for autoconf, including the obsoletion diagnose.
538 Fixes autoupdating of code where the replacement output contains
540 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
541 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH.
542 (au_exclude_list): Add AC_LANG_SAVE.
543 * tests/tools.at: Several new tests for all of this.
544 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the
546 The AC_LANG_SAVE issue was reported against Libtool by
547 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by
548 Kristian Kvilekval <kris@cs.ucsb.edu>.
550 2006-04-01 Stepan Kasal <kasal@ucw.cz>
552 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together--
553 switch all of them on and of when necessary. Fixes the bug when
554 m4sugar macros (e.g., m4_define) were expanded after the first
555 automatic update (e.g., after AC_PREREQ or AC_INIT).
557 2006-03-31 Paul Eggert <eggert@cs.ucla.edu>
559 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions
560 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal.
562 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc.
563 correctly. Problem reported by Eric Blake.
564 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by
567 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
569 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
570 Tighten up the basename/dirname wording.
572 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
574 * Makefile.maint (sc_texi_notab): New check: do not use TABs
575 in texinfo files outside of verbatim environments.
576 (syntax-check-rules): Update.
577 * doc/autoconf.texi (Configuration Headers): Conform to it.
579 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
581 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
582 aclocal cannot be given on the command line.
584 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
586 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
587 Give an example for AS_DIRNAME instead of referring to Posix..
588 (File System Conventions): Put discussion of // versus / here, and
590 (Limitations of Usual Tools): Add basename. Remove verbiage
591 after dirname, since it got moved to the above sections.
592 All this was inspired by a patch proposed earlier by Eric Blake.
594 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
596 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
597 `$0' to protect against spaces.
598 * lib/autotest/general.m4 (AT_INIT): Likewise.
599 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
602 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
604 * bin/autoscan.in: The value of find_configure_ac should be
605 checked for existence, so we don't barf over a nonexisting
606 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
608 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610 * bin/autoupdate.in: Fix some typos.
612 2006-03-21 Stepan Kasal <kasal@ucw.cz>
614 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
616 * lib/autoscan/autoscan.list: Refreshed.
618 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
620 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
621 and Erlang related variables.
623 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
624 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
625 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
626 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
627 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
628 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
629 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
630 (_AC_PROG_OBJC_G): New macros.
631 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
632 * doc/autoconf.texi (Objective C Compiler): New node.
633 (Preset Output Variables): Document OBJCFLAGS.
634 (Language Choice): Document `Objective C' language.
635 (Fortran Compiler): Fix typo.
637 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
639 2006-03-20 Stepan Kasal <kasal@ucw.cz>
641 * doc/autoconf.texi (Default Includes): Fix typo
642 s/AC_HEADERS_STDC/AC_HEADER_STDC/
643 (Limitations of Usual Tools): s/unwriteable/unwritable/
644 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
645 Fix typos in the comments.
647 2006-03-17 Stepan Kasal <kasal@ucw.cz>
649 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
650 Factor out the warning to...
651 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
652 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
653 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
655 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
656 case `ac_delim' when writing the sed script.
658 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
660 (AS_SHELL_SANITIZE): ... here.
661 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
664 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
666 (_AC_PATH_PROG): Store the result to VARIABLE.
667 (AC_PATH_PROG): No need to set VARIABLE again.
669 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
670 the first one is usual AT_CHECK_MACRO test, the second one checks
671 that the same works when cross-compiling.
672 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
673 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
675 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
678 the directory `/usr/bin/posix' in the shell search, to prefer
679 the Posix shell not only in subsequent spawns as with `$BIN_SH'
682 * doc/autoconf.texi (contents): To fix texi2html output, hide
683 `@setcontentsaftertitlepage' for HTML.
684 (Writing Autoconf Macros): Likewise, insert space after `@c'.
685 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
688 2006-03-16 Stepan Kasal <kasal@ucw.cz>
690 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
692 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
693 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
694 why IFS is restored so late; thank you, Ralf, for reminding us.
696 2006-03-15 Stepan Kasal <kasal@ucw.cz>
698 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
699 variables in the examples.
701 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
703 * doc/autoconf.texi (several sections): Cleaned up documentation for
706 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
708 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
709 failure condition for `$(cmd)' style command substitutions.
710 (Parenthetical command substition, Multiline parenthetical
711 command substition): Use it.
713 * doc/autoconf.texi (Special Shell Variables): Missing word.
714 Reported by Keith Marshall <keith.marshall@total.com>.
716 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
717 IFS even in case of empty `$PATH'.
719 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
721 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
722 `expr' away if there is nothing to do.
723 < --keywords >: Simplify and robustify argument handling.
724 Revert erroneous comment from 2005-08-23. Extend to allow
725 keyword negation with `!'.
726 Update help message. Remove broken code to prevent running
727 tests multiple times.
728 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
729 Update and fix the documentation accordingly.
730 * tests/autotest.at (Keywords): Renamed to..
731 (Keywords and ranges): .. this. Extended to make sure negated
732 keywords, keywords taken from AT_SETUP arguments, and numeric
733 test ranges work, and that matching is case-insensitive.
735 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
737 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
738 allow to pass unnamed structs even in C++.
739 (AC_CHECK_SIZEOF): Likewise.
740 Also fix quoting error in `AC_MSG_FAILURE' arguments.
741 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
742 struct): New tests for unnamed structs, each both native and
745 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
746 a structure inside a cast, for C++ conformance.
747 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
748 Also fix quoting error in `AC_MSG_FAILURE' arguments.
750 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
751 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
752 trying to execute the command `no'.
754 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
755 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
758 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
759 example. Do not emphasize `$%', it is hardly new and special.
760 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
762 * doc/autoconf.texi (Limitations of Usual Tools): Document
763 OpenBSD and traditional `grep' failure to handle multiple
764 patterns separated by newlines.
766 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
768 * doc/autoconf.texi (several sections): Add documentation for macros
771 2006-03-10 Eric Blake <ebb9@byu.net>
773 * doc/autoconf.texi (Obsolete Macros): Fix wording of
776 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
778 * doc/autoconf.texi: Use @acronym more consistently for acronyms
779 like BSD, GPL, LGPL. Fix minor English typos.
780 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
781 Mention that these macros are becoming obsolete.
782 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
783 Use more modern terminology for which standard is what.
784 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
786 (AC_PROG_CXX): Likewise.
787 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
788 Remove obsolete discussion about how to port to K&R.
789 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
790 the obsolescent AC_HEADER_STDC.
791 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
794 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
796 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
797 Remove stdin redirection from /dev/null to allow pipe to work.
799 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
801 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
802 Require that /lib/cpp include stdio.h correctly. Solaris 10's
803 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
806 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
808 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
809 HP-UX sed is 99 commands, not 100.
810 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
811 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
812 newline for portability.
813 * tests/torture.at (Torturing config.status): Also test 100
814 AC_SUBST_FILE invocations. Fix test to actually verify the
815 AC_CONFIG_FILES output.
816 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
817 command, label, and read-file `r' limits. Unify HP-UX spelling.
819 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
821 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
823 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
824 * tests/mktests.sh: Small shell portability fixes.
826 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
828 * doc/autoconf.texi (Caching Results): Fix the examples to use a
829 recommended quoting style and discard unwanted output.
831 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
833 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
834 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
835 cases, and to work around Tru64 expr bug.
837 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
839 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
840 expr bug that turns the result of a regex match into a number if
843 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
845 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
846 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
847 in section `Specific Compiler Characteristics'.
849 2006-03-04 Eric Blake <ebb9@byu.net>
851 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
854 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
856 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
857 order of variable initialization, so even the Solaris 2.6 shell
858 can create a config header correctly. Fixes lots of test suite
861 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
863 * doc/autoconf.texi (Text processing Macros): New node to
864 document the m4sugar macros m4_re_escape, m4_tolower,
865 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
867 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
869 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
870 XrmInitialize (0) -> XrmInitialize ().
871 Reported by Toshio Kuratomi.
873 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
875 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
876 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
877 * doc/autoconf.texi (Programming in M4sh): Adjusted.
878 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
879 both macros are defun'ed so that required macros are evaluated
882 * doc/autoconf.texi (Prerequisite Macros): State more precisely
883 where a required macro will be expanded.
884 (Coding Style): Another reason not to use `m4_define'.
886 2006-02-21 Eric Blake <ebb9@byu.net>
888 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
890 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
892 * doc/autoconf.texi (Looping constructs): New node, to
893 document m4_for, m4_foreach, m4_foreach_w, and mention
895 (Obsolete Macros): Document AC_FOREACH.
896 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
897 (m4_for): Fix to never loop (almost) endlessly, work correctly
898 with arithmetic expressions in arguments, a step of zero or
899 non-integer multiple of the interval, and avoid integer
901 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
904 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
906 Add basic support for Erlang, both for configuring Erlang/OTP
907 tools, and Erlang as a conf test language.
908 * lib/autoconf/erlang.m4: New file.
909 * lib/autoconf/autoconf.m4: Add erlang.m4.
910 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
911 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
912 * NEWS: Add short description of new macros.
913 * THANKS: Add Romain Lenglet.
915 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
917 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
918 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
920 2006-02-15 Eric Blake <ebb9@byu.net>
922 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
925 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
927 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
928 (_AS_CASE): Private helper macro.
929 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
930 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
931 Fix syntax of AS_IF description
932 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
933 for the AC_REQUIRE mess.
934 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
937 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
939 * doc/autoconf.texi: Minor style cleanup.
940 Be consistent about spaces after commas.
941 Insert [] where empty args look a bit funny.
942 Fix some "i.e." and "e.g." usages.
943 Try to avoid "X/Y" usages.
944 Don't be pedantic about "ISO C99"; just say C99.
945 Prefer GNU style for spaces in front of parens.
946 (Function Portability): Comment about C89 versus C99
947 signed integer division.
948 (Particular Headers): Use current gnulib style for dirent
951 2006-02-14 Stepan Kasal <kasal@ucw.cz>
952 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
954 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
955 macros without parameters.
956 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
957 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
958 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
960 (autoupdate): Updated to match AU_ALIAS fix.
962 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
963 and Paul Eggert <eggert@cs.ucla.edu>
965 * doc/autoconf.texi (Programming in M4sh): Document
966 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
968 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
970 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
971 (AS_BOURNE_COMPATIBLE): ..this.
972 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
974 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
976 * doc/install.texi (Defining Variables): Tighten up the
977 CONFIG_SHELL wording.
979 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
980 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
982 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
983 of (set -o) rather than testing whether (set -o posix) succeeds,
984 to work around a bug in the AIX 5.3 shell. Problem originally
985 reportd by Howard Chu for libtool.
987 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
989 * doc/autoconf.texi (Running the Compiler, Running the Linker):
990 Changes the macro arguments in summaries to match the
993 2006-02-04 Stepan Kasal <kasal@ucw.cz>
995 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
996 hint as ``a workaround for a bug.''
998 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1000 * bin/autoreconf.in: New option `--no-recursive'.
1001 Improve wording for subpackages a bit.
1002 * doc/autoconf.texi (autoreconf Invocation): Updated.
1005 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
1006 in environment of `configure', not the command line.
1007 Reported by Howard Chu <hyc@highlandsun.com>.
1009 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1011 * doc/autoconf.texi (Limitations of Builtins): Document the
1012 problem with "trap -".
1014 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
1016 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
1017 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
1018 messages to differentiate Fortran and Fortran 77 tests.
1019 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
1020 AC_LANG_ASSERT, to allow use in mixed-language projects.
1022 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1024 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
1025 FOO" to "defined (FOO)".
1026 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
1027 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
1028 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
1029 * tests/tools.at (ifnames): Likewise.
1031 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1033 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
1034 * lib/Autom4te/General.pm (mktmpdir): Likewise.
1035 (END): Improve error message a bit.
1036 Reported by Bruce Korb <bkorb@gnu.org>.
1038 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1040 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1041 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
1043 2006-01-11 Stepan Kasal <kasal@ucw.cz>
1045 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
1046 requires sys/stream.h. Reported by Oliver Kiddle.
1048 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1049 Stepan Kasal <kasal@ucw.cz>
1051 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
1052 before the removals of test dirs, use `find' to avoid modification
1053 of symlinked directories.
1055 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1057 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
1058 Don't ignore the macro arguments.
1060 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
1062 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
1063 declaration that works for MSVC.
1065 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1067 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
1068 Add `*.map' and `.inf' for Green Hills compiler.
1069 Reported by Stefan Seefeld <stefan@codesourcery.com>.
1071 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
1072 correctly: pad with spaces after FIRST_PREFIX if necessary,
1073 and compute string lenghts with `m4_qlen' instead of `m4_len'.
1074 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
1075 * tests/m4sh.at (AS_HELP_STRING): Test extended.
1077 Reported by numerous people, numerous times.
1079 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
1081 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
1082 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
1083 * lib/autoconf/general.m4, lib/autoconf/status.m4:
1084 * lib/autotest/general.m4, tests/local.at:
1085 Update copyright year to 2006.
1087 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
1089 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
1090 for file names, again. Reported by Noah Misch.
1091 (Coding Style): Explain that s|a|b| is preferred for file names.
1092 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
1093 (AC_OUTPUT_MAKE_DEFS): Likewise.
1094 * lib/autotest/general.m4 (AT_INIT): Likewise.
1095 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
1096 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
1098 Fix Posix-conformance bugs re use of { command in sed scripts,
1099 and improve the sed-related documentation a bit.
1100 * doc/autoconf.texi (Installation Directory Variables): Use
1101 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
1102 rather than "sed" when talking about Sed in general.
1103 (Particular Programs): Likewise.
1104 (Coding Style): y is like s with respect to / and ,.
1105 (Limitations of Usual Tools): Document the weird restrictions
1106 that Posix has about { }. Use better quoting.
1107 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
1108 Rewrite to conform to Posix rules about { } in sed scripts.
1109 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
1110 * tests/foreign.at (Libtool): Likewise.
1111 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
1112 Use our own style advice re 's,a,b,' versus 's|a|b|'.
1114 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1116 * lib/autoconf/status.m4: Fix typo.
1118 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
1119 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
1120 `-def', for the benefit of Portland `pgf90 -Mipa'.
1121 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
1123 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
1125 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
1126 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
1127 shell from zsh to bash.
1129 2005-12-31 Stepan Kasal <kasal@ucw.cz>
1131 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
1132 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
1134 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
1136 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
1137 parentheses in $(...). Problem reported by Eric Blake.
1139 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
1141 * doc/autoconf.texi (Limitations of Usual Tools):
1142 Mention which characters can be escaped with \ in portable regular
1143 expressions used in grep, sed, expr. Mention the leading ^ problem
1144 with expr. Clean up some confusing wording. Mention which
1145 grep options are portable.
1147 2005-12-09 Stepan Kasal <kasal@ucw.cz>
1149 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
1151 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1153 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
1154 patch, noted by Ralf Wildenhues.
1156 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1158 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
1159 posix' unconditionally, for pdksh in `native sh' emulation.
1161 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1163 * doc/autoconf.texi (Shellology): Document eval $? problem
1165 (Limitations of Builtins): Likewise.
1167 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1169 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
1170 CONFIG_SHELL in the environment of the configure rerun.
1171 * doc/autoconf.texi (Here-Documents, config.status Invocation):
1172 Suggest passing CONFIG_SHELL absolute, and in the environment
1173 rather than as option.
1175 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1177 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
1178 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
1179 Fix macro quoting. Fix output for n * 98 substituted variables.
1181 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1183 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
1184 `tmp' to avoid file removal race.
1186 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1188 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
1189 ac_clean_files and LIBOBJS.
1191 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1193 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
1194 Factor functionality to..
1195 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
1196 `AC_SUBST($1)' in the public version.
1197 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
1198 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
1201 2005-11-01 Stepan Kasal <kasal@ucw.cz>
1203 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
1206 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1208 * NEWS: Move AH_HEADER mention to right place.
1210 2005-10-27 Stepan Kasal <kasal@ucw.cz>
1212 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
1213 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1215 2005-10-25 Stepan Kasal <kasal@ucw.cz>
1217 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
1218 conftst2.$ac_objext.
1219 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1221 2005-10-24 Stepan Kasal <kasal@ucw.cz>
1223 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
1224 conftest.o, to see whether the compiler really obeys; rm the object
1225 file before and after the test and register it with ac_clean_files.
1226 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
1228 2005-10-21 Stepan Kasal <kasal@ucw.cz>
1230 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
1231 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
1232 code so that the most common case requires less forks.
1234 2005-10-20 Stepan Kasal <kasal@ucw.cz>
1236 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
1237 not portable; thanks to Paul Eggert and Alexandre.
1239 * NEWS: Fix an old typo.
1241 2005-10-20 Jim Meyering <jim@meyering.net>
1243 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
1244 the latter'', in two places.
1246 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
1248 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
1249 AC_LANG_PROGRAM, fixing a typo. Don't give details about
1250 the inner workings of AC_LANG_FUNC_LINK_TRY.
1251 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
1252 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
1253 by the function rather than ignoring it.
1254 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
1255 comparing its address. Intel's interprocedural optimization was
1256 outsmarting the old heuristic. Problem reported by
1259 2005-10-19 Stepan Kasal <kasal@ucw.cz>
1261 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
1263 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1265 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
1266 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
1268 2005-10-04 Stepan Kasal <kasal@ucw.cz>
1270 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
1271 before removing it (chmod -R u+rwx); there are three instances of this.
1273 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1274 Stepan Kasal <kasal@ucw.cz>
1276 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
1277 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
1278 make its content writable before removing it. Remove an errorneous
1279 comment from the end, where the logs of the failed tests are copied
1280 to the main log file.
1282 2005-09-27 Stepan Kasal <kasal@ucw.cz>
1284 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
1285 in case the computer is too quick. Double quote the configure.ac
1288 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
1289 problems if the testsuite were running too fast.
1291 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
1293 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
1294 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
1295 (which belong to Xt, not X itself). See Debian bug 327655.
1296 * NEWS: Mention this.
1298 2005-09-07 Stepan Kasal <kasal@ucw.cz>
1300 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
1302 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
1304 * config/move-if-change: Don't output "$2 is unchanged";
1305 suggested by Ben Elliston. Handle weird characters correctly.
1307 2005-09-06 Stepan Kasal <kasal@ucw.cz>
1309 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
1310 calls, so that the final expansion of this macro is shorter.
1311 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
1312 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
1313 the cleanup there. Use AS_VAR_* macros, to be more general.
1314 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
1316 * lib/autoconf/general.m4: Use AS_IF where appropriate.
1318 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
1320 2005-09-01 Stepan Kasal <kasal@ucw.cz>
1322 * doc/autoconf.texi (Configuration Headers): Add an index entry
1325 2005-08-26 Pavel Roskin <proski@gnu.org>
1327 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
1328 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
1331 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
1333 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1334 The previous patch didn't work, so try a better one.
1336 2005-08-26 Stepan Kasal <kasal@ucw.cz>
1338 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
1339 in the example. Reported by Bruno Haible.
1340 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
1341 "if $undefined_var;" succeeds with my shell.
1343 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
1344 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
1345 but change the m4_divert_text to m4_divert_once.
1347 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
1349 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
1350 Work around bug in Solaris /usr/xpg4/bin/awk.
1351 The bug is present in at least Solaris 8 through 10.
1353 2005-08-24 Stepan Kasal <kasal@ucw.cz>
1355 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
1356 some evil values and relying on the fact that $* concatenates the
1357 parameters by the first character from IFS.
1359 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
1360 Stepan Kasal <kasal@ucw.cz>
1362 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
1363 first header appears, define AH_HEADER.
1364 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
1365 Update limitations about when to call AC_CONFIG_HEADERS.
1366 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
1367 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
1368 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
1369 ``Configuration Actions''; fix their index entries.
1371 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
1372 options correctly. Process N-M as M-N if M is smaller than N.
1373 Process ranges correctly so that N-N will run only N.
1374 Sort and uniquify the tests that will be run. If there is more
1375 than one test, reinsert the banners for the tests.
1376 * tests/autotest.at (Keywords): Unmark XFAIL.
1378 2005-08-23 Stepan Kasal <kasal@ucw.cz>
1380 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
1381 before passing the macro name to AH_TEMPLATE.
1383 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
1384 now opens log after option processing; in particular, --version
1385 and --help do not touch config.log.
1387 * Makefile.maint: Revert the change from 2005-08-12.
1389 2005-08-22 Stepan Kasal <kasal@ucw.cz>
1391 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
1393 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
1395 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1397 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
1398 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
1401 * doc/autoconf.texi (Defining Symbols, Changed Results):
1402 Prepend to LIBS, not append, in examples.
1404 2005-08-16 Stepan Kasal <kasal@ucw.cz>
1406 When building in place, set srcdir="."; suggested by Tim Van Holder.
1408 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
1409 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
1410 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
1411 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
1412 does not mean "no --srcdir option".
1414 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1416 * tests/autoscan.at (autoscan): New file.
1417 * tests/suite.at: Use it.
1418 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
1419 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
1421 * tests/autotest.at (Keywords): Test keywords combinations.
1423 2005-08-12 Stepan Kasal <kasal@ucw.cz>
1425 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
1426 add "2>&1"; gzip 1.2.4 prints help on stderr.
1428 2005-07-27 Stepan Kasal <kasal@ucw.cz>
1430 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
1431 was pushdef'ed twice while popped only once. Push it only once.
1432 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
1434 2005-07-26 Stepan Kasal <kasal@ucw.cz>
1436 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
1437 prefixed by mere "===", not "configure: === ".
1439 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1441 * Makefile.maint: Update from Bison.
1443 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
1444 "<tab>" in comment, so that the point is understandable.
1446 2005-07-25 Stepan Kasal <kasal@ucw.cz>
1448 Rewrite substantial part of lib/autoconf/status.m4.
1449 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
1450 and CONFIG_COMMANDS are not processed in four separate loops.
1451 Instead, there is one main loop. This alows that the common code
1452 is expanded only once, thus config.status (and configure) is smaller.
1454 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
1455 the AC_LIST_FILES and cousins macros are no longer used.
1457 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
1458 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
1459 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
1460 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
1461 contain the initialization, nor the for loop, nor the associated
1462 commands; all these go to ...
1463 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
1464 _AC_OUTPUT_CONFIG_STATUS.
1465 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
1466 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
1467 (_AC_OUTPUT_FILE): The creation of the sed script ...
1468 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
1469 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
1470 _AC_OUTPUT_MAIN_LOOP.
1471 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
1472 _AC_CONFIG_COMMANDS): Use ...
1473 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
1474 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
1475 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
1476 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
1477 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
1478 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
1480 (_AC_CONFIG_UNIQUE): Update.
1481 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
1482 Replaced by this ...
1483 (_AC_LIST_TAGS): ... new common macro.
1484 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
1485 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
1486 (_AC_LIST_TAG_COMMANDS): ... new common macro.
1487 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
1488 this didn't belong to the `config commands' section.
1489 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
1490 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
1491 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
1492 to the `config commands' section either.
1493 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
1494 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
1496 ... and many changes to the comments nearby.
1498 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
1499 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
1500 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
1501 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
1502 (#define header templates): The comment at the top of the generated
1503 header now includes the name(s) of the source file(s).
1505 Several unrelated small changes:
1507 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
1508 parameter to AC_DIAGNOSE.
1509 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
1510 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
1511 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
1512 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
1514 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
1515 in AC_OUTPUT doesn't double-quote it either.
1516 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
1519 2005-07-10 Stepan Kasal <kasal@ucw.cz>
1521 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
1522 versions of Portland Group compiler produce single- and double-quoted
1523 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
1524 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1526 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1528 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1529 This is a corrected version of yesterday's patch.
1531 2005-07-07 Stepan Kasal <kasal@ucw.cz>
1533 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
1534 path, too; insert a "===" to emphasize the line.
1536 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
1537 ac_cv_build_alias to ac_build_alias.
1538 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
1540 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
1541 change eliminates it. Problem reported by Alexandre Duret-Lutz.
1542 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
1543 (AC_ARG_VAR): ... here.
1544 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
1547 Keep a list of all precious variables and process them with one simple
1548 for loop, instead of expanding all commands, or, OTOH, complicated
1549 processing of output of "set".
1550 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
1551 variable names in new macro...
1552 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
1553 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
1554 a loop to assign all ac_env_* and ac_cv_env_* variables.
1555 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
1557 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
1558 its value to shell variable ac_precious_vars and call
1559 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
1560 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
1561 _AC_ARG_VAR_VALIDATE.
1563 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
1564 and the AC_SUBSTs ...
1565 (AC_INIT): ... here.
1567 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
1568 the ac_subst_files section in config.log.
1570 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
1572 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
1574 * NEWS: New macro AC_C_TYPEOF.
1575 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
1576 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
1577 * tests/c.at (C keywords): Test AC_C_TYPEOF.
1579 Fix problems reported by Nicolas Joly.
1580 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
1581 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1582 They are generated by the Tru64 v5.1B shell.
1584 2005-07-05 Stepan Kasal <kasal@ucw.cz>
1586 Fix my changes from 2005-07-01; reported by Noah Misch.
1587 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
1588 description, the macro now accepts only a single tag.
1589 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
1591 Fix cases when the varsions of Autoconf and Autotest don't match.
1592 Reported by Noah Misch.
1593 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
1594 at_top_builddir, for compatibility with older autotest.
1595 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
1596 is not set, use at_top_builddir, for compatibility with older
1597 versions of autoconf.
1599 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1601 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
1602 Problem reported by Patrick Welche.
1604 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1606 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
1607 sed substitution command, so that we allow | in program prefixes
1608 and program suffixes. (& is a problem anyway; we're not fixing
1610 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
1611 configure_input, top_builddir, srcdir, etc.
1612 * lib/autotest/general.m4 (AT_INIT): Likewise, for
1613 PATH_SEPARATOR in AUTOTEST_PATH.
1615 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1617 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
1618 for loop over config.site files using `set', to allow
1619 directory names containing IFS characters.
1621 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
1623 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
1624 directories with weird names. Apparently some people like living
1625 on the edge. However, improve the test that "pwd" actually does
1626 report a name for the working directory.
1627 * NEWS: Remove the claim that we test for funny chars in dir names.
1629 2005-07-01 Stepan Kasal <kasal@ucw.cz>
1631 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
1633 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
1634 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
1635 Now accept a single tag, not whitespace separated list.
1636 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
1638 2005-06-30 Stepan Kasal <kasal@ucw.cz>
1640 * doc/autoconf.texi (Configuration Headers): Change the explanation
1641 about #include <config.h>.
1642 (Generic Functions): Mention the Gnulib project.
1643 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
1645 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
1646 document to output the default config_* lists to config.status.
1647 Don't recognize option --file, if the functionality is not there.
1648 Likewise for --header; moreover, recognize --he and --h as shortcuts
1649 for --help in that case.
1651 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
1652 matches the order of execution. No code changed.
1654 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1656 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
1657 single-quoted -cmdline argument in Portland Group compiler.
1658 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1660 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1662 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
1664 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1666 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
1667 descriptors to child processes; reported by Norman Gray.
1669 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1671 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
1673 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
1674 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
1675 (AC_SUBST): Call it.
1676 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
1677 the directory specific variables; but don't call it for configure_input.
1679 2005-06-28 Derek Price <derek@ximbiot.com>
1681 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
1684 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1686 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
1687 directory have inherent problems with special characters like spaces,
1688 due to limitations in Make syntax. Problem reported by Alexandre
1690 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
1691 Also, fix Tru64 porting problem with shell patterns,
1692 reported by Ralf Wildenhues.
1694 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1696 * doc/autoconf.texi (Subdirectories): Fix markup typos.
1698 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1700 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
1702 Fix some more shell quoting problems. Prompted by a bug report
1703 from Justace Clutter.
1704 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
1705 variable into diagnostic. Make the diagnostic an error, not a warning,
1706 because we really don't support spaces and suchlike in dir names.
1707 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
1708 Don't worry about backslashes in srcdir; it can't happen now.
1709 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
1710 Simplify ac_optarg handling.
1711 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
1713 2005-06-22 Stepan Kasal <kasal@ucw.cz>
1715 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
1716 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
1717 * tests/atlocal.in: Propagate $EGREP and $SED.
1718 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
1719 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
1721 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
1722 that '\|' is not allowed in BREs; recommend using newline separated
1723 list of patterns instead of multiple -e options.
1725 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
1727 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
1729 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1731 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
1733 2005-06-21 Stepan Kasal <kasal@ucw.cz>
1735 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
1736 b, t, r, w commands require single space, while : cannot have any.
1737 (Special Shell Variables): Fix sed code this in the example.
1738 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
1739 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
1741 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
1742 expand to the empty list. Don't use two pairs of m4_changequote,
1745 2005-06-20 Derek Price <derek@ximbiot.com>
1747 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
1749 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
1751 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
1752 * doc/autoconf.texi:
1753 Don't mention Solaris versions so much, if a
1754 problem is common to all extant versions of Solaris. Say "SunOS
1755 4" instead of "SunOS" for SunOS 4.
1756 (awk): Mention more of the limitations of traditional Awk.
1757 (cat): Don't talk about cat -v.
1759 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
1761 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
1762 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
1763 but the implementation is entirely different and is designed
1764 to be compatible with glibc strverscmp.
1765 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
1767 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
1768 on Mac OS X 10.4 reported by Peter O'Gorman in:
1769 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
1770 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
1771 Use shell builtins rather than 'expr', to work around expr bug.
1773 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
1775 * doc/autoconf.texi: "filesystem" -> "file system".
1776 "behaviour" -> "behavior".
1777 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
1778 * lib/autoconf/general.m4: Omit blank after ":" sed command,
1780 * lib/m4sugar/m4sh.m4: Likewise.
1781 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
1782 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
1784 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
1785 (.x.1): Ignore the time stamp in the .TH line when deciding whether
1786 to update the man page. That way, we don't have to check in new
1787 man pages every month.
1789 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
1790 quotes and backslashes. Patch from Derek Price.
1792 2005-06-10 Derek Price <derek@ximbiot.com>
1794 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
1797 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
1799 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
1800 -u, since it outputs chatter if the input files are the same.
1801 Problem reported by Ralf Menzel.
1803 2005-06-08 Derek Price <derek@ximbiot.com>
1805 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
1806 renaming them since they are about to be redefined anyhow.
1808 2005-06-08 Derek Price <derek@ximbiot.com>
1810 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
1811 redefined M4 macros to this node. Document m4_include & m4_sinclude.
1812 Move m4_undefine to alphabetical order.
1814 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
1816 * README: Recommend GNU M4 1.4.3 or later.
1817 * doc/autoconf.texi (Introduction): Likewise.
1818 Reword to avoid some formatting glitches.
1819 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
1820 Clarify explanation of HP compiler bug.
1821 Redo example output tp match current CVS snapshot.
1822 Use @example.org in email addresses when the examples
1823 might get inadvertently cut-and-pasted into user code.
1824 Remove example of autom4te usage that doesn't seem to work now.
1825 Use modern AC_INIT (except when the example is meant to be
1826 shown with Autoconf 2.13).
1827 Update ksh info for Solaris 9 and later.
1829 Modernize description of Automake versions a bit.
1830 Don't claim a future version of Autoconf is near.
1831 * doc/install.texi: Reword to avoid some formatting glitches.
1833 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1835 * doc/autoconf.texi: Add [] to examples, so that the manual
1836 follows its own advice about quoting better.
1837 Reword to avoid some formatting glitches.
1838 * doc/installt.exi: Reword to avoid some formatting glitches.
1840 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1841 Tru64 ksh pattern matching bug. Reported against Libtool by
1842 Albert Chin <libtool@mlists.thewrittenword.com> and
1843 Nicolas Joly <njoly@pasteur.fr>.
1845 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1847 m4_cdr of one-member list was [[]] (one-member list containing an
1848 empty string) instead of [] (an empty list. Callers were skewed to
1849 match this misbehaviour. As a consequence of this:
1850 - m4_foreach([x], [], [foo]) expanded to `foo', while
1851 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
1852 This bug has been fixed:
1854 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
1855 expand to an empty string; print error msg if called without
1857 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
1858 misbehaviour; handle [] and [[]] correctly.
1860 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1862 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
1863 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
1864 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
1866 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
1868 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
1869 swallow records with more than 99 fields.
1870 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
1871 parse the long line.
1873 2005-06-04 Stepan Kasal <kasal@ucw.cz>
1875 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
1876 swallow literals longer than 399. Reported by Ralf Wildenhues.
1877 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
1878 to workaround this limitation.
1880 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
1882 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
1883 to gfortran, and make these the first two compiler names
1884 checked (following the general autoconf preference for gcc).
1886 2005-06-03 Stepan Kasal <kasal@ucw.cz>
1888 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
1889 (DISTCLEANFILES): Remove $(check_SCRIPTS).
1890 (testsuite): Make sure autotest.m4f is up-to-date before using it.
1892 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1894 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
1895 expression of unbounded size when processing the --list
1896 option. This runs afoul of a limit of 399 bytes per regular
1897 expression on AIX. Problem reported by Ralf Wildenhues.
1899 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1901 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
1902 * doc/autoconf.texi (Particular Headers): Reword example
1903 for multiline stdbool replacement.
1904 (Setting Output Variables): Reword text a bit. Don't
1905 give all the details about |#_!!_#|.
1906 Reword description of line replacement.
1908 2005-05-31 Dan Manthey <dan_manthey@partech.com>
1910 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
1911 now contain newlines, and substituted files must be referenced on
1912 a line alone; the sed scripts to substitute them are now very
1914 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
1915 commands can be put in a sed script portably.
1916 * doc/autoconf.texi (Setting Output Variables): Document above
1917 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
1918 use of multiline substitution.
1919 * tests/torture.at: No longer expect substitution of newline to fail.
1921 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1923 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
1924 From Ralf Menzel (trivial change).
1926 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
1928 * tests/local.at: Don't attempt to check for negated character
1929 classes in shell scripts. The test was too brittle.
1931 2005-05-25 Stepan Kasal <kasal@ucw.cz>
1933 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
1934 * doc/autoconf.texi (Limitations of Builtins): Document this
1937 2005-05-24 Stepan Kasal <kasal@ucw.cz>
1939 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
1940 common code; used in many places in the tree.
1941 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
1942 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
1944 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
1946 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
1947 messages when ac_unique_file is not found.
1948 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
1949 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
1950 commands, for consistency with AC_MSG_ERROR and such.
1952 * bin/autoconf.as: Make more use of "shift 2" in option processing.
1954 * bin/Makefile.am: Merge the two rules for creating scripts.
1956 2005-05-23 Stepan Kasal <kasal@ucw.cz>
1958 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
1959 obsolete; it was never documented.
1960 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
1962 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1964 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
1965 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
1966 (ac_top_builddir): ... this ...
1967 (ac_top_build_prefix): ... to this; the old name is also kept, for
1968 backward compatibility.
1969 (ac_top_builddir_sub): New variable, without the trailing slash,
1971 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
1972 * doc/autoconf.texi (Configuration Actions): Rename
1973 ac_top_builddir to ac_top_build_prefix.
1974 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
1975 at_top_builddir to at_top_build_prefix.
1976 * lib/autotest/general.m4 (AT_INIT): Likewise.
1978 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1980 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
1983 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1985 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
1986 argument to m4_foreach. I guess it was necessary in the past,
1987 but I think it's a no-op now.
1989 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1991 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
1992 ``cat <<_ACEOF'' commands to one.
1993 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
1994 * lib/autoconf/status.m4: On various places, use expr instead of
1996 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
1997 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
1998 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
2000 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
2001 the wrong patterns between ``case'' and ``esac.'' The previous
2002 code had false positives.
2004 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
2006 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
2008 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
2011 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
2013 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
2014 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
2015 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
2016 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
2017 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
2018 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
2019 config/config.guess, config/config.sub, config/elisp-comp,
2020 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
2021 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
2022 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
2023 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
2024 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
2025 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
2026 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
2027 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
2028 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
2029 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
2030 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
2031 lib/autoconf/general.m4, lib/autoconf/headers.m4,
2032 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2033 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
2034 lib/autoconf/specific.m4, lib/autoconf/status.m4,
2035 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
2036 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
2037 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
2038 lib/autotest/general.m4, lib/emacs/Makefile.am,
2039 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
2040 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
2041 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
2042 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
2043 tests/compile.at, tests/foreign.at, tests/fortran.at,
2044 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
2045 tests/semantics.at, tests/suite.at, tests/tools.at,
2046 tests/torture.at, tests/wrapper.as:
2047 Update FSF postal mail address.
2049 2005-05-13 Stepan Kasal <kasal@ucw.cz>
2051 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
2053 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
2054 enough arguments, similarly as in m4_bpatsubsts.
2056 2005-05-12 Stepan Kasal <kasal@ucw.cz>
2058 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
2061 2005-05-11 Stepan Kasal <kasal@ucw.cz>
2063 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
2064 for absolute directory names in one loop.
2065 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
2066 abbreviations of --version and --debug.
2068 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
2070 * doc/autoconf.texi (Autoconf Language): Be more precise about
2071 quoting rules. Problems noted by Stepan Kasal.
2072 Also, throughout this document, be more careful about white space.
2073 "blank", "white space", and "space" all have different meanings
2074 and we should be careful to say what we mean.
2076 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
2078 Fix C++ related problems reported by Werner Lemberg.
2079 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
2080 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
2081 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
2082 avoid problems with C++ and throw.
2083 * tests/compile.at: .cpp, not .cc.
2085 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
2087 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2089 * doc/autoconf.texi (Generic Functions): Typos.
2091 2005-05-02 Gary V. Vaughan <gary@gnu.org>
2093 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
2094 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
2095 set by latest automake.
2097 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
2099 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
2100 outputs 0 on GNU/Linux these days.
2102 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
2104 * doc/autoconf.texi (Autoconf Language): Add more description
2105 about quoting heuristics.
2106 (Limitations of Builtins): Describe "set -" problems.
2108 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2110 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
2113 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
2114 by AC_DEFINE; it was a mistake.
2115 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
2117 2005-04-25 Stepan Kasal <kasal@ucw.cz>
2119 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
2121 2005-04-22 Stepan Kasal <kasal@ucw.cz>
2123 * doc/autoconf.texi (External Software): Quadrigraphs are not
2124 processed correctly in AS_HELP_STRING; avoid this in the examples.
2125 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
2126 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
2127 comment and reduce m4_default([foo], []) to [foo].
2128 (m4_strip): Update the explanation.
2130 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
2132 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
2133 Remove core.conftest.* too; it's generated by Tru64 5.1.
2134 Problem reported by Jennis Pruett.
2135 * lib/autoconf/functions.m4
2136 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
2137 Don't bother to remove core files; AC_RUN_IFELSE should do that
2140 2005-04-19 Stepan Kasal <kasal@ucw.cz>
2142 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
2144 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
2146 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
2147 Report from Horst Wente.
2149 2005-04-15 Stepan Kasal <kasal@ucw.cz>
2151 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
2154 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
2156 * doc/autoconf.texi (External Software, Package Options): Add
2157 examples showing how to implement --with-* and --enable-* options.
2159 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
2161 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
2162 as well as configure.in. Problem reported by Gregorio Guidi.
2164 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
2166 * doc/autoconf.texi (Particular Functions): Use gnulib's current
2167 pattern for alloca snippet.
2169 2005-04-04 Stepan Kasal <kasal@ucw.cz>
2171 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
2173 2005-04-01 Stepan Kasal <kasal@ucw.cz>
2175 * doc/autoconf.texi (Generic Programs): Fix a typo.
2177 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
2179 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
2180 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
2182 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2184 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
2185 Merge `-z option' as well for the benefit of Solaris link flags. Pass
2186 whole-archive (-zallextract, -zdefaultextract) options in the hope of
2187 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
2188 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
2190 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
2192 * NEWS: The configure command now warns you if you attempt to use
2193 a directory whose name contains a special character like space,
2195 * doc/autoconf.texi (Installation Directory Variables): Allow
2196 "," in file names. Do not use \@; it's not a portable regexp.
2197 * bin/Makefile.am (edit): Likewise.
2198 * lib/Makefile.am (edit): Likewise.
2199 * tests/Makefile.am (edit): Likewise.
2200 * tests/semantics.at: Likewise.
2201 * tests/torture.at: Likewise.
2202 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
2203 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
2204 * doc/autoconf.texi (File System Conventions): Warn about
2205 unportable file names.
2206 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
2208 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
2209 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
2210 ac_pwd, and quote srcdir.
2211 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
2213 * doc/autoconf.texi: Fix some systematic formatting problems.
2214 ".)" needs a following @: if not at the end of a sentence, and
2215 similarly for "!)". "etc." should be preceded by a comma.
2216 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
2218 2005-03-22 Bruno Haible <bruno@clisp.org>
2220 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
2221 argument is often called 'build-aux'.
2223 2005-03-07 Stepan Kasal <kasal@ucw.cz>
2225 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
2226 macro AC_TRY_LINK is obsolete.
2227 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
2230 2005-02-24 Stepan Kasal <kasal@ucw.cz>
2232 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
2233 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
2234 from a Common Lisp's `cl'.
2235 (AC_PROG_CXX): Behave according to the documentation: don't
2236 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
2237 make the variable CCC precious; use `cl.exe', not `cl'.
2239 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2240 Alexandre Duret-Lutz <adl@gnu.org>
2242 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
2243 /dev/null, as "configure" shouldn't read stdin, and this insulates
2244 us from problems (e.g., when testing for "cl"). Also, do this
2245 redirection before invoking "hostname" or "uname", and keep the
2246 original input stream available via...
2247 (AS_ORIGINAL_STDIN_FD): ... this new macro.
2248 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
2249 bother with "</dev/null" since it's now done at the top of
2251 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
2252 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2253 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2254 * doc/autoconf.texi (File Descriptor Macros): New section.
2255 (Printing Messages): Mention it.
2256 * tests/base.at (Input/Output): New test.
2258 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
2260 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
2261 newline if neither \c nor -n work, as that would output two
2262 newlines. Prefer -n to \c. Reported by Stepan Kasal.
2264 2005-02-12 Stepan Kasal <kasal@ucw.cz>
2266 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
2267 This causes that any required macros inside will get before the if.
2268 * doc/autoconf.texi (autom4te.cache): A typo.
2270 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
2272 Undo previous change, except keep the change to
2273 lib/autoconf/programs.m4 that replaced grep with shell
2274 pattern-matching. This is because net-snmp configure reads stdin.
2275 Reported by Noah Misch.
2277 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
2279 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
2280 from /dev/null, as "configure" shouldn't read stdin, and this
2281 insulates us from problems (e.g., when testing for "cl").
2282 Suggested by Alexandre Duret-Lutz. Also, do this redirection
2283 before invoking "hostname" or "uname".
2284 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2285 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
2286 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
2287 "</dev/null" since it's now done at the top of 'configure'.
2288 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
2289 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
2290 Also, replace grep with shell pattern-matching, to save a process.
2292 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
2294 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
2295 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
2296 avoid thinking that Allegro Common Lisp's "cl" command is a C++
2299 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
2301 * doc/autoconf.texi (Limitations of Usual Tools): Document that
2302 grep -q isn't portable. Improve grep -s explanation.
2303 Problem reported by Dan Manthey.
2305 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
2307 * doc/autoconf.texi (Special Shell Variables): Clarify
2308 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
2310 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
2312 * doc/autoconf.texi: Use @acronym for DJGPP.
2313 Fix some @code's that should have been @env's, and vice versa.
2314 Sort environment variable names.
2315 Mention that shells no longer inherit IFS.
2316 Don't recommend PATH_SEPARATOR=';' so strongly.
2317 Mention that $RANDOM might expand to the empty string.
2318 "symlink" and "soft link" -> "symbolic link".
2319 Improve mktemp description (reported by Bruno Haible).
2321 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
2323 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
2324 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
2326 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
2329 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
2331 * NEWS: Mention AT_COPYRIGHT.
2333 * tests/local.at (AT_CMP): Use diff directly on input files rather
2336 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
2337 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
2339 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2340 and Paul Eggert <eggert@cs.ucla.edu>
2342 * tests/autotest.at (Empty test suite): New test.
2343 * tests/torture.at (Substitute and define special characters)
2344 (Substitute a 2000-byte string, Define to a 2000-byte string)
2345 (Substitute a newline, Define a newline): New tests.
2347 2005-02-04 Noah Misch <noah@cs.caltech.edu>
2349 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
2350 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
2351 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
2352 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
2353 (Standard regular expressions): New test.
2354 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
2355 excess test name quoting.
2356 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
2357 CPPFLAGS to `configure' instead of setting it in `configure'.
2359 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
2360 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
2363 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
2364 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
2366 * tests/local.at (AT_CMP): New macro.
2367 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
2368 (AC_SAVE_STATE): Move environment grep...
2369 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
2370 (AT_CONFIG_CMP): New macro.
2371 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
2372 * tests/c.at (Extensions): Do not exit early.
2373 * tests/atlocal.in: Inherit $GREP.
2375 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
2376 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
2378 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
2379 (AC_COPYRIGHT): Factor header comment portion out and move into...
2380 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
2381 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
2382 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
2384 * tests/local.at: Add Autoconf test suite copyright notice.
2385 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
2387 2005-02-04 Bruno Haible <bruno@clisp.org>
2388 and Paul Eggert <eggert@cs.ucla.edu>
2390 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
2392 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2394 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
2395 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
2397 Try not to generated lines of unlimited length, as POSIX places a
2398 2047-byte limit on line length of portable text files.
2399 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
2400 Use newline as a separator, not space.
2401 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
2402 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
2405 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2407 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
2408 as_func_*. Add test to check whether positional parameters
2409 are restored after function return.
2411 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
2413 * doc/autoconf.texi (Special Shell Variables): Mention _,
2414 BIN_SH, DUALCASE. Say that variables other than "status" are safe
2415 if they contain a lower-case letter. The DUALCASE problem was
2416 reported by Ralf Wildenhues.
2418 * bin/autoconf.as: Don't exit with status 0 after write failure
2419 with --help or --version.
2420 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
2421 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
2423 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2425 * doc/autoconf.texi (Limitations of Usual Tools):
2426 Unicos 9 sed limitations.
2427 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
2428 to get the option-enhanced interface on older Crays. Try ftn for
2429 Fortran 95 (newer Crays).
2431 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
2433 * man/Makefile.am (.x.1): Go back to the simple solution, but take
2434 care to echo the commands, so the user knows what's going on.
2435 Modified from a suggestion by Stepan Kasal.
2437 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
2438 with a cross reference. Derived from a suggestion by Bruce Korb.
2440 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
2442 * doc/autoconf.texi (config.status Invocation): Warn about
2443 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
2444 * doc/install.texi (Defining Variables): Likewise.
2445 Based on a proposed patch by Ralf Wildenhues.
2447 * man/Makefile.am (.x.1): Make sure the required generated files
2448 are up to date. Problem and original solution proposed by Stepan Kasal.
2449 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
2450 implicit-man-prerequisites): New rules, used by the above.
2452 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
2453 * config/config.guess, config/config.sub, config/install-sh: Likewise.
2454 * config/missing, config/texinfo.tex: Likewise.
2456 2005-01-29 Stepan Kasal <kasal@ucw.cz>
2458 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
2459 Update the long comment explaining it.
2461 m4_require no longer writes an ``is required by'' line to the
2462 execution stack. It contains only one bit of non-redundant
2463 information: that the macro was required, not called. And even
2464 this bit is useless in most situations: have you ever met a macro
2465 which both calls and requires the same macro?
2467 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
2468 (_m4_defun_pro_outer): ... only via this macro, for the outermost
2470 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
2471 (m4_expansion_stack_pop): Remove the misplaced comment.
2472 (m4_require): Don't put the ``is required by'' line to the
2473 execution stack; slightly improve the out-of-a-defun error message.
2474 (_m4_divert_grow): New macro, counter for the temporary diversions.
2475 (_m4_require_call): Use it.
2476 * tests/m4sugar.at (m4_require): Expect output without the
2477 ``is required by'' messages.
2479 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2481 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
2482 rather than x for expr.
2484 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
2486 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
2487 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2488 * lib/autotest/general.m4 (AT_INIT): Likewise.
2489 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
2490 * tests/mktests.sh: Likewise.
2492 2005-01-27 Akim Demaille <akim@epita.fr>
2494 Have autoheader honor --force.
2496 * doc/make-stds.texi, doc/standards.texi: Update from masters.
2497 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
2498 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
2499 from masters, so that FileUtils.pm's update_file provide --force
2501 * bin/autoheader.in: Pass $force to update_file so that
2502 config.h.in is always recreated when --force.
2504 2005-01-24 Stepan Kasal <kasal@ucw.cz>
2506 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
2508 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
2510 * doc/autoconf.texi (Limitations of Builtins): Clarify that
2511 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
2513 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2515 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
2516 Warn about newline stripping in `` and $(). Update Solaris
2518 (Limitations of Builtins): Use expr "X...", not expr "x...", as
2519 X insulates us from future changes to Posix.
2520 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
2523 2005-01-19 Stepan Kasal <kasal@ucw.cz>
2525 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
2526 you cannot use AC_DEFINE to define macros containing `[' or `]'.
2528 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
2530 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
2531 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
2532 bug-tar mailing list.
2534 2005-01-05 Stepan Kasal <kasal@ucw.cz>
2536 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
2538 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
2540 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
2541 ulongval to be static, to avoid unwanted GCC warning. Problem
2542 reported by Michael Jennings via Daniel Reed; see
2543 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
2545 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
2547 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
2548 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
2549 datadir, infodir, and mandir. Adjust argument parsing code.
2550 (_AC_INIT_HELP): Update help text.
2551 * doc/autoconf.texi (Installation Directory Variables): Document
2554 2005-01-04 Noah Misch <noah@cs.caltech.edu>
2556 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
2557 not seem to work, assume it does set $(MAKE).
2558 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2560 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2562 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2564 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2566 A cleanup of the diversion support in m4sugar.
2568 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
2569 (_m4_divert_n_stack): New macro; the expansion is
2570 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
2572 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
2573 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
2574 stored in _m4_divert_diversion or _m4_divert_dump.
2575 (m4_divert_pop): When the parameter is given, compare the symbolic
2576 name with the last diversion pushed on the stack. Previously, the
2577 current diversion was compared with the numeric value of the
2578 diversion given as the parameter.
2579 (m4_require): If the macro hasn't been expanded yet, call ...
2580 (_m4_require_call): this new macro.
2582 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2584 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
2585 Workarounds for documented `case' limitations.
2587 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
2589 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
2590 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2592 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
2594 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
2595 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2596 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
2598 Patch from Roger Leigh (with some minor changes) as follows:
2599 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
2600 Resurrect AC_PROG_CC_STDC.
2601 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
2602 AC_PROG_CC_C89, AC_PROG_CC_C99.
2603 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
2604 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
2605 AC_PROG_CC_C99): New macros.
2606 (AC_PROG_CC_STDC): Use them.
2607 (_AC_PROG_CC_STDC): Remove.
2608 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
2609 * THANKS: Add Roger Leigh.
2611 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2613 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
2614 signals that the package uses Automake; a `Makefile.am' is typical but
2615 not essential. Reported by Magnus Therning.
2616 * tests/torture.at (autoreconf.): New banner.
2617 (autoreconf and non-AC configure): Rename to `Non-Autoconf
2619 (autoreconf an empty directory): Rename to `Empty directory'.
2620 (Unusual Automake input files): New test.
2622 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2624 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
2625 (AT_SETUP): Clear AT_capture_files.
2626 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
2627 (AT_KEYWORDS): Fix comment typo.
2628 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
2629 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
2630 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2632 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
2634 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2635 If the variable to set is already set, set ac_cv_path_$1
2636 to the preset value so caller can assume ac_cv_path_$1
2637 is available. (trivial change)
2639 2004-12-27 Noah Misch <noah@cs.caltech.edu>
2641 * BUGS (Minor Problems): Warn about makefile limitations.
2642 * Makefile.am: Find and update `INSTALL' in $(srcdir).
2643 * man/Makefile.am: Find and update manual pages in $(srcdir).
2645 2004-12-24 Eric Blake <ebb9@byu.net>
2647 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
2648 shells in subshell, to avoid noise from ash. (trivial change)
2650 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2652 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2653 problems with SunOS ksh and backslash escaping, Bourne shells and
2654 closing brackets (both within character classes). Bug reported
2655 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
2656 <read>: New entry. Mention non-availability of -r.
2658 2004-12-21 Akim Demaille <akim@epita.fr>
2660 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
2661 avoid cluttering displayed messages. Rather, prepend srcdir where
2662 AT_LINE is used for log files.
2664 2004-12-21 Stepan Kasal <kasal@ucw.cz>
2666 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
2667 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
2668 no longer part of the macro, quote the occurrence of ``$tmp''.
2669 * doc/autoconf.texi (Forbidden Patterns): Typo.
2671 2004-12-21 Akim Demaille <akim@epita.fr>
2673 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
2674 separated from the test title by forcing a white space.
2676 2004-12-21 Akim Demaille <akim@epita.fr>
2678 Enable Emacs navigation within testsuite.log files.
2680 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
2681 use the compilation mode.
2682 (AT_LINE): Point to the srcdir.
2684 2004-12-19 Noah Misch <noah@cs.caltech.edu>
2686 * tests/Makefile.am (installcheck-local): Use $(bindir).
2687 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
2688 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
2689 Makefile.am scheme Autoconf now uses.
2691 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2693 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
2694 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2696 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2698 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
2699 (_AT_CHECK): Use it.
2700 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
2701 (AS_ESCAPE): Fix comment.
2702 * tests/autotest.at: Adjust section banner comments.
2703 (AT_CHECK_AT): Accept STATUS and STDERR.
2704 (AT_CHECK_AT_TEST): Likewise.
2705 (Invalid brace-enclosed parameter expansion)
2706 (Multiline command from M4 expansion)
2707 (Double-M4-quoted command): New tests.
2709 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
2711 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2713 2004-12-17 Akim Demaille <akim@epita.fr>
2715 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
2717 Suggested by Alexandre Duret-Lutz.
2718 * doc/autoconf.texi (Setting Output Variables): Catch up.
2720 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2722 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2724 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2726 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
2727 remove the comment which said we cannot.
2729 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2731 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
2732 Reini Urban and Paul Eggert for reporting the dependencies.
2734 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
2735 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
2736 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2738 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2740 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
2741 so that eg. ``autoscan --help'' doesn't truncate it.
2743 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
2745 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2746 generated conftest files.
2748 2004-12-13 Noah Misch <noah@cs.caltech.edu>
2750 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
2751 tracing on commands with possibly-escaped newlines.
2752 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
2753 discontinued behavior and its implications.
2754 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
2755 (BSx641-newline in command, BS-BS-newline in command)
2756 (BSx640-newline in command, Newline-CODE-BS-newline in command)
2757 (Single-quote-BS-newline in command)
2758 (Single-quote-newline-BS-newline in command): New tests.
2760 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2762 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
2763 on platforms where it works.
2764 (_AS_TEST_PREPARE): Test for ``test -x''.
2765 (_AS_BROKEN_TEST_PREPARE): Nuke.
2767 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2769 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
2770 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
2771 give only 4-letter prefix to AS_TMPDIR, comment fixed.
2772 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
2773 create the temporary directory.
2774 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2776 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
2778 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
2781 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
2783 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2785 2004-12-11 Noah Misch <noah@cs.caltech.edu>
2787 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
2788 to avoid using a negated character class. Reported by Nicolas Joly.
2789 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2791 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
2793 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
2794 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
2795 Don't depend on .x file explicitly, since "make" does that for us.
2796 Suggested by Stepan Kasal.
2798 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
2800 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
2801 ifnames): Factor common code. And they said it couldn't be done!
2803 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2805 * bin/.cvsignore: Add autoconf.in.
2806 * tests/.cvsignore: Add wrapper.in.
2807 * lib/autotest/general.m4: Escape '$' in case pattern.
2809 2004-12-09 Noah Misch <noah@cs.caltech.edu>
2811 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
2813 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
2815 * tests/autotest.at: New file.
2816 * tests/suite.at: Include it.
2817 * tests/Makefile.am: Distribute it.
2819 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
2820 shell tracing on a command that could contain multiple lines.
2821 * doc/autoconf.text: Document that fact and its implications.
2822 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
2823 * tests/autotest.at (Multiline backquote command substitution,
2824 Multiline parameter expansion, Literal multiline command,
2825 Multiline parenthetical command substitution): Remove XFAIL.
2827 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2829 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
2830 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2832 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2834 * configure.ac (test suite): Cease to generate wrapper scripts.
2835 * configure: Regenerate.
2836 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
2837 (m4f_dependencies): Adjust accordingly.
2838 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
2839 (wrapper.in): Generate it in the build directory.
2840 (MAINTAINERCLEANFILES): Delete wrapper.in.
2841 (CLEANFILES): Add wrapper.in.
2842 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
2843 the output. Replace each $as_me with a @wrap_program@.
2844 * tests/wrapper.in: Delete it; we always build it.
2846 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
2847 (EXTRA_DIST): Remove autoconf.in.
2848 (CLEANFILES): Add autoconf.in.
2849 (autoconf): Find autoconf.in in the build directory.
2850 * bin/autoconf.in: Delete it; we always build it.
2852 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2854 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
2855 PATH members so as to not prepend an empty element. Move a comment.
2856 * Makefile.am (SUBDIRS): Build in `tests' last.
2857 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
2859 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
2861 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
2862 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
2863 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
2864 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2866 2004-12-07 Stepan Kasal <kasal@ucw.cz>
2868 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
2871 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2873 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
2874 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
2875 * doc/autoconf.texi (Particular Functions): Mention new behavior.
2877 2004-12-03 Stepan Kasal <kasal@ucw.cz>
2879 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
2880 out the common code to ...
2881 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
2882 value of the #define--default to 1, iff the macro was called
2883 with exactly one parameter.
2885 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
2887 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
2888 "char c = '\200';" rather than "char c = 0x80;" as the
2889 latter doesn't conform to the strict C standard due to
2890 overflow on signed char hosts.
2892 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
2893 to -qlanglvl=ansi. We don't want to disable extensions.
2895 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
2897 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
2898 (Using Autotest, testsuite Scripts, Writing testsuite.at):
2899 Reword slightly to avoid some English-language problems noted
2900 by Ralf Wildenhues in:
2901 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2903 2004-11-29 Stepan Kasal <kasal@ucw.cz>
2905 * NEWS: Add ^L above each release.
2907 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
2909 Fix documentation problems reported by Russ Boylan in
2910 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
2911 along with some nearby cruft.
2912 * doc/autoconf.texi (Libtool): Libtool can be used without
2913 Automake (not without Autoconf).
2914 (Introduction): Mention lists.gnu.org.
2915 * BUGS: Don't mention bugs.gnu.org.
2916 Remove mention of ancient libtool compatibility problem.
2917 * NEWS: Mention that bugs.gnu.org is kaput.
2918 * README: Likewise. Mention where mailing list archives can be found.
2920 2004-11-28 Stepan Kasal <kasal@ucw.cz>
2922 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
2923 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2925 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
2927 * doc/autoconf.texi (Pretty Help Strings): Go back to
2928 single-quoting assignments to cache variables.
2930 2004-11-23 Stepan Kasal <kasal@ucw.cz>
2932 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
2933 with the examples; fix the bug in MY_ARG_WITH example reported
2934 by Alexandre Duret-Lutz.
2935 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
2936 expansion of $1 in the comment emitted to configure.
2938 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2940 * doc/autoconf.texi (Pretty Help Strings): Fix typo
2941 in my editing of the previous patch. Problem reported
2942 by Alexandre Duret-Lutz.
2944 2004-11-22 Stepan Kasal <kasal@ucw.cz>
2946 * doc/autoconf.texi (Autoconf Language): Explain that
2947 ``descriptions'' may not be double quotes.
2948 (Quotation Rule Of Thumb): Likewise.
2949 (Pretty Help Strings): Likewise; remove the wrong comment;
2950 simplify the examples and improve their quoting.
2952 2004-11-13 Stepan Kasal <kasal@ucw.cz>
2954 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
2955 the $1_found variable, don't test whether the file is executable;
2956 Both things are checked ...
2957 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
2958 the former ``test -f''.
2959 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
2961 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2963 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
2966 2004-11-10 Derek R. Price <derek@ximbiot.com>
2968 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
2969 limitations. Reorder paragraphs for clarity.
2971 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
2973 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
2974 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
2975 variants", "Unix", and some related minor wording fixups.
2977 (Shellology, Special Shell Variables): Document that the Zsh
2978 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
2979 to Alexandre Duret-Lutz for this info.
2981 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
2983 * doc/autoconf.texi (One-Shot Macros): New node.
2985 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
2987 * doc/autoconf.texi (Function Portability): Fix misdescription
2988 of putenv. Problem reported by Michael Wardle.
2990 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
2992 * doc/autoconf.texi (auindex): New macro.
2993 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
2994 Problem reported by Stepan Kasal.
2996 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
2998 Fix problems reported by Andreas Buening in:
2999 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
3000 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
3002 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
3003 readable; it's not true in OS/2-emx.
3005 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
3007 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
3008 "/usr/include", clear ac_x_includes instead of leaving it as "no"
3009 (trivial change). Problem and patch reported by Andrew Church in:
3010 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
3012 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
3014 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
3015 three args in examples. Problem reported by Frederik Fouvry in:
3016 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
3017 Also, fix some minor spacing and punctuation bugs.
3019 2004-09-02 Akim Demaille <akim@epita.fr>
3021 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
3022 "case" to restore ordering.
3023 Reported by Stepan Kasal.
3025 2004-08-26 Akim Demaille <akim@epita.fr>
3027 * doc/autoconf.texi: Minor typos and stylos.
3029 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3031 * configure.ac (AC_INIT): Bump to 2.59c.
3033 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
3037 * README: Add advice about m4 1.4.2.
3039 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
3040 texinfo.tex for now (done by hand now).
3041 * Makefile.maint (wget_files, cvs_files):
3042 Remove ansi2knr.c; nobody uses it.
3043 (ansi2knr.c-url_prefix): Remove.
3044 (cvs-update): Fix test for failure. I don't know why it ever
3047 * doc/autoconf.texi: Update URLs, some of which went stale.
3048 Use @uref rather than @href.
3050 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
3051 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
3053 * config/config.guess, config/config.sub, config/elisp-comp,
3054 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
3055 doc/fdl.texi, doc/standards.texi: Sync with master copy.
3057 * NEWS, TODO, configure.ac, bin/autoscan.in,
3058 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
3059 doc/install.texi, lib/Autom4te/Configure_ac.pm,
3060 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
3061 lib/autoconf/programs.m4, lib/autoconf/status.m4,
3062 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
3063 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
3064 tests/tools.at, tests/torture.at:
3065 Use "file name" rather than "filename" or "path",
3066 to be consistent with the terminology of the GNU coding standards.
3068 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
3070 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
3071 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
3072 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
3073 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
3075 More fixes to support spaces in the name of the build directory.
3076 This isn't a complete fix but it's an improvement.
3078 * bin/autoconf.as (autom4te_options): New var.
3079 Use it instead of appending to AUTOM4TE, so that we can allow
3080 spaces in the build directory's absolute name.
3081 * bin/autoheader.in ($autoconf): Allow spaces in file names.
3082 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
3083 AT_CHECK_NOESCAPE): Likewise.
3084 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
3085 main program): Likewise.
3087 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
3089 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
3090 From Ralf Corsepius in:
3091 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
3093 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
3095 * doc/autoconf.texi (Function Portability): Document isinf and
3096 and isnan. From a suggestion by Kevin Ryde.
3098 * lib/Autom4te/General.pm (END): Return correct exit status even
3099 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
3101 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
3103 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
3104 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
3105 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
3107 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
3109 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
3110 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
3111 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
3112 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
3113 * lib/autom4te.in (Automake-preselections): Preselect
3114 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
3116 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
3118 * lib/autom4te.in (Automake-preselections): Preselect
3119 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
3122 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
3124 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
3126 * doc/autoconf.texi (Shellology): Mention BIN_SH.
3127 Document problem with "`""`" in pdksh POSIX mode.
3129 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
3131 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
3132 with pdksh, too. Problem reported by Patrick Welche via
3134 * doc/autoconf.texi (Shellology): Note that set -o posix is
3135 useful for pkdsh, too.
3137 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
3139 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
3140 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
3141 Don't fail if ENV or BASH_ENV is readonly.
3142 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
3143 etc. are read only. Problem reported by Ludovic Courtes.
3145 2004-06-23 Noah Misch <noah@cs.caltech.edu>
3147 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
3148 zsh, disable GLOB_SUBST to avoid backslash handling problems.
3151 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
3153 * doc/autoconf.texi (File System Conventions): Warn about
3154 names like "aux". Problem reported by Eric Blake.
3156 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
3157 by zero instead of array size, so that we can use any arithmetic
3158 constant expression (instead of requiring an integer constant
3159 expression). This allows us to test expressions like DBL_MAX <
3160 LDBL_MAX, which didn't conform to the C standard using the old
3162 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
3163 now that we can do floating-point tests at compile time.
3165 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
3167 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
3168 and LDBL_EPSILON, as the resulting expression isn't an
3169 integer constant expression and violates the C standard.
3170 Problem reported by Nelson H. F. Beebe. Also, check
3171 for "L" suffix, and check that long double doesn't have
3172 worse range or precision than double, that mixed-mode
3173 arithmetic doesn't generate a diagnostic, that double
3174 constants fit in long double.
3176 2004-06-03 Kevin Ryde <user42@zip.com.au>
3178 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
3179 malloc(0) and realloc(NULL,size).
3181 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
3184 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
3186 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
3187 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
3190 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
3192 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
3193 can be rewritten using if-then-else. Suggested by Bruno Haible.
3195 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
3197 * doc/autoconf.texi (testsuite Scripts): Fix typo.
3198 Problem reported by Stepan Kasal.
3200 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
3202 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
3203 change). Patch reported by Ralf Wildenhues in
3204 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
3206 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
3207 function F exists if the compiler and linker let you compile an
3208 expression like (F != 0). Recent versions of GCC optimize away
3209 the reference to F in that case, since every function address must
3210 be nonzero, so the link succeeds even if F does not exist.
3211 Problem reported by Manu in
3212 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
3214 * doc/autoconf.texi (Systemology): Standardize on the spelling of
3215 "Unix". Many uses changed.
3216 (Limitations of Builtins): Explain better why the ! command isn't
3219 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
3221 * lib/autom4te.in (Automake-preselections): Preselect
3222 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
3224 2004-05-19 Kevin Ryde <user42@zip.com.au>
3226 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
3227 referencing AC_FUNC_STRERROR_R.
3229 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
3230 note pessimistic assumption when cross compiling.
3232 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
3234 * doc/autoconf.texi (Limitations of Make): Note that BSD make
3235 (until 2004) invoked subcommands with sh -e, contra POSIX.
3236 Reported by Kevin Ryde.
3238 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
3240 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
3241 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
3242 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
3243 `test -f " /usr/bin/grep"', which _always_ failed.
3244 (AC_PROG_SED): Ditto bogus PATH fix.
3245 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
3246 requires that grep correctly supports _multiple_ `-e' options, rather
3247 than stating only that grep should accept `-e'.
3249 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
3251 Port to C99, which requires that 'exit' be declared.
3253 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
3254 to ensure that stdlib.h is included.
3255 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
3256 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
3257 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
3258 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
3259 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
3260 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
3261 when using 'exit' in a test; C99 requires that 'exit' be declared.
3263 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
3265 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
3266 now prefers 'grep' implementations that accept -e.
3267 (Limitations of Usual Tools): Describe problems of traditional
3268 egrep and fgrep with long input lines, and of traditional grep
3270 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
3271 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
3272 All callers changed. Append /usr/xpg4/bin to the PATH, for
3274 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
3275 the user with complaints about multiple -e options.
3276 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
3277 Define it with AC_PROG_GREP.
3278 * configure.ac (AC_PROG_GREP): Add.
3279 * lib/freeze.mk (GREP): New macro.
3281 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
3283 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
3284 a possible candidate only after all others fail, rather than
3285 consulting it first. This improves backward compatibility by
3286 better reflecting the way shell selection occurred in previous
3287 versions of Autoconf, and should help to avoid triggering latent
3288 problems in other packages, such as the one in Automake where zsh
3289 is not handled robustly:
3290 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
3291 Although it is not Autoconf's responsibility to work around
3292 problems in Automake, it nevertheless makes sense to avoid
3293 introducing unnecessary incompatibilites.
3295 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
3296 Gary V. Vaughan <gary@gnu.org>
3298 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
3299 how deeply nested we are when a suitable tool is found, set the
3300 ac_path_TOOL_found flag.
3301 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
3302 nested we are in this macro. Break out of all 3 nested loops if
3303 ac_path_TOOL_found is set.
3305 2004-04-21 Gary V. Vaughan <gary@gnu.org>
3307 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
3308 of the _AS_PATH_WALK loop too if GNU flavor is found.
3310 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
3312 * doc/autoconf.texi (Limitations of Make): Update documentation
3313 for `$<'. New entry `Long lines', based on a report from Simon
3314 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
3315 paragraph about DJGPP, based on a mail from Richard Dawe.
3317 2004-04-20 Paul Eggert <eggert@twinsun.com>
3319 * tests/c.at (C keywords): Don't assume that GCC supports
3320 "restrict" and "inline", as sufficiently-old GCC versions do not
3321 (also, GCC configured to be in pedantic C89 mode does not).
3322 Problem reported by Sumit Pandya in:
3323 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
3325 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
3326 consider -g to work if it generates warnings when plain compiles
3327 don't. Problem reported by Braden McDaniel in:
3328 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
3330 * doc/autoconf.texi (Slashes): New section, to document a problem
3331 reported by Jim Meyering in:
3332 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
3334 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
3335 linker output files before linking, to work around IRIX 6 linker bug.
3336 Problem reported by Rainer Orth in:
3337 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
3339 2004-04-20 Gary V. Vaughan <gary@gnu.org>
3341 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
3342 best tool so far counter rely on the tool path variable name to
3343 avoid checks for one tool being affected by the results of running
3344 the length check on a previous tool.
3346 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
3347 match expression argument, as different greps have different
3348 regular expression flavours.
3349 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
3351 (AC_PROG_EGREP): Pass 'EGREP$'.
3352 (AC_PROG_GREP): Pass 'GREP$'.
3354 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
3356 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
3357 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
3359 2004-03-29 Paul Eggert <eggert@twinsun.com>
3361 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
3362 Types, Specific Compiler Characteristics, System Services,
3363 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
3364 etc. consistently instead of 'long', 'short', 'unsigned' etc.
3365 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
3366 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
3368 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
3369 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
3370 AC_TYPE_OFF_T): Likewise.
3371 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
3374 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
3375 pacify libtool 1.5.2. Fix quoting problems in sed command.
3377 2004-03-28 Paul Eggert <eggert@twinsun.com>
3379 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
3380 now defines HAVE_DECL_TZNAME if it is declared, when
3381 HAVE_STRUCT_TM_TM_ZONE is not defined.
3382 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
3383 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
3386 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
3388 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
3389 superfluous backslashing of quotes (") in sed expressions;
3390 thanks to Paul Eggert.
3392 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
3394 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
3395 Fortran compiler is ifort, also added pghpf; thanks to Nelson
3396 H. F. Beebe for the bug report.
3398 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
3400 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
3401 quoted -cmdline argument in Portland Group compiler (bug
3402 reported by Jeffrey J. Barteet).
3404 2004-03-25 Kevin Ryde <user42@zip.com.au>
3406 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
3407 (Run Time): ... here, where it's now mentioned.
3409 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
3411 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
3412 inherits from language Autoconf-without-aclocal-m4.
3413 (Customizing autom4te): Adjust example; the cache must now be
3414 disabled for language Autoconf-without-aclocal-m4.
3416 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
3417 Nathanael Nerode <neroden@twcny.rr.com>
3419 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
3420 AC_CHECK_TOOLS): Warn if a cross-tool is found without
3422 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3423 AC_CHECK_TARGET_TOOLS): New macros.
3424 * doc/autoconf.texi (Generic Programs): Document
3425 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
3426 AC_CHECK_TARGET_TOOLS, and warn for future changes
3427 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
3429 (Specifying Names): Document the reason for these future
3431 * tests/mktests.sh: Do not generate tests for the
3433 * NEWS: Document these changes.
3435 * doc/autoconf.texi: Avoid macros with unbraced arguments,
3436 they make TeX hang up.
3438 2004-03-15 Paul Eggert <eggert@bogus.example.com>
3440 * NEWS: New macro AC_CHECK_ALIGNOF.
3441 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
3442 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
3443 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
3445 (AC_CHECK_ALIGNOF): New macro.
3446 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
3447 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
3450 2004-03-03 Paul Eggert <eggert@twinsun.com>
3452 * bin/Makefile.am (edit): Don't use $< in a context where
3453 POSIX doesn't require support for it. Use $@.in instead.
3454 Problem reported by Anthony N. Frasso in
3455 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
3456 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
3458 2004-02-23 Gary V. Vaughan <gary@gnu.org>
3460 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
3461 from the next generation of Libtool.
3462 * lib/autom4te.in (Autoreconf-preselections): Ditto.
3464 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3466 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
3467 is not always thread-safe. Report from Nathanael Nerode.
3469 2004-02-18 Paul Eggert <eggert@twinsun.com>
3471 Fix a dependencies problem, stemming from a Autoconf 2.59 build
3472 problem on QNX reported by Stephen Rasku in
3473 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
3475 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
3476 $(m4sh_m4f_dependencies); this removes a FIXME.
3477 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
3478 (MAINTAINERCLEANFILES): Split into pieces,
3479 one per related section. Add $(srcdir)/wrapper.in.
3481 2004-02-09 Paul Eggert <eggert@twinsun.com>
3483 * doc/autoconf.texi (Setting Output Variables): Emphasize that
3484 AC_SUBST provides no portable way to escape literal newlines.
3486 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
3487 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
3488 Darwin uses -lcrt2.o and there's little point to cataloging all
3489 the system variants. Partial fix reported by Andreas Waechter in:
3490 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
3491 for bug reported by Nelson H. F. Beebe in:
3492 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
3494 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
3496 * doc/autoconf.texi (AU_DEFUN): Fix English,
3497 suggested by Paul Eggert.
3498 * lib/autoconf/autoupdate.m4: Correct reference to
3499 acobsolete.m4, suggested by Alexandre Duret-Lutz.
3501 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
3503 * bin/autoupdate.in: Define __file__ so that warnings
3504 refer to the correct file.
3505 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
3506 the behavior of the third argument.
3507 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
3508 correctly the behavior of the third argument. Document
3509 what the three macros that AU_DEFUN defines do. Fix
3510 warning message when the third argument includes $0
3511 (reported by Alexandre Duret-Lutz).
3513 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3514 Eric Sunshine <sunshine@sunshineco.com>
3515 Paul Eggert <eggert@twinsun.com>
3517 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
3518 (AS_INIT): Output shell initialization there. Removed optional
3519 parameter. Expand _AS_SHELL_FN_SPY.
3520 (AS_INIT_WITH_SHELL_FN): Removed.
3521 (_AS_SHELL_FN_SPY): New macro.
3522 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
3524 (AS_SHELL_SANITIZE): Remove loop to find better shell
3525 and documentation for the parameter.
3526 (_AS_DETECT_BETTER_SHELL): Move it here.
3527 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
3528 (_AS_RUN): Move it here, support testing with eval.
3529 (AS_REQUIRE_SHELL_FN): Require shell functions when
3531 (_AS_LINENO_WORKS): Put around braces, we do not
3532 trigger the bash bug anymore.
3533 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
3534 use AS_INIT_WITH_SHELL_FN.
3535 * bin/autoconf.in, tests/wrapper.in: Regenerated.
3537 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
3539 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
3540 * doc/autoconf.texi: Don't say that the third parameter
3542 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
3543 (AU_DEFUN): Honor the third parameter, create autoupdate
3544 macros with AU_DEFINE.
3545 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
3546 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
3547 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
3548 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
3549 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
3550 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
3551 AC_XENIX_DIR): Likewise.
3552 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
3553 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
3554 * lib/autoconf/status.m4: Remove FIXME.
3555 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
3556 that the macro is not present anymore in the updated
3558 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
3561 2004-01-28 Paul Eggert <eggert@twinsun.com>
3563 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
3565 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
3566 2003 (except 1997) to the list of copyright years. This undoes
3567 the 2003-05-22 change, which removed the older years from the list.
3568 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
3570 2004-01-27 Gary V. Vaughan <gary@gnu.org>
3571 Albert Chin-A-Young <china@thewrittenword.com>
3573 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
3574 grep or ggrep program in PATH that accepts as long lines as
3576 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
3578 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
3579 egrep and fgrep respectively if $GREP -E/-F don't work.
3580 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
3581 _AC_PROG_GREP, and AC_PROG_SED.
3582 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
3583 longest input length accepted by a command.
3584 (AC_PROG_SED): Use it.
3585 * doc/autoconf.texi (Particular Programs): Document the changes.
3588 2004-01-27 Paul Eggert <eggert@twinsun.com>
3590 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
3591 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3592 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
3593 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3595 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
3596 bin/autoconf.in, config/Makefile.in, config/config.guess,
3597 config/config.sub, config/install-sh, config/mdate-sh,
3598 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
3599 lib/Makefile.in, lib/Autom4te/Makefile.in,
3600 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
3601 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
3602 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
3603 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
3604 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
3605 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
3606 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
3607 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
3608 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
3609 tests/actypes.at: Regenerate and/or sync with original
3612 2004-01-26 Paul Eggert <eggert@twinsun.com>
3614 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
3615 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
3616 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
3617 not <inttypes.h>. Problem reported by Tim Mooney in
3618 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
3619 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3622 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
3623 otherwise "make check" fails because it forbids cmp (I guess
3624 because cmp treats files as binary on DOS-like systems).
3626 * tests/mktests.sh: Update copyright date to 2004, since some tests
3627 have changed in 2004.
3629 2004-01-23 Gary V. Vaughan <gary@gnu.org>
3631 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
3632 non-truncating sed or gsed program in PATH.
3633 * tests/acprograms.at: Add it.
3634 * doc/autoconf.texi (Particular Programs): Document it.
3637 2004-01-15 Paul Eggert <eggert@twinsun.com>
3639 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
3640 -std1 disables some useful extensions on Tru64. Problem reported
3642 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
3644 2004-01-14 Paul Eggert <eggert@twinsun.com>
3646 * doc/autoconf.texi (Programming in M4sh): Document that
3647 AS_MKDIR_P succeeds if the destination is a symbolic link
3648 to an existing directory.
3649 (Limitations of Usual Tools): Note that mkdir -p might not
3650 succeed on symlinks to directories.
3652 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
3654 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
3655 * bin/autoheader.in: Grammar fix in message.
3656 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
3657 Test for dir before calling mkdir -p. (trivial changes)
3659 2004-01-13 Eric Blake <ebb9@byu.net>
3661 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
3662 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
3664 2004-01-10 Jim Meyering <jim@meyering.net>
3666 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
3668 2004-01-09 Paul Eggert <eggert@twinsun.com>
3670 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
3671 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
3672 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
3673 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
3674 AC_COMPILE_IFELSE, since we now assume our caller invokes
3675 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
3676 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
3677 of AC_RUN_IFELSE; this avoids the warning mentioned above.
3678 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
3680 2004-01-07 Paul Eggert <eggert@twinsun.com>
3682 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
3683 `"'...'"`, as it's confusing (and I suspect it may not work on
3684 some platforms). The code was incorrect anyway, as it assumed
3685 that \$ evaluated to itself in that context. Reported by
3686 Alexandre Duret-Lutz.
3688 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
3690 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
3691 and _LT_AC_TAGCONFIG.
3693 2004-01-06 Paul Eggert <eggert@twinsun.com>
3695 * doc/autoconf.texi (One Macro Call): Fix an incorrect
3696 example, and add more examples. Reported by Eric Sunshine.
3698 2004-01-05 Paul Eggert <eggert@twinsun.com>
3700 * doc/autoconf.texi (Limitations of Usual Tools):
3701 Remove warning against "rm -fr" introduced yesterday; it
3704 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
3705 autoscan, autoupdate, ifnames): Don't use chmod -w.
3706 * lib/Makefile.am (autom4te.cfg): Likewise.
3707 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
3710 2004-01-04 Paul Eggert <eggert@twinsun.com>
3711 Paolo Bonzini <bonzini@gnu.org>
3713 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
3714 by doing lineno substitution only on lines containing "$LINENO".
3716 2004-01-04 Paul Eggert <eggert@twinsun.com>
3718 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
3719 Use "rm -f" to remove conftest.sed, not plain "rm".
3720 Bug reported by David Relson in
3721 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
3723 * Makefile.am (autom4te-update):
3724 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
3725 * Makefile.maint (my-distcheck, do-po-update): Likewise.
3726 * doc/autoconf.texi (Guidelines): Likewise.
3727 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
3728 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
3729 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3730 * lib/autotest/general.m4 (AT_INIT): Likewise.
3731 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
3732 * tests/Makefile.am (clean-local): Likewise.
3733 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
3735 * doc/autoconf.texi (Limitations of Usual Tools):
3736 Warn against "rm -fr".
3738 2004-01-03 Paul Eggert <eggert@twinsun.com>
3740 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
3741 -c -o might not work. From a suggestion by Kevin Ryde.
3742 (C Compiler, Generating Sources, Limitations
3743 of Usual Tools, Limitations of Make, Making testsuite Scripts):
3744 Don't put '-o' after non-options, as POSIX doesn't allow this.
3745 Mention that cc's name might be gcc or c89 or whatever.
3747 2004-01-04 Kevin Ryde <user42@zip.com.au>
3749 * doc/autoconf.texi: Add various further index entries.
3751 2003-12-29 Paul Eggert <eggert@twinsun.com>
3753 * bin/autoreconf.in (autoreconf_current_directory):
3754 Fix typo: mkdir without umask arg.
3756 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
3758 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
3759 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
3760 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
3761 explanation clearer.
3763 2003-12-24 Andreas Schwab <schwab@suse.de>
3765 * doc/autoconf.texi (Default Includes): Fix misspelling of
3766 AC_INCLUDES_DEFAULT.
3768 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3770 * configure.ac: Test if sh -n works.
3771 * configure: Regenerate.
3772 * tests/atlocal.in: Store the result here.
3773 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
3774 tools.at, looking in atlocal's ac_cv_sh_n_works instead
3775 of explicitly testing.
3776 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
3777 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
3778 * tests/tools.at (Syntax of the shell scripts): Simplify
3779 using AT_CHECK_SHELL_SYNTAX.
3780 (Syntax of the Perl scripts): Remove definition of
3781 AT_CHECK_PERL_SYNTAX.
3783 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3785 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
3786 stderr to /dev/null.
3787 * bin/autoconf.in: Regenerate.
3788 * bin/wrapper.in: Regenerate.
3790 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
3792 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
3793 Extracted from AS_SHELL_SANITIZE.
3794 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
3796 (AS_SHELL_SANITIZE): Move reinvocation code from
3797 _AS_LINENO_WORKS, use it to find out if shell
3799 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
3801 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
3802 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
3804 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
3805 * bin/autoconf.in: Regenerate.
3806 * tests/wrapper.in: Regenerate.
3807 * tests/tools.at: Test the syntax of tests/autoconf
3808 and tests/testsuite.
3810 2003-11-24 Akim Demaille <akim@epita.fr>
3812 * config/announce-gen (&print_locations, &print_signatures)
3815 No longer rely on Gnus to inline the list of signatures: compute
3818 2003-11-24 Akim Demaille <akim@epita.fr>
3820 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
3821 override some files.
3822 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
3823 From Debian Autoconf 2.58.
3825 2003-11-24 Akim Demaille <akim@epita.fr>
3827 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
3829 From Debian Autoconf 2.58.
3831 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3833 * TODO: Remove already done things. Update the part about finding
3834 tools for the target.
3836 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3838 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
3839 Make wording more consistent.
3840 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3841 Explain the transition better.
3842 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
3843 the transition better.
3845 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3847 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
3848 parameter of AU_DEFUN.
3849 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
3850 (AU_DEFUN): Remove the third parameter, it was not used.
3851 Use AC_DEFUN directly, not AU_DEFINE.
3852 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
3853 the expanded body, consistently with other macros such as AC_USG.
3855 2003-11-17 Paul Eggert <eggert@twinsun.com>
3857 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
3858 into the initial confdefs.h, to work around a bug in NextStep 3.3
3859 patch 3 reported by Eric Sunshine.
3861 2003-11-15 Kevin Ryde <user42@zip.com.au>
3863 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
3864 than $target since the latter is not usual, add guidelines on when to
3865 use or not use the system type.
3867 2003-11-12 Derek Price <derek@ximbiot.com>
3869 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
3870 typo misrepaired by an auto-spellcheck.
3872 2003-11-12 Akim Demaille <akim@epita.fr>
3874 * bin/autoreconf.in (&parse_args): Don't call automake with
3875 --force-missing unless it actually supports it.
3876 From Debian #219336.
3878 2003-11-12 Akim Demaille <akim@epita.fr>
3880 * configure.ac: Bump to 2.59a.
3883 2003-11-06 Akim Demaille <akim@epita.fr>
3887 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
3889 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
3890 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
3891 and ac_abs_top_srcdir are absolute paths.
3892 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
3894 2003-11-05 Akim Demaille <akim@epita.fr>
3896 * configure.ac: Bump to 2.58a.
3898 2003-11-05 Kevin Ryde <user42@zip.com.au>
3900 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
3901 it provokes a warning from makeinfo about looking like a cross
3902 reference in info output.
3904 * doc/autoconf.texi (Function Portability): Add notes on signal
3905 handler return type, as per AC_TYPE_SIGNAL.
3907 2003-11-04 Akim Demaille <akim@epita.fr>
3910 * doc/standards.texi: Update from master.
3912 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
3914 2003-11-04 Akim Demaille <akim@epita.fr>
3916 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
3917 computing the absolute path to d1 in the source hierarchy: it may
3918 not exist at all. So don't cd into it.
3919 From Alexandre Duret-Lutz.
3920 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
3922 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
3923 From Paul Eggert, but named after Perl's IO::Spec->catfile.
3924 * doc/autoconf.texi (Programming in M4sh): Document.
3925 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
3927 2003-11-03 Pavel Roskin <proski@gnu.org>
3929 * doc/autoconf.texi (Generic Structure Checks): Describe
3930 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
3932 2003-10-31 Akim Demaille <akim@epita.fr>
3934 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
3936 * doc/autoconf.texi (Language Choice): Document.
3937 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
3938 the current language is Fortran.
3940 2003-10-31 Akim Demaille <akim@epita.fr>
3942 * bin/autom4te.in (&freeze): Use a less likely warning separator
3943 than `\n\n', so that `\n\n\n' is valid in warnings.
3944 Reported by Steve Huston.
3946 2003-10-28 Akim Demaille <akim@epita.fr>
3948 * Makefile.cfg (local_updates, executable-update): Tweak to be
3949 robust to parallel makes.
3950 Suggested by Alexandre Duret-Lutz.
3952 2003-10-27 Akim Demaille <akim@epita.fr>
3954 * Makefile.cfg (executable-update): New.
3955 (local_updates): Call it.
3957 2003-10-27 Akim Demaille <akim@epita.fr>
3959 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
3960 Don't remove core.* as it may remove valid user files.
3961 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
3962 (AC_FUNC_UTIME_NULL): Likewise.
3964 2003-10-23 Akim Demaille <akim@epita.fr>
3967 * config/config.guess, config/config.sub: Upgrade from masters.
3969 2003-10-23 Akim Demaille <akim@epita.fr>
3971 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
3972 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
3975 2003-10-23 Akim Demaille <akim@epita.fr>
3977 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
3978 Don't forget to remove conftest.err.
3980 2003-10-23 Akim Demaille <akim@epita.fr>
3982 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
3983 same object file in $LIBOBJS.
3984 Reported by Alexandre Duret-Lutz & Derek Robert Price.
3985 * doc/autoconf.texi (Generic Functions): Adjust.
3987 2003-10-20 Paul Eggert <eggert@twinsun.com>
3989 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
3990 Use 'eval', so that the resulting configure scripts work even if
3991 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
3993 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3995 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
3996 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
3997 (_AC_LINK_IFELSE): Check the werror flag.
3998 * doc/autoconf.texi (Generic Compiler Characteristics): Document
4002 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
4004 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
4005 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
4006 override AC_LINK_IFELSE.
4008 2003-10-15 Paul Eggert <eggert@twinsun.com>
4010 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
4011 pdksh 5.2.14. Bug reported by Ralf Corsepius.
4012 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
4013 Mention /usr/dt/bin/dtksh on Solaris.
4014 (Shell Substitutions): Warn about $((...)).
4015 (Parentheses): New section.
4017 2003-10-15 Kevin Ryde <user42@zip.com.au>
4019 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
4020 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
4022 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
4024 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
4027 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
4029 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
4030 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
4032 2003-10-10 Andreas Schwab <schwab@suse.de>
4034 * bin/autoheader.in: Avoid empty first line in --version and
4036 * bin/ifnames.in: Likewise.
4038 2003-10-09 Paul Eggert <eggert@twinsun.com>
4040 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
4041 Issue a more-informative diagnostic.
4042 Problems reported by Eric Sunshine.
4044 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4046 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
4047 -mGLOB_options_string stuff for Intel ifc, which can cause
4048 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
4049 pattern-matching instead of grep.
4051 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
4053 * doc/autoconf.texi: Document new FC Fortran macros.
4055 2003-10-08 Gary V. Vaughan <gary@gnu.org>
4057 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
4058 that future autopoint/aclocal/automake/autoreconf will be able
4059 to trace to find where to install local m4 macros.
4060 * doc/autoconf.texi (Input): Document it.
4063 2003-10-06 Gary V. Vaughan <gary@gnu.org>
4065 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
4066 -lcrtbegin.o to list of ignored flags and fix underquoting of
4069 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
4071 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
4072 cache variable instead of $G77 to decide whether to include -O2,
4073 since $G77 is specific to Fortran 77.
4075 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4077 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
4078 free" flag. Re-order flags tested into rough order of popularity.
4080 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
4082 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
4083 arguments so that it can be used with syntax identical to
4084 AC_PROG_F77, and so that we can more easily decide to
4085 remove/deprecate the DIALECT optional argument in the future if it
4087 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
4088 non-freeform-supporting compilers. Document freeform flags.
4090 2003-10-03 Akim Demaille <akim@epita.fr>
4092 * configure.ac: Look for emacs, not macs.
4093 Reported by Eric Sunshine.
4095 2003-10-03 Akim Demaille <akim@epita.fr>
4097 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
4098 * bin/autoreconf.in (autoreconf_current_directory): Create the
4099 AUX_DIR if needed, for sake of automake --add-missing etc.
4100 Suggested by Alexandre Duret-Lutz.
4102 2003-10-03 Akim Demaille <akim@epita.fr>
4104 * configure.ac: Quotation and formatting changes.
4105 (EMACS): Don't set it if it is not recent enough to support
4109 2003-10-02 Akim Demaille <akim@epita.fr>
4111 * bin/ifnames.in (&scan_file): Skip C++ comments.
4114 2003-10-01 Pavel Roskin <proski@gnu.org>
4116 * doc/autoconf.texi (Particular Structure Checks):
4117 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
4119 2003-10-01 Akim Demaille <akim@epita.fr>
4123 2003-09-30 Paul Eggert <eggert@twinsun.com>
4125 * lib/Autom4te/XFile.pm: Use Errno.
4126 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
4127 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
4129 2003-09-30 Akim Demaille <akim@epita.fr>
4131 * config/announce-gen (&print_news_deltas): Extracted from...
4132 (&print_changelog_deltas): here.
4133 (&news_file): Rename as...
4136 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
4138 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
4139 have been created when invoking the compiler.
4140 * tests/fortran.at (GNU Fortran 77): Quote $G77.
4142 2003-09-29 Akim Demaille <akim@epita.fr>
4146 * config/mkinstalldirs: Upgrade.
4148 2003-09-28 Paul Eggert <eggert@twinsun.com>
4150 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
4151 Problem reported by Lars J. Aas in
4152 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
4153 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
4154 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
4155 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
4157 2003-09-26 Akim Demaille <akim@epita.fr>
4159 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
4160 directory for AC_CONFIG_COMMANDS' first argument exists.
4161 This makes valid the invocation of _AC_SRCPATH that follows.
4162 Reported by Eric Sunshine.
4163 * doc/autoconf.texi (Configuration Commands): Adjust.
4165 2003-09-26 Akim Demaille <akim@epita.fr>
4167 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
4168 Reported by Ralf Corsepius.
4170 2003-09-26 Akim Demaille <akim@epita.fr>
4172 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
4174 Actually, use AU_ALIAS.
4177 2003-09-26 Paul Eggert <eggert@twinsun.com>
4179 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
4180 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
4181 Problem reported by Eric Sunshine in:
4182 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
4184 2003-09-26 Akim Demaille <akim@epita.fr>
4186 The test suite are sometimes assigning timings incorrectly.
4187 Reported by Henk Krus.
4188 Diagnosed by Nicolas Joly.
4190 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
4192 Instead of making AT_help a sequence of assignments to grow
4193 $at_help_all, just make AT_help_all be the growing contents of
4194 $at_help_all, and make a single assignment in...
4196 (at_times_skip): Flip the meaning and rename as...
4198 (AT_INIT): When summarizing the test that ran, remove
4199 $at_times_file after use, and check it is present before trying to
4202 2003-09-25 Akim Demaille <akim@epita.fr>
4206 * bin/Makefile.am (edit): Handle '@configure_input@'.
4207 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
4208 (ifnames): chmod -w.
4209 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
4210 executables, not bin/ executables! Otherwise all the magic needed
4211 to find non installed files is turned off. This caused a failure
4212 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
4213 as found in its environment (sent by tests/autoreconf): pointing
4214 to bin/autom4te that could not find its files.
4215 * tests/mktests.sh: Force the replacement of generated files, for
4216 the sake of "mv" program that are interactive when overwriting a
4218 * config/install-sh: Upgrade from CVS Automake.
4220 2003-09-23 Paul Eggert <eggert@twinsun.com>
4222 * doc/autoconf.texi (Limitations of Builtins): Document test -h
4223 versus test -L issues.
4225 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
4226 Paul Eggert <eggert@twinsun.com>
4228 Trivial change to support GCC's configuration procedure.
4229 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
4230 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
4231 about inconsistency if the preprocessor is set to give errors for
4233 * doc/autoconf.texi (C Compiler Characteristics): Document this.
4235 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
4237 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
4238 and XFile.pm from Automake.
4239 * lib/Autom4te/XFile.pm: Update from Automake.
4241 2003-09-12 Akim Demaille <akim@epita.fr>
4245 2003-09-12 Akim Demaille <akim@epita.fr>
4247 * config/config.guess, config/config.sub, config/missing,
4248 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
4251 2003-09-12 Akim Demaille <akim@epita.fr>
4253 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
4256 2003-09-11 Akim Demaille <akim@epita.fr>
4258 * doc/autoconf.texi (Header Portability): linux/random.h.
4259 From Peter Hendrickson.
4261 2003-09-10 Akim Demaille <akim@epita.fr>
4263 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
4264 willing to edit the output files.
4266 2003-09-10 Akim Demaille <akim@epita.fr>
4268 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
4270 * tests/mktests.sh: Skip AC_FC_SRCEXT.
4271 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
4273 2003-09-09 Akim Demaille <akim@epita.fr>
4275 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
4276 Reported by Gary Vaughan.
4277 * bin/autom4te.in (handle_m4): Likewise.
4279 2003-09-09 Akim Demaille <akim@epita.fr>
4281 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
4284 2003-09-07 Paul Eggert <eggert@twinsun.com>
4286 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
4287 Improve the accuracy of the wording about obsolescence.
4288 From a suggestion by Ian Lance Taylor in
4289 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
4291 2003-09-05 Paul Eggert <eggert@twinsun.com>
4293 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
4294 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
4296 2003-09-04 Akim Demaille <akim@epita.fr>
4298 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
4301 2003-09-04 Akim Demaille <akim@epita.fr>
4303 * bin/autom4te.in: Use &fatal where more appropriate than &error.
4304 (freeze): When exiting, use $exit_code.
4305 * lib/autoconf/fortran.m4: Comment changes.
4307 2003-09-04 Akim Demaille <akim@epita.fr>
4309 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
4311 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
4313 Add support for newer Fortran dialects. The F77 interface is
4314 unchanged, and continues to support Fortran 77. New FC macros
4315 correspond to all the old F77 macros, with output variables FC,
4316 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
4317 available dialect, but older dialects can be specified. There are
4318 new macros AC_FC_SRCEXT to set the source extension, and
4319 AC_FC_FREEFORM to accept free-form source files.
4321 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
4323 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
4324 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
4325 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
4326 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
4327 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
4328 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
4329 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
4330 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
4331 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
4332 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
4333 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
4334 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
4335 AC_FC_SRCEXT, AC_FC_FREEFORM):
4337 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
4338 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
4339 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
4340 Rewrite in terms of the above.
4341 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
4342 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
4343 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
4344 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
4346 2003-09-02 Paul Eggert <eggert@twinsun.com>
4348 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
4349 Document problems with timestamp resolution that 'make', 'cp -p', and
4352 2003-08-27 Akim Demaille <akim@epita.fr>
4354 * tests/m4sugar.at (cross_warning): Make sure to enable the
4355 output, so that we can track spurious m4sugar output.
4356 * tests/local.at: Require 2.57.
4357 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
4358 are defaulted by AT_CHECK anyway.
4359 Use AT_CHECK_AUTOM4TE.
4360 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
4363 2003-08-27 Akim Demaille <akim@epita.fr>
4365 * bin/autoheader.in: Issue the "Using auxiliary..." message only
4366 when -Wobsolete is set.
4367 Set it on by default.
4368 Suggested by Klee Dienes.
4370 2003-08-27 Akim Demaille <akim@epita.fr>
4372 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
4376 2003-08-26 Akim Demaille <akim@epita.fr>
4378 * doc/autoconf.texi (Output): Make clear that one can run code
4381 2003-08-25 Akim Demaille <akim@epita.fr>
4383 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
4386 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
4388 * bin/autoreconf.in (parse_args): Do not pass --no-force to
4389 Automake versions prior to 1.8.
4391 2003-08-25 Akim Demaille <akim@epita.fr>
4393 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
4396 2003-08-24 Akim Demaille <akim@epita.fr>
4398 * configure.ac: Bump to 2.57c.
4400 2003-08-22 Akim Demaille <akim@epita.fr>
4404 * Makefile.cfg (local-checks-to-skip): New.
4405 * Makefile.maint (local-check): Rename as...
4406 (local-checks-available): this.
4409 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
4410 * configure.ac: Require Automake 1.7.6.
4412 2003-08-22 Akim Demaille <akim@epita.fr>
4414 Output stack traces in warnings.
4416 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
4417 Replace the former...
4418 (m4_warn): Pass the call stack to _m4_warn.
4419 * bin/autom4te.in: Adjust to output the call stack.
4420 * tests/m4sugar.at (m4@&t@_warn): Adjust.
4422 2003-08-22 Akim Demaille <akim@epita.fr>
4424 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
4425 * bin/autom4te.in: Adjust.
4427 2003-08-21 Akim Demaille <akim@epita.fr>
4429 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
4431 (&getopt): Adjust the note and verb channels, depending upon
4433 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
4434 * bin/autoupdate.in: Adjust.
4435 Use &verb, not &verbose.
4437 2003-08-21 Akim Demaille <akim@epita.fr>
4439 * bin/autoheader.in (&parse_args): Use &parse_warnings and
4441 ($help): Use Autom4te::ChannelDefs::usage.
4442 * bin/autoscan.in: Use Autom4te::ChannelDefs.
4443 * lib/Autom4te/General.pm: Don't export error: you don't own it.
4445 2003-08-21 Akim Demaille <akim@epita.fr>
4447 First stab at preserving warnings between calls to autom4te,
4448 including when the cache is used.
4450 There are still several issues: (i) there are too many runs of m4
4451 (one for include, one for warnings, and some more), (ii) warnings
4452 spreading on several lines are not handled gracefully, (iii) the
4453 code meant to have the call stack display for errors does not work
4454 (its handling should move from m4 to autom4te).
4456 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
4458 (@preselect): Add m4_warn.
4459 ($exit_status): Remove, use $exit_code.
4460 ($help): Use Autom4te::ChannelDefs::usage.
4461 (&handle_m4): No longer define the m4_warnings.
4462 At each run, extract and report the warnings.
4463 Always cache the result, including if the exit status is on
4464 failure, since if nothing changes, we should result in the same
4465 failure, hence we can use the cache.
4466 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
4467 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
4469 (m4_warn): Redefine as a do-nothing: it is its invocation that
4470 matters, as warnings are now reported via traces.
4471 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
4472 the contents of m4_warn: make it _call_ m4_warn, so that tracing
4473 the latter reveals calls to the former.
4477 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
4479 2003-08-21 Akim Demaille <akim@epita.fr>
4481 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
4484 2003-08-21 Akim Demaille <akim@epita.fr>
4486 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
4488 * lib/Autom4te/ChannelDefs.pm: Doc typos.
4489 (&parse_warnings): Accept a list of warning requests.
4490 (&usage): Return a string, not a side effect.
4491 (cross): New warning category.
4493 2003-08-21 Akim Demaille <akim@epita.fr>
4495 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
4496 (&require_configure_ac): Accept an optional directory argument.
4497 ($configure_ac): Remove.
4498 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
4500 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
4501 * bin/autoscan.in: Adjust.
4503 2003-08-20 Akim Demaille <akim@epita.fr>
4505 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
4506 Reported by Alexandre Duret-Lutz.
4508 2003-08-20 Akim Demaille <akim@epita.fr>
4510 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
4511 * bin/autom4te: Adjust.
4512 In particular, be Autoconf tools are really silent when properly
4513 working, bind the verbosity of the 'note' channel to $verbose.
4514 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
4515 (&xsystem, &contents): Remove, since they are exported by...
4516 * lib/Autom4te/FileUtils.pm: this.
4518 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
4519 * lib/Autom4te/FileUtils.pm: here.
4521 2003-08-20 Akim Demaille <akim@epita.fr>
4523 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
4524 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
4527 2003-08-20 Akim Demaille <akim@epita.fr>
4529 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
4530 (autom4te-update): New.
4531 * Makefile.cfg (update): Bind autom4te-update.
4533 2003-08-19 Derek Price <derek@ximbiot.com>
4535 * lib/autotest/general.m4: Comment various HELP_* diversions.
4536 (PARSE_ARGS_BEGIN): New section for option parsing related
4538 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
4539 package specific options and associated help.
4541 2003-08-19 Akim Demaille <akim@epita.fr>
4543 * config/announce-gen, Makefile.cfg: New.
4544 * Makefile.am: Adjust.
4545 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
4547 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4549 * lib/autom4te.in (Automake-preselections): Preselect
4550 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
4553 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
4555 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
4556 (Autoconf-without-aclocal-m4): ... this new language.
4557 * doc/autoconf.texi (autom4te Invocation): Mention
4558 Autoconf-without-aclocal-m4.
4560 2003-08-18 Derek Price <derek@ximbiot.com>
4562 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
4563 RUN-IF-PASS optional arguments.
4565 2003-08-18 Derek Price <derek@ximbiot.com>
4567 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
4569 2003-08-16 Derek Price <derek@ximbiot.com>
4571 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
4572 STDOUT & STDERR arguments.
4574 2003-08-14 Derek Price <derek@ximbiot.com>
4576 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
4577 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
4578 shorter column three. Add DESCRIPTION to log file content.
4580 2003-08-13 Derek Price <derek@ximbiot.com>
4582 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
4585 2003-08-12 Derek Price <derek@ximbiot.com>
4587 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
4588 (AT_CHECK_NOESCAPE): Move core functionality to...
4589 (_AT_CHECK): ...this new macro.
4591 2003-08-07 Derek Price <derek@ximbiot.com>
4593 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
4594 (AT_CHECK_NOESCAPE): ...to this new macro.
4596 2003-07-31 Paul Eggert <eggert@twinsun.com>
4598 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
4599 in Bash 2.01. Problem reported by Brian Gough in
4600 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
4602 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
4604 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
4605 -lcrt1.o, for OS X. (trivial change)
4607 2003-07-07 Paul Eggert <eggert@twinsun.com>
4609 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
4610 inside '#ifndef __cplusplus'. Problem reported by
4613 2003-07-06 Bill Clarke <llib@computer.org>
4615 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
4616 'long', not 'int', for benefit of Sun's recent C++ compilers
4617 (trivial change). See:
4618 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
4619 (This really should be 'intptr_t', not 'long', but that would
4622 2003-06-25 Akim Demaille <akim@epita.fr>
4624 * lib/Makefile.am (autom4te.cfg): Make it read only.
4625 Depend on Makefile since it contains substitutions.
4627 * lib/autom4te.in (args): Add local.at? for Autotest args.
4628 This change was made on autom4te.cfg which is generated.
4629 Reported by Raja R. Harinath.
4631 2003-06-25 Akim Demaille <akim@epita.fr>
4633 * doc/autoconf.texi (Header Portability): sys/mount.h.
4634 From Gareth McCaughan.
4636 2003-06-23 Akim Demaille <akim@epita.fr>
4638 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
4639 not all of them. This fixes 1. the fact that when testing
4640 Autoconf there are many many config.log, 2. the incorrect use of
4641 top_srcdir to find config.log.
4642 Don't mix the detailed output of failed test with the summary of
4643 failures. Rather, append detailed log afterwards.
4645 2003-06-23 Akim Demaille <akim@epita.fr>
4647 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
4648 always run: output config.log on $at_group_log.
4650 2003-06-23 Akim Demaille <akim@epita.fr>
4652 * tests/torture.at (#define header templates): Don't use quotes in
4653 C++ comments as it puzzles Emacs' sh font-lock-mode.
4655 2003-06-23 Akim Demaille <akim@epita.fr>
4657 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
4658 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
4659 * tests/atspecific.m4: Rename as...
4660 * tests/local.at: This.
4661 * tests/suite.at: Move the globals into...
4662 * tests/local.at: here.
4663 * tests/Makefile.am: Adjust.
4664 * doc/autoconf.texi (testsuite Scripts): Adjust.
4666 2003-06-21 Kevin Ryde <user42@zip.com.au>
4668 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
4669 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
4670 ensuring we add -std1 for full-ANSI.
4672 * doc/autoconf.texi (hdrindex): New macro.
4673 Add index entries for portability of various standard header files.
4675 2003-06-20 Akim Demaille <akim@epita.fr>
4677 * configure.ac: Bump to 2.57b.
4679 2003-06-20 Akim Demaille <akim@epita.fr>
4683 2003-06-20 Akim Demaille <akim@epita.fr>
4685 * bin/autom4te.in: Don't rely on $HOME being defined.
4686 Reported by Marc Espie as PR/233.
4688 2003-06-20 Akim Demaille <akim@epita.fr>
4690 * lib/autotest/general.m4: Use at_times_file only if used.
4693 2003-06-20 Akim Demaille <akim@epita.fr>
4695 * config/config.guess, config/config.sub, config/elisp-comp,
4696 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
4697 Update from masters.
4699 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
4701 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
4702 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
4703 (TEST_SCRIPT): New diversion.
4704 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
4705 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
4706 (AT_INIT): Support for expected failures.
4708 2003-06-02 Akim Demaille <akim@epita.fr>
4710 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
4712 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
4713 Autoconf nor Automake.
4714 (&contents): New, from Automake.
4717 2003-05-28 Paul Eggert <eggert@twinsun.com>
4719 * NEWS, doc/autoconf.texi (Particular Functions),
4720 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
4721 is the inverse of localtime.
4723 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
4725 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
4726 (handle_exec_errors): New function. Work around $! being
4727 altered by WEXITSTATUS.
4728 (xqx, xsystem): Use handle_exec_errors.
4730 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
4732 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
4733 Do not call `_exit()', simply modify `$?'.
4734 (xsystem): Reset $! before running system, and check it afterward.
4735 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
4736 63 for version mismatches.
4738 2003-05-23 Akim Demaille <akim@epita.fr>
4740 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
4741 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
4742 the middle of a line).
4743 * lib/m4sugar/m4sugar.m4: Likewise.
4744 Remove useless spaces in comments.
4746 2003-05-23 Akim Demaille <akim@epita.fr>
4748 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
4749 exit 63, so that we (or Automake's "missing") can tell the
4750 difference with a plain failure.
4751 * doc/autoconf.texi (Notices): Adjust.
4753 2003-05-23 Akim Demaille <akim@epita.fr>
4755 * Makefile.am, bin/Makefile.am, config/Makefile.am,
4756 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
4757 White spaces cleanup.
4759 2003-05-22 Jim Meyering <jim@meyering.net>
4760 Paul Eggert <eggert@twinsun.com>
4762 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4763 Remove `#include <stdlib.h>' from the list; we should never
4764 make confdefs.h include <stdlib.h> or <cstdlib>, because the
4765 resulting namespace pollution would cause other tests to fail.
4766 Configure scripts run with some older versions of g++ and HP's
4767 aCC would fail due to such an #include. Problems reported by
4768 Matthew Mueller in <http://bugs.debian.org/120704> and by
4770 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
4771 In the test, use the test declaration before including <stdlib.h>,
4772 as that's closer to how it'll be used.
4774 2003-05-23 Akim Demaille <akim@epita.fr>
4776 * doc/autoconf.texi (Header Portability): ucred.h.
4779 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4781 Overhaul Autotest's logging: generate separate log files
4782 in testsuite.dir/NNN/testsuite.log, and append them to
4783 testsuite.log instead of re-running the test verbosely.
4785 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
4786 file descriptor, write 0 to at_status_file instead of setting
4787 at_status=0, initialize some new variables (at_status_file,
4788 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
4789 to rerun the tests, instead append the at_group_log to the
4790 at_suite_log when a test fails.
4791 (AT_SETUP): pipe the test case's output into at_tee_pipe,
4792 with the AS_MESSAGE_LOG_FD redirected to stdout.
4793 (AT_CLEANUP): save the output status in $at_status_file
4794 and restore it, redirect the AS_MESSAGE_LOG_FD back to
4796 (AT_CHECK): since tests are run with a redirected stdout,
4797 and used to be re-run in verbose mode, turn some $at_verbose
4798 into echo, and don't redirect the output of testing stdout
4801 * lib/autotest/autoconf.texi (testsuite Scripts): Update
4802 the name of the debugging directory and information about
4805 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4807 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
4810 2003-05-22 Akim Demaille <akim@epita.fr>
4812 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
4813 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
4814 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
4815 * lib/autoconf/status.m4: Fix and adjust copyright notices.
4817 2003-05-22 Akim Demaille <akim@epita.fr>
4819 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
4820 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
4821 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4822 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
4823 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4824 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4825 * lib/autoconf/status.m4, lib/autoconf/types.m4,
4826 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
4827 * tests/atspecific.m4, tests/base.at, tests/compile.at,
4828 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
4829 * tests/tools.at, tests/torture.at:
4830 Whitespace clean up.
4831 Suggested by Jim Meyering.
4833 2003-05-22 Akim Demaille <akim@epita.fr>
4835 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
4836 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
4837 Reported by Jim Meyering.
4839 2003-05-22 Akim Demaille <akim@epita.fr>
4841 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
4842 Add AC_HELP_STRING to the obsolete macros section.
4844 Use '@.' for sentences that ended in a capital letter.
4847 2003-05-22 Akim Demaille <akim@epita.fr>
4849 * config/config.guess, config/config.sub, config/elisp-comp,
4850 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
4851 * config/texinfo.tex, doc/standards.texi: Update from masters.
4853 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
4855 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
4858 2003-05-21 Akim Demaille <akim@epita.fr>
4860 * bin/autoupdate.in ($m4): Fix quotation.
4861 Reported by Martin Mokrejs.
4863 2003-05-19 Paul Eggert <eggert@twinsun.com>
4865 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
4866 Remove non-ASCII characters.
4868 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
4870 * tests/semantics.at (AC_SEARCH_LIBS): New test.
4871 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
4872 AC_CHECK_HEADERS_NEW): New tests.
4874 2003-05-17 Akim Demaille <akim@epita.fr>
4876 * lib/autoconf/functions.m4: Use the default includes so that
4877 memcmp be declared before being tested.
4878 Reported by Sander Niemeijer.
4879 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
4880 * doc/autoconf.texi (Default Includes): Document
4881 AC_INCLUDES_DEFAULT.
4883 2003-05-17 Akim Demaille <akim@epita.fr>
4885 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
4886 * doc/autoconf.texi (Obsolete Macros): Adjust.
4887 Reported by Werner LEMBERG and Debian Bug 190886.
4889 2003-05-16 Akim Demaille <akim@epita.fr>
4891 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
4892 user name space clashes.
4893 Reported by Bruno Haible.
4895 2003-05-16 Akim Demaille <akim@epita.fr>
4897 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4898 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
4899 them uniform, and more robust to Perl special characters.
4900 Reported by Martin Mokrejs.
4902 2003-05-14 Akim Demaille <akim@epita.fr>
4904 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
4906 2003-05-14 Akim Demaille <akim@epita.fr>
4908 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
4911 2003-05-12 Akim Demaille <akim@epita.fr>
4913 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
4915 From Matthias Andree.
4917 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
4919 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
4922 2003-05-06 Akim Demaille <akim@epita.fr>
4924 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
4925 longer updates aclocal.m4 if useless, (ii) if a file m4_included
4926 by aclocal.m4 is changed it might require the importing of another
4927 m4 extension file, i.e., aclocal must be run.
4929 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
4930 (&parse_args): Use --force with aclocal if required and supported.
4931 (&autoreconf_current_directory): Use &run_aclocal.
4933 2003-05-06 Akim Demaille <akim@epita.fr>
4935 Lock autom4te's cache.
4937 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
4938 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
4939 argument instead of a file name, so that the request file remains
4940 open during the whole autom4te run.
4941 ($icache_file): New.
4942 (&freeze): Lock the $icache_file.
4944 2003-04-29 Derek Price <derek@ximbiot.com>
4946 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
4947 seperator with m4_append_uniq(). It doesn't work.
4948 (AT_CLEANUP): Add `;' to end of at_help_all.
4949 (AT_INIT): Allow --keywords to be specified more than once. When
4950 grepping $at_help_all for keywords, use the field and keyword
4951 seperators to ensure a complete keyword match. Alter at_prev handling
4952 to support the new --keywords behavior.
4954 2003-04-27 Karl Berry <karl@freefriends.org>
4956 * doc/autoconf.texi: Make the dir entries in the autoconf manual
4957 align better with others. I also made some of the individual
4958 entries on one line, for brevity and to make it easier for me to
4959 sort my dir-example file in the Texinfo distribution :).
4961 2003-04-12 Jim Meyering <jim@meyering.net>
4963 * NEWS: Mention the new macro.
4964 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
4965 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
4966 * tests/c.at: Test AC_C_RESTRICT.
4967 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
4969 2003-04-08 Akim Demaille <akim@epita.fr>
4971 * bin/ifnames.in: Skip C++ comments.
4974 2003-04-08 Akim Demaille <akim@epita.fr>
4976 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
4977 From Ilya Zakharevich.
4979 2003-04-08 Akim Demaille <akim@epita.fr>
4981 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
4984 2003-04-01 Derek Price <derek@ximbiot.com>
4986 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
4987 from Akim's checkin of 2003-03-29.
4989 2003-04-01 Derek Price <derek@ximbiot.com>
4991 * tests/torture.at (Configuring subdirectories): Add missing
4992 close-quote for Akim's change from 2003-03-28.
4994 2003-04-01 Akim Demaille <akim@epita.fr>
4996 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
4997 (AC, AT, MS): these.
4998 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
5001 * doc/Makefile.am (CLEANFILES): Adjust.
5002 (TEXI2DVI): Make it --batch.
5004 2003-03-31 Derek Price <derek@ximbiot.com>
5006 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
5007 which removed the main loop.
5008 Thanks to Akim Demaille.
5010 2003-03-29 Akim Demaille <akim@epita.fr>
5012 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
5014 From Ilya Zakharevich.
5016 2003-03-29 Akim Demaille <akim@epita.fr>
5018 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
5019 documentation to read is Autoconf's.
5020 Suggested by Paul Eggert.
5022 2003-03-28 Akim Demaille <akim@epita.fr>
5024 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
5025 reading the section "Present But Cannot Be Compiled" when the
5026 header causes problems.
5028 2003-03-28 Akim Demaille <akim@epita.fr>
5030 * tests/torture.at (Configuring subdirectories): Require aclocal
5031 1.4, otherwise the test fails, as it does support configure.ac.
5032 This fixes the "test 40 failed" bug reports.
5034 2003-03-28 Akim Demaille <akim@epita.fr>
5036 * doc/autoconf.texi (C Compiler): `#line' portability.
5037 From Paul Eggert and Nelson H. F. Beebe.
5039 2003-03-27 Derek Price <derek@ximbiot.com>
5041 * lib/autotest/general.m4: Eliminate main loop and reorganize test
5042 layout in order to allow scripting around test groups.
5044 2003-03-27 Derek Price <derek@ximbiot.com>
5046 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
5047 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
5048 use new diversions in preparation for accepting new arguments and
5049 allowing scripting around tests.
5050 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
5052 2003-03-26 Derek Price <derek@ximbiot.com>
5054 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
5055 obsolete AC_HELP_STRING.
5056 (AC_HELP_STRING): AU_DEFUN to...
5057 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
5058 * tests/m4sh.at (AS_HELP_STRING): New test.
5060 * tests/acgeneral.at: Regenerated.
5062 2003-03-26 Derek Price <derek@ximbiot.com>
5064 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
5065 sense. Verbosify the diversion definitions comment.
5067 2003-03-26 Derek Price <derek@ximbiot.com>
5069 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
5072 2003-03-21 Eric Siegerman <eric_97@pobox.com>
5074 * doc/autoconf.texi (Present But Cannot Be Compiled):
5075 Grammar fixes and minor rewording. (trivial change)
5077 2003-03-06 Paul Eggert <eggert@twinsun.com>
5079 Work around a problem noted by Nelson H. F. Beebe with coreutils
5080 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
5081 2002/05/09) rejects '#line 32768 "configure"' because the line
5083 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
5085 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
5086 * doc/autoconf.texi (Generating Sources): Document this.
5088 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
5090 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
5091 file name for the m4 program, when it has an "exe" file extension.
5092 DJGPP's error messages include the error code in brackets -
5093 remove the error code during normalization.
5095 2003-02-28 Akim Demaille <akim@epita.fr>
5097 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
5099 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
5101 * doc/autoconf.texi (Limitations of Make): Remove the section
5102 about `$<' in inference rules, it was a bogus interpretation of
5103 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
5104 Tru64 make in the "target lookup" section.
5105 (Automake): Automake 1.5+ no longer requires special tools to be
5106 present on the developer's host.
5108 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
5110 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
5111 to a shell that can handle redirection or quoting correctly.
5112 Override SHELL with the shell detected by configure.
5113 Use of $^O suggested by Tim van Holder.
5114 * bin/autom4te.in (BEGIN): Likewise.
5115 * bin/autoreconf.in (BEGIN): Likewise.
5116 * bin/autoscan.in (BEGIN): Likewise.
5117 * bin/autoupdate.in (BEGIN): Likewise.
5118 * bin/ifnames.in (BEGIN): Likewise.
5120 * bin/ifnames.in: Add final newline to help and version messages.
5122 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
5123 to cope with DOS-style absolute paths, when constructing
5126 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
5127 When constructing paths with IFS=:, quote the path. If we're
5128 constructing a DOS-style absolute path, we don't want to split it
5131 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
5134 2003-02-25 Pavel Roskin <proski@gnu.org>
5136 * bin/autoheader.in: Add missing newline when printing
5137 suggestion how change AC_DEFINE call.
5139 2003-02-24 Paul Eggert <eggert@twinsun.com>
5141 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
5142 2002-09-01 patch by replacing "test -n" with "test -z".
5143 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
5144 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
5146 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
5147 to fix a mismatch between example and discussion.
5149 2003-02-24 Kevin Ryde <user42@zip.com.au>
5151 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
5152 format starting with "-".
5154 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
5156 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
5157 is not portable inside Makefile.
5159 2003-02-20 Akim Demaille <akim@epita.fr>
5161 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
5162 compiler says yeah, but preproc says nope, compiler is right.
5163 Conversely, prompt the reader to send a bug report to the
5164 maintainers of the package, not of Autoconf.
5166 2003-02-20 Klee Dienes <kdienes@apple.com>
5168 * bin/autoreconf.in (autoreconf_current_directory): Properly
5169 handle an empty aclocal.m4.
5171 2003-02-20 Akim Demaille <akim@epita.fr>
5173 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
5177 2002-12-23 Paul Eggert <eggert@twinsun.com>
5179 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
5180 innocuous variant befor including <limits.h> or <assert.h>. This
5181 works around a bug reported by Albert Chin: HP-UX 11i
5182 (and earlier versions) have a <limits.h> that declares
5183 gettimeofday and many other functions.
5185 2002-12-03 Paul Eggert <eggert@twinsun.com>
5189 * NEWS, configure.ac: Update version.
5191 * doc/fdl.texi: Upgrade to FDL version 1.2.
5193 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
5194 nontrivially in main's body, so that f's external declaration is
5195 not optimized away in AIX. This should fix the bug reported by
5197 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
5199 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
5200 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
5201 defined, to support freestanding compilers. This should fix the
5202 bug reported by Momchil Velkov in
5203 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
5205 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
5206 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
5207 obsolete AC_CHECK_TYPE. The missing empty arg was reported
5208 by Simon Josefsson in
5209 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
5211 * Makefile.maint (www-gnu): New macro.
5212 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
5213 the location has moved.
5215 2002-12-02 Martin Frydl <martin@systinet.com>
5217 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
5218 \(.*\) match is too long and there is something more to be checked.
5219 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
5221 2002-11-15 Akim Demaille <akim@epita.fr>
5225 * config/install-sh: chmod +x.
5227 * config/move-if-change: Indenting changes.
5228 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
5229 * configure.ac (AM_INIT_AUTOMAKE): here.
5232 2002-11-14 Akim Demaille <akim@epita.fr>
5236 * config/config.guess, config/config.sub, config/install-sh:
5237 Update from masters.
5239 2002-11-14 Akim Demaille <akim@epita.fr>
5241 * Makefile.maint: Sync with Bison, i.e.:
5242 (po-check): Scan .l and .y files instead of the
5243 .c and the .h files that they generate. This fixes the bug
5244 reported by Tim Van Holder in:
5245 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
5246 Look for N_ as well as for _. Try to avoid matching #define for
5250 2002-11-14 Akim Demaille <akim@epita.fr>
5252 * doc/autoconf.texi (C Compiler): Compiling several files at once.
5253 From Paul Eggert and Albert Chin-A-Young.
5255 2002-11-14 Akim Demaille <akim@epita.fr>
5257 * doc/autoconf.texi (C Compiler): Solitary backslashes.
5258 From Paul Eggert and Albert Chin-A-Young.
5260 2002-11-14 Kevin Ryde <user42@zip.com.au>
5262 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
5263 than assigning in main, to avoid HP cc +O3 optimizing it away.
5265 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
5267 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
5268 option. Process --recheck after parsing all options. Pass -q
5269 option to configure on --recheck.
5270 (AC_OUTPUT): Pass -q from configure to config.status.
5271 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
5272 arguments to record.
5273 * doc/autoconf.texi (config.status Invocation): Document
5274 config.status -q option.
5276 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
5278 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
5279 Makefile.in if Makefile.am exists.
5280 (output): Strip `.am' from Makefiles. Don't
5281 output AC_CONFIG_FILES if no Makefiles were found.
5283 2002-11-07 Akim Demaille <akim@epita.fr>
5285 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
5286 (local_updates): New.
5287 * Makefile.maint: Update, from CVS Bison.
5288 (local_updates): New.
5290 2002-11-06 Akim Demaille <akim@epita.fr>
5292 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
5293 declaration in extern "C" too.
5294 Reported by Roberto Bagnara.
5296 2002-11-06 Akim Demaille <akim@epita.fr>
5298 * tests/torture.at (Configuring subdirectories): Don't use grep
5300 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
5301 Reported by Ezra Peisach.
5303 2002-11-05 Akim Demaille <akim@epita.fr>
5305 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
5307 We _have_ to stop using the old compatibility scheme that tried to
5308 avoid useless backslashes because Libtool 1.4.3 contains a
5309 AC_DEFINE([error_t], [int],
5310 [Define to a type to use for \`error_t' if it is not
5311 otherwise available.])
5312 We _have_ to quote the single quote and backslashes with \. The
5313 old compatibility scheme saw that ` was backslashed, and therefore
5314 did not quote the single quote. Hence before this patch, Autoconf
5315 was not compatible with Libtool.
5317 2002-11-04 Paul Eggert <eggert@twinsun.com>
5319 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
5320 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
5321 LC_NAME, LC_PAPER, LC_TELEPHONE.
5322 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
5324 2002-11-04 Akim Demaille <akim@epita.fr>
5328 * Makefile.maint (update, cvs-update, po-update, do-po-update):
5330 * config/texinfo.tex: Update.
5332 2002-11-03 Akim Demaille <akim@epita.fr>
5334 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
5336 (&autoreconf): here.
5337 ($help, $make, &parse_args, &autoreconf_current_directory):
5339 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5341 2002-10-31 Bruno Haible <bruno@clisp.org>
5343 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
5344 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
5345 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
5346 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
5347 to ac_cv_func_realloc_0_nonnull.
5348 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
5350 2002-10-31 Akim Demaille <akim@epita.fr>
5352 The test suite was no longer checking for trailing envvars and files.
5354 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
5355 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
5357 2002-10-31 Akim Demaille <akim@epita.fr>
5359 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
5360 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
5361 Make variable, not a shell variable.
5362 Suggested by Bruno Haible.
5364 2002-10-31 Akim Demaille <akim@epita.fr>
5366 * bin/autom4te.in (load_configuration): Reject #args out of any
5369 2002-10-31 Akim Demaille <akim@epita.fr>
5371 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
5372 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
5373 (_AC_RUN_IFELSE): Use it.
5374 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
5375 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
5376 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
5379 2002-10-30 Akim Demaille <akim@epita.fr>
5381 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
5382 * doc/autoconf.texi (autom4te Invocation): Adjust.
5383 Suggested by Tim van Holder.
5385 2002-10-29 Paul Eggert <eggert@twinsun.com>
5387 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
5388 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
5389 Problem reported by Bruno Haible.
5391 2002-10-29 Akim Demaille <akim@epita.fr>
5393 * doc/autoconf.texi (Header Templates): Put also in words what the
5394 pictures says to assist free style readers.
5395 (Customizing autom4te): s/--cache=/--cache /.
5397 2002-10-29 Akim Demaille <akim@epita.fr>
5399 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
5401 sparc_address_test returns void.
5402 Use it with an argument, as prototyped.
5405 2002-10-29 Akim Demaille <akim@epita.fr>
5407 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
5408 configure.in, not configure.ac.
5409 Reported by Bruno Haible.
5411 2002-10-29 Akim Demaille <akim@epita.fr>
5413 * tests/torture.at (Deep Package): New test.
5414 (Configuring subdirectories): Don't use a testSubDir as Autotest
5417 2002-10-29 Akim Demaille <akim@epita.fr>
5419 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
5420 * doc/autoconf.texi (Invoking autom4te): Rename as...
5421 (autom4te Invocation): this, for consistency with the other nodes.
5423 2002-10-29 Akim Demaille <akim@epita.fr>
5425 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
5426 Reported by Ralf Corsepius.
5428 2002-10-29 Akim Demaille <akim@epita.fr>
5430 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5431 characters is a back as an `obsolete' warning now.
5432 Reported by Ralf Corsepius.
5434 2002-10-28 Akim Demaille <akim@epita.fr>
5436 * configure.ac: Bump to 2.54c.
5438 2002-10-28 Akim Demaille <akim@epita.fr>
5442 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
5444 2002-10-28 Akim Demaille <akim@epita.fr>
5446 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
5447 m4 executable names, and different GNU M4 version.
5448 Reported by Ezra Peisach and Paul Jarc.
5450 2002-10-27 Akim Demaille <akim@epita.fr>
5452 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
5455 2002-10-27 Akim Demaille <akim@epita.fr>
5457 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
5458 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
5459 Die when a simple Fortran program cannot be compiled.
5460 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
5461 Issue a warning if no function is given.
5463 2002-10-27 Akim Demaille <akim@epita.fr>
5465 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
5466 Move the documentation of AC_TRY_RUN to...
5467 (Obsolete Macros): here.
5468 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
5469 (autoconf Invocation): Remove the duplicates with `invoking
5471 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
5472 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5474 2002-10-27 Akim Demaille <akim@epita.fr>
5476 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
5477 and AC_LANG_FUNC_LINK_TRY.
5478 (Examining Libraries): Rename as...
5479 (Running the Linker): this.
5480 Document AC_LINK_IFELSE.
5481 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
5482 (Obsolete Macros): here.
5483 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
5484 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
5485 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
5486 * lib/autoconf/headers.m4 (AC_USG): Likewise.
5488 2002-10-27 Akim Demaille <akim@epita.fr>
5490 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
5492 More `check config.log' messages.
5494 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
5495 * doc/autoconf.texi (Printing Messages): Document it.
5496 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
5498 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
5499 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
5500 (_AC_COMPILER_OBJEXT): Likewise.
5501 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
5502 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
5504 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
5507 Deprecate macros with unusual interfaces.
5509 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
5510 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
5512 Document the new ones, and proper style.
5514 * doc/autoconf.texi (Generating Sources): New.
5515 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
5516 (Examining Declarations): Rename as...
5517 (Running the Preprocessor): this.
5518 Document AC_PREPROC_IFELSE.
5519 (Examining Syntax): Rename as...
5520 (Running the Compiler): this.
5521 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
5522 (Obsolete Macros): Move the definition of AC_TRY_CPP and
5523 AC_TRY_COMPILE here.
5525 2002-10-27 Akim Demaille <akim@epita.fr>
5527 Move sections around.
5529 * doc/autoconf.texi (Customizing autom4te): Remove a lost
5531 Reported by Burno Haible.
5532 (Language Choice): Now the first section of...
5533 (Writing Tests): this section.
5534 Make the introduction less C-centric.
5535 (Guidelines, Test Functions): Move to...
5536 (Writing Test Programs): this new section.
5537 (Test Programs): Merge into...
5540 2002-10-27 Akim Demaille <akim@epita.fr>
5542 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
5543 autom4te.in that resulted in the need for two `make' runs.
5545 2002-10-27 Akim Demaille <akim@epita.fr>
5547 * configure.ac: Bump to 2.54b.
5549 2002-10-25 Akim Demaille <akim@epita.fr>
5553 * Makefile.maint: Update from the Coreutils.
5554 (AMTAR): Remove, obsolete.
5555 (automake_repo): Update to redhat.com.
5557 Adjust to the fact that ansi2knr is now hosted by Automake.
5558 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
5559 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
5560 Update from masters.
5561 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
5562 autoscan.pre is not to be installed, and autoscan.list is not to
5564 (CLEANFILES): Add autoscan.list.
5565 (autoscan.list): Disable the cache.
5566 * bin/Makefile.am: Include freeze.mk.
5568 2002-10-25 Akim Demaille <akim@epita.fr>
5570 * bin/autom4te.in (&load_configuration): Take the file as
5572 (&parse_args): Handle -C, --cache.
5574 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
5575 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
5576 * doc/autoconf.texi (Invoking autom4te): Document --cache.
5577 Now a subsection of...
5578 (Using autom4te): This new section.
5579 (Customizing autom4te): New.
5580 (autom4te.cache): Adjust.
5582 2002-10-25 Akim Demaille <akim@epita.fr>
5584 * doc/autoconf.texi (Generic Headers): More information on how to
5585 use AC_CHECK_HEADERS.
5587 2002-10-25 Akim Demaille <akim@epita.fr>
5589 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
5592 2002-10-25 Akim Demaille <akim@epita.fr>
5594 * bin/autoscan.in (output): Output AC_PREREQ.
5595 (%needed_macros): Add AC_PREREQ so that configure.ac without one
5598 2002-10-23 Akim Demaille <akim@epita.fr>
5600 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
5603 2002-10-23 Akim Demaille <akim@epita.fr>
5605 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
5606 Reported by Peter Eisentraut.
5608 2002-10-23 Akim Demaille <akim@epita.fr>
5610 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
5613 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
5614 Eggert's recommandations.
5616 2002-10-22 Akim Demaille <akim@epita.fr>
5618 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
5619 Bison, by Paul Eggert.
5620 * doc/autoconf.texi (Particular Headers): Document it.
5622 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
5624 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
5625 `$ac_configure_args'.
5627 2002-10-22 Akim Demaille <akim@epita.fr>
5629 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
5630 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
5633 2002-10-22 Akim Demaille <akim@epita.fr>
5635 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
5637 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5638 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
5639 (_AC_CHECK_HEADER_NEW): Rename as...
5640 (AC_CHECK_HEADER): this.
5642 2002-10-22 Akim Demaille <akim@epita.fr>
5644 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
5645 words about HP-UX cmp: it was actually a user-written cmp.
5647 2002-10-22 Akim Demaille <akim@epita.fr>
5649 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
5651 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5652 Quote for Perl '' strings, not "".
5653 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
5656 2002-10-22 Akim Demaille <akim@epita.fr>
5658 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5659 characters is a syntax warning now.
5660 (_AS_QUOTE): Accept $2 as list of characters to quote.
5661 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5662 Quote for Perl, not sh.
5663 * bin/autoheader.in: When $debug, report the file which is
5665 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
5666 `@', to tickle Perl's lists.
5667 Reported by Carlos Velasco.
5669 2002-10-18 Akim Demaille <akim@epita.fr>
5671 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
5672 missing included files _are_ errors.
5673 Thanks to Alexandre Duret-Lutz.
5674 * tests/tools.at (autom4te cache): Adjust.
5675 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
5676 (AT_CHECK_M4SUGAR): Use it.
5677 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5679 * tests/tools.at (autom4te): Now it does exit 1.
5681 2002-10-17 Akim Demaille <akim@epita.fr>
5683 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
5684 Fixes the `AC_ARG_VAR' test failures.
5685 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
5686 * lib/freeze.mk (check-forbidden-patterns): New.
5687 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
5688 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
5689 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
5691 Reported months ago by H. Merijn Brand.
5693 2002-10-17 Akim Demaille <akim@epita.fr>
5695 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
5697 2002-10-16 Paul Eggert <eggert@twinsun.com>
5699 * Makefile.maint (wget_files): Remove ansi2knr.c.
5700 (ansi2knr.c-url_prefix): Remove.
5702 2002-10-16 Akim Demaille <akim@epita.fr>
5704 Because of caching, some files that no longer exist and are no
5705 longer required can still cause errors.
5706 Reported by Alexandre Duret-Lutz.
5708 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
5709 to frozen files in @ARGV, as @ARGV must remain being a list of
5710 files. Rather, at M4 call sites, use this...
5711 (&files_to_options): New function.
5712 (&freeze): Use &error.
5713 (&up_to_date): If a file that was included according to the cache
5714 is no longer there, then the output is out dated.
5715 (&main): Don't even check whether a file is up to date is anyway
5717 * tests/tools.at (autom4te cache): New.
5719 2002-10-16 Akim Demaille <akim@epita.fr>
5721 * bin/autoconf.as: Kill dead options.
5722 * bin/autoupdate.in (&parse_args): Kill old options.
5723 * bin/autoreconf.in (&parse_args): Remove dead options.
5725 (&autoreconf): Report the directories we enter *and leave*, so
5726 that error messages can be easily located, and use GNU Make
5727 format, so that Emacs' compile mode understands us.
5728 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
5729 if some file was changed instead of `print'.
5730 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
5731 (&parse_args): Remove the dead options.
5732 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
5733 autoheader's quiet mode.
5734 (AT_CHECK_AUTOUPDATE): Likewise.
5735 * tests/tools.at (autoupdate): Adjust.
5736 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5738 2002-10-11 Akim Demaille <akim@epita.fr>
5740 No longer use CPP to check for the existing of headers: use CC to
5741 check for compilability.
5743 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5744 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
5745 (_AC_CHECK_HEADER_NEW): Rename as...
5746 (AC_CHECK_HEADER): this.
5748 * lib/autotest/general.m4 (AT_INIT): Include the failed test
5749 numbers in the Subject suggestion.
5751 2002-10-11 Akim Demaille <akim@epita.fr>
5753 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
5754 Suggest using AC_CHECK_DECLS instead.
5756 2002-10-11 Akim Demaille <akim@epita.fr>
5758 * tests/torture.at (AC_ARG_VAR): Have configure report the value
5761 2002-10-11 Akim Demaille <akim@epita.fr>
5763 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
5764 file name to enable parallel executions.
5765 From Sam Varshavchik.
5767 2002-10-08 Akim Demaille <akim@epita.fr>
5769 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
5770 aclocal invocation, as Gettext macros might not be visible to
5772 Instead of blindly running autopoint, scan configure.ac (not the
5773 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
5774 Reported by Paul D. Smith.
5776 2002-10-08 Paul Eggert <eggert@twinsun.com>
5778 Work around problems found when POSIXLY_CORRECT=1 is set.
5779 None of this seems to have anything to do with POSIX, really,
5780 but it's how Perl getopt works.
5781 * bin/autom4te.in (parse_args): Configure GetOpt with
5783 * doc/autoconf.texi (Invoking autom4te):
5784 --warning -> --warnings.
5785 * lib/autom4te.in: --warning -> --warnings.
5787 2002-09-28 Akim Demaille <akim@epita.fr>
5789 * doc/autoconf.texi (autom4te.cache): New section.
5791 2002-09-28 Akim Demaille <akim@epita.fr>
5793 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
5794 (Automake-preselections): Update.
5795 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
5797 2002-09-28 Akim Demaille <akim@epita.fr>
5799 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
5800 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
5801 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5802 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
5804 2002-09-28 Akim Demaille <akim@epita.fr>
5806 * tests/torture.at (Configuring subdirectories): Be robust to
5807 users who use config.site to require for a cache: in this case,
5808 the two last configure runs, using two different sets of
5809 arguments, trigger a legitimate error.
5811 2002-09-28 Akim Demaille <akim@epita.fr>
5813 * tests/m4sh.at (Functions Support, Functions and return Support):
5816 2002-09-28 Akim Demaille <akim@epita.fr>
5818 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
5819 autoheader are Perl programs.
5820 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
5821 (autom4te): Specify that the sources are in the $srcdir.
5822 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5824 2002-09-28 Akim Demaille <akim@epita.fr>
5826 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
5827 (tm_zone): Move their rules to...
5828 * lib/autoconf/types.m4: here, using AN_ macros.
5829 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
5830 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
5831 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
5832 * lib/autoconf/programs.m4: here.
5833 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
5834 (ETAGS_FOR_AUTOCONF): New.
5837 2002-09-28 Akim Demaille <akim@epita.fr>
5839 * lib/autoconf/autoscan.m4: New file.
5840 * lib/autoconf/autoconf.m4: Include it.
5841 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
5842 that were listed in the original autoscan.list.
5843 * lib/autoconf/headers.m4: Similarly with headers.
5844 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
5845 (.m4.m4f): Don't pass --prepend-include, since that's done by
5846 tests/autom4te itself.
5847 * lib/autoscan/Makefile.am: Include freeze.mk.
5848 (autoscan.list): New target --this file is no longer a source.
5849 (autoscan.pre): New file.
5851 2002-09-28 Akim Demaille <akim@epita.fr>
5853 * bin/autoscan.in (@kinds): Make them singular.
5855 (&init_tables): When --debug, report the list of rules to ease
5856 tracking changes in autoscan.list.
5857 * lib/autoscan/autoscan.list (function): Strip comments, sort.
5859 2002-09-28 Akim Demaille <akim@epita.fr>
5861 * lib/autoscan/functions, lib/autoscan/headers,
5862 * lib/autoscan/identifiers, lib/autoscan/makevars,
5863 * lib/autoscan/programs: Merge into...
5864 * lib/autoscan/autoscan.list: this.
5865 * bin/autoscan.in (&init_tables): Adjust.
5867 2002-09-28 Akim Demaille <akim@epita.fr>
5869 * lib/autoscan/functions, lib/autoscan/headers,
5870 * lib/autoscan/identifiers, lib/autoscan/makevars,
5871 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
5872 `functions' line is now prefixed with `function:'.
5873 * bin/autoscan.in (&init_tables): Adjust.
5875 2002-09-28 Akim Demaille <akim@epita.fr>
5877 From now on, autoscan files must always map a macro name to a
5878 word: there is no `default' macro for autoscan.
5880 * bin/autoscan.in (&init_tables): Reject entries with no macro at
5882 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
5885 2002-09-28 Akim Demaille <akim@epita.fr>
5887 * bin/autoscan.in (%c_keywords): Remove.
5888 (&used): Keep only track of the words we might be interested in.
5889 (&output_kind): It is no longer needed to look for non active
5892 2002-09-27 Akim Demaille <akim@epita.fr>
5894 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
5895 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
5896 * lib/autoscan/functions: Adjust.
5897 * doc/autoconf.texi (Particular Functions): Adjust.
5899 2002-09-27 Akim Demaille <akim@epita.fr>
5901 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
5903 Thanks to Bill Moseley and Paul Eggert.
5904 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
5905 the tmpdir must be created.
5906 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
5907 dir be in the build tree, instead of $TMPDIR.
5909 2002-09-27 Akim Demaille <akim@epita.fr>
5911 * bin/autoscan.in: Improve the comments.
5912 (&parse_args): Drop obsolete undocumented options.
5913 (&output_kind): Output warnings.
5914 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
5915 (getwd): Trigger a warning.
5917 2002-09-26 Akim Demaille <akim@epita.fr>
5919 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
5920 Reported by Ralf Corsepius.
5921 * doc/autoconf.texi (autoreconf Invocation): Likewise.
5923 2002-09-26 Akim Demaille <akim@epita.fr>
5925 Single suffix rules and seperated dependencies are not portable.
5927 * doc/autoconf.texi (Installation Directory Variables): Update.
5928 (Limitations of Make): Some about `Single Suffix Rules and
5929 Separated Dependencies'.
5930 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5931 (ifnames, autoscan, autom4te): Un-factor into several rules.
5933 2002-09-25 Paul Eggert <eggert@twinsun.com>
5935 * BUGS (Interoperability bugs): New section. Mention libtool
5936 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
5938 2002-09-24 Paul Eggert <eggert@twinsun.com>
5940 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
5941 make handles suffix-rules differently from GNU make.
5943 * bin/Makefile.am (SUFFIXES, .in): Remove.
5944 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
5945 Move the body of the old .in rule here.
5947 2002-09-16 Akim Demaille <akim@epita.fr>
5949 i960 compilers create `b.out' files by default.
5950 Reported by Ralf Corsepius.
5952 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
5953 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
5955 2002-09-13 Paul Eggert <eggert@twinsun.com>
5957 * doc/autoconf.texi (Particular Headers): Remove obsolete
5958 reference to `struct timezone' in the description of
5961 2002-09-13 Akim Demaille <akim@epita.fr>
5965 * config/config.sub, config/config.guess: Update.
5966 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
5967 * Makefile.am: Adjust.
5969 2002-09-13 Akim Demaille <akim@epita.fr>
5971 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
5972 reading config.log when the compiler is rejected.
5973 Suggested by Guido Draheim.
5975 2002-09-13 Akim Demaille <akim@epita.fr>
5977 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
5978 (chdir_init) might hang when stat'ing mounted directories.
5979 Reported by Vance Shipley.
5981 2002-09-12 Akim Demaille <akim@epita.fr>
5983 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
5986 2002-09-12 Akim Demaille <akim@epita.fr>
5988 * doc/autoconf.texi (Defining Symbols): Present two different
5989 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
5990 difference between 1 argument calls, and 2-3 argument calls.
5992 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
5994 * doc/autoconf.texi: Review grammar and punctuation.
5996 2002-09-11 Paul Eggert <eggert@twinsun.com>
5998 * doc/autoconf.texi: Fix minor formatting, spelling, and
6000 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
6001 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
6004 2002-09-11 Akim Demaille <akim@epita.fr>
6006 * doc/autoconf.texi (Questions): Rename as...
6008 (Defining Directories): New.
6010 2002-09-09 Akim Demaille <akim@epita.fr>
6012 * doc/autoconf.texi (Making testsuite Scripts): Update.
6013 Suggested by Nishio Futoshi.
6015 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
6017 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
6018 plain `@' is wanted.
6020 2002-09-09 Akim Demaille <akim@epita.fr>
6022 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
6023 `duplicates', since the algorithm was too naive and could keep
6024 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
6025 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
6026 Reported by Ralf Corsepius.
6027 * tests/torture.at (Configuring subdirectories): Exercise these
6030 2002-09-09 Akim Demaille <akim@epita.fr>
6032 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
6033 looking for a replacement file.
6034 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
6035 directory is relative.
6036 * doc/autoconf.texi (Generic Functions): Clarify the replacement
6037 directory definition.
6038 Reported by Andreas Schwab and Jim Meyering.
6040 2002-09-06 Akim Demaille <akim@epita.fr>
6042 * doc/autoconf.texi (Setting Output Variables): Clarify what
6043 precious variables are.
6044 Suggested by Pontus Skoeld.
6046 2002-09-05 Akim Demaille <akim@epita.fr>
6048 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
6049 (ifnames, autoscan, autom4te): Since we don't only depend on
6050 configure.ac variables (such as VERSION etc.), but also on prefix
6051 and so forth, depend on Makefile, not configure.ac.
6052 Reported by Alexandre Duret-Lutz.
6053 * doc/autoconf.texi (Installation Directory Variables): Adjust.
6055 2002-09-05 Kevin Ryde <user42@zip.com.au>
6057 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
6058 doesn't seem to be confined to ia64, just say "some versions".
6060 2002-09-04 Akim Demaille <akim@epita.fr>
6062 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
6064 * Makefile.am (maintainer-clean-local): Remove.
6065 (MAINTAINERCLEANFILES): Remove COPYING.
6067 2002-09-03 Paul Eggert <eggert@twinsun.com>
6069 * doc/autoconf.texi (Configuration Commands): Remove obsolete
6070 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
6073 2002-09-03 Akim Demaille <akim@epita.fr>
6075 * configure.ac: Bump to 2.53d.
6076 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
6077 as of today, on Automake's team suggestion.
6079 2002-09-03 Akim Demaille <akim@epita.fr>
6083 2002-09-02 Akim Demaille <akim@epita.fr>
6085 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
6087 * configure.ac: Disable SITE_MACRO_DIR.
6089 2002-09-02 Jim Meyering <meyering@lucent.com>
6091 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
6092 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
6093 Also, tweak grammar: s/make sure to/be sure to/.
6095 2002-09-02 Paul Eggert <eggert@twinsun.com>
6097 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
6098 directory names are generally preferable to physical names.
6100 2002-09-02 Akim Demaille <akim@epita.fr>
6102 * lib/Autom4te/General.pm (&update_file): s/die/error/.
6103 Reported by Raja R. Harinath.
6104 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
6105 * bin/autoupdate.in: Use error instead of die.
6107 2002-09-01 Paul Eggert <eggert@twinsun.com>
6109 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
6110 ordinary shell concatenation rather than echo+tr+sed command that
6111 runs afoul of a long-line-related sed bug in Solaris 8.
6113 * bin/autoheader.in (parse_args): --warning -> --warnings.
6115 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
6116 stdout, as traditional "ls" does.
6117 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
6118 _AC_COMPILER_EXEEXT_O): Likewise.
6119 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
6121 * bin/autoconf.as: Add --prepend-include option. This patch was
6122 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
6123 but bin/autoconf.in is generated automatically from bin/autoconf.as.
6125 * bin/autoconf.in, configure: Regenerate.
6127 * doc/autoconf.texi (Special Shell Variables): Mention
6128 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
6130 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
6131 MAILPATH and set PS1, PS2, PS4 to default values, to work
6132 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
6133 For LC_ALL etc, first try to set to "C" as POSIX requires and as
6134 the Autoconf documentation specifies; fall back to "unset" only if
6135 this fails. Use a shell for-loop for this rather than an m4 loop,
6136 to shorten the output script.
6138 2002-08-30 Paul Eggert <eggert@twinsun.com>
6140 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
6141 1003.1-2001's requirements for CDPATH. Give a simpler workaround
6142 for the CDPATH problem. Document PWD.
6143 (Limitations of Builtins): Document the problem that "cd $foo" and
6144 "ls $foo" may refer to different directories in shells conforming
6145 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
6146 example, since the old example is now out of date.
6148 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
6149 FOO" and "ls FOO" talk about different directories; this catches
6150 problems when POSIX 1003.1-2001 "cd" fails due to symlink
6153 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
6154 of rolling our own unset.
6155 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
6156 in practice we needn't worry about CDPATH if unset doesn't work.
6158 * Makefile.in, aclocal.m4, bin/Makefile.in,
6159 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
6160 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
6161 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
6162 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
6163 tests/Makefile.in: Regenerate with Automake 1.6.3.
6165 * config/config.guess, config/config.sub, config/mkinstalldirs:
6168 * configure: Regenerate with self.
6170 2002-08-30 Kevin Ryde <user42@zip.com.au>
6172 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
6175 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6177 * bin/autom4te.in (Request::load): Correctly test for "do" read
6180 2002-08-29 Akim Demaille <akim@epita.fr>
6182 * lib/Autom4te/General.pm (&xqx): New.
6183 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
6184 hand, which is not portable.
6186 * bin/autom4te.in: Use them.
6187 Use &error instead of die.
6188 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
6191 2002-08-17 Paul Eggert <eggert@twinsun.com>
6193 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
6194 default list of compilers to try, since it was long ago superseded
6195 by the ksh fc builtin. Suggested by Steven G. Johnson.
6197 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
6199 * doc/autoconf.texi (Invoking autom4te): End the option table,
6200 fixing a bug introduced by the previous patch.
6201 (Limitations of Make): Add a 'target lookup' subentry in the
6202 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
6204 2002-07-29 Mark D. Roth <roth@feep.net>
6206 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
6207 options and use $AUTOM4TE_PATH.
6208 * doc/autoconf.texi: Remove documentation of autom4te
6209 --include-envvar and --site-macro-subdir options and document
6210 use of $AUTOM4TE_PATH.
6211 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
6212 arguments from each language section.
6214 2002-07-29 Paul Eggert <eggert@twinsun.com>
6216 * doc/install.texi: Include copyright symbol in copyright notice.
6218 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
6220 (AM_MAKEINFOFLAGS): New macro.
6221 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
6222 * Makefile.am (INSTALL): Use the new macros.
6223 Use -o rather than --output, since "missing" does not grok --output.
6225 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6227 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
6228 comments do not always work. Never trust the exit status of
6231 2002-07-24 Kevin Ryde <user42@zip.com.au>
6233 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
6234 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
6236 2002-07-23 Paul Eggert <eggert@twinsun.com>
6238 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
6239 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
6240 apparently treats PATH="nonexistent" as if it contained ".".
6241 Bug reported by Stefan `Sec' Zehl.
6243 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6245 * doc/autoconf.texi (Limitations of Make): Mention the special
6246 handling of the obj/ directory by BSD make.
6248 2002-07-20 Kevin Ryde <user42@zip.com.au>
6250 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
6253 2002-07-19 Akim Demaille <akim@epita.fr>
6255 * doc/autoconf.texi (Function Portability): `exit'.
6256 (Programming in M4sh): Ethymology of M4sh.
6258 2002-07-19 Akim Demaille <akim@epita.fr>
6260 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
6262 2002-07-18 Akim Demaille <akim@epita.fr>
6266 2002-07-18 Akim Demaille <akim@epita.fr>
6268 * config/config.guess, config/config.sub: Update.
6270 2002-07-18 Akim Demaille <akim@epita.fr>
6272 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
6275 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
6276 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
6277 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
6279 2002-07-18 Akim Demaille <akim@epita.fr>,
6280 Alexandre Duret-Lutz <duret_g@epita.fr>
6282 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
6283 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
6285 2002-07-17 Russ Allbery <rra@stanford.edu>
6287 * doc/autoconf.texi (Initializing configure): Clarify the
6288 description of the tarname default.
6290 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
6292 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
6293 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
6296 2002-07-17 Akim Demaille <akim@epita.fr>
6298 * lib/Autom4te/General.pm (find_file): Browse the directories in
6299 the order they are given.
6301 2002-07-17 Akim Demaille <akim@epita.fr>
6303 * tests/wrapsh.as, tests/wrappl.as: Merge into...
6304 * tests/wrapper.as: this.
6305 * tests/Makefile.am, configure.ac: Adjust.
6307 2002-07-17 Mark D. Roth <roth@feep.net>
6309 * configure.ac: Add --enable-site-macro-dir option.
6310 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
6311 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
6312 --site-macro-subdir options.
6313 * bin/autoconf.in: Add --prepend-include option.
6314 * bin/autoheader.in: Add --prepend-include option.
6315 * bin/autoreconf.in: Add --prepend-include option.
6316 * bin/autoscan.in: Add --prepend-include option.
6317 * bin/autoupdate.in: Add --prepend-include option.
6318 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
6319 macro directory, remove note that include path directories are
6320 used in reverse order, and document --prepend-include option.
6321 * lib/autom4te.in: Use --prepend-include instead of --include.
6322 * tests/wrapsh.in: Use --prepend-include instead of --include.
6324 2002-07-17 Akim Demaille <akim@epita.fr>
6326 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
6328 * doc/autoconf.texi (Initializing configure): Adjust.
6330 2002-07-17 Akim Demaille <akim@epita.fr>
6332 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
6333 (_AC_FUNC_MALLOC): New.
6334 (AC_FUNC_MALLOC): Use the latter.
6335 Define HAVE_MALLOC to 0 if broken.
6336 * doc/autoconf.texi (Particular Functions): Adjust.
6338 2002-07-16 Akim Demaille <akim@epita.fr>
6340 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
6341 * doc/autoconf.texi (C Compiler): Adjust.
6343 2002-07-09 Akim Demaille <akim@epita.fr>
6345 * doc/autoconf.texi: Properly set the ``header'' part.
6347 2002-07-09 Akim Demaille <akim@epita.fr>
6349 * doc/autoconf.texi (Systemology): Some about Darwin.
6351 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6353 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
6354 Don't use AC_REQUIRE in AU_DEFUN.
6356 2002-07-09 Art Haas <ahaas@neosoft.com>
6358 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
6360 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
6362 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6363 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
6364 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
6365 so that Emacs setups GNU style for perl-mode and cperl-mode.
6367 2002-06-27 Paul Eggert <eggert@twinsun.com>
6369 * config/install-sh: Quote $src. Prefer || to test's -o option,
6370 as per "Limitations of Builtins".
6371 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
6372 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
6374 * tests/mktests.sh: Use grep instead of fgrep, as per
6375 "Limitations of Builtins".
6377 2002-06-15 Paul Eggert <eggert@twinsun.com>
6379 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
6380 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
6381 so that we consistently test the just-built programs.
6382 * tests/wrappl.as: Likewise.
6384 2002-06-12 Paul Eggert <eggert@twinsun.com>
6386 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
6387 name, so that symlinks to 'autoconf' work properly. Bug reported
6389 * bin/autoheader.in (AUTOM4TE): Likewise.
6390 * bin/autoreconf.in (autoconf, autoheader): Likewise.
6391 * bin/autoscan.in (autom4te): Likewise.
6392 * bin/autoupdate.in (autom4te): Likewise.
6394 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
6395 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
6398 2002-06-11 Andreas Schwab <schwab@suse.de>
6400 * doc/autoconf.texi: Add more dir entries.
6402 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
6404 * bin/autom4te.in ($cache): Don't define using `$me', the name
6405 of the cache should not depend on the name under which autom4te
6408 2002-06-07 Akim Demaille <akim@epita.fr>
6410 * tests/tools.at (autoconf: forbidden tokens, basic)
6411 (autoconf: forbidden tokens, exceptions): Adjust to the change of
6412 words in autom4te.in.
6414 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
6416 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
6417 _AC_LANG_PROGRAM_C_F77_HOOKS.
6419 2002-06-07 Akim Demaille <akim@epita.fr>
6421 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
6423 (AC_REPLACE_FNMATCH): this.
6424 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
6425 AC_FUNC_FNMATCH_GNU.
6427 2002-06-07 Akim Demaille <akim@epita.fr>
6429 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
6430 Rosetta Stone for Unix.
6432 2002-06-07 Akim Demaille <akim@epita.fr>
6434 * bin/autom4te.in (warn_forbidden): When rejecting a token,
6435 suggest m4_pattern_allow.
6436 Suggested by Adam J. Richter.
6438 2002-06-07 Akim Demaille <akim@epita.fr>
6440 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
6441 ac_config_libobj_dir.
6442 (AC_CONFIG_LIBOBJ_DIR): New.
6443 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
6444 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
6445 Use ac_config_libobj_dir to find the replacement files.
6446 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
6447 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
6448 (AC_REPLACE_FNMATCH_GNU): these.
6449 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
6450 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
6451 * tests/mktests.sh (ac_exclude_list): Don't check
6452 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
6454 2002-06-06 Paul Eggert <eggert@twinsun.com>
6456 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
6459 * doc/autoconf.texi (Configuration Links): Likewise.
6460 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
6462 2002-06-05 Paul Eggert <eggert@twinsun.com>
6464 * config/config.guess, config/config.sub, config/texinfo.tex:
6465 Update from masters.
6467 2002-05-29 Paul Eggert <eggert@twinsun.com>
6469 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
6470 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
6471 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
6473 * lib/autoconf/Makefile.am (check-local): Likewise.
6474 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
6475 * lib/autoconf/types.m4 (commentary only): Likewise.
6476 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
6477 * lib/autotest/Makefile.am (check-local): Likewise.
6478 * lib/m4sugar/Makefile.am (check-local): Likewise.
6479 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
6480 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
6482 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
6483 * doc/autoconf.texi (Particular Programs): Document them.
6484 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
6487 2002-05-27 Paul Eggert <eggert@twinsun.com>
6489 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
6490 * NEWS, doc/autoconf.texi (Particular Types): Document it.
6491 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
6492 instead of AC_MBSTATE_T, which never existed.
6494 2002-05-23 Akim Demaille <akim@epita.fr>
6496 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
6497 version of Autoconf that is discussed.
6499 2002-05-22 Paul Eggert <eggert@twinsun.com>
6501 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
6502 from the default list of compilers to try. Suggested by
6504 * NEWS: Document the above.
6505 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
6507 2002-05-17 Paul Eggert <eggert@twinsun.com>
6509 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
6510 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
6511 This improves on an earlier suggestion by H. Peter Anvin.
6513 2002-05-16 Paul Eggert <eggert@twinsun.com>
6515 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
6516 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
6517 Both macros now accept an optional source-dir arg.
6518 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
6520 * NEWS: Document this.
6521 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
6523 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
6524 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
6525 not for GNU extensions; this undoes part of the 2000-11-03 change,
6526 reverting to 2.13-compatible behavior.
6527 Add new optional argument DIR.
6528 (AC_FUNC_FNMATCH_GNU): New macro.
6530 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
6532 2002-05-08 Paul Eggert <eggert@twinsun.com>
6534 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
6535 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
6536 and it causes a 'test' syntax error if it fails.
6537 Bug reported by Stephen Gildea.
6539 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
6540 If prototypes are supported, use them to check this at compile-time,
6541 instead of trying to check it at run-time. If we must do a run-time
6542 check, assume that setvbuf is standard when cross-compiling, as
6543 nonstandard setvbuf occurs only on ancient and unlikely hosts.
6544 Bug reported by Paul D. Smith.
6546 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
6547 argument specifying location of getloadavg.c. This removes a
6548 FIXME. This idea was taken from Jim Meyering's implementation in
6550 * doc/autoconf.texi (Particular Functions): Document this.
6551 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
6552 that's what the code does; this fixes a bug reported by
6555 2002-05-03 Akim Demaille <akim@epita.fr>
6557 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
6558 autopoint instead of gettextize.
6559 ($uses_alocal): Rename as...
6560 ($uses_aclocal): this.
6561 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6562 Suggested by Bruno Haible.
6564 2002-05-03 Akim Demaille <akim@epita.fr>
6566 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
6568 2002-04-29 Paul Eggert <eggert@twinsun.com>
6570 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
6571 files to be 1 second older; just set them to be the same time.
6572 Also, sleep 1 second after the first aclocal, to work around
6573 problems with sub-second time stamps on the input files.
6575 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
6577 * doc/autoconf.texi: Mention "set -e -x" lossage
6578 under node "Limitations of Builtins".
6580 2002-04-29 Akim Demaille <akim@epita.fr>
6582 * doc/install.texi: Better wording for setting variables when
6584 From Christian Cornelssen.
6586 2002-04-29 Akim Demaille <akim@epita.fr>
6588 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
6589 of lack of $LINENO support, then the test will compare the $LINENO
6590 in testsuite vs. the lineno in the test file. This is wrong, of
6592 Be sure to protect it.
6593 Reported by Patrick Welche.
6595 2002-04-25 Akim Demaille <akim@epita.fr>
6597 * doc/autoconf.texi (Obsolete Macros): Typo.
6598 Reported by Vladimir Volovich.
6600 2002-04-25 Akim Demaille <akim@epita.fr>
6602 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
6603 than some of the input files, hence, on the second run of aclocal,
6604 if some of its input are younger, make them older.
6605 Suggested by Paul Eggert.
6607 2002-04-25 Akim Demaille <akim@epita.fr>
6609 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
6610 Thanks to Paul Eggert.
6612 2002-04-25 Akim Demaille <akim@epita.fr>
6614 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
6615 and ac_subst_vars be sh variables containing the list of
6616 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
6618 (_AC_INIT_PREPARE): Use them to log them.
6619 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
6620 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
6621 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
6622 _AC_SUBST_FILES and _AC_SUBST_VARS.
6623 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
6625 2002-04-24 Akim Demaille <akim@epita.fr>
6627 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
6628 autoheader, so that automake does not complain about a missing
6629 config.h.in that was to be created.
6631 2002-04-23 Akim Demaille <akim@epita.fr>
6633 * bin/autoheader.in (parse_args): --warning takes an argument.
6636 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
6638 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
6639 and bb.out when cleaning up.
6641 2002-04-22 Akim Demaille <akim@epita.fr>
6645 2002-04-22 Akim Demaille <akim@epita.fr>
6647 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
6649 2002-04-22 Akim Demaille <akim@epita.fr>
6651 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
6653 Reported by Gregory Giannoni.
6655 2002-04-22 Akim Demaille <akim@epita.fr>
6657 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
6658 Fixes false failures on Darwin.
6660 2002-04-21 Paul Eggert <eggert@twinsun.com>
6662 * TODO, bin/autoupdate.in, doc/autoconf.texi,
6663 lib/autoconf/general.m4, lib/autoconf/libs.m4,
6664 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
6665 tests/tools.at: Minor spelling and grammar fixes.
6667 2002-04-20 Paul Eggert <eggert@twinsun.com>
6669 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
6670 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
6671 * lib/autotest/general.m4 (AT_INIT): Likewise.
6672 * tests/atgeneral.m4 (AT_INIT): Likewise.
6674 2002-04-19 Paul Eggert <eggert@twinsun.com>
6676 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
6677 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
6678 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
6679 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6680 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
6681 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
6682 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
6683 Minor spelling and grammar fixes.
6685 * doc/autoconf.texi: Follow the outline suggested in the GNU
6686 Sample Texts sections of the Texinfo 4.2 manual. Most
6687 importantly, this makes sure that the copyright notices appear in
6688 all output formats. You probably need Texinfo 4.2 to generate
6691 Fix some bugs when using "$@" when there might be zero positional
6692 arguments in cases where this matters.
6694 * bin/autoconf.as: Rewrite so that the problem does not come up.
6695 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
6696 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
6697 * lib/autotest/general.m4 (AT_INIT): Likewise.
6699 * bin/autoheader.in: Use 'case' statement to work around problem.
6700 * bin/auto4mte.in: Likewise.
6701 * bin/autoreconf.in: Likewise.
6702 * bin/autoscan.in: Likewise.
6703 * bin/autoupdate.in: Likewise.
6704 * bin/ifnames.in: Likewise.
6706 * doc/autoconf.texi (Shell Substitutions): Document the problem.
6708 * lib/autotest/general.m4 (AT_INIT):
6709 Use Zsh alias to work around problem.
6710 * tests/atgeneral.m4 (AT_INIT): Likewise.
6712 * tests/c.at: We can't have zero arguments, so remove workaround
6713 that is not portable to Zsh.
6715 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
6717 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
6718 from aclocal.m4 too.
6720 2002-04-12 Akim Demaille <akim@epita.fr>
6722 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
6724 2002-04-10 Akim Demaille <akim@epita.fr>
6726 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
6727 workaround for ${1+"$@"}.
6728 * doc/autoconf.texi (Shell Substitutions): Explain it.
6729 From Oliver Kiddle and Peter Stephenson.
6731 Have M4sh perform minimal shell sanitizing.
6733 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
6735 (_AS_PREPARE): this new macro.
6737 (AS_INIT): Invoke AS_SHELL_SANITIZE.
6738 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
6740 Adjust Autoconf and Autotest.
6742 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
6743 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
6744 * lib/autotest/general.m4 (AT_INIT): Likewise.
6745 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
6746 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
6749 Use this M4sh to generate Autoconf's shell scripts.
6751 * tests/wrapsh.as: New, precursor of wrapsh.in.
6752 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
6753 on Autotest and M4sh.
6754 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
6755 (wrapsh.in): New target.
6756 * bin/autoconf.as: New, precursor of autoconf.in.
6757 (autoconf.in): New target.
6759 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6761 * doc/autoconf.texi (Limitations of Make): Mention the issue
6762 with indented comments in rules.
6764 2002-04-09 Andreas Schwab <schwab@suse.de>
6766 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
6767 ac_top_builddir when setting ac_abs_top_builddir.
6769 2002-04-06 Kevin Ryde <user42@zip.com.au>
6771 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
6772 (Portable Shell): Cross reference to Systemology.
6774 2002-04-05 Akim Demaille <akim@epita.fr>
6776 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
6777 directories when descending in a SUBDIRS.
6778 Reported by Ezra Peisach.
6780 2002-04-04 Andreas Schwab <schwab@suse.de>
6782 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
6783 contains no literal separators.
6785 2002-04-03 Akim Demaille <akim@epita.fr>
6787 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
6788 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
6789 Use dnl, not the KILL diversion.
6791 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
6792 (AC_CONFIG_LINKS): here.
6794 Don't use the KILL diversion, as it kills spurious output, which
6795 results in failures being hidden.
6796 Use m4_defn where appropriate.
6797 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
6798 after the second argument.
6800 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
6801 syntax, as it is provided by M4sugar.
6802 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
6804 2002-04-03 Andreas Schwab <schwab@suse.de>
6806 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
6807 expanded if $# <= 2.
6809 * bin/autoreconf.in (autoreconf): Run automake after rerunning
6812 2002-04-03 Akim Demaille <akim@epita.fr>
6814 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
6815 (_AC_COMPILER_EXEEXT_REJECT): New.
6816 Also recognize *.bb and *.bbg as compilation byproducts.
6817 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
6818 (_AC_COMPILER_OBJEXT): Use them.
6819 Fixes Debian #138666.
6821 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
6823 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
6825 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
6826 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
6827 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
6828 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
6830 (AC_C_INLINE): Same.
6831 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
6832 * doc/autoconf.texi, NEWS: Document.
6833 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
6836 2002-04-02 Akim Demaille <akim@epita.fr>
6838 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
6839 _AS_MKDIR_P_PREPARE.
6841 2002-03-28 Kevin Ryde <user42@zip.com.au>
6843 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
6844 to avoid versions of HP C which don't allow that.
6846 2002-03-27 Paul Eggert <eggert@twinsun.com>
6848 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
6849 (AS_SHELL_SANITIZE): Invoke it.
6850 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
6852 2002-03-26 Akim Demaille <akim@epita.fr>
6854 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
6856 2002-03-26 Akim Demaille <akim@epita.fr>
6858 * doc/autoconf.texi (Introduction): The GNATS base moved.
6860 2002-03-25 Paul Eggert <eggert@twinsun.com>
6862 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
6863 as POSIX requires, as it doesn't work with Zsh.
6864 * doc/autoconf.texi (Assignments): Document the problem.
6866 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6868 * doc/autoconf.texi (Limitations of Make): Mention more issue
6869 about VPATH, overriding of macros in sub-makes, and handling of
6872 2002-03-21 Paul Eggert <eggert@twinsun.com>
6874 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
6875 problem with here-document buffer boundaries.
6877 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
6878 when reinvoking the shell, to work around problems with installers
6879 who put strange things like "cd" commands in their environments.
6881 2002-03-19 Akim Demaille <akim@epita.fr>
6883 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
6886 2002-03-19 Akim Demaille <akim@epita.fr>
6888 * bin/autoscan.in (scan_file): Specify the location in `&used'
6892 2002-03-19 Akim Demaille <akim@epita.fr>
6894 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
6895 From Nishio Futoshi.
6897 2002-03-19 Akim Demaille <akim@epita.fr>
6899 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
6901 2002-03-18 Paul Eggert <eggert@twinsun.com>
6903 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
6904 (Limitations of Usual Tools): Add mkdir section.
6906 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
6907 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
6908 back on AS_DIRNAME to compute prefixes otherwise; this is
6909 roughly what mkinstalldirs does. That way, we need not have
6910 our own filename disassembler. The old disassembler did not
6911 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
6913 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
6914 Create at_test_all by a series of assignments,
6915 not by a single assignment of a long string. The latter causes ksh
6916 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
6917 presumably because of a buffer overrun.
6919 2002-03-14 Paul Eggert <eggert@twinsun.com>
6921 * lib/autotest/general.m4 (at_times_skip):
6922 Renamed from at_times. Now a boolean.
6923 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
6924 says 'times: not found'.
6926 2002-03-14 Akim Demaille <akim@epita.fr>
6928 * bin/autoreconf.in (&study_gettextize): New.
6929 (&autoreconf): Handle newest gettextize.
6930 Rerun aclocal if needed.
6931 Suggested by Andreas Schwab.
6933 2002-03-13 Akim Demaille <akim@epita.fr>
6935 * doc/autoconf.texi (Special Shell Variables): More about IFS.
6937 2002-03-13 Akim Demaille <akim@epita.fr>
6939 * doc/autoconf.texi (Header Portability): New.
6940 Add information about stdint.h and inttypes.h from Paul Eggert.
6942 2002-03-13 Akim Demaille <akim@epita.fr>
6944 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
6948 2002-03-12 Akim Demaille <akim@epita.fr>
6950 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
6953 2002-03-11 Andreas Schwab <schwab@suse.de>
6955 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
6956 does not do it if --with-lispdir is given.
6958 2002-03-08 Akim Demaille <akim@epita.fr>
6962 2002-03-08 Akim Demaille <akim@epita.fr>
6964 * doc/autoconf.texi (Subdirectories): Clarify that the
6965 subdirectory should exist.
6967 2002-03-08 Akim Demaille <akim@epita.fr>
6969 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
6971 2002-03-08 Akim Demaille <akim@epita.fr>
6973 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
6974 aliases the actual variables, and modifications of the former
6977 2002-03-08 Akim Demaille <akim@epita.fr>
6979 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
6980 because of C-c: have m4 output in tmp files, then mv them.
6982 2002-03-08 Akim Demaille <akim@epita.fr>
6984 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
6985 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6986 * bin/ifnames.in: Copyright update.
6988 2002-03-08 Akim Demaille <akim@epita.fr>
6990 * doc/autoconf.texi (Invoking autom4te): New.
6992 2002-03-05 Akim Demaille <akim@epita.fr>
6994 * doc/autoconf.texi (Specifying Names): Clarification suggested by
6997 2002-03-05 Akim Demaille <akim@epita.fr>
7001 2002-03-04 Akim Demaille <akim@epita.fr>
7003 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
7004 * lib/autoconf/general.m4 (AC_INIT): More informative error
7007 2002-03-04 Akim Demaille <akim@epita.fr>
7009 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
7012 2002-03-04 Akim Demaille <akim@epita.fr>
7014 * doc/autoconf.texi (Transforming Names): Equality between target
7015 and host is irrelevant.
7016 (Specifying Names, Canonicalizing): Remove all references to the
7017 backward compatibility hooks. Rather, collect them all into...
7018 (Hosts and Cross-Compilation): this new section.
7019 * doc/install.texi (System Type): Ditto.
7020 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
7021 that `--host' implies cross-compilation.
7023 2002-03-04 Akim Demaille <akim@epita.fr>
7025 * doc/autoconf.texi (Evaluation Macros): New.
7026 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
7028 (_m4_foreach): Define the variant with immediate evaluation so
7029 that it contains exactly the items, not an expression which
7030 evaluation is the current item.
7031 (m4_re_string, m4_re_word): Don't over quote them.
7033 2002-03-04 Akim Demaille <akim@epita.fr>
7035 Instead of having stacking `shift's evaluated at the end, let
7036 `foreach' loops immediately evaluate them.
7038 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
7039 $*. This is the n-th time I change my mind, but hopefully this is
7042 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
7044 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
7045 it was only a hack for m4_text_wrap.
7046 (m4_car2): Remove, replaced by...
7048 (_m4_foreach): Adjust.
7049 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
7050 m4_bpatsubst for clarification.
7052 2002-03-04 Akim Demaille <akim@epita.fr>
7054 * doc/autoconf.texi (Changequote is Evil): New.
7056 2002-03-03 Kevin Ryde <user42@zip.com.au>
7058 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
7059 on old systems like SunOS.
7061 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
7063 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7064 lib/autoconf/functions.m4, lib/autoconf/general.m4,
7065 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
7066 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
7069 2002-02-28 Akim Demaille <akim@epita.fr>
7071 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
7074 2002-02-28 Kevin Ryde <user42@zip.com.au>
7076 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
7078 2002-02-25 Akim Demaille <akim@epita.fr>
7080 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
7083 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
7085 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
7086 translate \r\n to \n.
7088 2002-02-07 Akim Demaille <akim@epita.fr>
7092 2002-02-07 Akim Demaille <akim@epita.fr>
7094 Fix Autoconf PR/209.
7095 Also reported by Frank Denis.
7097 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
7099 2002-02-07 Akim Demaille <akim@epita.fr>
7101 Fix Autoconf PR/207:
7102 AC_PREFIX_PROGRAM fails with dashed program names
7104 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
7105 variable when looking for the prefix program.
7106 Now it also works for shell variables.
7108 2002-02-07 Akim Demaille <akim@epita.fr>
7110 * doc/autoconf.texi (Limitations of Builtins): More about
7113 2002-02-06 Akim Demaille <akim@epita.fr>
7115 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
7116 case/esac, some shells don't support it.
7117 Reported by Zack Weinberg.
7118 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
7120 2002-02-06 Akim Demaille <akim@epita.fr>
7122 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
7123 sure not to introduce newlines in at_groups.
7124 * lib/autotest/Makefile.am (autotest.m4f): Typo.
7126 2002-02-06 Akim Demaille <akim@epita.fr>
7128 * tests/torture.at (Configuring subdirectories): Skip if aclocal
7131 2002-02-05 Paul Eggert <eggert@twinsun.com>
7133 * doc/autoconf.texi (Specific Compiler Characteristics):
7134 Describe HP-UX cc bug workaround more accurately.
7135 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
7137 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
7138 cross-compilers, too. This undoes some of the most recent change
7141 2002-02-05 Akim Demaille <akim@epita.fr>
7143 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
7144 to make sure they are up to date when `check' is run.
7146 2002-02-05 Akim Demaille <akim@epita.fr>
7148 * doc/autoconf.texi (Making testsuite Scripts): Document
7151 2002-02-05 Akim Demaille <akim@epita.fr>
7153 * lib/freeze.mk: New.
7155 2002-02-05 Akim Demaille <akim@epita.fr>
7157 Implement `autom4te --freeze'.
7159 * bin/autom4te.in (&freeze): New.
7160 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
7161 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
7163 2002-02-05 Akim Demaille <akim@epita.fr>
7165 * bin/autom4te.in (&parse_args): Implement `frozen files are
7166 optional are the sum of the previous files on the command line'.
7167 Also, pass `--reload-state=' on them, so...
7169 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
7170 (M4sh): Rely on M4sugar.
7171 (Autotest, M4sh, M4sugar): Use frozen files.
7173 2002-01-31 Akim Demaille <akim@epita.fr>
7175 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
7176 * doc/autoconf.texi (Initializing configure): Adjust.
7178 2002-01-30 Akim Demaille <akim@epita.fr>
7180 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
7181 alphanumeric to `-' instead of `_'.
7183 2002-01-30 Akim Demaille <akim@epita.fr>
7185 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
7186 for plain code, the other for cross-compilation code. The latter
7187 is now run with GCC only.
7188 * doc/autoconf.texi (Compilers and Preprocessors): New.
7190 2002-01-30 Akim Demaille <akim@epita.fr>
7192 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
7194 * doc/autoconf.texi (Initializing configure): Explain how to
7195 change AC_INIT default values.
7197 2002-01-29 Akim Demaille <akim@epita.fr>
7199 * tests/torture.at (Configuring subdirectories): Use configure.in,
7200 so that aclocal 1.4 works.
7201 Reported by Alexandre Duret-Lutz and Larry Schmitt.
7203 2002-01-28 Akim Demaille <akim@epita.fr>
7205 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
7208 2002-01-28 Akim Demaille <akim@epita.fr>
7210 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
7211 AUTOTEST_PATH *after* it was set.
7212 Don't put `.' in the PATH: the user should be precise and `./' if
7213 needed. In addition, given that the test suite does some `cd', if
7214 `.' is in the path, the `tested programs' sections will report
7215 programs found in the test suite's directory, while during the
7216 tests (performed in their own directory), these programs are no
7217 longer visible. In other words, the results is confusing and
7219 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
7221 2002-01-24 Akim Demaille <akim@epita.fr>
7225 2002-01-24 Akim Demaille <akim@epita.fr>
7227 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
7228 * doc/autoconf.texi: Finally add Akim as an author.
7230 2002-01-24 Akim Demaille <akim@epita.fr>
7232 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
7233 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
7234 Bourne. Use /bin/sh.
7235 From Andreas Buening.
7237 2002-01-24 Akim Demaille <akim@epita.fr>
7239 * config/config.guess, config/config.sub, config/texinfo.tex:
7240 Update from masters.
7242 2002-01-24 Akim Demaille <akim@epita.fr>
7244 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
7245 * config/auxdir.m4, config/cond.m4, config/depend.m4,
7246 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
7247 * config/missing.m4, config/sanity.m4, config/select.m4,
7248 * config/strip.m4: Remove, to ease sync'ing with any version of
7251 2002-01-24 Akim Demaille <akim@epita.fr>
7253 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
7254 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
7255 Reported by Geir Ove Myhr.
7257 2002-01-21 Akim Demaille <akim@epita.fr>
7259 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
7261 2002-01-21 Akim Demaille <akim@epita.fr>
7263 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
7264 message on invalid options.
7265 * bin/autom4te.in (parse_args): Don't use
7266 Autoconf::General::getopt with non valid options.
7268 2002-01-17 Jim Meyering <meyering@lucent.com>
7270 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
7271 $ac_cv_exeext so we don't use an old, invalid, cached value.
7273 2002-01-11 Akim Demaille <akim@epita.fr>
7275 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
7277 * doc/autoconf.texi (Function Portability): Document the strnlen
7279 (Particular Functions): Document AC_FUNC_STRNLEN.
7280 * lib/autoscan/functions: Adjust.
7282 2002-01-06 Akim Demaille <akim@epita.fr>
7284 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
7285 package.m4, since is really depends upon configure.ac, not
7287 * doc/autoconf.texi (testsuite Scripts): Adjust.
7288 * tests/Makefile.am (package.m4): New.
7289 EXTRA_DIST it since its a source.
7291 2002-01-06 Akim Demaille <akim@epita.fr>
7293 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
7294 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
7295 and PACKAGE_BUGREPORT from here...
7296 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
7298 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
7299 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
7300 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
7301 * tests/tools.at (autoheader): Adjust.
7302 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
7304 2002-01-06 Akim Demaille <akim@epita.fr>
7306 * bin/autoscan.in (scan_file): Use `&used'.
7308 2002-01-03 Akim Demaille <akim@epita.fr>
7310 * doc/autoconf.texi (Output): Improved wording regarding use of
7314 2001-12-18 Kevin Ryde <user42@zip.com.au>
7316 * doc/autoconf.texi (Function Portability): Add notes on sscanf
7317 sometimes needing writable input.
7319 2001-12-17 Jim Meyering <meyering@lucent.com>
7321 * doc/autoconf.texi (New Macros): Tweak wording.
7323 2001-12-14 Akim Demaille <akim@epita.fr>
7325 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
7326 trailing files, don't apply `-rf' to files which might not be
7327 created by configure (core, core.*, and *.core), but just `rm -f'.
7328 Suggested by Jonathan Kamens.
7330 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
7332 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
7334 2001-12-14 Akim Demaille <akim@epita.fr>
7336 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
7338 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
7340 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
7341 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
7342 abs_srcdir, top_srcpath to abs_top_srcdir.
7343 (_AC_OUTPUT_FILES): Adjust.
7344 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
7345 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
7346 * tests/wrappl.in, tests/wrapsh.in: Adjust.
7348 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
7350 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
7351 C/Fortran linking on HP/UX, by extracting the Fortran library
7352 search path from the LPATH line in the $F77 -v output.
7354 2001-12-12 Kevin Ryde <user42@zip.com.au>
7356 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
7357 forbidden file descriptors table.
7359 2001-11-26 Akim Demaille <akim@epita.fr>
7361 * bin/autoscan.in (%c_keywords): Build it at top level.
7362 Map to 1 in order to simplify its uses.
7364 2001-11-26 Akim Demaille <akim@epita.fr>
7366 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
7367 Remove $filepath, useless.
7368 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
7369 variables, they are really part of the tokens.
7370 Split the input line on spaces and then look for tokens.
7371 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
7372 because of `lex$U.$(OBJEXT)'.
7373 (&scan_files): Use "@list" instead of join.
7374 * doc/Makefile.am (CLEANFILES): Add *.fns.
7376 2001-11-26 Akim Demaille <akim@epita.fr>
7378 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
7379 Remove, replaced by...
7380 * tests/wrappl.in: Be common for all the Perl executables.
7381 In particular autoscan and autoheader want -I.
7382 * configure.ac: Adjust.
7383 * lib/autoscan/headers: errno.h is portable.
7385 2001-11-26 Akim Demaille <akim@epita.fr>
7387 * bin/autoscan.in (used): New.
7390 2001-11-26 Akim Demaille <akim@epita.fr>
7392 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
7394 (&scan_sh_file): Remove a duplicate pattern.
7395 (&check_configure_ac): Use long options.
7396 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
7398 2001-11-26 Akim Demaille <akim@epita.fr>
7400 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
7401 Before, having a line containing the opening of a multi line
7402 comment made the whole line be ignored.
7404 2001-11-26 Akim Demaille <akim@epita.fr>
7406 * doc/autoconf.texi (Using an Autotest Test Suite): New.
7407 (testsuite Scripts): Be one of its subsection.
7408 (Autotest Logs): New.
7410 2001-11-26 Akim Demaille <akim@epita.fr>
7412 Test groups are now run two directories deeper.
7414 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
7415 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
7417 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
7418 top_srcdir, builddir and top_builddir.
7419 Use `at_*dir' relatively to the directory containing the
7420 suite, use `*dir' when relatively to the current group dir.
7422 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
7424 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
7425 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
7426 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
7429 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
7431 * doc/autoconf.texi (Using System Type): Add an example of `case
7432 $host' usage so people quit using `case $target' everywhere.
7434 2001-11-22 Akim Demaille <akim@epita.fr>
7436 * doc/autoconf.texi (Installation Directory Variables): Englishoes
7437 spotted by Jim Meyering.
7439 2001-11-16 Paul Eggert <eggert@twinsun.com>
7441 This patch implements a `long double' suggestion by Oliver Kiddle.
7443 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
7444 static, to catch errors if the value isn't known at compile-time
7445 and the compiler supports dynamic arrays. Change its name from
7446 `_array_' to `test_array' to avoid potential name clashes.
7447 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
7448 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
7449 better than double. Catch a bug in GCC 2.95.2 x86.
7450 * doc/autoconf.texi (C Compiler): Document the above.
7453 2001-11-13 Akim Demaille <akim@epita.fr>
7455 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
7457 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
7459 2001-11-13 Akim Demaille <akim@epita.fr>
7461 * lib/autotest/general.m4 (AT_INIT): After having run the test
7462 group, go back to the initial directory, not to at_suite_dir.
7464 2001-11-13 Akim Demaille <akim@epita.fr>
7466 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
7467 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
7468 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
7470 (AT_CHECK_CONFIGURE): Use absolute paths.
7471 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
7472 The problem is still the old one: there is no means in M4 (that I
7473 know about) to create a defining macro, because there is no means
7474 to create `$1' etc., therefore, the defining macro ``swallows''
7475 all the arguments meant to the defined macro.
7477 2001-11-13 Akim Demaille <akim@epita.fr>
7479 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
7480 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
7482 * tests/aclocal.m4: Remove, as it is no longer used.
7484 2001-11-13 Akim Demaille <akim@epita.fr>
7486 * lib/autotest/general.m4: Change `tests?' into `groups?' in
7487 variable names when referring to a single test group, or to
7488 `suite' when referring to the whole test suite.
7489 `at_last_test' is removed: m4 compute at_format itself.
7490 (at_stdout, at_stder1, at_stderr): New variables.
7491 (AT_CHECK): Use them.
7493 2001-11-13 Akim Demaille <akim@epita.fr>
7495 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
7497 Create `testsuite.dir/003/run' instead of `testsuite.003'.
7498 Do it as soon as a test fails, don't wait till the end of the test
7500 Don't remove $as_me.[0-9]*, since these files no longer exist.
7502 2001-11-13 Akim Demaille <akim@epita.fr>
7504 * tests/tools.at: Use absolute paths, since we are no longer run
7507 2001-11-13 Akim Demaille <akim@epita.fr>
7509 Now that tests are running in their own private dir, there is no
7510 need to list the files to remove at the end of tests groups.
7512 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
7513 (AT_data_files, at_data_files): Remove.
7514 (AT_CLEANUP, AT_DATA): Simplify.
7516 Remove the group dir if !debug && !failed.
7517 * tests/atspecific.m4: Adjust.
7519 2001-11-13 Akim Demaille <akim@epita.fr>
7521 Start a new layout for Autotest: `testsuite' creates
7522 `testsuite.dir' in which the at-check-line etc. files are to be
7523 found, and `testsuite.dir/003' where the test group 3 is run.
7525 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
7526 at_check_line_file, at_format, at_test_normalized, at_group_dir
7528 Create the directories.
7529 Use absolute paths for at- files.
7532 2001-11-11 Michael Matz <matz@kde.org>
7534 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
7536 (m4_car): Properly quote arguments.
7538 2001-11-13 Akim Demaille <akim@epita.fr>
7540 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
7541 with stricter rules on LIBOBJS.
7543 2001-11-12 Paul Eggert <eggert@twinsun.com>
7545 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
7546 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
7549 2001-11-12 Akim Demaille <akim@epita.fr>
7551 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
7553 2001-11-12 Akim Demaille <akim@epita.fr>
7555 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7556 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
7557 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7558 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7559 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
7560 specify to what the macro should be defined (typically to 1).
7562 2001-11-12 Akim Demaille <akim@epita.fr>
7564 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
7567 2001-11-12 Akim Demaille <akim@epita.fr>
7569 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7570 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
7571 definition used by Automake where LEX is +/- "${missing} lex" and
7572 `missing' itself contains variables.
7574 2001-11-12 Akim Demaille <akim@epita.fr>
7576 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
7577 Now that M4sh pushes BODY, the comments were output at the end of
7580 2001-11-08 Akim Demaille <akim@epita.fr>
7582 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
7583 that we can trace macros from aclocal.m4.
7584 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
7585 obsoleted, and redirect to the former anyway.
7586 Reported by Ralf Corsepius.
7588 2001-11-08 Akim Demaille <akim@epita.fr>
7590 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
7591 processed only if present.
7592 * tests/torture.at (Configuring subdirectories): Use autoreconf
7593 instead of successive calls to autoconf.
7594 Add a nonexistent subdirectory to exercise the patch above.
7595 Reported by Ralf Corsepius.
7597 2001-11-08 Kevin Ryde <user42@zip.com.au>
7599 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
7600 doesn't accept .S files.
7602 2001-11-07 Akim Demaille <akim@epita.fr>
7604 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
7605 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
7606 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
7607 * bin/autom4te.in (warn_forbidden): New.
7608 (handle_output): Use it.
7609 Read m4_pattern_forbid with messages.
7611 2001-11-05 Akim Demaille <akim@epita.fr>
7613 * bin/autom4te.in (--normalize): Remove.
7614 * lib/autom4te.in: Adjust.
7616 2001-11-05 Akim Demaille <akim@epita.fr>
7618 * tests/Makefile.am (testsuite): Rename this target as...
7619 ($(TESTSUITE)): this.
7622 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
7624 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
7625 the --prefix option, also remove it's argument.
7627 2001-11-05 Akim Demaille <akim@epita.fr>
7629 * doc/autoconf.texi (testsuite Invocation): Update.
7630 (Writing testsuite.at): Update.
7632 2001-11-03 Akim Demaille <akim@epita.fr>
7634 * doc/autoconf.texi: s/@code/@command/ where appropriate.
7636 2001-11-03 Akim Demaille <akim@epita.fr>
7638 * lib/Autom4te/General.pm: (&catfile, &canonfile)
7639 (&file_name_is_absolute): New, wrappers around routines from
7641 Use and export them.
7642 (&find_configure_ac): Optionally take a directory where to look at.
7643 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
7645 Default @ARGV to `.', not find_configure_ac.
7646 (&autoreconf): Argument is a directory.
7647 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
7648 * doc/autoconf.texi (autoreconf Invocation): Update.
7650 2001-11-03 Akim Demaille <akim@epita.fr>
7652 * lib/Autom4te/General.pm (@export_vars, @export_subs)
7653 (@export_forward_subs): New.
7654 Add basename, dirname, and fileparse.
7656 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
7657 Don't look for aclocal flags if we already know aclocal is not
7659 Move aclocal.m4t only if it exists.
7660 Reported by Ezra Peisach.
7662 2001-11-03 Akim Demaille <akim@epita.fr>
7664 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
7665 passed on command line, defaulting to ./configure.ac if present.
7666 (&maybe_autoreconf, File::Find): Remove, unused.
7667 (&autoreconf): If autoconf is not used, don't try to trace.
7669 2001-11-02 Akim Demaille <akim@epita.fr>
7671 * configure.ac: Bump to 2.52g.
7673 2001-11-02 Akim Demaille <akim@epita.fr>
7677 2001-11-02 Akim Demaille <akim@epita.fr>
7679 * config/config.guess, config/config.sub, doc/standards.texi:
7680 * config/lispdir.m4: Update from masters.
7681 * configure.ac: Bump to 2.52f.
7683 2001-11-02 Akim Demaille <akim@epita.fr>
7685 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
7686 Don't run aclocal when aclocal.m4 is not from aclocal.
7688 Don't run libtoolize and gettextize if --install is not given.
7690 2001-11-01 Paul Eggert <eggert@twinsun.com>
7692 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
7693 be invoked before _AS_LINENO_PREPARE.
7694 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
7695 than character ranges.
7697 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
7698 invoking AS_BASENAME. Set the locale variables to 'C' if
7699 possible, as POSIX requires this to get the traditional
7701 * doc/autoconf.texi (Special Shell Variables): Describe the above.
7703 2001-10-31 Paul Eggert <eggert@twinsun.com>
7705 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
7706 with {}, as that triggers a bug in Bash 2.05.
7708 (_AS_LINENO_PREPARE): Use Sed rather than
7709 Awk. Fix the sed prepass to work even if there are multiple
7710 instances of $LINENO on the same line. Do not substitute for
7711 other variables like $LINENOT. Do not check file dates; such a
7712 check is unreliable on sufficiently fast machines, and removing
7713 the check makes the code simpler and more reliable. Check for
7714 output and chmod failures.
7716 * doc/autoconf.texi (Special Shell Variables): Document
7719 2001-10-31 Akim Demaille <akim@epita.fr>
7721 * tests/Makefile.am (atconfig): Remove this target, Automake
7724 2001-10-31 Akim Demaille <akim@epita.fr>
7726 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
7727 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
7728 provided, while it is optional.
7729 * configure.ac: Adjust.
7731 2001-10-26 Paul Eggert <eggert@twinsun.com>
7733 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
7734 lib/Autom4te/Struct.pm:
7735 Require Perl 5.005_03 instead of just 5.005, as some tests fail
7738 * doc/autoconf.texi (Special Shell Variables): Document some
7739 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
7741 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
7742 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
7743 eval $LINENO is not portable in practice.
7745 2001-10-24 Akim Demaille <akim@epita.fr>
7747 * lib/Autom4te/General.pm (backname): New.
7749 2001-10-24 Akim Demaille <akim@epita.fr>
7751 * m4/: Remove, merged into...
7754 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
7756 * doc/autoconf.texi (Shellology): Mention the problems with bash
7757 2.05's use of ANSI quoting in its `set' builtin.
7759 2001-10-22 Paul Eggert <eggert@twinsun.com>
7761 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
7762 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
7763 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
7764 POSIX decided to standardize on the int flavor of strerror_r.
7765 Always do char* test, as there's no reason not to.
7766 Assign to a char* var, to catch strerror_r that returns int*.
7768 * doc/autoconf.texi (Particular Functions):
7769 Document the above changes. Also, document the fact that
7770 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
7772 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
7774 2001-10-20 Akim Demaille <akim@epita.fr>
7776 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
7777 the executable was missing from the log.
7779 2001-10-20 Akim Demaille <akim@epita.fr>
7781 * lib/Autom4te/General.pm (&update_file): If destination is
7782 unchanged, remove the source.
7783 (&up_to_date_p): Don't be verbose, be debug.
7784 * bin/autoreconf.in: No longer support --m4dir.
7785 (&autoreconf): Display the full path of the configure.ac we are
7788 Be sure to honor --force with gettextize.
7790 * doc/autoconf.texi: Adjust.
7792 2001-10-20 Akim Demaille <akim@epita.fr>
7794 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
7796 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
7797 `intl' is already present, as it refuses unless --force.
7798 (&parse_args): Use -I, --include instead of the old Autoconf
7800 ($localdir, $autoconf_dir): Remove.
7802 (&maybe_autoreconf): New, to preserve $_ for File::Find.
7804 2001-10-19 Jens Petersen <petersen@redhat.com>
7806 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
7807 * doc/autoconf.texi (Particular Programs): Likewise.
7809 2001-10-19 Akim Demaille <akim@epita.fr>
7811 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
7812 file in @configure_input@.
7813 Don't mention `automatically' in addition to `generated'.
7814 * tests/torture.at (#define header templates): Adjust.
7816 2001-10-19 Akim Demaille <akim@epita.fr>
7818 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
7819 comment, explain how to install automatic mode selection.
7822 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
7824 * bin/autoreconf.in (autoreconf): Display the path to the
7825 configure.ac being studied.
7827 2001-10-18 Paul Eggert <eggert@twinsun.com>
7829 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
7830 long, to work around a bug in the HP C compiler version HP92453-01
7833 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
7834 (AS_BASENAME_EXPR): New macro.
7835 (AS_BASENAME_SED): Do not assume GNU sed semantics.
7836 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
7837 and fall back on 'sed' only if the other two fail. This makes
7838 AS_BASENAME act more like AS_DIRNAME.
7839 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
7840 contains white space.
7841 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
7842 Use AS_DIRNAME, since I think it's now DOS-friendly.
7843 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
7844 Allow "dirname //FOO" to return either / or //, as POSIX allows
7847 2001-10-10 Akim Demaille <akim@epita.fr>
7849 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
7850 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
7853 2001-10-10 Akim Demaille <akim@epita.fr>
7855 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
7857 (_AS_ECHO_N): AS_REQUIREs it.
7859 2001-10-10 Akim Demaille <akim@epita.fr>
7861 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
7862 (AC_INCLUDES_DEFAULT): Move to...
7863 * lib/autoconf/headers.m4: here.
7864 * lib/autoconf/types.m4: Comment changes.
7865 * doc/autoconf.texi: Specify where the default includes are used
7866 in the macro prototypes.
7868 2001-10-09 Akim Demaille <akim@epita.fr>
7870 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
7873 2001-10-08 Akim Demaille <akim@epita.fr>
7875 * bin/autoreconf.in (&autoreconf): Remove debugging code.
7876 (&parse_args): Pass verbosity/debugging options to subtools when
7877 --debug, not when --verbose.
7878 * lib/autom4te.in (Autoreconf-preselections): New.
7881 2001-10-08 Akim Demaille <akim@epita.fr>
7883 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
7885 2001-10-08 Akim Demaille <akim@epita.fr>
7887 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7888 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
7890 2001-10-08 Akim Demaille <akim@epita.fr>
7892 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
7893 (Syntax of the shell scripts): Don't.
7894 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
7895 bother with $force since...
7896 * lib/Autom4te/General.pm: does.
7898 2001-10-08 Akim Demaille <akim@epita.fr>
7900 * bin/autoreconf.in: Rewrite in Perl.
7901 * configure.ac: Adjust.
7902 * lib/Autom4te/General.pm (&up_to_date_p): New.
7903 * bin/autom4te.in (&up_to_date_p): Use it.
7905 (&up_to_date): this.
7907 2001-10-08 Akim Demaille <akim@epita.fr>
7909 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
7910 (m4_list_cmp): Use $0 to reinvoke yourself.
7911 (m4_patsubsts): New.
7912 (m4_strip, m4_version_unletter): Use it.
7913 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
7915 2001-10-08 Akim Demaille <akim@epita.fr>
7917 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
7918 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
7919 * lib/autoconf/types.m4, lib/autotest/general.m4,
7920 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
7921 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
7922 m4_bregexp, m4_bpatsubst, and m4_bmatch.
7923 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
7925 2001-10-08 Akim Demaille <akim@epita.fr>
7927 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
7929 2001-10-08 Akim Demaille <akim@epita.fr>
7931 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
7932 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
7933 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
7934 * tests/tools.at, tests/m4sh.at: Use it.
7935 * tests/m4sh.at: Don't rely on Autoconf macros.
7936 (DIRNAME_TEST): Also exercise the expr variant.
7937 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
7938 preferred M4sugar extension is now `.4s'.
7939 * tests/README: Remove.
7941 2001-10-08 Akim Demaille <akim@epita.fr>
7943 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
7944 (m4_provide_if): this.
7945 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
7946 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
7947 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
7948 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
7950 2001-10-08 Akim Demaille <akim@epita.fr>
7952 Use `add-log-current-defun-function' for ChangeLog creation.
7953 Suggested by Tom Tromey.
7955 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
7956 (autotest-mode): Adjust.
7957 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
7958 'comment-region onto `C-c ;'.
7959 Comments are `#', not `dnl'.
7960 (autoconf-current-defun): New.
7961 (autoconf-font-lock-keywords): Recognize `m4_defun'.
7963 2001-10-08 Akim Demaille <akim@epita.fr>
7965 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
7966 * lib/m4sugar/m4sh.m4: here.
7967 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
7968 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
7969 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
7970 include handle the m4_pattern_*, no longer push the
7971 BODY diversion nor set the /bin/sh line, AS_INIT does it.
7972 * lib/autotest/general.m4 (AT_INIT): Likewise.
7973 * tests/base.at: Adjust the tests to use AS_INIT.
7974 * tests/tools.at (AT_DATA_FORBIDDEN): New.
7975 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
7978 2001-10-07 Paul Eggert <eggert@twinsun.com>
7980 * doc/autoconf.texi (config.status Invocation):
7981 CONFIG_SHELL defaults to a shell that supports LINENO if available.
7983 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
7984 shell does not support LINENO, and if CONFIG_SHELL is unset or
7985 empty, and if we can find a shell that does support LINENO,
7986 then set CONFIG_SHELL to that shell and then re-execute
7987 ourselves with CONFIG_SHELL.
7989 2001-10-05 Paul Eggert <eggert@twinsun.com>
7991 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
7992 doesn't exist. Remove *.tmp, as a .tmp file is created during the
7993 build of $(TESTSUITE).
7995 2001-10-05 Akim Demaille <akim@epita.fr>
7997 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
7998 iff we are a bareword.
7999 Reported by Raja R Harinath.
8001 2001-10-05 Akim Demaille <akim@epita.fr>
8003 * tests/m4sh.at (LINENO): New.
8004 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
8005 PATH_SEPARATOR before using it.
8006 Fix the absolute path case/esac pattern.
8007 Provide $0 as fallback for as_myself.
8008 Reported by Raja R Harinath.
8010 2001-10-05 Akim Demaille <akim@epita.fr>
8012 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
8013 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
8015 2001-10-05 Akim Demaille <akim@epita.fr>
8017 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
8018 (AS_SHELL_SANITIZE): here. Use it.
8019 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
8022 2001-10-04 Akim Demaille <akim@epita.fr>
8024 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
8025 combination of Awk and sed to replace $LINENO.
8027 2001-10-02 Paul Eggert <eggert@twinsun.com>
8029 * doc/autoconf.texi (Limitations of Builtins): You can't use
8030 "source"; it's not portable. Remove confusing and
8031 somewhat-incorrect example involving "." and "/".
8033 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
8034 compatibility with POSIX shells.
8036 2001-10-02 Akim Demaille <akim@epita.fr>
8038 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
8039 instead of exec'ing to preserve $0 and $@.
8041 2001-10-01 Akim Demaille <akim@epita.fr>
8043 * tests/testsuite (AT_INIT) <at_pass_list>: New.
8044 Don't run twice the same test.
8046 2001-10-01 Akim Demaille <akim@epita.fr>
8048 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
8049 No longer output the list of tests.
8050 <--list>: New option.
8051 <--full-help>: Remove.
8052 Complete the short/long options duality.
8053 Various small adjustments.
8055 2001-10-01 Akim Demaille <akim@epita.fr>
8057 * doc/autoconf.texi: Use @kbd for user input.
8058 Always use `$' as shell prompt.
8060 2001-09-30 Paul Eggert <eggert@twinsun.com>
8062 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
8063 Don't use nested parenthesization. This patch was originally
8064 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
8065 but somehow it didn't get incorporated then.
8066 * doc/autoconf.texi (Limitations of Usual Tools):
8067 Clarify remark about sed and nested parenthesization.
8069 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
8070 Report an error if the size cannot be determined even though
8072 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8073 Check for `expr' arithmetic overflow, and for compilation failure,
8074 and invoke a new argument $4 if either is discovered.
8075 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
8076 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
8078 2001-09-28 Akim Demaille <akim@epita.fr>
8080 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
8081 * m4/lispdir.m4: New.
8082 * aclocal.m4, configure.ac: Adjust.
8084 2001-09-28 Akim Demaille <akim@epita.fr>
8086 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
8088 (AT_INIT): More the wrapped section to where it will be expanded.
8089 Output `AT_tested' only when existing.
8090 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
8092 2001-09-27 Akim Demaille <akim@epita.fr>
8094 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
8095 generates too many bug reports.
8097 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
8098 status when executing the ACTION-IF-FALSE.
8099 * tests/base.at (AC_TRY_*): Rename as...
8100 (AC_TRY_COMMAND): this.
8101 (AC_RUN_IFELSE): New.
8102 * tests/compile.at (Extensions, C keywords)
8103 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
8104 (Broken/missing compilers, AC_PROG_CPP with warnings)
8105 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
8106 * tests/c.at (Extensions, C keywords)
8107 (Broken/missing compilers, AC_PROG_CPP with warnings)
8108 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
8109 (AC_PROG_CPP requires AC_PROG_CC): here and...
8110 * tests/fortran.at (GNU Fortran 77): there.
8111 * doc/autoconf.texi (autoconf Invocation): Fix the example:
8112 AC_TRY_RUN is about compilation, not shell commands.
8113 (Test Programs): AC_TRY_RUN works as used to be advertised.
8115 2001-09-27 Akim Demaille <akim@epita.fr>
8117 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
8119 Be sure to detect when $LINENO always returns the same value.
8120 Look for the original script, basename($0) is certainly not
8122 Pass the CLI arguments to `$as_me.lineno'.
8124 2001-09-25 Akim Demaille <akim@epita.fr>
8126 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
8127 Be sure the close and reopen the LOG fd before and after using tee
8129 <at_tests_pattern>: Adjust to the new format of at_help_all.
8131 2001-09-23 Akim Demaille <akim@epita.fr>
8133 * bin/autom4te.in (parse_args): There can be several invocations
8136 2001-09-23 Akim Demaille <akim@epita.fr>
8138 * doc/autoconf.texi (Top): Wrap in @ifnottex.
8140 2001-09-23 Akim Demaille <akim@epita.fr>
8142 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
8143 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
8144 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
8145 builddir, buildpath, top_builddir, and top_buildpath.
8146 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
8147 the current directory.
8148 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
8149 variables *before* changing the current directory.
8150 Skip nonexistent dirs.
8151 * doc/autoconf.texi (Preset Output Variables): Document these
8154 * lib/autotest/general.m4: Do not reset AT_victims.
8155 Don't compute at_srcdir nor at_top_srcdir.
8157 * tests/tools.at: Hence use top_srcdir.
8159 * tests/Makefile.am, tests/autoconf, tests/autoheader,
8160 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
8162 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
8163 * tests/wrapsh.in, tests/autoupdate.in: New.
8164 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
8165 * configure.ac: Build the position independent wrappers.
8167 * man/Makefile.am: Now that test wrappers are position
8168 independent, use them and drop dark envvar magic.
8170 2001-09-23 Akim Demaille <akim@epita.fr>
8172 * doc/autoconf.texi (Common Shell Constructs): Rename as...
8173 (Programming in M4sh): this.
8174 Promote to @section.
8176 2001-09-23 Akim Demaille <akim@epita.fr>
8178 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
8179 Pass $at_debug_args to the rerun test suite.
8180 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
8181 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
8184 2001-09-23 Akim Demaille <akim@epita.fr>
8186 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
8188 2001-09-23 Akim Demaille <akim@epita.fr>
8190 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
8193 2001-09-23 Akim Demaille <akim@epita.fr>
8195 * lib/Autom4te/General.pm (&debug): New.
8196 * bin/autom4te.in ($language): Move to...
8198 Handle --language in languages.
8199 * lib/autom4te.in (Automake-selections, Autoheader-selections)
8200 (Autoscan-selections): New.
8203 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
8205 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
8206 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
8207 to match current versions from CVS Automake.
8209 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
8211 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
8214 2001-09-22 Akim Demaille <akim@epita.fr>
8216 * lib/autoconf/autotest.m4: Create `package.m4'.
8217 * tests/Makefile.am (package.m4): Remove.
8219 2001-09-22 Akim Demaille <akim@epita.fr>
8221 Rely on `$LINENO' when possible instead of `__oline__'.
8223 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
8224 `$LINENO' support replacement when not supported.
8225 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
8226 them explicitly to be sure they are not output before this section
8227 (via m4_require). Cosmetic only.
8228 * lib/autoconf/c.m4, lib/autoconf/general.m4,
8229 * lib/autoconf/programs.m4: Replace all the occurrences of
8230 `__oline__' with `$LINENO'.
8231 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
8233 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
8235 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
8236 character (u: -> ue) in a code comment.
8237 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
8240 2001-09-21 Akim Demaille <akim@epita.fr>
8242 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
8243 Suggested by Jim Meyering.
8245 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8247 * lib/autoconf/programs.m4: Use extensions listed in
8248 $ac_executable_extensions when looking for programs.
8250 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8252 * lib/autoconf/general.m4: Fix a small Englisho.
8253 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
8254 setting up ac_dir_suffix and ac_top_builddir.
8255 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
8257 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8259 * doc/autoconf.texi (File System Conventions): Clarify the use of
8261 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
8262 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
8263 be used instead of ':'.
8264 * lib/autotest/general.m4: Replace occurrences of ':' in
8265 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
8267 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8269 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
8270 arguments. Fixed a typo.
8272 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8274 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
8275 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
8277 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8279 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
8280 * bin/autoupdate.in: Ditto.
8281 * bin/autoheader.in: Reworded a few comments.
8282 * bin/autoconf.in: Reworded help text for a few options.
8283 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
8284 * bin/autoscan.in, bin/autoupdate.in: Ditto.
8286 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
8288 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
8289 already have $file). Set output files to binary mode (helps avoid
8290 CR issues on DOSish systems).
8292 2001-09-19 Akim Demaille <akim@epita.fr>
8294 * lib/autotest/general.m4: Englishoes.
8295 From Tim Van Holder and Alexey Mahotkin.
8297 2001-09-18 Paul Eggert <eggert@twinsun.com>
8299 * doc/autoconf.texi (Common Shell Constructs): New node,
8300 documenting AS_DIRNAME.
8301 (Limitations of Usual Tools): Refer to it when discussing dirname.
8302 Also, update discussion of POSIX standard to reflect latest draft.
8304 * lib/autoconf/c.m4:
8305 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
8307 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
8308 Do not pass a first argument with leading '-'
8309 to expr, by parenthesizing initial integers that might be negative.
8311 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
8312 now merely checks whether it is an error to pass an argument
8315 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
8316 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
8317 whether it is a (compile-time) error to pass an argument to
8318 getpgrp. This simpler test supports the revised documentation,
8319 and is all that AC_FUNC_GETPGRP's users really need.
8321 2001-09-18 Akim Demaille <akim@epita.fr>
8323 * doc/autoconf.texi (Limitations of Make) <$<>: New.
8325 2001-09-18 Akim Demaille <akim@epita.fr>
8327 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
8329 * lib/autotest/general.m4 (AT_INIT): Adjust.
8331 2001-09-18 Paul Wagland <paul@wagland.net>
8333 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
8335 Add test for AS_BASENAME.
8336 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
8337 added test. It now correctly handles /1/2/3/, returning '3' not ''.
8338 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
8339 * tests/base.at: Fixed the expected responses. The old ones were
8341 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
8342 the documentation claims it should (and how it behaved in 2.13).
8344 2001-09-18 Akim Demaille <akim@epita.fr>
8346 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
8347 the AC_CONFIG_COMMANDS invocation.
8348 This also solves the name clash problems.
8349 Don't set the package's ID.
8350 * lib/m4sugar/Makefile.am (version.m4): Revamp.
8351 No longer to be shipped.
8352 (version.in): Remove.
8353 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
8354 * lib/autoconf/status.m4: Adjust.
8355 Use `m4_PACKAGE_STRING'.
8356 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
8357 the only optional argument is the name of the test suite.
8358 Expect `package.m4' to define the package signature.
8359 * lib/autom4te.in (Autotest): Add `package.m4?'.
8360 * tests/Makefile.am (package.m4): New.
8361 * tests/suite.at: ifnames is a victim.
8363 2001-09-18 Akim Demaille <akim@epita.fr>
8365 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
8366 AC_LIBSOURCE, AC_CONFIG_FILES.
8367 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
8368 program version string doesn't match the package's.
8369 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
8372 2001-09-17 Paul Eggert <eggert@twinsun.com>
8374 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8375 Allow expression to return any value that can fit into unsigned long
8376 (not int, as before). Check for output errors.
8378 2001-09-17 Bruno Haible <haible@ilog.fr>
8380 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
8381 Always include <stdio.h> and <stdlib.h>. Evaluate
8382 the expression in an extra function before these includes. Call
8383 fprintf "%d" only after ensuring the argument is of type 'int'.
8384 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
8386 2001-09-17 Paul Eggert <eggert@twinsun.com>
8388 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
8389 or CFLAGS=-O5. In that case, the linker has a relaxed view of
8390 fatal errors, and AC_CHECK_LIB causes it to include libraries even
8391 when they don't exist.
8393 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
8394 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
8397 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
8398 version with the version used by fileutils 4.1, except use
8399 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
8402 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
8404 2001-09-13 Akim Demaille <akim@epita.fr>
8406 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
8408 Reported by Gerrit P. Haase.
8410 2001-09-13 Akim Demaille <akim@epita.fr>
8412 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
8413 m4_defn'ing is valid.
8415 2001-09-13 Akim Demaille <akim@epita.fr>
8417 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
8418 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
8421 2001-09-13 Akim Demaille <akim@epita.fr>
8423 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
8425 (m4_re_escape): New.
8426 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
8427 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
8428 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
8430 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
8431 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
8432 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
8433 AT_tests_all for consistency.
8435 (AT_VICTIMS): Similar to AT_KEYWORDS.
8436 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
8438 2001-09-13 Akim Demaille <akim@epita.fr>
8440 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
8442 2001-09-13 Akim Demaille <akim@epita.fr>
8444 * lib/autotest/general.m4 (AT_INIT): Create and remove
8445 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
8446 test suites can cohabit.
8448 2001-09-13 Akim Demaille <akim@epita.fr>
8450 * tests/mktests.sh: Don't output banners for empty test files.
8452 2001-09-13 Akim Demaille <akim@epita.fr>
8454 Test suites can be run independently of configure.
8456 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
8457 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
8458 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
8460 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
8462 * lib/autotest/general.m4: Use ECHO_*.
8464 2001-09-13 Akim Demaille <akim@epita.fr>
8466 * bin/ifnames.in: Rewrite in Perl.
8467 * configure.ac: Don't look for AWK.
8468 * tests/tools.at (AWK portability): Remove.
8469 (Syntax of the shell scripts): Don't check ifnames.
8470 (AT_CHECK_PERL_SYNTAX): New.
8471 (Syntax of the Perl scripts): Check ifnames.
8472 * tests/ifnames: New.
8474 2001-09-13 Akim Demaille <akim@epita.fr>
8476 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
8478 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
8479 Remove all the other keywords.
8481 2001-09-10 Akim Demaille <akim@epita.fr>
8483 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
8484 SETUP: no longer used.
8485 Support -k, --keywords.
8486 <at_help>: Be `no', `short', or `long'.
8487 <at_help_all>: New variable.
8489 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
8490 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
8491 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
8492 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
8493 No longer fill the HELP diversion.
8494 (AT_CLEANUP): Use them.
8495 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
8496 (m4_list_append): Remove.
8498 Spread a few keywords in the Autoconf test suite.
8500 2001-09-10 Akim Demaille <akim@epita.fr>
8502 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
8503 PATH_SEPARATOR, let M4sh compute it.
8504 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
8505 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
8507 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
8508 Simplify when the path is not a literal.
8509 (AS_UNAME): Use it to report PATH.
8510 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
8511 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
8512 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
8513 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
8514 normalize the path, and to look for victims.
8515 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
8516 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
8518 2001-09-07 Akim Demaille <akim@epita.fr>
8520 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
8521 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
8522 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
8523 related variables into `at_package_*'.
8524 * lib/autotest/general.m4 (AT_VICTIMS): New.
8525 (AT_INIT): Adjust for stand-alone/embedded test suites.
8526 (AS_MESSAGE_LOG_FD): Define and use it.
8527 * tests/suite.at (AT_VICTIMS): Use it.
8528 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
8531 2001-09-07 Akim Demaille <akim@epita.fr>
8533 Move toward possibly stand-alone test suites.
8535 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
8536 in addition, it introduces useless differences in logs.
8537 (AT_INIT): Let atconfig and atlocal be both optional.
8538 Adjust PATH computation.
8539 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
8541 2001-09-07 Akim Demaille <akim@epita.fr>
8543 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
8546 2001-09-05 Akim Demaille <akim@epita.fr>
8548 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
8549 to avoid GCC warnings.
8552 2001-09-05 Akim Demaille <akim@epita.fr>
8554 * bin/autom4te.in: --language is -l, not -s.
8556 2001-09-05 Akim Demaille <akim@epita.fr>
8558 Be ready to handle filenames as stupid as `dnl.at', for if even
8559 the maintainer is dumb enough to do that...
8561 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
8562 excellence in M4 quotation: consider `__file__' is active.
8564 And BTW, when invoking m4, pass the --include in the right order:
8567 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
8570 2001-09-05 Akim Demaille <akim@epita.fr>
8572 * lib/Autom4te/XFile.pm: New lib file.
8573 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
8574 * bin/autoheader.in: Use it.
8576 2001-09-05 Akim Demaille <akim@epita.fr>
8578 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
8581 2001-09-05 Akim Demaille <akim@epita.fr>
8583 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
8584 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
8586 * bin/autoscan.in: Use `getopt' and `find_files' etc.
8587 Add -I, --include support.
8588 * doc/autoconf.texi (autoscan Invocation): Adjust.
8590 2001-09-05 Akim Demaille <akim@epita.fr>
8592 CVS GNU M4 doesn't like `undefine(undefined)'.
8594 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
8595 New, extracted from main.
8596 Use IO::File wherever possible.
8597 (input.m4): Be constant, use -I instead of hard coding $tmp.
8598 Therefore be a quoted heredoc.
8599 Don't invoke `_au_disable', since ac was not loaded, but just
8602 2001-08-31 Akim Demaille <akim@epita.fr>
8606 2001-08-31 Akim Demaille <akim@epita.fr>
8608 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
8610 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
8612 2001-08-31 Akim Demaille <akim@epita.fr>
8614 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
8615 serious problems handling heredocs in heredocs.
8616 Reported by Nicolas Joly.
8618 2001-08-31 Akim Demaille <akim@epita.fr>
8620 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
8621 (Making testsuite Scripts): Update.
8623 2001-08-31 Akim Demaille <akim@epita.fr>
8625 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
8627 2001-08-31 Akim Demaille <akim@epita.fr>
8629 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
8630 (testsuite Scripts): There is no such thing as `atconfig.in'.
8631 And actually one diagram is missing: test suite runtime.
8633 2001-08-31 Akim Demaille <akim@epita.fr>
8635 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
8638 2001-08-31 Akim Demaille <akim@epita.fr>
8640 * bin/autoupdate.in (@include): `installcheck' revealed the path
8641 to m4sugar was lacking!
8643 2001-08-31 Akim Demaille <akim@epita.fr>
8645 * man/Makefile.am (.x.1): We really have to pass
8646 autom4te_perllibdir.
8648 2001-08-31 Akim Demaille <akim@epita.fr>
8650 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
8651 debug scripts, in particular passing explicitly listed tests to
8654 2001-08-31 Akim Demaille <akim@epita.fr>
8656 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
8657 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
8658 Use directly autom4te, not autoconf.
8659 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
8661 2001-08-31 Akim Demaille <akim@epita.fr>
8663 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
8664 * bin/autoheader.in (%symbol): Strip arguments of macros.
8666 2001-08-31 Akim Demaille <akim@epita.fr>
8668 * doc/autoconf.texi: Catch up -I, --include changes.
8670 2001-08-31 Akim Demaille <akim@epita.fr>
8672 * bin/autom4te.in (&parse_args): Die on unknown languages.
8673 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
8675 Promote --include over --macrodir and other obsolete options.
8677 2001-08-31 Akim Demaille <akim@epita.fr>
8679 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
8680 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
8681 * bin/autom4te.in ($autoconf): Pass --force.
8682 `print $out' doesn't print `$_' but `$out'.
8683 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
8684 (autoheader): Pass --force since the test suite goes too fast for
8686 Adjust to the new autoheader messages.
8688 2001-08-31 Akim Demaille <akim@epita.fr>
8690 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
8691 Check the completeness of the #template.
8692 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
8693 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
8696 2001-08-31 Akim Demaille <akim@epita.fr>
8698 * lib/Autom4te/General.pm (&find_file, &update_file): New.
8699 * bin/autoupdate.in, bin/autoheader.in: Adjust.
8700 Drop AC_MACRODIR dead for real.
8701 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
8702 `autoheader: `config.hin' is created'.
8703 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
8705 2001-08-31 Akim Demaille <akim@epita.fr>
8707 * bin/autoheader.in: Rewrite in Perl.
8708 * tests/autoheader: Adjust.
8710 2001-08-31 Akim Demaille <akim@epita.fr>
8712 * bin/autoconf.in (--include, -I): New option.
8713 Map --localdir, --autoconf-dir onto it.
8714 Forward autom4te's options instead of interpreting them.
8715 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
8716 There is no such envvar since the inception of autom4te.cfg.
8717 * bin/autom4te.in (&parse_args): Uniquify `@include'.
8718 * bin/autoupdate.in: Adjust, and perform more control.
8719 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
8720 * tests/autoconf: Dittowise.
8722 2001-08-31 Akim Demaille <akim@epita.fr>
8724 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
8725 * bin/autom4te.in (&find_file): Support `FILE?' standing for
8727 Use -e, not -f, since /dev/null for instance is OK.
8728 (&parse_args): Adjust.
8729 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
8731 2001-08-31 Akim Demaille <akim@epita.fr>
8733 * configure.ac: Also find tested executables in bin.
8734 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
8735 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
8736 installed peer executables, only PATH is allowed to resolve it.
8737 Pass `autoconf_dir' via options, not via invisible envvars.
8738 * lib/Autom4te/General.pm (&find_peer): Remove.
8739 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
8740 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
8741 * man/Makefile.am: Let help2man rely on PATH instead of trying to
8742 find the executables for it.
8743 * tests/Makefile.am: Major cleanup. Too lazy to document...
8744 * tests/atlocal.in: Remove all the obscure envvar manipulations.
8746 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
8747 indeed related to running the test suite, while passing
8748 --autoconf-dir and others is related to running non installed
8749 Autoconf executables. So don't do that, leave it to...
8750 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
8751 * tests/autoscan: New.
8752 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
8753 refer to library files: rely on --language.
8755 2001-08-29 Akim Demaille <akim@epita.fr>
8757 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
8758 s/--set/--language/.
8760 2001-08-29 Akim Demaille <akim@epita.fr>
8762 * doc/autoconf.texi: Strip the @nodes.
8763 Suggested by Paul Eggert.
8764 (Initializing configure): Typo.
8766 2001-08-29 Akim Demaille <akim@epita.fr>
8768 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
8769 Suggested by Paul Eggert.
8771 2001-08-29 Akim Demaille <akim@epita.fr>
8773 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
8774 download in a tmp dir.
8776 2001-08-29 Akim Demaille <akim@epita.fr>
8778 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
8779 case insensitive OSes out there :(
8780 From Tim Van Holder.
8782 2001-08-29 Akim Demaille <akim@epita.fr>
8784 * lib/autom4te.in: New.
8785 * lib/Makefile.am (edit, autom4te.cfg): New.
8786 * bin/autom4te.in (BEGIN): Simplify.
8787 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
8788 (&load_configuration): New. Use it.
8789 (&parse_args): Support --mode, --set, and --melt.
8790 * bin/autoconf.in: Simplify and adjust.
8791 * tests/Makefile.am (AUTOMAKE): Use --set.
8792 * tests/atlocal.in: Adjust.
8793 * BUGS: distcheck and check are weak.
8795 2001-08-29 Akim Demaille <akim@epita.fr>
8797 * lib/autotest/general.m4: Use
8798 foo=`(command) 2>/dev/null`
8800 foo=`command` 2>/dev/null
8801 (at-devnull): Rename as...
8803 (--clean): Remove AT-* files too.
8804 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
8805 Reported by Nicolas Joly.
8807 2001-08-28 Akim Demaille <akim@epita.fr>
8809 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
8810 quotes inside single quotes.
8811 Reported by Nicolas Joly.
8813 2001-08-28 Kevin Ryde <user42@zip.com.au>
8815 * doc/autoconf.texi (Function Portability): Mention C right shifts.
8817 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
8819 * lib/autotest/general.m4: Reword some messages.
8820 (AT_INIT): Check for the `times' builtin before using it.
8821 Support test ranges as arguments to the testsuite.
8822 Have -e imply -d as the help text suggested.
8824 2001-08-27 Akim Demaille <akim@epita.fr>
8826 * Makefile.maint: Formatting changes.
8827 (do-po-update, po-update, cvs-update, update): New targets.
8830 2001-08-27 Akim Demaille <akim@epita.fr>
8832 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
8834 Pass it to debug-*.sh scripts.
8835 <AUTOTEST_PATH>: May contain absolute dir names.
8837 2001-08-27 Akim Demaille <akim@epita.fr>
8839 * lib/autotest/general.m4 (AT_INIT): Log the command line.
8840 Support `VAR=VAL' as arguments.
8841 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
8842 may be set via the command line.
8844 2001-08-27 Akim Demaille <akim@epita.fr>
8846 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
8847 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
8848 first the build dirs, then the src dirs.
8849 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
8851 2001-08-27 Akim Demaille <akim@epita.fr>
8853 * lib/autotest/general.m4 (AT_INIT): Output the definition of
8854 at_data_files earlier.
8855 (--clean, -c): New option.
8856 * tests/Makefile.am: Use this option.
8858 2001-08-27 Akim Demaille <akim@epita.fr>
8860 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
8861 `ac_top_builddir' to mimic Automake's vocabulary, which much more
8864 * doc/autoconf.texi (Configuration Actions): Document the vars
8865 available in commands.
8866 Emphasize the risks of collisions in init-cmds.
8868 2001-08-27 Akim Demaille <akim@epita.fr>
8870 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
8871 (Initializing configure): this new node.
8873 2001-08-27 Akim Demaille <akim@epita.fr>
8875 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
8877 2001-08-27 Akim Demaille <akim@epita.fr>
8879 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
8880 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
8882 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
8884 2001-08-27 Akim Demaille <akim@epita.fr>
8886 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
8888 * lib/autoconf/autoheader.m4: this new file.
8889 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
8890 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
8892 * lib/autoconf/autoupdate.m4: this new file.
8894 2001-08-27 Akim Demaille <akim@epita.fr>
8896 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
8897 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
8898 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
8900 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
8901 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
8903 2001-08-27 Akim Demaille <akim@epita.fr>
8905 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
8906 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
8907 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
8908 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
8909 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
8910 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
8911 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
8912 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
8913 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
8914 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
8915 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
8916 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
8917 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
8918 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
8919 (_AC_OUTPUT_SUBDIRS): Move to...
8920 * lib/autoconf/status.m4: this new file.
8921 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
8922 * tests/Makefile.am, tests/suite.at: Adjust.
8924 2001-08-27 Akim Demaille <akim@epita.fr>
8928 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
8929 (AMTAR): Help automake define it.
8930 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
8931 needed, 1.5 can have a macro and a target with the same name.
8932 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
8934 * m4/init.m4, m4/sanity.m4: Update.
8935 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
8936 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
8937 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
8938 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
8940 2001-08-27 Akim Demaille <akim@epita.fr>
8942 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
8944 * lib/autoconf/version.in: Remove.
8945 * lib/m4sugar/version.in: New.
8946 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
8948 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
8949 the name of the directory they're in, instead of the filename,
8950 since version.m4 is now in m4sugar, but m4_acversion must not be
8951 classified as an Autoconf macro.
8952 ($input_m4): Don't qualify the path to m4sugar.
8953 Rather, pass autoconf_dir to m4.
8954 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
8955 * tests/suite.at: Require 2.52c.
8957 2001-08-27 Akim Demaille <akim@epita.fr>
8959 testsuite.log should include config.log.
8961 * lib/autotest/autotest.m4: New.
8962 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
8963 * tests/suite.at : Adjust.
8964 (AT_INIT): Log config.log.
8965 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
8966 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
8967 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
8968 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
8969 of config.log on traps.
8970 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
8971 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
8973 Open the log as soon as possible.
8974 Use the same log introduction as configure's.
8976 2001-08-22 Paul Eggert <eggert@twinsun.com>
8978 * doc/autoconf.texi (Indices): New node.
8979 Move indices out of the top level menu and into this submenu.
8981 2001-08-22 Akim Demaille <akim@epita.fr>
8983 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8985 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
8987 2001-08-22 Akim Demaille <akim@epita.fr>
8989 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
8990 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
8991 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
8992 * lib/autoconf/programs.m4: here.
8993 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
8994 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
8995 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
8996 * lib/autoconf/programs.m4: here.
8997 (_AC_DECL_YYTEXT): Rename as...
8998 (_AC_PROG_LEX_YYTEXT_DECL): this.
8999 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
9000 * tests/Makefile.am, tests/suite.am: Adjust.
9002 2001-08-22 Akim Demaille <akim@epita.fr>
9004 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
9006 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
9008 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
9009 * lib/autoconf/functions.m4: here.
9010 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
9011 (AH_CHECK_LIB): Move to...
9012 * lib/autoconf/libs: this new file.
9013 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
9014 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
9015 * lib/autoconf/libs.m4: here.
9016 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
9018 2001-08-22 Akim Demaille <akim@epita.fr>
9020 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
9021 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
9022 (AC_SITE_LOAD): Better logging of config.site.
9024 2001-08-20 Akim Demaille <akim@epita.fr>
9026 * configure.ac (AT_CONFIG): Fix the path.
9027 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
9030 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
9032 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
9033 program with AC_LANG_PROGRAM before feeding it to
9034 AC_COMPILE_IFELSE. Cleanup grep usage.
9036 2001-08-20 Akim Demaille <akim@epita.fr>
9038 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
9039 * NEWS, README, README-alpha, TODO, tests/README: This package is
9040 `Autoconf', not `autoconf' (the executable).
9042 2001-08-20 Akim Demaille <akim@epita.fr>
9044 Info readers seem to need `Index' in the index node title :(
9046 * doc/autoconf.texi: Reverse the 2001-08-15 change which
9047 simplified index node names.
9049 2001-08-20 Akim Demaille <akim@epita.fr>
9051 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
9052 arguments are not literals.
9053 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
9054 Specify the output variables, and macros defined.
9056 2001-08-20 Akim Demaille <akim@epita.fr>
9058 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
9059 (Examining Syntax) <AC_TRY_COMPILE>
9060 (Examining Libraries) <AC_TRY_LINK>
9061 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
9063 Reported by Werner Lemberg.
9065 2001-08-20 Akim Demaille <akim@epita.fr>
9067 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
9068 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
9069 Load atlocal late enough to dump it in the log.
9070 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
9072 2001-08-20 Akim Demaille <akim@epita.fr>
9074 * tests/torture.at (Configuring subdirectories): New test.
9075 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
9077 * m4/atconfig.m4: Be sure the let $[0] be expandable.
9078 (top_srcdir): Fix its computation.
9080 2001-08-20 Akim Demaille <akim@epita.fr>
9082 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
9083 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
9085 Create `atconfig' automagically.
9086 Configure atlocal.in if present.
9087 * tests/atconfig.in: Remove.
9088 * tests/atlocal.in: New.
9089 * tests/Makefile.am: Adjust.
9091 2001-08-20 Akim Demaille <akim@epita.fr>
9093 Huh!?!?! There are still some user EOF tags used, which prevents
9094 their use in AC_CONFIG_COMMANDS for instance...
9096 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
9097 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
9098 `_CSEOF', or `_ATEOF', as appropriate.
9099 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
9100 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
9102 2001-08-20 Akim Demaille <akim@epita.fr>
9104 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
9105 * tests/semantics.at, tests/tools.at, tests/torture.at:
9106 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
9108 2001-08-20 Akim Demaille <akim@epita.fr>
9110 Autotest invokes M4sh's initialization.
9112 * lib/autotest/general.m4: Adjust the diversion names.
9113 (AT_INIT): Run AS_INIT.
9114 Use the BINSH diversion to invoke /bin/sh.
9115 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
9116 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
9118 2001-08-20 Akim Demaille <akim@epita.fr>
9120 Let M4sh have its own diversions.
9122 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
9123 (_m4_divert(NOTICE)): Rename as...
9124 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
9125 (_m4_divert(HEADER-COMMENT)): these.
9126 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
9127 (_m4_divert(NOTICE)): New, for Libtool.
9128 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
9129 long ago with `_m4_divert(GROW)'.
9130 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
9132 2001-08-20 Akim Demaille <akim@epita.fr>
9134 * tests/base.at, tests/compile.at, tests/foreign.at,
9135 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
9136 * tests/semantics.at, tests/suite.at, tests/tools.at,
9137 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
9139 2001-08-20 Akim Demaille <akim@epita.fr>
9141 * bin/autom4te.in (handle_output): Handle @__@.
9143 2001-08-20 Akim Demaille <akim@epita.fr>
9145 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
9146 * lib/autotest/general.m4: Adjust the license.
9148 2001-08-17 Paul Eggert <eggert@twinsun.com>
9150 * doc/autoconf.texi (Function Portability): Mention snprintf,
9151 following up on a suggestion by Kevin Ryde.
9153 2001-08-17 Akim Demaille <akim@epita.fr>
9155 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
9156 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
9158 2001-08-17 Akim Demaille <akim@epita.fr>
9160 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
9161 `$0.log' as for projects where testsuite is in src, we'd have
9162 testsuite.log created in src.
9164 2001-08-17 Akim Demaille <akim@epita.fr>
9166 * bin/autom4te.in (&parse_args): Recognize --normalize.
9168 2001-08-17 Akim Demaille <akim@epita.fr>
9170 Start implementing the AC_CHECK_HEADER transition scheme.
9172 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
9173 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
9174 (AC_CHECK_HEADER): Use them.
9176 2001-08-17 Akim Demaille <akim@epita.fr>
9178 * doc/autoconf.texi: Work around Texinfo buglets.
9179 (Transformation Rules): One example is enough, users are expected
9180 to have their brains on. And BTW, use DESTDIR.
9181 (dvar): New macro. Use it.
9183 2001-08-17 Akim Demaille <akim@epita.fr>
9185 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
9186 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
9187 looking for ChangeLogs.
9189 2001-08-17 Akim Demaille <akim@epita.fr>
9191 * bin/autom4te.in: --normalize is a new option.
9192 * bin/autoconf.in: Use it.
9194 2001-08-17 Akim Demaille <akim@epita.fr>
9196 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
9197 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
9199 2001-08-16 Paul Eggert <eggert@twinsun.com>
9201 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
9204 2001-08-15 Akim Demaille <akim@epita.fr>
9206 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
9209 2001-08-15 Akim Demaille <akim@epita.fr>
9211 * doc/autoconf.texi (pr): New index.
9212 (prindex, findex): Use, merge, and output them.
9213 (Environment Variable Index, Output Variable Index)
9214 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
9215 (Autotest Macro Index): Rename as...
9216 (Environment Variables, Output Variables,Preprocessor Symbols)
9217 (Autoconf Macros, M4 Macros, Autotest Macros): these.
9218 * doc/install.texi: Use @command.
9219 (Environment Variables): Rename as...
9220 (Defining Variables): this.
9222 2001-08-15 Akim Demaille <akim@epita.fr>
9224 * doc/autoconf.texi (Function Portability): sprintf's return
9228 2001-08-15 Akim Demaille <akim@epita.fr>
9230 * Makefile.maint (CVS): New.
9231 (local-check): Run changelog-check. last.
9232 (alpha): Don't depend upon local-check, since...
9233 (cvs-dist): depends upon it.
9235 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
9237 * tests/Makefile.am: Use a clean-local rule to remove
9238 autom4te.cache (it's a directory, not a file.
9239 * Makefile.am: Ditto (but maintainer-clean-local).
9241 2001-08-15 Akim Demaille <akim@epita.fr>
9243 * bin/autom4te.in (@m4_warning): New.
9244 (&handle_m4): Use it.
9245 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
9246 warnings are issued at each run.
9247 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
9250 2001-08-15 Akim Demaille <akim@epita.fr>
9252 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
9253 don't waste time running `autoupdate --version' works.
9254 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
9256 2001-08-13 Akim Demaille <akim@epita.fr>
9258 * doc/autoconf.texi (ma): Rename this index as...
9261 2001-08-13 Akim Demaille <akim@epita.fr>
9263 * Makefile.am: Remove dead code and dead comments.
9264 (pdf, html): New targets.
9265 * doc/autoconf.texi (Using Autotest): New chapter.
9266 * doc/Makefile.am (pdf): New targets.
9267 (CLEANFILES): Adjust.
9269 2001-08-13 Akim Demaille <akim@epita.fr>
9271 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
9272 duration of the test suite.
9274 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9276 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
9277 endianness for comparison instead of relying on AT_CHECK_ENV.
9279 2001-08-11 Paul Eggert <eggert@twinsun.com>
9281 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
9282 to the INSTALL file.
9284 2001-08-11 Paul Eggert <eggert@twinsun.com>
9286 * NEWS: The autoconf manual now is distributed under the terms
9287 of the GNU Free Documentation License.
9289 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
9290 Add an appendix "Copying This Manual" for the FDL.
9292 * doc/fdl.texi: New file, from
9293 <http://www.gnu.org/licenses/fdl.texi>.
9295 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
9297 2001-08-10 Paul Eggert <eggert@twinsun.com>
9299 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
9300 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
9301 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
9302 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
9303 m4/sanity.m4, tests/README, tests/aclocal.m4,
9304 tests/atspecific.m4, tests/base.at, tests/compile.at,
9305 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
9306 tests/semantics.at, tests/suite.at, tests/tools.at,
9307 tests/torture.at: Add copyright notice.
9309 * tests/mktests.sh: Update year in copyright notice.
9311 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
9313 * tests/semantics.at (AC_C_BIGENDIAN): New test.
9315 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9317 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
9318 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
9319 * doc/autoconf.texi (C Compiler Characteristics): Update
9320 documentation for AC_C_BIGENDIAN.
9322 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
9324 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
9325 magic values from an object file when cross-compiling.
9326 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
9328 2001-08-10 Akim Demaille <akim@epita.fr>
9330 * bin/autom4te.in (&handle_output): Don't use `grep' with side
9332 Suggested by Russ Allbery.
9334 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9336 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
9337 current $prefix to the sub-configures.
9339 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
9341 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
9342 extension (needed on BeOS). Reported by Guido van Rossum.
9344 2001-08-09 Akim Demaille <akim@epita.fr>
9346 * bin/autom4te.in ($icache): Load it only if older than autom4te.
9348 2001-08-07 Akim Demaille <akim@epita.fr>
9350 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
9352 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
9353 No need to remove the files before and after the each test, before
9354 each test and at the end of the suite is enough.
9355 Display only the children `times', not the shell's.
9356 If the test failed or was skipped, at-times is not available.
9358 2001-08-07 Akim Demaille <akim@epita.fr>
9360 Always produce testsuite.log, including when there are no
9361 failures. This helps getting information on skipped tests, and
9362 duration of the tests. Err, implement the latter btw.
9364 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
9365 Dump information on the first run of each test.
9366 (AT_CLEANUP): Create `at-times' containing the duration of the
9369 2001-08-07 Akim Demaille <akim@epita.fr>
9371 The use of `dumpstat' revealed that `len' was used although it
9372 should not. m4_text_wrap was using it, but in the Autoconf world
9373 where it is legal. Hence (i) test M4sh in its own world, not
9374 Autoconf's, and (ii), ahem, fix the bug :)
9376 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
9377 does not like `' instead of [].
9378 (AT_INIT): Forbid `^_?AT_'.
9379 And don't output such tokens.
9380 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
9381 `script.as', and `autom4te.cache'.
9382 Remove `empty' and `macro' which are no longer used.
9383 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
9384 * tests/m4sugar.at: Use it.
9385 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
9387 2001-08-07 Akim Demaille <akim@epita.fr>
9389 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
9391 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
9393 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
9395 2001-08-04 Akim Demaille <akim@epita.fr>
9397 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
9398 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
9400 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
9401 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
9402 (AC_F77_MAIN): Likewise.
9404 2001-08-04 Akim Demaille <akim@epita.fr>
9406 Don't rely on M4sugar outputting the patterns in files, since we
9407 might process the output _without_ running m4, hence without these
9410 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
9411 * bin/autom4te.in (@Request::includes): Remove, unused.
9412 (@Request::source): Rename as...
9413 (@Request::input): this.
9414 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
9415 (&handle_output): Fetch the patterns from the traces.
9416 `$forbidden' and `$allowed' are constant: use m//o.
9417 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
9418 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
9420 2001-08-04 Akim Demaille <akim@epita.fr>
9422 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
9423 autoconf', i.e., in addition to caching traces, cache the output.
9425 * bin/autom4te.in (Request::cache): Rename as...
9426 (Request::id): this.
9427 ($cache, $icache, $tcache, $ocache): New.
9428 (&handle_m4): Save M4 output in the cache instead of $tmp.
9429 (&handle_output): Adjust.
9430 (&up_to_date_p): Check that the output cache is up to date too.
9431 (top level): Run `&handle_m4' iff force or the cache is invalid.
9432 Run `&handle_output' if the output cache is more recent.
9434 2001-08-04 Akim Demaille <akim@epita.fr>
9436 * bin/autom4te.in ($force): New.
9437 (&parse_args, &print_usage): -f, --force is a new option.
9438 (&handle_output): CPP directives might have spaces after `#'.
9439 (&parse_args): The first file only can be frozen.
9441 2001-08-04 Akim Demaille <akim@epita.fr>
9443 Don't let autom4te compute the `include' traces several times:
9444 first check that the trace cache file is up to date, and then
9445 compare its timestamp with that of the output.
9447 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
9448 the preamble. Don't require 5.005 as Autom4te::General does it,
9449 and better yet (use `use', not `require'!).
9450 * lib/Autom4te/Struct.pm: Rename the last occurrences of
9451 Class::Struct as Autom4te::Struct.
9452 * lib/Autom4te/General.pm (File::stat): Use it.
9453 (&mtime): New, export it.
9454 * bin/autom4te.in: Use it.
9455 Declare `$req' is invalid if it is outdated.
9456 Don't declare it valid before saving it if something went wrong.
9458 2001-08-04 Akim Demaille <akim@epita.fr>
9460 Autom4te shall not encode Autoconf data, and preselecting traces
9461 must be proposed to the users.
9463 * bin/autom4te.in (@required_trace): Remove.
9465 (&parse_args, &print_usage): -p, --preselect is a new option.
9466 (&up_to_date_p): Adjust.
9467 * bin/autoconf.in: Preselect some Autoconf macros.
9469 2001-08-04 Akim Demaille <akim@epita.fr>
9471 * tests/tools.at (autoconf --trace: user macros): Check traces on
9472 macros invoked without arguments, and macros invoked with multiple
9475 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
9477 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
9480 2001-08-03 Akim Demaille <akim@epita.fr>
9482 * bin/autoconf.in ($@): Work around the usual sh bug.
9485 2001-08-03 Akim Demaille <akim@epita.fr>
9487 Clean up the handling of the M4 builtins tracing exception.
9489 * bin/autom4te.in (Request::request): Don't complete M4 builtins
9491 (@m4_builtins): Rename as...
9492 (@m4_builtin): this.
9493 (%m4_builtin_alternate_name): New.
9494 (&parse_args): Complete the trace requests with alternate names.
9495 (&handle_traces): Hence no longer do it here.
9496 (&trace_requests): Remove, unused.
9498 2001-08-03 Akim Demaille <akim@epita.fr>
9500 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
9503 2001-08-03 Akim Demaille <akim@epita.fr>
9505 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
9506 (m4_divert_pop): Dump the whole diversion stack when a diversion
9508 * bin/autom4te.in (&handle_output): Remember of the first
9509 occurrence of a possibly undefined macro, not the last.
9510 Complain about the possibly undefined macros in the same order as
9511 the appear in the output.
9512 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
9513 * tests/tools.at (autoconf: forbidden tokens, basic)
9514 (autoconf: forbidden tokens, exceptions): No longer sort
9515 autoconf's stderr, as it is now deterministic.
9516 Check that `dnl' is caught.
9518 2001-08-01 Akim Demaille <akim@epita.fr>
9520 * configure.ac: Bump to 2.52c.
9522 2001-08-01 Akim Demaille <akim@epita.fr>
9526 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
9528 2001-08-01 Akim Demaille <akim@epita.fr>
9532 2001-08-01 Akim Demaille <akim@epita.fr>
9534 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
9537 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
9538 `END', as `Autom4te::General::END' will be triggered.
9539 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
9540 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
9541 system to run `mv', `rm', and `cmp'.
9543 2001-08-01 Akim Demaille <akim@epita.fr>
9545 * lib/Autom4te/General.pm (&unique): New.
9546 * bin/autoscan.in (&output): Use it to issue trace requests once.
9548 2001-08-01 Akim Demaille <akim@epita.fr>
9550 * lib/Autom4te/General.pm: New.
9551 * bin/autom4te.in (Autom4te::General): Use it.
9552 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
9553 (&find_configure_ac, &find_slave): Remove.
9554 * bin/autoscan.in: Likewise.
9555 * bin/autoupdate.in: Likewise.
9557 2001-08-01 Akim Demaille <akim@epita.fr>
9559 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
9560 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
9561 * bin: here, new directory.
9562 * lib/Autoconf: Rename as...
9563 * lib/Autom4te: this, to please case insensitive junkie OSes.
9565 2001-08-01 Akim Demaille <akim@epita.fr>
9567 * autom4te.in ($m4): Handle the --nesting-limit.
9568 * autoconf.in (M4): Remove.
9570 2001-08-01 Akim Demaille <akim@epita.fr>
9572 * autoconf.in ($AWK): Remove, no longer used.
9573 * test/tools.at: Use AT_CHECK_AUTOCONF.
9574 (AWK portability): Remove, for autoconf no longer uses AWK.
9575 (Syntax of the Perl scripts): New.
9576 * configure.ac: autoconf no longer needs an AWK with a good
9578 Use a static test on AC_PACKAGE_VERSION.
9579 * autom4te.in (&up_to_date_p): Output depends on the arguments.
9580 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
9581 * tests/atconfig.in (PERL): New.
9583 2001-08-01 Akim Demaille <akim@epita.fr>
9585 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
9586 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
9587 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
9588 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
9589 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
9590 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
9591 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
9592 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
9593 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
9594 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
9595 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
9596 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
9597 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
9598 * lib/autoconf/c.m4: here, new file.
9600 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
9601 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
9602 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
9603 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
9604 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
9605 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
9606 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
9607 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
9608 (AC_F77_FUNC): Move to...
9609 * lib/autoconf/fortran.m4: here, new file.
9611 2001-08-01 Akim Demaille <akim@epita.fr>
9613 * acfunctions.m4: Rename as...
9614 * lib/autoconf/functions.m4: this.
9615 * acgeneral.m4: Rename as...
9616 * lib/autoconf/general.m4: this.
9617 * acheaders.m4: Rename as...
9618 * lib/autoconf/headers.m4: this.
9619 * aclang.m4: Rename as...
9620 * lib/autoconf/lang.m4: this.
9621 * acoldnames.m4: Rename as...
9622 * lib/autoconf/oldnames.m4: this.
9623 * acspecific.m4: Rename as...
9624 * lib/autoconf/specific.m4: this.
9625 * actypes.m4: Rename as...
9626 * lib/autoconf/types.m4: this.
9627 * autoconf.m4: Rename as...
9628 * lib/autoconf/autoconf.m4: this.
9630 * m4sugar.m4: Rename as...
9631 * lib/m4sugar/m4sugar.m4: this.
9632 * m4sh.m4: Rename as...
9633 * lib/m4sugar/m4sh.m4: this.
9635 * tests/atgeneral.m4: Rename as...
9636 * lib/autotest/general.m4: this.
9638 * acfunctions: Rename as...
9639 * lib/autoscan/functions: this.
9640 * acheaders: Rename as...
9641 * lib/autoscan/headers: this.
9642 * acidentifiers: Rename as...
9643 * lib/autoscan/identifiers: this.
9644 * aclibraries: Rename as...
9645 * lib/autoscan/libraries: this.
9646 * acmakevars: Rename as...
9647 * lib/autoscan/makevars: this.
9648 * acprograms: Rename as...
9649 * lib/autoscan/programs: this.
9651 2001-08-01 Akim Demaille <akim@epita.fr>
9653 * doc/autoconf.texi: Moving/deleting open files is not portable.
9654 Portability issues for `.' (source), and more information about sed.
9656 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
9658 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
9659 which has a special meaning and is not a reference to libibmil.a.
9660 Reported by Matteo Frigo.
9662 2001-07-25 Pavel Roskin <proski@gnu.org>
9664 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
9667 2001-07-25 Akim Demaille <akim@epita.fr>
9669 * autoconf.in: Try to define the variables before using them.
9670 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
9671 instead of `$perllibdir'.
9672 * tests/atconfig.in ($autom4te_perllibdir): Export it.
9674 2001-07-25 Akim Demaille <akim@epita.fr>
9676 * autoconf.in (ac_LF_and_DOT): Remove, unused.
9678 2001-07-24 Akim Demaille <akim@epita.fr>
9680 Let autoconf use autom4te for traces.
9682 * autoconf.in ($task, task trace): Remove, merely pass --trace to
9684 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
9685 (Because I found no way for autom4te to accept `-').
9686 * autom4te.in (&Request::request): Beware of M4 builtins.
9687 (END): Don't try to remove the content of an empty dir.
9688 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
9689 (&handle_output): Set a default value to `$forbidden'.
9690 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
9691 ($autoconf): Pass --debug and --verbose.
9692 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
9695 2001-07-24 Akim Demaille <akim@epita.fr>
9697 Let autoconf use autom4te to create configure.
9699 * autoconf.in ($automate): New var.
9700 (task script): Use autom4te.
9701 * autom4te.in (File::Spec): Use it.
9703 (&parse_args): --warning is -W, not -w.
9704 Find the top level files.
9705 (&handle_m4): Pass the warnings flags.
9706 Don't report verbosely m4's failures, unless requested.
9707 (&handle_output): Don't complain for forbidden tokens in comments.
9708 Be sure to report all the forbidden tokens within a single line.
9709 (&trace_format_to_m4): Preserve `$_'.
9710 (&handle_traces): Sort the output macros.
9711 (&up_to_date_p): Find the files before trying to get its time stamp.
9713 2001-07-24 Akim Demaille <akim@epita.fr>
9715 * Makefile.am: Ship, build and install Autom4te.
9717 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
9718 * configure.in: Require Perl.
9719 * man/autom4te.in: New.
9721 2001-07-19 Paul Eggert <eggert@twinsun.com>
9723 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
9724 example, rather than (exit 1); exit (which isn't portable).
9726 2001-07-18 Akim Demaille <akim@epita.fr>
9730 2001-07-18 Akim Demaille <akim@epita.fr>
9732 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
9733 was run, while they are needed also when it is expanded.
9734 Reported by Nicolas Joly.
9736 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
9737 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
9738 AC_F77_DUMMY_MAIN being expanded.
9740 2001-07-18 Akim Demaille <akim@epita.fr>
9742 * configure.in: Bump to 2.51a.
9744 2001-07-17 Akim Demaille <akim@epita.fr>
9748 2001-07-17 Akim Demaille <akim@epita.fr>
9750 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
9751 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
9753 2001-07-17 Akim Demaille <akim@epita.fr>
9755 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
9756 used. Well, then use the prototypes when you can, and runtime as
9758 Reported by Artur Frysiak
9760 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
9761 (AC_FUNC_GETPGRP): Use it.
9762 First try to compile with 0-ary or 1-ary calls.
9764 2001-07-17 Akim Demaille <akim@epita.fr>
9766 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
9770 2001-07-17 Akim Demaille <akim@epita.fr>
9772 * Makefile.maint: Sync. with cppi 1.10.
9774 2001-07-17 Akim Demaille <akim@epita.fr>
9776 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
9777 AC_F77_DUMMY_MAIN has been run.
9778 From Pavel Roskin and Steven G. Johnson.
9780 2001-07-17 Akim Demaille <akim@epita.fr>
9782 * configure.in: Rename as...
9783 * configure.ac: this.
9785 2001-07-17 Akim Demaille <akim@epita.fr>
9787 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
9790 * Makefile.maint (release-archive-dir): Rename as...
9791 (release_archive_dir): this, so that it can be specialized in
9794 2001-07-14 Akim Demaille <akim@epita.fr>
9796 * configure.in: Bump to 2.50d.
9798 2001-07-14 Akim Demaille <akim@epita.fr>
9801 * Makefile.maint (alpha): Typo.
9803 2001-07-14 Akim Demaille <akim@epita.fr>
9805 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
9807 2001-07-14 Akim Demaille <akim@epita.fr>
9809 * config/config.guess, config/config.sub, config/texinfo.tex
9810 * doc/standards.texi, doc/make-stds.texi: Update.
9812 2001-07-14 Akim Demaille <akim@epita.fr>
9814 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
9816 2001-07-14 Akim Demaille <akim@epita.fr>
9818 * Makefile.maint (maintainer-check): Rename as...
9819 (maintainer-distcheck): this.
9820 (changelog-check, static-check): New.
9823 2001-07-14 Kevin Ryde <user42@zip.com.au>
9825 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
9826 for CXX is g++, not gcc.
9828 2001-07-14 Akim Demaille <akim@epita.fr>
9830 * doc/autoconf.texi (Files): New subsection.
9832 2001-07-14 Akim Demaille <akim@epita.fr>
9834 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
9836 (Generic Compiler Characteristics): this.
9837 (C++ Compiler): New subsection.
9839 2001-07-14 Akim Demaille <akim@epita.fr>
9841 * autoscan.in: Use IO::File.
9842 Adjust all the routines to use it.
9843 ($log): New file (autoscan.log).
9844 (output): Dump detailed logs into $log, and a shortened version to
9846 (&scan_makefile): Refine the regexp catching tokens in the code.
9847 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
9848 and the `configure.ac' checking feature.
9850 2001-07-12 Akim Demaille <akim@epita.fr>
9852 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
9853 Reported by Michael Elizabeth Chastain.
9855 * autoconf.in: Refuse such AWK.
9856 * configure.in: Likewise.
9857 * Makefile.am (acversion.m4): Do not use move-if-change this file
9859 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
9861 2001-07-10 Jens Petersen <petersen@redhat.com>
9863 * autoscan.in (&scan_makefile): Improve programs regexp to parse
9864 things like "g++", "file.c" and "some-conf" as tokens.
9865 (&scan_file): Match C++ files extensions.
9866 If the filename extension is C++ then ask for c++.
9868 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
9870 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
9871 AC_TRY_LINK_FUNC, to check whether defining a dummy
9872 main-like routine is needed for linking with F77 libs.
9874 2001-07-05 Pavel Roskin <proski@gnu.org>
9876 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
9878 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
9881 2001-07-05 Akim Demaille <akim@epita.fr>
9883 * Makefile.am (move_if_change): New. Use it instead of `mv'.
9884 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
9886 Reported by Nicolas Joly.
9888 2001-07-04 Akim Demaille <akim@epita.fr>
9890 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
9892 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
9893 warnings from compilers.
9894 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
9895 for all the compilers, not only GNU. Hence move from here...
9896 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
9898 2001-07-04 Akim Demaille <akim@epita.fr>
9900 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
9901 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
9904 2001-07-04 Akim Demaille <akim@epita.fr>
9906 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
9907 the ``strings.h'' change claimed below.
9909 2001-07-04 Akim Demaille <akim@epita.fr>
9911 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
9913 2001-07-04 Akim Demaille <akim@epita.fr>
9915 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9916 strings.h if usable with string.h.
9917 Suggested by Paul Eggert.
9919 2001-07-04 Akim Demaille <akim@epita.fr>
9921 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
9924 2001-07-03 Akim Demaille <akim@epita.fr>
9926 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
9929 2001-07-03 Akim Demaille <akim@epita.fr>
9931 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
9932 compiler, not the preprocessor.
9933 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
9934 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
9936 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
9937 earlier if there are.
9939 2001-07-03 Akim Demaille <akim@epita.fr>
9941 * autoscan.in ($initfile): Remove.
9942 (&find_file): Rename as...
9944 Immediately scan the current file, instead of gathering them, and
9945 later having them handled by &scan_files.
9946 (&scan_files): Merely invoke Find::File.
9949 2001-07-02 Akim Demaille <akim@epita.fr>
9951 * autoscan.in: Formatting changes, matching the invocation order.
9952 (File::Find): Use it instead of Perl 4's `find.pl'.
9953 (&wanted): Rename as...
9956 2001-07-01 Pavel Roskin <proski@gnu.org>
9958 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
9959 break in the argument to AC_TRY_LINK_FUNC.
9960 (AC_F77_MAIN): Remove conftest* after using break in the
9961 argument to AC_TRY_LINK.
9963 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
9965 Add alternate 'main' routine detection for linking C/C++ with Fortran,
9966 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
9968 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
9969 dummy alternate main is required even if the user provides her own
9971 (AC_F77_MAIN): New macro to detect whether it is possible to
9972 provide an alternate 'main' function name, using the 'main' from
9973 the Fortran libraries.
9974 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
9975 cross-language link tests can be performed successfully.
9976 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
9977 after $LIBS, for consistency; this should be the general rule since
9978 the user may want to link to Fortran libraries that require $FLIBS.
9979 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
9981 2001-06-29 Pavel Roskin <proski@gnu.org>
9983 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
9984 at-stdout and at-stderr instead of removing the newline
9985 from the echo output, which is not guaranteed to work.
9987 2001-06-28 Jens Petersen <petersen@redhat.com>
9989 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
9990 confdefs.h when non-zero.
9992 2001-06-28 Akim Demaille <akim@epita.fr>
9994 * configure.in: Bump to 2.50c.
9996 2001-06-26 Akim Demaille <akim@epita.fr>
10000 2001-06-26 Akim Demaille <akim@epita.fr>
10004 2001-06-25 Pavel Roskin <proski@gnu.org>
10006 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
10007 argument, AUTOCONF-FLAGS.
10008 * tests/mktests.sh (update_exclude_list): Add
10009 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
10010 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
10011 AC_FUNC_WAIT3 with "-W no-obsolete".
10013 2001-06-25 Akim Demaille <akim@epita.fr>
10015 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
10017 2001-06-25 Akim Demaille <akim@epita.fr>
10019 * autoscan.in (%macro): Now maps from word to list of macros.
10020 (&init_tables): Die when a word which is already handled by
10021 explicit macros is mapped to the default macro.
10022 (&print_unique): Remove, inlined in...
10023 (&output_kind): here.
10024 (File::Basename): Use it.
10025 (&output): Sort the CONFIG_FILES.
10026 * acheaders: Normalize.
10027 * acfunctions: Likewise.
10029 2001-06-25 Akim Demaille <akim@epita.fr>
10031 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
10032 characteristics in the logs.
10033 Suggested by Mo DeJong.
10035 2001-06-24 Akim Demaille <akim@epita.fr>
10037 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
10038 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
10039 * doc/autoconf.texi (Autoconf 2.13): New section.
10041 2001-06-24 Akim Demaille <akim@epita.fr>
10043 * autoconf.in (Task traces): Separate the error messages from the
10044 traces to improve robustness.
10046 2001-06-23 Akim Demaille <akim@epita.fr>
10048 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
10049 three as failures are unlikely, and speed matters.
10051 2001-06-23 Akim Demaille <akim@epita.fr>
10053 * doc/autoconf.texi (Redefined M4 Macros): New.
10055 2001-06-23 Akim Demaille <akim@epita.fr>
10057 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
10058 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
10061 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
10063 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
10064 config.status targets to after the evaluation of the INIT-CMDS.
10065 Double quote config.status targets (used to be single quoted).
10067 2001-06-23 Akim Demaille <akim@epita.fr>
10069 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
10070 Check the content of the created file.
10071 Check the ./config.status command line invocation.
10073 2001-06-23 Akim Demaille <akim@epita.fr>
10075 * tests/foreign.at (Libtool): Reject prehistoric versions.
10077 2001-06-23 Akim Demaille <akim@epita.fr>
10079 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
10080 preexisting files matching a.*.
10082 2001-06-23 Akim Demaille <akim@epita.fr>
10084 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
10086 * doc/autoconf.texi (AC_ARG_VAR): Update.
10088 2001-06-21 Akim Demaille <akim@epita.fr>
10090 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
10091 precious variables have changed.
10092 * tests/torture.at (AC_ARG_VAR): Adjust.
10094 2001-06-21 Akim Demaille <akim@epita.fr>
10096 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
10097 but some sed choke on multiple `;', and other tools (e.g.,
10098 Automake), include the separator themselves.
10100 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
10102 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
10104 * doc/autoconf.texi (Functions Portability): Rename as...
10105 (Function Portability): this.
10106 (Function Portability): Document potential problems with unlink().
10108 2001-06-19 Paul Eggert <eggert@twinsun.com>
10110 * NEWS, doc/autoconf.texi: Document quadrigraphs.
10112 2001-06-18 Akim Demaille <akim@epita.fr>
10114 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
10116 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
10118 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
10119 (_AC_FUNC_VFORK): this.
10120 Remove AC_DEFINEs and don't guess cross-compilation values.
10121 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
10122 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
10123 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
10124 vfork doesn't work.
10125 Guess values if cross-compiling, but warn.
10126 * acfunctions: Add AC_FUNC_FORK.
10127 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
10128 and vfork appropriately.
10130 2001-06-18 Akim Demaille <akim@epita.fr>
10132 * doc/autoconf.texi (Functions Portability): New section.
10134 2001-06-18 Akim Demaille <akim@epita.fr>
10136 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
10138 Suggested by Andreas Schwab.
10140 2001-06-18 Akim Demaille <akim@epita.fr>
10142 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
10143 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
10144 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
10145 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
10146 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
10147 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
10148 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
10151 2001-06-18 Akim Demaille <akim@epita.fr>
10153 * doc/autoconf.texi (ms): New index.
10154 (Macro Index): Rename as...
10155 (Autoconf Macro Index): this.
10156 (M4 Macro Index): New appendix.
10157 (Programming in M4): New chapter.
10158 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
10159 (Quoting): Rename as...
10160 (M$ Quotation): this.
10161 Be part of `Programming in M4).
10163 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
10165 * tests/torture.at (AC_ARG_VAR): Set variables and export them
10166 in separate statements for compatibility with Tru64 v5.1.
10168 2001-06-17 Akim Demaille <akim@epita.fr>
10170 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
10171 current values of the precious variables, not the previously
10173 Pass precious variables which are set to config.status.
10174 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
10175 * tests/torture.at (AC_ARG_VAR): New.
10177 2001-06-15 Paul Eggert <eggert@twinsun.com>
10179 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
10180 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
10181 and explain why and how to replace them.
10182 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
10183 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
10185 2001-06-15 Akim Demaille <akim@epita.fr>
10187 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
10188 Reported by Bruno Haible.
10190 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
10191 (_AC_ARG_VAR_PRECIOUS): to here.
10193 2001-06-15 Pavel Roskin <proski@gnu.org>
10195 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
10196 an unused pointer use cast to this type and `if' statement to
10197 avoid warnings from the compiler.
10198 (AC_HEADER_TIME): Likewise.
10199 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
10200 in `if' statement to avoid warnings from the compiler. Declare
10201 ac_aggr static to avoid the need to initialize it.
10203 2001-06-14 Akim Demaille <akim@epita.fr>
10205 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
10208 2001-06-13 Akim Demaille <akim@epita.fr>
10210 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
10211 Suggested by Alexander Mai.
10213 2001-06-13 Akim Demaille <akim@epita.fr>
10215 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
10216 sys/types.h and sys/stat.h, and check for them.
10218 2001-06-13 Akim Demaille <akim@epita.fr>
10220 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
10223 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
10225 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
10226 succeeds and only try adding libdnet upon a failure.
10228 2001-06-12 Akim Demaille <akim@epita.fr>
10230 * autoscan.in (&output_kind): Output the comment only if it exists.
10231 (%kind_comment): Add entry for `programs'.
10232 (&output_programs): Use &output_kind.
10233 (&output_functions, &output_identifiers, &output_headers)
10234 (&output_programs): Inline, and remove.
10236 2001-06-12 Akim Demaille <akim@epita.fr>
10238 * autoscan.in (%kind_comment): New.
10239 (output_kind): New.
10240 (output_functions, output_identifiers, output_headers): Use it.
10242 2001-06-12 Akim Demaille <akim@epita.fr>
10244 * autoscan.in (&print_unique): Take `$kind' and `$word' as
10245 arguments, to factor indirections into `%macro' and `%used'.
10246 (%generic_macro): Fix a typo.
10248 2001-06-12 Akim Demaille <akim@epita.fr>
10250 * aclibraries: New.
10251 * autoscan.in (@kinds): Add `libraries'.
10252 Use `@kinds' instead of hard coded lists.
10253 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
10254 Remove, replaced by...
10257 2001-06-12 Akim Demaille <akim@epita.fr>
10259 * autoscan.in (%functions_macros %headers_macros)
10260 (%identifiers_macros %programs_macros %makevars_macros): Remove,
10264 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
10266 * aclang.m4 (AC_NO_EXECUTABLES): Override
10267 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
10269 2001-06-11 Akim Demaille <akim@epita.fr>
10271 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
10273 Reported by Andreas Schwab.
10275 2001-06-11 Akim Demaille <akim@epita.fr>
10277 * Makefile.am, Makefile.maint: Typos.
10279 2001-06-09 Akim Demaille <akim@epita.fr>
10281 * doc/autoconf.texi (Here-Documents): New section, gathering
10282 documentation about here-documents.
10283 Use `href', not `uref', and other changes.
10285 2001-06-09 Akim Demaille <akim@epita.fr>
10287 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
10290 2001-06-09 Akim Demaille <akim@epita.fr>
10292 * doc/autoconf.texi (Limitations of Builtins): Complete the
10293 description of the here-docs penalties with Alexandre Oliva's
10296 2001-06-01 Paul Eggert <eggert@twinsun.com>
10298 * doc/autoconf.texi: Talk about here documents and speedups.
10299 Do not use "echo" on arbitrary strings.
10300 Spell "here-documents" consistently with the standard.
10302 2001-06-09 Akim Demaille <akim@epita.fr>
10304 * doc/autoconf.texi (Concept Index): Introduce it.
10305 Regenerate the menus.
10307 2001-06-09 Akim Demaille <akim@epita.fr>
10309 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
10310 * config/prev-version.txt: New.
10311 * config/move-if-change: New, for GNU libc.
10313 2001-06-06 Pavel Roskin <proski@gnu.org>
10315 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
10317 2001-06-06 Akim Demaille <akim@epita.fr>
10319 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
10320 properly when $1 is not a literal.
10321 Fixes PR Autoconf/187, reported by Bram Moolenaar.
10323 2001-06-06 Akim Demaille <akim@epita.fr>
10325 Invoking AC_COPYRIGHT before AC_INIT fails.
10327 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
10328 * acgeneral.m4 (_m4_divert(VERSION_FSF))
10329 (_m4_divert(VERSION_USER)): New.
10330 (AC_COPYRIGHT): $2 is the diversion to use.
10331 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
10332 (AC_INIT): Remove dead comments as now it's commutative.
10334 2001-06-06 Akim Demaille <akim@epita.fr>
10336 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
10339 2001-06-05 Akim Demaille <akim@epita.fr>
10341 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
10343 `*dir' variables cannot be NONE.
10344 Reported by Mark Kettenis.
10346 2001-06-05 Paul Eggert <eggert@twinsun.com>
10348 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
10350 2001-06-04 Akim Demaille <akim@epita.fr>
10352 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
10353 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
10354 (AC_TR_SH): Move as...
10355 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
10356 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
10358 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
10359 (_AS_TR_SH_PREPARE): New.
10360 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
10361 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
10363 2001-06-02 Akim Demaille <akim@epita.fr>
10365 * Makefile.am (.m4.m4f): Pass the options first.
10366 Fixes PR autoconf/182.
10368 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
10370 GNU getopt, when POSIXLY_CORRECT does not permute options and
10371 arguments. So pass the options first.
10372 Fixes PR autoconf/184.
10374 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
10375 (run_m4): Remove files.
10377 Update remainder of script to use them.
10378 (for warning in): Do not use a literal comma as it will not be
10381 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
10383 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
10384 Fortran compilers to check.
10385 (_AC_PROG_F77_V): Add '-###' as a possible option to print
10386 information on library and object files.
10387 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
10390 2001-06-02 Akim Demaille <akim@epita.fr>
10392 * autom4te.in (Request::@request): Declare with `vars', not `my',
10393 as it prevents updates via `do FILENAME'.
10395 2001-06-02 Akim Demaille <akim@epita.fr>
10397 * configure.in (standards_texi): Remove, dead code.
10399 2001-06-02 Akim Demaille <akim@epita.fr>
10401 * autom4te.in: New.
10403 2001-06-02 Pavel Roskin <proski@gnu.org>
10405 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
10406 for signals other than 0 - exit with code 1.
10407 * m4sh.m4 (AS_TMPDIR): Likewise.
10408 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
10409 * autoheader.in: Likewise.
10410 * autoreconf.in: Likewise.
10411 * tests/torture.at (Signal handling): New test for the above.
10413 2001-06-01 Akim Demaille <akim@epita.fr>
10415 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
10418 2001-05-31 Akim Demaille <akim@epita.fr>
10420 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
10421 Add copyright and comments.
10422 * acheaders: Add stdint.h.
10423 Suggested by Paul Eggert.
10425 2001-05-31 Akim Demaille <akim@epita.fr>
10427 * atgeneral.m4 (AT_INIT): Use $SHELL.
10428 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
10430 2001-05-31 Akim Demaille <akim@epita.fr>
10432 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
10434 From Paul Eggert and Lars Hecking.
10436 2001-05-31 Akim Demaille <akim@epita.fr>
10438 * tests/base.at: Adjust line numbers in error messages.
10440 2001-05-31 Akim Demaille <akim@epita.fr>
10442 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
10443 to emit the bangshe line.
10444 Reported by David Carter.
10446 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
10448 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
10449 Fortran (95) compilers to check.
10451 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
10453 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
10456 2001-05-23 Pavel Roskin <proski@gnu.org>
10458 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
10459 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
10460 (AC_PROG_CXXCPP): Likewise.
10462 2001-05-22 Akim Demaille <akim@epita.fr>
10464 * config: New directory.
10465 * configure.in: AC_CONFIG_AUX_DIR it.
10466 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
10468 2001-05-22 Akim Demaille <akim@epita.fr>
10470 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
10471 * autoupdate.in: Specify the Emacs mode.
10472 * acversion.m4.in: Rename as...
10473 * acversion.m4: this.
10474 * tests/Makefile.am (CLEANFILES): More garbage.
10476 2001-05-22 Akim Demaille <akim@epita.fr>
10478 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
10480 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
10483 2001-05-21 Akim Demaille <akim@epita.fr>
10485 * configure.in: Bump to 2.50a.
10489 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10491 This file is part of GNU Autoconf.
10493 GNU Autoconf is free software; you can redistribute it and/or modify
10494 it under the terms of the GNU General Public License as published by
10495 the Free Software Foundation; either version 2, or (at your option)
10498 GNU Autoconf is distributed in the hope that it will be useful,
10499 but WITHOUT ANY WARRANTY; without even the implied warranty of
10500 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10501 GNU General Public License for more details.
10503 You should have received a copy of the GNU General Public License
10504 along with autoconf; see the file COPYING. If not, write to
10505 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
10506 Boston, MA 02110-1301, USA.