1 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
3 * README: Recommend GNU M4 1.4.3 or later.
4 * doc/autoconf.texi (Introduction): Likewise.
5 Reword to avoid some formatting glitches.
6 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
7 Clarify explanation of HP compiler bug.
8 Redo example output tp match current CVS snapshot.
9 Use @example.org in email addresses when the examples
10 might get inadvertently cut-and-pasted into user code.
11 Remove example of autom4te usage that doesn't seem to work now.
12 Use modern AC_INIT (except when the example is meant to be
13 shown with Autoconf 2.13).
14 Update ksh info for Solaris 9 and later.
16 Modernize description of Automake versions a bit.
17 Don't claim a future version of Autoconf is near.
18 * doc/install.texi: Reword to avoid some formatting glitches.
20 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
22 * doc/autoconf.texi: Add [] to examples, so that the manual
23 follows its own advice about quoting better.
24 Reword to avoid some formatting glitches.
25 * doc/installt.exi: Reword to avoid some formatting glitches.
27 2005-06-06 Stepan Kasal <kasal@ucw.cz>
29 m4_cdr of one-member list was [[]] (one-member list containing an
30 empty string) instead of [] (an empty list. Callers were skewed to
31 match this misbehaviour. As a consequence of this:
32 - m4_foreach([x], [], [foo]) expanded to `foo', while
33 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
36 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
37 expand to an empty string; print error msg if called without
39 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
40 misbehaviour; handle [] and [[]] correctly.
42 2005-06-06 Stepan Kasal <kasal@ucw.cz>
44 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
45 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
46 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
48 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
50 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
51 swallow records with more than 99 fields.
52 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
55 2005-06-04 Stepan Kasal <kasal@ucw.cz>
57 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
58 swallow literals longer than 399. Reported by Ralf Wildenhues.
59 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
60 to workaround this limitation.
62 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
64 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
65 to gfortran, and make these the first two compiler names
66 checked (following the general autoconf preference for gcc).
68 2005-06-03 Stepan Kasal <kasal@ucw.cz>
70 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
71 (DISTCLEANFILES): Remove $(check_SCRIPTS).
72 (testsuite): Make sure autotest.m4f is up-to-date before using it.
74 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
76 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
77 expression of unbounded size when processing the --list
78 option. This runs afoul of a limit of 399 bytes per regular
79 expression on AIX. Problem reported by Ralf Wildenhues.
81 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
83 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
84 * doc/autoconf.texi (Particular Headers): Reword example
85 for multiline stdbool replacement.
86 (Setting Output Variables): Reword text a bit. Don't
87 give all the details about |#_!!_#|.
88 Reword description of line replacement.
90 2005-05-31 Dan Manthey <dan_manthey@partech.com>
92 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
93 now contain newlines, and substituted files must be referenced on
94 a line alone; the sed scripts to substitute them are now very
96 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
97 commands can be put in a sed script portably.
98 * doc/autoconf.texi (Setting Output Variables): Document above
99 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
100 use of multiline substitution.
101 * tests/torture.at: No longer expect substitution of newline to fail.
103 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
105 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
106 From Ralf Menzel (trivial change).
108 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
110 * tests/local.at: Don't attempt to check for negated character
111 classes in shell scripts. The test was too brittle.
113 2005-05-25 Stepan Kasal <kasal@ucw.cz>
115 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
116 * doc/autoconf.texi (Limitations of Builtins): Document this
119 2005-05-24 Stepan Kasal <kasal@ucw.cz>
121 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
122 common code; used in many places in the tree.
123 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
124 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
126 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
128 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
129 messages when ac_unique_file is not found.
130 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
131 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
132 commands, for consistency with AC_MSG_ERROR and such.
134 * bin/autoconf.as: Make more use of "shift 2" in option processing.
136 * bin/Makefile.am: Merge the two rules for creating scripts.
138 2005-05-23 Stepan Kasal <kasal@ucw.cz>
140 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
141 obsolete; it was never documented.
142 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
144 2005-05-20 Stepan Kasal <kasal@ucw.cz>
146 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
147 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
148 (ac_top_builddir): ... this ...
149 (ac_top_build_prefix): ... to this; the old name is also kept, for
150 backward compatibility.
151 (ac_top_builddir_sub): New variable, without the trailing slash,
153 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
154 * doc/autoconf.texi (Configuration Actions): Rename
155 ac_top_builddir to ac_top_build_prefix.
156 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
157 at_top_builddir to at_top_build_prefix.
158 * lib/autotest/general.m4 (AT_INIT): Likewise.
160 2005-05-20 Stepan Kasal <kasal@ucw.cz>
162 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
165 2005-05-17 Stepan Kasal <kasal@ucw.cz>
167 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
168 argument to m4_foreach. I guess it was necessary in the past,
169 but I think it's a no-op now.
171 2005-05-17 Stepan Kasal <kasal@ucw.cz>
173 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
174 ``cat <<_ACEOF'' commands to one.
175 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
176 * lib/autoconf/status.m4: On various places, use expr instead of
178 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
179 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
180 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
182 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
183 the wrong patterns between ``case'' and ``esac.'' The previous
184 code had false positives.
186 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
188 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
190 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
193 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
195 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
196 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
197 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
198 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
199 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
200 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
201 config/config.guess, config/config.sub, config/elisp-comp,
202 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
203 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
204 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
205 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
206 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
207 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
208 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
209 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
210 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
211 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
212 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
213 lib/autoconf/general.m4, lib/autoconf/headers.m4,
214 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
215 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
216 lib/autoconf/specific.m4, lib/autoconf/status.m4,
217 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
218 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
219 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
220 lib/autotest/general.m4, lib/emacs/Makefile.am,
221 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
222 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
223 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
224 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
225 tests/compile.at, tests/foreign.at, tests/fortran.at,
226 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
227 tests/semantics.at, tests/suite.at, tests/tools.at,
228 tests/torture.at, tests/wrapper.as:
229 Update FSF postal mail address.
231 2005-05-13 Stepan Kasal <kasal@ucw.cz>
233 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
235 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
236 enough arguments, similarly as in m4_bpatsubsts.
238 2005-05-12 Stepan Kasal <address@hidden>
240 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
243 2005-05-11 Stepan Kasal <kasal@ucw.cz>
245 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
246 for absolute directory names in one loop.
247 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
248 abbreviations of --version and --debug.
250 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
252 * doc/autoconf.texi (Autoconf Language): Be more precise about
253 quoting rules. Problems noted by Stepan Kasal.
254 Also, throughout this document, be more careful about white space.
255 "blank", "white space", and "space" all have different meanings
256 and we should be careful to say what we mean.
258 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
260 Fix C++ related problems reported by Werner Lemberg.
261 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
262 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
263 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
264 avoid problems with C++ and throw.
265 * tests/compile.at: .cpp, not .cc.
267 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
269 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271 * doc/autoconf.texi (Generic Functions): Typos.
273 2005-05-02 Gary V. Vaughan <gary@gnu.org>
275 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
276 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
277 set by latest automake.
279 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
281 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
282 outputs 0 on GNU/Linux these days.
284 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
286 * doc/autoconf.texi (Autoconf Language): Add more description
287 about quoting heuristics.
288 (Limitations of Builtins): Describe "set -" problems.
290 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
292 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
295 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
296 by AC_DEFINE; it was a mistake.
297 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
299 2005-04-25 Stepan Kasal <kasal@ucw.cz>
301 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
303 2005-04-22 Stepan Kasal <kasal@ucw.cz>
305 * doc/autoconf.texi (External Software): Quadrigraphs are not
306 processed correctly in AS_HELP_STRING; avoid this in the examples.
307 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
308 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
309 comment and reduce m4_default([foo], []) to [foo].
310 (m4_strip): Update the explanation.
312 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
314 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
315 Remove core.conftest.* too; it's generated by Tru64 5.1.
316 Problem reported by Jennis Pruett.
317 * lib/autoconf/functions.m4
318 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
319 Don't bother to remove core files; AC_RUN_IFELSE should do that
322 2005-04-19 Stepan Kasal <kasal@ucw.cz>
324 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
326 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
328 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
329 Report from Horst Wente.
331 2005-04-15 Stepan Kasal <kasal@ucw.cz>
333 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
336 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
338 * doc/autoconf.texi (External Software, Package Options): Add
339 examples showing how to implement --with-* and --enable-* options.
341 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
343 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
344 as well as configure.in. Problem reported by Gregorio Guidi.
346 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
348 * doc/autoconf.texi (Particular Functions): Use gnulib's current
349 pattern for alloca snippet.
351 2005-04-04 Stepan Kasal <kasal@ucw.cz>
353 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
355 2005-04-01 Stepan Kasal <kasal@ucw.cz>
357 * doc/autoconf.texi (Generic Programs): Fix a typo.
359 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
361 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
362 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
364 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
367 Merge `-z option' as well for the benefit of Solaris link flags. Pass
368 whole-archive (-zallextract, -zdefaultextract) options in the hope of
369 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
370 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
372 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
374 * NEWS: The configure command now warns you if you attempt to use
375 a directory whose name contains a special character like space,
377 * doc/autoconf.texi (Installation Directory Variables): Allow
378 "," in file names. Do not use \@; it's not a portable regexp.
379 * bin/Makefile.am (edit): Likewise.
380 * lib/Makefile.am (edit): Likewise.
381 * tests/Makefile.am (edit): Likewise.
382 * tests/semantics.at: Likewise.
383 * tests/torture.at: Likewise.
384 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
385 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
386 * doc/autoconf.texi (File System Conventions): Warn about
387 unportable file names.
388 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
390 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
391 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
392 ac_pwd, and quote srcdir.
393 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
395 * doc/autoconf.texi: Fix some systematic formatting problems.
396 ".)" needs a following @: if not at the end of a sentence, and
397 similarly for "!)". "etc." should be preceded by a comma.
398 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
400 2005-03-22 Bruno Haible <bruno@clisp.org>
402 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
403 argument is often called 'build-aux'.
405 2005-03-07 Stepan Kasal <kasal@ucw.cz>
407 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
408 macro AC_TRY_LINK is obsolete.
409 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
412 2005-02-24 Stepan Kasal <kasal@ucw.cz>
414 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
415 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
416 from a Common Lisp's `cl'.
417 (AC_PROG_CXX): Behave according to the documentation: don't
418 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
419 make the variable CCC precious; use `cl.exe', not `cl'.
421 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
422 Alexandre Duret-Lutz <adl@gnu.org>
424 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
425 /dev/null, as "configure" shouldn't read stdin, and this insulates
426 us from problems (e.g., when testing for "cl"). Also, do this
427 redirection before invoking "hostname" or "uname", and keep the
428 original input stream available via...
429 (AS_ORIGINAL_STDIN_FD): ... this new macro.
430 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
431 bother with "</dev/null" since it's now done at the top of
433 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
434 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
435 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
436 * doc/autoconf.texi (File Descriptor Macros): New section.
437 (Printing Messages): Mention it.
438 * tests/base.at (Input/Output): New test.
440 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
442 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
443 newline if neither \c nor -n work, as that would output two
444 newlines. Prefer -n to \c. Reported by Stepan Kasal.
446 2005-02-12 Stepan Kasal <kasal@ucw.cz>
448 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
449 This causes that any required macros inside will get before the if.
450 * doc/autoconf.texi (autom4te.cache): A typo.
452 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
454 Undo previous change, except keep the change to
455 lib/autoconf/programs.m4 that replaced grep with shell
456 pattern-matching. This is because net-snmp configure reads stdin.
457 Reported by Noah Misch.
459 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
461 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
462 from /dev/null, as "configure" shouldn't read stdin, and this
463 insulates us from problems (e.g., when testing for "cl").
464 Suggested by Alexandre Duret-Lutz. Also, do this redirection
465 before invoking "hostname" or "uname".
466 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
467 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
468 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
469 "</dev/null" since it's now done at the top of 'configure'.
470 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
471 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
472 Also, replace grep with shell pattern-matching, to save a process.
474 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
476 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
477 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
478 avoid thinking that Allegro Common Lisp's "cl" command is a C++
481 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
483 * doc/autoconf.texi (Limitations of Usual Tools): Document that
484 grep -q isn't portable. Improve grep -s explanation.
485 Problem reported by Dan Manthey.
487 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
489 * doc/autoconf.texi (Special Shell Variables): Clarify
490 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
492 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
494 * doc/autoconf.texi: Use @acronym for DJGPP.
495 Fix some @code's that should have been @env's, and vice versa.
496 Sort environment variable names.
497 Mention that shells no longer inherit IFS.
498 Don't recommend PATH_SEPARATOR=';' so strongly.
499 Mention that $RANDOM might expand to the empty string.
500 "symlink" and "soft link" -> "symbolic link".
501 Improve mktemp description (reported by Bruno Haible).
503 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
505 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
506 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
508 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
511 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
513 * NEWS: Mention AT_COPYRIGHT.
515 * tests/local.at (AT_CMP): Use diff directly on input files rather
518 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
519 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
521 2005-02-04 Noah Misch <noah@cs.caltech.edu>
522 and Paul Eggert <eggert@cs.ucla.edu>
524 * tests/autotest.at (Empty test suite): New test.
525 * tests/torture.at (Substitute and define special characters)
526 (Substitute a 2000-byte string, Define to a 2000-byte string)
527 (Substitute a newline, Define a newline): New tests.
529 2005-02-04 Noah Misch <noah@cs.caltech.edu>
531 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
532 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
533 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
534 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
535 (Standard regular expressions): New test.
536 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
537 excess test name quoting.
538 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
539 CPPFLAGS to `configure' instead of setting it in `configure'.
541 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
542 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
545 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
546 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
548 * tests/local.at (AT_CMP): New macro.
549 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
550 (AC_SAVE_STATE): Move environment grep...
551 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
552 (AT_CONFIG_CMP): New macro.
553 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
554 * tests/c.at (Extensions): Do not exit early.
555 * tests/atlocal.in: Inherit $GREP.
557 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
558 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
560 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
561 (AC_COPYRIGHT): Factor header comment portion out and move into...
562 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
563 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
564 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
566 * tests/local.at: Add Autoconf test suite copyright notice.
567 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
569 2005-02-04 Bruno Haible <bruno@clisp.org>
570 and Paul Eggert <eggert@cs.ucla.edu>
572 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
574 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
576 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
577 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
579 Try not to generated lines of unlimited length, as POSIX places a
580 2047-byte limit on line length of portable text files.
581 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
582 Use newline as a separator, not space.
583 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
584 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
587 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
589 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
590 as_func_*. Add test to check whether positional parameters
591 are restored after function return.
593 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
595 * doc/autoconf.texi (Special Shell Variables): Mention _,
596 BIN_SH, DUALCASE. Say that variables other than "status" are safe
597 if they contain a lower-case letter. The DUALCASE problem was
598 reported by Ralf Wildenhues.
600 * bin/autoconf.as: Don't exit with status 0 after write failure
601 with --help or --version.
602 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
603 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
605 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
607 * doc/autoconf.texi (Limitations of Usual Tools):
608 Unicos 9 sed limitations.
609 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
610 to get the option-enhanced interface on older Crays. Try ftn for
611 Fortran 95 (newer Crays).
613 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
615 * man/Makefile.am (.x.1): Go back to the simple solution, but take
616 care to echo the commands, so the user knows what's going on.
617 Modified from a suggestion by Stepan Kasal.
619 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
620 with a cross reference. Derived from a suggestion by Bruce Korb.
622 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
624 * doc/autoconf.texi (config.status Invocation): Warn about
625 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
626 * doc/install.texi (Defining Variables): Likewise.
627 Based on a proposed patch by Ralf Wildenhues.
629 * man/Makefile.am (.x.1): Make sure the required generated files
630 are up to date. Problem and original solution proposed by Stepan Kasal.
631 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
632 implicit-man-prerequisites): New rules, used by the above.
634 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
635 * config/config.guess, config/config.sub, config/install-sh: Likewise.
636 * config/missing, config/texinfo.tex: Likewise.
638 2005-01-29 Stepan Kasal <kasal@ucw.cz>
640 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
641 Update the long comment explaining it.
643 m4_require no longer writes an ``is required by'' line to the
644 execution stack. It contains only one bit of non-redundant
645 information: that the macro was required, not called. And even
646 this bit is useless in most situations: have you ever met a macro
647 which both calls and requires the same macro?
649 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
650 (_m4_defun_pro_outer): ... only via this macro, for the outermost
652 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
653 (m4_expansion_stack_pop): Remove the misplaced comment.
654 (m4_require): Don't put the ``is required by'' line to the
655 execution stack; slightly improve the out-of-a-defun error message.
656 (_m4_divert_grow): New macro, counter for the temporary diversions.
657 (_m4_require_call): Use it.
658 * tests/m4sugar.at (m4_require): Expect output without the
659 ``is required by'' messages.
661 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
663 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
664 rather than x for expr.
666 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
668 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
669 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
670 * lib/autotest/general.m4 (AT_INIT): Likewise.
671 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
672 * tests/mktests.sh: Likewise.
674 2005-01-27 Akim Demaille <akim@epita.fr>
676 Have autoheader honor --force.
678 * doc/make-stds.texi, doc/standards.texi: Update from masters.
679 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
680 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
681 from masters, so that FileUtils.pm's update_file provide --force
683 * bin/autoheader.in: Pass $force to update_file so that
684 config.h.in is always recreated when --force.
686 2005-01-24 Stepan Kasal <kasal@ucw.cz>
688 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
690 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
692 * doc/autoconf.texi (Limitations of Builtins): Clarify that
693 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
695 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
697 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
698 Warn about newline stripping in `` and $(). Update Solaris
700 (Limitations of Builtins): Use expr "X...", not expr "x...", as
701 X insulates us from future changes to Posix.
702 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
705 2005-01-19 Stepan Kasal <kasal@ucw.cz>
707 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
708 you cannot use AC_DEFINE to define macros containing `[' or `]'.
710 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
712 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
713 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
714 bug-tar mailing list.
716 2005-01-05 Stepan Kasal <kasal@ucw.cz>
718 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
720 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
722 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
723 ulongval to be static, to avoid unwanted GCC warning. Problem
724 reported by Michael Jennings via Daniel Reed; see
725 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
727 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
729 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
730 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
731 datadir, infodir, and mandir. Adjust argument parsing code.
732 (_AC_INIT_HELP): Update help text.
733 * doc/autoconf.texi (Installation Directory Variables): Document
736 2005-01-04 Noah Misch <noah@cs.caltech.edu>
738 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
739 not seem to work, assume it does set $(MAKE).
740 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
742 2005-01-03 Stepan Kasal <kasal@ucw.cz>
744 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
746 2005-01-03 Stepan Kasal <kasal@ucw.cz>
748 A cleanup of the diversion support in m4sugar.
750 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
751 (_m4_divert_n_stack): New macro; the expansion is
752 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
754 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
755 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
756 stored in _m4_divert_diversion or _m4_divert_dump.
757 (m4_divert_pop): When the parameter is given, compare the symbolic
758 name with the last diversion pushed on the stack. Previously, the
759 current diversion was compared with the numeric value of the
760 diversion given as the parameter.
761 (m4_require): If the macro hasn't been expanded yet, call ...
762 (_m4_require_call): this new macro.
764 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
766 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
767 Workarounds for documented `case' limitations.
769 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
771 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
772 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
774 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
776 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
777 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
778 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
780 Patch from Roger Leigh (with some minor changes) as follows:
781 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
782 Resurrect AC_PROG_CC_STDC.
783 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
784 AC_PROG_CC_C89, AC_PROG_CC_C99.
785 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
786 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
787 AC_PROG_CC_C99): New macros.
788 (AC_PROG_CC_STDC): Use them.
789 (_AC_PROG_CC_STDC): Remove.
790 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
791 * THANKS: Add Roger Leigh.
793 2004-12-30 Noah Misch <noah@cs.caltech.edu>
795 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
796 signals that the package uses Automake; a `Makefile.am' is typical but
797 not essential. Reported by Magnus Therning.
798 * tests/torture.at (autoreconf.): New banner.
799 (autoreconf and non-AC configure): Rename to `Non-Autoconf
801 (autoreconf an empty directory): Rename to `Empty directory'.
802 (Unusual Automake input files): New test.
804 2004-12-30 Noah Misch <noah@cs.caltech.edu>
806 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
807 (AT_SETUP): Clear AT_capture_files.
808 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
809 (AT_KEYWORDS): Fix comment typo.
810 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
811 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
812 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
814 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
816 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
817 If the variable to set is already set, set ac_cv_path_$1
818 to the preset value so caller can assume ac_cv_path_$1
819 is available. (trivial change)
821 2004-12-27 Noah Misch <noah@cs.caltech.edu>
823 * BUGS (Minor Problems): Warn about makefile limitations.
824 * Makefile.am: Find and update `INSTALL' in $(srcdir).
825 * man/Makefile.am: Find and update manual pages in $(srcdir).
827 2004-12-24 Eric Blake <ebb9@byu.net>
829 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
830 shells in subshell, to avoid noise from ash. (trivial change)
832 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
834 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
835 problems with SunOS ksh and backslash escaping, Bourne shells and
836 closing brackets (both within character classes). Bug reported
837 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
838 <read>: New entry. Mention non-availability of -r.
840 2004-12-21 Akim Demaille <akim@epita.fr>
842 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
843 avoid cluttering displayed messages. Rather, prepend srcdir where
844 AT_LINE is used for log files.
846 2004-12-21 Stepan Kasal <kasal@ucw.cz>
848 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
849 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
850 no longer part of the macro, quote the occurrence of ``$tmp''.
851 * doc/autoconf.texi (Forbidden Patterns): Typo.
853 2004-12-21 Akim Demaille <akim@epita.fr>
855 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
856 separated from the test title by forcing a white space.
858 2004-12-21 Akim Demaille <akim@epita.fr>
860 Enable Emacs navigation within testsuite.log files.
862 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
863 use the compilation mode.
864 (AT_LINE): Point to the srcdir.
866 2004-12-19 Noah Misch <noah@cs.caltech.edu>
868 * tests/Makefile.am (installcheck-local): Use $(bindir).
869 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
870 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
871 Makefile.am scheme Autoconf now uses.
873 2004-12-18 Noah Misch <noah@cs.caltech.edu>
875 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
876 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
878 2004-12-18 Noah Misch <noah@cs.caltech.edu>
880 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
882 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
883 (AS_ESCAPE): Fix comment.
884 * tests/autotest.at: Adjust section banner comments.
885 (AT_CHECK_AT): Accept STATUS and STDERR.
886 (AT_CHECK_AT_TEST): Likewise.
887 (Invalid brace-enclosed parameter expansion)
888 (Multiline command from M4 expansion)
889 (Double-M4-quoted command): New tests.
891 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
893 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
895 2004-12-17 Akim Demaille <akim@epita.fr>
897 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
899 Suggested by Alexandre Duret-Lutz.
900 * doc/autoconf.texi (Setting Output Variables): Catch up.
902 2004-12-17 Stepan Kasal <kasal@ucw.cz>
904 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
906 2004-12-17 Stepan Kasal <kasal@ucw.cz>
908 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
909 remove the comment which said we cannot.
911 2004-12-17 Stepan Kasal <kasal@ucw.cz>
913 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
914 Reini Urban and Paul Eggert for reporting the dependencies.
916 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
917 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
918 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
920 2004-12-17 Stepan Kasal <kasal@ucw.cz>
922 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
923 so that eg. ``autoscan --help'' doesn't truncate it.
925 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
927 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
928 generated conftest files.
930 2004-12-13 Noah Misch <noah@cs.caltech.edu>
932 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
933 tracing on commands with possibly-escaped newlines.
934 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
935 discontinued behavior and its implications.
936 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
937 (BSx641-newline in command, BS-BS-newline in command)
938 (BSx640-newline in command, Newline-CODE-BS-newline in command)
939 (Single-quote-BS-newline in command)
940 (Single-quote-newline-BS-newline in command): New tests.
942 2004-12-13 Stepan Kasal <kasal@ucw.cz>
944 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
945 on platforms where it works.
946 (_AS_TEST_PREPARE): Test for ``test -x''.
947 (_AS_BROKEN_TEST_PREPARE): Nuke.
949 2004-12-13 Stepan Kasal <kasal@ucw.cz>
951 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
952 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
953 give only 4-letter prefix to AS_TMPDIR, comment fixed.
954 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
955 create the temporary directory.
956 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
958 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
960 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
963 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
965 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
967 2004-12-11 Noah Misch <noah@cs.caltech.edu>
969 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
970 to avoid using a negated character class. Reported by Nicolas Joly.
971 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
973 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
975 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
976 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
977 Don't depend on .x file explicitly, since "make" does that for us.
978 Suggested by Stepan Kasal.
980 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
982 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
983 ifnames): Factor common code. And they said it couldn't be done!
985 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
987 * bin/.cvsignore: Add autoconf.in.
988 * tests/.cvsignore: Add wrapper.in.
989 * lib/autotest/general.m4: Escape '$' in case pattern.
991 2004-12-09 Noah Misch <noah@cs.caltech.edu>
993 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
995 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
997 * tests/autotest.at: New file.
998 * tests/suite.at: Include it.
999 * tests/Makefile.am: Distribute it.
1001 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1002 shell tracing on a command that could contain multiple lines.
1003 * doc/autoconf.text: Document that fact and its implications.
1004 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1005 * tests/autotest.at (Multiline backquote command substitution,
1006 Multiline parameter expansion, Literal multiline command,
1007 Multiline parenthetical command substitution): Remove XFAIL.
1009 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1011 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1012 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1014 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1016 * configure.ac (test suite): Cease to generate wrapper scripts.
1017 * configure: Regenerate.
1018 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1019 (m4f_dependencies): Adjust accordingly.
1020 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1021 (wrapper.in): Generate it in the build directory.
1022 (MAINTAINERCLEANFILES): Delete wrapper.in.
1023 (CLEANFILES): Add wrapper.in.
1024 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1025 the output. Replace each $as_me with a @wrap_program@.
1026 * tests/wrapper.in: Delete it; we always build it.
1028 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1029 (EXTRA_DIST): Remove autoconf.in.
1030 (CLEANFILES): Add autoconf.in.
1031 (autoconf): Find autoconf.in in the build directory.
1032 * bin/autoconf.in: Delete it; we always build it.
1034 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1036 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1037 PATH members so as to not prepend an empty element. Move a comment.
1038 * Makefile.am (SUBDIRS): Build in `tests' last.
1039 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1041 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1043 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1044 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1045 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1046 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1048 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1050 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1053 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1055 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1056 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1057 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1059 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1061 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1062 out the common code to ...
1063 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1064 value of the #define--default to 1, iff the macro was called
1065 with exactly one parameter.
1067 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1069 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1070 "char c = '\200';" rather than "char c = 0x80;" as the
1071 latter doesn't conform to the strict C standard due to
1072 overflow on signed char hosts.
1074 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1075 to -qlanglvl=ansi. We don't want to disable extensions.
1077 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1079 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1080 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1081 Reword slightly to avoid some English-language problems noted
1082 by Ralf Wildenhues in:
1083 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1085 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1087 * NEWS: Add ^L above each release.
1089 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1091 Fix documentation problems reported by Russ Boylan in
1092 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1093 along with some nearby cruft.
1094 * doc/autoconf.texi (Libtool): Libtool can be used without
1095 Automake (not without Autoconf).
1096 (Introduction): Mention lists.gnu.org.
1097 * BUGS: Don't mention bugs.gnu.org.
1098 Remove mention of ancient libtool compatibility problem.
1099 * NEWS: Mention that bugs.gnu.org is kaput.
1100 * README: Likewise. Mention where mailing list archives can be found.
1102 2004-11-28 Stepan Kasal <address@ucw.cz>
1104 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1105 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1107 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1109 * doc/autoconf.texi (Pretty Help Strings): Go back to
1110 single-quoting assignments to cache variables.
1112 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1114 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1115 with the examples; fix the bug in MY_ARG_WITH example reported
1116 by Alexandre Duret-Lutz.
1117 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1118 expansion of $1 in the comment emitted to configure.
1120 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1122 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1123 in my editing of the previous patch. Problem reported
1124 by Alexandre Duret-Lutz.
1126 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1128 * doc/autoconf.texi (Autoconf Language): Explain that
1129 ``descriptions'' may not be double quotes.
1130 (Quotation Rule Of Thumb): Likewise.
1131 (Pretty Help Strings): Likewise; remove the wrong comment;
1132 simplify the examples and improve their quoting.
1134 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1136 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1137 the $1_found variable, don't test whether the file is executable;
1138 Both things are checked ...
1139 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1140 the former ``test -f''.
1141 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1143 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1145 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1148 2004-11-10 Derek R. Price <derek@ximbiot.com>
1150 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1151 limitations. Reorder paragraphs for clarity.
1153 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1155 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1156 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1157 variants", "Unix", and some related minor wording fixups.
1159 (Shellology, Special Shell Variables): Document that the Zsh
1160 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1161 to Alexandre Duret-Lutz for this info.
1163 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1165 * doc/autoconf.texi (One-Shot Macros): New node.
1167 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1169 * doc/autoconf.texi (Function Portability): Fix misdescription
1170 of putenv. Problem reported by Michael Wardle.
1172 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1174 * doc/autoconf.texi (auindex): New macro.
1175 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1176 Problem reported by Stepan Kasal.
1178 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1180 Fix problems reported by Andreas Buening in:
1181 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1182 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1184 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1185 readable; it's not true in OS/2-emx.
1187 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1189 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1190 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1191 (trivial change). Problem and patch reported by Andrew Church in:
1192 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1194 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1196 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1197 three args in examples. Problem reported by Frederik Fouvry in:
1198 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1199 Also, fix some minor spacing and punctuation bugs.
1201 2004-09-02 Akim Demaille <akim@epita.fr>
1203 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1204 "case" to restore ordering.
1205 Reported by Stepan Kasal.
1207 2004-08-26 Akim Demaille <akim@epita.fr>
1209 * doc/autoconf.texi: Minor typos and stylos.
1211 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1213 * configure.ac (AC_INIT): Bump to 2.59c.
1215 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1219 * README: Add advice about m4 1.4.2.
1221 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1222 texinfo.tex for now (done by hand now).
1223 * Makefile.maint (wget_files, cvs_files):
1224 Remove ansi2knr.c; nobody uses it.
1225 (ansi2knr.c-url_prefix): Remove.
1226 (cvs-update): Fix test for failure. I don't know why it ever
1229 * doc/autoconf.texi: Update URLs, some of which went stale.
1230 Use @uref rather than @href.
1232 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1233 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1235 * config/config.guess, config/config.sub, config/elisp-comp,
1236 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1237 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1239 * NEWS, TODO, configure.ac, bin/autoscan.in,
1240 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1241 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1242 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1243 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1244 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1245 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1246 tests/tools.at, tests/torture.at:
1247 Use "file name" rather than "filename" or "path",
1248 to be consistent with the terminology of the GNU coding standards.
1250 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1252 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1253 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1254 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1255 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1257 More fixes to support spaces in the name of the build directory.
1258 This isn't a complete fix but it's an improvement.
1260 * bin/autoconf.as (autom4te_options): New var.
1261 Use it instead of appending to AUTOM4TE, so that we can allow
1262 spaces in the build directory's absolute name.
1263 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1264 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1265 AT_CHECK_NOESCAPE): Likewise.
1266 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1267 main program): Likewise.
1269 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1271 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1272 From Ralf Corsepius in:
1273 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1275 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1277 * doc/autoconf.texi (Function Portability): Document isinf and
1278 and isnan. From a suggestion by Kevin Ryde.
1280 * lib/Autom4te/General.pm (END): Return correct exit status even
1281 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1283 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1285 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1286 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1287 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1289 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1291 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1292 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1293 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1294 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1295 * lib/autom4te.in (Automake-preselections): Preselect
1296 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1298 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1300 * lib/autom4te.in (Automake-preselections): Preselect
1301 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1304 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1306 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1308 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1309 Document problem with "`""`" in pdksh POSIX mode.
1311 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1313 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1314 with pdksh, too. Problem reported by Patrick Welche via
1316 * doc/autoconf.texi (Shellology): Note that set -o posix is
1317 useful for pkdsh, too.
1319 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1321 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1322 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1323 Don't fail if ENV or BASH_ENV is readonly.
1324 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1325 etc. are read only. Problem reported by Ludovic Courtes.
1327 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1329 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1330 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1333 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1335 * doc/autoconf.texi (File System Conventions): Warn about
1336 names like "aux". Problem reported by Eric Blake.
1338 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1339 by zero instead of array size, so that we can use any arithmetic
1340 constant expression (instead of requiring an integer constant
1341 expression). This allows us to test expressions like DBL_MAX <
1342 LDBL_MAX, which didn't conform to the C standard using the old
1344 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1345 now that we can do floating-point tests at compile time.
1347 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1349 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1350 and LDBL_EPSILON, as the resulting expression isn't an
1351 integer constant expression and violates the C standard.
1352 Problem reported by Nelson H. F. Beebe. Also, check
1353 for "L" suffix, and check that long double doesn't have
1354 worse range or precision than double, that mixed-mode
1355 arithmetic doesn't generate a diagnostic, that double
1356 constants fit in long double.
1358 2004-06-03 Kevin Ryde <user42@zip.com.au>
1360 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1361 malloc(0) and realloc(NULL,size).
1363 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1366 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1368 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1369 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1372 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1374 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1375 can be rewritten using if-then-else. Suggested by Bruno Haible.
1377 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1379 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1380 Problem reported by Stepan Kasal.
1382 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1384 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1385 change). Patch reported by Ralf Wildenhues in
1386 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1388 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1389 function F exists if the compiler and linker let you compile an
1390 expression like (F != 0). Recent versions of GCC optimize away
1391 the reference to F in that case, since every function address must
1392 be nonzero, so the link succeeds even if F does not exist.
1393 Problem reported by Manu in
1394 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1396 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1397 "Unix". Many uses changed.
1398 (Limitations of Builtins): Explain better why the ! command isn't
1401 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1403 * lib/autom4te.in (Automake-preselections): Preselect
1404 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1406 2004-05-19 Kevin Ryde <user42@zip.com.au>
1408 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1409 referencing AC_FUNC_STRERROR_R.
1411 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1412 note pessimistic assumption when cross compiling.
1414 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1416 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1417 (until 2004) invoked subcommands with sh -e, contra POSIX.
1418 Reported by Kevin Ryde.
1420 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1422 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1423 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1424 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1425 `test -f " /usr/bin/grep"', which _always_ failed.
1426 (AC_PROG_SED): Ditto bogus PATH fix.
1427 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1428 requires that grep correctly supports _multiple_ `-e' options, rather
1429 than stating only that grep should accept `-e'.
1431 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1433 Port to C99, which requires that 'exit' be declared.
1435 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1436 to ensure that stdlib.h is included.
1437 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1438 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1439 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1440 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1441 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1442 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1443 when using 'exit' in a test; C99 requires that 'exit' be declared.
1445 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1447 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1448 now prefers 'grep' implementations that accept -e.
1449 (Limitations of Usual Tools): Describe problems of traditional
1450 egrep and fgrep with long input lines, and of traditional grep
1452 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1453 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1454 All callers changed. Append /usr/xpg4/bin to the PATH, for
1456 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1457 the user with complaints about multiple -e options.
1458 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1459 Define it with AC_PROG_GREP.
1460 * configure.ac (AC_PROG_GREP): Add.
1461 * lib/freeze.mk (GREP): New macro.
1463 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1465 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1466 a possible candidate only after all others fail, rather than
1467 consulting it first. This improves backward compatibility by
1468 better reflecting the way shell selection occurred in previous
1469 versions of Autoconf, and should help to avoid triggering latent
1470 problems in other packages, such as the one in Automake where zsh
1471 is not handled robustly:
1472 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1473 Although it is not Autoconf's responsibility to work around
1474 problems in Automake, it nevertheless makes sense to avoid
1475 introducing unnecessary incompatibilites.
1477 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1478 Gary V. Vaughan <gary@gnu.org>
1480 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1481 how deeply nested we are when a suitable tool is found, set the
1482 ac_path_TOOL_found flag.
1483 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1484 nested we are in this macro. Break out of all 3 nested loops if
1485 ac_path_TOOL_found is set.
1487 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1489 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1490 of the _AS_PATH_WALK loop too if GNU flavor is found.
1492 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1494 * doc/autoconf.texi (Limitations of Make): Update documentation
1495 for `$<'. New entry `Long lines', based on a report from Simon
1496 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1497 paragraph about DJGPP, based on a mail from Richard Dawe.
1499 2004-04-20 Paul Eggert <eggert@twinsun.com>
1501 * tests/c.at (C keywords): Don't assume that GCC supports
1502 "restrict" and "inline", as sufficiently-old GCC versions do not
1503 (also, GCC configured to be in pedantic C89 mode does not).
1504 Problem reported by Sumit Pandya in:
1505 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1507 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1508 consider -g to work if it generates warnings when plain compiles
1509 don't. Problem reported by Braden McDaniel in:
1510 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1512 * doc/autoconf.texi (Slashes): New section, to document a problem
1513 reported by Jim Meyering in:
1514 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1516 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1517 linker output files before linking, to work around IRIX 6 linker bug.
1518 Problem reported by Rainer Orth in:
1519 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1521 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1523 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1524 best tool so far counter rely on the tool path variable name to
1525 avoid checks for one tool being affected by the results of running
1526 the length check on a previous tool.
1528 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1529 match expression argument, as different greps have different
1530 regular expression flavours.
1531 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1533 (AC_PROG_EGREP): Pass 'EGREP$'.
1534 (AC_PROG_GREP): Pass 'GREP$'.
1536 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1538 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1539 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1541 2004-03-29 Paul Eggert <eggert@twinsun.com>
1543 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1544 Types, Specific Compiler Characteristics, System Services,
1545 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1546 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1547 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1548 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1550 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1551 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1552 AC_TYPE_OFF_T): Likewise.
1553 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1556 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1557 pacify libtool 1.5.2. Fix quoting problems in sed command.
1559 2004-03-28 Paul Eggert <eggert@twinsun.com>
1561 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1562 now defines HAVE_DECL_TZNAME if it is declared, when
1563 HAVE_STRUCT_TM_TM_ZONE is not defined.
1564 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1565 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1568 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1570 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1571 superfluous backslashing of quotes (") in sed expressions;
1572 thanks to Paul Eggert.
1574 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1576 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1577 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1578 H. F. Beebe for the bug report.
1580 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1582 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1583 quoted -cmdline argument in Portland Group compiler (bug
1584 reported by Jeffrey J. Barteet).
1586 2004-03-25 Kevin Ryde <user42@zip.com.au>
1588 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1589 (Run Time): ... here, where it's now mentioned.
1591 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1593 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1594 inherits from language Autoconf-without-aclocal-m4.
1595 (Customizing autom4te): Adjust example; the cache must now be
1596 disabled for language Autoconf-without-aclocal-m4.
1598 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1599 Nathanael Nerode <neroden@twcny.rr.com>
1601 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1602 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1604 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1605 AC_CHECK_TARGET_TOOLS): New macros.
1606 * doc/autoconf.texi (Generic Programs): Document
1607 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1608 AC_CHECK_TARGET_TOOLS, and warn for future changes
1609 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1611 (Specifying Names): Document the reason for these future
1613 * tests/mktests.sh: Do not generate tests for the
1615 * NEWS: Document these changes.
1617 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1618 they make TeX hang up.
1620 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1622 * NEWS: New macro AC_CHECK_ALIGNOF.
1623 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1624 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1625 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1627 (AC_CHECK_ALIGNOF): New macro.
1628 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1629 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1632 2004-03-03 Paul Eggert <eggert@twinsun.com>
1634 * bin/Makefile.am (edit): Don't use $< in a context where
1635 POSIX doesn't require support for it. Use $@.in instead.
1636 Problem reported by Anthony N. Frasso in
1637 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1638 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1640 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1642 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1643 from the next generation of Libtool.
1644 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1646 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1648 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1649 is not always thread-safe. Report from Nathanael Nerode.
1651 2004-02-18 Paul Eggert <eggert@twinsun.com>
1653 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1654 problem on QNX reported by Stephen Rasku in
1655 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1657 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1658 $(m4sh_m4f_dependencies); this removes a FIXME.
1659 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1660 (MAINTAINERCLEANFILES): Split into pieces,
1661 one per related section. Add $(srcdir)/wrapper.in.
1663 2004-02-09 Paul Eggert <eggert@twinsun.com>
1665 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1666 AC_SUBST provides no portable way to escape literal newlines.
1668 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1669 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1670 Darwin uses -lcrt2.o and there's little point to cataloging all
1671 the system variants. Partial fix reported by Andreas Waechter in:
1672 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1673 for bug reported by Nelson H. F. Beebe in:
1674 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1676 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1678 * doc/autoconf.texi (AU_DEFUN): Fix English,
1679 suggested by Paul Eggert.
1680 * lib/autoconf/autoupdate.m4: Correct reference to
1681 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1683 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1685 * bin/autoupdate.in: Define __file__ so that warnings
1686 refer to the correct file.
1687 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1688 the behavior of the third argument.
1689 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1690 correctly the behavior of the third argument. Document
1691 what the three macros that AU_DEFUN defines do. Fix
1692 warning message when the third argument includes $0
1693 (reported by Alexandre Duret-Lutz).
1695 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1696 Eric Sunshine <sunshine@sunshineco.com>
1697 Paul Eggert <eggert@twinsun.com>
1699 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1700 (AS_INIT): Output shell initialization there. Removed optional
1701 parameter. Expand _AS_SHELL_FN_SPY.
1702 (AS_INIT_WITH_SHELL_FN): Removed.
1703 (_AS_SHELL_FN_SPY): New macro.
1704 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1706 (AS_SHELL_SANITIZE): Remove loop to find better shell
1707 and documentation for the parameter.
1708 (_AS_DETECT_BETTER_SHELL): Move it here.
1709 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1710 (_AS_RUN): Move it here, support testing with eval.
1711 (AS_REQUIRE_SHELL_FN): Require shell functions when
1713 (_AS_LINENO_WORKS): Put around braces, we do not
1714 trigger the bash bug anymore.
1715 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1716 use AS_INIT_WITH_SHELL_FN.
1717 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1719 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1721 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1722 * doc/autoconf.texi: Don't say that the third parameter
1724 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1725 (AU_DEFUN): Honor the third parameter, create autoupdate
1726 macros with AU_DEFINE.
1727 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1728 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1729 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1730 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1731 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1732 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1733 AC_XENIX_DIR): Likewise.
1734 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1735 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1736 * lib/autoconf/status.m4: Remove FIXME.
1737 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1738 that the macro is not present anymore in the updated
1740 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1743 2004-01-28 Paul Eggert <eggert@twinsun.com>
1745 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1747 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1748 2003 (except 1997) to the list of copyright years. This undoes
1749 the 2003-05-22 change, which removed the older years from the list.
1750 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1752 2004-01-27 Gary V. Vaugan <gary@gnu.org>
1753 Albert Chin-A-Young <china@thewrittenword.com>
1755 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1756 grep or ggrep program in PATH that accepts as long lines as
1758 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1760 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1761 egrep and fgrep respectively if $GREP -E/-F don't work.
1762 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1763 _AC_PROG_GREP, and AC_PROG_SED.
1764 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1765 longest input length accepted by a command.
1766 (AC_PROG_SED): Use it.
1767 * doc/autoconf.texi (Particular Programs): Document the changes.
1770 2004-01-27 Paul Eggert <eggert@twinsun.com>
1772 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1773 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1774 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1775 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1777 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1778 bin/autoconf.in, config/Makefile.in, config/config.guess,
1779 config/config.sub, config/install-sh, config/mdate-sh,
1780 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1781 lib/Makefile.in, lib/Autom4te/Makefile.in,
1782 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1783 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1784 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1785 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1786 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1787 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1788 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1789 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1790 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1791 tests/actypes.at: Regenerate and/or sync with original
1794 2004-01-26 Paul Eggert <eggert@twinsun.com>
1796 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1797 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
1798 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1799 not <inttypes.h>. Problem reported by Tim Mooney in
1800 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1801 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1804 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1805 otherwise "make check" fails because it forbids cmp (I guess
1806 because cmp treats files as binary on DOS-like systems).
1808 * tests/mktests.sh: Update copyright date to 2004, since some tests
1809 have changed in 2004.
1811 2004-01-23 Gary V. Vaugan <gary@gnu.org>
1813 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
1814 non-truncating sed or gsed program in PATH.
1815 * tests/acprograms.at: Add it.
1816 * doc/autoconf.texi (Particular Programs): Document it.
1819 2004-01-15 Paul Eggert <eggert@twinsun.com>
1821 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1822 -std1 disables some useful extensions on Tru64. Problem reported
1824 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1826 2004-01-14 Paul Eggert <eggert@twinsun.com>
1828 * doc/autoconf.texi (Programming in M4sh): Document that
1829 AS_MKDIR_P succeeds if the destination is a symbolic link
1830 to an existing directory.
1831 (Limitations of Usual Tools): Note that mkdir -p might not
1832 succeed on symlinks to directories.
1834 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
1836 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1837 * bin/autoheader.in: Grammar fix in message.
1838 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1839 Test for dir before calling mkdir -p. (trivial changes)
1841 2004-01-13 Eric Blake <ebb9@byu.net>
1843 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1844 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
1846 2004-01-10 Jim Meyering <jim@meyering.net>
1848 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1850 2004-01-09 Paul Eggert <eggert@twinsun.com>
1852 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1853 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
1854 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1855 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1856 AC_COMPILE_IFELSE, since we now assume our caller invokes
1857 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1858 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1859 of AC_RUN_IFELSE; this avoids the warning mentioned above.
1860 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1862 2004-01-07 Paul Eggert <eggert@twinsun.com>
1864 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1865 `"'...'"`, as it's confusing (and I suspect it may not work on
1866 some platforms). The code was incorrect anyway, as it assumed
1867 that \$ evaluated to itself in that context. Reported by
1868 Alexandre Duret-Lutz.
1870 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1872 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
1873 and _LT_AC_TAGCONFIG.
1875 2004-01-06 Paul Eggert <eggert@twinsun.com>
1877 * doc/autoconf.texi (One Macro Call): Fix an incorrect
1878 example, and add more examples. Reported by Eric Sunshine.
1880 2004-01-05 Paul Eggert <eggert@twinsun.com>
1882 * doc/autoconf.texi (Limitations of Usual Tools):
1883 Remove warning against "rm -fr" introduced yesterday; it
1886 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
1887 autoscan, autoupdate, ifnames): Don't use chmod -w.
1888 * lib/Makefile.am (autom4te.cfg): Likewise.
1889 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
1892 2004-01-04 Paul Eggert <eggert@twinsun.com>
1893 Paolo Bonzini <bonzini@gnu.org>
1895 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
1896 by doing lineno substitution only on lines containing "$LINENO".
1898 2004-01-04 Paul Eggert <eggert@twinsun.com>
1900 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
1901 Use "rm -f" to remove conftest.sed, not plain "rm".
1902 Bug reported by David Relson in
1903 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
1905 * Makefile.am (autom4te-update):
1906 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
1907 * Makefile.maint (my-distcheck, do-po-update): Likewise.
1908 * doc/autoconf.texi (Guidelines): Likewise.
1909 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
1910 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
1911 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1912 * lib/autotest/general.m4 (AT_INIT): Likewise.
1913 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
1914 * tests/Makefile.am (clean-local): Likewise.
1915 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
1917 * doc/autoconf.texi (Limitations of Usual Tools):
1918 Warn against "rm -fr".
1920 2004-01-03 Paul Eggert <eggert@twinsun.com>
1922 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
1923 -c -o might not work. From a suggestion by Kevin Ryde.
1924 (C Compiler, Generating Sources, Limitations
1925 of Usual Tools, Limitations of Make, Making testsuite Scripts):
1926 Don't put '-o' after non-options, as POSIX doesn't allow this.
1927 Mention that cc's name might be gcc or c89 or whatever.
1929 2004-01-04 Kevin Ryde <user42@zip.com.au>
1931 * doc/autoconf.texi: Add various further index entries.
1933 2003-12-29 Paul Eggert <eggert@twinsun.com>
1935 * bin/autoreconf.in (autoreconf_current_directory):
1936 Fix typo: mkdir without umask arg.
1938 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
1940 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
1941 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
1942 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
1943 explanation clearer.
1945 2003-12-24 Andreas Schwab <schwab@suse.de>
1947 * doc/autoconf.texi (Default Includes): Fix misspelling of
1948 AC_INCLUDES_DEFAULT.
1950 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1952 * configure.ac: Test if sh -n works.
1953 * configure: Regenerate.
1954 * tests/atlocal.in: Store the result here.
1955 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
1956 tools.at, looking in atlocal's ac_cv_sh_n_works instead
1957 of explicitly testing.
1958 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
1959 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
1960 * tests/tools.at (Syntax of the shell scripts): Simplify
1961 using AT_CHECK_SHELL_SYNTAX.
1962 (Syntax of the Perl scripts): Remove definition of
1963 AT_CHECK_PERL_SYNTAX.
1965 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1967 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
1968 stderr to /dev/null.
1969 * bin/autoconf.in: Regenerate.
1970 * bin/wrapper.in: Regenerate.
1972 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
1974 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
1975 Extracted from AS_SHELL_SANITIZE.
1976 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
1978 (AS_SHELL_SANITIZE): Move reinvocation code from
1979 _AS_LINENO_WORKS, use it to find out if shell
1981 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
1983 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
1984 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
1986 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
1987 * bin/autoconf.in: Regenerate.
1988 * tests/wrapper.in: Regenerate.
1989 * tests/tools.at: Test the syntax of tests/autoconf
1990 and tests/testsuite.
1992 2003-11-24 Akim Demaille <akim@epita.fr>
1994 * config/announce-gen (&print_locations, &print_signatures)
1997 No longer rely on Gnus to inline the list of signatures: compute
2000 2003-11-24 Akim Demaille <akim@epita.fr>
2002 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2003 override some files.
2004 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2005 From Debian Autoconf 2.58.
2007 2003-11-24 Akim Demaille <akim@epita.fr>
2009 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2011 From Debian Autoconf 2.58.
2013 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2015 * TODO: Remove already done things. Update the part about finding
2016 tools for the target.
2018 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2020 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2021 Make wording more consistent.
2022 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2023 Explain the transition better.
2024 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2025 the transition better.
2027 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2029 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2030 parameter of AU_DEFUN.
2031 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2032 (AU_DEFUN): Remove the third parameter, it was not used.
2033 Use AC_DEFUN directly, not AU_DEFINE.
2034 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2035 the expanded body, consistently with other macros such as AC_USG.
2037 2003-11-17 Paul Eggert <eggert@twinsun.com>
2039 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2040 into the initial confdefs.h, to work around a bug in NextStep 3.3
2041 patch 3 reported by Eric Sunshine.
2043 2003-11-15 Kevin Ryde <user42@zip.com.au>
2045 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2046 than $target since the latter is not usual, add guidelines on when to
2047 use or not use the system type.
2049 2003-11-12 Derek Price <derek@ximbiot.com>
2051 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2052 typo misrepaired by an auto-spellcheck.
2054 2003-11-12 Akim Demaille <akim@epita.fr>
2056 * bin/autoreconf.in (&parse_args): Don't call automake with
2057 --force-missing unless it actually supports it.
2058 From Debian #219336.
2060 2003-11-12 Akim Demaille <akim@epita.fr>
2062 * configure.ac: Bump to 2.59a.
2065 2003-11-06 Akim Demaille <akim@epita.fr>
2069 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2071 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2072 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2073 and ac_abs_top_srcdir are absolute paths.
2074 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2076 2003-11-05 Akim Demaille <akim@epita.fr>
2078 * configure.ac: Bump to 2.58a.
2080 2003-11-05 Kevin Ryde <user42@zip.com.au>
2082 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2083 it provokes a warning from makeinfo about looking like a cross
2084 reference in info output.
2086 * doc/autoconf.texi (Function Portability): Add notes on signal
2087 handler return type, as per AC_TYPE_SIGNAL.
2089 2003-11-04 Akim Demaille <akim@epita.fr>
2092 * doc/standards.texi: Update from master.
2094 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2096 2003-11-04 Akim Demaille <akim@epita.fr>
2098 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2099 computing the absolute path to d1 in the source hierarchy: it may
2100 not exist at all. So don't cd into it.
2101 From Alexandre Duret-Lutz.
2102 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2104 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2105 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2106 * doc/autoconf.texi (Programming in M4sh): Document.
2107 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2109 2003-11-03 Pavel Roskin <proski@gnu.org>
2111 * doc/autoconf.texi (Generic Structure Checks): Describe
2112 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2114 2003-10-31 Akim Demaille <akim@epita.fr>
2116 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2118 * doc/autoconf.texi (Language Choice): Document.
2119 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2120 the current language is Fortran.
2122 2003-10-31 Akim Demaille <akim@epita.fr>
2124 * bin/autom4te.in (&freeze): Use a less likely warning separator
2125 than `\n\n', so that `\n\n\n' is valid in warnings.
2126 Reported by Steve Huston.
2128 2003-10-28 Akim Demaille <akim@epita.fr>
2130 * Makefile.cfg (local_updates, executable-update): Tweak to be
2131 robust to parallel makes.
2132 Suggested by Alexandre Duret-Lutz.
2134 2003-10-27 Akim Demaille <akim@epita.fr>
2136 * Makefile.cfg (executable-update): New.
2137 (local_updates): Call it.
2139 2003-10-27 Akim Demaille <akim@epita.fr>
2141 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2142 Don't remove core.* as it may remove valid user files.
2143 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2144 (AC_FUNC_UTIME_NULL): Likewise.
2146 2003-10-23 Akim Demaille <akim@epita.fr>
2149 * config/config.guess, config/config.sub: Upgrade from masters.
2151 2003-10-23 Akim Demaille <akim@epita.fr>
2153 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2154 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2157 2003-10-23 Akim Demaille <akim@epita.fr>
2159 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2160 Don't forget to remove conftest.err.
2162 2003-10-23 Akim Demaille <akim@epita.fr>
2164 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2165 same object file in $LIBOBJS.
2166 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2167 * doc/autoconf.texi (Generic Functions): Adjust.
2169 2003-10-20 Paul Eggert <eggert@twinsun.com>
2171 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2172 Use 'eval', so that the resulting configure scripts work even if
2173 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2175 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2177 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2178 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2179 (_AC_LINK_IFELSE): Check the werror flag.
2180 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2184 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2186 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2187 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2188 override AC_LINK_IFELSE.
2190 2003-10-15 Paul Eggert <eggert@twinsun.com>
2192 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2193 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2194 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2195 Mention /usr/dt/bin/dtksh on Solaris.
2196 (Shell Substitutions): Warn about $((...)).
2197 (Parentheses): New section.
2199 2003-10-15 Kevin Ryde <user42@zip.com.au>
2201 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2202 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2204 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2206 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2209 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2211 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2212 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2214 2003-10-10 Andreas Schwab <schwab@suse.de>
2216 * bin/autoheader.in: Avoid empty first line in --version and
2218 * bin/ifnames.in: Likewise.
2220 2003-10-09 Paul Eggert <eggert@twinsun.com>
2222 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2223 Issue a more-informative diagnostic.
2224 Problems reported by Eric Sunshine.
2226 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2228 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2229 -mGLOB_options_string stuff for Intel ifc, which can cause
2230 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2231 pattern-matching instead of grep.
2233 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2235 * doc/autoconf.texi: Document new FC Fortran macros.
2237 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2239 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2240 that future autopoint/aclocal/automake/autoreconf will be able
2241 to trace to find where to install local m4 macros.
2242 * doc/autoconf.texi (Input): Document it.
2245 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2247 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2248 -lcrtbegin.o to list of ignored flags and fix underquoting of
2251 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2253 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2254 cache variable instead of $G77 to decide whether to include -O2,
2255 since $G77 is specific to Fortran 77.
2257 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2259 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2260 free" flag. Re-order flags tested into rough order of popularity.
2262 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2264 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2265 arguments so that it can be used with syntax identical to
2266 AC_PROG_F77, and so that we can more easily decide to
2267 remove/deprecate the DIALECT optional argument in the future if it
2269 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2270 non-freeform-supporting compilers. Document freeform flags.
2272 2003-10-03 Akim Demaille <akim@epita.fr>
2274 * configure.ac: Look for emacs, not macs.
2275 Reported by Eric Sunshine.
2277 2003-10-03 Akim Demaille <akim@epita.fr>
2279 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2280 * bin/autoreconf.in (autoreconf_current_directory): Create the
2281 AUX_DIR if needed, for sake of automake --add-missing etc.
2282 Suggested by Alexandre Duret-Lutz.
2284 2003-10-03 Akim Demaille <akim@epita.fr>
2286 * configure.ac: Quotation and formatting changes.
2287 (EMACS): Don't set it if it is not recent enough to support
2291 2003-10-02 Akim Demaille <akim@epita.fr>
2293 * bin/ifnames.in (&scan_file): Skip C++ comments.
2296 2003-10-01 Pavel Roskin <proski@gnu.org>
2298 * doc/autoconf.texi (Particular Structure Checks):
2299 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2301 2003-10-01 Akim Demaille <akim@epita.fr>
2305 2003-09-30 Paul Eggert <eggert@twinsun.com>
2307 * lib/Autom4te/XFile.pm: Use Errno.
2308 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2309 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2311 2003-09-30 Akim Demaille <akim@epita.fr>
2313 * config/announce-gen (&print_news_deltas): Extracted from...
2314 (&print_changelog_deltas): here.
2315 (&news_file): Rename as...
2318 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2320 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2321 have been created when invoking the compiler.
2322 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2324 2003-09-29 Akim Demaille <akim@epita.fr>
2328 * config/mkinstalldirs: Upgrade.
2330 2003-09-28 Paul Eggert <eggert@twinsun.com>
2332 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2333 Problem reported by Lars J. Aas in
2334 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2335 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2336 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2337 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2339 2003-09-26 Akim Demaille <akim@epita.fr>
2341 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2342 directory for AC_CONFIG_COMMANDS' first argument exists.
2343 This makes valid the invocation of _AC_SRCPATH that follows.
2344 Reported by Eric Sunshine.
2345 * doc/autoconf.texi (Configuration Commands): Adjust.
2347 2003-09-26 Akim Demaille <akim@epita.fr>
2349 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2350 Reported by Ralf Corsepius.
2352 2003-09-26 Akim Demaille <akim@epita.fr>
2354 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2356 Actually, use AU_ALIAS.
2359 2003-09-26 Paul Eggert <eggert@twinsun.com>
2361 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2362 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2363 Problem reported by Eric Sunshine in:
2364 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2366 2003-09-26 Akim Demaille <akim@epita.fr>
2368 The test suite are sometimes assigning timings incorrectly.
2369 Reported by Henk Krus.
2370 Diagnosed by Nicolas Joly.
2372 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2374 Instead of making AT_help a sequence of assignments to grow
2375 $at_help_all, just make AT_help_all be the growing contents of
2376 $at_help_all, and make a single assignment in...
2378 (at_times_skip): Flip the meaning and rename as...
2380 (AT_INIT): When summarizing the test that ran, remove
2381 $at_times_file after use, and check it is present before trying to
2384 2003-09-25 Akim Demaille <akim@epita.fr>
2388 * bin/Makefile.am (edit): Handle '@configure_input@'.
2389 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2390 (ifnames): chmod -w.
2391 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2392 executables, not bin/ executables! Otherwise all the magic needed
2393 to find non installed files is turned off. This caused a failure
2394 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2395 as found in its environment (sent by tests/autoreconf): pointing
2396 to bin/autom4te that could not find its files.
2397 * tests/mktests.sh: Force the replacement of generated files, for
2398 the sake of "mv" program that are interactive when overwriting a
2400 * config/install-sh: Upgrade from CVS Automake.
2402 2003-09-23 Paul Eggert <eggert@twinsun.com>
2404 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2405 versus test -L issues.
2407 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2408 Paul Eggert <eggert@twinsun.com>
2410 Trivial change to support GCC's configuration procedure.
2411 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2412 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2413 about inconsistency if the preprocessor is set to give errors for
2415 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2417 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2419 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2420 and XFile.pm from Automake.
2421 * lib/Autom4te/XFile.pm: Update from Automake.
2423 2003-09-12 Akim Demaille <akim@epita.fr>
2427 2003-09-12 Akim Demaille <akim@epita.fr>
2429 * config/config.guess, config/config.sub, config/missing,
2430 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2433 2003-09-12 Akim Demaille <akim@epita.fr>
2435 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2438 2003-09-11 Akim Demaille <akim@epita.fr>
2440 * doc/autoconf.texi (Header Portability): linux/random.h.
2441 From Peter Hendrickson.
2443 2003-09-10 Akim Demaille <akim@epita.fr>
2445 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2446 willing to edit the output files.
2448 2003-09-10 Akim Demaille <akim@epita.fr>
2450 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2452 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2453 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2455 2003-09-09 Akim Demaille <akim@epita.fr>
2457 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2458 Reported by Gary Vaughan.
2459 * bin/autom4te.in (handle_m4): Likewise.
2461 2003-09-09 Akim Demaille <akim@epita.fr>
2463 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2466 2003-09-07 Paul Eggert <eggert@twinsun.com>
2468 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2469 Improve the accuracy of the wording about obsolescence.
2470 From a suggestion by Ian Lance Taylor in
2471 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2473 2003-09-05 Paul Eggert <eggert@twinsun.com>
2475 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2476 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2478 2003-09-04 Akim Demaille <akim@epita.fr>
2480 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2483 2003-09-04 Akim Demaille <akim@epita.fr>
2485 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2486 (freeze): When exiting, use $exit_code.
2487 * lib/autoconf/fortran.m4: Comment changes.
2489 2003-09-04 Akim Demaille <akim@epita.fr>
2491 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2493 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2495 Add support for newer Fortran dialects. The F77 interface is
2496 unchanged, and continues to support Fortran 77. New FC macros
2497 correspond to all the old F77 macros, with output variables FC,
2498 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2499 available dialect, but older dialects can be specified. There are
2500 new macros AC_FC_SRCEXT to set the source extension, and
2501 AC_FC_FREEFORM to accept free-form source files.
2503 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2505 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2506 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2507 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2508 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2509 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2510 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2511 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2512 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2513 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2514 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2515 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2516 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2517 AC_FC_SRCEXT, AC_FC_FREEFORM):
2519 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2520 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2521 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2522 Rewrite in terms of the above.
2523 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2524 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2525 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2526 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2528 2003-09-02 Paul Eggert <eggert@twinsun.com>
2530 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2531 Document problems with timestamp resolution that 'make', 'cp -p', and
2534 2003-08-27 Akim Demaille <akim@epita.fr>
2536 * tests/m4sugar.at (cross_warning): Make sure to enable the
2537 output, so that we can track spurious m4sugar output.
2538 * tests/local.at: Require 2.57.
2539 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2540 are defaulted by AT_CHECK anyway.
2541 Use AT_CHECK_AUTOM4TE.
2542 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2545 2003-08-27 Akim Demaille <akim@epita.fr>
2547 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2548 when -Wobsolete is set.
2549 Set it on by default.
2550 Suggested by Klee Dienes.
2552 2003-08-27 Akim Demaille <akim@epita.fr>
2554 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2558 2003-08-26 Akim Demaille <akim@epita.fr>
2560 * doc/autoconf.texi (Output): Make clear that one can run code
2563 2003-08-25 Akim Demaille <akim@epita.fr>
2565 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2568 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2570 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2571 Automake versions prior to 1.8.
2573 2003-08-25 Akim Demaille <akim@epita.fr>
2575 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2578 2003-08-24 Akim Demaille <akim@epita.fr>
2580 * configure.ac: Bump to 2.57c.
2582 2003-08-22 Akim Demaille <akim@epita.fr>
2586 * Makefile.cfg (local-checks-to-skip): New.
2587 * Makefile.maint (local-check): Rename as...
2588 (local-checks-available): this.
2591 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2592 * configure.ac: Require Automake 1.7.6.
2594 2003-08-22 Akim Demaille <akim@epita.fr>
2596 Output stack traces in warnings.
2598 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2599 Replace the former...
2600 (m4_warn): Pass the call stack to _m4_warn.
2601 * bin/autom4te.in: Adjust to output the call stack.
2602 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2604 2003-08-22 Akim Demaille <akim@epita.fr>
2606 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2607 * bin/autom4te.in: Adjust.
2609 2003-08-21 Akim Demaille <akim@epita.fr>
2611 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2613 (&getopt): Adjust the note and verb channels, depending upon
2615 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2616 * bin/autoupdate.in: Adjust.
2617 Use &verb, not &verbose.
2619 2003-08-21 Akim Demaille <akim@epita.fr>
2621 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2623 ($help): Use Autom4te::ChannelDefs::usage.
2624 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2625 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2627 2003-08-21 Akim Demaille <akim@epita.fr>
2629 First stab at preserving warnings between calls to autom4te,
2630 including when the cache is used.
2632 There are still several issues: (i) there are too many runs of m4
2633 (one for include, one for warnings, and some more), (ii) warnings
2634 spreading on several lines are not handled gracefully, (iii) the
2635 code meant to have the call stack display for errors does not work
2636 (its handling should move from m4 to autom4te).
2638 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2640 (@preselect): Add m4_warn.
2641 ($exit_status): Remove, use $exit_code.
2642 ($help): Use Autom4te::ChannelDefs::usage.
2643 (&handle_m4): No longer define the m4_warnings.
2644 At each run, extract and report the warnings.
2645 Always cache the result, including if the exit status is on
2646 failure, since if nothing changes, we should result in the same
2647 failure, hence we can use the cache.
2648 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2649 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2651 (m4_warn): Redefine as a do-nothing: it is its invocation that
2652 matters, as warnings are now reported via traces.
2653 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2654 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2655 the latter reveals calls to the former.
2659 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2661 2003-08-21 Akim Demaille <akim@epita.fr>
2663 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2666 2003-08-21 Akim Demaille <akim@epita.fr>
2668 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2670 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2671 (&parse_warnings): Accept a list of warning requests.
2672 (&usage): Return a string, not a side effect.
2673 (cross): New warning category.
2675 2003-08-21 Akim Demaille <akim@epita.fr>
2677 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2678 (&require_configure_ac): Accept an optional directory argument.
2679 ($configure_ac): Remove.
2680 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2682 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2683 * bin/autoscan.in: Adjust.
2685 2003-08-20 Akim Demaille <akim@epita.fr>
2687 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2688 Reported by Alexandre Duret-Lutz.
2690 2003-08-20 Akim Demaille <akim@epita.fr>
2692 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2693 * bin/autom4te: Adjust.
2694 In particular, be Autoconf tools are really silent when properly
2695 working, bind the verbosity of the 'note' channel to $verbose.
2696 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2697 (&xsystem, &contents): Remove, since they are exported by...
2698 * lib/Autom4te/FileUtils.pm: this.
2700 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2701 * lib/Autom4te/FileUtils.pm: here.
2703 2003-08-20 Akim Demaille <akim@epita.fr>
2705 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2706 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2709 2003-08-20 Akim Demaille <akim@epita.fr>
2711 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2712 (autom4te-update): New.
2713 * Makefile.cfg (update): Bind autom4te-update.
2715 2003-08-19 Derek Price <derek@ximbiot.com>
2717 * lib/autotest/general.m4: Comment various HELP_* diversions.
2718 (PARSE_ARGS_BEGIN): New section for option parsing related
2720 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2721 package specific options and associated help.
2723 2003-08-19 Akim Demaille <akim@epita.fr>
2725 * config/announce-gen, Makefile.cfg: New.
2726 * Makefile.am: Adjust.
2727 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2729 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2731 * lib/autom4te.in (Automake-preselections): Preselect
2732 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2735 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2737 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2738 (Autoconf-without-aclocal-m4): ... this new language.
2739 * doc/autoconf.texi (autom4te Invocation): Mention
2740 Autoconf-without-aclocal-m4.
2742 2003-08-18 Derek Price <derek@ximbiot.com>
2744 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2745 RUN-IF-PASS optional arguments.
2747 2003-08-18 Derek Price <derek@ximbiot.com>
2749 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2751 2003-08-16 Derek Price <derek@ximbiot.com>
2753 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2754 STDOUT & STDERR arguments.
2756 2003-08-14 Derek Price <derek@ximbiot.com>
2758 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2759 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
2760 shorter column three. Add DESCRIPTION to log file content.
2762 2003-08-13 Derek Price <derek@ximbiot.com>
2764 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2767 2003-08-12 Derek Price <derek@ximbiot.com>
2769 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2770 (AT_CHECK_NOESCAPE): Move core functionality to...
2771 (_AT_CHECK): ...this new macro.
2773 2003-08-07 Derek Price <derek@ximbiot.com>
2775 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2776 (AT_CHECK_NOESCAPE): ...to this new macro.
2778 2003-07-31 Paul Eggert <eggert@twinsun.com>
2780 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2781 in Bash 2.01. Problem reported by Brian Gough in
2782 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2784 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
2786 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2787 -lcrt1.o, for OS X. (trivial change)
2789 2003-07-07 Paul Eggert <eggert@twinsun.com>
2791 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2792 inside '#ifndef __cplusplus'. Problem reported by
2795 2003-07-06 Bill Clarke <llib@computer.org>
2797 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2798 'long', not 'int', for benefit of Sun's recent C++ compilers
2799 (trivial change). See:
2800 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2801 (This really should be 'intptr_t', not 'long', but that would
2804 2003-06-25 Akim Demaille <akim@epita.fr>
2806 * lib/Makefile.am (autom4te.cfg): Make it read only.
2807 Depend on Makefile since it contains substitutions.
2809 * lib/autom4te.in (args): Add local.at? for Autotest args.
2810 This change was made on autom4te.cfg which is generated.
2811 Reported by Raja R. Harinath.
2813 2003-06-25 Akim Demaille <akim@epita.fr>
2815 * doc/autoconf.texi (Header Portability): sys/mount.h.
2816 From Gareth McCaughan.
2818 2003-06-23 Akim Demaille <akim@epita.fr>
2820 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2821 not all of them. This fixes 1. the fact that when testing
2822 Autoconf there are many many config.log, 2. the incorrect use of
2823 top_srcdir to find config.log.
2824 Don't mix the detailed output of failed test with the summary of
2825 failures. Rather, append detailed log afterwards.
2827 2003-06-23 Akim Demaille <akim@epita.fr>
2829 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2830 always run: output config.log on $at_group_log.
2832 2003-06-23 Akim Demaille <akim@epita.fr>
2834 * tests/torture.at (#define header templates): Don't use quotes in
2835 C++ comments as it puzzles Emacs' sh font-lock-mode.
2837 2003-06-23 Akim Demaille <akim@epita.fr>
2839 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2840 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2841 * tests/atspecific.m4: Rename as...
2842 * tests/local.at: This.
2843 * tests/suite.at: Move the globals into...
2844 * tests/local.at: here.
2845 * tests/Makefile.am: Adjust.
2846 * doc/autoconf.texi (testsuite Scripts): Adjust.
2848 2003-06-21 Kevin Ryde <user42@zip.com.au>
2850 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2851 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2852 ensuring we add -std1 for full-ANSI.
2854 * doc/autoconf.texi (hdrindex): New macro.
2855 Add index entries for portability of various standard header files.
2857 2003-06-20 Akim Demaille <akim@epita.fr>
2859 * configure.ac: Bump to 2.57b.
2861 2003-06-20 Akim Demaille <akim@epita.fr>
2865 2003-06-20 Akim Demaille <akim@epita.fr>
2867 * bin/autom4te.in: Don't rely on $HOME being defined.
2868 Reported by Marc Espie as PR/233.
2870 2003-06-20 Akim Demaille <akim@epita.fr>
2872 * lib/autotest/general.m4: Use at_times_file only if used.
2875 2003-06-20 Akim Demaille <akim@epita.fr>
2877 * config/config.guess, config/config.sub, config/elisp-comp,
2878 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
2879 Update from masters.
2881 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
2883 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
2884 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
2885 (TEST_SCRIPT): New diversion.
2886 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
2887 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
2888 (AT_INIT): Support for expected failures.
2890 2003-06-02 Akim Demaille <akim@epita.fr>
2892 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
2894 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
2895 Autoconf nor Automake.
2896 (&contents): New, from Automake.
2899 2003-05-28 Paul Eggert <eggert@twinsun.com>
2901 * NEWS, doc/autoconf.texi (Particular Functions),
2902 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
2903 is the inverse of localtime.
2905 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
2907 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
2908 (handle_exec_errors): New function. Work around $! being
2909 altered by WEXITSTATUS.
2910 (xqx, xsystem): Use handle_exec_errors.
2912 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
2914 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
2915 Do not call `_exit()', simply modify `$?'.
2916 (xsystem): Reset $! before running system, and check it afterward.
2917 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
2918 63 for version mismatches.
2920 2003-05-23 Akim Demaille <akim@epita.fr>
2922 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
2923 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
2924 the middle of a line).
2925 * lib/m4sugar/m4sugar.m4: Likewise.
2926 Remove useless spaces in comments.
2928 2003-05-23 Akim Demaille <akim@epita.fr>
2930 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
2931 exit 63, so that we (or Automake's "missing") can tell the
2932 difference with a plain failure.
2933 * doc/autoconf.texi (Notices): Adjust.
2935 2003-05-23 Akim Demaille <akim@epita.fr>
2937 * Makefile.am, bin/Makefile.am, config/Makefile.am,
2938 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
2939 White spaces cleanup.
2941 2003-05-22 Jim Meyering <jim@meyering.net>
2942 Paul Eggert <eggert@twinsun.com>
2944 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2945 Remove `#include <stdlib.h>' from the list; we should never
2946 make confdefs.h include <stdlib.h> or <cstdlib>, because the
2947 resulting namespace pollution would cause other tests to fail.
2948 Configure scripts run with some older versions of g++ and HP's
2949 aCC would fail due to such an #include. Problems reported by
2950 Matthew Mueller in <http://bugs.debian.org/120704> and by
2952 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
2953 In the test, use the test declaration before including <stdlib.h>,
2954 as that's closer to how it'll be used.
2956 2003-05-23 Akim Demaille <akim@epita.fr>
2958 * doc/autoconf.texi (Header Portability): ucred.h.
2961 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2963 Overhaul Autotest's logging: generate separate log files
2964 in testsuite.dir/NNN/testsuite.log, and append them to
2965 testsuite.log instead of re-running the test verbosely.
2967 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
2968 file descriptor, write 0 to at_status_file instead of setting
2969 at_status=0, initialize some new variables (at_status_file,
2970 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
2971 to rerun the tests, instead append the at_group_log to the
2972 at_suite_log when a test fails.
2973 (AT_SETUP): pipe the test case's output into at_tee_pipe,
2974 with the AS_MESSAGE_LOG_FD redirected to stdout.
2975 (AT_CLEANUP): save the output status in $at_status_file
2976 and restore it, redirect the AS_MESSAGE_LOG_FD back to
2978 (AT_CHECK): since tests are run with a redirected stdout,
2979 and used to be re-run in verbose mode, turn some $at_verbose
2980 into echo, and don't redirect the output of testing stdout
2983 * lib/autotest/autoconf.texi (testsuite Scripts): Update
2984 the name of the debugging directory and information about
2987 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2989 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
2992 2003-05-22 Akim Demaille <akim@epita.fr>
2994 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
2995 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
2996 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
2997 * lib/autoconf/status.m4: Fix and adjust copyright notices.
2999 2003-05-22 Akim Demaille <akim@epita.fr>
3001 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3002 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3003 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3004 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3005 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3006 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3007 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3008 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3009 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3010 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3011 * tests/tools.at, tests/torture.at:
3012 Whitespace clean up.
3013 Suggested by Jim Meyering.
3015 2003-05-22 Akim Demaille <akim@epita.fr>
3017 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3018 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3019 Reported by Jim Meyering.
3021 2003-05-22 Akim Demaille <akim@epita.fr>
3023 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3024 Add AC_HELP_STRING to the obsolete macros section.
3026 Use '@.' for sentences that ended in a capital letter.
3029 2003-05-22 Akim Demaille <akim@epita.fr>
3031 * config/config.guess, config/config.sub, config/elisp-comp,
3032 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3033 * config/texinfo.tex, doc/standards.texi: Update from masters.
3035 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3037 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3040 2003-05-21 Akim Demaille <akim@epita.fr>
3042 * bin/autoupdate.in ($m4): Fix quotation.
3043 Reported by Martin Mokrejs.
3045 2003-05-19 Paul Eggert <eggert@twinsun.com>
3047 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3048 Remove non-ASCII characters.
3050 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3052 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3053 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3054 AC_CHECK_HEADERS_NEW): New tests.
3056 2003-05-17 Akim Demaille <akim@epita.fr>
3058 * lib/autoconf/functions.m4: Use the default includes so that
3059 memcmp be declared before being tested.
3060 Reported by Sander Niemeijer.
3061 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3062 * doc/autoconf.texi (Default Includes): Document
3063 AC_INCLUDES_DEFAULT.
3065 2003-05-17 Akim Demaille <akim@epita.fr>
3067 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3068 * doc/autoconf.texi (Obsolete Macros): Adjust.
3069 Reported by Werner LEMBERG and Debian Bug 190886.
3071 2003-05-16 Akim Demaille <akim@epita.fr>
3073 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3074 user name space clashes.
3075 Reported by Bruno Haible.
3077 2003-05-16 Akim Demaille <akim@epita.fr>
3079 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3080 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3081 them uniform, and more robust to Perl special characters.
3082 Reported by Martin Mokrejs.
3084 2003-05-14 Akim Demaille <akim@epita.fr>
3086 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3088 2003-05-14 Akim Demaille <akim@epita.fr>
3090 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3093 2003-05-12 Akim Demaille <akim@epita.fr>
3095 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3097 From Matthias Andree.
3099 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3101 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3104 2003-05-06 Akim Demaille <akim@epita.fr>
3106 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3107 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3108 by aclocal.m4 is changed it might require the importing of another
3109 m4 extension file, i.e., aclocal must be run.
3111 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3112 (&parse_args): Use --force with aclocal if required and supported.
3113 (&autoreconf_current_directory): Use &run_aclocal.
3115 2003-05-06 Akim Demaille <akim@epita.fr>
3117 Lock autom4te's cache.
3119 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3120 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3121 argument instead of a file name, so that the request file remains
3122 open during the whole autom4te run.
3123 ($icache_file): New.
3124 (&freeze): Lock the $icache_file.
3126 2003-04-29 Derek Price <derek@ximbiot.com>
3128 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3129 seperator with m4_append_uniq(). It doesn't work.
3130 (AT_CLEANUP): Add `;' to end of at_help_all.
3131 (AT_INIT): Allow --keywords to be specified more than once. When
3132 grepping $at_help_all for keywords, use the field and keyword
3133 seperators to ensure a complete keyword match. Alter at_prev handling
3134 to support the new --keywords behavior.
3136 2003-04-27 Karl Berry <karl@freefriends.org>
3138 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3139 align better with others. I also made some of the individual
3140 entries on one line, for brevity and to make it easier for me to
3141 sort my dir-example file in the Texinfo distribution :).
3143 2003-04-12 Jim Meyering <jim@meyering.net>
3145 * NEWS: Mention the new macro.
3146 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3147 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3148 * tests/c.at: Test AC_C_RESTRICT.
3149 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3151 2003-04-08 Akim Demaille <akim@epita.fr>
3153 * bin/ifnames.in: Skip C++ comments.
3156 2003-04-08 Akim Demaille <akim@epita.fr>
3158 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3159 From Ilya Zakharevich.
3161 2003-04-08 Akim Demaille <akim@epita.fr>
3163 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3166 2003-04-01 Derek Price <derek@ximbiot.com>
3168 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3169 from Akim's checkin of 2003-03-29.
3171 2003-04-01 Derek Price <derek@ximbiot.com>
3173 * tests/torture.at (Configuring subdirectories): Add missing
3174 close-quote for Akim's change from 2003-03-28.
3176 2003-04-01 Akim Demaille <akim@epita.fr>
3178 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3179 (AC, AT, MS): these.
3180 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3183 * doc/Makefile.am (CLEANFILES): Adjust.
3184 (TEXI2DVI): Make it --batch.
3186 2003-03-31 Derek Price <derek@ximbiot.com>
3188 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3189 which removed the main loop.
3190 Thanks to Akim Demaille.
3192 2003-03-29 Akim Demaille <akim@epita.fr>
3194 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3196 From Ilya Zakharevich.
3198 2003-03-29 Akim Demaille <akim@epita.fr>
3200 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3201 documentation to read is Autoconf's.
3202 Suggested by Paul Eggert.
3204 2003-03-28 Akim Demaille <akim@epita.fr>
3206 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3207 reading the section "Present But Cannot Be Compiled" when the
3208 header causes problems.
3210 2003-03-28 Akim Demaille <akim@epita.fr>
3212 * tests/torture.at (Configuring subdirectories): Require aclocal
3213 1.4, otherwise the test fails, as it does support configure.ac.
3214 This fixes the "test 40 failed" bug reports.
3216 2003-03-28 Akim Demaille <akim@epita.fr>
3218 * doc/autoconf.texi (C Compiler): `#line' portability.
3219 From Paul Eggert and Nelson H. F. Beebe.
3221 2003-03-27 Derek Price <derek@ximbiot.com>
3223 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3224 layout in order to allow scripting around test groups.
3226 2003-03-27 Derek Price <derek@ximbiot.com>
3228 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3229 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3230 use new diversions in preparation for accepting new arguments and
3231 allowing scripting around tests.
3232 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3234 2003-03-26 Derek Price <derek@ximbiot.com>
3236 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3237 obsolete AC_HELP_STRING.
3238 (AC_HELP_STRING): AU_DEFUN to...
3239 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3240 * tests/m4sh.at (AS_HELP_STRING): New test.
3242 * tests/acgeneral.at: Regenerated.
3244 2003-03-26 Derek Price <derek@ximbiot.com>
3246 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3247 sense. Verbosify the diversion definitions comment.
3249 2003-03-26 Derek Price <derek@ximbiot.com>
3251 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3254 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3256 * doc/autoconf.texi (Present But Cannot Be Compiled):
3257 Grammar fixes and minor rewording. (trivial change)
3259 2003-03-06 Paul Eggert <eggert@twinsun.com>
3261 Work around a problem noted by Nelson H. F. Beebe with coreutils
3262 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3263 2002/05/09) rejects '#line 32768 "configure"' because the line
3265 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3267 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3268 * doc/autoconf.texi (Generating Sources): Document this.
3270 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3272 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3273 file name for the m4 program, when it has an "exe" file extension.
3274 DJGPP's error messages include the error code in brackets -
3275 remove the error code during normalization.
3277 2003-02-28 Akim Demaille <akim@epita.fr>
3279 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3281 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3283 * doc/autoconf.texi (Limitations of Make): Remove the section
3284 about `$<' in inference rules, it was a bogus interpretation of
3285 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3286 Tru64 make in the "target lookup" section.
3287 (Automake): Automake 1.5+ no longer requires special tools to be
3288 present on the developer's host.
3290 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3292 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3293 to a shell that can handle redirection or quoting correctly.
3294 Override SHELL with the shell detected by configure.
3295 Use of $^O suggested by Tim van Holder.
3296 * bin/autom4te.in (BEGIN): Likewise.
3297 * bin/autoreconf.in (BEGIN): Likewise.
3298 * bin/autoscan.in (BEGIN): Likewise.
3299 * bin/autoupdate.in (BEGIN): Likewise.
3300 * bin/ifnames.in (BEGIN): Likewise.
3302 * bin/ifnames.in: Add final newline to help and version messages.
3304 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3305 to cope with DOS-style absolute paths, when constructing
3308 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3309 When constructing paths with IFS=:, quote the path. If we're
3310 constructing a DOS-style absolute path, we don't want to split it
3313 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3316 2003-02-25 Pavel Roskin <proski@gnu.org>
3318 * bin/autoheader.in: Add missing newline when printing
3319 suggestion how change AC_DEFINE call.
3321 2003-02-24 Paul Eggert <eggert@twinsun.com>
3323 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3324 2002-09-01 patch by replacing "test -n" with "test -z".
3325 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3326 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3328 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3329 to fix a mismatch between example and discussion.
3331 2003-02-24 Kevin Ryde <user42@zip.com.au>
3333 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3334 format starting with "-".
3336 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3338 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3339 is not portable inside Makefile.
3341 2003-02-20 Akim Demaille <akim@epita.fr>
3343 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3344 compiler says yeah, but preproc says nope, compiler is right.
3345 Conversely, prompt the reader to send a bug report to the
3346 maintainers of the package, not of Autoconf.
3348 2003-02-20 Klee Dienes <kdienes@apple.com>
3350 * bin/autoreconf.in (autoreconf_current_directory): Properly
3351 handle an empty aclocal.m4.
3353 2003-02-20 Akim Demaille <akim@epita.fr>
3355 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3359 2002-12-23 Paul Eggert <eggert@twinsun.com>
3361 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3362 innocuous variant befor including <limits.h> or <assert.h>. This
3363 works around a bug reported by Albert Chin: HP-UX 11i
3364 (and earlier versions) have a <limits.h> that declares
3365 gettimeofday and many other functions.
3367 2002-12-03 Paul Eggert <eggert@twinsun.com>
3371 * NEWS, configure.ac: Update version.
3373 * doc/fdl.texi: Upgrade to FDL version 1.2.
3375 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3376 nontrivially in main's body, so that f's external declaration is
3377 not optimized away in AIX. This should fix the bug reported by
3379 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3381 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3382 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3383 defined, to support freestanding compilers. This should fix the
3384 bug reported by Momchil Velkov in
3385 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3387 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3388 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3389 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3390 by Simon Josefsson in
3391 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3393 * Makefile.maint (www-gnu): New macro.
3394 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3395 the location has moved.
3397 2002-12-02 Martin Frydl <martin@systinet.com>
3399 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3400 \(.*\) match is too long and there is something more to be checked.
3401 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3403 2002-11-15 Akim Demaille <akim@epita.fr>
3407 * config/install-sh: chmod +x.
3409 * config/move-if-change: Indenting changes.
3410 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3411 * configure.ac (AM_INIT_AUTOMAKE): here.
3414 2002-11-14 Akim Demaille <akim@epita.fr>
3418 * config/config.guess, config/config.sub, config/install-sh:
3419 Update from masters.
3421 2002-11-14 Akim Demaille <akim@epita.fr>
3423 * Makefile.maint: Sync with Bison, i.e.:
3424 (po-check): Scan .l and .y files instead of the
3425 .c and the .h files that they generate. This fixes the bug
3426 reported by Tim Van Holder in:
3427 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3428 Look for N_ as well as for _. Try to avoid matching #define for
3432 2002-11-14 Akim Demaille <akim@epita.fr>
3434 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3435 From Paul Eggert and Albert Chin-A-Young.
3437 2002-11-14 Akim Demaille <akim@epita.fr>
3439 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3440 From Paul Eggert and Albert Chin-A-Young.
3442 2002-11-14 Kevin Ryde <user42@zip.com.au>
3444 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3445 than assigning in main, to avoid HP cc +O3 optimizing it away.
3447 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3449 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3450 option. Process --recheck after parsing all options. Pass -q
3451 option to configure on --recheck.
3452 (AC_OUTPUT): Pass -q from configure to config.status.
3453 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3454 arguments to record.
3455 * doc/autoconf.texi (config.status Invocation): Document
3456 config.status -q option.
3458 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3460 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3461 Makefile.in if Makefile.am exists.
3462 (output): Strip `.am' from Makefiles. Don't
3463 output AC_CONFIG_FILES if no Makefiles were found.
3465 2002-11-07 Akim Demaille <akim@epita.fr>
3467 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3468 (local_updates): New.
3469 * Makefile.maint: Update, from CVS Bison.
3470 (local_updates): New.
3472 2002-11-06 Akim Demaille <akim@epita.fr>
3474 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3475 declaration in extern "C" too.
3476 Reported by Roberto Bagnara.
3478 2002-11-06 Akim Demaille <akim@epita.fr>
3480 * tests/torture.at (Configuring subdirectories): Don't use grep
3482 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3483 Reported by Ezra Peisach.
3485 2002-11-05 Akim Demaille <akim@epita.fr>
3487 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3489 We _have_ to stop using the old compatibility scheme that tried to
3490 avoid useless backslashes because Libtool 1.4.3 contains a
3491 AC_DEFINE([error_t], [int],
3492 [Define to a type to use for \`error_t' if it is not
3493 otherwise available.])
3494 We _have_ to quote the single quote and backslashes with \. The
3495 old compatibility scheme saw that ` was backslashed, and therefore
3496 did not quote the single quote. Hence before this patch, Autoconf
3497 was not compatible with Libtool.
3499 2002-11-04 Paul Eggert <eggert@twinsun.com>
3501 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3502 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3503 LC_NAME, LC_PAPER, LC_TELEPHONE.
3504 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3506 2002-11-04 Akim Demaille <akim@epita.fr>
3510 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3512 * config/texinfo.tex: Update.
3514 2002-11-03 Akim Demaille <akim@epita.fr>
3516 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3518 (&autoreconf): here.
3519 ($help, $make, &parse_args, &autoreconf_current_directory):
3521 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3523 2002-10-31 Bruno Haible <bruno@clisp.org>
3525 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3526 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3527 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3528 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3529 to ac_cv_func_realloc_0_nonnull.
3530 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3532 2002-10-31 Akim Demaille <akim@epita.fr>
3534 The test suite was no longer checking for trailing envvars and files.
3536 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3537 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3539 2002-10-31 Akim Demaille <akim@epita.fr>
3541 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3542 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3543 Make variable, not a shell variable.
3544 Suggested by Bruno Haible.
3546 2002-10-31 Akim Demaille <akim@epita.fr>
3548 * bin/autom4te.in (load_configuration): Reject #args out of any
3551 2002-10-31 Akim Demaille <akim@epita.fr>
3553 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3554 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3555 (_AC_RUN_IFELSE): Use it.
3556 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3557 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3558 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3561 2002-10-30 Akim Demaille <akim@epita.fr>
3563 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3564 * doc/autoconf.texi (autom4te Invocation): Adjust.
3565 Suggested by Tim van Holder.
3567 2002-10-29 Paul Eggert <eggert@twinsun.com>
3569 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3570 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3571 Problem reported by Bruno Haible.
3573 2002-10-29 Akim Demaille <akim@epita.fr>
3575 * doc/autoconf.texi (Header Templates): Put also in words what the
3576 pictures says to assist free style readers.
3577 (Customizing autom4te): s/--cache=/--cache /.
3579 2002-10-29 Akim Demaille <akim@epita.fr>
3581 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3583 sparc_address_test returns void.
3584 Use it with an argument, as prototyped.
3587 2002-10-29 Akim Demaille <akim@epita.fr>
3589 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3590 configure.in, not configure.ac.
3591 Reported by Bruno Haible.
3593 2002-10-29 Akim Demaille <akim@epita.fr>
3595 * tests/torture.at (Deep Package): New test.
3596 (Configuring subdirectories): Don't use a testSubDir as Autotest
3599 2002-10-29 Akim Demaille <akim@epita.fr>
3601 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3602 * doc/autoconf.texi (Invoking autom4te): Rename as...
3603 (autom4te Invocation): this, for consistency with the other nodes.
3605 2002-10-29 Akim Demaille <akim@epita.fr>
3607 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3608 Reported by Ralf Corsepius.
3610 2002-10-29 Akim Demaille <akim@epita.fr>
3612 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3613 characters is a back as an `obsolete' warning now.
3614 Reported by Ralf Corsepius.
3616 2002-10-28 Akim Demaille <akim@epita.fr>
3618 * configure.ac: Bump to 2.54c.
3620 2002-10-28 Akim Demaille <akim@epita.fr>
3624 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3626 2002-10-28 Akim Demaille <akim@epita.fr>
3628 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3629 m4 executable names, and different GNU M4 version.
3630 Reported by Ezra Peisach and Paul Jarc.
3632 2002-10-27 Akim Demaille <akim@epita.fr>
3634 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3637 2002-10-27 Akim Demaille <akim@epita.fr>
3639 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3640 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3641 Die when a simple Fortran program cannot be compiled.
3642 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3643 Issue a warning if no function is given.
3645 2002-10-27 Akim Demaille <akim@epita.fr>
3647 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3648 Move the documentation of AC_TRY_RUN to...
3649 (Obsolete Macros): here.
3650 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3651 (autoconf Invocation): Remove the duplicates with `invoking
3653 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3654 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3656 2002-10-27 Akim Demaille <akim@epita.fr>
3658 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3659 and AC_LANG_FUNC_LINK_TRY.
3660 (Examining Libraries): Rename as...
3661 (Running the Linker): this.
3662 Document AC_LINK_IFELSE.
3663 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3664 (Obsolete Macros): here.
3665 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3666 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3667 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3668 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3670 2002-10-27 Akim Demaille <akim@epita.fr>
3672 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3674 More `check config.log' messages.
3676 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3677 * doc/autoconf.texi (Printing Messages): Document it.
3678 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3680 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3681 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3682 (_AC_COMPILER_OBJEXT): Likewise.
3683 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3684 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3686 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3689 Deprecate macros with unusual interfaces.
3691 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3692 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3694 Document the new ones, and proper style.
3696 * doc/autoconf.texi (Generating Sources): New.
3697 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3698 (Examining Declarations): Rename as...
3699 (Running the Preprocessor): this.
3700 Document AC_PREPROC_IFELSE.
3701 (Examining Syntax): Rename as...
3702 (Running the Compiler): this.
3703 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3704 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3705 AC_TRY_COMPILE here.
3707 2002-10-27 Akim Demaille <akim@epita.fr>
3709 Move sections around.
3711 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3713 Reported by Burno Haible.
3714 (Language Choice): Now the first section of...
3715 (Writing Tests): this section.
3716 Make the introduction less C-centric.
3717 (Guidelines, Test Functions): Move to...
3718 (Writing Test Programs): this new section.
3719 (Test Programs): Merge into...
3722 2002-10-27 Akim Demaille <akim@epita.fr>
3724 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3725 autom4te.in that resulted in the need for two `make' runs.
3727 2002-10-27 Akim Demaille <akim@epita.fr>
3729 * configure.ac: Bump to 2.54b.
3731 2002-10-25 Akim Demaille <akim@epita.fr>
3735 * Makefile.maint: Update from the Coreutils.
3736 (AMTAR): Remove, obsolete.
3737 (automake_repo): Update to redhat.com.
3739 Adjust to the fact that ansi2knr is now hosted by Automake.
3740 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3741 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3742 Update from masters.
3743 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3744 autoscan.pre is not to be installed, and autoscan.list is not to
3746 (CLEANFILES): Add autoscan.list.
3747 (autoscan.list): Disable the cache.
3748 * bin/Makefile.am: Include freeze.mk.
3750 2002-10-25 Akim Demaille <akim@epita.fr>
3752 * bin/autom4te.in (&load_configuration): Take the file as
3754 (&parse_args): Handle -C, --cache.
3756 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3757 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3758 * doc/autoconf.texi (Invoking autom4te): Document --cache.
3759 Now a subsection of...
3760 (Using autom4te): This new section.
3761 (Customizing autom4te): New.
3762 (autom4te.cache): Adjust.
3764 2002-10-25 Akim Demaille <akim@epita.fr>
3766 * doc/autoconf.texi (Generic Headers): More information on how to
3767 use AC_CHECK_HEADERS.
3769 2002-10-25 Akim Demaille <akim@epita.fr>
3771 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3774 2002-10-25 Akim Demaille <akim@epita.fr>
3776 * bin/autoscan.in (output): Output AC_PREREQ.
3777 (%needed_macros): Add AC_PREREQ so that configure.ac without one
3780 2002-10-23 Akim Demaille <akim@epita.fr>
3782 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3785 2002-10-23 Akim Demaille <akim@epita.fr>
3787 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3788 Reported by Peter Eisentraut.
3790 2002-10-23 Akim Demaille <akim@epita.fr>
3792 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3795 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3796 Eggert's recommandations.
3798 2002-10-22 Akim Demaille <akim@epita.fr>
3800 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3801 Bison, by Paul Eggert.
3802 * doc/autoconf.texi (Particular Headers): Document it.
3804 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
3806 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3807 `$ac_configure_args'.
3809 2002-10-22 Akim Demaille <akim@epita.fr>
3811 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3812 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3815 2002-10-22 Akim Demaille <akim@epita.fr>
3817 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
3819 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3820 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3821 (_AC_CHECK_HEADER_NEW): Rename as...
3822 (AC_CHECK_HEADER): this.
3824 2002-10-22 Akim Demaille <akim@epita.fr>
3826 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3827 words about HP-UX cmp: it was actually a user-written cmp.
3829 2002-10-22 Akim Demaille <akim@epita.fr>
3831 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3833 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3834 Quote for Perl '' strings, not "".
3835 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3838 2002-10-22 Akim Demaille <akim@epita.fr>
3840 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3841 characters is a syntax warning now.
3842 (_AS_QUOTE): Accept $2 as list of characters to quote.
3843 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3844 Quote for Perl, not sh.
3845 * bin/autoheader.in: When $debug, report the file which is
3847 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3848 `@', to tickle Perl's lists.
3849 Reported by Carlos Velasco.
3851 2002-10-18 Akim Demaille <akim@epita.fr>
3853 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3854 missing included files _are_ errors.
3855 Thanks to Alexandre Duret-Lutz.
3856 * tests/tools.at (autom4te cache): Adjust.
3857 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3858 (AT_CHECK_M4SUGAR): Use it.
3859 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3861 * tests/tools.at (autom4te): Now it does exit 1.
3863 2002-10-17 Akim Demaille <akim@epita.fr>
3865 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3866 Fixes the `AC_ARG_VAR' test failures.
3867 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3868 * lib/freeze.mk (check-forbidden-patterns): New.
3869 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3870 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
3871 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
3873 Reported months ago by H. Merijn Brand.
3875 2002-10-17 Akim Demaille <akim@epita.fr>
3877 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
3879 2002-10-16 Paul Eggert <eggert@twinsun.com>
3881 * Makefile.maint (wget_files): Remove ansi2knr.c.
3882 (ansi2knr.c-url_prefix): Remove.
3884 2002-10-16 Akim Demaille <akim@epita.fr>
3886 Because of caching, some files that no longer exist and are no
3887 longer required can still cause errors.
3888 Reported by Alexandre Duret-Lutz.
3890 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
3891 to frozen files in @ARGV, as @ARGV must remain being a list of
3892 files. Rather, at M4 call sites, use this...
3893 (&files_to_options): New function.
3894 (&freeze): Use &error.
3895 (&up_to_date): If a file that was included according to the cache
3896 is no longer there, then the output is out dated.
3897 (&main): Don't even check whether a file is up to date is anyway
3899 * tests/tools.at (autom4te cache): New.
3901 2002-10-16 Akim Demaille <akim@epita.fr>
3903 * bin/autoconf.as: Kill dead options.
3904 * bin/autoupdate.in (&parse_args): Kill old options.
3905 * bin/autoreconf.in (&parse_args): Remove dead options.
3907 (&autoreconf): Report the directories we enter *and leave*, so
3908 that error messages can be easily located, and use GNU Make
3909 format, so that Emacs' compile mode understands us.
3910 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
3911 if some file was changed instead of `print'.
3912 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
3913 (&parse_args): Remove the dead options.
3914 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
3915 autoheader's quiet mode.
3916 (AT_CHECK_AUTOUPDATE): Likewise.
3917 * tests/tools.at (autoupdate): Adjust.
3918 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3920 2002-10-11 Akim Demaille <akim@epita.fr>
3922 No longer use CPP to check for the existing of headers: use CC to
3923 check for compilability.
3925 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3926 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
3927 (_AC_CHECK_HEADER_NEW): Rename as...
3928 (AC_CHECK_HEADER): this.
3930 * lib/autotest/general.m4 (AT_INIT): Include the failed test
3931 numbers in the Subject suggestion.
3933 2002-10-11 Akim Demaille <akim@epita.fr>
3935 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
3936 Suggest using AC_CHECK_DECLS instead.
3938 2002-10-11 Akim Demaille <akim@epita.fr>
3940 * tests/torture.at (AC_ARG_VAR): Have configure report the value
3943 2002-10-11 Akim Demaille <akim@epita.fr>
3945 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
3946 file name to enable parallel executions.
3947 From Sam Varshavchik.
3949 2002-10-08 Akim Demaille <akim@epita.fr>
3951 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
3952 aclocal invocation, as Gettext macros might not be visible to
3954 Instead of blindly running autopoint, scan configure.ac (not the
3955 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
3956 Reported by Paul D. Smith.
3958 2002-10-08 Paul Eggert <eggert@twinsun.com>
3960 Work around problems found when POSIXLY_CORRECT=1 is set.
3961 None of this seems to have anything to do with POSIX, really,
3962 but it's how Perl getopt works.
3963 * bin/autom4te.in (parse_args): Configure GetOpt with
3965 * doc/autoconf.texi (Invoking autom4te):
3966 --warning -> --warnings.
3967 * lib/autom4te.in: --warning -> --warnings.
3969 2002-09-28 Akim Demaille <akim@epita.fr>
3971 * doc/autoconf.texi (autom4te.cache): New section.
3973 2002-09-28 Akim Demaille <akim@epita.fr>
3975 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
3976 (Automake-preselections): Update.
3977 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
3979 2002-09-28 Akim Demaille <akim@epita.fr>
3981 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
3982 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
3983 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3984 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
3986 2002-09-28 Akim Demaille <akim@epita.fr>
3988 * tests/torture.at (Configuring subdirectories): Be robust to
3989 users who use config.site to require for a cache: in this case,
3990 the two last configure runs, using two different sets of
3991 arguments, trigger a legitimate error.
3993 2002-09-28 Akim Demaille <akim@epita.fr>
3995 * tests/m4sh.at (Functions Support, Functions and return Support):
3998 2002-09-28 Akim Demaille <akim@epita.fr>
4000 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4001 autoheader are Perl programs.
4002 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4003 (autom4te): Specify that the sources are in the $srcdir.
4004 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4006 2002-09-28 Akim Demaille <akim@epita.fr>
4008 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4009 (tm_zone): Move their rules to...
4010 * lib/autoconf/types.m4: here, using AN_ macros.
4011 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4012 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4013 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4014 * lib/autoconf/programs.m4: here.
4015 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4016 (ETAGS_FOR_AUTOCONF): New.
4019 2002-09-28 Akim Demaille <akim@epita.fr>
4021 * lib/autoconf/autoscan.m4: New file.
4022 * lib/autoconf/autoconf.m4: Include it.
4023 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4024 that were listed in the original autoscan.list.
4025 * lib/autoconf/headers.m4: Similarly with headers.
4026 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4027 (.m4.m4f): Don't pass --prepend-include, since that's done by
4028 tests/autom4te itself.
4029 * lib/autoscan/Makefile.am: Include freeze.mk.
4030 (autoscan.list): New target --this file is no longer a source.
4031 (autoscan.pre): New file.
4033 2002-09-28 Akim Demaille <akim@epita.fr>
4035 * bin/autoscan.in (@kinds): Make them singular.
4037 (&init_tables): When --debug, report the list of rules to ease
4038 tracking changes in autoscan.list.
4039 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4041 2002-09-28 Akim Demaille <akim@epita.fr>
4043 * lib/autoscan/functions, lib/autoscan/headers,
4044 * lib/autoscan/identifiers, lib/autoscan/makevars,
4045 * lib/autoscan/programs: Merge into...
4046 * lib/autoscan/autoscan.list: this.
4047 * bin/autoscan.in (&init_tables): Adjust.
4049 2002-09-28 Akim Demaille <akim@epita.fr>
4051 * lib/autoscan/functions, lib/autoscan/headers,
4052 * lib/autoscan/identifiers, lib/autoscan/makevars,
4053 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4054 `functions' line is now prefixed with `function:'.
4055 * bin/autoscan.in (&init_tables): Adjust.
4057 2002-09-28 Akim Demaille <akim@epita.fr>
4059 From now on, autoscan files must always map a macro name to a
4060 word: there is no `default' macro for autoscan.
4062 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4064 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4067 2002-09-28 Akim Demaille <akim@epita.fr>
4069 * bin/autoscan.in (%c_keywords): Remove.
4070 (&used): Keep only track of the words we might be interested in.
4071 (&output_kind): It is no longer needed to look for non active
4074 2002-09-27 Akim Demaille <akim@epita.fr>
4076 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4077 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4078 * lib/autoscan/functions: Adjust.
4079 * doc/autoconf.texi (Particular Functions): Adjust.
4081 2002-09-27 Akim Demaille <akim@epita.fr>
4083 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4085 Thanks to Bill Moseley and Paul Eggert.
4086 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4087 the tmpdir must be created.
4088 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4089 dir be in the build tree, instead of $TMPDIR.
4091 2002-09-27 Akim Demaille <akim@epita.fr>
4093 * bin/autoscan.in: Improve the comments.
4094 (&parse_args): Drop obsolete undocumented options.
4095 (&output_kind): Output warnings.
4096 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4097 (getwd): Trigger a warning.
4099 2002-09-26 Akim Demaille <akim@epita.fr>
4101 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4102 Reported by Ralf Corsepius.
4103 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4105 2002-09-26 Akim Demaille <akim@epita.fr>
4107 Single suffix rules and seperated dependencies are not portable.
4109 * doc/autoconf.texi (Installation Directory Variables): Update.
4110 (Limitations of Make): Some about `Single Suffix Rules and
4111 Separated Dependencies'.
4112 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4113 (ifnames, autoscan, autom4te): Un-factor into several rules.
4115 2002-09-25 Paul Eggert <eggert@twinsun.com>
4117 * BUGS (Interoperability bugs): New section. Mention libtool
4118 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4120 2002-09-24 Paul Eggert <eggert@twinsun.com>
4122 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4123 make handles suffix-rules differently from GNU make.
4125 * bin/Makefile.am (SUFFIXES, .in): Remove.
4126 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4127 Move the body of the old .in rule here.
4129 2002-09-16 Akim Demaille <akim@epita.fr>
4131 i960 compilers create `b.out' files by default.
4132 Reported by Ralf Corsepius.
4134 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4135 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4137 2002-09-13 Paul Eggert <eggert@twinsun.com>
4139 * doc/autoconf.texi (Particular Headers): Remove obsolete
4140 reference to `struct timezone' in the description of
4143 2002-09-13 Akim Demaille <akim@epita.fr>
4147 * config/config.sub, config/config.guess: Update.
4148 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4149 * Makefile.am: Adjust.
4151 2002-09-13 Akim Demaille <akim@epita.fr>
4153 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4154 reading config.log when the compiler is rejected.
4155 Suggested by Guido Draheim.
4157 2002-09-13 Akim Demaille <akim@epita.fr>
4159 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4160 (chdir_init) might hang when stat'ing mounted directories.
4161 Reported by Vance Shipley.
4163 2002-09-12 Akim Demaille <akim@epita.fr>
4165 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4168 2002-09-12 Akim Demaille <akim@epita.fr>
4170 * doc/autoconf.texi (Defining Symbols): Present two different
4171 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4172 difference between 1 argument calls, and 2-3 argument calls.
4174 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4176 * doc/autoconf.texi: Review grammar and punctuation.
4178 2002-09-11 Paul Eggert <eggert@twinsun.com>
4180 * doc/autoconf.texi: Fix minor formatting, spelling, and
4182 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4183 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4186 2002-09-11 Akim Demaille <akim@epita.fr>
4188 * doc/autoconf.texi (Questions): Rename as...
4190 (Defining Directories): New.
4192 2002-09-09 Akim Demaille <akim@epita.fr>
4194 * doc/autoconf.texi (Making testsuite Scripts): Update.
4195 Suggested by Nishio Futoshi.
4197 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4199 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4200 plain `@' is wanted.
4202 2002-09-09 Akim Demaille <akim@epita.fr>
4204 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4205 `duplicates', since the algorithm was too naive and could keep
4206 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4207 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4208 Reported by Ralf Corsepius.
4209 * tests/torture.at (Configuring subdirectories): Exercise these
4212 2002-09-09 Akim Demaille <akim@epita.fr>
4214 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4215 looking for a replacement file.
4216 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4217 directory is relative.
4218 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4219 directory definition.
4220 Reported by Andreas Schwab and Jim Meyering.
4222 2002-09-06 Akim Demaille <akim@epita.fr>
4224 * doc/autoconf.texi (Setting Output Variables): Clarify what
4225 precious variables are.
4226 Suggested by Pontus Skoeld.
4228 2002-09-05 Akim Demaille <akim@epita.fr>
4230 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4231 (ifnames, autoscan, autom4te): Since we don't only depend on
4232 configure.ac variables (such as VERSION etc.), but also on prefix
4233 and so forth, depend on Makefile, not configure.ac.
4234 Reported by Alexandre Duret-Lutz.
4235 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4237 2002-09-05 Kevin Ryde <user42@zip.com.au>
4239 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4240 doesn't seem to be confined to ia64, just say "some versions".
4242 2002-09-04 Akim Demaille <akim@epita.fr>
4244 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4246 * Makefile.am (maintainer-clean-local): Remove.
4247 (MAINTAINERCLEANFILES): Remove COPYING.
4249 2002-09-03 Paul Eggert <eggert@twinsun.com>
4251 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4252 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4255 2002-09-03 Akim Demaille <akim@epita.fr>
4257 * configure.ac: Bump to 2.53d.
4258 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4259 as of today, on Automake's team suggestion.
4261 2002-09-03 Akim Demaille <akim@epita.fr>
4265 2002-09-02 Akim Demaille <akim@epita.fr>
4267 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4269 * configure.ac: Disable SITE_MACRO_DIR.
4271 2002-09-02 Jim Meyering <meyering@lucent.com>
4273 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4274 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4275 Also, tweak grammar: s/make sure to/be sure to/.
4277 2002-09-02 Paul Eggert <eggert@twinsun.com>
4279 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4280 directory names are generally preferable to physical names.
4282 2002-09-02 Akim Demaille <akim@epita.fr>
4284 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4285 Reported by Raja R. Harinath.
4286 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4287 * bin/autoupdate.in: Use error instead of die.
4289 2002-09-01 Paul Eggert <eggert@twinsun.com>
4291 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4292 ordinary shell concatenation rather than echo+tr+sed command that
4293 runs afoul of a long-line-related sed bug in Solaris 8.
4295 * bin/autoheader.in (parse_args): --warning -> --warnings.
4297 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4298 stdout, as traditional "ls" does.
4299 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4300 _AC_COMPILER_EXEEXT_O): Likewise.
4301 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4303 * bin/autoconf.as: Add --prepend-include option. This patch was
4304 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4305 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4307 * bin/autoconf.in, configure: Regenerate.
4309 * doc/autoconf.texi (Special Shell Variables): Mention
4310 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4312 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4313 MAILPATH and set PS1, PS2, PS4 to default values, to work
4314 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4315 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4316 the Autoconf documentation specifies; fall back to "unset" only if
4317 this fails. Use a shell for-loop for this rather than an m4 loop,
4318 to shorten the output script.
4320 2002-08-30 Paul Eggert <eggert@twinsun.com>
4322 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4323 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4324 for the CDPATH problem. Document PWD.
4325 (Limitations of Builtins): Document the problem that "cd $foo" and
4326 "ls $foo" may refer to different directories in shells conforming
4327 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4328 example, since the old example is now out of date.
4330 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4331 FOO" and "ls FOO" talk about different directories; this catches
4332 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4335 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4336 of rolling our own unset.
4337 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4338 in practice we needn't worry about CDPATH if unset doesn't work.
4340 * Makefile.in, aclocal.m4, bin/Makefile.in,
4341 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4342 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4343 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4344 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4345 tests/Makefile.in: Regenerate with Automake 1.6.3.
4347 * config/config.guess, config/config.sub, config/mkinstalldirs:
4350 * configure: Regenerate with self.
4352 2002-08-30 Kevin Ryde <user42@zip.com.au>
4354 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4357 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4359 * bin/autom4te.in (Request::load): Correctly test for "do" read
4362 2002-08-29 Akim Demaille <akim@epita.fr>
4364 * lib/Autom4te/General.pm (&xqx): New.
4365 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4366 hand, which is not portable.
4368 * bin/autom4te.in: Use them.
4369 Use &error instead of die.
4370 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4373 2002-08-17 Paul Eggert <eggert@twinsun.com>
4375 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4376 default list of compilers to try, since it was long ago superseded
4377 by the ksh fc builtin. Suggested by Steven G. Johnson.
4379 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4381 * doc/autoconf.texi (Invoking autom4te): End the option table,
4382 fixing a bug introduced by the previous patch.
4383 (Limitations of Make): Add a 'target lookup' subentry in the
4384 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4386 2002-07-29 Mark D. Roth <roth@feep.net>
4388 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4389 options and use $AUTOM4TE_PATH.
4390 * doc/autoconf.texi: Remove documentation of autom4te
4391 --include-envvar and --site-macro-subdir options and document
4392 use of $AUTOM4TE_PATH.
4393 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4394 arguments from each language section.
4396 2002-07-29 Paul Eggert <eggert@twinsun.com>
4398 * doc/install.texi: Include copyright symbol in copyright notice.
4400 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4402 (AM_MAKEINFOFLAGS): New macro.
4403 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4404 * Makefile.am (INSTALL): Use the new macros.
4405 Use -o rather than --output, since "missing" does not grok --output.
4407 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4409 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4410 comments do not always work. Never trust the exit status of
4413 2002-07-24 Kevin Ryde <user42@zip.com.au>
4415 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4416 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4418 2002-07-23 Paul Eggert <eggert@twinsun.com>
4420 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4421 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4422 apparently treats PATH="nonexistent" as if it contained ".".
4423 Bug reported by Stefan `Sec' Zehl.
4425 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4427 * doc/autoconf.texi (Limitations of Make): Mention the special
4428 handling of the obj/ directory by BSD make.
4430 2002-07-20 Kevin Ryde <user42@zip.com.au>
4432 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4435 2002-07-19 Akim Demaille <akim@epita.fr>
4437 * doc/autoconf.texi (Function Portability): `exit'.
4438 (Programming in M4sh): Ethymology of M4sh.
4440 2002-07-19 Akim Demaille <akim@epita.fr>
4442 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4444 2002-07-18 Akim Demaille <akim@epita.fr>
4448 2002-07-18 Akim Demaille <akim@epita.fr>
4450 * config/config.guess, config/config.sub: Update.
4452 2002-07-18 Akim Demaille <akim@epita.fr>
4454 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4457 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4458 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4459 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4461 2002-07-18 Akim Demaille <akim@epita.fr>,
4462 Alexandre Duret-Lutz <duret_g@epita.fr>
4464 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4465 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4467 2002-07-17 Russ Allbery <rra@stanford.edu>
4469 * doc/autoconf.texi (Initializing configure): Clarify the
4470 description of the tarname default.
4472 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4474 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4475 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4478 2002-07-17 Akim Demaille <akim@epita.fr>
4480 * lib/Autom4te/General.pm (find_file): Browse the directories in
4481 the order they are given.
4483 2002-07-17 Akim Demaille <akim@epita.fr>
4485 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4486 * tests/wrapper.as: this.
4487 * tests/Makefile.am, configure.ac: Adjust.
4489 2002-07-17 Mark D. Roth <roth@feep.net>
4491 * configure.ac: Add --enable-site-macro-dir option.
4492 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4493 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4494 --site-macro-subdir options.
4495 * bin/autoconf.in: Add --prepend-include option.
4496 * bin/autoheader.in: Add --prepend-include option.
4497 * bin/autoreconf.in: Add --prepend-include option.
4498 * bin/autoscan.in: Add --prepend-include option.
4499 * bin/autoupdate.in: Add --prepend-include option.
4500 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4501 macro directory, remove note that include path directories are
4502 used in reverse order, and document --prepend-include option.
4503 * lib/autom4te.in: Use --prepend-include instead of --include.
4504 * tests/wrapsh.in: Use --prepend-include instead of --include.
4506 2002-07-17 Akim Demaille <akim@epita.fr>
4508 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4510 * doc/autoconf.texi (Initializing configure): Adjust.
4512 2002-07-17 Akim Demaille <akim@epita.fr>
4514 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4515 (_AC_FUNC_MALLOC): New.
4516 (AC_FUNC_MALLOC): Use the latter.
4517 Define HAVE_MALLOC to 0 if broken.
4518 * doc/autoconf.texi (Particular Functions): Adjust.
4520 2002-07-16 Akim Demaille <akim@epita.fr>
4522 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4523 * doc/autoconf.texi (C Compiler): Adjust.
4525 2002-07-09 Akim Demaille <akim@epita.fr>
4527 * doc/autoconf.texi: Properly set the ``header'' part.
4529 2002-07-09 Akim Demaille <akim@epita.fr>
4531 * doc/autoconf.texi (Systemology): Some about Darwin.
4533 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4535 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4536 Don't use AC_REQUIRE in AU_DEFUN.
4538 2002-07-09 Art Haas <ahaas@neosoft.com>
4540 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4542 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4544 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4545 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4546 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4547 so that Emacs setups GNU style for perl-mode and cperl-mode.
4549 2002-06-27 Paul Eggert <eggert@twinsun.com>
4551 * config/install-sh: Quote $src. Prefer || to test's -o option,
4552 as per "Limitations of Builtins".
4553 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4554 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4556 * tests/mktests.sh: Use grep instead of fgrep, as per
4557 "Limitations of Builtins".
4559 2002-06-15 Paul Eggert <eggert@twinsun.com>
4561 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4562 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4563 so that we consistently test the just-built programs.
4564 * tests/wrappl.as: Likewise.
4566 2002-06-12 Paul Eggert <eggert@twinsun.com>
4568 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4569 name, so that symlinks to 'autoconf' work properly. Bug reported
4571 * bin/autoheader.in (AUTOM4TE): Likewise.
4572 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4573 * bin/autoscan.in (autom4te): Likewise.
4574 * bin/autoupdate.in (autom4te): Likewise.
4576 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4577 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4580 2002-06-11 Andreas Schwab <schwab@suse.de>
4582 * doc/autoconf.texi: Add more dir entries.
4584 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4586 * bin/autom4te.in ($cache): Don't define using `$me', the name
4587 of the cache should not depend on the name under which autom4te
4590 2002-06-07 Akim Demaille <akim@epita.fr>
4592 * tests/tools.at (autoconf: forbidden tokens, basic)
4593 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4594 words in autom4te.in.
4596 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4598 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4599 _AC_LANG_PROGRAM_C_F77_HOOKS.
4601 2002-06-07 Akim Demaille <akim@epita.fr>
4603 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4605 (AC_REPLACE_FNMATCH): this.
4606 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4607 AC_FUNC_FNMATCH_GNU.
4609 2002-06-07 Akim Demaille <akim@epita.fr>
4611 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4612 Rosetta Stone for Unix.
4614 2002-06-07 Akim Demaille <akim@epita.fr>
4616 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4617 suggest m4_pattern_allow.
4618 Suggested by Adam J. Richter.
4620 2002-06-07 Akim Demaille <akim@epita.fr>
4622 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4623 ac_config_libobj_dir.
4624 (AC_CONFIG_LIBOBJ_DIR): New.
4625 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4626 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4627 Use ac_config_libobj_dir to find the replacement files.
4628 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4629 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4630 (AC_REPLACE_FNMATCH_GNU): these.
4631 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4632 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4633 * tests/mktests.sh (ac_exclude_list): Don't check
4634 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4636 2002-06-06 Paul Eggert <eggert@twinsun.com>
4638 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4641 * doc/autoconf.texi (Configuration Links): Likewise.
4642 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4644 2002-06-05 Paul Eggert <eggert@twinsun.com>
4646 * config/config.guess, config/config.sub, config/texinfo.tex:
4647 Update from masters.
4649 2002-05-29 Paul Eggert <eggert@twinsun.com>
4651 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4652 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4653 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4655 * lib/autoconf/Makefile.am (check-local): Likewise.
4656 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4657 * lib/autoconf/types.m4 (commentary only): Likewise.
4658 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4659 * lib/autotest/Makefile.am (check-local): Likewise.
4660 * lib/m4sugar/Makefile.am (check-local): Likewise.
4661 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4662 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4664 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4665 * doc/autoconf.texi (Particular Programs): Document them.
4666 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4669 2002-05-27 Paul Eggert <eggert@twinsun.com>
4671 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4672 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4673 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4674 instead of AC_MBSTATE_T, which never existed.
4676 2002-05-23 Akim Demaille <akim@epita.fr>
4678 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4679 version of Autoconf that is discussed.
4681 2002-05-22 Paul Eggert <eggert@twinsun.com>
4683 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4684 from the default list of compilers to try. Suggested by
4686 * NEWS: Document the above.
4687 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4689 2002-05-17 Paul Eggert <eggert@twinsun.com>
4691 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4692 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4693 This improves on an earlier suggestion by H. Peter Anvin.
4695 2002-05-16 Paul Eggert <eggert@twinsun.com>
4697 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4698 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4699 Both macros now accept an optional source-dir arg.
4700 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4702 * NEWS: Document this.
4703 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4705 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4706 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4707 not for GNU extensions; this undoes part of the 2000-11-03 change,
4708 reverting to 2.13-compatible behavior.
4709 Add new optional argument DIR.
4710 (AC_FUNC_FNMATCH_GNU): New macro.
4712 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4714 2002-05-08 Paul Eggert <eggert@twinsun.com>
4716 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4717 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4718 and it causes a 'test' syntax error if it fails.
4719 Bug reported by Stephen Gildea.
4721 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4722 If prototypes are supported, use them to check this at compile-time,
4723 instead of trying to check it at run-time. If we must do a run-time
4724 check, assume that setvbuf is standard when cross-compiling, as
4725 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4726 Bug reported by Paul D. Smith.
4728 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4729 argument specifying location of getloadavg.c. This removes a
4730 FIXME. This idea was taken from Jim Meyering's implementation in
4732 * doc/autoconf.texi (Particular Functions): Document this.
4733 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4734 that's what the code does; this fixes a bug reported by
4737 2002-05-03 Akim Demaille <akim@epita.fr>
4739 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4740 autopoint instead of gettextize.
4741 ($uses_alocal): Rename as...
4742 ($uses_aclocal): this.
4743 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4744 Suggested by Bruno Haible.
4746 2002-05-03 Akim Demaille <akim@epita.fr>
4748 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4750 2002-04-29 Paul Eggert <eggert@twinsun.com>
4752 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4753 files to be 1 second older; just set them to be the same time.
4754 Also, sleep 1 second after the first aclocal, to work around
4755 problems with sub-second time stamps on the input files.
4757 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
4759 * doc/autoconf.texi: Mention "set -e -x" lossage
4760 under node "Limitations of Builtins".
4762 2002-04-29 Akim Demaille <akim@epita.fr>
4764 * doc/install.texi: Better wording for setting variables when
4766 From Christian Cornelssen.
4768 2002-04-29 Akim Demaille <akim@epita.fr>
4770 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4771 of lack of $LINENO support, then the test will compare the $LINENO
4772 in testsuite vs. the lineno in the test file. This is wrong, of
4774 Be sure to protect it.
4775 Reported by Patrick Welche.
4777 2002-04-25 Akim Demaille <akim@epita.fr>
4779 * doc/autoconf.texi (Obsolete Macros): Typo.
4780 Reported by Vladimir Volovich.
4782 2002-04-25 Akim Demaille <akim@epita.fr>
4784 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4785 than some of the input files, hence, on the second run of aclocal,
4786 if some of its input are younger, make them older.
4787 Suggested by Paul Eggert.
4789 2002-04-25 Akim Demaille <akim@epita.fr>
4791 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4792 Thanks to Paul Eggert.
4794 2002-04-25 Akim Demaille <akim@epita.fr>
4796 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4797 and ac_subst_vars be sh variables containing the list of
4798 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
4800 (_AC_INIT_PREPARE): Use them to log them.
4801 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4802 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4803 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4804 _AC_SUBST_FILES and _AC_SUBST_VARS.
4805 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4807 2002-04-24 Akim Demaille <akim@epita.fr>
4809 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4810 autoheader, so that automake does not complain about a missing
4811 config.h.in that was to be created.
4813 2002-04-23 Akim Demaille <akim@epita.fr>
4815 * bin/autoheader.in (parse_args): --warning takes an argument.
4818 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
4820 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4821 and bb.out when cleaning up.
4823 2002-04-22 Akim Demaille <akim@epita.fr>
4827 2002-04-22 Akim Demaille <akim@epita.fr>
4829 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4831 2002-04-22 Akim Demaille <akim@epita.fr>
4833 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4835 Reported by Gregory Giannoni.
4837 2002-04-22 Akim Demaille <akim@epita.fr>
4839 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4840 Fixes false failures on Darwin.
4842 2002-04-21 Paul Eggert <eggert@twinsun.com>
4844 * TODO, bin/autoupdate.in, doc/autoconf.texi,
4845 lib/autoconf/general.m4, lib/autoconf/libs.m4,
4846 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4847 tests/tools.at: Minor spelling and grammar fixes.
4849 2002-04-20 Paul Eggert <eggert@twinsun.com>
4851 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4852 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
4853 * lib/autotest/general.m4 (AT_INIT): Likewise.
4854 * tests/atgeneral.m4 (AT_INIT): Likewise.
4856 2002-04-19 Paul Eggert <eggert@twinsun.com>
4858 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4859 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4860 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4861 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4862 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4863 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4864 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4865 Minor spelling and grammar fixes.
4867 * doc/autoconf.texi: Follow the outline suggested in the GNU
4868 Sample Texts sections of the Texinfo 4.2 manual. Most
4869 importantly, this makes sure that the copyright notices appear in
4870 all output formats. You probably need Texinfo 4.2 to generate
4873 Fix some bugs when using "$@" when there might be zero positional
4874 arguments in cases where this matters.
4876 * bin/autoconf.as: Rewrite so that the problem does not come up.
4877 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
4878 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
4879 * lib/autotest/general.m4 (AT_INIT): Likewise.
4881 * bin/autoheader.in: Use 'case' statement to work around problem.
4882 * bin/auto4mte.in: Likewise.
4883 * bin/autoreconf.in: Likewise.
4884 * bin/autoscan.in: Likewise.
4885 * bin/autoupdate.in: Likewise.
4886 * bin/ifnames.in: Likewise.
4888 * doc/autoconf.texi (Shell Substitutions): Document the problem.
4890 * lib/autotest/general.m4 (AT_INIT):
4891 Use Zsh alias to work around problem.
4892 * tests/atgeneral.m4 (AT_INIT): Likewise.
4894 * tests/c.at: We can't have zero arguments, so remove workaround
4895 that is not portable to Zsh.
4897 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4899 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
4900 from aclocal.m4 too.
4902 2002-04-12 Akim Demaille <akim@epita.fr>
4904 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
4906 2002-04-10 Akim Demaille <akim@epita.fr>
4908 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
4909 workaround for ${1+"$@"}.
4910 * doc/autoconf.texi (Shell Substitutions): Explain it.
4911 From Oliver Kiddle and Peter Stephenson.
4913 Have M4sh perform minimal shell sanitizing.
4915 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
4917 (_AS_PREPARE): this new macro.
4919 (AS_INIT): Invoke AS_SHELL_SANITIZE.
4920 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
4922 Adjust Autoconf and Autotest.
4924 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
4925 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
4926 * lib/autotest/general.m4 (AT_INIT): Likewise.
4927 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4928 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
4931 Use this M4sh to generate Autoconf's shell scripts.
4933 * tests/wrapsh.as: New, precursor of wrapsh.in.
4934 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
4935 on Autotest and M4sh.
4936 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
4937 (wrapsh.in): New target.
4938 * bin/autoconf.as: New, precursor of autoconf.in.
4939 (autoconf.in): New target.
4941 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4943 * doc/autoconf.texi (Limitations of Make): Mention the issue
4944 with indented comments in rules.
4946 2002-04-09 Andreas Schwab <schwab@suse.de>
4948 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
4949 ac_top_builddir when setting ac_abs_top_builddir.
4951 2002-04-06 Kevin Ryde <user42@zip.com.au>
4953 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
4954 (Portable Shell): Cross reference to Systemology.
4956 2002-04-05 Akim Demaille <akim@epita.fr>
4958 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
4959 directories when descending in a SUBDIRS.
4960 Reported by Ezra Peisach.
4962 2002-04-04 Andreas Schwab <schwab@suse.de>
4964 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
4965 contains no literal separators.
4967 2002-04-03 Akim Demaille <akim@epita.fr>
4969 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
4970 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
4971 Use dnl, not the KILL diversion.
4973 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
4974 (AC_CONFIG_LINKS): here.
4976 Don't use the KILL diversion, as it kills spurious output, which
4977 results in failures being hidden.
4978 Use m4_defn where appropriate.
4979 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
4980 after the second argument.
4982 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
4983 syntax, as it is provided by M4sugar.
4984 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
4986 2002-04-03 Andreas Schwab <schwab@suse.de>
4988 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
4989 expanded if $# <= 2.
4991 * bin/autoreconf.in (autoreconf): Run automake after rerunning
4994 2002-04-03 Akim Demaille <akim@epita.fr>
4996 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
4997 (_AC_COMPILER_EXEEXT_REJECT): New.
4998 Also recognize *.bb and *.bbg as compilation byproducts.
4999 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5000 (_AC_COMPILER_OBJEXT): Use them.
5001 Fixes Debian #138666.
5003 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5005 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5007 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5008 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5009 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5010 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5012 (AC_C_INLINE): Same.
5013 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5014 * doc/autoconf.texi, NEWS: Document.
5015 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5018 2002-04-02 Akim Demaille <akim@epita.fr>
5020 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5021 _AS_MKDIR_P_PREPARE.
5023 2002-03-28 Kevin Ryde <user42@zip.com.au>
5025 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5026 to avoid versions of HP C which don't allow that.
5028 2002-03-27 Paul Eggert <eggert@twinsun.com>
5030 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5031 (AS_SHELL_SANITIZE): Invoke it.
5032 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5034 2002-03-26 Akim Demaille <akim@epita.fr>
5036 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5038 2002-03-26 Akim Demaille <akim@epita.fr>
5040 * doc/autoconf.texi (Introduction): The GNATS base moved.
5042 2002-03-25 Paul Eggert <eggert@twinsun.com>
5044 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5045 as POSIX requires, as it doesn't work with Zsh.
5046 * doc/autoconf.texi (Assignments): Document the problem.
5048 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5050 * doc/autoconf.texi (Limitations of Make): Mention more issue
5051 about VPATH, overriding of macros in sub-makes, and handling of
5054 2002-03-21 Paul Eggert <eggert@twinsun.com>
5056 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5057 problem with here-document buffer boundaries.
5059 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5060 when reinvoking the shell, to work around problems with installers
5061 who put strange things like "cd" commands in their environments.
5063 2002-03-19 Akim Demaille <akim@epita.fr>
5065 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5068 2002-03-19 Akim Demaille <akim@epita.fr>
5070 * bin/autoscan.in (scan_file): Specify the location in `&used'
5074 2002-03-19 Akim Demaille <akim@epita.fr>
5076 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5077 From Nishio Futoshi.
5079 2002-03-19 Akim Demaille <akim@epita.fr>
5081 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5083 2002-03-18 Paul Eggert <eggert@twinsun.com>
5085 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5086 (Limitations of Usual Tools): Add mkdir section.
5088 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5089 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5090 back on AS_DIRNAME to compute prefixes otherwise; this is
5091 roughly what mkinstalldirs does. That way, we need not have
5092 our own filename disassembler. The old disassembler did not
5093 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5095 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5096 Create at_test_all by a series of assignments,
5097 not by a single assignment of a long string. The latter causes ksh
5098 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5099 presumably because of a buffer overrun.
5101 2002-03-14 Paul Eggert <eggert@twinsun.com>
5103 * lib/autotest/general.m4 (at_times_skip):
5104 Renamed from at_times. Now a boolean.
5105 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5106 says 'times: not found'.
5108 2002-03-14 Akim Demaille <akim@epita.fr>
5110 * bin/autoreconf.in (&study_gettextize): New.
5111 (&autoreconf): Handle newest gettextize.
5112 Rerun aclocal if needed.
5113 Suggested by Andreas Schwab.
5115 2002-03-13 Akim Demaille <akim@epita.fr>
5117 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5119 2002-03-13 Akim Demaille <akim@epita.fr>
5121 * doc/autoconf.texi (Header Portability): New.
5122 Add information about stdint.h and inttypes.h from Paul Eggert.
5124 2002-03-13 Akim Demaille <akim@epita.fr>
5126 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5130 2002-03-12 Akim Demaille <akim@epita.fr>
5132 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5135 2002-03-11 Andreas Schwab <schwab@suse.de>
5137 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5138 does not do it if --with-lispdir is given.
5140 2002-03-08 Akim Demaille <akim@epita.fr>
5144 2002-03-08 Akim Demaille <akim@epita.fr>
5146 * doc/autoconf.texi (Subdirectories): Clarify that the
5147 subdirectory should exist.
5149 2002-03-08 Akim Demaille <akim@epita.fr>
5151 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5153 2002-03-08 Akim Demaille <akim@epita.fr>
5155 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5156 aliases the actual variables, and modifications of the former
5159 2002-03-08 Akim Demaille <akim@epita.fr>
5161 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5162 because of C-c: have m4 output in tmp files, then mv them.
5164 2002-03-08 Akim Demaille <akim@epita.fr>
5166 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5167 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5168 * bin/ifnames.in: Copyright update.
5170 2002-03-08 Akim Demaille <akim@epita.fr>
5172 * doc/autoconf.texi (Invoking autom4te): New.
5174 2002-03-05 Akim Demaille <akim@epita.fr>
5176 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5179 2002-03-05 Akim Demaille <akim@epita.fr>
5183 2002-03-04 Akim Demaille <akim@epita.fr>
5185 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5186 * lib/autoconf/general.m4 (AC_INIT): More informative error
5189 2002-03-04 Akim Demaille <akim@epita.fr>
5191 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5194 2002-03-04 Akim Demaille <akim@epita.fr>
5196 * doc/autoconf.texi (Transforming Names): Equality between target
5197 and host is irrelevant.
5198 (Specifying Names, Canonicalizing): Remove all references to the
5199 backward compatibility hooks. Rather, collect them all into...
5200 (Hosts and Cross-Compilation): this new section.
5201 * doc/install.texi (System Type): Ditto.
5202 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5203 that `--host' implies cross-compilation.
5205 2002-03-04 Akim Demaille <akim@epita.fr>
5207 * doc/autoconf.texi (Evaluation Macros): New.
5208 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5210 (_m4_foreach): Define the variant with immediate evaluation so
5211 that it contains exactly the items, not an expression which
5212 evaluation is the current item.
5213 (m4_re_string, m4_re_word): Don't over quote them.
5215 2002-03-04 Akim Demaille <akim@epita.fr>
5217 Instead of having stacking `shift's evaluated at the end, let
5218 `foreach' loops immediately evaluate them.
5220 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5221 $*. This is the n-th time I change my mind, but hopefully this is
5224 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5226 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5227 it was only a hack for m4_text_wrap.
5228 (m4_car2): Remove, replaced by...
5230 (_m4_foreach): Adjust.
5231 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5232 m4_bpatsubst for clarification.
5234 2002-03-04 Akim Demaille <akim@epita.fr>
5236 * doc/autoconf.texi (Changequote is Evil): New.
5238 2002-03-03 Kevin Ryde <user42@zip.com.au>
5240 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5241 on old systems like SunOS.
5243 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5245 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5246 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5247 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5248 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5251 2002-02-28 Akim Demaille <akim@epita.fr>
5253 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5256 2002-02-28 Kevin Ryde <user42@zip.com.au>
5258 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5260 2002-02-25 Akim Demaille <akim@epita.fr>
5262 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5265 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5267 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5268 translate \r\n to \n.
5270 2002-02-07 Akim Demaille <akim@epita.fr>
5274 2002-02-07 Akim Demaille <akim@epita.fr>
5276 Fix Autoconf PR/209.
5277 Also reported by Frank Denis.
5279 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5281 2002-02-07 Akim Demaille <akim@epita.fr>
5283 Fix Autoconf PR/207:
5284 AC_PREFIX_PROGRAM fails with dashed program names
5286 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5287 variable when looking for the prefix program.
5288 Now it also works for shell variables.
5290 2002-02-07 Akim Demaille <akim@epita.fr>
5292 * doc/autoconf.texi (Limitations of Builtins): More about
5295 2002-02-06 Akim Demaille <akim@epita.fr>
5297 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5298 case/esac, some shells don't support it.
5299 Reported by Zack Weinberg.
5300 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5302 2002-02-06 Akim Demaille <akim@epita.fr>
5304 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5305 sure not to introduce newlines in at_groups.
5306 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5308 2002-02-06 Akim Demaille <akim@epita.fr>
5310 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5313 2002-02-05 Paul Eggert <eggert@twinsun.com>
5315 * doc/autoconf.texi (Specific Compiler Characteristics):
5316 Describe HP-UX cc bug workaround more accurately.
5317 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5319 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5320 cross-compilers, too. This undoes some of the most recent change
5323 2002-02-05 Akim Demaille <akim@epita.fr>
5325 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5326 to make sure they are up to date when `check' is run.
5328 2002-02-05 Akim Demaille <akim@epita.fr>
5330 * doc/autoconf.texi (Making testsuite Scripts): Document
5333 2002-02-05 Akim Demaille <akim@epita.fr>
5335 * lib/freeze.mk: New.
5337 2002-02-05 Akim Demaille <akim@epita.fr>
5339 Implement `autom4te --freeze'.
5341 * bin/autom4te.in (&freeze): New.
5342 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5343 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5345 2002-02-05 Akim Demaille <akim@epita.fr>
5347 * bin/autom4te.in (&parse_args): Implement `frozen files are
5348 optional are the sum of the previous files on the command line'.
5349 Also, pass `--reload-state=' on them, so...
5351 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5352 (M4sh): Rely on M4sugar.
5353 (Autotest, M4sh, M4sugar): Use frozen files.
5355 2002-01-31 Akim Demaille <akim@epita.fr>
5357 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5358 * doc/autoconf.texi (Initializing configure): Adjust.
5360 2002-01-30 Akim Demaille <akim@epita.fr>
5362 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5363 alphanumeric to `-' instead of `_'.
5365 2002-01-30 Akim Demaille <akim@epita.fr>
5367 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5368 for plain code, the other for cross-compilation code. The latter
5369 is now run with GCC only.
5370 * doc/autoconf.texi (Compilers and Preprocessors): New.
5372 2002-01-30 Akim Demaille <akim@epita.fr>
5374 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5376 * doc/autoconf.texi (Initializing configure): Explain how to
5377 change AC_INIT default values.
5379 2002-01-29 Akim Demaille <akim@epita.fr>
5381 * tests/torture.at (Configuring subdirectories): Use configure.in,
5382 so that aclocal 1.4 works.
5383 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5385 2002-01-28 Akim Demaille <akim@epita.fr>
5387 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5390 2002-01-28 Akim Demaille <akim@epita.fr>
5392 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5393 AUTOTEST_PATH *after* it was set.
5394 Don't put `.' in the PATH: the user should be precise and `./' if
5395 needed. In addition, given that the test suite does some `cd', if
5396 `.' is in the path, the `tested programs' sections will report
5397 programs found in the test suite's directory, while during the
5398 tests (performed in their own directory), these programs are no
5399 longer visible. In other words, the results is confusing and
5401 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5403 2002-01-24 Akim Demaille <akim@epita.fr>
5407 2002-01-24 Akim Demaille <akim@epita.fr>
5409 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5410 * doc/autoconf.texi: Finally add Akim as an author.
5412 2002-01-24 Akim Demaille <akim@epita.fr>
5414 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5415 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5416 Bourne. Use /bin/sh.
5417 From Andreas Buening.
5419 2002-01-24 Akim Demaille <akim@epita.fr>
5421 * config/config.guess, config/config.sub, config/texinfo.tex:
5422 Update from masters.
5424 2002-01-24 Akim Demaille <akim@epita.fr>
5426 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5427 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5428 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5429 * config/missing.m4, config/sanity.m4, config/select.m4,
5430 * config/strip.m4: Remove, to ease sync'ing with any version of
5433 2002-01-24 Akim Demaille <akim@epita.fr>
5435 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5436 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5437 Reported by Geir Ove Myhr.
5439 2002-01-21 Akim Demaille <akim@epita.fr>
5441 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5443 2002-01-21 Akim Demaille <akim@epita.fr>
5445 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5446 message on invalid options.
5447 * bin/autom4te.in (parse_args): Don't use
5448 Autoconf::General::getopt with non valid options.
5450 2002-01-17 Jim Meyering <meyering@lucent.com>
5452 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5453 $ac_cv_exeext so we don't use an old, invalid, cached value.
5455 2002-01-11 Akim Demaille <akim@epita.fr>
5457 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5459 * doc/autoconf.texi (Function Portability): Document the strnlen
5461 (Particular Functions): Document AC_FUNC_STRNLEN.
5462 * lib/autoscan/functions: Adjust.
5464 2002-01-06 Akim Demaille <akim@epita.fr>
5466 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5467 package.m4, since is really depends upon configure.ac, not
5469 * doc/autoconf.texi (testsuite Scripts): Adjust.
5470 * tests/Makefile.am (package.m4): New.
5471 EXTRA_DIST it since its a source.
5473 2002-01-06 Akim Demaille <akim@epita.fr>
5475 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5476 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5477 and PACKAGE_BUGREPORT from here...
5478 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5480 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5481 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5482 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5483 * tests/tools.at (autoheader): Adjust.
5484 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5486 2002-01-06 Akim Demaille <akim@epita.fr>
5488 * bin/autoscan.in (scan_file): Use `&used'.
5490 2002-01-03 Akim Demaille <akim@epita.fr>
5492 * doc/autoconf.texi (Output): Improved wording regarding use of
5496 2001-12-18 Kevin Ryde <user42@zip.com.au>
5498 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5499 sometimes needing writable input.
5501 2001-12-17 Jim Meyering <meyering@lucent.com>
5503 * doc/autoconf.texi (New Macros): Tweak wording.
5505 2001-12-14 Akim Demaille <akim@epita.fr>
5507 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5508 trailing files, don't apply `-rf' to files which might not be
5509 created by configure (core, core.*, and *.core), but just `rm -f'.
5510 Suggested by Jonathan Kamens.
5512 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5514 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5516 2001-12-14 Akim Demaille <akim@epita.fr>
5518 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5520 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5522 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5523 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5524 abs_srcdir, top_srcpath to abs_top_srcdir.
5525 (_AC_OUTPUT_FILES): Adjust.
5526 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5527 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5528 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5530 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5532 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5533 C/Fortran linking on HP/UX, by extracting the Fortran library
5534 search path from the LPATH line in the $F77 -v output.
5536 2001-12-12 Kevin Ryde <user42@zip.com.au>
5538 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5539 forbidden file descriptors table.
5541 2001-11-26 Akim Demaille <akim@epita.fr>
5543 * bin/autoscan.in (%c_keywords): Build it at top level.
5544 Map to 1 in order to simplify its uses.
5546 2001-11-26 Akim Demaille <akim@epita.fr>
5548 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5549 Remove $filepath, useless.
5550 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5551 variables, they are really part of the tokens.
5552 Split the input line on spaces and then look for tokens.
5553 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5554 because of `lex$U.$(OBJEXT)'.
5555 (&scan_files): Use "@list" instead of join.
5556 * doc/Makefile.am (CLEANFILES): Add *.fns.
5558 2001-11-26 Akim Demaille <akim@epita.fr>
5560 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5561 Remove, replaced by...
5562 * tests/wrappl.in: Be common for all the Perl executables.
5563 In particular autoscan and autoheader want -I.
5564 * configure.ac: Adjust.
5565 * lib/autoscan/headers: errno.h is portable.
5567 2001-11-26 Akim Demaille <akim@epita.fr>
5569 * bin/autoscan.in (used): New.
5572 2001-11-26 Akim Demaille <akim@epita.fr>
5574 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5576 (&scan_sh_file): Remove a duplicate pattern.
5577 (&check_configure_ac): Use long options.
5578 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5580 2001-11-26 Akim Demaille <akim@epita.fr>
5582 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5583 Before, having a line containing the opening of a multi line
5584 comment made the whole line be ignored.
5586 2001-11-26 Akim Demaille <akim@epita.fr>
5588 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5589 (testsuite Scripts): Be one of its subsection.
5590 (Autotest Logs): New.
5592 2001-11-26 Akim Demaille <akim@epita.fr>
5594 Test groups are now run two directories deeper.
5596 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5597 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5599 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5600 top_srcdir, builddir and top_builddir.
5601 Use `at_*dir' relatively to the directory containing the
5602 suite, use `*dir' when relatively to the current group dir.
5604 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5606 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5607 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5608 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5611 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5613 * doc/autoconf.texi (Using System Type): Add an example of `case
5614 $host' usage so people quit using `case $target' everywhere.
5616 2001-11-22 Akim Demaille <akim@epita.fr>
5618 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5619 spotted by Jim Meyering.
5621 2001-11-16 Paul Eggert <eggert@twinsun.com>
5623 This patch implements a `long double' suggestion by Oliver Kiddle.
5625 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5626 static, to catch errors if the value isn't known at compile-time
5627 and the compiler supports dynamic arrays. Change its name from
5628 `_array_' to `test_array' to avoid potential name clashes.
5629 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5630 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5631 better than double. Catch a bug in GCC 2.95.2 x86.
5632 * doc/autoconf.texi (C Compiler): Document the above.
5635 2001-11-13 Akim Demaille <akim@epita.fr>
5637 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5639 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5641 2001-11-13 Akim Demaille <akim@epita.fr>
5643 * lib/autotest/general.m4 (AT_INIT): After having run the test
5644 group, go back to the initial directory, not to at_suite_dir.
5646 2001-11-13 Akim Demaille <akim@epita.fr>
5648 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5649 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5650 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5652 (AT_CHECK_CONFIGURE): Use absolute paths.
5653 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5654 The problem is still the old one: there is no means in M4 (that I
5655 know about) to create a defining macro, because there is no means
5656 to create `$1' etc., therefore, the defining macro ``swallows''
5657 all the arguments meant to the defined macro.
5659 2001-11-13 Akim Demaille <akim@epita.fr>
5661 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5662 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5664 * tests/aclocal.m4: Remove, as it is no longer used.
5666 2001-11-13 Akim Demaille <akim@epita.fr>
5668 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5669 variable names when referring to a single test group, or to
5670 `suite' when referring to the whole test suite.
5671 `at_last_test' is removed: m4 compute at_format itself.
5672 (at_stdout, at_stder1, at_stderr): New variables.
5673 (AT_CHECK): Use them.
5675 2001-11-13 Akim Demaille <akim@epita.fr>
5677 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5679 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5680 Do it as soon as a test fails, don't wait till the end of the test
5682 Don't remove $as_me.[0-9]*, since these files no longer exist.
5684 2001-11-13 Akim Demaille <akim@epita.fr>
5686 * tests/tools.at: Use absolute paths, since we are no longer run
5689 2001-11-13 Akim Demaille <akim@epita.fr>
5691 Now that tests are running in their own private dir, there is no
5692 need to list the files to remove at the end of tests groups.
5694 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5695 (AT_data_files, at_data_files): Remove.
5696 (AT_CLEANUP, AT_DATA): Simplify.
5698 Remove the group dir if !debug && !failed.
5699 * tests/atspecific.m4: Adjust.
5701 2001-11-13 Akim Demaille <akim@epita.fr>
5703 Start a new layout for Autotest: `testsuite' creates
5704 `testsuite.dir' in which the at-check-line etc. files are to be
5705 found, and `testsuite.dir/003' where the test group 3 is run.
5707 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5708 at_check_line_file, at_format, at_test_normalized, at_group_dir
5710 Create the directories.
5711 Use absolute paths for at- files.
5714 2001-11-11 Michael Matz <matz@kde.org>
5716 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5718 (m4_car): Properly quote arguments.
5720 2001-11-13 Akim Demaille <akim@epita.fr>
5722 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5723 with stricter rules on LIBOBJS.
5725 2001-11-12 Paul Eggert <eggert@twinsun.com>
5727 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5728 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5731 2001-11-12 Akim Demaille <akim@epita.fr>
5733 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5735 2001-11-12 Akim Demaille <akim@epita.fr>
5737 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5738 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5739 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5740 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5741 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5742 specify to what the macro should be defined (typically to 1).
5744 2001-11-12 Akim Demaille <akim@epita.fr>
5746 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5749 2001-11-12 Akim Demaille <akim@epita.fr>
5751 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5752 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
5753 definition used by Automake where LEX is +/- "${missing} lex" and
5754 `missing' itself contains variables.
5756 2001-11-12 Akim Demaille <akim@epita.fr>
5758 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5759 Now that M4sh pushes BODY, the comments were output at the end of
5762 2001-11-08 Akim Demaille <akim@epita.fr>
5764 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5765 that we can trace macros from aclocal.m4.
5766 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5767 obsoleted, and redirect to the former anyway.
5768 Reported by Ralf Corsepius.
5770 2001-11-08 Akim Demaille <akim@epita.fr>
5772 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5773 processed only if present.
5774 * tests/torture.at (Configuring subdirectories): Use autoreconf
5775 instead of successive calls to autoconf.
5776 Add a nonexistent subdirectory to exercise the patch above.
5777 Reported by Ralf Corsepius.
5779 2001-11-08 Kevin Ryde <user42@zip.com.au>
5781 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5782 doesn't accept .S files.
5784 2001-11-07 Akim Demaille <akim@epita.fr>
5786 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5787 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5788 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5789 * bin/autom4te.in (warn_forbidden): New.
5790 (handle_output): Use it.
5791 Read m4_pattern_forbid with messages.
5793 2001-11-05 Akim Demaille <akim@epita.fr>
5795 * bin/autom4te.in (--normalize): Remove.
5796 * lib/autom4te.in: Adjust.
5798 2001-11-05 Akim Demaille <akim@epita.fr>
5800 * tests/Makefile.am (testsuite): Rename this target as...
5801 ($(TESTSUITE)): this.
5804 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
5806 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5807 the --prefix option, also remove it's argument.
5809 2001-11-05 Akim Demaille <akim@epita.fr>
5811 * doc/autoconf.texi (testsuite Invocation): Update.
5812 (Writing testsuite.at): Update.
5814 2001-11-03 Akim Demaille <akim@epita.fr>
5816 * doc/autoconf.texi: s/@code/@command/ where appropriate.
5818 2001-11-03 Akim Demaille <akim@epita.fr>
5820 * lib/Autom4te/General.pm: (&catfile, &canonfile)
5821 (&file_name_is_absolute): New, wrappers around routines from
5823 Use and export them.
5824 (&find_configure_ac): Optionally take a directory where to look at.
5825 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5827 Default @ARGV to `.', not find_configure_ac.
5828 (&autoreconf): Argument is a directory.
5829 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5830 * doc/autoconf.texi (autoreconf Invocation): Update.
5832 2001-11-03 Akim Demaille <akim@epita.fr>
5834 * lib/Autom4te/General.pm (@export_vars, @export_subs)
5835 (@export_forward_subs): New.
5836 Add basename, dirname, and fileparse.
5838 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5839 Don't look for aclocal flags if we already know aclocal is not
5841 Move aclocal.m4t only if it exists.
5842 Reported by Ezra Peisach.
5844 2001-11-03 Akim Demaille <akim@epita.fr>
5846 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5847 passed on command line, defaulting to ./configure.ac if present.
5848 (&maybe_autoreconf, File::Find): Remove, unused.
5849 (&autoreconf): If autoconf is not used, don't try to trace.
5851 2001-11-02 Akim Demaille <akim@epita.fr>
5853 * configure.ac: Bump to 2.52g.
5855 2001-11-02 Akim Demaille <akim@epita.fr>
5859 2001-11-02 Akim Demaille <akim@epita.fr>
5861 * config/config.guess, config/config.sub, doc/standards.texi:
5862 * config/lispdir.m4: Update from masters.
5863 * configure.ac: Bump to 2.52f.
5865 2001-11-02 Akim Demaille <akim@epita.fr>
5867 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5868 Don't run aclocal when aclocal.m4 is not from aclocal.
5870 Don't run libtoolize and gettextize if --install is not given.
5872 2001-11-01 Paul Eggert <eggert@twinsun.com>
5874 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
5875 be invoked before _AS_LINENO_PREPARE.
5876 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
5877 than character ranges.
5879 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
5880 invoking AS_BASENAME. Set the locale variables to 'C' if
5881 possible, as POSIX requires this to get the traditional
5883 * doc/autoconf.texi (Special Shell Variables): Describe the above.
5885 2001-10-31 Paul Eggert <eggert@twinsun.com>
5887 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
5888 with {}, as that triggers a bug in Bash 2.05.
5890 (_AS_LINENO_PREPARE): Use Sed rather than
5891 Awk. Fix the sed prepass to work even if there are multiple
5892 instances of $LINENO on the same line. Do not substitute for
5893 other variables like $LINENOT. Do not check file dates; such a
5894 check is unreliable on sufficiently fast machines, and removing
5895 the check makes the code simpler and more reliable. Check for
5896 output and chmod failures.
5898 * doc/autoconf.texi (Special Shell Variables): Document
5901 2001-10-31 Akim Demaille <akim@epita.fr>
5903 * tests/Makefile.am (atconfig): Remove this target, Automake
5906 2001-10-31 Akim Demaille <akim@epita.fr>
5908 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
5909 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
5910 provided, while it is optional.
5911 * configure.ac: Adjust.
5913 2001-10-26 Paul Eggert <eggert@twinsun.com>
5915 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
5916 lib/Autom4te/Struct.pm:
5917 Require Perl 5.005_03 instead of just 5.005, as some tests fail
5920 * doc/autoconf.texi (Special Shell Variables): Document some
5921 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
5923 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
5924 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
5925 eval $LINENO is not portable in practice.
5927 2001-10-24 Akim Demaille <akim@epita.fr>
5929 * lib/Autom4te/General.pm (backname): New.
5931 2001-10-24 Akim Demaille <akim@epita.fr>
5933 * m4/: Remove, merged into...
5936 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
5938 * doc/autoconf.texi (Shellology): Mention the problems with bash
5939 2.05's use of ANSI quoting in its `set' builtin.
5941 2001-10-22 Paul Eggert <eggert@twinsun.com>
5943 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
5944 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
5945 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
5946 POSIX decided to standardize on the int flavor of strerror_r.
5947 Always do char* test, as there's no reason not to.
5948 Assign to a char* var, to catch strerror_r that returns int*.
5950 * doc/autoconf.texi (Particular Functions):
5951 Document the above changes. Also, document the fact that
5952 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
5954 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
5956 2001-10-20 Akim Demaille <akim@epita.fr>
5958 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
5959 the executable was missing from the log.
5961 2001-10-20 Akim Demaille <akim@epita.fr>
5963 * lib/Autom4te/General.pm (&update_file): If destination is
5964 unchanged, remove the source.
5965 (&up_to_date_p): Don't be verbose, be debug.
5966 * bin/autoreconf.in: No longer support --m4dir.
5967 (&autoreconf): Display the full path of the configure.ac we are
5970 Be sure to honor --force with gettextize.
5972 * doc/autoconf.texi: Adjust.
5974 2001-10-20 Akim Demaille <akim@epita.fr>
5976 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
5978 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
5979 `intl' is already present, as it refuses unless --force.
5980 (&parse_args): Use -I, --include instead of the old Autoconf
5982 ($localdir, $autoconf_dir): Remove.
5984 (&maybe_autoreconf): New, to preserve $_ for File::Find.
5986 2001-10-19 Jens Petersen <petersen@redhat.com>
5988 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
5989 * doc/autoconf.texi (Particular Programs): Likewise.
5991 2001-10-19 Akim Demaille <akim@epita.fr>
5993 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
5994 file in @configure_input@.
5995 Don't mention `automatically' in addition to `generated'.
5996 * tests/torture.at (#define header templates): Adjust.
5998 2001-10-19 Akim Demaille <akim@epita.fr>
6000 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6001 comment, explain how to install automatic mode selection.
6004 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6006 * bin/autoreconf.in (autoreconf): Display the path to the
6007 configure.ac being studied.
6009 2001-10-18 Paul Eggert <eggert@twinsun.com>
6011 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6012 long, to work around a bug in the HP C compiler version HP92453-01
6015 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6016 (AS_BASENAME_EXPR): New macro.
6017 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6018 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6019 and fall back on 'sed' only if the other two fail. This makes
6020 AS_BASENAME act more like AS_DIRNAME.
6021 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6022 contains white space.
6023 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6024 Use AS_DIRNAME, since I think it's now DOS-friendly.
6025 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6026 Allow "dirname //FOO" to return either / or //, as POSIX allows
6029 2001-10-10 Akim Demaille <akim@epita.fr>
6031 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6032 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6035 2001-10-10 Akim Demaille <akim@epita.fr>
6037 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6039 (_AS_ECHO_N): AS_REQUIREs it.
6041 2001-10-10 Akim Demaille <akim@epita.fr>
6043 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6044 (AC_INCLUDES_DEFAULT): Move to...
6045 * lib/autoconf/headers.m4: here.
6046 * lib/autoconf/types.m4: Comment changes.
6047 * doc/autoconf.texi: Specify where the default includes are used
6048 in the macro prototypes.
6050 2001-10-09 Akim Demaille <akim@epita.fr>
6052 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6055 2001-10-08 Akim Demaille <akim@epita.fr>
6057 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6058 (&parse_args): Pass verbosity/debugging options to subtools when
6059 --debug, not when --verbose.
6060 * lib/autom4te.in (Autoreconf-preselections): New.
6063 2001-10-08 Akim Demaille <akim@epita.fr>
6065 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6067 2001-10-08 Akim Demaille <akim@epita.fr>
6069 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6070 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6072 2001-10-08 Akim Demaille <akim@epita.fr>
6074 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6075 (Syntax of the shell scripts): Don't.
6076 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6077 bother with $force since...
6078 * lib/Autom4te/General.pm: does.
6080 2001-10-08 Akim Demaille <akim@epita.fr>
6082 * bin/autoreconf.in: Rewrite in Perl.
6083 * configure.ac: Adjust.
6084 * lib/Autom4te/General.pm (&up_to_date_p): New.
6085 * bin/autom4te.in (&up_to_date_p): Use it.
6087 (&up_to_date): this.
6089 2001-10-08 Akim Demaille <akim@epita.fr>
6091 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6092 (m4_list_cmp): Use $0 to reinvoke yourself.
6093 (m4_patsubsts): New.
6094 (m4_strip, m4_version_unletter): Use it.
6095 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6097 2001-10-08 Akim Demaille <akim@epita.fr>
6099 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6100 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6101 * lib/autoconf/types.m4, lib/autotest/general.m4,
6102 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6103 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6104 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6105 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6107 2001-10-08 Akim Demaille <akim@epita.fr>
6109 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6111 2001-10-08 Akim Demaille <akim@epita.fr>
6113 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6114 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6115 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6116 * tests/tools.at, tests/m4sh.at: Use it.
6117 * tests/m4sh.at: Don't rely on Autoconf macros.
6118 (DIRNAME_TEST): Also exercise the expr variant.
6119 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6120 preferred M4sugar extension is now `.4s'.
6121 * tests/README: Remove.
6123 2001-10-08 Akim Demaille <akim@epita.fr>
6125 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6126 (m4_provide_if): this.
6127 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6128 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6129 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6130 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6132 2001-10-08 Akim Demaille <akim@epita.fr>
6134 Use `add-log-current-defun-function' for ChangeLog creation.
6135 Suggested by Tom Tromey.
6137 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6138 (autotest-mode): Adjust.
6139 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6140 'comment-region onto `C-c ;'.
6141 Comments are `#', not `dnl'.
6142 (autoconf-current-defun): New.
6143 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6145 2001-10-08 Akim Demaille <akim@epita.fr>
6147 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6148 * lib/m4sugar/m4sh.m4: here.
6149 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6150 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6151 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6152 include handle the m4_pattern_*, no longer push the
6153 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6154 * lib/autotest/general.m4 (AT_INIT): Likewise.
6155 * tests/base.at: Adjust the tests to use AS_INIT.
6156 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6157 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6160 2001-10-07 Paul Eggert <eggert@twinsun.com>
6162 * doc/autoconf.texi (config.status Invocation):
6163 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6165 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6166 shell does not support LINENO, and if CONFIG_SHELL is unset or
6167 empty, and if we can find a shell that does support LINENO,
6168 then set CONFIG_SHELL to that shell and then re-execute
6169 ourselves with CONFIG_SHELL.
6171 2001-10-05 Paul Eggert <eggert@twinsun.com>
6173 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6174 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6175 build of $(TESTSUITE).
6177 2001-10-05 Akim Demaille <akim@epita.fr>
6179 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6180 iff we are a bareword.
6181 Reported by Raja R Harinath.
6183 2001-10-05 Akim Demaille <akim@epita.fr>
6185 * tests/m4sh.at (LINENO): New.
6186 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6187 PATH_SEPARATOR before using it.
6188 Fix the absolute path case/esac pattern.
6189 Provide $0 as fallback for as_myself.
6190 Reported by Raja R Harinath.
6192 2001-10-05 Akim Demaille <akim@epita.fr>
6194 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6195 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6197 2001-10-05 Akim Demaille <akim@epita.fr>
6199 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6200 (AS_SHELL_SANITIZE): here. Use it.
6201 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6204 2001-10-04 Akim Demaille <akim@epita.fr>
6206 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6207 combination of Awk and sed to replace $LINENO.
6209 2001-10-02 Paul Eggert <eggert@twinsun.com>
6211 * doc/autoconf.texi (Limitations of Builtins): You can't use
6212 "source"; it's not portable. Remove confusing and
6213 somewhat-incorrect example involving "." and "/".
6215 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6216 compatibility with POSIX shells.
6218 2001-10-02 Akim Demaille <akim@epita.fr>
6220 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6221 instead of exec'ing to preserve $0 and $@.
6223 2001-10-01 Akim Demaille <akim@epita.fr>
6225 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6226 Don't run twice the same test.
6228 2001-10-01 Akim Demaille <akim@epita.fr>
6230 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6231 No longer output the list of tests.
6232 <--list>: New option.
6233 <--full-help>: Remove.
6234 Complete the short/long options duality.
6235 Various small adjustments.
6237 2001-10-01 Akim Demaille <akim@epita.fr>
6239 * doc/autoconf.texi: Use @kbd for user input.
6240 Always use `$' as shell prompt.
6242 2001-09-30 Paul Eggert <eggert@twinsun.com>
6244 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6245 Don't use nested parenthesization. This patch was originally
6246 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6247 but somehow it didn't get incorporated then.
6248 * doc/autoconf.texi (Limitations of Usual Tools):
6249 Clarify remark about sed and nested parenthesization.
6251 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6252 Report an error if the size cannot be determined even though
6254 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6255 Check for `expr' arithmetic overflow, and for compilation failure,
6256 and invoke a new argument $4 if either is discovered.
6257 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6258 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6260 2001-09-28 Akim Demaille <akim@epita.fr>
6262 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6263 * m4/lispdir.m4: New.
6264 * aclocal.m4, configure.ac: Adjust.
6266 2001-09-28 Akim Demaille <akim@epita.fr>
6268 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6270 (AT_INIT): More the wrapped section to where it will be expanded.
6271 Output `AT_tested' only when existing.
6272 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6274 2001-09-27 Akim Demaille <akim@epita.fr>
6276 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6277 generates too many bug reports.
6279 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6280 status when executing the ACTION-IF-FALSE.
6281 * tests/base.at (AC_TRY_*): Rename as...
6282 (AC_TRY_COMMAND): this.
6283 (AC_RUN_IFELSE): New.
6284 * tests/compile.at (Extensions, C keywords)
6285 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6286 (Broken/missing compilers, AC_PROG_CPP with warnings)
6287 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6288 * tests/c.at (Extensions, C keywords)
6289 (Broken/missing compilers, AC_PROG_CPP with warnings)
6290 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6291 (AC_PROG_CPP requires AC_PROG_CC): here and...
6292 * tests/fortran.at (GNU Fortran 77): there.
6293 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6294 AC_TRY_RUN is about compilation, not shell commands.
6295 (Test Programs): AC_TRY_RUN works as used to be advertised.
6297 2001-09-27 Akim Demaille <akim@epita.fr>
6299 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6301 Be sure to detect when $LINENO always returns the same value.
6302 Look for the original script, basename($0) is certainly not
6304 Pass the CLI arguments to `$as_me.lineno'.
6306 2001-09-25 Akim Demaille <akim@epita.fr>
6308 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6309 Be sure the close and reopen the LOG fd before and after using tee
6311 <at_tests_pattern>: Adjust to the new format of at_help_all.
6313 2001-09-23 Akim Demaille <akim@epita.fr>
6315 * bin/autom4te.in (parse_args): There can be several invocations
6318 2001-09-23 Akim Demaille <akim@epita.fr>
6320 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6322 2001-09-23 Akim Demaille <akim@epita.fr>
6324 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6325 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6326 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6327 builddir, buildpath, top_builddir, and top_buildpath.
6328 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6329 the current directory.
6330 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6331 variables *before* changing the current directory.
6332 Skip nonexistent dirs.
6333 * doc/autoconf.texi (Preset Output Variables): Document these
6336 * lib/autotest/general.m4: Do not reset AT_victims.
6337 Don't compute at_srcdir nor at_top_srcdir.
6339 * tests/tools.at: Hence use top_srcdir.
6341 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6342 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6344 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6345 * tests/wrapsh.in, tests/autoupdate.in: New.
6346 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6347 * configure.ac: Build the position independent wrappers.
6349 * man/Makefile.am: Now that test wrappers are position
6350 independent, use them and drop dark envvar magic.
6352 2001-09-23 Akim Demaille <akim@epita.fr>
6354 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6355 (Programming in M4sh): this.
6356 Promote to @section.
6358 2001-09-23 Akim Demaille <akim@epita.fr>
6360 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6361 Pass $at_debug_args to the rerun test suite.
6362 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6363 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6366 2001-09-23 Akim Demaille <akim@epita.fr>
6368 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6370 2001-09-23 Akim Demaille <akim@epita.fr>
6372 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6375 2001-09-23 Akim Demaille <akim@epita.fr>
6377 * lib/Autom4te/General.pm (&debug): New.
6378 * bin/autom4te.in ($language): Move to...
6380 Handle --language in languages.
6381 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6382 (Autoscan-selections): New.
6385 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6387 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6388 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6389 to match current versions from CVS Automake.
6391 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6393 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6396 2001-09-22 Akim Demaille <akim@epita.fr>
6398 * lib/autoconf/autotest.m4: Create `package.m4'.
6399 * tests/Makefile.am (package.m4): Remove.
6401 2001-09-22 Akim Demaille <akim@epita.fr>
6403 Rely on `$LINENO' when possible instead of `__oline__'.
6405 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6406 `$LINENO' support replacement when not supported.
6407 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6408 them explicitly to be sure they are not output before this section
6409 (via m4_require). Cosmetic only.
6410 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6411 * lib/autoconf/programs.m4: Replace all the occurrences of
6412 `__oline__' with `$LINENO'.
6413 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6415 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6417 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6418 character (u: -> ue) in a code comment.
6419 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6422 2001-09-21 Akim Demaille <akim@epita.fr>
6424 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6425 Suggested by Jim Meyering.
6427 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6429 * lib/autoconf/programs.m4: Use extensions listed in
6430 $ac_executable_extensions when looking for programs.
6432 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6434 * lib/autoconf/general.m4: Fix a small Englisho.
6435 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6436 setting up ac_dir_suffix and ac_top_builddir.
6437 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6439 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6441 * doc/autoconf.texi (File System Conventions): Clarify the use of
6443 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6444 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6445 be used instead of ':'.
6446 * lib/autotest/general.m4: Replace occurrences of ':' in
6447 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6449 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6451 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6452 arguments. Fixed a typo.
6454 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6456 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6457 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6459 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6461 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6462 * bin/autoupdate.in: Ditto.
6463 * bin/autoheader.in: Reworded a few comments.
6464 * bin/autoconf.in: Reworded help text for a few options.
6465 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6466 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6468 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6470 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6471 already have $file). Set output files to binary mode (helps avoid
6472 CR issues on DOSish systems).
6474 2001-09-19 Akim Demaille <akim@epita.fr>
6476 * lib/autotest/general.m4: Englishoes.
6477 From Tim Van Holder and Alexey Mahotkin.
6479 2001-09-18 Paul Eggert <eggert@twinsun.com>
6481 * doc/autoconf.texi (Common Shell Constructs): New node,
6482 documenting AS_DIRNAME.
6483 (Limitations of Usual Tools): Refer to it when discussing dirname.
6484 Also, update discussion of POSIX standard to reflect latest draft.
6486 * lib/autoconf/c.m4:
6487 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6489 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6490 Do not pass a first argument with leading '-'
6491 to expr, by parenthesizing initial integers that might be negative.
6493 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6494 now merely checks whether it is an error to pass an argument
6497 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6498 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6499 whether it is a (compile-time) error to pass an argument to
6500 getpgrp. This simpler test supports the revised documentation,
6501 and is all that AC_FUNC_GETPGRP's users really need.
6503 2001-09-18 Akim Demaille <akim@epita.fr>
6505 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6507 2001-09-18 Akim Demaille <akim@epita.fr>
6509 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6511 * lib/autotest/general.m4 (AT_INIT): Adjust.
6513 2001-09-18 Paul Wagland <paul@wagland.net>
6515 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6517 Add test for AS_BASENAME.
6518 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6519 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6520 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6521 * tests/base.at: Fixed the expected responses. The old ones were
6523 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6524 the documentation claims it should (and how it behaved in 2.13).
6526 2001-09-18 Akim Demaille <akim@epita.fr>
6528 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6529 the AC_CONFIG_COMMANDS invocation.
6530 This also solves the name clash problems.
6531 Don't set the package's ID.
6532 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6533 No longer to be shipped.
6534 (version.in): Remove.
6535 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6536 * lib/autoconf/status.m4: Adjust.
6537 Use `m4_PACKAGE_STRING'.
6538 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6539 the only optional argument is the name of the test suite.
6540 Expect `package.m4' to define the package signature.
6541 * lib/autom4te.in (Autotest): Add `package.m4?'.
6542 * tests/Makefile.am (package.m4): New.
6543 * tests/suite.at: ifnames is a victim.
6545 2001-09-18 Akim Demaille <akim@epita.fr>
6547 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6548 AC_LIBSOURCE, AC_CONFIG_FILES.
6549 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6550 program version string doesn't match the package's.
6551 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6554 2001-09-17 Paul Eggert <eggert@twinsun.com>
6556 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6557 Allow expression to return any value that can fit into unsigned long
6558 (not int, as before). Check for output errors.
6560 2001-09-17 Bruno Haible <haible@ilog.fr>
6562 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6563 Always include <stdio.h> and <stdlib.h>. Evaluate
6564 the expression in an extra function before these includes. Call
6565 fprintf "%d" only after ensuring the argument is of type 'int'.
6566 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6568 2001-09-17 Paul Eggert <eggert@twinsun.com>
6570 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6571 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6572 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6573 when they don't exist.
6575 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6576 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6579 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6580 version with the version used by fileutils 4.1, except use
6581 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6584 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6586 2001-09-13 Akim Demaille <akim@epita.fr>
6588 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6590 Reported by Gerrit P. Haase.
6592 2001-09-13 Akim Demaille <akim@epita.fr>
6594 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6595 m4_defn'ing is valid.
6597 2001-09-13 Akim Demaille <akim@epita.fr>
6599 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6600 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6603 2001-09-13 Akim Demaille <akim@epita.fr>
6605 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6607 (m4_re_escape): New.
6608 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6609 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6610 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6612 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6613 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6614 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6615 AT_tests_all for consistency.
6617 (AT_VICTIMS): Similar to AT_KEYWORDS.
6618 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6620 2001-09-13 Akim Demaille <akim@epita.fr>
6622 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6624 2001-09-13 Akim Demaille <akim@epita.fr>
6626 * lib/autotest/general.m4 (AT_INIT): Create and remove
6627 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6628 test suites can cohabit.
6630 2001-09-13 Akim Demaille <akim@epita.fr>
6632 * tests/mktests.sh: Don't output banners for empty test files.
6634 2001-09-13 Akim Demaille <akim@epita.fr>
6636 Test suites can be run independently of configure.
6638 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6639 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6640 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6642 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6644 * lib/autotest/general.m4: Use ECHO_*.
6646 2001-09-13 Akim Demaille <akim@epita.fr>
6648 * bin/ifnames.in: Rewrite in Perl.
6649 * configure.ac: Don't look for AWK.
6650 * tests/tools.at (AWK portability): Remove.
6651 (Syntax of the shell scripts): Don't check ifnames.
6652 (AT_CHECK_PERL_SYNTAX): New.
6653 (Syntax of the Perl scripts): Check ifnames.
6654 * tests/ifnames: New.
6656 2001-09-13 Akim Demaille <akim@epita.fr>
6658 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6660 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6661 Remove all the other keywords.
6663 2001-09-10 Akim Demaille <akim@epita.fr>
6665 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6666 SETUP: no longer used.
6667 Support -k, --keywords.
6668 <at_help>: Be `no', `short', or `long'.
6669 <at_help_all>: New variable.
6671 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6672 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6673 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6674 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6675 No longer fill the HELP diversion.
6676 (AT_CLEANUP): Use them.
6677 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6678 (m4_list_append): Remove.
6680 Spread a few keywords in the Autoconf test suite.
6682 2001-09-10 Akim Demaille <akim@epita.fr>
6684 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6685 PATH_SEPARATOR, let M4sh compute it.
6686 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6687 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6689 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6690 Simplify when the path is not a literal.
6691 (AS_UNAME): Use it to report PATH.
6692 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6693 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6694 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6695 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6696 normalize the path, and to look for victims.
6697 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6698 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6700 2001-09-07 Akim Demaille <akim@epita.fr>
6702 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6703 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6704 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6705 related variables into `at_package_*'.
6706 * lib/autotest/general.m4 (AT_VICTIMS): New.
6707 (AT_INIT): Adjust for stand-alone/embedded test suites.
6708 (AS_MESSAGE_LOG_FD): Define and use it.
6709 * tests/suite.at (AT_VICTIMS): Use it.
6710 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6713 2001-09-07 Akim Demaille <akim@epita.fr>
6715 Move toward possibly stand-alone test suites.
6717 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6718 in addition, it introduces useless differences in logs.
6719 (AT_INIT): Let atconfig and atlocal be both optional.
6720 Adjust PATH computation.
6721 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6723 2001-09-07 Akim Demaille <akim@epita.fr>
6725 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6728 2001-09-05 Akim Demaille <akim@epita.fr>
6730 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6731 to avoid GCC warnings.
6734 2001-09-05 Akim Demaille <akim@epita.fr>
6736 * bin/autom4te.in: --language is -l, not -s.
6738 2001-09-05 Akim Demaille <akim@epita.fr>
6740 Be ready to handle filenames as stupid as `dnl.at', for if even
6741 the maintainer is dumb enough to do that...
6743 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6744 excellence in M4 quotation: consider `__file__' is active.
6746 And BTW, when invoking m4, pass the --include in the right order:
6749 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6752 2001-09-05 Akim Demaille <akim@epita.fr>
6754 * lib/Autom4te/XFile.pm: New lib file.
6755 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6756 * bin/autoheader.in: Use it.
6758 2001-09-05 Akim Demaille <akim@epita.fr>
6760 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6763 2001-09-05 Akim Demaille <akim@epita.fr>
6765 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6766 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6768 * bin/autoscan.in: Use `getopt' and `find_files' etc.
6769 Add -I, --include support.
6770 * doc/autoconf.texi (autoscan Invocation): Adjust.
6772 2001-09-05 Akim Demaille <akim@epita.fr>
6774 CVS GNU M4 doesn't like `undefine(undefined)'.
6776 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6777 New, extracted from main.
6778 Use IO::File wherever possible.
6779 (input.m4): Be constant, use -I instead of hard coding $tmp.
6780 Therefore be a quoted heredoc.
6781 Don't invoke `_au_disable', since ac was not loaded, but just
6784 2001-08-31 Akim Demaille <akim@epita.fr>
6788 2001-08-31 Akim Demaille <akim@epita.fr>
6790 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6792 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6794 2001-08-31 Akim Demaille <akim@epita.fr>
6796 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6797 serious problems handling heredocs in heredocs.
6798 Reported by Nicolas Joly.
6800 2001-08-31 Akim Demaille <akim@epita.fr>
6802 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6803 (Making testsuite Scripts): Update.
6805 2001-08-31 Akim Demaille <akim@epita.fr>
6807 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6809 2001-08-31 Akim Demaille <akim@epita.fr>
6811 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6812 (testsuite Scripts): There is no such thing as `atconfig.in'.
6813 And actually one diagram is missing: test suite runtime.
6815 2001-08-31 Akim Demaille <akim@epita.fr>
6817 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6820 2001-08-31 Akim Demaille <akim@epita.fr>
6822 * bin/autoupdate.in (@include): `installcheck' revealed the path
6823 to m4sugar was lacking!
6825 2001-08-31 Akim Demaille <akim@epita.fr>
6827 * man/Makefile.am (.x.1): We really have to pass
6828 autom4te_perllibdir.
6830 2001-08-31 Akim Demaille <akim@epita.fr>
6832 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6833 debug scripts, in particular passing explicitly listed tests to
6836 2001-08-31 Akim Demaille <akim@epita.fr>
6838 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6839 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6840 Use directly autom4te, not autoconf.
6841 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6843 2001-08-31 Akim Demaille <akim@epita.fr>
6845 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6846 * bin/autoheader.in (%symbol): Strip arguments of macros.
6848 2001-08-31 Akim Demaille <akim@epita.fr>
6850 * doc/autoconf.texi: Catch up -I, --include changes.
6852 2001-08-31 Akim Demaille <akim@epita.fr>
6854 * bin/autom4te.in (&parse_args): Die on unknown languages.
6855 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6857 Promote --include over --macrodir and other obsolete options.
6859 2001-08-31 Akim Demaille <akim@epita.fr>
6861 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6862 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6863 * bin/autom4te.in ($autoconf): Pass --force.
6864 `print $out' doesn't print `$_' but `$out'.
6865 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6866 (autoheader): Pass --force since the test suite goes too fast for
6868 Adjust to the new autoheader messages.
6870 2001-08-31 Akim Demaille <akim@epita.fr>
6872 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
6873 Check the completeness of the #template.
6874 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
6875 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
6878 2001-08-31 Akim Demaille <akim@epita.fr>
6880 * lib/Autom4te/General.pm (&find_file, &update_file): New.
6881 * bin/autoupdate.in, bin/autoheader.in: Adjust.
6882 Drop AC_MACRODIR dead for real.
6883 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
6884 `autoheader: `config.hin' is created'.
6885 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
6887 2001-08-31 Akim Demaille <akim@epita.fr>
6889 * bin/autoheader.in: Rewrite in Perl.
6890 * tests/autoheader: Adjust.
6892 2001-08-31 Akim Demaille <akim@epita.fr>
6894 * bin/autoconf.in (--include, -I): New option.
6895 Map --localdir, --autoconf-dir onto it.
6896 Forward autom4te's options instead of interpreting them.
6897 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
6898 There is no such envvar since the inception of autom4te.cfg.
6899 * bin/autom4te.in (&parse_args): Uniquify `@include'.
6900 * bin/autoupdate.in: Adjust, and perform more control.
6901 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
6902 * tests/autoconf: Dittowise.
6904 2001-08-31 Akim Demaille <akim@epita.fr>
6906 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
6907 * bin/autom4te.in (&find_file): Support `FILE?' standing for
6909 Use -e, not -f, since /dev/null for instance is OK.
6910 (&parse_args): Adjust.
6911 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
6913 2001-08-31 Akim Demaille <akim@epita.fr>
6915 * configure.ac: Also find tested executables in bin.
6916 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
6917 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
6918 installed peer executables, only PATH is allowed to resolve it.
6919 Pass `autoconf_dir' via options, not via invisible envvars.
6920 * lib/Autom4te/General.pm (&find_peer): Remove.
6921 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
6922 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
6923 * man/Makefile.am: Let help2man rely on PATH instead of trying to
6924 find the executables for it.
6925 * tests/Makefile.am: Major cleanup. Too lazy to document...
6926 * tests/atlocal.in: Remove all the obscure envvar manipulations.
6928 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
6929 indeed related to running the test suite, while passing
6930 --autoconf-dir and others is related to running non installed
6931 Autoconf executables. So don't do that, leave it to...
6932 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
6933 * tests/autoscan: New.
6934 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
6935 refer to library files: rely on --language.
6937 2001-08-29 Akim Demaille <akim@epita.fr>
6939 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
6940 s/--set/--language/.
6942 2001-08-29 Akim Demaille <akim@epita.fr>
6944 * doc/autoconf.texi: Strip the @nodes.
6945 Suggested by Paul Eggert.
6946 (Initializing configure): Typo.
6948 2001-08-29 Akim Demaille <akim@epita.fr>
6950 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
6951 Suggested by Paul Eggert.
6953 2001-08-29 Akim Demaille <akim@epita.fr>
6955 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
6956 download in a tmp dir.
6958 2001-08-29 Akim Demaille <akim@epita.fr>
6960 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
6961 case insensitive OSes out there :(
6962 From Tim Van Holder.
6964 2001-08-29 Akim Demaille <akim@epita.fr>
6966 * lib/autom4te.in: New.
6967 * lib/Makefile.am (edit, autom4te.cfg): New.
6968 * bin/autom4te.in (BEGIN): Simplify.
6969 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
6970 (&load_configuration): New. Use it.
6971 (&parse_args): Support --mode, --set, and --melt.
6972 * bin/autoconf.in: Simplify and adjust.
6973 * tests/Makefile.am (AUTOMAKE): Use --set.
6974 * tests/atlocal.in: Adjust.
6975 * BUGS: distcheck and check are weak.
6977 2001-08-29 Akim Demaille <akim@epita.fr>
6979 * lib/autotest/general.m4: Use
6980 foo=`(command) 2>/dev/null`
6982 foo=`command` 2>/dev/null
6983 (at-devnull): Rename as...
6985 (--clean): Remove AT-* files too.
6986 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
6987 Reported by Nicolas Joly.
6989 2001-08-28 Akim Demaille <akim@epita.fr>
6991 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
6992 quotes inside single quotes.
6993 Reported by Nicolas Joly.
6995 2001-08-28 Kevin Ryde <user42@zip.com.au>
6997 * doc/autoconf.texi (Function Portability): Mention C right shifts.
6999 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7001 * lib/autotest/general.m4: Reword some messages.
7002 (AT_INIT): Check for the `times' builtin before using it.
7003 Support test ranges as arguments to the testsuite.
7004 Have -e imply -d as the help text suggested.
7006 2001-08-27 Akim Demaille <akim@epita.fr>
7008 * Makefile.maint: Formatting changes.
7009 (do-po-update, po-update, cvs-update, update): New targets.
7012 2001-08-27 Akim Demaille <akim@epita.fr>
7014 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7016 Pass it to debug-*.sh scripts.
7017 <AUTOTEST_PATH>: May contain absolute dir names.
7019 2001-08-27 Akim Demaille <akim@epita.fr>
7021 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7022 Support `VAR=VAL' as arguments.
7023 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7024 may be set via the command line.
7026 2001-08-27 Akim Demaille <akim@epita.fr>
7028 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7029 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7030 first the build dirs, then the src dirs.
7031 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7033 2001-08-27 Akim Demaille <akim@epita.fr>
7035 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7036 at_data_files earlier.
7037 (--clean, -c): New option.
7038 * tests/Makefile.am: Use this option.
7040 2001-08-27 Akim Demaille <akim@epita.fr>
7042 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7043 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7046 * doc/autoconf.texi (Configuration Actions): Document the vars
7047 available in commands.
7048 Emphasize the risks of collisions in init-cmds.
7050 2001-08-27 Akim Demaille <akim@epita.fr>
7052 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7053 (Initializing configure): this new node.
7055 2001-08-27 Akim Demaille <akim@epita.fr>
7057 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7059 2001-08-27 Akim Demaille <akim@epita.fr>
7061 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7062 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7064 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7066 2001-08-27 Akim Demaille <akim@epita.fr>
7068 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7070 * lib/autoconf/autoheader.m4: this new file.
7071 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7072 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7074 * lib/autoconf/autoupdate.m4: this new file.
7076 2001-08-27 Akim Demaille <akim@epita.fr>
7078 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7079 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7080 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7082 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7083 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7085 2001-08-27 Akim Demaille <akim@epita.fr>
7087 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7088 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7089 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7090 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7091 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7092 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7093 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7094 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7095 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7096 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7097 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7098 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7099 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7100 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7101 (_AC_OUTPUT_SUBDIRS): Move to...
7102 * lib/autoconf/status.m4: this new file.
7103 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7104 * tests/Makefile.am, tests/suite.at: Adjust.
7106 2001-08-27 Akim Demaille <akim@epita.fr>
7110 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7111 (AMTAR): Help automake define it.
7112 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7113 needed, 1.5 can have a macro and a target with the same name.
7114 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7116 * m4/init.m4, m4/sanity.m4: Update.
7117 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7118 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7119 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7120 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7122 2001-08-27 Akim Demaille <akim@epita.fr>
7124 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7126 * lib/autoconf/version.in: Remove.
7127 * lib/m4sugar/version.in: New.
7128 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7130 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7131 the name of the directory they're in, instead of the filename,
7132 since version.m4 is now in m4sugar, but m4_acversion must not be
7133 classified as an Autoconf macro.
7134 ($input_m4): Don't qualify the path to m4sugar.
7135 Rather, pass autoconf_dir to m4.
7136 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7137 * tests/suite.at: Require 2.52c.
7139 2001-08-27 Akim Demaille <akim@epita.fr>
7141 testsuite.log should include config.log.
7143 * lib/autotest/autotest.m4: New.
7144 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7145 * tests/suite.at : Adjust.
7146 (AT_INIT): Log config.log.
7147 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7148 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7149 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7150 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7151 of config.log on traps.
7152 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7153 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7155 Open the log as soon as possible.
7156 Use the same log introduction as configure's.
7158 2001-08-22 Paul Eggert <eggert@twinsun.com>
7160 * doc/autoconf.texi (Indices): New node.
7161 Move indices out of the top level menu and into this submenu.
7163 2001-08-22 Akim Demaille <akim@epita.fr>
7165 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7167 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7169 2001-08-22 Akim Demaille <akim@epita.fr>
7171 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7172 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7173 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7174 * lib/autoconf/programs.m4: here.
7175 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7176 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7177 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7178 * lib/autoconf/programs.m4: here.
7179 (_AC_DECL_YYTEXT): Rename as...
7180 (_AC_PROG_LEX_YYTEXT_DECL): this.
7181 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7182 * tests/Makefile.am, tests/suite.am: Adjust.
7184 2001-08-22 Akim Demaille <akim@epita.fr>
7186 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7188 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7190 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7191 * lib/autoconf/functions.m4: here.
7192 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7193 (AH_CHECK_LIB): Move to...
7194 * lib/autoconf/libs: this new file.
7195 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7196 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7197 * lib/autoconf/libs.m4: here.
7198 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7200 2001-08-22 Akim Demaille <akim@epita.fr>
7202 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7203 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7204 (AC_SITE_LOAD): Better logging of config.site.
7206 2001-08-20 Akim Demaille <akim@epita.fr>
7208 * configure.ac (AT_CONFIG): Fix the path.
7209 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7212 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7214 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7215 program with AC_LANG_PROGRAM before feeding it to
7216 AC_COMPILE_IFELSE. Cleanup grep usage.
7218 2001-08-20 Akim Demaille <akim@epita.fr>
7220 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7221 * NEWS, README, README-alpha, TODO, tests/README: This package is
7222 `Autoconf', not `autoconf' (the executable).
7224 2001-08-20 Akim Demaille <akim@epita.fr>
7226 Info readers seem to need `Index' in the index node title :(
7228 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7229 simplified index node names.
7231 2001-08-20 Akim Demaille <akim@epita.fr>
7233 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7234 arguments are not literals.
7235 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7236 Specify the output variables, and macros defined.
7238 2001-08-20 Akim Demaille <akim@epita.fr>
7240 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7241 (Examining Syntax) <AC_TRY_COMPILE>
7242 (Examining Libraries) <AC_TRY_LINK>
7243 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7245 Reported by Werner Lemberg.
7247 2001-08-20 Akim Demaille <akim@epita.fr>
7249 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7250 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7251 Load atlocal late enough to dump it in the log.
7252 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7254 2001-08-20 Akim Demaille <akim@epita.fr>
7256 * tests/torture.at (Configuring subdirectories): New test.
7257 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7259 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7260 (top_srcdir): Fix its computation.
7262 2001-08-20 Akim Demaille <akim@epita.fr>
7264 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7265 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7267 Create `atconfig' automagically.
7268 Configure atlocal.in if present.
7269 * tests/atconfig.in: Remove.
7270 * tests/atlocal.in: New.
7271 * tests/Makefile.am: Adjust.
7273 2001-08-20 Akim Demaille <akim@epita.fr>
7275 Huh!?!?! There are still some user EOF tags used, which prevents
7276 their use in AC_CONFIG_COMMANDS for instance...
7278 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7279 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7280 `_CSEOF', or `_ATEOF', as appropriate.
7281 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7282 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7284 2001-08-20 Akim Demaille <akim@epita.fr>
7286 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7287 * tests/semantics.at, tests/tools.at, tests/torture.at:
7288 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7290 2001-08-20 Akim Demaille <akim@epita.fr>
7292 Autotest invokes M4sh's initialization.
7294 * lib/autotest/general.m4: Adjust the diversion names.
7295 (AT_INIT): Run AS_INIT.
7296 Use the BINSH diversion to invoke /bin/sh.
7297 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7298 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7300 2001-08-20 Akim Demaille <akim@epita.fr>
7302 Let M4sh have its own diversions.
7304 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7305 (_m4_divert(NOTICE)): Rename as...
7306 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7307 (_m4_divert(HEADER-COMMENT)): these.
7308 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7309 (_m4_divert(NOTICE)): New, for Libtool.
7310 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7311 long ago with `_m4_divert(GROW)'.
7312 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7314 2001-08-20 Akim Demaille <akim@epita.fr>
7316 * tests/base.at, tests/compile.at, tests/foreign.at,
7317 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7318 * tests/semantics.at, tests/suite.at, tests/tools.at,
7319 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7321 2001-08-20 Akim Demaille <akim@epita.fr>
7323 * bin/autom4te.in (handle_output): Handle @__@.
7325 2001-08-20 Akim Demaille <akim@epita.fr>
7327 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7328 * lib/autotest/general.m4: Adjust the license.
7330 2001-08-17 Paul Eggert <eggert@twinsun.com>
7332 * doc/autoconf.texi (Function Portability): Mention snprintf,
7333 following up on a suggestion by Kevin Ryde.
7335 2001-08-17 Akim Demaille <akim@epita.fr>
7337 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7338 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7340 2001-08-17 Akim Demaille <akim@epita.fr>
7342 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7343 `$0.log' as for projects where testsuite is in src, we'd have
7344 testsuite.log created in src.
7346 2001-08-17 Akim Demaille <akim@epita.fr>
7348 * bin/autom4te.in (&parse_args): Recognize --normalize.
7350 2001-08-17 Akim Demaille <akim@epita.fr>
7352 Start implementing the AC_CHECK_HEADER transition scheme.
7354 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7355 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7356 (AC_CHECK_HEADER): Use them.
7358 2001-08-17 Akim Demaille <akim@epita.fr>
7360 * doc/autoconf.texi: Work around Texinfo buglets.
7361 (Transformation Rules): One example is enough, users are expected
7362 to have their brains on. And BTW, use DESTDIR.
7363 (dvar): New macro. Use it.
7365 2001-08-17 Akim Demaille <akim@epita.fr>
7367 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7368 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7369 looking for ChangeLogs.
7371 2001-08-17 Akim Demaille <akim@epita.fr>
7373 * bin/autom4te.in: --normalize is a new option.
7374 * bin/autoconf.in: Use it.
7376 2001-08-17 Akim Demaille <akim@epita.fr>
7378 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7379 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7381 2001-08-16 Paul Eggert <eggert@twinsun.com>
7383 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7386 2001-08-15 Akim Demaille <akim@epita.fr>
7388 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7391 2001-08-15 Akim Demaille <akim@epita.fr>
7393 * doc/autoconf.texi (pr): New index.
7394 (prindex, findex): Use, merge, and output them.
7395 (Environment Variable Index, Output Variable Index)
7396 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7397 (Autotest Macro Index): Rename as...
7398 (Environment Variables, Output Variables,Preprocessor Symbols)
7399 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7400 * doc/install.texi: Use @command.
7401 (Environment Variables): Rename as...
7402 (Defining Variables): this.
7404 2001-08-15 Akim Demaille <akim@epita.fr>
7406 * doc/autoconf.texi (Function Portability): sprintf's return
7410 2001-08-15 Akim Demaille <akim@epita.fr>
7412 * Makefile.maint (CVS): New.
7413 (local-check): Run changelog-check. last.
7414 (alpha): Don't depend upon local-check, since...
7415 (cvs-dist): depends upon it.
7417 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7419 * tests/Makefile.am: Use a clean-local rule to remove
7420 autom4te.cache (it's a directory, not a file.
7421 * Makefile.am: Ditto (but maintainer-clean-local).
7423 2001-08-15 Akim Demaille <akim@epita.fr>
7425 * bin/autom4te.in (@m4_warning): New.
7426 (&handle_m4): Use it.
7427 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7428 warnings are issued at each run.
7429 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7432 2001-08-15 Akim Demaille <akim@epita.fr>
7434 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7435 don't waste time running `autoupdate --version' works.
7436 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7438 2001-08-13 Akim Demaille <akim@epita.fr>
7440 * doc/autoconf.texi (ma): Rename this index as...
7443 2001-08-13 Akim Demaille <akim@epita.fr>
7445 * Makefile.am: Remove dead code and dead comments.
7446 (pdf, html): New targets.
7447 * doc/autoconf.texi (Using Autotest): New chapter.
7448 * doc/Makefile.am (pdf): New targets.
7449 (CLEANFILES): Adjust.
7451 2001-08-13 Akim Demaille <akim@epita.fr>
7453 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7454 duration of the test suite.
7456 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7458 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7459 endianness for comparison instead of relying on AT_CHECK_ENV.
7461 2001-08-11 Paul Eggert <eggert@twinsun.com>
7463 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7464 to the INSTALL file.
7466 2001-08-11 Paul Eggert <eggert@twinsun.com>
7468 * NEWS: The autoconf manual now is distributed under the terms
7469 of the GNU Free Documentation License.
7471 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7472 Add an appendix "Copying This Manual" for the FDL.
7474 * doc/fdl.texi: New file, from
7475 <http://www.gnu.org/licenses/fdl.texi>.
7477 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7479 2001-08-10 Paul Eggert <eggert@twinsun.com>
7481 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7482 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7483 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7484 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7485 m4/sanity.m4, tests/README, tests/aclocal.m4,
7486 tests/atspecific.m4, tests/base.at, tests/compile.at,
7487 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7488 tests/semantics.at, tests/suite.at, tests/tools.at,
7489 tests/torture.at: Add copyright notice.
7491 * tests/mktests.sh: Update year in copyright notice.
7493 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7495 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7497 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7499 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7500 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7501 * doc/autoconf.texi (C Compiler Characteristics): Update
7502 documentation for AC_C_BIGENDIAN.
7504 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7506 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7507 magic values from an object file when cross-compiling.
7508 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7510 2001-08-10 Akim Demaille <akim@epita.fr>
7512 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7514 Suggested by Russ Allbery.
7516 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7518 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7519 current $prefix to the sub-configures.
7521 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7523 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7524 extension (needed on BeOS). Reported by Guido van Rossum.
7526 2001-08-09 Akim Demaille <akim@epita.fr>
7528 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7530 2001-08-07 Akim Demaille <akim@epita.fr>
7532 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7534 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7535 No need to remove the files before and after the each test, before
7536 each test and at the end of the suite is enough.
7537 Display only the children `times', not the shell's.
7538 If the test failed or was skipped, at-times is not available.
7540 2001-08-07 Akim Demaille <akim@epita.fr>
7542 Always produce testsuite.log, including when there are no
7543 failures. This helps getting information on skipped tests, and
7544 duration of the tests. Err, implement the latter btw.
7546 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7547 Dump information on the first run of each test.
7548 (AT_CLEANUP): Create `at-times' containing the duration of the
7551 2001-08-07 Akim Demaille <akim@epita.fr>
7553 The use of `dumpstat' revealed that `len' was used although it
7554 should not. m4_text_wrap was using it, but in the Autoconf world
7555 where it is legal. Hence (i) test M4sh in its own world, not
7556 Autoconf's, and (ii), ahem, fix the bug :)
7558 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7559 does not like `' instead of [].
7560 (AT_INIT): Forbid `^_?AT_'.
7561 And don't output such tokens.
7562 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7563 `script.as', and `autom4te.cache'.
7564 Remove `empty' and `macro' which are no longer used.
7565 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7566 * tests/m4sugar.at: Use it.
7567 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7569 2001-08-07 Akim Demaille <akim@epita.fr>
7571 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7573 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7575 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7577 2001-08-04 Akim Demaille <akim@epita.fr>
7579 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7580 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7582 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7583 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7584 (AC_F77_MAIN): Likewise.
7586 2001-08-04 Akim Demaille <akim@epita.fr>
7588 Don't rely on M4sugar outputting the patterns in files, since we
7589 might process the output _without_ running m4, hence without these
7592 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7593 * bin/autom4te.in (@Request::includes): Remove, unused.
7594 (@Request::source): Rename as...
7595 (@Request::input): this.
7596 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7597 (&handle_output): Fetch the patterns from the traces.
7598 `$forbidden' and `$allowed' are constant: use m//o.
7599 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7600 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7602 2001-08-04 Akim Demaille <akim@epita.fr>
7604 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7605 autoconf', i.e., in addition to caching traces, cache the output.
7607 * bin/autom4te.in (Request::cache): Rename as...
7608 (Request::id): this.
7609 ($cache, $icache, $tcache, $ocache): New.
7610 (&handle_m4): Save M4 output in the cache instead of $tmp.
7611 (&handle_output): Adjust.
7612 (&up_to_date_p): Check that the output cache is up to date too.
7613 (top level): Run `&handle_m4' iff force or the cache is invalid.
7614 Run `&handle_output' if the output cache is more recent.
7616 2001-08-04 Akim Demaille <akim@epita.fr>
7618 * bin/autom4te.in ($force): New.
7619 (&parse_args, &print_usage): -f, --force is a new option.
7620 (&handle_output): CPP directives might have spaces after `#'.
7621 (&parse_args): The first file only can be frozen.
7623 2001-08-04 Akim Demaille <akim@epita.fr>
7625 Don't let autom4te compute the `include' traces several times:
7626 first check that the trace cache file is up to date, and then
7627 compare its timestamp with that of the output.
7629 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7630 the preamble. Don't require 5.005 as Autom4te::General does it,
7631 and better yet (use `use', not `require'!).
7632 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7633 Class::Struct as Autom4te::Struct.
7634 * lib/Autom4te/General.pm (File::stat): Use it.
7635 (&mtime): New, export it.
7636 * bin/autom4te.in: Use it.
7637 Declare `$req' is invalid if it is outdated.
7638 Don't declare it valid before saving it if something went wrong.
7640 2001-08-04 Akim Demaille <akim@epita.fr>
7642 Autom4te shall not encode Autoconf data, and preselecting traces
7643 must be proposed to the users.
7645 * bin/autom4te.in (@required_trace): Remove.
7647 (&parse_args, &print_usage): -p, --preselect is a new option.
7648 (&up_to_date_p): Adjust.
7649 * bin/autoconf.in: Preselect some Autoconf macros.
7651 2001-08-04 Akim Demaille <akim@epita.fr>
7653 * tests/tools.at (autoconf --trace: user macros): Check traces on
7654 macros invoked without arguments, and macros invoked with multiple
7657 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7659 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7662 2001-08-03 Akim Demaille <akim@epita.fr>
7664 * bin/autoconf.in ($@): Work around the usual sh bug.
7667 2001-08-03 Akim Demaille <akim@epita.fr>
7669 Clean up the handling of the M4 builtins tracing exception.
7671 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7673 (@m4_builtins): Rename as...
7674 (@m4_builtin): this.
7675 (%m4_builtin_alternate_name): New.
7676 (&parse_args): Complete the trace requests with alternate names.
7677 (&handle_traces): Hence no longer do it here.
7678 (&trace_requests): Remove, unused.
7680 2001-08-03 Akim Demaille <akim@epita.fr>
7682 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7685 2001-08-03 Akim Demaille <akim@epita.fr>
7687 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7688 (m4_divert_pop): Dump the whole diversion stack when a diversion
7690 * bin/autom4te.in (&handle_output): Remember of the first
7691 occurrence of a possibly undefined macro, not the last.
7692 Complain about the possibly undefined macros in the same order as
7693 the appear in the output.
7694 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7695 * tests/tools.at (autoconf: forbidden tokens, basic)
7696 (autoconf: forbidden tokens, exceptions): No longer sort
7697 autoconf's stderr, as it is now deterministic.
7698 Check that `dnl' is caught.
7700 2001-08-01 Akim Demaille <akim@epita.fr>
7702 * configure.ac: Bump to 2.52c.
7704 2001-08-01 Akim Demaille <akim@epita.fr>
7708 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7710 2001-08-01 Akim Demaille <akim@epita.fr>
7714 2001-08-01 Akim Demaille <akim@epita.fr>
7716 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7719 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7720 `END', as `Autom4te::General::END' will be triggered.
7721 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7722 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7723 system to run `mv', `rm', and `cmp'.
7725 2001-08-01 Akim Demaille <akim@epita.fr>
7727 * lib/Autom4te/General.pm (&unique): New.
7728 * bin/autoscan.in (&output): Use it to issue trace requests once.
7730 2001-08-01 Akim Demaille <akim@epita.fr>
7732 * lib/Autom4te/General.pm: New.
7733 * bin/autom4te.in (Autom4te::General): Use it.
7734 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7735 (&find_configure_ac, &find_slave): Remove.
7736 * bin/autoscan.in: Likewise.
7737 * bin/autoupdate.in: Likewise.
7739 2001-08-01 Akim Demaille <akim@epita.fr>
7741 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7742 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7743 * bin: here, new directory.
7744 * lib/Autoconf: Rename as...
7745 * lib/Autom4te: this, to please case insensitive junkie OSes.
7747 2001-08-01 Akim Demaille <akim@epita.fr>
7749 * autom4te.in ($m4): Handle the --nesting-limit.
7750 * autoconf.in (M4): Remove.
7752 2001-08-01 Akim Demaille <akim@epita.fr>
7754 * autoconf.in ($AWK): Remove, no longer used.
7755 * test/tools.at: Use AT_CHECK_AUTOCONF.
7756 (AWK portability): Remove, for autoconf no longer uses AWK.
7757 (Syntax of the Perl scripts): New.
7758 * configure.ac: autoconf no longer needs an AWK with a good
7760 Use a static test on AC_PACKAGE_VERSION.
7761 * autom4te.in (&up_to_date_p): Output depends on the arguments.
7762 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7763 * tests/atconfig.in (PERL): New.
7765 2001-08-01 Akim Demaille <akim@epita.fr>
7767 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7768 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7769 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7770 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7771 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7772 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7773 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7774 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7775 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7776 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7777 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7778 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7779 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7780 * lib/autoconf/c.m4: here, new file.
7782 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7783 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7784 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7785 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7786 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7787 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7788 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7789 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7790 (AC_F77_FUNC): Move to...
7791 * lib/autoconf/fortran.m4: here, new file.
7793 2001-08-01 Akim Demaille <akim@epita.fr>
7795 * acfunctions.m4: Rename as...
7796 * lib/autoconf/functions.m4: this.
7797 * acgeneral.m4: Rename as...
7798 * lib/autoconf/general.m4: this.
7799 * acheaders.m4: Rename as...
7800 * lib/autoconf/headers.m4: this.
7801 * aclang.m4: Rename as...
7802 * lib/autoconf/lang.m4: this.
7803 * acoldnames.m4: Rename as...
7804 * lib/autoconf/oldnames.m4: this.
7805 * acspecific.m4: Rename as...
7806 * lib/autoconf/specific.m4: this.
7807 * actypes.m4: Rename as...
7808 * lib/autoconf/types.m4: this.
7809 * autoconf.m4: Rename as...
7810 * lib/autoconf/autoconf.m4: this.
7812 * m4sugar.m4: Rename as...
7813 * lib/m4sugar/m4sugar.m4: this.
7814 * m4sh.m4: Rename as...
7815 * lib/m4sugar/m4sh.m4: this.
7817 * tests/atgeneral.m4: Rename as...
7818 * lib/autotest/general.m4: this.
7820 * acfunctions: Rename as...
7821 * lib/autoscan/functions: this.
7822 * acheaders: Rename as...
7823 * lib/autoscan/headers: this.
7824 * acidentifiers: Rename as...
7825 * lib/autoscan/identifiers: this.
7826 * aclibraries: Rename as...
7827 * lib/autoscan/libraries: this.
7828 * acmakevars: Rename as...
7829 * lib/autoscan/makevars: this.
7830 * acprograms: Rename as...
7831 * lib/autoscan/programs: this.
7833 2001-08-01 Akim Demaille <akim@epita.fr>
7835 * doc/autoconf.texi: Moving/deleting open files is not portable.
7836 Portability issues for `.' (source), and more information about sed.
7838 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
7840 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7841 which has a special meaning and is not a reference to libibmil.a.
7842 Reported by Matteo Frigo.
7844 2001-07-25 Pavel Roskin <proski@gnu.org>
7846 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7849 2001-07-25 Akim Demaille <akim@epita.fr>
7851 * autoconf.in: Try to define the variables before using them.
7852 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7853 instead of `$perllibdir'.
7854 * tests/atconfig.in ($autom4te_perllibdir): Export it.
7856 2001-07-25 Akim Demaille <akim@epita.fr>
7858 * autoconf.in (ac_LF_and_DOT): Remove, unused.
7860 2001-07-24 Akim Demaille <akim@epita.fr>
7862 Let autoconf use autom4te for traces.
7864 * autoconf.in ($task, task trace): Remove, merely pass --trace to
7866 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7867 (Because I found no way for autom4te to accept `-').
7868 * autom4te.in (&Request::request): Beware of M4 builtins.
7869 (END): Don't try to remove the content of an empty dir.
7870 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
7871 (&handle_output): Set a default value to `$forbidden'.
7872 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
7873 ($autoconf): Pass --debug and --verbose.
7874 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
7877 2001-07-24 Akim Demaille <akim@epita.fr>
7879 Let autoconf use autom4te to create configure.
7881 * autoconf.in ($automate): New var.
7882 (task script): Use autom4te.
7883 * autom4te.in (File::Spec): Use it.
7885 (&parse_args): --warning is -W, not -w.
7886 Find the top level files.
7887 (&handle_m4): Pass the warnings flags.
7888 Don't report verbosely m4's failures, unless requested.
7889 (&handle_output): Don't complain for forbidden tokens in comments.
7890 Be sure to report all the forbidden tokens within a single line.
7891 (&trace_format_to_m4): Preserve `$_'.
7892 (&handle_traces): Sort the output macros.
7893 (&up_to_date_p): Find the files before trying to get its time stamp.
7895 2001-07-24 Akim Demaille <akim@epita.fr>
7897 * Makefile.am: Ship, build and install Autom4te.
7899 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
7900 * configure.in: Require Perl.
7901 * man/autom4te.in: New.
7903 2001-07-19 Paul Eggert <eggert@twinsun.com>
7905 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
7906 example, rather than (exit 1); exit (which isn't portable).
7908 2001-07-18 Akim Demaille <akim@epita.fr>
7912 2001-07-18 Akim Demaille <akim@epita.fr>
7914 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
7915 was run, while they are needed also when it is expanded.
7916 Reported by Nicolas Joly.
7918 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
7919 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
7920 AC_F77_DUMMY_MAIN being expanded.
7922 2001-07-18 Akim Demaille <akim@epita.fr>
7924 * configure.in: Bump to 2.51a.
7926 2001-07-17 Akim Demaille <akim@epita.fr>
7930 2001-07-17 Akim Demaille <akim@epita.fr>
7932 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
7933 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
7935 2001-07-17 Akim Demaille <akim@epita.fr>
7937 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
7938 used. Well, then use the prototypes when you can, and runtime as
7940 Reported by Artur Frysiak
7942 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
7943 (AC_FUNC_GETPGRP): Use it.
7944 First try to compile with 0-ary or 1-ary calls.
7946 2001-07-17 Akim Demaille <akim@epita.fr>
7948 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
7952 2001-07-17 Akim Demaille <akim@epita.fr>
7954 * Makefile.maint: Sync. with cppi 1.10.
7956 2001-07-17 Akim Demaille <akim@epita.fr>
7958 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
7959 AC_F77_DUMMY_MAIN has been run.
7960 From Pavel Roskin and Steven G. Johnson.
7962 2001-07-17 Akim Demaille <akim@epita.fr>
7964 * configure.in: Rename as...
7965 * configure.ac: this.
7967 2001-07-17 Akim Demaille <akim@epita.fr>
7969 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
7972 * Makefile.maint (release-archive-dir): Rename as...
7973 (release_archive_dir): this, so that it can be specialized in
7976 2001-07-14 Akim Demaille <akim@epita.fr>
7978 * configure.in: Bump to 2.50d.
7980 2001-07-14 Akim Demaille <akim@epita.fr>
7983 * Makefile.maint (alpha): Typo.
7985 2001-07-14 Akim Demaille <akim@epita.fr>
7987 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
7989 2001-07-14 Akim Demaille <akim@epita.fr>
7991 * config/config.guess, config/config.sub, config/texinfo.tex
7992 * doc/standards.texi, doc/make-stds.texi: Update.
7994 2001-07-14 Akim Demaille <akim@epita.fr>
7996 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
7998 2001-07-14 Akim Demaille <akim@epita.fr>
8000 * Makefile.maint (maintainer-check): Rename as...
8001 (maintainer-distcheck): this.
8002 (changelog-check, static-check): New.
8005 2001-07-14 Kevin Ryde <user42@zip.com.au>
8007 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8008 for CXX is g++, not gcc.
8010 2001-07-14 Akim Demaille <akim@epita.fr>
8012 * doc/autoconf.texi (Files): New subsection.
8014 2001-07-14 Akim Demaille <akim@epita.fr>
8016 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8018 (Generic Compiler Characteristics): this.
8019 (C++ Compiler): New subsection.
8021 2001-07-14 Akim Demaille <akim@epita.fr>
8023 * autoscan.in: Use IO::File.
8024 Adjust all the routines to use it.
8025 ($log): New file (autoscan.log).
8026 (output): Dump detailed logs into $log, and a shortened version to
8028 (&scan_makefile): Refine the regexp catching tokens in the code.
8029 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8030 and the `configure.ac' checking feature.
8032 2001-07-12 Akim Demaille <akim@epita.fr>
8034 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8035 Reported by Michael Elizabeth Chastain.
8037 * autoconf.in: Refuse such AWK.
8038 * configure.in: Likewise.
8039 * Makefile.am (acversion.m4): Do not use move-if-change this file
8041 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8043 2001-07-10 Jens Petersen <petersen@redhat.com>
8045 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8046 things like "g++", "file.c" and "some-conf" as tokens.
8047 (&scan_file): Match C++ files extensions.
8048 If the filename extension is C++ then ask for c++.
8050 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8052 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8053 AC_TRY_LINK_FUNC, to check whether defining a dummy
8054 main-like routine is needed for linking with F77 libs.
8056 2001-07-05 Pavel Roskin <proski@gnu.org>
8058 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8060 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8063 2001-07-05 Akim Demaille <akim@epita.fr>
8065 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8066 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8068 Reported by Nicolas Joly.
8070 2001-07-04 Akim Demaille <akim@epita.fr>
8072 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8074 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8075 warnings from compilers.
8076 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8077 for all the compilers, not only GNU. Hence move from here...
8078 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8080 2001-07-04 Akim Demaille <akim@epita.fr>
8082 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8083 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8086 2001-07-04 Akim Demaille <akim@epita.fr>
8088 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8089 the ``strings.h'' change claimed below.
8091 2001-07-04 Akim Demaille <akim@epita.fr>
8093 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8095 2001-07-04 Akim Demaille <akim@epita.fr>
8097 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8098 strings.h if usable with string.h.
8099 Suggested by Paul Eggert.
8101 2001-07-04 Akim Demaille <akim@epita.fr>
8103 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8106 2001-07-03 Akim Demaille <akim@epita.fr>
8108 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8111 2001-07-03 Akim Demaille <akim@epita.fr>
8113 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8114 compiler, not the preprocessor.
8115 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8116 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8118 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8119 earlier if there are.
8121 2001-07-03 Akim Demaille <akim@epita.fr>
8123 * autoscan.in ($initfile): Remove.
8124 (&find_file): Rename as...
8126 Immediately scan the current file, instead of gathering them, and
8127 later having them handled by &scan_files.
8128 (&scan_files): Merely invoke Find::File.
8131 2001-07-02 Akim Demaille <akim@epita.fr>
8133 * autoscan.in: Formatting changes, matching the invocation order.
8134 (File::Find): Use it instead of Perl 4's `find.pl'.
8135 (&wanted): Rename as...
8138 2001-07-01 Pavel Roskin <proski@gnu.org>
8140 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8141 break in the argument to AC_TRY_LINK_FUNC.
8142 (AC_F77_MAIN): Remove conftest* after using break in the
8143 argument to AC_TRY_LINK.
8145 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8147 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8148 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8150 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8151 dummy alternate main is required even if the user provides her own
8153 (AC_F77_MAIN): New macro to detect whether it is possible to
8154 provide an alternate 'main' function name, using the 'main' from
8155 the Fortran libraries.
8156 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8157 cross-language link tests can be performed successfully.
8158 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8159 after $LIBS, for consistency; this should be the general rule since
8160 the user may want to link to Fortran libraries that require $FLIBS.
8161 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8163 2001-06-29 Pavel Roskin <proski@gnu.org>
8165 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8166 at-stdout and at-stderr instead of removing the newline
8167 from the echo output, which is not guaranteed to work.
8169 2001-06-28 Jens Petersen <petersen@redhat.com>
8171 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8172 confdefs.h when non-zero.
8174 2001-06-28 Akim Demaille <akim@epita.fr>
8176 * configure.in: Bump to 2.50c.
8178 2001-06-26 Akim Demaille <akim@epita.fr>
8182 2001-06-26 Akim Demaille <akim@epita.fr>
8186 2001-06-25 Pavel Roskin <proski@gnu.org>
8188 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8189 argument, AUTOCONF-FLAGS.
8190 * tests/mktests.sh (update_exclude_list): Add
8191 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8192 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8193 AC_FUNC_WAIT3 with "-W no-obsolete".
8195 2001-06-25 Akim Demaille <akim@epita.fr>
8197 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8199 2001-06-25 Akim Demaille <akim@epita.fr>
8201 * autoscan.in (%macro): Now maps from word to list of macros.
8202 (&init_tables): Die when a word which is already handled by
8203 explicit macros is mapped to the default macro.
8204 (&print_unique): Remove, inlined in...
8205 (&output_kind): here.
8206 (File::Basename): Use it.
8207 (&output): Sort the CONFIG_FILES.
8208 * acheaders: Normalize.
8209 * acfunctions: Likewise.
8211 2001-06-25 Akim Demaille <akim@epita.fr>
8213 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8214 characteristics in the logs.
8215 Suggested by Mo DeJong.
8217 2001-06-24 Akim Demaille <akim@epita.fr>
8219 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8220 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8221 * doc/autoconf.texi (Autoconf 2.13): New section.
8223 2001-06-24 Akim Demaille <akim@epita.fr>
8225 * autoconf.in (Task traces): Separate the error messages from the
8226 traces to improve robustness.
8228 2001-06-23 Akim Demaille <akim@epita.fr>
8230 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8231 three as failures are unlikely, and speed matters.
8233 2001-06-23 Akim Demaille <akim@epita.fr>
8235 * doc/autoconf.texi (Redefined M4 Macros): New.
8237 2001-06-23 Akim Demaille <akim@epita.fr>
8239 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8240 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8243 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8245 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8246 config.status targets to after the evaluation of the INIT-CMDS.
8247 Double quote config.status targets (used to be single quoted).
8249 2001-06-23 Akim Demaille <akim@epita.fr>
8251 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8252 Check the content of the created file.
8253 Check the ./config.status command line invocation.
8255 2001-06-23 Akim Demaille <akim@epita.fr>
8257 * tests/foreign.at (Libtool): Reject prehistoric versions.
8259 2001-06-23 Akim Demaille <akim@epita.fr>
8261 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8262 preexisting files matching a.*.
8264 2001-06-23 Akim Demaille <akim@epita.fr>
8266 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8268 * doc/autoconf.texi (AC_ARG_VAR): Update.
8270 2001-06-21 Akim Demaille <akim@epita.fr>
8272 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8273 precious variables have changed.
8274 * tests/torture.at (AC_ARG_VAR): Adjust.
8276 2001-06-21 Akim Demaille <akim@epita.fr>
8278 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8279 but some sed choke on multiple `;', and other tools (e.g.,
8280 Automake), include the separator themselves.
8282 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8284 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8286 * doc/autoconf.texi (Functions Portability): Rename as...
8287 (Function Portability): this.
8288 (Function Portability): Document potential problems with unlink().
8290 2001-06-19 Paul Eggert <eggert@twinsun.com>
8292 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8294 2001-06-18 Akim Demaille <akim@epita.fr>
8296 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8298 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8300 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8301 (_AC_FUNC_VFORK): this.
8302 Remove AC_DEFINEs and don't guess cross-compilation values.
8303 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8304 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8305 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8307 Guess values if cross-compiling, but warn.
8308 * acfunctions: Add AC_FUNC_FORK.
8309 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8310 and vfork appropriately.
8312 2001-06-18 Akim Demaille <akim@epita.fr>
8314 * doc/autoconf.texi (Functions Portability): New section.
8316 2001-06-18 Akim Demaille <akim@epita.fr>
8318 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8320 Suggested by Andreas Schwab.
8322 2001-06-18 Akim Demaille <akim@epita.fr>
8324 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8325 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8326 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8327 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8328 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8329 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8330 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8333 2001-06-18 Akim Demaille <akim@epita.fr>
8335 * doc/autoconf.texi (ms): New index.
8336 (Macro Index): Rename as...
8337 (Autoconf Macro Index): this.
8338 (M4 Macro Index): New appendix.
8339 (Programming in M4): New chapter.
8340 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8341 (Quoting): Rename as...
8342 (M$ Quotation): this.
8343 Be part of `Programming in M4).
8345 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8347 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8348 in separate statements for compatibility with Tru64 v5.1.
8350 2001-06-17 Akim Demaille <akim@epita.fr>
8352 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8353 current values of the precious variables, not the previously
8355 Pass precious variables which are set to config.status.
8356 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8357 * tests/torture.at (AC_ARG_VAR): New.
8359 2001-06-15 Paul Eggert <eggert@twinsun.com>
8361 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8362 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8363 and explain why and how to replace them.
8364 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8365 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8367 2001-06-15 Akim Demaille <akim@epita.fr>
8369 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8370 Reported by Bruno Haible.
8372 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8373 (_AC_ARG_VAR_PRECIOUS): to here.
8375 2001-06-15 Pavel Roskin <proski@gnu.org>
8377 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8378 an unused pointer use cast to this type and `if' statement to
8379 avoid warnings from the compiler.
8380 (AC_HEADER_TIME): Likewise.
8381 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8382 in `if' statement to avoid warnings from the compiler. Declare
8383 ac_aggr static to avoid the need to initialize it.
8385 2001-06-14 Akim Demaille <akim@epita.fr>
8387 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8390 2001-06-13 Akim Demaille <akim@epita.fr>
8392 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8393 Suggested by Alexander Mai.
8395 2001-06-13 Akim Demaille <akim@epita.fr>
8397 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8398 sys/types.h and sys/stat.h, and check for them.
8400 2001-06-13 Akim Demaille <akim@epita.fr>
8402 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8405 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8407 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8408 succeeds and only try adding libdnet upon a failure.
8410 2001-06-12 Akim Demaille <akim@epita.fr>
8412 * autoscan.in (&output_kind): Output the comment only if it exists.
8413 (%kind_comment): Add entry for `programs'.
8414 (&output_programs): Use &output_kind.
8415 (&output_functions, &output_identifiers, &output_headers)
8416 (&output_programs): Inline, and remove.
8418 2001-06-12 Akim Demaille <akim@epita.fr>
8420 * autoscan.in (%kind_comment): New.
8422 (output_functions, output_identifiers, output_headers): Use it.
8424 2001-06-12 Akim Demaille <akim@epita.fr>
8426 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8427 arguments, to factor indirections into `%macro' and `%used'.
8428 (%generic_macro): Fix a typo.
8430 2001-06-12 Akim Demaille <akim@epita.fr>
8433 * autoscan.in (@kinds): Add `libraries'.
8434 Use `@kinds' instead of hard coded lists.
8435 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8436 Remove, replaced by...
8439 2001-06-12 Akim Demaille <akim@epita.fr>
8441 * autoscan.in (%functions_macros %headers_macros)
8442 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8446 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8448 * aclang.m4 (AC_NO_EXECUTABLES): Override
8449 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8451 2001-06-11 Akim Demaille <akim@epita.fr>
8453 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8455 Reported by Andreas Schwab.
8457 2001-06-11 Akim Demaille <akim@epita.fr>
8459 * Makefile.am, Makefile.maint: Typos.
8461 2001-06-09 Akim Demaille <akim@epita.fr>
8463 * doc/autoconf.texi (Here-Documents): New section, gathering
8464 documentation about here-documents.
8465 Use `href', not `uref', and other changes.
8467 2001-06-09 Akim Demaille <akim@epita.fr>
8469 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8472 2001-06-09 Akim Demaille <akim@epita.fr>
8474 * doc/autoconf.texi (Limitations of Builtins): Complete the
8475 description of the here-docs penalties with Alexandre Oliva's
8478 2001-06-01 Paul Eggert <eggert@twinsun.com>
8480 * doc/autoconf.texi: Talk about here documents and speedups.
8481 Do not use "echo" on arbitrary strings.
8482 Spell "here-documents" consistently with the standard.
8484 2001-06-09 Akim Demaille <akim@epita.fr>
8486 * doc/autoconf.texi (Concept Index): Introduce it.
8487 Regenerate the menus.
8489 2001-06-09 Akim Demaille <akim@epita.fr>
8491 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8492 * config/prev-version.txt: New.
8493 * config/move-if-change: New, for GNU libc.
8495 2001-06-06 Pavel Roskin <proski@gnu.org>
8497 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8499 2001-06-06 Akim Demaille <akim@epita.fr>
8501 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8502 properly when $1 is not a literal.
8503 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8505 2001-06-06 Akim Demaille <akim@epita.fr>
8507 Invoking AC_COPYRIGHT before AC_INIT fails.
8509 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8510 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8511 (_m4_divert(VERSION_USER)): New.
8512 (AC_COPYRIGHT): $2 is the diversion to use.
8513 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8514 (AC_INIT): Remove dead comments as now it's commutative.
8516 2001-06-06 Akim Demaille <akim@epita.fr>
8518 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8521 2001-06-05 Akim Demaille <akim@epita.fr>
8523 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8525 `*dir' variables cannot be NONE.
8526 Reported by Mark Kettenis.
8528 2001-06-05 Paul Eggert <eggert@twinsun.com>
8530 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8532 2001-06-04 Akim Demaille <akim@epita.fr>
8534 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8535 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8536 (AC_TR_SH): Move as...
8537 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8538 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8540 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8541 (_AS_TR_SH_PREPARE): New.
8542 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8543 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8545 2001-06-02 Akim Demaille <akim@epita.fr>
8547 * Makefile.am (.m4.m4f): Pass the options first.
8548 Fixes PR autoconf/182.
8550 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8552 GNU getopt, when POSIXLY_CORRECT does not permute options and
8553 arguments. So pass the options first.
8554 Fixes PR autoconf/184.
8556 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8557 (run_m4): Remove files.
8559 Update remainder of script to use them.
8560 (for warning in): Do not use a literal comma as it will not be
8563 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8565 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8566 Fortran compilers to check.
8567 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8568 information on library and object files.
8569 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8572 2001-06-02 Akim Demaille <akim@epita.fr>
8574 * autom4te.in (Request::@request): Declare with `vars', not `my',
8575 as it prevents updates via `do FILENAME'.
8577 2001-06-02 Akim Demaille <akim@epita.fr>
8579 * configure.in (standards_texi): Remove, dead code.
8581 2001-06-02 Akim Demaille <akim@epita.fr>
8585 2001-06-02 Pavel Roskin <proski@gnu.org>
8587 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8588 for signals other than 0 - exit with code 1.
8589 * m4sh.m4 (AS_TMPDIR): Likewise.
8590 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8591 * autoheader.in: Likewise.
8592 * autoreconf.in: Likewise.
8593 * tests/torture.at (Signal handling): New test for the above.
8595 2001-06-01 Akim Demaille <akim@epita.fr>
8597 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8600 2001-05-31 Akim Demaille <akim@epita.fr>
8602 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8603 Add copyright and comments.
8604 * acheaders: Add stdint.h.
8605 Suggested by Paul Eggert.
8607 2001-05-31 Akim Demaille <akim@epita.fr>
8609 * atgeneral.m4 (AT_INIT): Use $SHELL.
8610 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8612 2001-05-31 Akim Demaille <akim@epita.fr>
8614 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8616 From Paul Eggert and Lars Hecking.
8618 2001-05-31 Akim Demaille <akim@epita.fr>
8620 * tests/base.at: Adjust line numbers in error messages.
8622 2001-05-31 Akim Demaille <akim@epita.fr>
8624 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8625 to emit the bangshe line.
8626 Reported by David Carter.
8628 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8630 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8631 Fortran (95) compilers to check.
8633 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8635 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8638 2001-05-23 Pavel Roskin <proski@gnu.org>
8640 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8641 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8642 (AC_PROG_CXXCPP): Likewise.
8644 2001-05-22 Akim Demaille <akim@epita.fr>
8646 * config: New directory.
8647 * configure.in: AC_CONFIG_AUX_DIR it.
8648 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8650 2001-05-22 Akim Demaille <akim@epita.fr>
8652 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8653 * autoupdate.in: Specify the Emacs mode.
8654 * acversion.m4.in: Rename as...
8655 * acversion.m4: this.
8656 * tests/Makefile.am (CLEANFILES): More garbage.
8658 2001-05-22 Akim Demaille <akim@epita.fr>
8660 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8662 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8665 2001-05-21 Akim Demaille <akim@epita.fr>
8667 * configure.in: Bump to 2.50a.
8671 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8673 This file is part of GNU Autoconf.
8675 GNU Autoconf is free software; you can redistribute it and/or modify
8676 it under the terms of the GNU General Public License as published by
8677 the Free Software Foundation; either version 2, or (at your option)
8680 GNU Autoconf is distributed in the hope that it will be useful,
8681 but WITHOUT ANY WARRANTY; without even the implied warranty of
8682 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8683 GNU General Public License for more details.
8685 You should have received a copy of the GNU General Public License
8686 along with autoconf; see the file COPYING. If not, write to
8687 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8688 Boston, MA 02110-1301, USA.