1 2005-05-23 Stepan Kasal <kasal@ucw.cz>
3 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
4 obsolete; it was never documented.
5 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
7 2005-05-20 Stepan Kasal <kasal@ucw.cz>
9 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
10 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
11 (ac_top_builddir): ... this ...
12 (ac_top_build_prefix): ... to this; the old name is also kept, for
13 backward compatibility.
14 (ac_top_builddir_sub): New variable, without the trailing slash,
16 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
17 * doc/autoconf.texi (Configuration Actions): Rename
18 ac_top_builddir to ac_top_build_prefix.
19 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
20 at_top_builddir to at_top_build_prefix.
21 * lib/autotest/general.m4 (AT_INIT): Likewise.
23 2005-05-20 Stepan Kasal <kasal@ucw.cz>
25 * ./lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
28 2005-05-17 Stepan Kasal <kasal@ucw.cz>
30 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
31 argument to m4_foreach. I guess it was necessary in the past,
32 but I think it's a no-op now.
34 2005-05-17 Stepan Kasal <kasal@ucw.cz>
36 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
37 ``cat <<_ACEOF'' commands to one.
38 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
39 * lib/autoconf/status.m4: On various places, use expr instead of
41 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
42 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
43 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
45 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
46 the wrong patterns between ``case'' and ``esac.'' The previous
47 code had false positives.
49 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
51 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
53 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
56 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
58 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
59 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
60 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
61 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
62 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
63 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
64 config/config.guess, config/config.sub, config/elisp-comp,
65 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
66 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
67 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
68 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
69 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
70 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
71 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
72 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
73 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
74 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
75 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
76 lib/autoconf/general.m4, lib/autoconf/headers.m4,
77 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
78 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
79 lib/autoconf/specific.m4, lib/autoconf/status.m4,
80 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
81 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
82 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
83 lib/autotest/general.m4, lib/emacs/Makefile.am,
84 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
85 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
86 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
87 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
88 tests/compile.at, tests/foreign.at, tests/fortran.at,
89 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
90 tests/semantics.at, tests/suite.at, tests/tools.at,
91 tests/torture.at, tests/wrapper.as:
92 Update FSF postal mail address.
94 2005-05-13 Stepan Kasal <kasal@ucw.cz>
96 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
98 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
99 enough arguments, similarly as in m4_bpatsubsts.
101 2005-05-12 Stepan Kasal <address@hidden>
103 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
106 2005-05-11 Stepan Kasal <kasal@ucw.cz>
108 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
109 for absolute directory names in one loop.
110 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
111 abbreviations of --version and --debug.
113 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
115 * doc/autoconf.texi (Autoconf Language): Be more precise about
116 quoting rules. Problems noted by Stepan Kasal.
117 Also, throughout this document, be more careful about white space.
118 "blank", "white space", and "space" all have different meanings
119 and we should be careful to say what we mean.
121 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
123 Fix C++ related problems reported by Werner Lemberg.
124 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
125 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
126 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
127 avoid problems with C++ and throw.
128 * tests/compile.at: .cpp, not .cc.
130 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
132 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
134 * doc/autoconf.texi (Generic Functions): Typos.
136 2005-05-02 Gary V. Vaughan <gary@gnu.org>
138 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
139 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
140 set by latest automake.
142 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
144 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
145 outputs 0 on GNU/Linux these days.
147 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
149 * doc/autoconf.texi (Autoconf Language): Add more description
150 about quoting heuristics.
151 (Limitations of Builtins): Describe "set -" problems.
153 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
155 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
158 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
159 by AC_DEFINE; it was a mistake.
160 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
162 2005-04-25 Stepan Kasal <kasal@ucw.cz>
164 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
166 2005-04-22 Stepan Kasal <kasal@ucw.cz>
168 * doc/autoconf.texi (External Software): Quadrigraphs are not
169 processed correctly in AS_HELP_STRING; avoid this in the examples.
170 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
171 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
172 comment and reduce m4_default([foo], []) to [foo].
173 (m4_strip): Update the explanation.
175 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
177 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
178 Remove core.conftest.* too; it's generated by Tru64 5.1.
179 Problem reported by Jennis Pruett.
180 * lib/autoconf/functions.m4
181 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
182 Don't bother to remove core files; AC_RUN_IFELSE should do that
185 2005-04-19 Stepan Kasal <kasal@ucw.cz>
187 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
189 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
191 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
192 Report from Horst Wente.
194 2005-04-15 Stepan Kasal <kasal@ucw.cz>
196 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
199 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
201 * doc/autoconf.texi (External Software, Package Options): Add
202 examples showing how to implement --with-* and --enable-* options.
204 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
206 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
207 as well as configure.in. Problem reported by Gregorio Guidi.
209 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
211 * doc/autoconf.texi (Particular Functions): Use gnulib's current
212 pattern for alloca snippet.
214 2005-04-04 Stepan Kasal <kasal@ucw.cz>
216 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
218 2005-04-01 Stepan Kasal <kasal@ucw.cz>
220 * doc/autoconf.texi (Generic Programs): Fix a typo.
222 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
224 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
225 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
227 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
229 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
230 Merge `-z option' as well for the benefit of Solaris link flags. Pass
231 whole-archive (-zallextract, -zdefaultextract) options in the hope of
232 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
233 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
235 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
237 * NEWS: The configure command now warns you if you attempt to use
238 a directory whose name contains a special character like space,
240 * doc/autoconf.texi (Installation Directory Variables): Allow
241 "," in file names. Do not use \@; it's not a portable regexp.
242 * bin/Makefile.am (edit): Likewise.
243 * lib/Makefile.am (edit): Likewise.
244 * tests/Makefile.am (edit): Likewise.
245 * tests/semantics.at: Likewise.
246 * tests/torture.at: Likewise.
247 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
248 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
249 * doc/autoconf.texi (File System Conventions): Warn about
250 unportable file names.
251 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
253 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
254 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
255 ac_pwd, and quote srcdir.
256 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
258 * doc/autoconf.texi: Fix some systematic formatting problems.
259 ".)" needs a following @: if not at the end of a sentence, and
260 similarly for "!)". "etc." should be preceded by a comma.
261 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
263 2005-03-22 Bruno Haible <bruno@clisp.org>
265 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
266 argument is often called 'build-aux'.
268 2005-03-07 Stepan Kasal <kasal@ucw.cz>
270 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
271 macro AC_TRY_LINK is obsolete.
272 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
275 2005-02-24 Stepan Kasal <kasal@ucw.cz>
277 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
278 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
279 from a Common Lisp's `cl'.
280 (AC_PROG_CXX): Behave according to the documentation: don't
281 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
282 make the variable CCC precious; use `cl.exe', not `cl'.
284 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
285 Alexandre Duret-Lutz <adl@gnu.org>
287 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
288 /dev/null, as "configure" shouldn't read stdin, and this insulates
289 us from problems (e.g., when testing for "cl"). Also, do this
290 redirection before invoking "hostname" or "uname", and keep the
291 original input stream available via...
292 (AS_ORIGINAL_STDIN_FD): ... this new macro.
293 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
294 bother with "</dev/null" since it's now done at the top of
296 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
297 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
298 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
299 * doc/autoconf.texi (File Descriptor Macros): New section.
300 (Printing Messages): Mention it.
301 * tests/base.at (Input/Output): New test.
303 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
305 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
306 newline if neither \c nor -n work, as that would output two
307 newlines. Prefer -n to \c. Reported by Stepan Kasal.
309 2005-02-12 Stepan Kasal <kasal@ucw.cz>
311 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
312 This causes that any required macros inside will get before the if.
313 * doc/autoconf.texi (autom4te.cache): A typo.
315 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
317 Undo previous change, except keep the change to
318 lib/autoconf/programs.m4 that replaced grep with shell
319 pattern-matching. This is because net-snmp configure reads stdin.
320 Reported by Noah Misch.
322 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
324 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
325 from /dev/null, as "configure" shouldn't read stdin, and this
326 insulates us from problems (e.g., when testing for "cl").
327 Suggested by Alexandre Duret-Lutz. Also, do this redirection
328 before invoking "hostname" or "uname".
329 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
330 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
331 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
332 "</dev/null" since it's now done at the top of 'configure'.
333 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
334 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
335 Also, replace grep with shell pattern-matching, to save a process.
337 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
339 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
340 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
341 avoid thinking that Allegro Common Lisp's "cl" command is a C++
344 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
346 * doc/autoconf.texi (Limitations of Usual Tools): Document that
347 grep -q isn't portable. Improve grep -s explanation.
348 Problem reported by Dan Manthey.
350 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
352 * doc/autoconf.texi (Special Shell Variables): Clarify
353 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
355 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
357 * doc/autoconf.texi: Use @acronym for DJGPP.
358 Fix some @code's that should have been @env's, and vice versa.
359 Sort environment variable names.
360 Mention that shells no longer inherit IFS.
361 Don't recommend PATH_SEPARATOR=';' so strongly.
362 Mention that $RANDOM might expand to the empty string.
363 "symlink" and "soft link" -> "symbolic link".
364 Improve mktemp description (reported by Bruno Haible).
366 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
368 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
369 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
371 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
374 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
376 * NEWS: Mention AT_COPYRIGHT.
378 * tests/local.at (AT_CMP): Use diff directly on input files rather
381 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
382 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
384 2005-02-04 Noah Misch <noah@cs.caltech.edu>
385 and Paul Eggert <eggert@cs.ucla.edu>
387 * tests/autotest.at (Empty test suite): New test.
388 * tests/torture.at (Substitute and define special characters)
389 (Substitute a 2000-byte string, Define to a 2000-byte string)
390 (Substitute a newline, Define a newline): New tests.
392 2005-02-04 Noah Misch <noah@cs.caltech.edu>
394 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
395 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
396 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
397 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
398 (Standard regular expressions): New test.
399 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
400 excess test name quoting.
401 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
402 CPPFLAGS to `configure' instead of setting it in `configure'.
404 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
405 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
408 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
409 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
411 * tests/local.at (AT_CMP): New macro.
412 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
413 (AC_SAVE_STATE): Move environment grep...
414 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
415 (AT_CONFIG_CMP): New macro.
416 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
417 * tests/c.at (Extensions): Do not exit early.
418 * tests/atlocal.in: Inherit $GREP.
420 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
421 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
423 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
424 (AC_COPYRIGHT): Factor header comment portion out and move into...
425 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
426 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
427 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
429 * tests/local.at: Add Autoconf test suite copyright notice.
430 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
432 2005-02-04 Bruno Haible <bruno@clisp.org>
433 and Paul Eggert <eggert@cs.ucla.edu>
435 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
437 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
439 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
440 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
442 Try not to generated lines of unlimited length, as POSIX places a
443 2047-byte limit on line length of portable text files.
444 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
445 Use newline as a separator, not space.
446 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
447 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
450 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
452 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
453 as_func_*. Add test to check whether positional parameters
454 are restored after function return.
456 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
458 * doc/autoconf.texi (Special Shell Variables): Mention _,
459 BIN_SH, DUALCASE. Say that variables other than "status" are safe
460 if they contain a lower-case letter. The DUALCASE problem was
461 reported by Ralf Wildenhues.
463 * bin/autoconf.as: Don't exit with status 0 after write failure
464 with --help or --version.
465 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
466 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
468 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
470 * doc/autoconf.texi (Limitations of Usual Tools):
471 Unicos 9 sed limitations.
472 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
473 to get the option-enhanced interface on older Crays. Try ftn for
474 Fortran 95 (newer Crays).
476 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
478 * man/Makefile.am (.x.1): Go back to the simple solution, but take
479 care to echo the commands, so the user knows what's going on.
480 Modified from a suggestion by Stepan Kasal.
482 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
483 with a cross reference. Derived from a suggestion by Bruce Korb.
485 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
487 * doc/autoconf.texi (config.status Invocation): Warn about
488 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
489 * doc/install.texi (Defining Variables): Likewise.
490 Based on a proposed patch by Ralf Wildenhues.
492 * man/Makefile.am (.x.1): Make sure the required generated files
493 are up to date. Problem and original solution proposed by Stepan Kasal.
494 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
495 implicit-man-prerequisites): New rules, used by the above.
497 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
498 * config/config.guess, config/config.sub, config/install-sh: Likewise.
499 * config/missing, config/texinfo.tex: Likewise.
501 2005-01-29 Stepan Kasal <kasal@ucw.cz>
503 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
504 Update the long comment explaining it.
506 m4_require no longer writes an ``is required by'' line to the
507 execution stack. It contains only one bit of non-redundant
508 information: that the macro was required, not called. And even
509 this bit is useless in most situations: have you ever met a macro
510 which both calls and requires the same macro?
512 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
513 (_m4_defun_pro_outer): ... only via this macro, for the outermost
515 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
516 (m4_expansion_stack_pop): Remove the misplaced comment.
517 (m4_require): Don't put the ``is required by'' line to the
518 execution stack; slightly improve the out-of-a-defun error message.
519 (_m4_divert_grow): New macro, counter for the temporary diversions.
520 (_m4_require_call): Use it.
521 * tests/m4sugar.at (m4_require): Expect output without the
522 ``is required by'' messages.
524 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
526 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
527 rather than x for expr.
529 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
531 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
532 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
533 * lib/autotest/general.m4 (AT_INIT): Likewise.
534 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
535 * tests/mktests.sh: Likewise.
537 2005-01-27 Akim Demaille <akim@epita.fr>
539 Have autoheader honor --force.
541 * doc/make-stds.texi, doc/standards.texi: Update from masters.
542 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
543 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
544 from masters, so that FileUtils.pm's update_file provide --force
546 * bin/autoheader.in: Pass $force to update_file so that
547 config.h.in is always recreated when --force.
549 2005-01-24 Stepan Kasal <kasal@ucw.cz>
551 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
553 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
555 * doc/autoconf.texi (Limitations of Builtins): Clarify that
556 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
558 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
560 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
561 Warn about newline stripping in `` and $(). Update Solaris
563 (Limitations of Builtins): Use expr "X...", not expr "x...", as
564 X insulates us from future changes to Posix.
565 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
568 2005-01-19 Stepan Kasal <kasal@ucw.cz>
570 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
571 you cannot use AC_DEFINE to define macros containing `[' or `]'.
573 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
575 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
576 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
577 bug-tar mailing list.
579 2005-01-05 Stepan Kasal <kasal@ucw.cz>
581 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
583 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
585 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
586 ulongval to be static, to avoid unwanted GCC warning. Problem
587 reported by Michael Jennings via Daniel Reed; see
588 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
590 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
592 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
593 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
594 datadir, infodir, and mandir. Adjust argument parsing code.
595 (_AC_INIT_HELP): Update help text.
596 * doc/autoconf.texi (Installation Directory Variables): Document
599 2005-01-04 Noah Misch <noah@cs.caltech.edu>
601 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
602 not seem to work, assume it does set $(MAKE).
603 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
605 2005-01-03 Stepan Kasal <kasal@ucw.cz>
607 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
609 2005-01-03 Stepan Kasal <kasal@ucw.cz>
611 A cleanup of the diversion support in m4sugar.
613 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
614 (_m4_divert_n_stack): New macro; the expansion is
615 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
617 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
618 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
619 stored in _m4_divert_diversion or _m4_divert_dump.
620 (m4_divert_pop): When the parameter is given, compare the symbolic
621 name with the last diversion pushed on the stack. Previously, the
622 current diversion was compared with the numeric value of the
623 diversion given as the parameter.
624 (m4_require): If the macro hasn't been expanded yet, call ...
625 (_m4_require_call): this new macro.
627 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
629 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
630 Workarounds for documented `case' limitations.
632 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
634 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
635 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
637 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
639 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
640 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
641 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
643 Patch from Roger Leigh (with some minor changes) as follows:
644 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
645 Resurrect AC_PROG_CC_STDC.
646 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
647 AC_PROG_CC_C89, AC_PROG_CC_C99.
648 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
649 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
650 AC_PROG_CC_C99): New macros.
651 (AC_PROG_CC_STDC): Use them.
652 (_AC_PROG_CC_STDC): Remove.
653 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
654 * THANKS: Add Roger Leigh.
656 2004-12-30 Noah Misch <noah@cs.caltech.edu>
658 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
659 signals that the package uses Automake; a `Makefile.am' is typical but
660 not essential. Reported by Magnus Therning.
661 * tests/torture.at (autoreconf.): New banner.
662 (autoreconf and non-AC configure): Rename to `Non-Autoconf
664 (autoreconf an empty directory): Rename to `Empty directory'.
665 (Unusual Automake input files): New test.
667 2004-12-30 Noah Misch <noah@cs.caltech.edu>
669 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
670 (AT_SETUP): Clear AT_capture_files.
671 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
672 (AT_KEYWORDS): Fix comment typo.
673 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
674 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
675 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
677 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
679 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
680 If the variable to set is already set, set ac_cv_path_$1
681 to the preset value so caller can assume ac_cv_path_$1
682 is available. (trivial change)
684 2004-12-27 Noah Misch <noah@cs.caltech.edu>
686 * BUGS (Minor Problems): Warn about makefile limitations.
687 * Makefile.am: Find and update `INSTALL' in $(srcdir).
688 * man/Makefile.am: Find and update manual pages in $(srcdir).
690 2004-12-24 Eric Blake <ebb9@byu.net>
692 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
693 shells in subshell, to avoid noise from ash. (trivial change)
695 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
697 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
698 problems with SunOS ksh and backslash escaping, Bourne shells and
699 closing brackets (both within character classes). Bug reported
700 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
701 <read>: New entry. Mention non-availability of -r.
703 2004-12-21 Akim Demaille <akim@epita.fr>
705 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
706 avoid cluttering displayed messages. Rather, prepend srcdir where
707 AT_LINE is used for log files.
709 2004-12-21 Stepan Kasal <kasal@ucw.cz>
711 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
712 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
713 no longer part of the macro, quote the occurrence of ``$tmp''.
714 * doc/autoconf.texi (Forbidden Patterns): Typo.
716 2004-12-21 Akim Demaille <akim@epita.fr>
718 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
719 separated from the test title by forcing a white space.
721 2004-12-21 Akim Demaille <akim@epita.fr>
723 Enable Emacs navigation within testsuite.log files.
725 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
726 use the compilation mode.
727 (AT_LINE): Point to the srcdir.
729 2004-12-19 Noah Misch <noah@cs.caltech.edu>
731 * tests/Makefile.am (installcheck-local): Use $(bindir).
732 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
733 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
734 Makefile.am scheme Autoconf now uses.
736 2004-12-18 Noah Misch <noah@cs.caltech.edu>
738 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
739 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
741 2004-12-18 Noah Misch <noah@cs.caltech.edu>
743 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
745 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
746 (AS_ESCAPE): Fix comment.
747 * tests/autotest.at: Adjust section banner comments.
748 (AT_CHECK_AT): Accept STATUS and STDERR.
749 (AT_CHECK_AT_TEST): Likewise.
750 (Invalid brace-enclosed parameter expansion)
751 (Multiline command from M4 expansion)
752 (Double-M4-quoted command): New tests.
754 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
756 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
758 2004-12-17 Akim Demaille <akim@epita.fr>
760 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
762 Suggested by Alexandre Duret-Lutz.
763 * doc/autoconf.texi (Setting Output Variables): Catch up.
765 2004-12-17 Stepan Kasal <kasal@ucw.cz>
767 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
769 2004-12-17 Stepan Kasal <kasal@ucw.cz>
771 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
772 remove the comment which said we cannot.
774 2004-12-17 Stepan Kasal <kasal@ucw.cz>
776 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
777 Reini Urban and Paul Eggert for reporting the dependencies.
779 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
780 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
781 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
783 2004-12-17 Stepan Kasal <kasal@ucw.cz>
785 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
786 so that eg. ``autoscan --help'' doesn't truncate it.
788 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
790 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
791 generated conftest files.
793 2004-12-13 Noah Misch <noah@cs.caltech.edu>
795 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
796 tracing on commands with possibly-escaped newlines.
797 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
798 discontinued behavior and its implications.
799 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
800 (BSx641-newline in command, BS-BS-newline in command)
801 (BSx640-newline in command, Newline-CODE-BS-newline in command)
802 (Single-quote-BS-newline in command)
803 (Single-quote-newline-BS-newline in command): New tests.
805 2004-12-13 Stepan Kasal <kasal@ucw.cz>
807 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
808 on platforms where it works.
809 (_AS_TEST_PREPARE): Test for ``test -x''.
810 (_AS_BROKEN_TEST_PREPARE): Nuke.
812 2004-12-13 Stepan Kasal <kasal@ucw.cz>
814 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
815 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
816 give only 4-letter prefix to AS_TMPDIR, comment fixed.
817 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
818 create the temporary directory.
819 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
821 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
823 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
826 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
828 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
830 2004-12-11 Noah Misch <noah@cs.caltech.edu>
832 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
833 to avoid using a negated character class. Reported by Nicolas Joly.
834 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
836 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
838 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
839 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
840 Don't depend on .x file explicitly, since "make" does that for us.
841 Suggested by Stepan Kasal.
843 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
845 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
846 ifnames): Factor common code. And they said it couldn't be done!
848 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
850 * bin/.cvsignore: Add autoconf.in.
851 * tests/.cvsignore: Add wrapper.in.
852 * lib/autotest/general.m4: Escape '$' in case pattern.
854 2004-12-09 Noah Misch <noah@cs.caltech.edu>
856 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
858 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
860 * tests/autotest.at: New file.
861 * tests/suite.at: Include it.
862 * tests/Makefile.am: Distribute it.
864 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
865 shell tracing on a command that could contain multiple lines.
866 * doc/autoconf.text: Document that fact and its implications.
867 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
868 * tests/autotest.at (Multiline backquote command substitution,
869 Multiline parameter expansion, Literal multiline command,
870 Multiline parenthetical command substitution): Remove XFAIL.
872 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
874 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
875 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
877 2004-12-08 Noah Misch <noah@cs.caltech.edu>
879 * configure.ac (test suite): Cease to generate wrapper scripts.
880 * configure: Regenerate.
881 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
882 (m4f_dependencies): Adjust accordingly.
883 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
884 (wrapper.in): Generate it in the build directory.
885 (MAINTAINERCLEANFILES): Delete wrapper.in.
886 (CLEANFILES): Add wrapper.in.
887 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
888 the output. Replace each $as_me with a @wrap_program@.
889 * tests/wrapper.in: Delete it; we always build it.
891 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
892 (EXTRA_DIST): Remove autoconf.in.
893 (CLEANFILES): Add autoconf.in.
894 (autoconf): Find autoconf.in in the build directory.
895 * bin/autoconf.in: Delete it; we always build it.
897 2004-12-08 Noah Misch <noah@cs.caltech.edu>
899 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
900 PATH members so as to not prepend an empty element. Move a comment.
901 * Makefile.am (SUBDIRS): Build in `tests' last.
902 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
904 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
906 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
907 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
908 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
909 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
911 2004-12-07 Stepan Kasal <kasal@ucw.cz>
913 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
916 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
918 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
919 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
920 * doc/autoconf.texi (Particular Functions): Mention new behavior.
922 2004-12-03 Stepan Kasal <kasal@ucw.cz>
924 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
925 out the common code to ...
926 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
927 value of the #define--default to 1, iff the macro was called
928 with exactly one parameter.
930 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
932 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
933 "char c = '\200';" rather than "char c = 0x80;" as the
934 latter doesn't conform to the strict C standard due to
935 overflow on signed char hosts.
937 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
938 to -qlanglvl=ansi. We don't want to disable extensions.
940 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
942 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
943 (Using Autotest, testsuite Scripts, Writing testsuite.at):
944 Reword slightly to avoid some English-language problems noted
945 by Ralf Wildenhues in:
946 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
948 2004-11-29 Stepan Kasal <kasal@ucw.cz>
950 * NEWS: Add ^L above each release.
952 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
954 Fix documentation problems reported by Russ Boylan in
955 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
956 along with some nearby cruft.
957 * doc/autoconf.texi (Libtool): Libtool can be used without
958 Automake (not without Autoconf).
959 (Introduction): Mention lists.gnu.org.
960 * BUGS: Don't mention bugs.gnu.org.
961 Remove mention of ancient libtool compatibility problem.
962 * NEWS: Mention that bugs.gnu.org is kaput.
963 * README: Likewise. Mention where mailing list archives can be found.
965 2004-11-28 Stepan Kasal <address@ucw.cz>
967 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
968 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
970 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
972 * doc/autoconf.texi (Pretty Help Strings): Go back to
973 single-quoting assignments to cache variables.
975 2004-11-23 Stepan Kasal <kasal@ucw.cz>
977 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
978 with the examples; fix the bug in MY_ARG_WITH example reported
979 by Alexandre Duret-Lutz.
980 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
981 expansion of $1 in the comment emitted to configure.
983 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
985 * doc/autoconf.texi (Pretty Help Strings): Fix typo
986 in my editing of the previous patch. Problem reported
987 by Alexandre Duret-Lutz.
989 2004-11-22 Stepan Kasal <kasal@ucw.cz>
991 * doc/autoconf.texi (Autoconf Language): Explain that
992 ``descriptions'' may not be double quotes.
993 (Quotation Rule Of Thumb): Likewise.
994 (Pretty Help Strings): Likewise; remove the wrong comment;
995 simplify the examples and improve their quoting.
997 2004-11-13 Stepan Kasal <kasal@ucw.cz>
999 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1000 the $1_found variable, don't test whether the file is executable;
1001 Both things are checked ...
1002 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1003 the former ``test -f''.
1004 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1006 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1008 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1011 2004-11-10 Derek R. Price <derek@ximbiot.com>
1013 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1014 limitations. Reorder paragraphs for clarity.
1016 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1018 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1019 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1020 variants", "Unix", and some related minor wording fixups.
1022 (Shellology, Special Shell Variables): Document that the Zsh
1023 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1024 to Alexandre Duret-Lutz for this info.
1026 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1028 * doc/autoconf.texi (One-Shot Macros): New node.
1030 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1032 * doc/autoconf.texi (Function Portability): Fix misdescription
1033 of putenv. Problem reported by Michael Wardle.
1035 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1037 * doc/autoconf.texi (auindex): New macro.
1038 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1039 Problem reported by Stepan Kasal.
1041 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1043 Fix problems reported by Andreas Buening in:
1044 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1045 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1047 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1048 readable; it's not true in OS/2-emx.
1050 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1052 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1053 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1054 (trivial change). Problem and patch reported by Andrew Church in:
1055 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1057 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1059 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1060 three args in examples. Problem reported by Frederik Fouvry in:
1061 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1062 Also, fix some minor spacing and punctuation bugs.
1064 2004-09-02 Akim Demaille <akim@epita.fr>
1066 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1067 "case" to restore ordering.
1068 Reported by Stepan Kasal.
1070 2004-08-26 Akim Demaille <akim@epita.fr>
1072 * doc/autoconf.texi: Minor typos and stylos.
1074 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1076 * configure.ac (AC_INIT): Bump to 2.59c.
1078 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1082 * README: Add advice about m4 1.4.2.
1084 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1085 texinfo.tex for now (done by hand now).
1086 * Makefile.maint (wget_files, cvs_files):
1087 Remove ansi2knr.c; nobody uses it.
1088 (ansi2knr.c-url_prefix): Remove.
1089 (cvs-update): Fix test for failure. I don't know why it ever
1092 * doc/autoconf.texi: Update URLs, some of which went stale.
1093 Use @uref rather than @href.
1095 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1096 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1098 * config/config.guess, config/config.sub, config/elisp-comp,
1099 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1100 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1102 * NEWS, TODO, configure.ac, bin/autoscan.in,
1103 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1104 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1105 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1106 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1107 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1108 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1109 tests/tools.at, tests/torture.at:
1110 Use "file name" rather than "filename" or "path",
1111 to be consistent with the terminology of the GNU coding standards.
1113 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1115 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1116 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1117 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1118 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1120 More fixes to support spaces in the name of the build directory.
1121 This isn't a complete fix but it's an improvement.
1123 * bin/autoconf.as (autom4te_options): New var.
1124 Use it instead of appending to AUTOM4TE, so that we can allow
1125 spaces in the build directory's absolute name.
1126 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1127 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1128 AT_CHECK_NOESCAPE): Likewise.
1129 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1130 main program): Likewise.
1132 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1134 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1135 From Ralf Corsepius in:
1136 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1138 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1140 * doc/autoconf.texi (Function Portability): Document isinf and
1141 and isnan. From a suggestion by Kevin Ryde.
1143 * lib/Autom4te/General.pm (END): Return correct exit status even
1144 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1146 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1148 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1149 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1150 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1152 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1154 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1155 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1156 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1157 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1158 * lib/autom4te.in (Automake-preselections): Preselect
1159 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1161 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1163 * lib/autom4te.in (Automake-preselections): Preselect
1164 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1167 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1169 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1171 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1172 Document problem with "`""`" in pdksh POSIX mode.
1174 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1176 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1177 with pdksh, too. Problem reported by Patrick Welche via
1179 * doc/autoconf.texi (Shellology): Note that set -o posix is
1180 useful for pkdsh, too.
1182 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1184 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1185 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1186 Don't fail if ENV or BASH_ENV is readonly.
1187 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1188 etc. are read only. Problem reported by Ludovic Courtes.
1190 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1192 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1193 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1196 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1198 * doc/autoconf.texi (File System Conventions): Warn about
1199 names like "aux". Problem reported by Eric Blake.
1201 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1202 by zero instead of array size, so that we can use any arithmetic
1203 constant expression (instead of requiring an integer constant
1204 expression). This allows us to test expressions like DBL_MAX <
1205 LDBL_MAX, which didn't conform to the C standard using the old
1207 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1208 now that we can do floating-point tests at compile time.
1210 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1212 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1213 and LDBL_EPSILON, as the resulting expression isn't an
1214 integer constant expression and violates the C standard.
1215 Problem reported by Nelson H. F. Beebe. Also, check
1216 for "L" suffix, and check that long double doesn't have
1217 worse range or precision than double, that mixed-mode
1218 arithmetic doesn't generate a diagnostic, that double
1219 constants fit in long double.
1221 2004-06-03 Kevin Ryde <user42@zip.com.au>
1223 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1224 malloc(0) and realloc(NULL,size).
1226 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1229 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1231 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1232 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1235 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1237 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1238 can be rewritten using if-then-else. Suggested by Bruno Haible.
1240 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1242 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1243 Problem reported by Stepan Kasal.
1245 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1247 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1248 change). Patch reported by Ralf Wildenhues in
1249 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1251 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1252 function F exists if the compiler and linker let you compile an
1253 expression like (F != 0). Recent versions of GCC optimize away
1254 the reference to F in that case, since every function address must
1255 be nonzero, so the link succeeds even if F does not exist.
1256 Problem reported by Manu in
1257 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1259 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1260 "Unix". Many uses changed.
1261 (Limitations of Builtins): Explain better why the ! command isn't
1264 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1266 * lib/autom4te.in (Automake-preselections): Preselect
1267 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1269 2004-05-19 Kevin Ryde <user42@zip.com.au>
1271 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1272 referencing AC_FUNC_STRERROR_R.
1274 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1275 note pessimistic assumption when cross compiling.
1277 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1279 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1280 (until 2004) invoked subcommands with sh -e, contra POSIX.
1281 Reported by Kevin Ryde.
1283 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1285 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1286 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1287 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1288 `test -f " /usr/bin/grep"', which _always_ failed.
1289 (AC_PROG_SED): Ditto bogus PATH fix.
1290 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1291 requires that grep correctly supports _multiple_ `-e' options, rather
1292 than stating only that grep should accept `-e'.
1294 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1296 Port to C99, which requires that 'exit' be declared.
1298 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1299 to ensure that stdlib.h is included.
1300 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1301 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1302 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1303 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1304 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1305 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1306 when using 'exit' in a test; C99 requires that 'exit' be declared.
1308 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1310 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1311 now prefers 'grep' implementations that accept -e.
1312 (Limitations of Usual Tools): Describe problems of traditional
1313 egrep and fgrep with long input lines, and of traditional grep
1315 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1316 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1317 All callers changed. Append /usr/xpg4/bin to the PATH, for
1319 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1320 the user with complaints about multiple -e options.
1321 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1322 Define it with AC_PROG_GREP.
1323 * configure.ac (AC_PROG_GREP): Add.
1324 * lib/freeze.mk (GREP): New macro.
1326 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1328 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1329 a possible candidate only after all others fail, rather than
1330 consulting it first. This improves backward compatibility by
1331 better reflecting the way shell selection occurred in previous
1332 versions of Autoconf, and should help to avoid triggering latent
1333 problems in other packages, such as the one in Automake where zsh
1334 is not handled robustly:
1335 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1336 Although it is not Autoconf's responsibility to work around
1337 problems in Automake, it nevertheless makes sense to avoid
1338 introducing unnecessary incompatibilites.
1340 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1341 Gary V. Vaughan <gary@gnu.org>
1343 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1344 how deeply nested we are when a suitable tool is found, set the
1345 ac_path_TOOL_found flag.
1346 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1347 nested we are in this macro. Break out of all 3 nested loops if
1348 ac_path_TOOL_found is set.
1350 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1352 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1353 of the _AS_PATH_WALK loop too if GNU flavor is found.
1355 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1357 * doc/autoconf.texi (Limitations of Make): Update documentation
1358 for `$<'. New entry `Long lines', based on a report from Simon
1359 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1360 paragraph about DJGPP, based on a mail from Richard Dawe.
1362 2004-04-20 Paul Eggert <eggert@twinsun.com>
1364 * tests/c.at (C keywords): Don't assume that GCC supports
1365 "restrict" and "inline", as sufficiently-old GCC versions do not
1366 (also, GCC configured to be in pedantic C89 mode does not).
1367 Problem reported by Sumit Pandya in:
1368 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1370 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1371 consider -g to work if it generates warnings when plain compiles
1372 don't. Problem reported by Braden McDaniel in:
1373 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1375 * doc/autoconf.texi (Slashes): New section, to document a problem
1376 reported by Jim Meyering in:
1377 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1379 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1380 linker output files before linking, to work around IRIX 6 linker bug.
1381 Problem reported by Rainer Orth in:
1382 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1384 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1386 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1387 best tool so far counter rely on the tool path variable name to
1388 avoid checks for one tool being affected by the results of running
1389 the length check on a previous tool.
1391 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1392 match expression argument, as different greps have different
1393 regular expression flavours.
1394 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1396 (AC_PROG_EGREP): Pass 'EGREP$'.
1397 (AC_PROG_GREP): Pass 'GREP$'.
1399 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1401 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1402 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1404 2004-03-29 Paul Eggert <eggert@twinsun.com>
1406 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1407 Types, Specific Compiler Characteristics, System Services,
1408 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1409 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1410 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1411 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1413 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1414 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1415 AC_TYPE_OFF_T): Likewise.
1416 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1419 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1420 pacify libtool 1.5.2. Fix quoting problems in sed command.
1422 2004-03-28 Paul Eggert <eggert@twinsun.com>
1424 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1425 now defines HAVE_DECL_TZNAME if it is declared, when
1426 HAVE_STRUCT_TM_TM_ZONE is not defined.
1427 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1428 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1431 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1433 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1434 superfluous backslashing of quotes (") in sed expressions;
1435 thanks to Paul Eggert.
1437 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1439 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1440 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1441 H. F. Beebe for the bug report.
1443 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1445 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1446 quoted -cmdline argument in Portland Group compiler (bug
1447 reported by Jeffrey J. Barteet).
1449 2004-03-25 Kevin Ryde <user42@zip.com.au>
1451 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1452 (Run Time): ... here, where it's now mentioned.
1454 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1456 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1457 inherits from language Autoconf-without-aclocal-m4.
1458 (Customizing autom4te): Adjust example; the cache must now be
1459 disabled for language Autoconf-without-aclocal-m4.
1461 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1462 Nathanael Nerode <neroden@twcny.rr.com>
1464 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1465 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1467 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1468 AC_CHECK_TARGET_TOOLS): New macros.
1469 * doc/autoconf.texi (Generic Programs): Document
1470 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1471 AC_CHECK_TARGET_TOOLS, and warn for future changes
1472 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1474 (Specifying Names): Document the reason for these future
1476 * tests/mktests.sh: Do not generate tests for the
1478 * NEWS: Document these changes.
1480 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1481 they make TeX hang up.
1483 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1485 * NEWS: New macro AC_CHECK_ALIGNOF.
1486 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1487 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1488 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1490 (AC_CHECK_ALIGNOF): New macro.
1491 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1492 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1495 2004-03-03 Paul Eggert <eggert@twinsun.com>
1497 * bin/Makefile.am (edit): Don't use $< in a context where
1498 POSIX doesn't require support for it. Use $@.in instead.
1499 Problem reported by Anthony N. Frasso in
1500 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1501 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1503 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1505 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1506 from the next generation of Libtool.
1507 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1509 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1511 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1512 is not always thread-safe. Report from Nathanael Nerode.
1514 2004-02-18 Paul Eggert <eggert@twinsun.com>
1516 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1517 problem on QNX reported by Stephen Rasku in
1518 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1520 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1521 $(m4sh_m4f_dependencies); this removes a FIXME.
1522 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1523 (MAINTAINERCLEANFILES): Split into pieces,
1524 one per related section. Add $(srcdir)/wrapper.in.
1526 2004-02-09 Paul Eggert <eggert@twinsun.com>
1528 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1529 AC_SUBST provides no portable way to escape literal newlines.
1531 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1532 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1533 Darwin uses -lcrt2.o and there's little point to cataloging all
1534 the system variants. Partial fix reported by Andreas Waechter in:
1535 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1536 for bug reported by Nelson H. F. Beebe in:
1537 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1539 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1541 * doc/autoconf.texi (AU_DEFUN): Fix English,
1542 suggested by Paul Eggert.
1543 * lib/autoconf/autoupdate.m4: Correct reference to
1544 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1546 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1548 * bin/autoupdate.in: Define __file__ so that warnings
1549 refer to the correct file.
1550 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1551 the behavior of the third argument.
1552 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1553 correctly the behavior of the third argument. Document
1554 what the three macros that AU_DEFUN defines do. Fix
1555 warning message when the third argument includes $0
1556 (reported by Alexandre Duret-Lutz).
1558 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1559 Eric Sunshine <sunshine@sunshineco.com>
1560 Paul Eggert <eggert@twinsun.com>
1562 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1563 (AS_INIT): Output shell initialization there. Removed optional
1564 parameter. Expand _AS_SHELL_FN_SPY.
1565 (AS_INIT_WITH_SHELL_FN): Removed.
1566 (_AS_SHELL_FN_SPY): New macro.
1567 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1569 (AS_SHELL_SANITIZE): Remove loop to find better shell
1570 and documentation for the parameter.
1571 (_AS_DETECT_BETTER_SHELL): Move it here.
1572 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1573 (_AS_RUN): Move it here, support testing with eval.
1574 (AS_REQUIRE_SHELL_FN): Require shell functions when
1576 (_AS_LINENO_WORKS): Put around braces, we do not
1577 trigger the bash bug anymore.
1578 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1579 use AS_INIT_WITH_SHELL_FN.
1580 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1582 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1584 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1585 * doc/autoconf.texi: Don't say that the third parameter
1587 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1588 (AU_DEFUN): Honor the third parameter, create autoupdate
1589 macros with AU_DEFINE.
1590 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1591 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1592 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1593 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1594 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1595 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1596 AC_XENIX_DIR): Likewise.
1597 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1598 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1599 * lib/autoconf/status.m4: Remove FIXME.
1600 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1601 that the macro is not present anymore in the updated
1603 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1606 2004-01-28 Paul Eggert <eggert@twinsun.com>
1608 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1610 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1611 2003 (except 1997) to the list of copyright years. This undoes
1612 the 2003-05-22 change, which removed the older years from the list.
1613 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1615 2004-01-27 Gary V. Vaugan <gary@gnu.org>
1616 Albert Chin-A-Young <china@thewrittenword.com>
1618 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1619 grep or ggrep program in PATH that accepts as long lines as
1621 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1623 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1624 egrep and fgrep respectively if $GREP -E/-F don't work.
1625 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1626 _AC_PROG_GREP, and AC_PROG_SED.
1627 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1628 longest input length accepted by a command.
1629 (AC_PROG_SED): Use it.
1630 * doc/autoconf.texi (Particular Programs): Document the changes.
1633 2004-01-27 Paul Eggert <eggert@twinsun.com>
1635 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1636 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1637 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1638 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1640 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1641 bin/autoconf.in, config/Makefile.in, config/config.guess,
1642 config/config.sub, config/install-sh, config/mdate-sh,
1643 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1644 lib/Makefile.in, lib/Autom4te/Makefile.in,
1645 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1646 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1647 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1648 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1649 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1650 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1651 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1652 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1653 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1654 tests/actypes.at: Regenerate and/or sync with original
1657 2004-01-26 Paul Eggert <eggert@twinsun.com>
1659 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1660 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
1661 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1662 not <inttypes.h>. Problem reported by Tim Mooney in
1663 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1664 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1667 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1668 otherwise "make check" fails because it forbids cmp (I guess
1669 because cmp treats files as binary on DOS-like systems).
1671 * tests/mktests.sh: Update copyright date to 2004, since some tests
1672 have changed in 2004.
1674 2004-01-23 Gary V. Vaugan <gary@gnu.org>
1676 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
1677 non-truncating sed or gsed program in PATH.
1678 * tests/acprograms.at: Add it.
1679 * doc/autoconf.texi (Particular Programs): Document it.
1682 2004-01-15 Paul Eggert <eggert@twinsun.com>
1684 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1685 -std1 disables some useful extensions on Tru64. Problem reported
1687 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1689 2004-01-14 Paul Eggert <eggert@twinsun.com>
1691 * doc/autoconf.texi (Programming in M4sh): Document that
1692 AS_MKDIR_P succeeds if the destination is a symbolic link
1693 to an existing directory.
1694 (Limitations of Usual Tools): Note that mkdir -p might not
1695 succeed on symlinks to directories.
1697 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
1699 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1700 * bin/autoheader.in: Grammar fix in message.
1701 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1702 Test for dir before calling mkdir -p. (trivial changes)
1704 2004-01-13 Eric Blake <ebb9@byu.net>
1706 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1707 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
1709 2004-01-10 Jim Meyering <jim@meyering.net>
1711 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1713 2004-01-09 Paul Eggert <eggert@twinsun.com>
1715 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1716 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
1717 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1718 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1719 AC_COMPILE_IFELSE, since we now assume our caller invokes
1720 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1721 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1722 of AC_RUN_IFELSE; this avoids the warning mentioned above.
1723 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1725 2004-01-07 Paul Eggert <eggert@twinsun.com>
1727 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1728 `"'...'"`, as it's confusing (and I suspect it may not work on
1729 some platforms). The code was incorrect anyway, as it assumed
1730 that \$ evaluated to itself in that context. Reported by
1731 Alexandre Duret-Lutz.
1733 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1735 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
1736 and _LT_AC_TAGCONFIG.
1738 2004-01-06 Paul Eggert <eggert@twinsun.com>
1740 * doc/autoconf.texi (One Macro Call): Fix an incorrect
1741 example, and add more examples. Reported by Eric Sunshine.
1743 2004-01-05 Paul Eggert <eggert@twinsun.com>
1745 * doc/autoconf.texi (Limitations of Usual Tools):
1746 Remove warning against "rm -fr" introduced yesterday; it
1749 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
1750 autoscan, autoupdate, ifnames): Don't use chmod -w.
1751 * lib/Makefile.am (autom4te.cfg): Likewise.
1752 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
1755 2004-01-04 Paul Eggert <eggert@twinsun.com>
1756 Paolo Bonzini <bonzini@gnu.org>
1758 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
1759 by doing lineno substitution only on lines containing "$LINENO".
1761 2004-01-04 Paul Eggert <eggert@twinsun.com>
1763 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
1764 Use "rm -f" to remove conftest.sed, not plain "rm".
1765 Bug reported by David Relson in
1766 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
1768 * Makefile.am (autom4te-update):
1769 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
1770 * Makefile.maint (my-distcheck, do-po-update): Likewise.
1771 * doc/autoconf.texi (Guidelines): Likewise.
1772 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
1773 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
1774 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1775 * lib/autotest/general.m4 (AT_INIT): Likewise.
1776 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
1777 * tests/Makefile.am (clean-local): Likewise.
1778 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
1780 * doc/autoconf.texi (Limitations of Usual Tools):
1781 Warn against "rm -fr".
1783 2004-01-03 Paul Eggert <eggert@twinsun.com>
1785 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
1786 -c -o might not work. From a suggestion by Kevin Ryde.
1787 (C Compiler, Generating Sources, Limitations
1788 of Usual Tools, Limitations of Make, Making testsuite Scripts):
1789 Don't put '-o' after non-options, as POSIX doesn't allow this.
1790 Mention that cc's name might be gcc or c89 or whatever.
1792 2004-01-04 Kevin Ryde <user42@zip.com.au>
1794 * doc/autoconf.texi: Add various further index entries.
1796 2003-12-29 Paul Eggert <eggert@twinsun.com>
1798 * bin/autoreconf.in (autoreconf_current_directory):
1799 Fix typo: mkdir without umask arg.
1801 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
1803 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
1804 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
1805 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
1806 explanation clearer.
1808 2003-12-24 Andreas Schwab <schwab@suse.de>
1810 * doc/autoconf.texi (Default Includes): Fix misspelling of
1811 AC_INCLUDES_DEFAULT.
1813 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1815 * configure.ac: Test if sh -n works.
1816 * configure: Regenerate.
1817 * tests/atlocal.in: Store the result here.
1818 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
1819 tools.at, looking in atlocal's ac_cv_sh_n_works instead
1820 of explicitly testing.
1821 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
1822 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
1823 * tests/tools.at (Syntax of the shell scripts): Simplify
1824 using AT_CHECK_SHELL_SYNTAX.
1825 (Syntax of the Perl scripts): Remove definition of
1826 AT_CHECK_PERL_SYNTAX.
1828 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1830 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
1831 stderr to /dev/null.
1832 * bin/autoconf.in: Regenerate.
1833 * bin/wrapper.in: Regenerate.
1835 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
1837 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
1838 Extracted from AS_SHELL_SANITIZE.
1839 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
1841 (AS_SHELL_SANITIZE): Move reinvocation code from
1842 _AS_LINENO_WORKS, use it to find out if shell
1844 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
1846 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
1847 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
1849 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
1850 * bin/autoconf.in: Regenerate.
1851 * tests/wrapper.in: Regenerate.
1852 * tests/tools.at: Test the syntax of tests/autoconf
1853 and tests/testsuite.
1855 2003-11-24 Akim Demaille <akim@epita.fr>
1857 * config/announce-gen (&print_locations, &print_signatures)
1860 No longer rely on Gnus to inline the list of signatures: compute
1863 2003-11-24 Akim Demaille <akim@epita.fr>
1865 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
1866 override some files.
1867 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
1868 From Debian Autoconf 2.58.
1870 2003-11-24 Akim Demaille <akim@epita.fr>
1872 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
1874 From Debian Autoconf 2.58.
1876 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1878 * TODO: Remove already done things. Update the part about finding
1879 tools for the target.
1881 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1883 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
1884 Make wording more consistent.
1885 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
1886 Explain the transition better.
1887 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
1888 the transition better.
1890 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1892 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
1893 parameter of AU_DEFUN.
1894 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
1895 (AU_DEFUN): Remove the third parameter, it was not used.
1896 Use AC_DEFUN directly, not AU_DEFINE.
1897 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
1898 the expanded body, consistently with other macros such as AC_USG.
1900 2003-11-17 Paul Eggert <eggert@twinsun.com>
1902 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
1903 into the initial confdefs.h, to work around a bug in NextStep 3.3
1904 patch 3 reported by Eric Sunshine.
1906 2003-11-15 Kevin Ryde <user42@zip.com.au>
1908 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
1909 than $target since the latter is not usual, add guidelines on when to
1910 use or not use the system type.
1912 2003-11-12 Derek Price <derek@ximbiot.com>
1914 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
1915 typo misrepaired by an auto-spellcheck.
1917 2003-11-12 Akim Demaille <akim@epita.fr>
1919 * bin/autoreconf.in (&parse_args): Don't call automake with
1920 --force-missing unless it actually supports it.
1921 From Debian #219336.
1923 2003-11-12 Akim Demaille <akim@epita.fr>
1925 * configure.ac: Bump to 2.59a.
1928 2003-11-06 Akim Demaille <akim@epita.fr>
1932 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
1934 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
1935 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
1936 and ac_abs_top_srcdir are absolute paths.
1937 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
1939 2003-11-05 Akim Demaille <akim@epita.fr>
1941 * configure.ac: Bump to 2.58a.
1943 2003-11-05 Kevin Ryde <user42@zip.com.au>
1945 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
1946 it provokes a warning from makeinfo about looking like a cross
1947 reference in info output.
1949 * doc/autoconf.texi (Function Portability): Add notes on signal
1950 handler return type, as per AC_TYPE_SIGNAL.
1952 2003-11-04 Akim Demaille <akim@epita.fr>
1955 * doc/standards.texi: Update from master.
1957 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
1959 2003-11-04 Akim Demaille <akim@epita.fr>
1961 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
1962 computing the absolute path to d1 in the source hierarchy: it may
1963 not exist at all. So don't cd into it.
1964 From Alexandre Duret-Lutz.
1965 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
1967 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
1968 From Paul Eggert, but named after Perl's IO::Spec->catfile.
1969 * doc/autoconf.texi (Programming in M4sh): Document.
1970 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
1972 2003-11-03 Pavel Roskin <proski@gnu.org>
1974 * doc/autoconf.texi (Generic Structure Checks): Describe
1975 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
1977 2003-10-31 Akim Demaille <akim@epita.fr>
1979 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
1981 * doc/autoconf.texi (Language Choice): Document.
1982 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
1983 the current language is Fortran.
1985 2003-10-31 Akim Demaille <akim@epita.fr>
1987 * bin/autom4te.in (&freeze): Use a less likely warning separator
1988 than `\n\n', so that `\n\n\n' is valid in warnings.
1989 Reported by Steve Huston.
1991 2003-10-28 Akim Demaille <akim@epita.fr>
1993 * Makefile.cfg (local_updates, executable-update): Tweak to be
1994 robust to parallel makes.
1995 Suggested by Alexandre Duret-Lutz.
1997 2003-10-27 Akim Demaille <akim@epita.fr>
1999 * Makefile.cfg (executable-update): New.
2000 (local_updates): Call it.
2002 2003-10-27 Akim Demaille <akim@epita.fr>
2004 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2005 Don't remove core.* as it may remove valid user files.
2006 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2007 (AC_FUNC_UTIME_NULL): Likewise.
2009 2003-10-23 Akim Demaille <akim@epita.fr>
2012 * config/config.guess, config/config.sub: Upgrade from masters.
2014 2003-10-23 Akim Demaille <akim@epita.fr>
2016 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2017 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2020 2003-10-23 Akim Demaille <akim@epita.fr>
2022 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2023 Don't forget to remove conftest.err.
2025 2003-10-23 Akim Demaille <akim@epita.fr>
2027 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2028 same object file in $LIBOBJS.
2029 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2030 * doc/autoconf.texi (Generic Functions): Adjust.
2032 2003-10-20 Paul Eggert <eggert@twinsun.com>
2034 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2035 Use 'eval', so that the resulting configure scripts work even if
2036 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2038 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2040 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2041 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2042 (_AC_LINK_IFELSE): Check the werror flag.
2043 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2047 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2049 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2050 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2051 override AC_LINK_IFELSE.
2053 2003-10-15 Paul Eggert <eggert@twinsun.com>
2055 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2056 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2057 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2058 Mention /usr/dt/bin/dtksh on Solaris.
2059 (Shell Substitutions): Warn about $((...)).
2060 (Parentheses): New section.
2062 2003-10-15 Kevin Ryde <user42@zip.com.au>
2064 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2065 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2067 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2069 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2072 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2074 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2075 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2077 2003-10-10 Andreas Schwab <schwab@suse.de>
2079 * bin/autoheader.in: Avoid empty first line in --version and
2081 * bin/ifnames.in: Likewise.
2083 2003-10-09 Paul Eggert <eggert@twinsun.com>
2085 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2086 Issue a more-informative diagnostic.
2087 Problems reported by Eric Sunshine.
2089 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2091 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2092 -mGLOB_options_string stuff for Intel ifc, which can cause
2093 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2094 pattern-matching instead of grep.
2096 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2098 * doc/autoconf.texi: Document new FC Fortran macros.
2100 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2102 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2103 that future autopoint/aclocal/automake/autoreconf will be able
2104 to trace to find where to install local m4 macros.
2105 * doc/autoconf.texi (Input): Document it.
2108 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2110 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2111 -lcrtbegin.o to list of ignored flags and fix underquoting of
2114 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2116 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2117 cache variable instead of $G77 to decide whether to include -O2,
2118 since $G77 is specific to Fortran 77.
2120 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2122 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2123 free" flag. Re-order flags tested into rough order of popularity.
2125 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2127 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2128 arguments so that it can be used with syntax identical to
2129 AC_PROG_F77, and so that we can more easily decide to
2130 remove/deprecate the DIALECT optional argument in the future if it
2132 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2133 non-freeform-supporting compilers. Document freeform flags.
2135 2003-10-03 Akim Demaille <akim@epita.fr>
2137 * configure.ac: Look for emacs, not macs.
2138 Reported by Eric Sunshine.
2140 2003-10-03 Akim Demaille <akim@epita.fr>
2142 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2143 * bin/autoreconf.in (autoreconf_current_directory): Create the
2144 AUX_DIR if needed, for sake of automake --add-missing etc.
2145 Suggested by Alexandre Duret-Lutz.
2147 2003-10-03 Akim Demaille <akim@epita.fr>
2149 * configure.ac: Quotation and formatting changes.
2150 (EMACS): Don't set it if it is not recent enough to support
2154 2003-10-02 Akim Demaille <akim@epita.fr>
2156 * bin/ifnames.in (&scan_file): Skip C++ comments.
2159 2003-10-01 Pavel Roskin <proski@gnu.org>
2161 * doc/autoconf.texi (Particular Structure Checks):
2162 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2164 2003-10-01 Akim Demaille <akim@epita.fr>
2168 2003-09-30 Paul Eggert <eggert@twinsun.com>
2170 * lib/Autom4te/XFile.pm: Use Errno.
2171 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2172 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2174 2003-09-30 Akim Demaille <akim@epita.fr>
2176 * config/announce-gen (&print_news_deltas): Extracted from...
2177 (&print_changelog_deltas): here.
2178 (&news_file): Rename as...
2181 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2183 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2184 have been created when invoking the compiler.
2185 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2187 2003-09-29 Akim Demaille <akim@epita.fr>
2191 * config/mkinstalldirs: Upgrade.
2193 2003-09-28 Paul Eggert <eggert@twinsun.com>
2195 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2196 Problem reported by Lars J. Aas in
2197 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2198 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2199 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2200 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2202 2003-09-26 Akim Demaille <akim@epita.fr>
2204 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2205 directory for AC_CONFIG_COMMANDS' first argument exists.
2206 This makes valid the invocation of _AC_SRCPATH that follows.
2207 Reported by Eric Sunshine.
2208 * doc/autoconf.texi (Configuration Commands): Adjust.
2210 2003-09-26 Akim Demaille <akim@epita.fr>
2212 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2213 Reported by Ralf Corsepius.
2215 2003-09-26 Akim Demaille <akim@epita.fr>
2217 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2219 Actually, use AU_ALIAS.
2222 2003-09-26 Paul Eggert <eggert@twinsun.com>
2224 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2225 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2226 Problem reported by Eric Sunshine in:
2227 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2229 2003-09-26 Akim Demaille <akim@epita.fr>
2231 The test suite are sometimes assigning timings incorrectly.
2232 Reported by Henk Krus.
2233 Diagnosed by Nicolas Joly.
2235 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2237 Instead of making AT_help a sequence of assignments to grow
2238 $at_help_all, just make AT_help_all be the growing contents of
2239 $at_help_all, and make a single assignment in...
2241 (at_times_skip): Flip the meaning and rename as...
2243 (AT_INIT): When summarizing the test that ran, remove
2244 $at_times_file after use, and check it is present before trying to
2247 2003-09-25 Akim Demaille <akim@epita.fr>
2251 * bin/Makefile.am (edit): Handle '@configure_input@'.
2252 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2253 (ifnames): chmod -w.
2254 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2255 executables, not bin/ executables! Otherwise all the magic needed
2256 to find non installed files is turned off. This caused a failure
2257 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2258 as found in its environment (sent by tests/autoreconf): pointing
2259 to bin/autom4te that could not find its files.
2260 * tests/mktests.sh: Force the replacement of generated files, for
2261 the sake of "mv" program that are interactive when overwriting a
2263 * config/install-sh: Upgrade from CVS Automake.
2265 2003-09-23 Paul Eggert <eggert@twinsun.com>
2267 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2268 versus test -L issues.
2270 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2271 Paul Eggert <eggert@twinsun.com>
2273 Trivial change to support GCC's configuration procedure.
2274 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2275 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2276 about inconsistency if the preprocessor is set to give errors for
2278 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2280 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2282 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2283 and XFile.pm from Automake.
2284 * lib/Autom4te/XFile.pm: Update from Automake.
2286 2003-09-12 Akim Demaille <akim@epita.fr>
2290 2003-09-12 Akim Demaille <akim@epita.fr>
2292 * config/config.guess, config/config.sub, config/missing,
2293 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2296 2003-09-12 Akim Demaille <akim@epita.fr>
2298 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2301 2003-09-11 Akim Demaille <akim@epita.fr>
2303 * doc/autoconf.texi (Header Portability): linux/random.h.
2304 From Peter Hendrickson.
2306 2003-09-10 Akim Demaille <akim@epita.fr>
2308 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2309 willing to edit the output files.
2311 2003-09-10 Akim Demaille <akim@epita.fr>
2313 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2315 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2316 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2318 2003-09-09 Akim Demaille <akim@epita.fr>
2320 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2321 Reported by Gary Vaughan.
2322 * bin/autom4te.in (handle_m4): Likewise.
2324 2003-09-09 Akim Demaille <akim@epita.fr>
2326 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2329 2003-09-07 Paul Eggert <eggert@twinsun.com>
2331 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2332 Improve the accuracy of the wording about obsolescence.
2333 From a suggestion by Ian Lance Taylor in
2334 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2336 2003-09-05 Paul Eggert <eggert@twinsun.com>
2338 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2339 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2341 2003-09-04 Akim Demaille <akim@epita.fr>
2343 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2346 2003-09-04 Akim Demaille <akim@epita.fr>
2348 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2349 (freeze): When exiting, use $exit_code.
2350 * lib/autoconf/fortran.m4: Comment changes.
2352 2003-09-04 Akim Demaille <akim@epita.fr>
2354 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2356 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2358 Add support for newer Fortran dialects. The F77 interface is
2359 unchanged, and continues to support Fortran 77. New FC macros
2360 correspond to all the old F77 macros, with output variables FC,
2361 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2362 available dialect, but older dialects can be specified. There are
2363 new macros AC_FC_SRCEXT to set the source extension, and
2364 AC_FC_FREEFORM to accept free-form source files.
2366 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2368 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2369 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2370 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2371 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2372 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2373 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2374 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2375 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2376 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2377 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2378 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2379 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2380 AC_FC_SRCEXT, AC_FC_FREEFORM):
2382 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2383 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2384 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2385 Rewrite in terms of the above.
2386 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2387 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2388 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2389 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2391 2003-09-02 Paul Eggert <eggert@twinsun.com>
2393 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2394 Document problems with timestamp resolution that 'make', 'cp -p', and
2397 2003-08-27 Akim Demaille <akim@epita.fr>
2399 * tests/m4sugar.at (cross_warning): Make sure to enable the
2400 output, so that we can track spurious m4sugar output.
2401 * tests/local.at: Require 2.57.
2402 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2403 are defaulted by AT_CHECK anyway.
2404 Use AT_CHECK_AUTOM4TE.
2405 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2408 2003-08-27 Akim Demaille <akim@epita.fr>
2410 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2411 when -Wobsolete is set.
2412 Set it on by default.
2413 Suggested by Klee Dienes.
2415 2003-08-27 Akim Demaille <akim@epita.fr>
2417 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2421 2003-08-26 Akim Demaille <akim@epita.fr>
2423 * doc/autoconf.texi (Output): Make clear that one can run code
2426 2003-08-25 Akim Demaille <akim@epita.fr>
2428 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2431 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2433 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2434 Automake versions prior to 1.8.
2436 2003-08-25 Akim Demaille <akim@epita.fr>
2438 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2441 2003-08-24 Akim Demaille <akim@epita.fr>
2443 * configure.ac: Bump to 2.57c.
2445 2003-08-22 Akim Demaille <akim@epita.fr>
2449 * Makefile.cfg (local-checks-to-skip): New.
2450 * Makefile.maint (local-check): Rename as...
2451 (local-checks-available): this.
2454 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2455 * configure.ac: Require Automake 1.7.6.
2457 2003-08-22 Akim Demaille <akim@epita.fr>
2459 Output stack traces in warnings.
2461 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2462 Replace the former...
2463 (m4_warn): Pass the call stack to _m4_warn.
2464 * bin/autom4te.in: Adjust to output the call stack.
2465 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2467 2003-08-22 Akim Demaille <akim@epita.fr>
2469 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2470 * bin/autom4te.in: Adjust.
2472 2003-08-21 Akim Demaille <akim@epita.fr>
2474 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2476 (&getopt): Adjust the note and verb channels, depending upon
2478 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2479 * bin/autoupdate.in: Adjust.
2480 Use &verb, not &verbose.
2482 2003-08-21 Akim Demaille <akim@epita.fr>
2484 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2486 ($help): Use Autom4te::ChannelDefs::usage.
2487 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2488 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2490 2003-08-21 Akim Demaille <akim@epita.fr>
2492 First stab at preserving warnings between calls to autom4te,
2493 including when the cache is used.
2495 There are still several issues: (i) there are too many runs of m4
2496 (one for include, one for warnings, and some more), (ii) warnings
2497 spreading on several lines are not handled gracefully, (iii) the
2498 code meant to have the call stack display for errors does not work
2499 (its handling should move from m4 to autom4te).
2501 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2503 (@preselect): Add m4_warn.
2504 ($exit_status): Remove, use $exit_code.
2505 ($help): Use Autom4te::ChannelDefs::usage.
2506 (&handle_m4): No longer define the m4_warnings.
2507 At each run, extract and report the warnings.
2508 Always cache the result, including if the exit status is on
2509 failure, since if nothing changes, we should result in the same
2510 failure, hence we can use the cache.
2511 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2512 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2514 (m4_warn): Redefine as a do-nothing: it is its invocation that
2515 matters, as warnings are now reported via traces.
2516 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2517 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2518 the latter reveals calls to the former.
2522 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2524 2003-08-21 Akim Demaille <akim@epita.fr>
2526 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2529 2003-08-21 Akim Demaille <akim@epita.fr>
2531 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2533 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2534 (&parse_warnings): Accept a list of warning requests.
2535 (&usage): Return a string, not a side effect.
2536 (cross): New warning category.
2538 2003-08-21 Akim Demaille <akim@epita.fr>
2540 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2541 (&require_configure_ac): Accept an optional directory argument.
2542 ($configure_ac): Remove.
2543 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2545 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2546 * bin/autoscan.in: Adjust.
2548 2003-08-20 Akim Demaille <akim@epita.fr>
2550 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2551 Reported by Alexandre Duret-Lutz.
2553 2003-08-20 Akim Demaille <akim@epita.fr>
2555 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2556 * bin/autom4te: Adjust.
2557 In particular, be Autoconf tools are really silent when properly
2558 working, bind the verbosity of the 'note' channel to $verbose.
2559 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2560 (&xsystem, &contents): Remove, since they are exported by...
2561 * lib/Autom4te/FileUtils.pm: this.
2563 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2564 * lib/Autom4te/FileUtils.pm: here.
2566 2003-08-20 Akim Demaille <akim@epita.fr>
2568 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2569 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2572 2003-08-20 Akim Demaille <akim@epita.fr>
2574 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2575 (autom4te-update): New.
2576 * Makefile.cfg (update): Bind autom4te-update.
2578 2003-08-19 Derek Price <derek@ximbiot.com>
2580 * lib/autotest/general.m4: Comment various HELP_* diversions.
2581 (PARSE_ARGS_BEGIN): New section for option parsing related
2583 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2584 package specific options and associated help.
2586 2003-08-19 Akim Demaille <akim@epita.fr>
2588 * config/announce-gen, Makefile.cfg: New.
2589 * Makefile.am: Adjust.
2590 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2592 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2594 * lib/autom4te.in (Automake-preselections): Preselect
2595 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2598 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2600 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2601 (Autoconf-without-aclocal-m4): ... this new language.
2602 * doc/autoconf.texi (autom4te Invocation): Mention
2603 Autoconf-without-aclocal-m4.
2605 2003-08-18 Derek Price <derek@ximbiot.com>
2607 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2608 RUN-IF-PASS optional arguments.
2610 2003-08-18 Derek Price <derek@ximbiot.com>
2612 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2614 2003-08-16 Derek Price <derek@ximbiot.com>
2616 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2617 STDOUT & STDERR arguments.
2619 2003-08-14 Derek Price <derek@ximbiot.com>
2621 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2622 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
2623 shorter column three. Add DESCRIPTION to log file content.
2625 2003-08-13 Derek Price <derek@ximbiot.com>
2627 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2630 2003-08-12 Derek Price <derek@ximbiot.com>
2632 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2633 (AT_CHECK_NOESCAPE): Move core functionality to...
2634 (_AT_CHECK): ...this new macro.
2636 2003-08-07 Derek Price <derek@ximbiot.com>
2638 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2639 (AT_CHECK_NOESCAPE): ...to this new macro.
2641 2003-07-31 Paul Eggert <eggert@twinsun.com>
2643 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2644 in Bash 2.01. Problem reported by Brian Gough in
2645 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2647 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
2649 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2650 -lcrt1.o, for OS X. (trivial change)
2652 2003-07-07 Paul Eggert <eggert@twinsun.com>
2654 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2655 inside '#ifndef __cplusplus'. Problem reported by
2658 2003-07-06 Bill Clarke <llib@computer.org>
2660 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2661 'long', not 'int', for benefit of Sun's recent C++ compilers
2662 (trivial change). See:
2663 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2664 (This really should be 'intptr_t', not 'long', but that would
2667 2003-06-25 Akim Demaille <akim@epita.fr>
2669 * lib/Makefile.am (autom4te.cfg): Make it read only.
2670 Depend on Makefile since it contains substitutions.
2672 * lib/autom4te.in (args): Add local.at? for Autotest args.
2673 This change was made on autom4te.cfg which is generated.
2674 Reported by Raja R. Harinath.
2676 2003-06-25 Akim Demaille <akim@epita.fr>
2678 * doc/autoconf.texi (Header Portability): sys/mount.h.
2679 From Gareth McCaughan.
2681 2003-06-23 Akim Demaille <akim@epita.fr>
2683 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2684 not all of them. This fixes 1. the fact that when testing
2685 Autoconf there are many many config.log, 2. the incorrect use of
2686 top_srcdir to find config.log.
2687 Don't mix the detailed output of failed test with the summary of
2688 failures. Rather, append detailed log afterwards.
2690 2003-06-23 Akim Demaille <akim@epita.fr>
2692 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2693 always run: output config.log on $at_group_log.
2695 2003-06-23 Akim Demaille <akim@epita.fr>
2697 * tests/torture.at (#define header templates): Don't use quotes in
2698 C++ comments as it puzzles Emacs' sh font-lock-mode.
2700 2003-06-23 Akim Demaille <akim@epita.fr>
2702 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2703 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2704 * tests/atspecific.m4: Rename as...
2705 * tests/local.at: This.
2706 * tests/suite.at: Move the globals into...
2707 * tests/local.at: here.
2708 * tests/Makefile.am: Adjust.
2709 * doc/autoconf.texi (testsuite Scripts): Adjust.
2711 2003-06-21 Kevin Ryde <user42@zip.com.au>
2713 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2714 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2715 ensuring we add -std1 for full-ANSI.
2717 * doc/autoconf.texi (hdrindex): New macro.
2718 Add index entries for portability of various standard header files.
2720 2003-06-20 Akim Demaille <akim@epita.fr>
2722 * configure.ac: Bump to 2.57b.
2724 2003-06-20 Akim Demaille <akim@epita.fr>
2728 2003-06-20 Akim Demaille <akim@epita.fr>
2730 * bin/autom4te.in: Don't rely on $HOME being defined.
2731 Reported by Marc Espie as PR/233.
2733 2003-06-20 Akim Demaille <akim@epita.fr>
2735 * lib/autotest/general.m4: Use at_times_file only if used.
2738 2003-06-20 Akim Demaille <akim@epita.fr>
2740 * config/config.guess, config/config.sub, config/elisp-comp,
2741 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
2742 Update from masters.
2744 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
2746 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
2747 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
2748 (TEST_SCRIPT): New diversion.
2749 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
2750 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
2751 (AT_INIT): Support for expected failures.
2753 2003-06-02 Akim Demaille <akim@epita.fr>
2755 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
2757 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
2758 Autoconf nor Automake.
2759 (&contents): New, from Automake.
2762 2003-05-28 Paul Eggert <eggert@twinsun.com>
2764 * NEWS, doc/autoconf.texi (Particular Functions),
2765 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
2766 is the inverse of localtime.
2768 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
2770 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
2771 (handle_exec_errors): New function. Work around $! being
2772 altered by WEXITSTATUS.
2773 (xqx, xsystem): Use handle_exec_errors.
2775 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
2777 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
2778 Do not call `_exit()', simply modify `$?'.
2779 (xsystem): Reset $! before running system, and check it afterward.
2780 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
2781 63 for version mismatches.
2783 2003-05-23 Akim Demaille <akim@epita.fr>
2785 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
2786 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
2787 the middle of a line).
2788 * lib/m4sugar/m4sugar.m4: Likewise.
2789 Remove useless spaces in comments.
2791 2003-05-23 Akim Demaille <akim@epita.fr>
2793 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
2794 exit 63, so that we (or Automake's "missing") can tell the
2795 difference with a plain failure.
2796 * doc/autoconf.texi (Notices): Adjust.
2798 2003-05-23 Akim Demaille <akim@epita.fr>
2800 * Makefile.am, bin/Makefile.am, config/Makefile.am,
2801 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
2802 White spaces cleanup.
2804 2003-05-22 Jim Meyering <jim@meyering.net>
2805 Paul Eggert <eggert@twinsun.com>
2807 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2808 Remove `#include <stdlib.h>' from the list; we should never
2809 make confdefs.h include <stdlib.h> or <cstdlib>, because the
2810 resulting namespace pollution would cause other tests to fail.
2811 Configure scripts run with some older versions of g++ and HP's
2812 aCC would fail due to such an #include. Problems reported by
2813 Matthew Mueller in <http://bugs.debian.org/120704> and by
2815 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
2816 In the test, use the test declaration before including <stdlib.h>,
2817 as that's closer to how it'll be used.
2819 2003-05-23 Akim Demaille <akim@epita.fr>
2821 * doc/autoconf.texi (Header Portability): ucred.h.
2824 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2826 Overhaul Autotest's logging: generate separate log files
2827 in testsuite.dir/NNN/testsuite.log, and append them to
2828 testsuite.log instead of re-running the test verbosely.
2830 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
2831 file descriptor, write 0 to at_status_file instead of setting
2832 at_status=0, initialize some new variables (at_status_file,
2833 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
2834 to rerun the tests, instead append the at_group_log to the
2835 at_suite_log when a test fails.
2836 (AT_SETUP): pipe the test case's output into at_tee_pipe,
2837 with the AS_MESSAGE_LOG_FD redirected to stdout.
2838 (AT_CLEANUP): save the output status in $at_status_file
2839 and restore it, redirect the AS_MESSAGE_LOG_FD back to
2841 (AT_CHECK): since tests are run with a redirected stdout,
2842 and used to be re-run in verbose mode, turn some $at_verbose
2843 into echo, and don't redirect the output of testing stdout
2846 * lib/autotest/autoconf.texi (testsuite Scripts): Update
2847 the name of the debugging directory and information about
2850 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2852 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
2855 2003-05-22 Akim Demaille <akim@epita.fr>
2857 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
2858 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
2859 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
2860 * lib/autoconf/status.m4: Fix and adjust copyright notices.
2862 2003-05-22 Akim Demaille <akim@epita.fr>
2864 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
2865 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
2866 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2867 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
2868 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2869 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
2870 * lib/autoconf/status.m4, lib/autoconf/types.m4,
2871 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
2872 * tests/atspecific.m4, tests/base.at, tests/compile.at,
2873 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
2874 * tests/tools.at, tests/torture.at:
2875 Whitespace clean up.
2876 Suggested by Jim Meyering.
2878 2003-05-22 Akim Demaille <akim@epita.fr>
2880 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
2881 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
2882 Reported by Jim Meyering.
2884 2003-05-22 Akim Demaille <akim@epita.fr>
2886 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
2887 Add AC_HELP_STRING to the obsolete macros section.
2889 Use '@.' for sentences that ended in a capital letter.
2892 2003-05-22 Akim Demaille <akim@epita.fr>
2894 * config/config.guess, config/config.sub, config/elisp-comp,
2895 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
2896 * config/texinfo.tex, doc/standards.texi: Update from masters.
2898 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
2900 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
2903 2003-05-21 Akim Demaille <akim@epita.fr>
2905 * bin/autoupdate.in ($m4): Fix quotation.
2906 Reported by Martin Mokrejs.
2908 2003-05-19 Paul Eggert <eggert@twinsun.com>
2910 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
2911 Remove non-ASCII characters.
2913 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
2915 * tests/semantics.at (AC_SEARCH_LIBS): New test.
2916 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
2917 AC_CHECK_HEADERS_NEW): New tests.
2919 2003-05-17 Akim Demaille <akim@epita.fr>
2921 * lib/autoconf/functions.m4: Use the default includes so that
2922 memcmp be declared before being tested.
2923 Reported by Sander Niemeijer.
2924 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
2925 * doc/autoconf.texi (Default Includes): Document
2926 AC_INCLUDES_DEFAULT.
2928 2003-05-17 Akim Demaille <akim@epita.fr>
2930 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
2931 * doc/autoconf.texi (Obsolete Macros): Adjust.
2932 Reported by Werner LEMBERG and Debian Bug 190886.
2934 2003-05-16 Akim Demaille <akim@epita.fr>
2936 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
2937 user name space clashes.
2938 Reported by Bruno Haible.
2940 2003-05-16 Akim Demaille <akim@epita.fr>
2942 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2943 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
2944 them uniform, and more robust to Perl special characters.
2945 Reported by Martin Mokrejs.
2947 2003-05-14 Akim Demaille <akim@epita.fr>
2949 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
2951 2003-05-14 Akim Demaille <akim@epita.fr>
2953 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
2956 2003-05-12 Akim Demaille <akim@epita.fr>
2958 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
2960 From Matthias Andree.
2962 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
2964 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
2967 2003-05-06 Akim Demaille <akim@epita.fr>
2969 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
2970 longer updates aclocal.m4 if useless, (ii) if a file m4_included
2971 by aclocal.m4 is changed it might require the importing of another
2972 m4 extension file, i.e., aclocal must be run.
2974 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
2975 (&parse_args): Use --force with aclocal if required and supported.
2976 (&autoreconf_current_directory): Use &run_aclocal.
2978 2003-05-06 Akim Demaille <akim@epita.fr>
2980 Lock autom4te's cache.
2982 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
2983 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
2984 argument instead of a file name, so that the request file remains
2985 open during the whole autom4te run.
2986 ($icache_file): New.
2987 (&freeze): Lock the $icache_file.
2989 2003-04-29 Derek Price <derek@ximbiot.com>
2991 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
2992 seperator with m4_append_uniq(). It doesn't work.
2993 (AT_CLEANUP): Add `;' to end of at_help_all.
2994 (AT_INIT): Allow --keywords to be specified more than once. When
2995 grepping $at_help_all for keywords, use the field and keyword
2996 seperators to ensure a complete keyword match. Alter at_prev handling
2997 to support the new --keywords behavior.
2999 2003-04-27 Karl Berry <karl@freefriends.org>
3001 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3002 align better with others. I also made some of the individual
3003 entries on one line, for brevity and to make it easier for me to
3004 sort my dir-example file in the Texinfo distribution :).
3006 2003-04-12 Jim Meyering <jim@meyering.net>
3008 * NEWS: Mention the new macro.
3009 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3010 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3011 * tests/c.at: Test AC_C_RESTRICT.
3012 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3014 2003-04-08 Akim Demaille <akim@epita.fr>
3016 * bin/ifnames.in: Skip C++ comments.
3019 2003-04-08 Akim Demaille <akim@epita.fr>
3021 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3022 From Ilya Zakharevich.
3024 2003-04-08 Akim Demaille <akim@epita.fr>
3026 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3029 2003-04-01 Derek Price <derek@ximbiot.com>
3031 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3032 from Akim's checkin of 2003-03-29.
3034 2003-04-01 Derek Price <derek@ximbiot.com>
3036 * tests/torture.at (Configuring subdirectories): Add missing
3037 close-quote for Akim's change from 2003-03-28.
3039 2003-04-01 Akim Demaille <akim@epita.fr>
3041 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3042 (AC, AT, MS): these.
3043 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3046 * doc/Makefile.am (CLEANFILES): Adjust.
3047 (TEXI2DVI): Make it --batch.
3049 2003-03-31 Derek Price <derek@ximbiot.com>
3051 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3052 which removed the main loop.
3053 Thanks to Akim Demaille.
3055 2003-03-29 Akim Demaille <akim@epita.fr>
3057 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3059 From Ilya Zakharevich.
3061 2003-03-29 Akim Demaille <akim@epita.fr>
3063 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3064 documentation to read is Autoconf's.
3065 Suggested by Paul Eggert.
3067 2003-03-28 Akim Demaille <akim@epita.fr>
3069 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3070 reading the section "Present But Cannot Be Compiled" when the
3071 header causes problems.
3073 2003-03-28 Akim Demaille <akim@epita.fr>
3075 * tests/torture.at (Configuring subdirectories): Require aclocal
3076 1.4, otherwise the test fails, as it does support configure.ac.
3077 This fixes the "test 40 failed" bug reports.
3079 2003-03-28 Akim Demaille <akim@epita.fr>
3081 * doc/autoconf.texi (C Compiler): `#line' portability.
3082 From Paul Eggert and Nelson H. F. Beebe.
3084 2003-03-27 Derek Price <derek@ximbiot.com>
3086 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3087 layout in order to allow scripting around test groups.
3089 2003-03-27 Derek Price <derek@ximbiot.com>
3091 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3092 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3093 use new diversions in preparation for accepting new arguments and
3094 allowing scripting around tests.
3095 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3097 2003-03-26 Derek Price <derek@ximbiot.com>
3099 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3100 obsolete AC_HELP_STRING.
3101 (AC_HELP_STRING): AU_DEFUN to...
3102 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3103 * tests/m4sh.at (AS_HELP_STRING): New test.
3105 * tests/acgeneral.at: Regenerated.
3107 2003-03-26 Derek Price <derek@ximbiot.com>
3109 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3110 sense. Verbosify the diversion definitions comment.
3112 2003-03-26 Derek Price <derek@ximbiot.com>
3114 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3117 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3119 * doc/autoconf.texi (Present But Cannot Be Compiled):
3120 Grammar fixes and minor rewording. (trivial change)
3122 2003-03-06 Paul Eggert <eggert@twinsun.com>
3124 Work around a problem noted by Nelson H. F. Beebe with coreutils
3125 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3126 2002/05/09) rejects '#line 32768 "configure"' because the line
3128 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3130 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3131 * doc/autoconf.texi (Generating Sources): Document this.
3133 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3135 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3136 file name for the m4 program, when it has an "exe" file extension.
3137 DJGPP's error messages include the error code in brackets -
3138 remove the error code during normalization.
3140 2003-02-28 Akim Demaille <akim@epita.fr>
3142 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3144 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3146 * doc/autoconf.texi (Limitations of Make): Remove the section
3147 about `$<' in inference rules, it was a bogus interpretation of
3148 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3149 Tru64 make in the "target lookup" section.
3150 (Automake): Automake 1.5+ no longer requires special tools to be
3151 present on the developer's host.
3153 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3155 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3156 to a shell that can handle redirection or quoting correctly.
3157 Override SHELL with the shell detected by configure.
3158 Use of $^O suggested by Tim van Holder.
3159 * bin/autom4te.in (BEGIN): Likewise.
3160 * bin/autoreconf.in (BEGIN): Likewise.
3161 * bin/autoscan.in (BEGIN): Likewise.
3162 * bin/autoupdate.in (BEGIN): Likewise.
3163 * bin/ifnames.in (BEGIN): Likewise.
3165 * bin/ifnames.in: Add final newline to help and version messages.
3167 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3168 to cope with DOS-style absolute paths, when constructing
3171 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3172 When constructing paths with IFS=:, quote the path. If we're
3173 constructing a DOS-style absolute path, we don't want to split it
3176 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3179 2003-02-25 Pavel Roskin <proski@gnu.org>
3181 * bin/autoheader.in: Add missing newline when printing
3182 suggestion how change AC_DEFINE call.
3184 2003-02-24 Paul Eggert <eggert@twinsun.com>
3186 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3187 2002-09-01 patch by replacing "test -n" with "test -z".
3188 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3189 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3191 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3192 to fix a mismatch between example and discussion.
3194 2003-02-24 Kevin Ryde <user42@zip.com.au>
3196 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3197 format starting with "-".
3199 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3201 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3202 is not portable inside Makefile.
3204 2003-02-20 Akim Demaille <akim@epita.fr>
3206 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3207 compiler says yeah, but preproc says nope, compiler is right.
3208 Conversely, prompt the reader to send a bug report to the
3209 maintainers of the package, not of Autoconf.
3211 2003-02-20 Klee Dienes <kdienes@apple.com>
3213 * bin/autoreconf.in (autoreconf_current_directory): Properly
3214 handle an empty aclocal.m4.
3216 2003-02-20 Akim Demaille <akim@epita.fr>
3218 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3222 2002-12-23 Paul Eggert <eggert@twinsun.com>
3224 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3225 innocuous variant befor including <limits.h> or <assert.h>. This
3226 works around a bug reported by Albert Chin: HP-UX 11i
3227 (and earlier versions) have a <limits.h> that declares
3228 gettimeofday and many other functions.
3230 2002-12-03 Paul Eggert <eggert@twinsun.com>
3234 * NEWS, configure.ac: Update version.
3236 * doc/fdl.texi: Upgrade to FDL version 1.2.
3238 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3239 nontrivially in main's body, so that f's external declaration is
3240 not optimized away in AIX. This should fix the bug reported by
3242 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3244 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3245 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3246 defined, to support freestanding compilers. This should fix the
3247 bug reported by Momchil Velkov in
3248 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3250 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3251 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3252 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3253 by Simon Josefsson in
3254 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3256 * Makefile.maint (www-gnu): New macro.
3257 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3258 the location has moved.
3260 2002-12-02 Martin Frydl <martin@systinet.com>
3262 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3263 \(.*\) match is too long and there is something more to be checked.
3264 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3266 2002-11-15 Akim Demaille <akim@epita.fr>
3270 * config/install-sh: chmod +x.
3272 * config/move-if-change: Indenting changes.
3273 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3274 * configure.ac (AM_INIT_AUTOMAKE): here.
3277 2002-11-14 Akim Demaille <akim@epita.fr>
3281 * config/config.guess, config/config.sub, config/install-sh:
3282 Update from masters.
3284 2002-11-14 Akim Demaille <akim@epita.fr>
3286 * Makefile.maint: Sync with Bison, i.e.:
3287 (po-check): Scan .l and .y files instead of the
3288 .c and the .h files that they generate. This fixes the bug
3289 reported by Tim Van Holder in:
3290 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3291 Look for N_ as well as for _. Try to avoid matching #define for
3295 2002-11-14 Akim Demaille <akim@epita.fr>
3297 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3298 From Paul Eggert and Albert Chin-A-Young.
3300 2002-11-14 Akim Demaille <akim@epita.fr>
3302 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3303 From Paul Eggert and Albert Chin-A-Young.
3305 2002-11-14 Kevin Ryde <user42@zip.com.au>
3307 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3308 than assigning in main, to avoid HP cc +O3 optimizing it away.
3310 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3312 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3313 option. Process --recheck after parsing all options. Pass -q
3314 option to configure on --recheck.
3315 (AC_OUTPUT): Pass -q from configure to config.status.
3316 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3317 arguments to record.
3318 * doc/autoconf.texi (config.status Invocation): Document
3319 config.status -q option.
3321 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3323 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3324 Makefile.in if Makefile.am exists.
3325 (output): Strip `.am' from Makefiles. Don't
3326 output AC_CONFIG_FILES if no Makefiles were found.
3328 2002-11-07 Akim Demaille <akim@epita.fr>
3330 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3331 (local_updates): New.
3332 * Makefile.maint: Update, from CVS Bison.
3333 (local_updates): New.
3335 2002-11-06 Akim Demaille <akim@epita.fr>
3337 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3338 declaration in extern "C" too.
3339 Reported by Roberto Bagnara.
3341 2002-11-06 Akim Demaille <akim@epita.fr>
3343 * tests/torture.at (Configuring subdirectories): Don't use grep
3345 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3346 Reported by Ezra Peisach.
3348 2002-11-05 Akim Demaille <akim@epita.fr>
3350 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3352 We _have_ to stop using the old compatibility scheme that tried to
3353 avoid useless backslashes because Libtool 1.4.3 contains a
3354 AC_DEFINE([error_t], [int],
3355 [Define to a type to use for \`error_t' if it is not
3356 otherwise available.])
3357 We _have_ to quote the single quote and backslashes with \. The
3358 old compatibility scheme saw that ` was backslashed, and therefore
3359 did not quote the single quote. Hence before this patch, Autoconf
3360 was not compatible with Libtool.
3362 2002-11-04 Paul Eggert <eggert@twinsun.com>
3364 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3365 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3366 LC_NAME, LC_PAPER, LC_TELEPHONE.
3367 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3369 2002-11-04 Akim Demaille <akim@epita.fr>
3373 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3375 * config/texinfo.tex: Update.
3377 2002-11-03 Akim Demaille <akim@epita.fr>
3379 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3381 (&autoreconf): here.
3382 ($help, $make, &parse_args, &autoreconf_current_directory):
3384 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3386 2002-10-31 Bruno Haible <bruno@clisp.org>
3388 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3389 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3390 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3391 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3392 to ac_cv_func_realloc_0_nonnull.
3393 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3395 2002-10-31 Akim Demaille <akim@epita.fr>
3397 The test suite was no longer checking for trailing envvars and files.
3399 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3400 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3402 2002-10-31 Akim Demaille <akim@epita.fr>
3404 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3405 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3406 Make variable, not a shell variable.
3407 Suggested by Bruno Haible.
3409 2002-10-31 Akim Demaille <akim@epita.fr>
3411 * bin/autom4te.in (load_configuration): Reject #args out of any
3414 2002-10-31 Akim Demaille <akim@epita.fr>
3416 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3417 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3418 (_AC_RUN_IFELSE): Use it.
3419 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3420 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3421 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3424 2002-10-30 Akim Demaille <akim@epita.fr>
3426 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3427 * doc/autoconf.texi (autom4te Invocation): Adjust.
3428 Suggested by Tim van Holder.
3430 2002-10-29 Paul Eggert <eggert@twinsun.com>
3432 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3433 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3434 Problem reported by Bruno Haible.
3436 2002-10-29 Akim Demaille <akim@epita.fr>
3438 * doc/autoconf.texi (Header Templates): Put also in words what the
3439 pictures says to assist free style readers.
3440 (Customizing autom4te): s/--cache=/--cache /.
3442 2002-10-29 Akim Demaille <akim@epita.fr>
3444 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3446 sparc_address_test returns void.
3447 Use it with an argument, as prototyped.
3450 2002-10-29 Akim Demaille <akim@epita.fr>
3452 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3453 configure.in, not configure.ac.
3454 Reported by Bruno Haible.
3456 2002-10-29 Akim Demaille <akim@epita.fr>
3458 * tests/torture.at (Deep Package): New test.
3459 (Configuring subdirectories): Don't use a testSubDir as Autotest
3462 2002-10-29 Akim Demaille <akim@epita.fr>
3464 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3465 * doc/autoconf.texi (Invoking autom4te): Rename as...
3466 (autom4te Invocation): this, for consistency with the other nodes.
3468 2002-10-29 Akim Demaille <akim@epita.fr>
3470 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3471 Reported by Ralf Corsepius.
3473 2002-10-29 Akim Demaille <akim@epita.fr>
3475 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3476 characters is a back as an `obsolete' warning now.
3477 Reported by Ralf Corsepius.
3479 2002-10-28 Akim Demaille <akim@epita.fr>
3481 * configure.ac: Bump to 2.54c.
3483 2002-10-28 Akim Demaille <akim@epita.fr>
3487 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3489 2002-10-28 Akim Demaille <akim@epita.fr>
3491 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3492 m4 executable names, and different GNU M4 version.
3493 Reported by Ezra Peisach and Paul Jarc.
3495 2002-10-27 Akim Demaille <akim@epita.fr>
3497 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3500 2002-10-27 Akim Demaille <akim@epita.fr>
3502 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3503 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3504 Die when a simple Fortran program cannot be compiled.
3505 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3506 Issue a warning if no function is given.
3508 2002-10-27 Akim Demaille <akim@epita.fr>
3510 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3511 Move the documentation of AC_TRY_RUN to...
3512 (Obsolete Macros): here.
3513 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3514 (autoconf Invocation): Remove the duplicates with `invoking
3516 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3517 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3519 2002-10-27 Akim Demaille <akim@epita.fr>
3521 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3522 and AC_LANG_FUNC_LINK_TRY.
3523 (Examining Libraries): Rename as...
3524 (Running the Linker): this.
3525 Document AC_LINK_IFELSE.
3526 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3527 (Obsolete Macros): here.
3528 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3529 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3530 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3531 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3533 2002-10-27 Akim Demaille <akim@epita.fr>
3535 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3537 More `check config.log' messages.
3539 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3540 * doc/autoconf.texi (Printing Messages): Document it.
3541 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3543 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3544 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3545 (_AC_COMPILER_OBJEXT): Likewise.
3546 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3547 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3549 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3552 Deprecate macros with unusual interfaces.
3554 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3555 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3557 Document the new ones, and proper style.
3559 * doc/autoconf.texi (Generating Sources): New.
3560 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3561 (Examining Declarations): Rename as...
3562 (Running the Preprocessor): this.
3563 Document AC_PREPROC_IFELSE.
3564 (Examining Syntax): Rename as...
3565 (Running the Compiler): this.
3566 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3567 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3568 AC_TRY_COMPILE here.
3570 2002-10-27 Akim Demaille <akim@epita.fr>
3572 Move sections around.
3574 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3576 Reported by Burno Haible.
3577 (Language Choice): Now the first section of...
3578 (Writing Tests): this section.
3579 Make the introduction less C-centric.
3580 (Guidelines, Test Functions): Move to...
3581 (Writing Test Programs): this new section.
3582 (Test Programs): Merge into...
3585 2002-10-27 Akim Demaille <akim@epita.fr>
3587 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3588 autom4te.in that resulted in the need for two `make' runs.
3590 2002-10-27 Akim Demaille <akim@epita.fr>
3592 * configure.ac: Bump to 2.54b.
3594 2002-10-25 Akim Demaille <akim@epita.fr>
3598 * Makefile.maint: Update from the Coreutils.
3599 (AMTAR): Remove, obsolete.
3600 (automake_repo): Update to redhat.com.
3602 Adjust to the fact that ansi2knr is now hosted by Automake.
3603 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3604 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3605 Update from masters.
3606 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3607 autoscan.pre is not to be installed, and autoscan.list is not to
3609 (CLEANFILES): Add autoscan.list.
3610 (autoscan.list): Disable the cache.
3611 * bin/Makefile.am: Include freeze.mk.
3613 2002-10-25 Akim Demaille <akim@epita.fr>
3615 * bin/autom4te.in (&load_configuration): Take the file as
3617 (&parse_args): Handle -C, --cache.
3619 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3620 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3621 * doc/autoconf.texi (Invoking autom4te): Document --cache.
3622 Now a subsection of...
3623 (Using autom4te): This new section.
3624 (Customizing autom4te): New.
3625 (autom4te.cache): Adjust.
3627 2002-10-25 Akim Demaille <akim@epita.fr>
3629 * doc/autoconf.texi (Generic Headers): More information on how to
3630 use AC_CHECK_HEADERS.
3632 2002-10-25 Akim Demaille <akim@epita.fr>
3634 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3637 2002-10-25 Akim Demaille <akim@epita.fr>
3639 * bin/autoscan.in (output): Output AC_PREREQ.
3640 (%needed_macros): Add AC_PREREQ so that configure.ac without one
3643 2002-10-23 Akim Demaille <akim@epita.fr>
3645 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3648 2002-10-23 Akim Demaille <akim@epita.fr>
3650 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3651 Reported by Peter Eisentraut.
3653 2002-10-23 Akim Demaille <akim@epita.fr>
3655 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3658 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3659 Eggert's recommandations.
3661 2002-10-22 Akim Demaille <akim@epita.fr>
3663 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3664 Bison, by Paul Eggert.
3665 * doc/autoconf.texi (Particular Headers): Document it.
3667 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
3669 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3670 `$ac_configure_args'.
3672 2002-10-22 Akim Demaille <akim@epita.fr>
3674 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3675 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3678 2002-10-22 Akim Demaille <akim@epita.fr>
3680 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
3682 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3683 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3684 (_AC_CHECK_HEADER_NEW): Rename as...
3685 (AC_CHECK_HEADER): this.
3687 2002-10-22 Akim Demaille <akim@epita.fr>
3689 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3690 words about HP-UX cmp: it was actually a user-written cmp.
3692 2002-10-22 Akim Demaille <akim@epita.fr>
3694 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3696 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3697 Quote for Perl '' strings, not "".
3698 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3701 2002-10-22 Akim Demaille <akim@epita.fr>
3703 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3704 characters is a syntax warning now.
3705 (_AS_QUOTE): Accept $2 as list of characters to quote.
3706 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3707 Quote for Perl, not sh.
3708 * bin/autoheader.in: When $debug, report the file which is
3710 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3711 `@', to tickle Perl's lists.
3712 Reported by Carlos Velasco.
3714 2002-10-18 Akim Demaille <akim@epita.fr>
3716 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3717 missing included files _are_ errors.
3718 Thanks to Alexandre Duret-Lutz.
3719 * tests/tools.at (autom4te cache): Adjust.
3720 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3721 (AT_CHECK_M4SUGAR): Use it.
3722 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3724 * tests/tools.at (autom4te): Now it does exit 1.
3726 2002-10-17 Akim Demaille <akim@epita.fr>
3728 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3729 Fixes the `AC_ARG_VAR' test failures.
3730 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3731 * lib/freeze.mk (check-forbidden-patterns): New.
3732 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3733 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
3734 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
3736 Reported months ago by H. Merijn Brand.
3738 2002-10-17 Akim Demaille <akim@epita.fr>
3740 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
3742 2002-10-16 Paul Eggert <eggert@twinsun.com>
3744 * Makefile.maint (wget_files): Remove ansi2knr.c.
3745 (ansi2knr.c-url_prefix): Remove.
3747 2002-10-16 Akim Demaille <akim@epita.fr>
3749 Because of caching, some files that no longer exist and are no
3750 longer required can still cause errors.
3751 Reported by Alexandre Duret-Lutz.
3753 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
3754 to frozen files in @ARGV, as @ARGV must remain being a list of
3755 files. Rather, at M4 call sites, use this...
3756 (&files_to_options): New function.
3757 (&freeze): Use &error.
3758 (&up_to_date): If a file that was included according to the cache
3759 is no longer there, then the output is out dated.
3760 (&main): Don't even check whether a file is up to date is anyway
3762 * tests/tools.at (autom4te cache): New.
3764 2002-10-16 Akim Demaille <akim@epita.fr>
3766 * bin/autoconf.as: Kill dead options.
3767 * bin/autoupdate.in (&parse_args): Kill old options.
3768 * bin/autoreconf.in (&parse_args): Remove dead options.
3770 (&autoreconf): Report the directories we enter *and leave*, so
3771 that error messages can be easily located, and use GNU Make
3772 format, so that Emacs' compile mode understands us.
3773 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
3774 if some file was changed instead of `print'.
3775 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
3776 (&parse_args): Remove the dead options.
3777 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
3778 autoheader's quiet mode.
3779 (AT_CHECK_AUTOUPDATE): Likewise.
3780 * tests/tools.at (autoupdate): Adjust.
3781 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3783 2002-10-11 Akim Demaille <akim@epita.fr>
3785 No longer use CPP to check for the existing of headers: use CC to
3786 check for compilability.
3788 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3789 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
3790 (_AC_CHECK_HEADER_NEW): Rename as...
3791 (AC_CHECK_HEADER): this.
3793 * lib/autotest/general.m4 (AT_INIT): Include the failed test
3794 numbers in the Subject suggestion.
3796 2002-10-11 Akim Demaille <akim@epita.fr>
3798 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
3799 Suggest using AC_CHECK_DECLS instead.
3801 2002-10-11 Akim Demaille <akim@epita.fr>
3803 * tests/torture.at (AC_ARG_VAR): Have configure report the value
3806 2002-10-11 Akim Demaille <akim@epita.fr>
3808 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
3809 file name to enable parallel executions.
3810 From Sam Varshavchik.
3812 2002-10-08 Akim Demaille <akim@epita.fr>
3814 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
3815 aclocal invocation, as Gettext macros might not be visible to
3817 Instead of blindly running autopoint, scan configure.ac (not the
3818 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
3819 Reported by Paul D. Smith.
3821 2002-10-08 Paul Eggert <eggert@twinsun.com>
3823 Work around problems found when POSIXLY_CORRECT=1 is set.
3824 None of this seems to have anything to do with POSIX, really,
3825 but it's how Perl getopt works.
3826 * bin/autom4te.in (parse_args): Configure GetOpt with
3828 * doc/autoconf.texi (Invoking autom4te):
3829 --warning -> --warnings.
3830 * lib/autom4te.in: --warning -> --warnings.
3832 2002-09-28 Akim Demaille <akim@epita.fr>
3834 * doc/autoconf.texi (autom4te.cache): New section.
3836 2002-09-28 Akim Demaille <akim@epita.fr>
3838 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
3839 (Automake-preselections): Update.
3840 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
3842 2002-09-28 Akim Demaille <akim@epita.fr>
3844 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
3845 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
3846 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3847 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
3849 2002-09-28 Akim Demaille <akim@epita.fr>
3851 * tests/torture.at (Configuring subdirectories): Be robust to
3852 users who use config.site to require for a cache: in this case,
3853 the two last configure runs, using two different sets of
3854 arguments, trigger a legitimate error.
3856 2002-09-28 Akim Demaille <akim@epita.fr>
3858 * tests/m4sh.at (Functions Support, Functions and return Support):
3861 2002-09-28 Akim Demaille <akim@epita.fr>
3863 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
3864 autoheader are Perl programs.
3865 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
3866 (autom4te): Specify that the sources are in the $srcdir.
3867 * doc/autoconf.texi (Installation Directory Variables): Adjust.
3869 2002-09-28 Akim Demaille <akim@epita.fr>
3871 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
3872 (tm_zone): Move their rules to...
3873 * lib/autoconf/types.m4: here, using AN_ macros.
3874 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
3875 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
3876 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
3877 * lib/autoconf/programs.m4: here.
3878 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
3879 (ETAGS_FOR_AUTOCONF): New.
3882 2002-09-28 Akim Demaille <akim@epita.fr>
3884 * lib/autoconf/autoscan.m4: New file.
3885 * lib/autoconf/autoconf.m4: Include it.
3886 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
3887 that were listed in the original autoscan.list.
3888 * lib/autoconf/headers.m4: Similarly with headers.
3889 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
3890 (.m4.m4f): Don't pass --prepend-include, since that's done by
3891 tests/autom4te itself.
3892 * lib/autoscan/Makefile.am: Include freeze.mk.
3893 (autoscan.list): New target --this file is no longer a source.
3894 (autoscan.pre): New file.
3896 2002-09-28 Akim Demaille <akim@epita.fr>
3898 * bin/autoscan.in (@kinds): Make them singular.
3900 (&init_tables): When --debug, report the list of rules to ease
3901 tracking changes in autoscan.list.
3902 * lib/autoscan/autoscan.list (function): Strip comments, sort.
3904 2002-09-28 Akim Demaille <akim@epita.fr>
3906 * lib/autoscan/functions, lib/autoscan/headers,
3907 * lib/autoscan/identifiers, lib/autoscan/makevars,
3908 * lib/autoscan/programs: Merge into...
3909 * lib/autoscan/autoscan.list: this.
3910 * bin/autoscan.in (&init_tables): Adjust.
3912 2002-09-28 Akim Demaille <akim@epita.fr>
3914 * lib/autoscan/functions, lib/autoscan/headers,
3915 * lib/autoscan/identifiers, lib/autoscan/makevars,
3916 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
3917 `functions' line is now prefixed with `function:'.
3918 * bin/autoscan.in (&init_tables): Adjust.
3920 2002-09-28 Akim Demaille <akim@epita.fr>
3922 From now on, autoscan files must always map a macro name to a
3923 word: there is no `default' macro for autoscan.
3925 * bin/autoscan.in (&init_tables): Reject entries with no macro at
3927 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
3930 2002-09-28 Akim Demaille <akim@epita.fr>
3932 * bin/autoscan.in (%c_keywords): Remove.
3933 (&used): Keep only track of the words we might be interested in.
3934 (&output_kind): It is no longer needed to look for non active
3937 2002-09-27 Akim Demaille <akim@epita.fr>
3939 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
3940 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
3941 * lib/autoscan/functions: Adjust.
3942 * doc/autoconf.texi (Particular Functions): Adjust.
3944 2002-09-27 Akim Demaille <akim@epita.fr>
3946 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
3948 Thanks to Bill Moseley and Paul Eggert.
3949 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
3950 the tmpdir must be created.
3951 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
3952 dir be in the build tree, instead of $TMPDIR.
3954 2002-09-27 Akim Demaille <akim@epita.fr>
3956 * bin/autoscan.in: Improve the comments.
3957 (&parse_args): Drop obsolete undocumented options.
3958 (&output_kind): Output warnings.
3959 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
3960 (getwd): Trigger a warning.
3962 2002-09-26 Akim Demaille <akim@epita.fr>
3964 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
3965 Reported by Ralf Corsepius.
3966 * doc/autoconf.texi (autoreconf Invocation): Likewise.
3968 2002-09-26 Akim Demaille <akim@epita.fr>
3970 Single suffix rules and seperated dependencies are not portable.
3972 * doc/autoconf.texi (Installation Directory Variables): Update.
3973 (Limitations of Make): Some about `Single Suffix Rules and
3974 Separated Dependencies'.
3975 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3976 (ifnames, autoscan, autom4te): Un-factor into several rules.
3978 2002-09-25 Paul Eggert <eggert@twinsun.com>
3980 * BUGS (Interoperability bugs): New section. Mention libtool
3981 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
3983 2002-09-24 Paul Eggert <eggert@twinsun.com>
3985 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
3986 make handles suffix-rules differently from GNU make.
3988 * bin/Makefile.am (SUFFIXES, .in): Remove.
3989 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
3990 Move the body of the old .in rule here.
3992 2002-09-16 Akim Demaille <akim@epita.fr>
3994 i960 compilers create `b.out' files by default.
3995 Reported by Ralf Corsepius.
3997 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
3998 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4000 2002-09-13 Paul Eggert <eggert@twinsun.com>
4002 * doc/autoconf.texi (Particular Headers): Remove obsolete
4003 reference to `struct timezone' in the description of
4006 2002-09-13 Akim Demaille <akim@epita.fr>
4010 * config/config.sub, config/config.guess: Update.
4011 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4012 * Makefile.am: Adjust.
4014 2002-09-13 Akim Demaille <akim@epita.fr>
4016 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4017 reading config.log when the compiler is rejected.
4018 Suggested by Guido Draheim.
4020 2002-09-13 Akim Demaille <akim@epita.fr>
4022 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4023 (chdir_init) might hang when stat'ing mounted directories.
4024 Reported by Vance Shipley.
4026 2002-09-12 Akim Demaille <akim@epita.fr>
4028 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4031 2002-09-12 Akim Demaille <akim@epita.fr>
4033 * doc/autoconf.texi (Defining Symbols): Present two different
4034 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4035 difference between 1 argument calls, and 2-3 argument calls.
4037 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4039 * doc/autoconf.texi: Review grammar and punctuation.
4041 2002-09-11 Paul Eggert <eggert@twinsun.com>
4043 * doc/autoconf.texi: Fix minor formatting, spelling, and
4045 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4046 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4049 2002-09-11 Akim Demaille <akim@epita.fr>
4051 * doc/autoconf.texi (Questions): Rename as...
4053 (Defining Directories): New.
4055 2002-09-09 Akim Demaille <akim@epita.fr>
4057 * doc/autoconf.texi (Making testsuite Scripts): Update.
4058 Suggested by Nishio Futoshi.
4060 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4062 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4063 plain `@' is wanted.
4065 2002-09-09 Akim Demaille <akim@epita.fr>
4067 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4068 `duplicates', since the algorithm was too naive and could keep
4069 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4070 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4071 Reported by Ralf Corsepius.
4072 * tests/torture.at (Configuring subdirectories): Exercise these
4075 2002-09-09 Akim Demaille <akim@epita.fr>
4077 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4078 looking for a replacement file.
4079 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4080 directory is relative.
4081 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4082 directory definition.
4083 Reported by Andreas Schwab and Jim Meyering.
4085 2002-09-06 Akim Demaille <akim@epita.fr>
4087 * doc/autoconf.texi (Setting Output Variables): Clarify what
4088 precious variables are.
4089 Suggested by Pontus Skoeld.
4091 2002-09-05 Akim Demaille <akim@epita.fr>
4093 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4094 (ifnames, autoscan, autom4te): Since we don't only depend on
4095 configure.ac variables (such as VERSION etc.), but also on prefix
4096 and so forth, depend on Makefile, not configure.ac.
4097 Reported by Alexandre Duret-Lutz.
4098 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4100 2002-09-05 Kevin Ryde <user42@zip.com.au>
4102 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4103 doesn't seem to be confined to ia64, just say "some versions".
4105 2002-09-04 Akim Demaille <akim@epita.fr>
4107 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4109 * Makefile.am (maintainer-clean-local): Remove.
4110 (MAINTAINERCLEANFILES): Remove COPYING.
4112 2002-09-03 Paul Eggert <eggert@twinsun.com>
4114 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4115 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4118 2002-09-03 Akim Demaille <akim@epita.fr>
4120 * configure.ac: Bump to 2.53d.
4121 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4122 as of today, on Automake's team suggestion.
4124 2002-09-03 Akim Demaille <akim@epita.fr>
4128 2002-09-02 Akim Demaille <akim@epita.fr>
4130 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4132 * configure.ac: Disable SITE_MACRO_DIR.
4134 2002-09-02 Jim Meyering <meyering@lucent.com>
4136 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4137 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4138 Also, tweak grammar: s/make sure to/be sure to/.
4140 2002-09-02 Paul Eggert <eggert@twinsun.com>
4142 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4143 directory names are generally preferable to physical names.
4145 2002-09-02 Akim Demaille <akim@epita.fr>
4147 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4148 Reported by Raja R. Harinath.
4149 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4150 * bin/autoupdate.in: Use error instead of die.
4152 2002-09-01 Paul Eggert <eggert@twinsun.com>
4154 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4155 ordinary shell concatenation rather than echo+tr+sed command that
4156 runs afoul of a long-line-related sed bug in Solaris 8.
4158 * bin/autoheader.in (parse_args): --warning -> --warnings.
4160 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4161 stdout, as traditional "ls" does.
4162 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4163 _AC_COMPILER_EXEEXT_O): Likewise.
4164 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4166 * bin/autoconf.as: Add --prepend-include option. This patch was
4167 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4168 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4170 * bin/autoconf.in, configure: Regenerate.
4172 * doc/autoconf.texi (Special Shell Variables): Mention
4173 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4175 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4176 MAILPATH and set PS1, PS2, PS4 to default values, to work
4177 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4178 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4179 the Autoconf documentation specifies; fall back to "unset" only if
4180 this fails. Use a shell for-loop for this rather than an m4 loop,
4181 to shorten the output script.
4183 2002-08-30 Paul Eggert <eggert@twinsun.com>
4185 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4186 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4187 for the CDPATH problem. Document PWD.
4188 (Limitations of Builtins): Document the problem that "cd $foo" and
4189 "ls $foo" may refer to different directories in shells conforming
4190 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4191 example, since the old example is now out of date.
4193 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4194 FOO" and "ls FOO" talk about different directories; this catches
4195 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4198 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4199 of rolling our own unset.
4200 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4201 in practice we needn't worry about CDPATH if unset doesn't work.
4203 * Makefile.in, aclocal.m4, bin/Makefile.in,
4204 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4205 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4206 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4207 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4208 tests/Makefile.in: Regenerate with Automake 1.6.3.
4210 * config/config.guess, config/config.sub, config/mkinstalldirs:
4213 * configure: Regenerate with self.
4215 2002-08-30 Kevin Ryde <user42@zip.com.au>
4217 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4220 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4222 * bin/autom4te.in (Request::load): Correctly test for "do" read
4225 2002-08-29 Akim Demaille <akim@epita.fr>
4227 * lib/Autom4te/General.pm (&xqx): New.
4228 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4229 hand, which is not portable.
4231 * bin/autom4te.in: Use them.
4232 Use &error instead of die.
4233 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4236 2002-08-17 Paul Eggert <eggert@twinsun.com>
4238 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4239 default list of compilers to try, since it was long ago superseded
4240 by the ksh fc builtin. Suggested by Steven G. Johnson.
4242 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4244 * doc/autoconf.texi (Invoking autom4te): End the option table,
4245 fixing a bug introduced by the previous patch.
4246 (Limitations of Make): Add a 'target lookup' subentry in the
4247 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4249 2002-07-29 Mark D. Roth <roth@feep.net>
4251 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4252 options and use $AUTOM4TE_PATH.
4253 * doc/autoconf.texi: Remove documentation of autom4te
4254 --include-envvar and --site-macro-subdir options and document
4255 use of $AUTOM4TE_PATH.
4256 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4257 arguments from each language section.
4259 2002-07-29 Paul Eggert <eggert@twinsun.com>
4261 * doc/install.texi: Include copyright symbol in copyright notice.
4263 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4265 (AM_MAKEINFOFLAGS): New macro.
4266 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4267 * Makefile.am (INSTALL): Use the new macros.
4268 Use -o rather than --output, since "missing" does not grok --output.
4270 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4272 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4273 comments do not always work. Never trust the exit status of
4276 2002-07-24 Kevin Ryde <user42@zip.com.au>
4278 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4279 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4281 2002-07-23 Paul Eggert <eggert@twinsun.com>
4283 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4284 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4285 apparently treats PATH="nonexistent" as if it contained ".".
4286 Bug reported by Stefan `Sec' Zehl.
4288 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4290 * doc/autoconf.texi (Limitations of Make): Mention the special
4291 handling of the obj/ directory by BSD make.
4293 2002-07-20 Kevin Ryde <user42@zip.com.au>
4295 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4298 2002-07-19 Akim Demaille <akim@epita.fr>
4300 * doc/autoconf.texi (Function Portability): `exit'.
4301 (Programming in M4sh): Ethymology of M4sh.
4303 2002-07-19 Akim Demaille <akim@epita.fr>
4305 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4307 2002-07-18 Akim Demaille <akim@epita.fr>
4311 2002-07-18 Akim Demaille <akim@epita.fr>
4313 * config/config.guess, config/config.sub: Update.
4315 2002-07-18 Akim Demaille <akim@epita.fr>
4317 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4320 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4321 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4322 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4324 2002-07-18 Akim Demaille <akim@epita.fr>,
4325 Alexandre Duret-Lutz <duret_g@epita.fr>
4327 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4328 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4330 2002-07-17 Russ Allbery <rra@stanford.edu>
4332 * doc/autoconf.texi (Initializing configure): Clarify the
4333 description of the tarname default.
4335 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4337 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4338 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4341 2002-07-17 Akim Demaille <akim@epita.fr>
4343 * lib/Autom4te/General.pm (find_file): Browse the directories in
4344 the order they are given.
4346 2002-07-17 Akim Demaille <akim@epita.fr>
4348 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4349 * tests/wrapper.as: this.
4350 * tests/Makefile.am, configure.ac: Adjust.
4352 2002-07-17 Mark D. Roth <roth@feep.net>
4354 * configure.ac: Add --enable-site-macro-dir option.
4355 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4356 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4357 --site-macro-subdir options.
4358 * bin/autoconf.in: Add --prepend-include option.
4359 * bin/autoheader.in: Add --prepend-include option.
4360 * bin/autoreconf.in: Add --prepend-include option.
4361 * bin/autoscan.in: Add --prepend-include option.
4362 * bin/autoupdate.in: Add --prepend-include option.
4363 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4364 macro directory, remove note that include path directories are
4365 used in reverse order, and document --prepend-include option.
4366 * lib/autom4te.in: Use --prepend-include instead of --include.
4367 * tests/wrapsh.in: Use --prepend-include instead of --include.
4369 2002-07-17 Akim Demaille <akim@epita.fr>
4371 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4373 * doc/autoconf.texi (Initializing configure): Adjust.
4375 2002-07-17 Akim Demaille <akim@epita.fr>
4377 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4378 (_AC_FUNC_MALLOC): New.
4379 (AC_FUNC_MALLOC): Use the latter.
4380 Define HAVE_MALLOC to 0 if broken.
4381 * doc/autoconf.texi (Particular Functions): Adjust.
4383 2002-07-16 Akim Demaille <akim@epita.fr>
4385 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4386 * doc/autoconf.texi (C Compiler): Adjust.
4388 2002-07-09 Akim Demaille <akim@epita.fr>
4390 * doc/autoconf.texi: Properly set the ``header'' part.
4392 2002-07-09 Akim Demaille <akim@epita.fr>
4394 * doc/autoconf.texi (Systemology): Some about Darwin.
4396 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4398 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4399 Don't use AC_REQUIRE in AU_DEFUN.
4401 2002-07-09 Art Haas <ahaas@neosoft.com>
4403 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4405 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4407 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4408 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4409 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4410 so that Emacs setups GNU style for perl-mode and cperl-mode.
4412 2002-06-27 Paul Eggert <eggert@twinsun.com>
4414 * config/install-sh: Quote $src. Prefer || to test's -o option,
4415 as per "Limitations of Builtins".
4416 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4417 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4419 * tests/mktests.sh: Use grep instead of fgrep, as per
4420 "Limitations of Builtins".
4422 2002-06-15 Paul Eggert <eggert@twinsun.com>
4424 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4425 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4426 so that we consistently test the just-built programs.
4427 * tests/wrappl.as: Likewise.
4429 2002-06-12 Paul Eggert <eggert@twinsun.com>
4431 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4432 name, so that symlinks to 'autoconf' work properly. Bug reported
4434 * bin/autoheader.in (AUTOM4TE): Likewise.
4435 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4436 * bin/autoscan.in (autom4te): Likewise.
4437 * bin/autoupdate.in (autom4te): Likewise.
4439 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4440 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4443 2002-06-11 Andreas Schwab <schwab@suse.de>
4445 * doc/autoconf.texi: Add more dir entries.
4447 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4449 * bin/autom4te.in ($cache): Don't define using `$me', the name
4450 of the cache should not depend on the name under which autom4te
4453 2002-06-07 Akim Demaille <akim@epita.fr>
4455 * tests/tools.at (autoconf: forbidden tokens, basic)
4456 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4457 words in autom4te.in.
4459 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4461 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4462 _AC_LANG_PROGRAM_C_F77_HOOKS.
4464 2002-06-07 Akim Demaille <akim@epita.fr>
4466 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4468 (AC_REPLACE_FNMATCH): this.
4469 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4470 AC_FUNC_FNMATCH_GNU.
4472 2002-06-07 Akim Demaille <akim@epita.fr>
4474 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4475 Rosetta Stone for Unix.
4477 2002-06-07 Akim Demaille <akim@epita.fr>
4479 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4480 suggest m4_pattern_allow.
4481 Suggested by Adam J. Richter.
4483 2002-06-07 Akim Demaille <akim@epita.fr>
4485 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4486 ac_config_libobj_dir.
4487 (AC_CONFIG_LIBOBJ_DIR): New.
4488 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4489 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4490 Use ac_config_libobj_dir to find the replacement files.
4491 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4492 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4493 (AC_REPLACE_FNMATCH_GNU): these.
4494 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4495 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4496 * tests/mktests.sh (ac_exclude_list): Don't check
4497 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4499 2002-06-06 Paul Eggert <eggert@twinsun.com>
4501 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4504 * doc/autoconf.texi (Configuration Links): Likewise.
4505 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4507 2002-06-05 Paul Eggert <eggert@twinsun.com>
4509 * config/config.guess, config/config.sub, config/texinfo.tex:
4510 Update from masters.
4512 2002-05-29 Paul Eggert <eggert@twinsun.com>
4514 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4515 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4516 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4518 * lib/autoconf/Makefile.am (check-local): Likewise.
4519 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4520 * lib/autoconf/types.m4 (commentary only): Likewise.
4521 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4522 * lib/autotest/Makefile.am (check-local): Likewise.
4523 * lib/m4sugar/Makefile.am (check-local): Likewise.
4524 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4525 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4527 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4528 * doc/autoconf.texi (Particular Programs): Document them.
4529 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4532 2002-05-27 Paul Eggert <eggert@twinsun.com>
4534 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4535 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4536 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4537 instead of AC_MBSTATE_T, which never existed.
4539 2002-05-23 Akim Demaille <akim@epita.fr>
4541 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4542 version of Autoconf that is discussed.
4544 2002-05-22 Paul Eggert <eggert@twinsun.com>
4546 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4547 from the default list of compilers to try. Suggested by
4549 * NEWS: Document the above.
4550 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4552 2002-05-17 Paul Eggert <eggert@twinsun.com>
4554 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4555 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4556 This improves on an earlier suggestion by H. Peter Anvin.
4558 2002-05-16 Paul Eggert <eggert@twinsun.com>
4560 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4561 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4562 Both macros now accept an optional source-dir arg.
4563 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4565 * NEWS: Document this.
4566 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4568 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4569 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4570 not for GNU extensions; this undoes part of the 2000-11-03 change,
4571 reverting to 2.13-compatible behavior.
4572 Add new optional argument DIR.
4573 (AC_FUNC_FNMATCH_GNU): New macro.
4575 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4577 2002-05-08 Paul Eggert <eggert@twinsun.com>
4579 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4580 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4581 and it causes a 'test' syntax error if it fails.
4582 Bug reported by Stephen Gildea.
4584 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4585 If prototypes are supported, use them to check this at compile-time,
4586 instead of trying to check it at run-time. If we must do a run-time
4587 check, assume that setvbuf is standard when cross-compiling, as
4588 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4589 Bug reported by Paul D. Smith.
4591 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4592 argument specifying location of getloadavg.c. This removes a
4593 FIXME. This idea was taken from Jim Meyering's implementation in
4595 * doc/autoconf.texi (Particular Functions): Document this.
4596 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4597 that's what the code does; this fixes a bug reported by
4600 2002-05-03 Akim Demaille <akim@epita.fr>
4602 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4603 autopoint instead of gettextize.
4604 ($uses_alocal): Rename as...
4605 ($uses_aclocal): this.
4606 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4607 Suggested by Bruno Haible.
4609 2002-05-03 Akim Demaille <akim@epita.fr>
4611 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4613 2002-04-29 Paul Eggert <eggert@twinsun.com>
4615 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4616 files to be 1 second older; just set them to be the same time.
4617 Also, sleep 1 second after the first aclocal, to work around
4618 problems with sub-second time stamps on the input files.
4620 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
4622 * doc/autoconf.texi: Mention "set -e -x" lossage
4623 under node "Limitations of Builtins".
4625 2002-04-29 Akim Demaille <akim@epita.fr>
4627 * doc/install.texi: Better wording for setting variables when
4629 From Christian Cornelssen.
4631 2002-04-29 Akim Demaille <akim@epita.fr>
4633 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4634 of lack of $LINENO support, then the test will compare the $LINENO
4635 in testsuite vs. the lineno in the test file. This is wrong, of
4637 Be sure to protect it.
4638 Reported by Patrick Welche.
4640 2002-04-25 Akim Demaille <akim@epita.fr>
4642 * doc/autoconf.texi (Obsolete Macros): Typo.
4643 Reported by Vladimir Volovich.
4645 2002-04-25 Akim Demaille <akim@epita.fr>
4647 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4648 than some of the input files, hence, on the second run of aclocal,
4649 if some of its input are younger, make them older.
4650 Suggested by Paul Eggert.
4652 2002-04-25 Akim Demaille <akim@epita.fr>
4654 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4655 Thanks to Paul Eggert.
4657 2002-04-25 Akim Demaille <akim@epita.fr>
4659 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4660 and ac_subst_vars be sh variables containing the list of
4661 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
4663 (_AC_INIT_PREPARE): Use them to log them.
4664 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4665 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4666 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4667 _AC_SUBST_FILES and _AC_SUBST_VARS.
4668 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4670 2002-04-24 Akim Demaille <akim@epita.fr>
4672 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4673 autoheader, so that automake does not complain about a missing
4674 config.h.in that was to be created.
4676 2002-04-23 Akim Demaille <akim@epita.fr>
4678 * bin/autoheader.in (parse_args): --warning takes an argument.
4681 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
4683 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4684 and bb.out when cleaning up.
4686 2002-04-22 Akim Demaille <akim@epita.fr>
4690 2002-04-22 Akim Demaille <akim@epita.fr>
4692 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4694 2002-04-22 Akim Demaille <akim@epita.fr>
4696 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4698 Reported by Gregory Giannoni.
4700 2002-04-22 Akim Demaille <akim@epita.fr>
4702 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4703 Fixes false failures on Darwin.
4705 2002-04-21 Paul Eggert <eggert@twinsun.com>
4707 * TODO, bin/autoupdate.in, doc/autoconf.texi,
4708 lib/autoconf/general.m4, lib/autoconf/libs.m4,
4709 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4710 tests/tools.at: Minor spelling and grammar fixes.
4712 2002-04-20 Paul Eggert <eggert@twinsun.com>
4714 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4715 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
4716 * lib/autotest/general.m4 (AT_INIT): Likewise.
4717 * tests/atgeneral.m4 (AT_INIT): Likewise.
4719 2002-04-19 Paul Eggert <eggert@twinsun.com>
4721 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4722 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4723 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4724 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4725 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4726 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4727 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4728 Minor spelling and grammar fixes.
4730 * doc/autoconf.texi: Follow the outline suggested in the GNU
4731 Sample Texts sections of the Texinfo 4.2 manual. Most
4732 importantly, this makes sure that the copyright notices appear in
4733 all output formats. You probably need Texinfo 4.2 to generate
4736 Fix some bugs when using "$@" when there might be zero positional
4737 arguments in cases where this matters.
4739 * bin/autoconf.as: Rewrite so that the problem does not come up.
4740 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
4741 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
4742 * lib/autotest/general.m4 (AT_INIT): Likewise.
4744 * bin/autoheader.in: Use 'case' statement to work around problem.
4745 * bin/auto4mte.in: Likewise.
4746 * bin/autoreconf.in: Likewise.
4747 * bin/autoscan.in: Likewise.
4748 * bin/autoupdate.in: Likewise.
4749 * bin/ifnames.in: Likewise.
4751 * doc/autoconf.texi (Shell Substitutions): Document the problem.
4753 * lib/autotest/general.m4 (AT_INIT):
4754 Use Zsh alias to work around problem.
4755 * tests/atgeneral.m4 (AT_INIT): Likewise.
4757 * tests/c.at: We can't have zero arguments, so remove workaround
4758 that is not portable to Zsh.
4760 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4762 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
4763 from aclocal.m4 too.
4765 2002-04-12 Akim Demaille <akim@epita.fr>
4767 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
4769 2002-04-10 Akim Demaille <akim@epita.fr>
4771 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
4772 workaround for ${1+"$@"}.
4773 * doc/autoconf.texi (Shell Substitutions): Explain it.
4774 From Oliver Kiddle and Peter Stephenson.
4776 Have M4sh perform minimal shell sanitizing.
4778 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
4780 (_AS_PREPARE): this new macro.
4782 (AS_INIT): Invoke AS_SHELL_SANITIZE.
4783 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
4785 Adjust Autoconf and Autotest.
4787 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
4788 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
4789 * lib/autotest/general.m4 (AT_INIT): Likewise.
4790 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4791 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
4794 Use this M4sh to generate Autoconf's shell scripts.
4796 * tests/wrapsh.as: New, precursor of wrapsh.in.
4797 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
4798 on Autotest and M4sh.
4799 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
4800 (wrapsh.in): New target.
4801 * bin/autoconf.as: New, precursor of autoconf.in.
4802 (autoconf.in): New target.
4804 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4806 * doc/autoconf.texi (Limitations of Make): Mention the issue
4807 with indented comments in rules.
4809 2002-04-09 Andreas Schwab <schwab@suse.de>
4811 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
4812 ac_top_builddir when setting ac_abs_top_builddir.
4814 2002-04-06 Kevin Ryde <user42@zip.com.au>
4816 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
4817 (Portable Shell): Cross reference to Systemology.
4819 2002-04-05 Akim Demaille <akim@epita.fr>
4821 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
4822 directories when descending in a SUBDIRS.
4823 Reported by Ezra Peisach.
4825 2002-04-04 Andreas Schwab <schwab@suse.de>
4827 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
4828 contains no literal separators.
4830 2002-04-03 Akim Demaille <akim@epita.fr>
4832 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
4833 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
4834 Use dnl, not the KILL diversion.
4836 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
4837 (AC_CONFIG_LINKS): here.
4839 Don't use the KILL diversion, as it kills spurious output, which
4840 results in failures being hidden.
4841 Use m4_defn where appropriate.
4842 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
4843 after the second argument.
4845 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
4846 syntax, as it is provided by M4sugar.
4847 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
4849 2002-04-03 Andreas Schwab <schwab@suse.de>
4851 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
4852 expanded if $# <= 2.
4854 * bin/autoreconf.in (autoreconf): Run automake after rerunning
4857 2002-04-03 Akim Demaille <akim@epita.fr>
4859 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
4860 (_AC_COMPILER_EXEEXT_REJECT): New.
4861 Also recognize *.bb and *.bbg as compilation byproducts.
4862 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
4863 (_AC_COMPILER_OBJEXT): Use them.
4864 Fixes Debian #138666.
4866 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
4868 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
4870 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
4871 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
4872 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
4873 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
4875 (AC_C_INLINE): Same.
4876 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
4877 * doc/autoconf.texi, NEWS: Document.
4878 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
4881 2002-04-02 Akim Demaille <akim@epita.fr>
4883 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
4884 _AS_MKDIR_P_PREPARE.
4886 2002-03-28 Kevin Ryde <user42@zip.com.au>
4888 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
4889 to avoid versions of HP C which don't allow that.
4891 2002-03-27 Paul Eggert <eggert@twinsun.com>
4893 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
4894 (AS_SHELL_SANITIZE): Invoke it.
4895 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
4897 2002-03-26 Akim Demaille <akim@epita.fr>
4899 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
4901 2002-03-26 Akim Demaille <akim@epita.fr>
4903 * doc/autoconf.texi (Introduction): The GNATS base moved.
4905 2002-03-25 Paul Eggert <eggert@twinsun.com>
4907 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
4908 as POSIX requires, as it doesn't work with Zsh.
4909 * doc/autoconf.texi (Assignments): Document the problem.
4911 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4913 * doc/autoconf.texi (Limitations of Make): Mention more issue
4914 about VPATH, overriding of macros in sub-makes, and handling of
4917 2002-03-21 Paul Eggert <eggert@twinsun.com>
4919 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
4920 problem with here-document buffer boundaries.
4922 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
4923 when reinvoking the shell, to work around problems with installers
4924 who put strange things like "cd" commands in their environments.
4926 2002-03-19 Akim Demaille <akim@epita.fr>
4928 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
4931 2002-03-19 Akim Demaille <akim@epita.fr>
4933 * bin/autoscan.in (scan_file): Specify the location in `&used'
4937 2002-03-19 Akim Demaille <akim@epita.fr>
4939 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
4940 From Nishio Futoshi.
4942 2002-03-19 Akim Demaille <akim@epita.fr>
4944 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
4946 2002-03-18 Paul Eggert <eggert@twinsun.com>
4948 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
4949 (Limitations of Usual Tools): Add mkdir section.
4951 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
4952 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
4953 back on AS_DIRNAME to compute prefixes otherwise; this is
4954 roughly what mkinstalldirs does. That way, we need not have
4955 our own filename disassembler. The old disassembler did not
4956 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
4958 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
4959 Create at_test_all by a series of assignments,
4960 not by a single assignment of a long string. The latter causes ksh
4961 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
4962 presumably because of a buffer overrun.
4964 2002-03-14 Paul Eggert <eggert@twinsun.com>
4966 * lib/autotest/general.m4 (at_times_skip):
4967 Renamed from at_times. Now a boolean.
4968 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
4969 says 'times: not found'.
4971 2002-03-14 Akim Demaille <akim@epita.fr>
4973 * bin/autoreconf.in (&study_gettextize): New.
4974 (&autoreconf): Handle newest gettextize.
4975 Rerun aclocal if needed.
4976 Suggested by Andreas Schwab.
4978 2002-03-13 Akim Demaille <akim@epita.fr>
4980 * doc/autoconf.texi (Special Shell Variables): More about IFS.
4982 2002-03-13 Akim Demaille <akim@epita.fr>
4984 * doc/autoconf.texi (Header Portability): New.
4985 Add information about stdint.h and inttypes.h from Paul Eggert.
4987 2002-03-13 Akim Demaille <akim@epita.fr>
4989 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
4993 2002-03-12 Akim Demaille <akim@epita.fr>
4995 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
4998 2002-03-11 Andreas Schwab <schwab@suse.de>
5000 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5001 does not do it if --with-lispdir is given.
5003 2002-03-08 Akim Demaille <akim@epita.fr>
5007 2002-03-08 Akim Demaille <akim@epita.fr>
5009 * doc/autoconf.texi (Subdirectories): Clarify that the
5010 subdirectory should exist.
5012 2002-03-08 Akim Demaille <akim@epita.fr>
5014 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5016 2002-03-08 Akim Demaille <akim@epita.fr>
5018 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5019 aliases the actual variables, and modifications of the former
5022 2002-03-08 Akim Demaille <akim@epita.fr>
5024 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5025 because of C-c: have m4 output in tmp files, then mv them.
5027 2002-03-08 Akim Demaille <akim@epita.fr>
5029 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5030 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5031 * bin/ifnames.in: Copyright update.
5033 2002-03-08 Akim Demaille <akim@epita.fr>
5035 * doc/autoconf.texi (Invoking autom4te): New.
5037 2002-03-05 Akim Demaille <akim@epita.fr>
5039 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5042 2002-03-05 Akim Demaille <akim@epita.fr>
5046 2002-03-04 Akim Demaille <akim@epita.fr>
5048 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5049 * lib/autoconf/general.m4 (AC_INIT): More informative error
5052 2002-03-04 Akim Demaille <akim@epita.fr>
5054 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5057 2002-03-04 Akim Demaille <akim@epita.fr>
5059 * doc/autoconf.texi (Transforming Names): Equality between target
5060 and host is irrelevant.
5061 (Specifying Names, Canonicalizing): Remove all references to the
5062 backward compatibility hooks. Rather, collect them all into...
5063 (Hosts and Cross-Compilation): this new section.
5064 * doc/install.texi (System Type): Ditto.
5065 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5066 that `--host' implies cross-compilation.
5068 2002-03-04 Akim Demaille <akim@epita.fr>
5070 * doc/autoconf.texi (Evaluation Macros): New.
5071 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5073 (_m4_foreach): Define the variant with immediate evaluation so
5074 that it contains exactly the items, not an expression which
5075 evaluation is the current item.
5076 (m4_re_string, m4_re_word): Don't over quote them.
5078 2002-03-04 Akim Demaille <akim@epita.fr>
5080 Instead of having stacking `shift's evaluated at the end, let
5081 `foreach' loops immediately evaluate them.
5083 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5084 $*. This is the n-th time I change my mind, but hopefully this is
5087 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5089 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5090 it was only a hack for m4_text_wrap.
5091 (m4_car2): Remove, replaced by...
5093 (_m4_foreach): Adjust.
5094 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5095 m4_bpatsubst for clarification.
5097 2002-03-04 Akim Demaille <akim@epita.fr>
5099 * doc/autoconf.texi (Changequote is Evil): New.
5101 2002-03-03 Kevin Ryde <user42@zip.com.au>
5103 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5104 on old systems like SunOS.
5106 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5108 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5109 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5110 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5111 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5114 2002-02-28 Akim Demaille <akim@epita.fr>
5116 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5119 2002-02-28 Kevin Ryde <user42@zip.com.au>
5121 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5123 2002-02-25 Akim Demaille <akim@epita.fr>
5125 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5128 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5130 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5131 translate \r\n to \n.
5133 2002-02-07 Akim Demaille <akim@epita.fr>
5137 2002-02-07 Akim Demaille <akim@epita.fr>
5139 Fix Autoconf PR/209.
5140 Also reported by Frank Denis.
5142 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5144 2002-02-07 Akim Demaille <akim@epita.fr>
5146 Fix Autoconf PR/207:
5147 AC_PREFIX_PROGRAM fails with dashed program names
5149 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5150 variable when looking for the prefix program.
5151 Now it also works for shell variables.
5153 2002-02-07 Akim Demaille <akim@epita.fr>
5155 * doc/autoconf.texi (Limitations of Builtins): More about
5158 2002-02-06 Akim Demaille <akim@epita.fr>
5160 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5161 case/esac, some shells don't support it.
5162 Reported by Zack Weinberg.
5163 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5165 2002-02-06 Akim Demaille <akim@epita.fr>
5167 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5168 sure not to introduce newlines in at_groups.
5169 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5171 2002-02-06 Akim Demaille <akim@epita.fr>
5173 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5176 2002-02-05 Paul Eggert <eggert@twinsun.com>
5178 * doc/autoconf.texi (Specific Compiler Characteristics):
5179 Describe HP-UX cc bug workaround more accurately.
5180 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5182 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5183 cross-compilers, too. This undoes some of the most recent change
5186 2002-02-05 Akim Demaille <akim@epita.fr>
5188 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5189 to make sure they are up to date when `check' is run.
5191 2002-02-05 Akim Demaille <akim@epita.fr>
5193 * doc/autoconf.texi (Making testsuite Scripts): Document
5196 2002-02-05 Akim Demaille <akim@epita.fr>
5198 * lib/freeze.mk: New.
5200 2002-02-05 Akim Demaille <akim@epita.fr>
5202 Implement `autom4te --freeze'.
5204 * bin/autom4te.in (&freeze): New.
5205 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5206 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5208 2002-02-05 Akim Demaille <akim@epita.fr>
5210 * bin/autom4te.in (&parse_args): Implement `frozen files are
5211 optional are the sum of the previous files on the command line'.
5212 Also, pass `--reload-state=' on them, so...
5214 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5215 (M4sh): Rely on M4sugar.
5216 (Autotest, M4sh, M4sugar): Use frozen files.
5218 2002-01-31 Akim Demaille <akim@epita.fr>
5220 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5221 * doc/autoconf.texi (Initializing configure): Adjust.
5223 2002-01-30 Akim Demaille <akim@epita.fr>
5225 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5226 alphanumeric to `-' instead of `_'.
5228 2002-01-30 Akim Demaille <akim@epita.fr>
5230 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5231 for plain code, the other for cross-compilation code. The latter
5232 is now run with GCC only.
5233 * doc/autoconf.texi (Compilers and Preprocessors): New.
5235 2002-01-30 Akim Demaille <akim@epita.fr>
5237 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5239 * doc/autoconf.texi (Initializing configure): Explain how to
5240 change AC_INIT default values.
5242 2002-01-29 Akim Demaille <akim@epita.fr>
5244 * tests/torture.at (Configuring subdirectories): Use configure.in,
5245 so that aclocal 1.4 works.
5246 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5248 2002-01-28 Akim Demaille <akim@epita.fr>
5250 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5253 2002-01-28 Akim Demaille <akim@epita.fr>
5255 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5256 AUTOTEST_PATH *after* it was set.
5257 Don't put `.' in the PATH: the user should be precise and `./' if
5258 needed. In addition, given that the test suite does some `cd', if
5259 `.' is in the path, the `tested programs' sections will report
5260 programs found in the test suite's directory, while during the
5261 tests (performed in their own directory), these programs are no
5262 longer visible. In other words, the results is confusing and
5264 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5266 2002-01-24 Akim Demaille <akim@epita.fr>
5270 2002-01-24 Akim Demaille <akim@epita.fr>
5272 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5273 * doc/autoconf.texi: Finally add Akim as an author.
5275 2002-01-24 Akim Demaille <akim@epita.fr>
5277 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5278 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5279 Bourne. Use /bin/sh.
5280 From Andreas Buening.
5282 2002-01-24 Akim Demaille <akim@epita.fr>
5284 * config/config.guess, config/config.sub, config/texinfo.tex:
5285 Update from masters.
5287 2002-01-24 Akim Demaille <akim@epita.fr>
5289 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5290 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5291 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5292 * config/missing.m4, config/sanity.m4, config/select.m4,
5293 * config/strip.m4: Remove, to ease sync'ing with any version of
5296 2002-01-24 Akim Demaille <akim@epita.fr>
5298 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5299 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5300 Reported by Geir Ove Myhr.
5302 2002-01-21 Akim Demaille <akim@epita.fr>
5304 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5306 2002-01-21 Akim Demaille <akim@epita.fr>
5308 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5309 message on invalid options.
5310 * bin/autom4te.in (parse_args): Don't use
5311 Autoconf::General::getopt with non valid options.
5313 2002-01-17 Jim Meyering <meyering@lucent.com>
5315 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5316 $ac_cv_exeext so we don't use an old, invalid, cached value.
5318 2002-01-11 Akim Demaille <akim@epita.fr>
5320 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5322 * doc/autoconf.texi (Function Portability): Document the strnlen
5324 (Particular Functions): Document AC_FUNC_STRNLEN.
5325 * lib/autoscan/functions: Adjust.
5327 2002-01-06 Akim Demaille <akim@epita.fr>
5329 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5330 package.m4, since is really depends upon configure.ac, not
5332 * doc/autoconf.texi (testsuite Scripts): Adjust.
5333 * tests/Makefile.am (package.m4): New.
5334 EXTRA_DIST it since its a source.
5336 2002-01-06 Akim Demaille <akim@epita.fr>
5338 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5339 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5340 and PACKAGE_BUGREPORT from here...
5341 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5343 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5344 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5345 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5346 * tests/tools.at (autoheader): Adjust.
5347 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5349 2002-01-06 Akim Demaille <akim@epita.fr>
5351 * bin/autoscan.in (scan_file): Use `&used'.
5353 2002-01-03 Akim Demaille <akim@epita.fr>
5355 * doc/autoconf.texi (Output): Improved wording regarding use of
5359 2001-12-18 Kevin Ryde <user42@zip.com.au>
5361 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5362 sometimes needing writable input.
5364 2001-12-17 Jim Meyering <meyering@lucent.com>
5366 * doc/autoconf.texi (New Macros): Tweak wording.
5368 2001-12-14 Akim Demaille <akim@epita.fr>
5370 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5371 trailing files, don't apply `-rf' to files which might not be
5372 created by configure (core, core.*, and *.core), but just `rm -f'.
5373 Suggested by Jonathan Kamens.
5375 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5377 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5379 2001-12-14 Akim Demaille <akim@epita.fr>
5381 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5383 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5385 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5386 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5387 abs_srcdir, top_srcpath to abs_top_srcdir.
5388 (_AC_OUTPUT_FILES): Adjust.
5389 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5390 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5391 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5393 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5395 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5396 C/Fortran linking on HP/UX, by extracting the Fortran library
5397 search path from the LPATH line in the $F77 -v output.
5399 2001-12-12 Kevin Ryde <user42@zip.com.au>
5401 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5402 forbidden file descriptors table.
5404 2001-11-26 Akim Demaille <akim@epita.fr>
5406 * bin/autoscan.in (%c_keywords): Build it at top level.
5407 Map to 1 in order to simplify its uses.
5409 2001-11-26 Akim Demaille <akim@epita.fr>
5411 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5412 Remove $filepath, useless.
5413 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5414 variables, they are really part of the tokens.
5415 Split the input line on spaces and then look for tokens.
5416 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5417 because of `lex$U.$(OBJEXT)'.
5418 (&scan_files): Use "@list" instead of join.
5419 * doc/Makefile.am (CLEANFILES): Add *.fns.
5421 2001-11-26 Akim Demaille <akim@epita.fr>
5423 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5424 Remove, replaced by...
5425 * tests/wrappl.in: Be common for all the Perl executables.
5426 In particular autoscan and autoheader want -I.
5427 * configure.ac: Adjust.
5428 * lib/autoscan/headers: errno.h is portable.
5430 2001-11-26 Akim Demaille <akim@epita.fr>
5432 * bin/autoscan.in (used): New.
5435 2001-11-26 Akim Demaille <akim@epita.fr>
5437 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5439 (&scan_sh_file): Remove a duplicate pattern.
5440 (&check_configure_ac): Use long options.
5441 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5443 2001-11-26 Akim Demaille <akim@epita.fr>
5445 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5446 Before, having a line containing the opening of a multi line
5447 comment made the whole line be ignored.
5449 2001-11-26 Akim Demaille <akim@epita.fr>
5451 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5452 (testsuite Scripts): Be one of its subsection.
5453 (Autotest Logs): New.
5455 2001-11-26 Akim Demaille <akim@epita.fr>
5457 Test groups are now run two directories deeper.
5459 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5460 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5462 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5463 top_srcdir, builddir and top_builddir.
5464 Use `at_*dir' relatively to the directory containing the
5465 suite, use `*dir' when relatively to the current group dir.
5467 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5469 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5470 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5471 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5474 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5476 * doc/autoconf.texi (Using System Type): Add an example of `case
5477 $host' usage so people quit using `case $target' everywhere.
5479 2001-11-22 Akim Demaille <akim@epita.fr>
5481 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5482 spotted by Jim Meyering.
5484 2001-11-16 Paul Eggert <eggert@twinsun.com>
5486 This patch implements a `long double' suggestion by Oliver Kiddle.
5488 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5489 static, to catch errors if the value isn't known at compile-time
5490 and the compiler supports dynamic arrays. Change its name from
5491 `_array_' to `test_array' to avoid potential name clashes.
5492 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5493 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5494 better than double. Catch a bug in GCC 2.95.2 x86.
5495 * doc/autoconf.texi (C Compiler): Document the above.
5498 2001-11-13 Akim Demaille <akim@epita.fr>
5500 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5502 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5504 2001-11-13 Akim Demaille <akim@epita.fr>
5506 * lib/autotest/general.m4 (AT_INIT): After having run the test
5507 group, go back to the initial directory, not to at_suite_dir.
5509 2001-11-13 Akim Demaille <akim@epita.fr>
5511 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5512 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5513 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5515 (AT_CHECK_CONFIGURE): Use absolute paths.
5516 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5517 The problem is still the old one: there is no means in M4 (that I
5518 know about) to create a defining macro, because there is no means
5519 to create `$1' etc., therefore, the defining macro ``swallows''
5520 all the arguments meant to the defined macro.
5522 2001-11-13 Akim Demaille <akim@epita.fr>
5524 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5525 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5527 * tests/aclocal.m4: Remove, as it is no longer used.
5529 2001-11-13 Akim Demaille <akim@epita.fr>
5531 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5532 variable names when referring to a single test group, or to
5533 `suite' when referring to the whole test suite.
5534 `at_last_test' is removed: m4 compute at_format itself.
5535 (at_stdout, at_stder1, at_stderr): New variables.
5536 (AT_CHECK): Use them.
5538 2001-11-13 Akim Demaille <akim@epita.fr>
5540 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5542 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5543 Do it as soon as a test fails, don't wait till the end of the test
5545 Don't remove $as_me.[0-9]*, since these files no longer exist.
5547 2001-11-13 Akim Demaille <akim@epita.fr>
5549 * tests/tools.at: Use absolute paths, since we are no longer run
5552 2001-11-13 Akim Demaille <akim@epita.fr>
5554 Now that tests are running in their own private dir, there is no
5555 need to list the files to remove at the end of tests groups.
5557 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5558 (AT_data_files, at_data_files): Remove.
5559 (AT_CLEANUP, AT_DATA): Simplify.
5561 Remove the group dir if !debug && !failed.
5562 * tests/atspecific.m4: Adjust.
5564 2001-11-13 Akim Demaille <akim@epita.fr>
5566 Start a new layout for Autotest: `testsuite' creates
5567 `testsuite.dir' in which the at-check-line etc. files are to be
5568 found, and `testsuite.dir/003' where the test group 3 is run.
5570 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5571 at_check_line_file, at_format, at_test_normalized, at_group_dir
5573 Create the directories.
5574 Use absolute paths for at- files.
5577 2001-11-11 Michael Matz <matz@kde.org>
5579 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5581 (m4_car): Properly quote arguments.
5583 2001-11-13 Akim Demaille <akim@epita.fr>
5585 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5586 with stricter rules on LIBOBJS.
5588 2001-11-12 Paul Eggert <eggert@twinsun.com>
5590 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5591 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5594 2001-11-12 Akim Demaille <akim@epita.fr>
5596 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5598 2001-11-12 Akim Demaille <akim@epita.fr>
5600 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5601 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5602 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5603 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5604 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5605 specify to what the macro should be defined (typically to 1).
5607 2001-11-12 Akim Demaille <akim@epita.fr>
5609 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5612 2001-11-12 Akim Demaille <akim@epita.fr>
5614 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5615 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
5616 definition used by Automake where LEX is +/- "${missing} lex" and
5617 `missing' itself contains variables.
5619 2001-11-12 Akim Demaille <akim@epita.fr>
5621 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5622 Now that M4sh pushes BODY, the comments were output at the end of
5625 2001-11-08 Akim Demaille <akim@epita.fr>
5627 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5628 that we can trace macros from aclocal.m4.
5629 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5630 obsoleted, and redirect to the former anyway.
5631 Reported by Ralf Corsepius.
5633 2001-11-08 Akim Demaille <akim@epita.fr>
5635 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5636 processed only if present.
5637 * tests/torture.at (Configuring subdirectories): Use autoreconf
5638 instead of successive calls to autoconf.
5639 Add a nonexistent subdirectory to exercise the patch above.
5640 Reported by Ralf Corsepius.
5642 2001-11-08 Kevin Ryde <user42@zip.com.au>
5644 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5645 doesn't accept .S files.
5647 2001-11-07 Akim Demaille <akim@epita.fr>
5649 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5650 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5651 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5652 * bin/autom4te.in (warn_forbidden): New.
5653 (handle_output): Use it.
5654 Read m4_pattern_forbid with messages.
5656 2001-11-05 Akim Demaille <akim@epita.fr>
5658 * bin/autom4te.in (--normalize): Remove.
5659 * lib/autom4te.in: Adjust.
5661 2001-11-05 Akim Demaille <akim@epita.fr>
5663 * tests/Makefile.am (testsuite): Rename this target as...
5664 ($(TESTSUITE)): this.
5667 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
5669 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5670 the --prefix option, also remove it's argument.
5672 2001-11-05 Akim Demaille <akim@epita.fr>
5674 * doc/autoconf.texi (testsuite Invocation): Update.
5675 (Writing testsuite.at): Update.
5677 2001-11-03 Akim Demaille <akim@epita.fr>
5679 * doc/autoconf.texi: s/@code/@command/ where appropriate.
5681 2001-11-03 Akim Demaille <akim@epita.fr>
5683 * lib/Autom4te/General.pm: (&catfile, &canonfile)
5684 (&file_name_is_absolute): New, wrappers around routines from
5686 Use and export them.
5687 (&find_configure_ac): Optionally take a directory where to look at.
5688 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5690 Default @ARGV to `.', not find_configure_ac.
5691 (&autoreconf): Argument is a directory.
5692 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5693 * doc/autoconf.texi (autoreconf Invocation): Update.
5695 2001-11-03 Akim Demaille <akim@epita.fr>
5697 * lib/Autom4te/General.pm (@export_vars, @export_subs)
5698 (@export_forward_subs): New.
5699 Add basename, dirname, and fileparse.
5701 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5702 Don't look for aclocal flags if we already know aclocal is not
5704 Move aclocal.m4t only if it exists.
5705 Reported by Ezra Peisach.
5707 2001-11-03 Akim Demaille <akim@epita.fr>
5709 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5710 passed on command line, defaulting to ./configure.ac if present.
5711 (&maybe_autoreconf, File::Find): Remove, unused.
5712 (&autoreconf): If autoconf is not used, don't try to trace.
5714 2001-11-02 Akim Demaille <akim@epita.fr>
5716 * configure.ac: Bump to 2.52g.
5718 2001-11-02 Akim Demaille <akim@epita.fr>
5722 2001-11-02 Akim Demaille <akim@epita.fr>
5724 * config/config.guess, config/config.sub, doc/standards.texi:
5725 * config/lispdir.m4: Update from masters.
5726 * configure.ac: Bump to 2.52f.
5728 2001-11-02 Akim Demaille <akim@epita.fr>
5730 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5731 Don't run aclocal when aclocal.m4 is not from aclocal.
5733 Don't run libtoolize and gettextize if --install is not given.
5735 2001-11-01 Paul Eggert <eggert@twinsun.com>
5737 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
5738 be invoked before _AS_LINENO_PREPARE.
5739 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
5740 than character ranges.
5742 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
5743 invoking AS_BASENAME. Set the locale variables to 'C' if
5744 possible, as POSIX requires this to get the traditional
5746 * doc/autoconf.texi (Special Shell Variables): Describe the above.
5748 2001-10-31 Paul Eggert <eggert@twinsun.com>
5750 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
5751 with {}, as that triggers a bug in Bash 2.05.
5753 (_AS_LINENO_PREPARE): Use Sed rather than
5754 Awk. Fix the sed prepass to work even if there are multiple
5755 instances of $LINENO on the same line. Do not substitute for
5756 other variables like $LINENOT. Do not check file dates; such a
5757 check is unreliable on sufficiently fast machines, and removing
5758 the check makes the code simpler and more reliable. Check for
5759 output and chmod failures.
5761 * doc/autoconf.texi (Special Shell Variables): Document
5764 2001-10-31 Akim Demaille <akim@epita.fr>
5766 * tests/Makefile.am (atconfig): Remove this target, Automake
5769 2001-10-31 Akim Demaille <akim@epita.fr>
5771 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
5772 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
5773 provided, while it is optional.
5774 * configure.ac: Adjust.
5776 2001-10-26 Paul Eggert <eggert@twinsun.com>
5778 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
5779 lib/Autom4te/Struct.pm:
5780 Require Perl 5.005_03 instead of just 5.005, as some tests fail
5783 * doc/autoconf.texi (Special Shell Variables): Document some
5784 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
5786 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
5787 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
5788 eval $LINENO is not portable in practice.
5790 2001-10-24 Akim Demaille <akim@epita.fr>
5792 * lib/Autom4te/General.pm (backname): New.
5794 2001-10-24 Akim Demaille <akim@epita.fr>
5796 * m4/: Remove, merged into...
5799 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
5801 * doc/autoconf.texi (Shellology): Mention the problems with bash
5802 2.05's use of ANSI quoting in its `set' builtin.
5804 2001-10-22 Paul Eggert <eggert@twinsun.com>
5806 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
5807 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
5808 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
5809 POSIX decided to standardize on the int flavor of strerror_r.
5810 Always do char* test, as there's no reason not to.
5811 Assign to a char* var, to catch strerror_r that returns int*.
5813 * doc/autoconf.texi (Particular Functions):
5814 Document the above changes. Also, document the fact that
5815 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
5817 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
5819 2001-10-20 Akim Demaille <akim@epita.fr>
5821 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
5822 the executable was missing from the log.
5824 2001-10-20 Akim Demaille <akim@epita.fr>
5826 * lib/Autom4te/General.pm (&update_file): If destination is
5827 unchanged, remove the source.
5828 (&up_to_date_p): Don't be verbose, be debug.
5829 * bin/autoreconf.in: No longer support --m4dir.
5830 (&autoreconf): Display the full path of the configure.ac we are
5833 Be sure to honor --force with gettextize.
5835 * doc/autoconf.texi: Adjust.
5837 2001-10-20 Akim Demaille <akim@epita.fr>
5839 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
5841 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
5842 `intl' is already present, as it refuses unless --force.
5843 (&parse_args): Use -I, --include instead of the old Autoconf
5845 ($localdir, $autoconf_dir): Remove.
5847 (&maybe_autoreconf): New, to preserve $_ for File::Find.
5849 2001-10-19 Jens Petersen <petersen@redhat.com>
5851 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
5852 * doc/autoconf.texi (Particular Programs): Likewise.
5854 2001-10-19 Akim Demaille <akim@epita.fr>
5856 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
5857 file in @configure_input@.
5858 Don't mention `automatically' in addition to `generated'.
5859 * tests/torture.at (#define header templates): Adjust.
5861 2001-10-19 Akim Demaille <akim@epita.fr>
5863 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
5864 comment, explain how to install automatic mode selection.
5867 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
5869 * bin/autoreconf.in (autoreconf): Display the path to the
5870 configure.ac being studied.
5872 2001-10-18 Paul Eggert <eggert@twinsun.com>
5874 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
5875 long, to work around a bug in the HP C compiler version HP92453-01
5878 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
5879 (AS_BASENAME_EXPR): New macro.
5880 (AS_BASENAME_SED): Do not assume GNU sed semantics.
5881 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
5882 and fall back on 'sed' only if the other two fail. This makes
5883 AS_BASENAME act more like AS_DIRNAME.
5884 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
5885 contains white space.
5886 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
5887 Use AS_DIRNAME, since I think it's now DOS-friendly.
5888 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
5889 Allow "dirname //FOO" to return either / or //, as POSIX allows
5892 2001-10-10 Akim Demaille <akim@epita.fr>
5894 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
5895 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
5898 2001-10-10 Akim Demaille <akim@epita.fr>
5900 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
5902 (_AS_ECHO_N): AS_REQUIREs it.
5904 2001-10-10 Akim Demaille <akim@epita.fr>
5906 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
5907 (AC_INCLUDES_DEFAULT): Move to...
5908 * lib/autoconf/headers.m4: here.
5909 * lib/autoconf/types.m4: Comment changes.
5910 * doc/autoconf.texi: Specify where the default includes are used
5911 in the macro prototypes.
5913 2001-10-09 Akim Demaille <akim@epita.fr>
5915 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
5918 2001-10-08 Akim Demaille <akim@epita.fr>
5920 * bin/autoreconf.in (&autoreconf): Remove debugging code.
5921 (&parse_args): Pass verbosity/debugging options to subtools when
5922 --debug, not when --verbose.
5923 * lib/autom4te.in (Autoreconf-preselections): New.
5926 2001-10-08 Akim Demaille <akim@epita.fr>
5928 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
5930 2001-10-08 Akim Demaille <akim@epita.fr>
5932 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5933 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
5935 2001-10-08 Akim Demaille <akim@epita.fr>
5937 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
5938 (Syntax of the shell scripts): Don't.
5939 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
5940 bother with $force since...
5941 * lib/Autom4te/General.pm: does.
5943 2001-10-08 Akim Demaille <akim@epita.fr>
5945 * bin/autoreconf.in: Rewrite in Perl.
5946 * configure.ac: Adjust.
5947 * lib/Autom4te/General.pm (&up_to_date_p): New.
5948 * bin/autom4te.in (&up_to_date_p): Use it.
5950 (&up_to_date): this.
5952 2001-10-08 Akim Demaille <akim@epita.fr>
5954 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
5955 (m4_list_cmp): Use $0 to reinvoke yourself.
5956 (m4_patsubsts): New.
5957 (m4_strip, m4_version_unletter): Use it.
5958 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
5960 2001-10-08 Akim Demaille <akim@epita.fr>
5962 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
5963 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
5964 * lib/autoconf/types.m4, lib/autotest/general.m4,
5965 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
5966 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
5967 m4_bregexp, m4_bpatsubst, and m4_bmatch.
5968 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
5970 2001-10-08 Akim Demaille <akim@epita.fr>
5972 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
5974 2001-10-08 Akim Demaille <akim@epita.fr>
5976 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
5977 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
5978 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
5979 * tests/tools.at, tests/m4sh.at: Use it.
5980 * tests/m4sh.at: Don't rely on Autoconf macros.
5981 (DIRNAME_TEST): Also exercise the expr variant.
5982 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
5983 preferred M4sugar extension is now `.4s'.
5984 * tests/README: Remove.
5986 2001-10-08 Akim Demaille <akim@epita.fr>
5988 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
5989 (m4_provide_if): this.
5990 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
5991 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
5992 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
5993 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
5995 2001-10-08 Akim Demaille <akim@epita.fr>
5997 Use `add-log-current-defun-function' for ChangeLog creation.
5998 Suggested by Tom Tromey.
6000 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6001 (autotest-mode): Adjust.
6002 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6003 'comment-region onto `C-c ;'.
6004 Comments are `#', not `dnl'.
6005 (autoconf-current-defun): New.
6006 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6008 2001-10-08 Akim Demaille <akim@epita.fr>
6010 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6011 * lib/m4sugar/m4sh.m4: here.
6012 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6013 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6014 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6015 include handle the m4_pattern_*, no longer push the
6016 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6017 * lib/autotest/general.m4 (AT_INIT): Likewise.
6018 * tests/base.at: Adjust the tests to use AS_INIT.
6019 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6020 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6023 2001-10-07 Paul Eggert <eggert@twinsun.com>
6025 * doc/autoconf.texi (config.status Invocation):
6026 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6028 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6029 shell does not support LINENO, and if CONFIG_SHELL is unset or
6030 empty, and if we can find a shell that does support LINENO,
6031 then set CONFIG_SHELL to that shell and then re-execute
6032 ourselves with CONFIG_SHELL.
6034 2001-10-05 Paul Eggert <eggert@twinsun.com>
6036 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6037 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6038 build of $(TESTSUITE).
6040 2001-10-05 Akim Demaille <akim@epita.fr>
6042 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6043 iff we are a bareword.
6044 Reported by Raja R Harinath.
6046 2001-10-05 Akim Demaille <akim@epita.fr>
6048 * tests/m4sh.at (LINENO): New.
6049 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6050 PATH_SEPARATOR before using it.
6051 Fix the absolute path case/esac pattern.
6052 Provide $0 as fallback for as_myself.
6053 Reported by Raja R Harinath.
6055 2001-10-05 Akim Demaille <akim@epita.fr>
6057 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6058 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6060 2001-10-05 Akim Demaille <akim@epita.fr>
6062 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6063 (AS_SHELL_SANITIZE): here. Use it.
6064 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6067 2001-10-04 Akim Demaille <akim@epita.fr>
6069 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6070 combination of Awk and sed to replace $LINENO.
6072 2001-10-02 Paul Eggert <eggert@twinsun.com>
6074 * doc/autoconf.texi (Limitations of Builtins): You can't use
6075 "source"; it's not portable. Remove confusing and
6076 somewhat-incorrect example involving "." and "/".
6078 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6079 compatibility with POSIX shells.
6081 2001-10-02 Akim Demaille <akim@epita.fr>
6083 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6084 instead of exec'ing to preserve $0 and $@.
6086 2001-10-01 Akim Demaille <akim@epita.fr>
6088 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6089 Don't run twice the same test.
6091 2001-10-01 Akim Demaille <akim@epita.fr>
6093 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6094 No longer output the list of tests.
6095 <--list>: New option.
6096 <--full-help>: Remove.
6097 Complete the short/long options duality.
6098 Various small adjustments.
6100 2001-10-01 Akim Demaille <akim@epita.fr>
6102 * doc/autoconf.texi: Use @kbd for user input.
6103 Always use `$' as shell prompt.
6105 2001-09-30 Paul Eggert <eggert@twinsun.com>
6107 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6108 Don't use nested parenthesization. This patch was originally
6109 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6110 but somehow it didn't get incorporated then.
6111 * doc/autoconf.texi (Limitations of Usual Tools):
6112 Clarify remark about sed and nested parenthesization.
6114 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6115 Report an error if the size cannot be determined even though
6117 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6118 Check for `expr' arithmetic overflow, and for compilation failure,
6119 and invoke a new argument $4 if either is discovered.
6120 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6121 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6123 2001-09-28 Akim Demaille <akim@epita.fr>
6125 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6126 * m4/lispdir.m4: New.
6127 * aclocal.m4, configure.ac: Adjust.
6129 2001-09-28 Akim Demaille <akim@epita.fr>
6131 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6133 (AT_INIT): More the wrapped section to where it will be expanded.
6134 Output `AT_tested' only when existing.
6135 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6137 2001-09-27 Akim Demaille <akim@epita.fr>
6139 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6140 generates too many bug reports.
6142 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6143 status when executing the ACTION-IF-FALSE.
6144 * tests/base.at (AC_TRY_*): Rename as...
6145 (AC_TRY_COMMAND): this.
6146 (AC_RUN_IFELSE): New.
6147 * tests/compile.at (Extensions, C keywords)
6148 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6149 (Broken/missing compilers, AC_PROG_CPP with warnings)
6150 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6151 * tests/c.at (Extensions, C keywords)
6152 (Broken/missing compilers, AC_PROG_CPP with warnings)
6153 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6154 (AC_PROG_CPP requires AC_PROG_CC): here and...
6155 * tests/fortran.at (GNU Fortran 77): there.
6156 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6157 AC_TRY_RUN is about compilation, not shell commands.
6158 (Test Programs): AC_TRY_RUN works as used to be advertised.
6160 2001-09-27 Akim Demaille <akim@epita.fr>
6162 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6164 Be sure to detect when $LINENO always returns the same value.
6165 Look for the original script, basename($0) is certainly not
6167 Pass the CLI arguments to `$as_me.lineno'.
6169 2001-09-25 Akim Demaille <akim@epita.fr>
6171 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6172 Be sure the close and reopen the LOG fd before and after using tee
6174 <at_tests_pattern>: Adjust to the new format of at_help_all.
6176 2001-09-23 Akim Demaille <akim@epita.fr>
6178 * bin/autom4te.in (parse_args): There can be several invocations
6181 2001-09-23 Akim Demaille <akim@epita.fr>
6183 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6185 2001-09-23 Akim Demaille <akim@epita.fr>
6187 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6188 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6189 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6190 builddir, buildpath, top_builddir, and top_buildpath.
6191 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6192 the current directory.
6193 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6194 variables *before* changing the current directory.
6195 Skip nonexistent dirs.
6196 * doc/autoconf.texi (Preset Output Variables): Document these
6199 * lib/autotest/general.m4: Do not reset AT_victims.
6200 Don't compute at_srcdir nor at_top_srcdir.
6202 * tests/tools.at: Hence use top_srcdir.
6204 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6205 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6207 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6208 * tests/wrapsh.in, tests/autoupdate.in: New.
6209 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6210 * configure.ac: Build the position independent wrappers.
6212 * man/Makefile.am: Now that test wrappers are position
6213 independent, use them and drop dark envvar magic.
6215 2001-09-23 Akim Demaille <akim@epita.fr>
6217 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6218 (Programming in M4sh): this.
6219 Promote to @section.
6221 2001-09-23 Akim Demaille <akim@epita.fr>
6223 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6224 Pass $at_debug_args to the rerun test suite.
6225 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6226 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6229 2001-09-23 Akim Demaille <akim@epita.fr>
6231 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6233 2001-09-23 Akim Demaille <akim@epita.fr>
6235 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6238 2001-09-23 Akim Demaille <akim@epita.fr>
6240 * lib/Autom4te/General.pm (&debug): New.
6241 * bin/autom4te.in ($language): Move to...
6243 Handle --language in languages.
6244 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6245 (Autoscan-selections): New.
6248 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6250 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6251 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6252 to match current versions from CVS Automake.
6254 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6256 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6259 2001-09-22 Akim Demaille <akim@epita.fr>
6261 * lib/autoconf/autotest.m4: Create `package.m4'.
6262 * tests/Makefile.am (package.m4): Remove.
6264 2001-09-22 Akim Demaille <akim@epita.fr>
6266 Rely on `$LINENO' when possible instead of `__oline__'.
6268 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6269 `$LINENO' support replacement when not supported.
6270 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6271 them explicitly to be sure they are not output before this section
6272 (via m4_require). Cosmetic only.
6273 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6274 * lib/autoconf/programs.m4: Replace all the occurrences of
6275 `__oline__' with `$LINENO'.
6276 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6278 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6280 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6281 character (u: -> ue) in a code comment.
6282 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6285 2001-09-21 Akim Demaille <akim@epita.fr>
6287 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6288 Suggested by Jim Meyering.
6290 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6292 * lib/autoconf/programs.m4: Use extensions listed in
6293 $ac_executable_extensions when looking for programs.
6295 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6297 * lib/autoconf/general.m4: Fix a small Englisho.
6298 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6299 setting up ac_dir_suffix and ac_top_builddir.
6300 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6302 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6304 * doc/autoconf.texi (File System Conventions): Clarify the use of
6306 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6307 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6308 be used instead of ':'.
6309 * lib/autotest/general.m4: Replace occurrences of ':' in
6310 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6312 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6314 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6315 arguments. Fixed a typo.
6317 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6319 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6320 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6322 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6324 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6325 * bin/autoupdate.in: Ditto.
6326 * bin/autoheader.in: Reworded a few comments.
6327 * bin/autoconf.in: Reworded help text for a few options.
6328 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6329 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6331 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6333 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6334 already have $file). Set output files to binary mode (helps avoid
6335 CR issues on DOSish systems).
6337 2001-09-19 Akim Demaille <akim@epita.fr>
6339 * lib/autotest/general.m4: Englishoes.
6340 From Tim Van Holder and Alexey Mahotkin.
6342 2001-09-18 Paul Eggert <eggert@twinsun.com>
6344 * doc/autoconf.texi (Common Shell Constructs): New node,
6345 documenting AS_DIRNAME.
6346 (Limitations of Usual Tools): Refer to it when discussing dirname.
6347 Also, update discussion of POSIX standard to reflect latest draft.
6349 * lib/autoconf/c.m4:
6350 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6352 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6353 Do not pass a first argument with leading '-'
6354 to expr, by parenthesizing initial integers that might be negative.
6356 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6357 now merely checks whether it is an error to pass an argument
6360 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6361 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6362 whether it is a (compile-time) error to pass an argument to
6363 getpgrp. This simpler test supports the revised documentation,
6364 and is all that AC_FUNC_GETPGRP's users really need.
6366 2001-09-18 Akim Demaille <akim@epita.fr>
6368 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6370 2001-09-18 Akim Demaille <akim@epita.fr>
6372 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6374 * lib/autotest/general.m4 (AT_INIT): Adjust.
6376 2001-09-18 Paul Wagland <paul@wagland.net>
6378 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6380 Add test for AS_BASENAME.
6381 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6382 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6383 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6384 * tests/base.at: Fixed the expected responses. The old ones were
6386 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6387 the documentation claims it should (and how it behaved in 2.13).
6389 2001-09-18 Akim Demaille <akim@epita.fr>
6391 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6392 the AC_CONFIG_COMMANDS invocation.
6393 This also solves the name clash problems.
6394 Don't set the package's ID.
6395 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6396 No longer to be shipped.
6397 (version.in): Remove.
6398 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6399 * lib/autoconf/status.m4: Adjust.
6400 Use `m4_PACKAGE_STRING'.
6401 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6402 the only optional argument is the name of the test suite.
6403 Expect `package.m4' to define the package signature.
6404 * lib/autom4te.in (Autotest): Add `package.m4?'.
6405 * tests/Makefile.am (package.m4): New.
6406 * tests/suite.at: ifnames is a victim.
6408 2001-09-18 Akim Demaille <akim@epita.fr>
6410 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6411 AC_LIBSOURCE, AC_CONFIG_FILES.
6412 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6413 program version string doesn't match the package's.
6414 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6417 2001-09-17 Paul Eggert <eggert@twinsun.com>
6419 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6420 Allow expression to return any value that can fit into unsigned long
6421 (not int, as before). Check for output errors.
6423 2001-09-17 Bruno Haible <haible@ilog.fr>
6425 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6426 Always include <stdio.h> and <stdlib.h>. Evaluate
6427 the expression in an extra function before these includes. Call
6428 fprintf "%d" only after ensuring the argument is of type 'int'.
6429 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6431 2001-09-17 Paul Eggert <eggert@twinsun.com>
6433 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6434 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6435 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6436 when they don't exist.
6438 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6439 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6442 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6443 version with the version used by fileutils 4.1, except use
6444 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6447 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6449 2001-09-13 Akim Demaille <akim@epita.fr>
6451 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6453 Reported by Gerrit P. Haase.
6455 2001-09-13 Akim Demaille <akim@epita.fr>
6457 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6458 m4_defn'ing is valid.
6460 2001-09-13 Akim Demaille <akim@epita.fr>
6462 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6463 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6466 2001-09-13 Akim Demaille <akim@epita.fr>
6468 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6470 (m4_re_escape): New.
6471 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6472 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6473 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6475 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6476 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6477 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6478 AT_tests_all for consistency.
6480 (AT_VICTIMS): Similar to AT_KEYWORDS.
6481 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6483 2001-09-13 Akim Demaille <akim@epita.fr>
6485 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6487 2001-09-13 Akim Demaille <akim@epita.fr>
6489 * lib/autotest/general.m4 (AT_INIT): Create and remove
6490 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6491 test suites can cohabit.
6493 2001-09-13 Akim Demaille <akim@epita.fr>
6495 * tests/mktests.sh: Don't output banners for empty test files.
6497 2001-09-13 Akim Demaille <akim@epita.fr>
6499 Test suites can be run independently of configure.
6501 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6502 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6503 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6505 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6507 * lib/autotest/general.m4: Use ECHO_*.
6509 2001-09-13 Akim Demaille <akim@epita.fr>
6511 * bin/ifnames.in: Rewrite in Perl.
6512 * configure.ac: Don't look for AWK.
6513 * tests/tools.at (AWK portability): Remove.
6514 (Syntax of the shell scripts): Don't check ifnames.
6515 (AT_CHECK_PERL_SYNTAX): New.
6516 (Syntax of the Perl scripts): Check ifnames.
6517 * tests/ifnames: New.
6519 2001-09-13 Akim Demaille <akim@epita.fr>
6521 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6523 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6524 Remove all the other keywords.
6526 2001-09-10 Akim Demaille <akim@epita.fr>
6528 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6529 SETUP: no longer used.
6530 Support -k, --keywords.
6531 <at_help>: Be `no', `short', or `long'.
6532 <at_help_all>: New variable.
6534 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6535 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6536 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6537 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6538 No longer fill the HELP diversion.
6539 (AT_CLEANUP): Use them.
6540 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6541 (m4_list_append): Remove.
6543 Spread a few keywords in the Autoconf test suite.
6545 2001-09-10 Akim Demaille <akim@epita.fr>
6547 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6548 PATH_SEPARATOR, let M4sh compute it.
6549 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6550 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6552 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6553 Simplify when the path is not a literal.
6554 (AS_UNAME): Use it to report PATH.
6555 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6556 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6557 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6558 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6559 normalize the path, and to look for victims.
6560 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6561 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6563 2001-09-07 Akim Demaille <akim@epita.fr>
6565 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6566 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6567 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6568 related variables into `at_package_*'.
6569 * lib/autotest/general.m4 (AT_VICTIMS): New.
6570 (AT_INIT): Adjust for stand-alone/embedded test suites.
6571 (AS_MESSAGE_LOG_FD): Define and use it.
6572 * tests/suite.at (AT_VICTIMS): Use it.
6573 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6576 2001-09-07 Akim Demaille <akim@epita.fr>
6578 Move toward possibly stand-alone test suites.
6580 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6581 in addition, it introduces useless differences in logs.
6582 (AT_INIT): Let atconfig and atlocal be both optional.
6583 Adjust PATH computation.
6584 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6586 2001-09-07 Akim Demaille <akim@epita.fr>
6588 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6591 2001-09-05 Akim Demaille <akim@epita.fr>
6593 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6594 to avoid GCC warnings.
6597 2001-09-05 Akim Demaille <akim@epita.fr>
6599 * bin/autom4te.in: --language is -l, not -s.
6601 2001-09-05 Akim Demaille <akim@epita.fr>
6603 Be ready to handle filenames as stupid as `dnl.at', for if even
6604 the maintainer is dumb enough to do that...
6606 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6607 excellence in M4 quotation: consider `__file__' is active.
6609 And BTW, when invoking m4, pass the --include in the right order:
6612 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6615 2001-09-05 Akim Demaille <akim@epita.fr>
6617 * lib/Autom4te/XFile.pm: New lib file.
6618 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6619 * bin/autoheader.in: Use it.
6621 2001-09-05 Akim Demaille <akim@epita.fr>
6623 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6626 2001-09-05 Akim Demaille <akim@epita.fr>
6628 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6629 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6631 * bin/autoscan.in: Use `getopt' and `find_files' etc.
6632 Add -I, --include support.
6633 * doc/autoconf.texi (autoscan Invocation): Adjust.
6635 2001-09-05 Akim Demaille <akim@epita.fr>
6637 CVS GNU M4 doesn't like `undefine(undefined)'.
6639 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6640 New, extracted from main.
6641 Use IO::File wherever possible.
6642 (input.m4): Be constant, use -I instead of hard coding $tmp.
6643 Therefore be a quoted heredoc.
6644 Don't invoke `_au_disable', since ac was not loaded, but just
6647 2001-08-31 Akim Demaille <akim@epita.fr>
6651 2001-08-31 Akim Demaille <akim@epita.fr>
6653 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6655 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6657 2001-08-31 Akim Demaille <akim@epita.fr>
6659 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6660 serious problems handling heredocs in heredocs.
6661 Reported by Nicolas Joly.
6663 2001-08-31 Akim Demaille <akim@epita.fr>
6665 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6666 (Making testsuite Scripts): Update.
6668 2001-08-31 Akim Demaille <akim@epita.fr>
6670 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6672 2001-08-31 Akim Demaille <akim@epita.fr>
6674 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6675 (testsuite Scripts): There is no such thing as `atconfig.in'.
6676 And actually one diagram is missing: test suite runtime.
6678 2001-08-31 Akim Demaille <akim@epita.fr>
6680 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6683 2001-08-31 Akim Demaille <akim@epita.fr>
6685 * bin/autoupdate.in (@include): `installcheck' revealed the path
6686 to m4sugar was lacking!
6688 2001-08-31 Akim Demaille <akim@epita.fr>
6690 * man/Makefile.am (.x.1): We really have to pass
6691 autom4te_perllibdir.
6693 2001-08-31 Akim Demaille <akim@epita.fr>
6695 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6696 debug scripts, in particular passing explicitly listed tests to
6699 2001-08-31 Akim Demaille <akim@epita.fr>
6701 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6702 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6703 Use directly autom4te, not autoconf.
6704 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6706 2001-08-31 Akim Demaille <akim@epita.fr>
6708 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6709 * bin/autoheader.in (%symbol): Strip arguments of macros.
6711 2001-08-31 Akim Demaille <akim@epita.fr>
6713 * doc/autoconf.texi: Catch up -I, --include changes.
6715 2001-08-31 Akim Demaille <akim@epita.fr>
6717 * bin/autom4te.in (&parse_args): Die on unknown languages.
6718 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6720 Promote --include over --macrodir and other obsolete options.
6722 2001-08-31 Akim Demaille <akim@epita.fr>
6724 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6725 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6726 * bin/autom4te.in ($autoconf): Pass --force.
6727 `print $out' doesn't print `$_' but `$out'.
6728 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6729 (autoheader): Pass --force since the test suite goes too fast for
6731 Adjust to the new autoheader messages.
6733 2001-08-31 Akim Demaille <akim@epita.fr>
6735 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
6736 Check the completeness of the #template.
6737 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
6738 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
6741 2001-08-31 Akim Demaille <akim@epita.fr>
6743 * lib/Autom4te/General.pm (&find_file, &update_file): New.
6744 * bin/autoupdate.in, bin/autoheader.in: Adjust.
6745 Drop AC_MACRODIR dead for real.
6746 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
6747 `autoheader: `config.hin' is created'.
6748 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
6750 2001-08-31 Akim Demaille <akim@epita.fr>
6752 * bin/autoheader.in: Rewrite in Perl.
6753 * tests/autoheader: Adjust.
6755 2001-08-31 Akim Demaille <akim@epita.fr>
6757 * bin/autoconf.in (--include, -I): New option.
6758 Map --localdir, --autoconf-dir onto it.
6759 Forward autom4te's options instead of interpreting them.
6760 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
6761 There is no such envvar since the inception of autom4te.cfg.
6762 * bin/autom4te.in (&parse_args): Uniquify `@include'.
6763 * bin/autoupdate.in: Adjust, and perform more control.
6764 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
6765 * tests/autoconf: Dittowise.
6767 2001-08-31 Akim Demaille <akim@epita.fr>
6769 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
6770 * bin/autom4te.in (&find_file): Support `FILE?' standing for
6772 Use -e, not -f, since /dev/null for instance is OK.
6773 (&parse_args): Adjust.
6774 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
6776 2001-08-31 Akim Demaille <akim@epita.fr>
6778 * configure.ac: Also find tested executables in bin.
6779 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
6780 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
6781 installed peer executables, only PATH is allowed to resolve it.
6782 Pass `autoconf_dir' via options, not via invisible envvars.
6783 * lib/Autom4te/General.pm (&find_peer): Remove.
6784 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
6785 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
6786 * man/Makefile.am: Let help2man rely on PATH instead of trying to
6787 find the executables for it.
6788 * tests/Makefile.am: Major cleanup. Too lazy to document...
6789 * tests/atlocal.in: Remove all the obscure envvar manipulations.
6791 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
6792 indeed related to running the test suite, while passing
6793 --autoconf-dir and others is related to running non installed
6794 Autoconf executables. So don't do that, leave it to...
6795 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
6796 * tests/autoscan: New.
6797 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
6798 refer to library files: rely on --language.
6800 2001-08-29 Akim Demaille <akim@epita.fr>
6802 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
6803 s/--set/--language/.
6805 2001-08-29 Akim Demaille <akim@epita.fr>
6807 * doc/autoconf.texi: Strip the @nodes.
6808 Suggested by Paul Eggert.
6809 (Initializing configure): Typo.
6811 2001-08-29 Akim Demaille <akim@epita.fr>
6813 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
6814 Suggested by Paul Eggert.
6816 2001-08-29 Akim Demaille <akim@epita.fr>
6818 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
6819 download in a tmp dir.
6821 2001-08-29 Akim Demaille <akim@epita.fr>
6823 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
6824 case insensitive OSes out there :(
6825 From Tim Van Holder.
6827 2001-08-29 Akim Demaille <akim@epita.fr>
6829 * lib/autom4te.in: New.
6830 * lib/Makefile.am (edit, autom4te.cfg): New.
6831 * bin/autom4te.in (BEGIN): Simplify.
6832 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
6833 (&load_configuration): New. Use it.
6834 (&parse_args): Support --mode, --set, and --melt.
6835 * bin/autoconf.in: Simplify and adjust.
6836 * tests/Makefile.am (AUTOMAKE): Use --set.
6837 * tests/atlocal.in: Adjust.
6838 * BUGS: distcheck and check are weak.
6840 2001-08-29 Akim Demaille <akim@epita.fr>
6842 * lib/autotest/general.m4: Use
6843 foo=`(command) 2>/dev/null`
6845 foo=`command` 2>/dev/null
6846 (at-devnull): Rename as...
6848 (--clean): Remove AT-* files too.
6849 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
6850 Reported by Nicolas Joly.
6852 2001-08-28 Akim Demaille <akim@epita.fr>
6854 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
6855 quotes inside single quotes.
6856 Reported by Nicolas Joly.
6858 2001-08-28 Kevin Ryde <user42@zip.com.au>
6860 * doc/autoconf.texi (Function Portability): Mention C right shifts.
6862 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
6864 * lib/autotest/general.m4: Reword some messages.
6865 (AT_INIT): Check for the `times' builtin before using it.
6866 Support test ranges as arguments to the testsuite.
6867 Have -e imply -d as the help text suggested.
6869 2001-08-27 Akim Demaille <akim@epita.fr>
6871 * Makefile.maint: Formatting changes.
6872 (do-po-update, po-update, cvs-update, update): New targets.
6875 2001-08-27 Akim Demaille <akim@epita.fr>
6877 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
6879 Pass it to debug-*.sh scripts.
6880 <AUTOTEST_PATH>: May contain absolute dir names.
6882 2001-08-27 Akim Demaille <akim@epita.fr>
6884 * lib/autotest/general.m4 (AT_INIT): Log the command line.
6885 Support `VAR=VAL' as arguments.
6886 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
6887 may be set via the command line.
6889 2001-08-27 Akim Demaille <akim@epita.fr>
6891 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
6892 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
6893 first the build dirs, then the src dirs.
6894 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
6896 2001-08-27 Akim Demaille <akim@epita.fr>
6898 * lib/autotest/general.m4 (AT_INIT): Output the definition of
6899 at_data_files earlier.
6900 (--clean, -c): New option.
6901 * tests/Makefile.am: Use this option.
6903 2001-08-27 Akim Demaille <akim@epita.fr>
6905 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
6906 `ac_top_builddir' to mimic Automake's vocabulary, which much more
6909 * doc/autoconf.texi (Configuration Actions): Document the vars
6910 available in commands.
6911 Emphasize the risks of collisions in init-cmds.
6913 2001-08-27 Akim Demaille <akim@epita.fr>
6915 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
6916 (Initializing configure): this new node.
6918 2001-08-27 Akim Demaille <akim@epita.fr>
6920 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
6922 2001-08-27 Akim Demaille <akim@epita.fr>
6924 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
6925 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
6927 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
6929 2001-08-27 Akim Demaille <akim@epita.fr>
6931 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
6933 * lib/autoconf/autoheader.m4: this new file.
6934 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
6935 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
6937 * lib/autoconf/autoupdate.m4: this new file.
6939 2001-08-27 Akim Demaille <akim@epita.fr>
6941 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
6942 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
6943 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
6945 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
6946 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
6948 2001-08-27 Akim Demaille <akim@epita.fr>
6950 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
6951 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
6952 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
6953 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
6954 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
6955 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
6956 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
6957 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
6958 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
6959 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
6960 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
6961 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
6962 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
6963 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
6964 (_AC_OUTPUT_SUBDIRS): Move to...
6965 * lib/autoconf/status.m4: this new file.
6966 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
6967 * tests/Makefile.am, tests/suite.at: Adjust.
6969 2001-08-27 Akim Demaille <akim@epita.fr>
6973 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
6974 (AMTAR): Help automake define it.
6975 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
6976 needed, 1.5 can have a macro and a target with the same name.
6977 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
6979 * m4/init.m4, m4/sanity.m4: Update.
6980 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
6981 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
6982 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
6983 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
6985 2001-08-27 Akim Demaille <akim@epita.fr>
6987 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
6989 * lib/autoconf/version.in: Remove.
6990 * lib/m4sugar/version.in: New.
6991 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
6993 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
6994 the name of the directory they're in, instead of the filename,
6995 since version.m4 is now in m4sugar, but m4_acversion must not be
6996 classified as an Autoconf macro.
6997 ($input_m4): Don't qualify the path to m4sugar.
6998 Rather, pass autoconf_dir to m4.
6999 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7000 * tests/suite.at: Require 2.52c.
7002 2001-08-27 Akim Demaille <akim@epita.fr>
7004 testsuite.log should include config.log.
7006 * lib/autotest/autotest.m4: New.
7007 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7008 * tests/suite.at : Adjust.
7009 (AT_INIT): Log config.log.
7010 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7011 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7012 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7013 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7014 of config.log on traps.
7015 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7016 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7018 Open the log as soon as possible.
7019 Use the same log introduction as configure's.
7021 2001-08-22 Paul Eggert <eggert@twinsun.com>
7023 * doc/autoconf.texi (Indices): New node.
7024 Move indices out of the top level menu and into this submenu.
7026 2001-08-22 Akim Demaille <akim@epita.fr>
7028 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7030 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7032 2001-08-22 Akim Demaille <akim@epita.fr>
7034 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7035 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7036 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7037 * lib/autoconf/programs.m4: here.
7038 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7039 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7040 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7041 * lib/autoconf/programs.m4: here.
7042 (_AC_DECL_YYTEXT): Rename as...
7043 (_AC_PROG_LEX_YYTEXT_DECL): this.
7044 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7045 * tests/Makefile.am, tests/suite.am: Adjust.
7047 2001-08-22 Akim Demaille <akim@epita.fr>
7049 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7051 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7053 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7054 * lib/autoconf/functions.m4: here.
7055 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7056 (AH_CHECK_LIB): Move to...
7057 * lib/autoconf/libs: this new file.
7058 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7059 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7060 * lib/autoconf/libs.m4: here.
7061 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7063 2001-08-22 Akim Demaille <akim@epita.fr>
7065 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7066 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7067 (AC_SITE_LOAD): Better logging of config.site.
7069 2001-08-20 Akim Demaille <akim@epita.fr>
7071 * configure.ac (AT_CONFIG): Fix the path.
7072 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7075 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7077 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7078 program with AC_LANG_PROGRAM before feeding it to
7079 AC_COMPILE_IFELSE. Cleanup grep usage.
7081 2001-08-20 Akim Demaille <akim@epita.fr>
7083 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7084 * NEWS, README, README-alpha, TODO, tests/README: This package is
7085 `Autoconf', not `autoconf' (the executable).
7087 2001-08-20 Akim Demaille <akim@epita.fr>
7089 Info readers seem to need `Index' in the index node title :(
7091 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7092 simplified index node names.
7094 2001-08-20 Akim Demaille <akim@epita.fr>
7096 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7097 arguments are not literals.
7098 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7099 Specify the output variables, and macros defined.
7101 2001-08-20 Akim Demaille <akim@epita.fr>
7103 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7104 (Examining Syntax) <AC_TRY_COMPILE>
7105 (Examining Libraries) <AC_TRY_LINK>
7106 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7108 Reported by Werner Lemberg.
7110 2001-08-20 Akim Demaille <akim@epita.fr>
7112 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7113 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7114 Load atlocal late enough to dump it in the log.
7115 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7117 2001-08-20 Akim Demaille <akim@epita.fr>
7119 * tests/torture.at (Configuring subdirectories): New test.
7120 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7122 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7123 (top_srcdir): Fix its computation.
7125 2001-08-20 Akim Demaille <akim@epita.fr>
7127 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7128 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7130 Create `atconfig' automagically.
7131 Configure atlocal.in if present.
7132 * tests/atconfig.in: Remove.
7133 * tests/atlocal.in: New.
7134 * tests/Makefile.am: Adjust.
7136 2001-08-20 Akim Demaille <akim@epita.fr>
7138 Huh!?!?! There are still some user EOF tags used, which prevents
7139 their use in AC_CONFIG_COMMANDS for instance...
7141 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7142 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7143 `_CSEOF', or `_ATEOF', as appropriate.
7144 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7145 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7147 2001-08-20 Akim Demaille <akim@epita.fr>
7149 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7150 * tests/semantics.at, tests/tools.at, tests/torture.at:
7151 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7153 2001-08-20 Akim Demaille <akim@epita.fr>
7155 Autotest invokes M4sh's initialization.
7157 * lib/autotest/general.m4: Adjust the diversion names.
7158 (AT_INIT): Run AS_INIT.
7159 Use the BINSH diversion to invoke /bin/sh.
7160 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7161 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7163 2001-08-20 Akim Demaille <akim@epita.fr>
7165 Let M4sh have its own diversions.
7167 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7168 (_m4_divert(NOTICE)): Rename as...
7169 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7170 (_m4_divert(HEADER-COMMENT)): these.
7171 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7172 (_m4_divert(NOTICE)): New, for Libtool.
7173 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7174 long ago with `_m4_divert(GROW)'.
7175 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7177 2001-08-20 Akim Demaille <akim@epita.fr>
7179 * tests/base.at, tests/compile.at, tests/foreign.at,
7180 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7181 * tests/semantics.at, tests/suite.at, tests/tools.at,
7182 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7184 2001-08-20 Akim Demaille <akim@epita.fr>
7186 * bin/autom4te.in (handle_output): Handle @__@.
7188 2001-08-20 Akim Demaille <akim@epita.fr>
7190 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7191 * lib/autotest/general.m4: Adjust the license.
7193 2001-08-17 Paul Eggert <eggert@twinsun.com>
7195 * doc/autoconf.texi (Function Portability): Mention snprintf,
7196 following up on a suggestion by Kevin Ryde.
7198 2001-08-17 Akim Demaille <akim@epita.fr>
7200 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7201 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7203 2001-08-17 Akim Demaille <akim@epita.fr>
7205 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7206 `$0.log' as for projects where testsuite is in src, we'd have
7207 testsuite.log created in src.
7209 2001-08-17 Akim Demaille <akim@epita.fr>
7211 * bin/autom4te.in (&parse_args): Recognize --normalize.
7213 2001-08-17 Akim Demaille <akim@epita.fr>
7215 Start implementing the AC_CHECK_HEADER transition scheme.
7217 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7218 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7219 (AC_CHECK_HEADER): Use them.
7221 2001-08-17 Akim Demaille <akim@epita.fr>
7223 * doc/autoconf.texi: Work around Texinfo buglets.
7224 (Transformation Rules): One example is enough, users are expected
7225 to have their brains on. And BTW, use DESTDIR.
7226 (dvar): New macro. Use it.
7228 2001-08-17 Akim Demaille <akim@epita.fr>
7230 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7231 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7232 looking for ChangeLogs.
7234 2001-08-17 Akim Demaille <akim@epita.fr>
7236 * bin/autom4te.in: --normalize is a new option.
7237 * bin/autoconf.in: Use it.
7239 2001-08-17 Akim Demaille <akim@epita.fr>
7241 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7242 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7244 2001-08-16 Paul Eggert <eggert@twinsun.com>
7246 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7249 2001-08-15 Akim Demaille <akim@epita.fr>
7251 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7254 2001-08-15 Akim Demaille <akim@epita.fr>
7256 * doc/autoconf.texi (pr): New index.
7257 (prindex, findex): Use, merge, and output them.
7258 (Environment Variable Index, Output Variable Index)
7259 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7260 (Autotest Macro Index): Rename as...
7261 (Environment Variables, Output Variables,Preprocessor Symbols)
7262 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7263 * doc/install.texi: Use @command.
7264 (Environment Variables): Rename as...
7265 (Defining Variables): this.
7267 2001-08-15 Akim Demaille <akim@epita.fr>
7269 * doc/autoconf.texi (Function Portability): sprintf's return
7273 2001-08-15 Akim Demaille <akim@epita.fr>
7275 * Makefile.maint (CVS): New.
7276 (local-check): Run changelog-check. last.
7277 (alpha): Don't depend upon local-check, since...
7278 (cvs-dist): depends upon it.
7280 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7282 * tests/Makefile.am: Use a clean-local rule to remove
7283 autom4te.cache (it's a directory, not a file.
7284 * Makefile.am: Ditto (but maintainer-clean-local).
7286 2001-08-15 Akim Demaille <akim@epita.fr>
7288 * bin/autom4te.in (@m4_warning): New.
7289 (&handle_m4): Use it.
7290 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7291 warnings are issued at each run.
7292 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7295 2001-08-15 Akim Demaille <akim@epita.fr>
7297 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7298 don't waste time running `autoupdate --version' works.
7299 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7301 2001-08-13 Akim Demaille <akim@epita.fr>
7303 * doc/autoconf.texi (ma): Rename this index as...
7306 2001-08-13 Akim Demaille <akim@epita.fr>
7308 * Makefile.am: Remove dead code and dead comments.
7309 (pdf, html): New targets.
7310 * doc/autoconf.texi (Using Autotest): New chapter.
7311 * doc/Makefile.am (pdf): New targets.
7312 (CLEANFILES): Adjust.
7314 2001-08-13 Akim Demaille <akim@epita.fr>
7316 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7317 duration of the test suite.
7319 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7321 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7322 endianness for comparison instead of relying on AT_CHECK_ENV.
7324 2001-08-11 Paul Eggert <eggert@twinsun.com>
7326 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7327 to the INSTALL file.
7329 2001-08-11 Paul Eggert <eggert@twinsun.com>
7331 * NEWS: The autoconf manual now is distributed under the terms
7332 of the GNU Free Documentation License.
7334 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7335 Add an appendix "Copying This Manual" for the FDL.
7337 * doc/fdl.texi: New file, from
7338 <http://www.gnu.org/licenses/fdl.texi>.
7340 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7342 2001-08-10 Paul Eggert <eggert@twinsun.com>
7344 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7345 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7346 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7347 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7348 m4/sanity.m4, tests/README, tests/aclocal.m4,
7349 tests/atspecific.m4, tests/base.at, tests/compile.at,
7350 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7351 tests/semantics.at, tests/suite.at, tests/tools.at,
7352 tests/torture.at: Add copyright notice.
7354 * tests/mktests.sh: Update year in copyright notice.
7356 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7358 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7360 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7362 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7363 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7364 * doc/autoconf.texi (C Compiler Characteristics): Update
7365 documentation for AC_C_BIGENDIAN.
7367 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7369 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7370 magic values from an object file when cross-compiling.
7371 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7373 2001-08-10 Akim Demaille <akim@epita.fr>
7375 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7377 Suggested by Russ Allbery.
7379 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7381 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7382 current $prefix to the sub-configures.
7384 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7386 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7387 extension (needed on BeOS). Reported by Guido van Rossum.
7389 2001-08-09 Akim Demaille <akim@epita.fr>
7391 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7393 2001-08-07 Akim Demaille <akim@epita.fr>
7395 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7397 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7398 No need to remove the files before and after the each test, before
7399 each test and at the end of the suite is enough.
7400 Display only the children `times', not the shell's.
7401 If the test failed or was skipped, at-times is not available.
7403 2001-08-07 Akim Demaille <akim@epita.fr>
7405 Always produce testsuite.log, including when there are no
7406 failures. This helps getting information on skipped tests, and
7407 duration of the tests. Err, implement the latter btw.
7409 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7410 Dump information on the first run of each test.
7411 (AT_CLEANUP): Create `at-times' containing the duration of the
7414 2001-08-07 Akim Demaille <akim@epita.fr>
7416 The use of `dumpstat' revealed that `len' was used although it
7417 should not. m4_text_wrap was using it, but in the Autoconf world
7418 where it is legal. Hence (i) test M4sh in its own world, not
7419 Autoconf's, and (ii), ahem, fix the bug :)
7421 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7422 does not like `' instead of [].
7423 (AT_INIT): Forbid `^_?AT_'.
7424 And don't output such tokens.
7425 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7426 `script.as', and `autom4te.cache'.
7427 Remove `empty' and `macro' which are no longer used.
7428 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7429 * tests/m4sugar.at: Use it.
7430 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7432 2001-08-07 Akim Demaille <akim@epita.fr>
7434 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7436 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7438 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7440 2001-08-04 Akim Demaille <akim@epita.fr>
7442 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7443 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7445 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7446 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7447 (AC_F77_MAIN): Likewise.
7449 2001-08-04 Akim Demaille <akim@epita.fr>
7451 Don't rely on M4sugar outputting the patterns in files, since we
7452 might process the output _without_ running m4, hence without these
7455 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7456 * bin/autom4te.in (@Request::includes): Remove, unused.
7457 (@Request::source): Rename as...
7458 (@Request::input): this.
7459 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7460 (&handle_output): Fetch the patterns from the traces.
7461 `$forbidden' and `$allowed' are constant: use m//o.
7462 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7463 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7465 2001-08-04 Akim Demaille <akim@epita.fr>
7467 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7468 autoconf', i.e., in addition to caching traces, cache the output.
7470 * bin/autom4te.in (Request::cache): Rename as...
7471 (Request::id): this.
7472 ($cache, $icache, $tcache, $ocache): New.
7473 (&handle_m4): Save M4 output in the cache instead of $tmp.
7474 (&handle_output): Adjust.
7475 (&up_to_date_p): Check that the output cache is up to date too.
7476 (top level): Run `&handle_m4' iff force or the cache is invalid.
7477 Run `&handle_output' if the output cache is more recent.
7479 2001-08-04 Akim Demaille <akim@epita.fr>
7481 * bin/autom4te.in ($force): New.
7482 (&parse_args, &print_usage): -f, --force is a new option.
7483 (&handle_output): CPP directives might have spaces after `#'.
7484 (&parse_args): The first file only can be frozen.
7486 2001-08-04 Akim Demaille <akim@epita.fr>
7488 Don't let autom4te compute the `include' traces several times:
7489 first check that the trace cache file is up to date, and then
7490 compare its timestamp with that of the output.
7492 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7493 the preamble. Don't require 5.005 as Autom4te::General does it,
7494 and better yet (use `use', not `require'!).
7495 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7496 Class::Struct as Autom4te::Struct.
7497 * lib/Autom4te/General.pm (File::stat): Use it.
7498 (&mtime): New, export it.
7499 * bin/autom4te.in: Use it.
7500 Declare `$req' is invalid if it is outdated.
7501 Don't declare it valid before saving it if something went wrong.
7503 2001-08-04 Akim Demaille <akim@epita.fr>
7505 Autom4te shall not encode Autoconf data, and preselecting traces
7506 must be proposed to the users.
7508 * bin/autom4te.in (@required_trace): Remove.
7510 (&parse_args, &print_usage): -p, --preselect is a new option.
7511 (&up_to_date_p): Adjust.
7512 * bin/autoconf.in: Preselect some Autoconf macros.
7514 2001-08-04 Akim Demaille <akim@epita.fr>
7516 * tests/tools.at (autoconf --trace: user macros): Check traces on
7517 macros invoked without arguments, and macros invoked with multiple
7520 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7522 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7525 2001-08-03 Akim Demaille <akim@epita.fr>
7527 * bin/autoconf.in ($@): Work around the usual sh bug.
7530 2001-08-03 Akim Demaille <akim@epita.fr>
7532 Clean up the handling of the M4 builtins tracing exception.
7534 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7536 (@m4_builtins): Rename as...
7537 (@m4_builtin): this.
7538 (%m4_builtin_alternate_name): New.
7539 (&parse_args): Complete the trace requests with alternate names.
7540 (&handle_traces): Hence no longer do it here.
7541 (&trace_requests): Remove, unused.
7543 2001-08-03 Akim Demaille <akim@epita.fr>
7545 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7548 2001-08-03 Akim Demaille <akim@epita.fr>
7550 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7551 (m4_divert_pop): Dump the whole diversion stack when a diversion
7553 * bin/autom4te.in (&handle_output): Remember of the first
7554 occurrence of a possibly undefined macro, not the last.
7555 Complain about the possibly undefined macros in the same order as
7556 the appear in the output.
7557 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7558 * tests/tools.at (autoconf: forbidden tokens, basic)
7559 (autoconf: forbidden tokens, exceptions): No longer sort
7560 autoconf's stderr, as it is now deterministic.
7561 Check that `dnl' is caught.
7563 2001-08-01 Akim Demaille <akim@epita.fr>
7565 * configure.ac: Bump to 2.52c.
7567 2001-08-01 Akim Demaille <akim@epita.fr>
7571 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7573 2001-08-01 Akim Demaille <akim@epita.fr>
7577 2001-08-01 Akim Demaille <akim@epita.fr>
7579 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7582 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7583 `END', as `Autom4te::General::END' will be triggered.
7584 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7585 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7586 system to run `mv', `rm', and `cmp'.
7588 2001-08-01 Akim Demaille <akim@epita.fr>
7590 * lib/Autom4te/General.pm (&unique): New.
7591 * bin/autoscan.in (&output): Use it to issue trace requests once.
7593 2001-08-01 Akim Demaille <akim@epita.fr>
7595 * lib/Autom4te/General.pm: New.
7596 * bin/autom4te.in (Autom4te::General): Use it.
7597 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7598 (&find_configure_ac, &find_slave): Remove.
7599 * bin/autoscan.in: Likewise.
7600 * bin/autoupdate.in: Likewise.
7602 2001-08-01 Akim Demaille <akim@epita.fr>
7604 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7605 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7606 * bin: here, new directory.
7607 * lib/Autoconf: Rename as...
7608 * lib/Autom4te: this, to please case insensitive junkie OSes.
7610 2001-08-01 Akim Demaille <akim@epita.fr>
7612 * autom4te.in ($m4): Handle the --nesting-limit.
7613 * autoconf.in (M4): Remove.
7615 2001-08-01 Akim Demaille <akim@epita.fr>
7617 * autoconf.in ($AWK): Remove, no longer used.
7618 * test/tools.at: Use AT_CHECK_AUTOCONF.
7619 (AWK portability): Remove, for autoconf no longer uses AWK.
7620 (Syntax of the Perl scripts): New.
7621 * configure.ac: autoconf no longer needs an AWK with a good
7623 Use a static test on AC_PACKAGE_VERSION.
7624 * autom4te.in (&up_to_date_p): Output depends on the arguments.
7625 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7626 * tests/atconfig.in (PERL): New.
7628 2001-08-01 Akim Demaille <akim@epita.fr>
7630 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7631 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7632 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7633 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7634 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7635 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7636 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7637 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7638 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7639 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7640 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7641 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7642 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7643 * lib/autoconf/c.m4: here, new file.
7645 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7646 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7647 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7648 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7649 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7650 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7651 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7652 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7653 (AC_F77_FUNC): Move to...
7654 * lib/autoconf/fortran.m4: here, new file.
7656 2001-08-01 Akim Demaille <akim@epita.fr>
7658 * acfunctions.m4: Rename as...
7659 * lib/autoconf/functions.m4: this.
7660 * acgeneral.m4: Rename as...
7661 * lib/autoconf/general.m4: this.
7662 * acheaders.m4: Rename as...
7663 * lib/autoconf/headers.m4: this.
7664 * aclang.m4: Rename as...
7665 * lib/autoconf/lang.m4: this.
7666 * acoldnames.m4: Rename as...
7667 * lib/autoconf/oldnames.m4: this.
7668 * acspecific.m4: Rename as...
7669 * lib/autoconf/specific.m4: this.
7670 * actypes.m4: Rename as...
7671 * lib/autoconf/types.m4: this.
7672 * autoconf.m4: Rename as...
7673 * lib/autoconf/autoconf.m4: this.
7675 * m4sugar.m4: Rename as...
7676 * lib/m4sugar/m4sugar.m4: this.
7677 * m4sh.m4: Rename as...
7678 * lib/m4sugar/m4sh.m4: this.
7680 * tests/atgeneral.m4: Rename as...
7681 * lib/autotest/general.m4: this.
7683 * acfunctions: Rename as...
7684 * lib/autoscan/functions: this.
7685 * acheaders: Rename as...
7686 * lib/autoscan/headers: this.
7687 * acidentifiers: Rename as...
7688 * lib/autoscan/identifiers: this.
7689 * aclibraries: Rename as...
7690 * lib/autoscan/libraries: this.
7691 * acmakevars: Rename as...
7692 * lib/autoscan/makevars: this.
7693 * acprograms: Rename as...
7694 * lib/autoscan/programs: this.
7696 2001-08-01 Akim Demaille <akim@epita.fr>
7698 * doc/autoconf.texi: Moving/deleting open files is not portable.
7699 Portability issues for `.' (source), and more information about sed.
7701 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
7703 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7704 which has a special meaning and is not a reference to libibmil.a.
7705 Reported by Matteo Frigo.
7707 2001-07-25 Pavel Roskin <proski@gnu.org>
7709 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7712 2001-07-25 Akim Demaille <akim@epita.fr>
7714 * autoconf.in: Try to define the variables before using them.
7715 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7716 instead of `$perllibdir'.
7717 * tests/atconfig.in ($autom4te_perllibdir): Export it.
7719 2001-07-25 Akim Demaille <akim@epita.fr>
7721 * autoconf.in (ac_LF_and_DOT): Remove, unused.
7723 2001-07-24 Akim Demaille <akim@epita.fr>
7725 Let autoconf use autom4te for traces.
7727 * autoconf.in ($task, task trace): Remove, merely pass --trace to
7729 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7730 (Because I found no way for autom4te to accept `-').
7731 * autom4te.in (&Request::request): Beware of M4 builtins.
7732 (END): Don't try to remove the content of an empty dir.
7733 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
7734 (&handle_output): Set a default value to `$forbidden'.
7735 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
7736 ($autoconf): Pass --debug and --verbose.
7737 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
7740 2001-07-24 Akim Demaille <akim@epita.fr>
7742 Let autoconf use autom4te to create configure.
7744 * autoconf.in ($automate): New var.
7745 (task script): Use autom4te.
7746 * autom4te.in (File::Spec): Use it.
7748 (&parse_args): --warning is -W, not -w.
7749 Find the top level files.
7750 (&handle_m4): Pass the warnings flags.
7751 Don't report verbosely m4's failures, unless requested.
7752 (&handle_output): Don't complain for forbidden tokens in comments.
7753 Be sure to report all the forbidden tokens within a single line.
7754 (&trace_format_to_m4): Preserve `$_'.
7755 (&handle_traces): Sort the output macros.
7756 (&up_to_date_p): Find the files before trying to get its time stamp.
7758 2001-07-24 Akim Demaille <akim@epita.fr>
7760 * Makefile.am: Ship, build and install Autom4te.
7762 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
7763 * configure.in: Require Perl.
7764 * man/autom4te.in: New.
7766 2001-07-19 Paul Eggert <eggert@twinsun.com>
7768 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
7769 example, rather than (exit 1); exit (which isn't portable).
7771 2001-07-18 Akim Demaille <akim@epita.fr>
7775 2001-07-18 Akim Demaille <akim@epita.fr>
7777 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
7778 was run, while they are needed also when it is expanded.
7779 Reported by Nicolas Joly.
7781 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
7782 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
7783 AC_F77_DUMMY_MAIN being expanded.
7785 2001-07-18 Akim Demaille <akim@epita.fr>
7787 * configure.in: Bump to 2.51a.
7789 2001-07-17 Akim Demaille <akim@epita.fr>
7793 2001-07-17 Akim Demaille <akim@epita.fr>
7795 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
7796 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
7798 2001-07-17 Akim Demaille <akim@epita.fr>
7800 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
7801 used. Well, then use the prototypes when you can, and runtime as
7803 Reported by Artur Frysiak
7805 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
7806 (AC_FUNC_GETPGRP): Use it.
7807 First try to compile with 0-ary or 1-ary calls.
7809 2001-07-17 Akim Demaille <akim@epita.fr>
7811 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
7815 2001-07-17 Akim Demaille <akim@epita.fr>
7817 * Makefile.maint: Sync. with cppi 1.10.
7819 2001-07-17 Akim Demaille <akim@epita.fr>
7821 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
7822 AC_F77_DUMMY_MAIN has been run.
7823 From Pavel Roskin and Steven G. Johnson.
7825 2001-07-17 Akim Demaille <akim@epita.fr>
7827 * configure.in: Rename as...
7828 * configure.ac: this.
7830 2001-07-17 Akim Demaille <akim@epita.fr>
7832 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
7835 * Makefile.maint (release-archive-dir): Rename as...
7836 (release_archive_dir): this, so that it can be specialized in
7839 2001-07-14 Akim Demaille <akim@epita.fr>
7841 * configure.in: Bump to 2.50d.
7843 2001-07-14 Akim Demaille <akim@epita.fr>
7846 * Makefile.maint (alpha): Typo.
7848 2001-07-14 Akim Demaille <akim@epita.fr>
7850 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
7852 2001-07-14 Akim Demaille <akim@epita.fr>
7854 * config/config.guess, config/config.sub, config/texinfo.tex
7855 * doc/standards.texi, doc/make-stds.texi: Update.
7857 2001-07-14 Akim Demaille <akim@epita.fr>
7859 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
7861 2001-07-14 Akim Demaille <akim@epita.fr>
7863 * Makefile.maint (maintainer-check): Rename as...
7864 (maintainer-distcheck): this.
7865 (changelog-check, static-check): New.
7868 2001-07-14 Kevin Ryde <user42@zip.com.au>
7870 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
7871 for CXX is g++, not gcc.
7873 2001-07-14 Akim Demaille <akim@epita.fr>
7875 * doc/autoconf.texi (Files): New subsection.
7877 2001-07-14 Akim Demaille <akim@epita.fr>
7879 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
7881 (Generic Compiler Characteristics): this.
7882 (C++ Compiler): New subsection.
7884 2001-07-14 Akim Demaille <akim@epita.fr>
7886 * autoscan.in: Use IO::File.
7887 Adjust all the routines to use it.
7888 ($log): New file (autoscan.log).
7889 (output): Dump detailed logs into $log, and a shortened version to
7891 (&scan_makefile): Refine the regexp catching tokens in the code.
7892 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
7893 and the `configure.ac' checking feature.
7895 2001-07-12 Akim Demaille <akim@epita.fr>
7897 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
7898 Reported by Michael Elizabeth Chastain.
7900 * autoconf.in: Refuse such AWK.
7901 * configure.in: Likewise.
7902 * Makefile.am (acversion.m4): Do not use move-if-change this file
7904 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
7906 2001-07-10 Jens Petersen <petersen@redhat.com>
7908 * autoscan.in (&scan_makefile): Improve programs regexp to parse
7909 things like "g++", "file.c" and "some-conf" as tokens.
7910 (&scan_file): Match C++ files extensions.
7911 If the filename extension is C++ then ask for c++.
7913 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
7915 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
7916 AC_TRY_LINK_FUNC, to check whether defining a dummy
7917 main-like routine is needed for linking with F77 libs.
7919 2001-07-05 Pavel Roskin <proski@gnu.org>
7921 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
7923 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
7926 2001-07-05 Akim Demaille <akim@epita.fr>
7928 * Makefile.am (move_if_change): New. Use it instead of `mv'.
7929 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
7931 Reported by Nicolas Joly.
7933 2001-07-04 Akim Demaille <akim@epita.fr>
7935 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
7937 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
7938 warnings from compilers.
7939 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
7940 for all the compilers, not only GNU. Hence move from here...
7941 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
7943 2001-07-04 Akim Demaille <akim@epita.fr>
7945 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
7946 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
7949 2001-07-04 Akim Demaille <akim@epita.fr>
7951 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
7952 the ``strings.h'' change claimed below.
7954 2001-07-04 Akim Demaille <akim@epita.fr>
7956 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
7958 2001-07-04 Akim Demaille <akim@epita.fr>
7960 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7961 strings.h if usable with string.h.
7962 Suggested by Paul Eggert.
7964 2001-07-04 Akim Demaille <akim@epita.fr>
7966 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
7969 2001-07-03 Akim Demaille <akim@epita.fr>
7971 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
7974 2001-07-03 Akim Demaille <akim@epita.fr>
7976 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
7977 compiler, not the preprocessor.
7978 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
7979 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
7981 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
7982 earlier if there are.
7984 2001-07-03 Akim Demaille <akim@epita.fr>
7986 * autoscan.in ($initfile): Remove.
7987 (&find_file): Rename as...
7989 Immediately scan the current file, instead of gathering them, and
7990 later having them handled by &scan_files.
7991 (&scan_files): Merely invoke Find::File.
7994 2001-07-02 Akim Demaille <akim@epita.fr>
7996 * autoscan.in: Formatting changes, matching the invocation order.
7997 (File::Find): Use it instead of Perl 4's `find.pl'.
7998 (&wanted): Rename as...
8001 2001-07-01 Pavel Roskin <proski@gnu.org>
8003 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8004 break in the argument to AC_TRY_LINK_FUNC.
8005 (AC_F77_MAIN): Remove conftest* after using break in the
8006 argument to AC_TRY_LINK.
8008 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8010 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8011 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8013 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8014 dummy alternate main is required even if the user provides her own
8016 (AC_F77_MAIN): New macro to detect whether it is possible to
8017 provide an alternate 'main' function name, using the 'main' from
8018 the Fortran libraries.
8019 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8020 cross-language link tests can be performed successfully.
8021 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8022 after $LIBS, for consistency; this should be the general rule since
8023 the user may want to link to Fortran libraries that require $FLIBS.
8024 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8026 2001-06-29 Pavel Roskin <proski@gnu.org>
8028 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8029 at-stdout and at-stderr instead of removing the newline
8030 from the echo output, which is not guaranteed to work.
8032 2001-06-28 Jens Petersen <petersen@redhat.com>
8034 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8035 confdefs.h when non-zero.
8037 2001-06-28 Akim Demaille <akim@epita.fr>
8039 * configure.in: Bump to 2.50c.
8041 2001-06-26 Akim Demaille <akim@epita.fr>
8045 2001-06-26 Akim Demaille <akim@epita.fr>
8049 2001-06-25 Pavel Roskin <proski@gnu.org>
8051 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8052 argument, AUTOCONF-FLAGS.
8053 * tests/mktests.sh (update_exclude_list): Add
8054 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8055 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8056 AC_FUNC_WAIT3 with "-W no-obsolete".
8058 2001-06-25 Akim Demaille <akim@epita.fr>
8060 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8062 2001-06-25 Akim Demaille <akim@epita.fr>
8064 * autoscan.in (%macro): Now maps from word to list of macros.
8065 (&init_tables): Die when a word which is already handled by
8066 explicit macros is mapped to the default macro.
8067 (&print_unique): Remove, inlined in...
8068 (&output_kind): here.
8069 (File::Basename): Use it.
8070 (&output): Sort the CONFIG_FILES.
8071 * acheaders: Normalize.
8072 * acfunctions: Likewise.
8074 2001-06-25 Akim Demaille <akim@epita.fr>
8076 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8077 characteristics in the logs.
8078 Suggested by Mo DeJong.
8080 2001-06-24 Akim Demaille <akim@epita.fr>
8082 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8083 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8084 * doc/autoconf.texi (Autoconf 2.13): New section.
8086 2001-06-24 Akim Demaille <akim@epita.fr>
8088 * autoconf.in (Task traces): Separate the error messages from the
8089 traces to improve robustness.
8091 2001-06-23 Akim Demaille <akim@epita.fr>
8093 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8094 three as failures are unlikely, and speed matters.
8096 2001-06-23 Akim Demaille <akim@epita.fr>
8098 * doc/autoconf.texi (Redefined M4 Macros): New.
8100 2001-06-23 Akim Demaille <akim@epita.fr>
8102 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8103 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8106 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8108 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8109 config.status targets to after the evaluation of the INIT-CMDS.
8110 Double quote config.status targets (used to be single quoted).
8112 2001-06-23 Akim Demaille <akim@epita.fr>
8114 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8115 Check the content of the created file.
8116 Check the ./config.status command line invocation.
8118 2001-06-23 Akim Demaille <akim@epita.fr>
8120 * tests/foreign.at (Libtool): Reject prehistoric versions.
8122 2001-06-23 Akim Demaille <akim@epita.fr>
8124 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8125 preexisting files matching a.*.
8127 2001-06-23 Akim Demaille <akim@epita.fr>
8129 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8131 * doc/autoconf.texi (AC_ARG_VAR): Update.
8133 2001-06-21 Akim Demaille <akim@epita.fr>
8135 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8136 precious variables have changed.
8137 * tests/torture.at (AC_ARG_VAR): Adjust.
8139 2001-06-21 Akim Demaille <akim@epita.fr>
8141 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8142 but some sed choke on multiple `;', and other tools (e.g.,
8143 Automake), include the separator themselves.
8145 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8147 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8149 * doc/autoconf.texi (Functions Portability): Rename as...
8150 (Function Portability): this.
8151 (Function Portability): Document potential problems with unlink().
8153 2001-06-19 Paul Eggert <eggert@twinsun.com>
8155 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8157 2001-06-18 Akim Demaille <akim@epita.fr>
8159 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8161 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8163 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8164 (_AC_FUNC_VFORK): this.
8165 Remove AC_DEFINEs and don't guess cross-compilation values.
8166 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8167 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8168 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8170 Guess values if cross-compiling, but warn.
8171 * acfunctions: Add AC_FUNC_FORK.
8172 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8173 and vfork appropriately.
8175 2001-06-18 Akim Demaille <akim@epita.fr>
8177 * doc/autoconf.texi (Functions Portability): New section.
8179 2001-06-18 Akim Demaille <akim@epita.fr>
8181 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8183 Suggested by Andreas Schwab.
8185 2001-06-18 Akim Demaille <akim@epita.fr>
8187 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8188 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8189 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8190 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8191 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8192 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8193 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8196 2001-06-18 Akim Demaille <akim@epita.fr>
8198 * doc/autoconf.texi (ms): New index.
8199 (Macro Index): Rename as...
8200 (Autoconf Macro Index): this.
8201 (M4 Macro Index): New appendix.
8202 (Programming in M4): New chapter.
8203 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8204 (Quoting): Rename as...
8205 (M$ Quotation): this.
8206 Be part of `Programming in M4).
8208 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8210 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8211 in separate statements for compatibility with Tru64 v5.1.
8213 2001-06-17 Akim Demaille <akim@epita.fr>
8215 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8216 current values of the precious variables, not the previously
8218 Pass precious variables which are set to config.status.
8219 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8220 * tests/torture.at (AC_ARG_VAR): New.
8222 2001-06-15 Paul Eggert <eggert@twinsun.com>
8224 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8225 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8226 and explain why and how to replace them.
8227 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8228 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8230 2001-06-15 Akim Demaille <akim@epita.fr>
8232 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8233 Reported by Bruno Haible.
8235 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8236 (_AC_ARG_VAR_PRECIOUS): to here.
8238 2001-06-15 Pavel Roskin <proski@gnu.org>
8240 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8241 an unused pointer use cast to this type and `if' statement to
8242 avoid warnings from the compiler.
8243 (AC_HEADER_TIME): Likewise.
8244 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8245 in `if' statement to avoid warnings from the compiler. Declare
8246 ac_aggr static to avoid the need to initialize it.
8248 2001-06-14 Akim Demaille <akim@epita.fr>
8250 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8253 2001-06-13 Akim Demaille <akim@epita.fr>
8255 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8256 Suggested by Alexander Mai.
8258 2001-06-13 Akim Demaille <akim@epita.fr>
8260 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8261 sys/types.h and sys/stat.h, and check for them.
8263 2001-06-13 Akim Demaille <akim@epita.fr>
8265 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8268 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8270 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8271 succeeds and only try adding libdnet upon a failure.
8273 2001-06-12 Akim Demaille <akim@epita.fr>
8275 * autoscan.in (&output_kind): Output the comment only if it exists.
8276 (%kind_comment): Add entry for `programs'.
8277 (&output_programs): Use &output_kind.
8278 (&output_functions, &output_identifiers, &output_headers)
8279 (&output_programs): Inline, and remove.
8281 2001-06-12 Akim Demaille <akim@epita.fr>
8283 * autoscan.in (%kind_comment): New.
8285 (output_functions, output_identifiers, output_headers): Use it.
8287 2001-06-12 Akim Demaille <akim@epita.fr>
8289 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8290 arguments, to factor indirections into `%macro' and `%used'.
8291 (%generic_macro): Fix a typo.
8293 2001-06-12 Akim Demaille <akim@epita.fr>
8296 * autoscan.in (@kinds): Add `libraries'.
8297 Use `@kinds' instead of hard coded lists.
8298 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8299 Remove, replaced by...
8302 2001-06-12 Akim Demaille <akim@epita.fr>
8304 * autoscan.in (%functions_macros %headers_macros)
8305 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8309 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8311 * aclang.m4 (AC_NO_EXECUTABLES): Override
8312 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8314 2001-06-11 Akim Demaille <akim@epita.fr>
8316 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8318 Reported by Andreas Schwab.
8320 2001-06-11 Akim Demaille <akim@epita.fr>
8322 * Makefile.am, Makefile.maint: Typos.
8324 2001-06-09 Akim Demaille <akim@epita.fr>
8326 * doc/autoconf.texi (Here-Documents): New section, gathering
8327 documentation about here-documents.
8328 Use `href', not `uref', and other changes.
8330 2001-06-09 Akim Demaille <akim@epita.fr>
8332 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8335 2001-06-09 Akim Demaille <akim@epita.fr>
8337 * doc/autoconf.texi (Limitations of Builtins): Complete the
8338 description of the here-docs penalties with Alexandre Oliva's
8341 2001-06-01 Paul Eggert <eggert@twinsun.com>
8343 * doc/autoconf.texi: Talk about here documents and speedups.
8344 Do not use "echo" on arbitrary strings.
8345 Spell "here-documents" consistently with the standard.
8347 2001-06-09 Akim Demaille <akim@epita.fr>
8349 * doc/autoconf.texi (Concept Index): Introduce it.
8350 Regenerate the menus.
8352 2001-06-09 Akim Demaille <akim@epita.fr>
8354 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8355 * config/prev-version.txt: New.
8356 * config/move-if-change: New, for GNU libc.
8358 2001-06-06 Pavel Roskin <proski@gnu.org>
8360 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8362 2001-06-06 Akim Demaille <akim@epita.fr>
8364 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8365 properly when $1 is not a literal.
8366 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8368 2001-06-06 Akim Demaille <akim@epita.fr>
8370 Invoking AC_COPYRIGHT before AC_INIT fails.
8372 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8373 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8374 (_m4_divert(VERSION_USER)): New.
8375 (AC_COPYRIGHT): $2 is the diversion to use.
8376 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8377 (AC_INIT): Remove dead comments as now it's commutative.
8379 2001-06-06 Akim Demaille <akim@epita.fr>
8381 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8384 2001-06-05 Akim Demaille <akim@epita.fr>
8386 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8388 `*dir' variables cannot be NONE.
8389 Reported by Mark Kettenis.
8391 2001-06-05 Paul Eggert <eggert@twinsun.com>
8393 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8395 2001-06-04 Akim Demaille <akim@epita.fr>
8397 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8398 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8399 (AC_TR_SH): Move as...
8400 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8401 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8403 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8404 (_AS_TR_SH_PREPARE): New.
8405 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8406 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8408 2001-06-02 Akim Demaille <akim@epita.fr>
8410 * Makefile.am (.m4.m4f): Pass the options first.
8411 Fixes PR autoconf/182.
8413 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8415 GNU getopt, when POSIXLY_CORRECT does not permute options and
8416 arguments. So pass the options first.
8417 Fixes PR autoconf/184.
8419 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8420 (run_m4): Remove files.
8422 Update remainder of script to use them.
8423 (for warning in): Do not use a literal comma as it will not be
8426 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8428 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8429 Fortran compilers to check.
8430 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8431 information on library and object files.
8432 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8435 2001-06-02 Akim Demaille <akim@epita.fr>
8437 * autom4te.in (Request::@request): Declare with `vars', not `my',
8438 as it prevents updates via `do FILENAME'.
8440 2001-06-02 Akim Demaille <akim@epita.fr>
8442 * configure.in (standards_texi): Remove, dead code.
8444 2001-06-02 Akim Demaille <akim@epita.fr>
8448 2001-06-02 Pavel Roskin <proski@gnu.org>
8450 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8451 for signals other than 0 - exit with code 1.
8452 * m4sh.m4 (AS_TMPDIR): Likewise.
8453 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8454 * autoheader.in: Likewise.
8455 * autoreconf.in: Likewise.
8456 * tests/torture.at (Signal handling): New test for the above.
8458 2001-06-01 Akim Demaille <akim@epita.fr>
8460 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8463 2001-05-31 Akim Demaille <akim@epita.fr>
8465 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8466 Add copyright and comments.
8467 * acheaders: Add stdint.h.
8468 Suggested by Paul Eggert.
8470 2001-05-31 Akim Demaille <akim@epita.fr>
8472 * atgeneral.m4 (AT_INIT): Use $SHELL.
8473 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8475 2001-05-31 Akim Demaille <akim@epita.fr>
8477 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8479 From Paul Eggert and Lars Hecking.
8481 2001-05-31 Akim Demaille <akim@epita.fr>
8483 * tests/base.at: Adjust line numbers in error messages.
8485 2001-05-31 Akim Demaille <akim@epita.fr>
8487 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8488 to emit the bangshe line.
8489 Reported by David Carter.
8491 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8493 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8494 Fortran (95) compilers to check.
8496 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8498 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8501 2001-05-23 Pavel Roskin <proski@gnu.org>
8503 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8504 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8505 (AC_PROG_CXXCPP): Likewise.
8507 2001-05-22 Akim Demaille <akim@epita.fr>
8509 * config: New directory.
8510 * configure.in: AC_CONFIG_AUX_DIR it.
8511 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8513 2001-05-22 Akim Demaille <akim@epita.fr>
8515 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8516 * autoupdate.in: Specify the Emacs mode.
8517 * acversion.m4.in: Rename as...
8518 * acversion.m4: this.
8519 * tests/Makefile.am (CLEANFILES): More garbage.
8521 2001-05-22 Akim Demaille <akim@epita.fr>
8523 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8525 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8528 2001-05-21 Akim Demaille <akim@epita.fr>
8530 * configure.in: Bump to 2.50a.
8534 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8536 This file is part of GNU Autoconf.
8538 GNU Autoconf is free software; you can redistribute it and/or modify
8539 it under the terms of the GNU General Public License as published by
8540 the Free Software Foundation; either version 2, or (at your option)
8543 GNU Autoconf is distributed in the hope that it will be useful,
8544 but WITHOUT ANY WARRANTY; without even the implied warranty of
8545 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8546 GNU General Public License for more details.
8548 You should have received a copy of the GNU General Public License
8549 along with autoconf; see the file COPYING. If not, write to
8550 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8551 Boston, MA 02110-1301, USA.