1 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
3 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
4 Remove core.conftest.* too; it's generated by Tru64 5.1.
5 Problem reported by Jennis Pruett.
6 * lib/autoconf/functions.m4
7 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
8 Don't bother to remove core files; AC_RUN_IFELSE should do that
11 2005-04-19 Stepan Kasal <kasal@ucw.cz>
13 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
15 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
17 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
18 Report from Horst Wente.
20 2005-04-15 Stepan Kasal <kasal@ucw.cz>
22 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
25 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
27 * doc/autoconf.texi (External Software, Package Options): Add
28 examples showing how to implement --with-* and --enable-* options.
30 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
32 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
33 as well as configure.in. Problem reported by Gregorio Guidi.
35 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
37 * doc/autoconf.texi (Particular Functions): Use gnulib's current
38 pattern for alloca snippet.
40 2005-04-04 Stepan Kasal <kasal@ucw.cz>
42 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
44 2005-04-01 Stepan Kasal <kasal@ucw.cz>
46 * doc/autoconf.texi (Generic Programs): Fix a typo.
48 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
50 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
51 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
53 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
56 Merge `-z option' as well for the benefit of Solaris link flags. Pass
57 whole-archive (-zallextract, -zdefaultextract) options in the hope of
58 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
59 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
61 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
63 * NEWS: The configure command now warns you if you attempt to use
64 a directory whose name contains a special character like space,
66 * doc/autoconf.texi (Installation Directory Variables): Allow
67 "," in file names. Do not use \@; it's not a portable regexp.
68 * bin/Makefile.am (edit): Likewise.
69 * lib/Makefile.am (edit): Likewise.
70 * tests/Makefile.am (edit): Likewise.
71 * tests/semantics.at: Likewise.
72 * tests/torture.at: Likewise.
73 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
74 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
75 * doc/autoconf.texi (File System Conventions): Warn about
76 unportable file names.
77 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
79 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
80 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
81 ac_pwd, and quote srcdir.
82 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
84 * doc/autoconf.texi: Fix some systematic formatting problems.
85 ".)" needs a following @: if not at the end of a sentence, and
86 similarly for "!)". "etc." should be preceded by a comma.
87 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
89 2005-03-22 Bruno Haible <bruno@clisp.org>
91 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
92 argument is often called 'build-aux'.
94 2005-03-07 Stepan Kasal <kasal@ucw.cz>
96 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
97 macro AC_TRY_LINK is obsolete.
98 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
101 2005-02-24 Stepan Kasal <kasal@ucw.cz>
103 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
104 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
105 from a Common Lisp's `cl'.
106 (AC_PROG_CXX): Behave according to the documentation: don't
107 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
108 make the variable CCC precious; use `cl.exe', not `cl'.
110 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
111 Alexandre Duret-Lutz <adl@gnu.org>
113 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
114 /dev/null, as "configure" shouldn't read stdin, and this insulates
115 us from problems (e.g., when testing for "cl"). Also, do this
116 redirection before invoking "hostname" or "uname", and keep the
117 original input stream available via...
118 (AS_ORIGINAL_STDIN_FD): ... this new macro.
119 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
120 bother with "</dev/null" since it's now done at the top of
122 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
123 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
124 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
125 * doc/autoconf.texi (File Descriptor Macros): New section.
126 (Printing Messages): Mention it.
127 * tests/base.at (Input/Output): New test.
129 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
131 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
132 newline if neither \c nor -n work, as that would output two
133 newlines. Prefer -n to \c. Reported by Stepan Kasal.
135 2005-02-12 Stepan Kasal <kasal@ucw.cz>
137 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
138 This causes that any required macros inside will get before the if.
139 * doc/autoconf.texi (autom4te.cache): A typo.
141 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
143 Undo previous change, except keep the change to
144 lib/autoconf/programs.m4 that replaced grep with shell
145 pattern-matching. This is because net-snmp configure reads stdin.
146 Reported by Noah Misch.
148 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
150 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
151 from /dev/null, as "configure" shouldn't read stdin, and this
152 insulates us from problems (e.g., when testing for "cl").
153 Suggested by Alexandre Duret-Lutz. Also, do this redirection
154 before invoking "hostname" or "uname".
155 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
156 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
157 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
158 "</dev/null" since it's now done at the top of 'configure'.
159 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
160 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
161 Also, replace grep with shell pattern-matching, to save a process.
163 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
165 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
166 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
167 avoid thinking that Allegro Common Lisp's "cl" command is a C++
170 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
172 * doc/autoconf.texi (Limitations of Usual Tools): Document that
173 grep -q isn't portable. Improve grep -s explanation.
174 Problem reported by Dan Manthey.
176 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
178 * doc/autoconf.texi (Special Shell Variables): Clarify
179 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
181 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
183 * doc/autoconf.texi: Use @acronym for DJGPP.
184 Fix some @code's that should have been @env's, and vice versa.
185 Sort environment variable names.
186 Mention that shells no longer inherit IFS.
187 Don't recommend PATH_SEPARATOR=';' so strongly.
188 Mention that $RANDOM might expand to the empty string.
189 "symlink" and "soft link" -> "symbolic link".
190 Improve mktemp description (reported by Bruno Haible).
192 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
194 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
195 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
197 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
200 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
202 * NEWS: Mention AT_COPYRIGHT.
204 * tests/local.at (AT_CMP): Use diff directly on input files rather
207 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
208 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
210 2005-02-04 Noah Misch <noah@cs.caltech.edu>
211 and Paul Eggert <eggert@cs.ucla.edu>
213 * tests/autotest.at (Empty test suite): New test.
214 * tests/torture.at (Substitute and define special characters)
215 (Substitute a 2000-byte string, Define to a 2000-byte string)
216 (Substitute a newline, Define a newline): New tests.
218 2005-02-04 Noah Misch <noah@cs.caltech.edu>
220 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
221 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
222 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
223 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
224 (Standard regular expressions): New test.
225 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
226 excess test name quoting.
227 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
228 CPPFLAGS to `configure' instead of setting it in `configure'.
230 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
231 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
234 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
235 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
237 * tests/local.at (AT_CMP): New macro.
238 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
239 (AC_SAVE_STATE): Move environment grep...
240 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
241 (AT_CONFIG_CMP): New macro.
242 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
243 * tests/c.at (Extensions): Do not exit early.
244 * tests/atlocal.in: Inherit $GREP.
246 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
247 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
249 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
250 (AC_COPYRIGHT): Factor header comment portion out and move into...
251 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
252 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
253 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
255 * tests/local.at: Add Autoconf test suite copyright notice.
256 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
258 2005-02-04 Bruno Haible <bruno@clisp.org>
259 and Paul Eggert <eggert@cs.ucla.edu>
261 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
263 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
265 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
266 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
268 Try not to generated lines of unlimited length, as POSIX places a
269 2047-byte limit on line length of portable text files.
270 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
271 Use newline as a separator, not space.
272 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
273 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
276 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
278 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
279 as_func_*. Add test to check whether positional parameters
280 are restored after function return.
282 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
284 * doc/autoconf.texi (Special Shell Variables): Mention _,
285 BIN_SH, DUALCASE. Say that variables other than "status" are safe
286 if they contain a lower-case letter. The DUALCASE problem was
287 reported by Ralf Wildenhues.
289 * bin/autoconf.as: Don't exit with status 0 after write failure
290 with --help or --version.
291 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
292 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
294 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
296 * doc/autoconf.texi (Limitations of Usual Tools):
297 Unicos 9 sed limitations.
298 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
299 to get the option-enhanced interface on older Crays. Try ftn for
300 Fortran 95 (newer Crays).
302 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
304 * man/Makefile.am (.x.1): Go back to the simple solution, but take
305 care to echo the commands, so the user knows what's going on.
306 Modified from a suggestion by Stepan Kasal.
308 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
309 with a cross reference. Derived from a suggestion by Bruce Korb.
311 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
313 * doc/autoconf.texi (config.status Invocation): Warn about
314 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
315 * doc/install.texi (Defining Variables): Likewise.
316 Based on a proposed patch by Ralf Wildenhues.
318 * man/Makefile.am (.x.1): Make sure the required generated files
319 are up to date. Problem and original solution proposed by Stepan Kasal.
320 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
321 implicit-man-prerequisites): New rules, used by the above.
323 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
324 * config/config.guess, config/config.sub, config/install-sh: Likewise.
325 * config/missing, config/texinfo.tex: Likewise.
327 2005-01-29 Stepan Kasal <kasal@ucw.cz>
329 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
330 Update the long comment explaining it.
332 m4_require no longer writes an ``is required by'' line to the
333 execution stack. It contains only one bit of non-redundant
334 information: that the macro was required, not called. And even
335 this bit is useless in most situations: have you ever met a macro
336 which both calls and requires the same macro?
338 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
339 (_m4_defun_pro_outer): ... only via this macro, for the outermost
341 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
342 (m4_expansion_stack_pop): Remove the misplaced comment.
343 (m4_require): Don't put the ``is required by'' line to the
344 execution stack; slightly improve the out-of-a-defun error message.
345 (_m4_divert_grow): New macro, counter for the temporary diversions.
346 (_m4_require_call): Use it.
347 * tests/m4sugar.at (m4_require): Expect output without the
348 ``is required by'' messages.
350 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
352 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
353 rather than x for expr.
355 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
357 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
358 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
359 * lib/autotest/general.m4 (AT_INIT): Likewise.
360 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
361 * tests/mktests.sh: Likewise.
363 2005-01-27 Akim Demaille <akim@epita.fr>
365 Have autoheader honor --force.
367 * doc/make-stds.texi, doc/standards.texi: Update from masters.
368 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
369 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
370 from masters, so that FileUtils.pm's update_file provide --force
372 * bin/autoheader.in: Pass $force to update_file so that
373 config.h.in is always recreated when --force.
375 2005-01-24 Stepan Kasal <kasal@ucw.cz>
377 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
379 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
381 * doc/autoconf.texi (Limitations of Builtins): Clarify that
382 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
384 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
386 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
387 Warn about newline stripping in `` and $(). Update Solaris
389 (Limitations of Builtins): Use expr "X...", not expr "x...", as
390 X insulates us from future changes to Posix.
391 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
394 2005-01-19 Stepan Kasal <kasal@ucw.cz>
396 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
397 you cannot use AC_DEFINE to define macros containing `[' or `]'.
399 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
401 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
402 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
403 bug-tar mailing list.
405 2005-01-05 Stepan Kasal <kasal@ucw.cz>
407 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
409 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
411 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
412 ulongval to be static, to avoid unwanted GCC warning. Problem
413 reported by Michael Jennings via Daniel Reed; see
414 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
416 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
418 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
419 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
420 datadir, infodir, and mandir. Adjust argument parsing code.
421 (_AC_INIT_HELP): Update help text.
422 * doc/autoconf.texi (Installation Directory Variables): Document
425 2005-01-04 Noah Misch <noah@cs.caltech.edu>
427 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
428 not seem to work, assume it does set $(MAKE).
429 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
431 2005-01-03 Stepan Kasal <kasal@ucw.cz>
433 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
435 2005-01-03 Stepan Kasal <kasal@ucw.cz>
437 A cleanup of the diversion support in m4sugar.
439 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
440 (_m4_divert_n_stack): New macro; the expansion is
441 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
443 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
444 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
445 stored in _m4_divert_diversion or _m4_divert_dump.
446 (m4_divert_pop): When the parameter is given, compare the symbolic
447 name with the last diversion pushed on the stack. Previously, the
448 current diversion was compared with the numeric value of the
449 diversion given as the parameter.
450 (m4_require): If the macro hasn't been expanded yet, call ...
451 (_m4_require_call): this new macro.
453 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
455 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
456 Workarounds for documented `case' limitations.
458 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
460 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
461 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
463 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
465 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
466 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
467 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
469 Patch from Roger Leigh (with some minor changes) as follows:
470 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
471 Resurrect AC_PROG_CC_STDC.
472 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
473 AC_PROG_CC_C89, AC_PROG_CC_C99.
474 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
475 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
476 AC_PROG_CC_C99): New macros.
477 (AC_PROG_CC_STDC): Use them.
478 (_AC_PROG_CC_STDC): Remove.
479 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
480 * THANKS: Add Roger Leigh.
482 2004-12-30 Noah Misch <noah@cs.caltech.edu>
484 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
485 signals that the package uses Automake; a `Makefile.am' is typical but
486 not essential. Reported by Magnus Therning.
487 * tests/torture.at (autoreconf.): New banner.
488 (autoreconf and non-AC configure): Rename to `Non-Autoconf
490 (autoreconf an empty directory): Rename to `Empty directory'.
491 (Unusual Automake input files): New test.
493 2004-12-30 Noah Misch <noah@cs.caltech.edu>
495 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
496 (AT_SETUP): Clear AT_capture_files.
497 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
498 (AT_KEYWORDS): Fix comment typo.
499 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
500 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
501 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
503 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
505 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
506 If the variable to set is already set, set ac_cv_path_$1
507 to the preset value so caller can assume ac_cv_path_$1
508 is available. (trivial change)
510 2004-12-27 Noah Misch <noah@cs.caltech.edu>
512 * BUGS (Minor Problems): Warn about makefile limitations.
513 * Makefile.am: Find and update `INSTALL' in $(srcdir).
514 * man/Makefile.am: Find and update manual pages in $(srcdir).
516 2004-12-24 Eric Blake <ebb9@byu.net>
518 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
519 shells in subshell, to avoid noise from ash. (trivial change)
521 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
523 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
524 problems with SunOS ksh and backslash escaping, Bourne shells and
525 closing brackets (both within character classes). Bug reported
526 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
527 <read>: New entry. Mention non-availability of -r.
529 2004-12-21 Akim Demaille <akim@epita.fr>
531 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
532 avoid cluttering displayed messages. Rather, prepend srcdir where
533 AT_LINE is used for log files.
535 2004-12-21 Stepan Kasal <kasal@ucw.cz>
537 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
538 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
539 no longer part of the macro, quote the occurrence of ``$tmp''.
540 * doc/autoconf.texi (Forbidden Patterns): Typo.
542 2004-12-21 Akim Demaille <akim@epita.fr>
544 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
545 separated from the test title by forcing a white space.
547 2004-12-21 Akim Demaille <akim@epita.fr>
549 Enable Emacs navigation within testsuite.log files.
551 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
552 use the compilation mode.
553 (AT_LINE): Point to the srcdir.
555 2004-12-19 Noah Misch <noah@cs.caltech.edu>
557 * tests/Makefile.am (installcheck-local): Use $(bindir).
558 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
559 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
560 Makefile.am scheme Autoconf now uses.
562 2004-12-18 Noah Misch <noah@cs.caltech.edu>
564 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
565 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
567 2004-12-18 Noah Misch <noah@cs.caltech.edu>
569 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
571 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
572 (AS_ESCAPE): Fix comment.
573 * tests/autotest.at: Adjust section banner comments.
574 (AT_CHECK_AT): Accept STATUS and STDERR.
575 (AT_CHECK_AT_TEST): Likewise.
576 (Invalid brace-enclosed parameter expansion)
577 (Multiline command from M4 expansion)
578 (Double-M4-quoted command): New tests.
580 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
582 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
584 2004-12-17 Akim Demaille <akim@epita.fr>
586 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
588 Suggested by Alexandre Duret-Lutz.
589 * doc/autoconf.texi (Setting Output Variables): Catch up.
591 2004-12-17 Stepan Kasal <kasal@ucw.cz>
593 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
595 2004-12-17 Stepan Kasal <kasal@ucw.cz>
597 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
598 remove the comment which said we cannot.
600 2004-12-17 Stepan Kasal <kasal@ucw.cz>
602 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
603 Reini Urban and Paul Eggert for reporting the dependencies.
605 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
606 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
607 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
609 2004-12-17 Stepan Kasal <kasal@ucw.cz>
611 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
612 so that eg. ``autoscan --help'' doesn't truncate it.
614 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
616 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
617 generated conftest files.
619 2004-12-13 Noah Misch <noah@cs.caltech.edu>
621 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
622 tracing on commands with possibly-escaped newlines.
623 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
624 discontinued behavior and its implications.
625 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
626 (BSx641-newline in command, BS-BS-newline in command)
627 (BSx640-newline in command, Newline-CODE-BS-newline in command)
628 (Single-quote-BS-newline in command)
629 (Single-quote-newline-BS-newline in command): New tests.
631 2004-12-13 Stepan Kasal <kasal@ucw.cz>
633 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
634 on platforms where it works.
635 (_AS_TEST_PREPARE): Test for ``test -x''.
636 (_AS_BROKEN_TEST_PREPARE): Nuke.
638 2004-12-13 Stepan Kasal <kasal@ucw.cz>
640 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
641 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
642 give only 4-letter prefix to AS_TMPDIR, comment fixed.
643 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
644 create the temporary directory.
645 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
647 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
649 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
652 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
654 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
656 2004-12-11 Noah Misch <noah@cs.caltech.edu>
658 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
659 to avoid using a negated character class. Reported by Nicolas Joly.
660 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
662 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
664 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
665 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
666 Don't depend on .x file explicitly, since "make" does that for us.
667 Suggested by Stepan Kasal.
669 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
671 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
672 ifnames): Factor common code. And they said it couldn't be done!
674 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
676 * bin/.cvsignore: Add autoconf.in.
677 * tests/.cvsignore: Add wrapper.in.
678 * lib/autotest/general.m4: Escape '$' in case pattern.
680 2004-12-09 Noah Misch <noah@cs.caltech.edu>
682 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
684 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
686 * tests/autotest.at: New file.
687 * tests/suite.at: Include it.
688 * tests/Makefile.am: Distribute it.
690 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
691 shell tracing on a command that could contain multiple lines.
692 * doc/autoconf.text: Document that fact and its implications.
693 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
694 * tests/autotest.at (Multiline backquote command substitution,
695 Multiline parameter expansion, Literal multiline command,
696 Multiline parenthetical command substitution): Remove XFAIL.
698 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
700 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
701 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
703 2004-12-08 Noah Misch <noah@cs.caltech.edu>
705 * configure.ac (test suite): Cease to generate wrapper scripts.
706 * configure: Regenerate.
707 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
708 (m4f_dependencies): Adjust accordingly.
709 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
710 (wrapper.in): Generate it in the build directory.
711 (MAINTAINERCLEANFILES): Delete wrapper.in.
712 (CLEANFILES): Add wrapper.in.
713 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
714 the output. Replace each $as_me with a @wrap_program@.
715 * tests/wrapper.in: Delete it; we always build it.
717 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
718 (EXTRA_DIST): Remove autoconf.in.
719 (CLEANFILES): Add autoconf.in.
720 (autoconf): Find autoconf.in in the build directory.
721 * bin/autoconf.in: Delete it; we always build it.
723 2004-12-08 Noah Misch <noah@cs.caltech.edu>
725 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
726 PATH members so as to not prepend an empty element. Move a comment.
727 * Makefile.am (SUBDIRS): Build in `tests' last.
728 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
730 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
732 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
733 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
734 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
735 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
737 2004-12-07 Stepan Kasal <kasal@ucw.cz>
739 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
742 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
744 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
745 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
746 * doc/autoconf.texi (Particular Functions): Mention new behavior.
748 2004-12-03 Stepan Kasal <kasal@ucw.cz>
750 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
751 out the common code to ...
752 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
753 value of the #define--default to 1, iff the macro was called
754 with exactly one parameter.
756 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
758 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
759 "char c = '\200';" rather than "char c = 0x80;" as the
760 latter doesn't conform to the strict C standard due to
761 overflow on signed char hosts.
763 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
764 to -qlanglvl=ansi. We don't want to disable extensions.
766 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
768 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
769 (Using Autotest, testsuite Scripts, Writing testsuite.at):
770 Reword slightly to avoid some English-language problems noted
771 by Ralf Wildenhues in:
772 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
774 2004-11-29 Stepan Kasal <kasal@ucw.cz>
776 * NEWS: Add ^L above each release.
778 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
780 Fix documentation problems reported by Russ Boylan in
781 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
782 along with some nearby cruft.
783 * doc/autoconf.texi (Libtool): Libtool can be used without
784 Automake (not without Autoconf).
785 (Introduction): Mention lists.gnu.org.
786 * BUGS: Don't mention bugs.gnu.org.
787 Remove mention of ancient libtool compatibility problem.
788 * NEWS: Mention that bugs.gnu.org is kaput.
789 * README: Likewise. Mention where mailing list archives can be found.
791 2004-11-28 Stepan Kasal <address@ucw.cz>
793 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
794 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
796 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
798 * doc/autoconf.texi (Pretty Help Strings): Go back to
799 single-quoting assignments to cache variables.
801 2004-11-23 Stepan Kasal <kasal@ucw.cz>
803 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
804 with the examples; fix the bug in MY_ARG_WITH example reported
805 by Alexandre Duret-Lutz.
806 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
807 expansion of $1 in the comment emitted to configure.
809 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
811 * doc/autoconf.texi (Pretty Help Strings): Fix typo
812 in my editing of the previous patch. Problem reported
813 by Alexandre Duret-Lutz.
815 2004-11-22 Stepan Kasal <kasal@ucw.cz>
817 * doc/autoconf.texi (Autoconf Language): Explain that
818 ``descriptions'' may not be double quotes.
819 (Quotation Rule Of Thumb): Likewise.
820 (Pretty Help Strings): Likewise; remove the wrong comment;
821 simplify the examples and improve their quoting.
823 2004-11-13 Stepan Kasal <kasal@ucw.cz>
825 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
826 the $1_found variable, don't test whether the file is executable;
827 Both things are checked ...
828 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
829 the former ``test -f''.
830 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
832 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
834 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
837 2004-11-10 Derek R. Price <derek@ximbiot.com>
839 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
840 limitations. Reorder paragraphs for clarity.
842 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
844 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
845 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
846 variants", "Unix", and some related minor wording fixups.
848 (Shellology, Special Shell Variables): Document that the Zsh
849 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
850 to Alexandre Duret-Lutz for this info.
852 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
854 * doc/autoconf.texi (One-Shot Macros): New node.
856 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
858 * doc/autoconf.texi (Function Portability): Fix misdescription
859 of putenv. Problem reported by Michael Wardle.
861 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
863 * doc/autoconf.texi (auindex): New macro.
864 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
865 Problem reported by Stepan Kasal.
867 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
869 Fix problems reported by Andreas Buening in:
870 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
871 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
873 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
874 readable; it's not true in OS/2-emx.
876 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
878 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
879 "/usr/include", clear ac_x_includes instead of leaving it as "no"
880 (trivial change). Problem and patch reported by Andrew Church in:
881 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
883 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
885 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
886 three args in examples. Problem reported by Frederik Fouvry in:
887 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
888 Also, fix some minor spacing and punctuation bugs.
890 2004-09-02 Akim Demaille <akim@epita.fr>
892 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
893 "case" to restore ordering.
894 Reported by Stepan Kasal.
896 2004-08-26 Akim Demaille <akim@epita.fr>
898 * doc/autoconf.texi: Minor typos and stylos.
900 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
902 * configure.ac (AC_INIT): Bump to 2.59c.
904 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
908 * README: Add advice about m4 1.4.2.
910 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
911 texinfo.tex for now (done by hand now).
912 * Makefile.maint (wget_files, cvs_files):
913 Remove ansi2knr.c; nobody uses it.
914 (ansi2knr.c-url_prefix): Remove.
915 (cvs-update): Fix test for failure. I don't know why it ever
918 * doc/autoconf.texi: Update URLs, some of which went stale.
919 Use @uref rather than @href.
921 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
922 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
924 * config/config.guess, config/config.sub, config/elisp-comp,
925 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
926 doc/fdl.texi, doc/standards.texi: Sync with master copy.
928 * NEWS, TODO, configure.ac, bin/autoscan.in,
929 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
930 doc/install.texi, lib/Autom4te/Configure_ac.pm,
931 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
932 lib/autoconf/programs.m4, lib/autoconf/status.m4,
933 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
934 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
935 tests/tools.at, tests/torture.at:
936 Use "file name" rather than "filename" or "path",
937 to be consistent with the terminology of the GNU coding standards.
939 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
941 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
942 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
943 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
944 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
946 More fixes to support spaces in the name of the build directory.
947 This isn't a complete fix but it's an improvement.
949 * bin/autoconf.as (autom4te_options): New var.
950 Use it instead of appending to AUTOM4TE, so that we can allow
951 spaces in the build directory's absolute name.
952 * bin/autoheader.in ($autoconf): Allow spaces in file names.
953 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
954 AT_CHECK_NOESCAPE): Likewise.
955 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
956 main program): Likewise.
958 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
960 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
961 From Ralf Corsepius in:
962 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
964 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
966 * doc/autoconf.texi (Function Portability): Document isinf and
967 and isnan. From a suggestion by Kevin Ryde.
969 * lib/Autom4te/General.pm (END): Return correct exit status even
970 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
972 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
974 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
975 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
976 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
978 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
980 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
981 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
982 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
983 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
984 * lib/autom4te.in (Automake-preselections): Preselect
985 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
987 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
989 * lib/autom4te.in (Automake-preselections): Preselect
990 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
993 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
995 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
997 * doc/autoconf.texi (Shellology): Mention BIN_SH.
998 Document problem with "`""`" in pdksh POSIX mode.
1000 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1002 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1003 with pdksh, too. Problem reported by Patrick Welche via
1005 * doc/autoconf.texi (Shellology): Note that set -o posix is
1006 useful for pkdsh, too.
1008 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1010 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1011 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1012 Don't fail if ENV or BASH_ENV is readonly.
1013 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1014 etc. are read only. Problem reported by Ludovic Courtes.
1016 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1018 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1019 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1022 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1024 * doc/autoconf.texi (File System Conventions): Warn about
1025 names like "aux". Problem reported by Eric Blake.
1027 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1028 by zero instead of array size, so that we can use any arithmetic
1029 constant expression (instead of requiring an integer constant
1030 expression). This allows us to test expressions like DBL_MAX <
1031 LDBL_MAX, which didn't conform to the C standard using the old
1033 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1034 now that we can do floating-point tests at compile time.
1036 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1038 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1039 and LDBL_EPSILON, as the resulting expression isn't an
1040 integer constant expression and violates the C standard.
1041 Problem reported by Nelson H. F. Beebe. Also, check
1042 for "L" suffix, and check that long double doesn't have
1043 worse range or precision than double, that mixed-mode
1044 arithmetic doesn't generate a diagnostic, that double
1045 constants fit in long double.
1047 2004-06-03 Kevin Ryde <user42@zip.com.au>
1049 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1050 malloc(0) and realloc(NULL,size).
1052 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1055 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1057 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1058 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1061 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1063 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1064 can be rewritten using if-then-else. Suggested by Bruno Haible.
1066 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1068 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1069 Problem reported by Stepan Kasal.
1071 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1073 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1074 change). Patch reported by Ralf Wildenhues in
1075 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1077 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1078 function F exists if the compiler and linker let you compile an
1079 expression like (F != 0). Recent versions of GCC optimize away
1080 the reference to F in that case, since every function address must
1081 be nonzero, so the link succeeds even if F does not exist.
1082 Problem reported by Manu in
1083 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1085 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1086 "Unix". Many uses changed.
1087 (Limitations of Builtins): Explain better why the ! command isn't
1090 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1092 * lib/autom4te.in (Automake-preselections): Preselect
1093 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1095 2004-05-19 Kevin Ryde <user42@zip.com.au>
1097 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1098 referencing AC_FUNC_STRERROR_R.
1100 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1101 note pessimistic assumption when cross compiling.
1103 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1105 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1106 (until 2004) invoked subcommands with sh -e, contra POSIX.
1107 Reported by Kevin Ryde.
1109 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1111 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1112 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1113 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1114 `test -f " /usr/bin/grep"', which _always_ failed.
1115 (AC_PROG_SED): Ditto bogus PATH fix.
1116 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1117 requires that grep correctly supports _multiple_ `-e' options, rather
1118 than stating only that grep should accept `-e'.
1120 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1122 Port to C99, which requires that 'exit' be declared.
1124 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1125 to ensure that stdlib.h is included.
1126 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1127 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1128 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1129 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1130 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1131 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1132 when using 'exit' in a test; C99 requires that 'exit' be declared.
1134 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1136 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1137 now prefers 'grep' implementations that accept -e.
1138 (Limitations of Usual Tools): Describe problems of traditional
1139 egrep and fgrep with long input lines, and of traditional grep
1141 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1142 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1143 All callers changed. Append /usr/xpg4/bin to the PATH, for
1145 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1146 the user with complaints about multiple -e options.
1147 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1148 Define it with AC_PROG_GREP.
1149 * configure.ac (AC_PROG_GREP): Add.
1150 * lib/freeze.mk (GREP): New macro.
1152 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1154 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1155 a possible candidate only after all others fail, rather than
1156 consulting it first. This improves backward compatibility by
1157 better reflecting the way shell selection occurred in previous
1158 versions of Autoconf, and should help to avoid triggering latent
1159 problems in other packages, such as the one in Automake where zsh
1160 is not handled robustly:
1161 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1162 Although it is not Autoconf's responsibility to work around
1163 problems in Automake, it nevertheless makes sense to avoid
1164 introducing unnecessary incompatibilites.
1166 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1167 Gary V. Vaughan <gary@gnu.org>
1169 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1170 how deeply nested we are when a suitable tool is found, set the
1171 ac_path_TOOL_found flag.
1172 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1173 nested we are in this macro. Break out of all 3 nested loops if
1174 ac_path_TOOL_found is set.
1176 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1178 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1179 of the _AS_PATH_WALK loop too if GNU flavor is found.
1181 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1183 * doc/autoconf.texi (Limitations of Make): Update documentation
1184 for `$<'. New entry `Long lines', based on a report from Simon
1185 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1186 paragraph about DJGPP, based on a mail from Richard Dawe.
1188 2004-04-20 Paul Eggert <eggert@twinsun.com>
1190 * tests/c.at (C keywords): Don't assume that GCC supports
1191 "restrict" and "inline", as sufficiently-old GCC versions do not
1192 (also, GCC configured to be in pedantic C89 mode does not).
1193 Problem reported by Sumit Pandya in:
1194 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1196 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1197 consider -g to work if it generates warnings when plain compiles
1198 don't. Problem reported by Braden McDaniel in:
1199 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1201 * doc/autoconf.texi (Slashes): New section, to document a problem
1202 reported by Jim Meyering in:
1203 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1205 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1206 linker output files before linking, to work around IRIX 6 linker bug.
1207 Problem reported by Rainer Orth in:
1208 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1210 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1212 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1213 best tool so far counter rely on the tool path variable name to
1214 avoid checks for one tool being affected by the results of running
1215 the length check on a previous tool.
1217 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1218 match expression argument, as different greps have different
1219 regular expression flavours.
1220 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1222 (AC_PROG_EGREP): Pass 'EGREP$'.
1223 (AC_PROG_GREP): Pass 'GREP$'.
1225 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1227 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1228 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1230 2004-03-29 Paul Eggert <eggert@twinsun.com>
1232 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1233 Types, Specific Compiler Characteristics, System Services,
1234 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1235 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1236 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1237 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1239 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1240 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1241 AC_TYPE_OFF_T): Likewise.
1242 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1245 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1246 pacify libtool 1.5.2. Fix quoting problems in sed command.
1248 2004-03-28 Paul Eggert <eggert@twinsun.com>
1250 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1251 now defines HAVE_DECL_TZNAME if it is declared, when
1252 HAVE_STRUCT_TM_TM_ZONE is not defined.
1253 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1254 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1257 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1259 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1260 superfluous backslashing of quotes (") in sed expressions;
1261 thanks to Paul Eggert.
1263 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1265 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1266 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1267 H. F. Beebe for the bug report.
1269 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1271 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1272 quoted -cmdline argument in Portland Group compiler (bug
1273 reported by Jeffrey J. Barteet).
1275 2004-03-25 Kevin Ryde <user42@zip.com.au>
1277 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1278 (Run Time): ... here, where it's now mentioned.
1280 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1282 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1283 inherits from language Autoconf-without-aclocal-m4.
1284 (Customizing autom4te): Adjust example; the cache must now be
1285 disabled for language Autoconf-without-aclocal-m4.
1287 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1288 Nathanael Nerode <neroden@twcny.rr.com>
1290 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1291 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1293 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1294 AC_CHECK_TARGET_TOOLS): New macros.
1295 * doc/autoconf.texi (Generic Programs): Document
1296 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1297 AC_CHECK_TARGET_TOOLS, and warn for future changes
1298 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1300 (Specifying Names): Document the reason for these future
1302 * tests/mktests.sh: Do not generate tests for the
1304 * NEWS: Document these changes.
1306 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1307 they make TeX hang up.
1309 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1311 * NEWS: New macro AC_CHECK_ALIGNOF.
1312 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1313 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1314 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1316 (AC_CHECK_ALIGNOF): New macro.
1317 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1318 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1321 2004-03-03 Paul Eggert <eggert@twinsun.com>
1323 * bin/Makefile.am (edit): Don't use $< in a context where
1324 POSIX doesn't require support for it. Use $@.in instead.
1325 Problem reported by Anthony N. Frasso in
1326 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1327 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1329 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1331 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1332 from the next generation of Libtool.
1333 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1335 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1337 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1338 is not always thread-safe. Report from Nathanael Nerode.
1340 2004-02-18 Paul Eggert <eggert@twinsun.com>
1342 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1343 problem on QNX reported by Stephen Rasku in
1344 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1346 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1347 $(m4sh_m4f_dependencies); this removes a FIXME.
1348 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1349 (MAINTAINERCLEANFILES): Split into pieces,
1350 one per related section. Add $(srcdir)/wrapper.in.
1352 2004-02-09 Paul Eggert <eggert@twinsun.com>
1354 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1355 AC_SUBST provides no portable way to escape literal newlines.
1357 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1358 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1359 Darwin uses -lcrt2.o and there's little point to cataloging all
1360 the system variants. Partial fix reported by Andreas Waechter in:
1361 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1362 for bug reported by Nelson H. F. Beebe in:
1363 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1365 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1367 * doc/autoconf.texi (AU_DEFUN): Fix English,
1368 suggested by Paul Eggert.
1369 * lib/autoconf/autoupdate.m4: Correct reference to
1370 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1372 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1374 * bin/autoupdate.in: Define __file__ so that warnings
1375 refer to the correct file.
1376 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1377 the behavior of the third argument.
1378 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1379 correctly the behavior of the third argument. Document
1380 what the three macros that AU_DEFUN defines do. Fix
1381 warning message when the third argument includes $0
1382 (reported by Alexandre Duret-Lutz).
1384 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1385 Eric Sunshine <sunshine@sunshineco.com>
1386 Paul Eggert <eggert@twinsun.com>
1388 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1389 (AS_INIT): Output shell initialization there. Removed optional
1390 parameter. Expand _AS_SHELL_FN_SPY.
1391 (AS_INIT_WITH_SHELL_FN): Removed.
1392 (_AS_SHELL_FN_SPY): New macro.
1393 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1395 (AS_SHELL_SANITIZE): Remove loop to find better shell
1396 and documentation for the parameter.
1397 (_AS_DETECT_BETTER_SHELL): Move it here.
1398 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1399 (_AS_RUN): Move it here, support testing with eval.
1400 (AS_REQUIRE_SHELL_FN): Require shell functions when
1402 (_AS_LINENO_WORKS): Put around braces, we do not
1403 trigger the bash bug anymore.
1404 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1405 use AS_INIT_WITH_SHELL_FN.
1406 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1408 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1410 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1411 * doc/autoconf.texi: Don't say that the third parameter
1413 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1414 (AU_DEFUN): Honor the third parameter, create autoupdate
1415 macros with AU_DEFINE.
1416 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1417 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1418 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1419 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1420 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1421 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1422 AC_XENIX_DIR): Likewise.
1423 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1424 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1425 * lib/autoconf/status.m4: Remove FIXME.
1426 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1427 that the macro is not present anymore in the updated
1429 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1432 2004-01-28 Paul Eggert <eggert@twinsun.com>
1434 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1436 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1437 2003 (except 1997) to the list of copyright years. This undoes
1438 the 2003-05-22 change, which removed the older years from the list.
1439 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1441 2004-01-27 Gary V. Vaugan <gary@gnu.org>
1442 Albert Chin-A-Young <china@thewrittenword.com>
1444 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1445 grep or ggrep program in PATH that accepts as long lines as
1447 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1449 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1450 egrep and fgrep respectively if $GREP -E/-F don't work.
1451 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1452 _AC_PROG_GREP, and AC_PROG_SED.
1453 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1454 longest input length accepted by a command.
1455 (AC_PROG_SED): Use it.
1456 * doc/autoconf.texi (Particular Programs): Document the changes.
1459 2004-01-27 Paul Eggert <eggert@twinsun.com>
1461 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1462 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1463 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1464 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1466 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1467 bin/autoconf.in, config/Makefile.in, config/config.guess,
1468 config/config.sub, config/install-sh, config/mdate-sh,
1469 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1470 lib/Makefile.in, lib/Autom4te/Makefile.in,
1471 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1472 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1473 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1474 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1475 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1476 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1477 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1478 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1479 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1480 tests/actypes.at: Regenerate and/or sync with original
1483 2004-01-26 Paul Eggert <eggert@twinsun.com>
1485 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1486 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
1487 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1488 not <inttypes.h>. Problem reported by Tim Mooney in
1489 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1490 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1493 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1494 otherwise "make check" fails because it forbids cmp (I guess
1495 because cmp treats files as binary on DOS-like systems).
1497 * tests/mktests.sh: Update copyright date to 2004, since some tests
1498 have changed in 2004.
1500 2004-01-23 Gary V. Vaugan <gary@gnu.org>
1502 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
1503 non-truncating sed or gsed program in PATH.
1504 * tests/acprograms.at: Add it.
1505 * doc/autoconf.texi (Particular Programs): Document it.
1508 2004-01-15 Paul Eggert <eggert@twinsun.com>
1510 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1511 -std1 disables some useful extensions on Tru64. Problem reported
1513 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1515 2004-01-14 Paul Eggert <eggert@twinsun.com>
1517 * doc/autoconf.texi (Programming in M4sh): Document that
1518 AS_MKDIR_P succeeds if the destination is a symbolic link
1519 to an existing directory.
1520 (Limitations of Usual Tools): Note that mkdir -p might not
1521 succeed on symlinks to directories.
1523 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
1525 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1526 * bin/autoheader.in: Grammar fix in message.
1527 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1528 Test for dir before calling mkdir -p. (trivial changes)
1530 2004-01-13 Eric Blake <ebb9@byu.net>
1532 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1533 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
1535 2004-01-10 Jim Meyering <jim@meyering.net>
1537 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1539 2004-01-09 Paul Eggert <eggert@twinsun.com>
1541 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1542 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
1543 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1544 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1545 AC_COMPILE_IFELSE, since we now assume our caller invokes
1546 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1547 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1548 of AC_RUN_IFELSE; this avoids the warning mentioned above.
1549 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1551 2004-01-07 Paul Eggert <eggert@twinsun.com>
1553 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1554 `"'...'"`, as it's confusing (and I suspect it may not work on
1555 some platforms). The code was incorrect anyway, as it assumed
1556 that \$ evaluated to itself in that context. Reported by
1557 Alexandre Duret-Lutz.
1559 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1561 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
1562 and _LT_AC_TAGCONFIG.
1564 2004-01-06 Paul Eggert <eggert@twinsun.com>
1566 * doc/autoconf.texi (One Macro Call): Fix an incorrect
1567 example, and add more examples. Reported by Eric Sunshine.
1569 2004-01-05 Paul Eggert <eggert@twinsun.com>
1571 * doc/autoconf.texi (Limitations of Usual Tools):
1572 Remove warning against "rm -fr" introduced yesterday; it
1575 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
1576 autoscan, autoupdate, ifnames): Don't use chmod -w.
1577 * lib/Makefile.am (autom4te.cfg): Likewise.
1578 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
1581 2004-01-04 Paul Eggert <eggert@twinsun.com>
1582 Paolo Bonzini <bonzini@gnu.org>
1584 * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
1585 by doing lineno substitution only on lines containing "$LINENO".
1587 2004-01-04 Paul Eggert <eggert@twinsun.com>
1589 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
1590 Use "rm -f" to remove conftest.sed, not plain "rm".
1591 Bug reported by David Relson in
1592 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
1594 * Makefile.am (autom4te-update):
1595 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
1596 * Makefile.maint (my-distcheck, do-po-update): Likewise.
1597 * doc/autoconf.texi (Guidelines): Likewise.
1598 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
1599 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
1600 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1601 * lib/autotest/general.m4 (AT_INIT): Likewise.
1602 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
1603 * tests/Makefile.am (clean-local): Likewise.
1604 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
1606 * doc/autoconf.texi (Limitations of Usual Tools):
1607 Warn against "rm -fr".
1609 2004-01-03 Paul Eggert <eggert@twinsun.com>
1611 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
1612 -c -o might not work. From a suggestion by Kevin Ryde.
1613 (C Compiler, Generating Sources, Limitations
1614 of Usual Tools, Limitations of Make, Making testsuite Scripts):
1615 Don't put '-o' after non-options, as POSIX doesn't allow this.
1616 Mention that cc's name might be gcc or c89 or whatever.
1618 2004-01-04 Kevin Ryde <user42@zip.com.au>
1620 * doc/autoconf.texi: Add various further index entries.
1622 2003-12-29 Paul Eggert <eggert@twinsun.com>
1624 * bin/autoreconf.in (autoreconf_current_directory):
1625 Fix typo: mkdir without umask arg.
1627 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
1629 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
1630 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
1631 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
1632 explanation clearer.
1634 2003-12-24 Andreas Schwab <schwab@suse.de>
1636 * doc/autoconf.texi (Default Includes): Fix misspelling of
1637 AC_INCLUDES_DEFAULT.
1639 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1641 * configure.ac: Test if sh -n works.
1642 * configure: Regenerate.
1643 * tests/atlocal.in: Store the result here.
1644 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
1645 tools.at, looking in atlocal's ac_cv_sh_n_works instead
1646 of explicitly testing.
1647 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
1648 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
1649 * tests/tools.at (Syntax of the shell scripts): Simplify
1650 using AT_CHECK_SHELL_SYNTAX.
1651 (Syntax of the Perl scripts): Remove definition of
1652 AT_CHECK_PERL_SYNTAX.
1654 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1656 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
1657 stderr to /dev/null.
1658 * bin/autoconf.in: Regenerate.
1659 * bin/wrapper.in: Regenerate.
1661 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
1663 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
1664 Extracted from AS_SHELL_SANITIZE.
1665 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
1667 (AS_SHELL_SANITIZE): Move reinvocation code from
1668 _AS_LINENO_WORKS, use it to find out if shell
1670 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
1672 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
1673 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
1675 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
1676 * bin/autoconf.in: Regenerate.
1677 * tests/wrapper.in: Regenerate.
1678 * tests/tools.at: Test the syntax of tests/autoconf
1679 and tests/testsuite.
1681 2003-11-24 Akim Demaille <akim@epita.fr>
1683 * config/announce-gen (&print_locations, &print_signatures)
1686 No longer rely on Gnus to inline the list of signatures: compute
1689 2003-11-24 Akim Demaille <akim@epita.fr>
1691 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
1692 override some files.
1693 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
1694 From Debian Autoconf 2.58.
1696 2003-11-24 Akim Demaille <akim@epita.fr>
1698 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
1700 From Debian Autoconf 2.58.
1702 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1704 * TODO: Remove already done things. Update the part about finding
1705 tools for the target.
1707 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1709 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
1710 Make wording more consistent.
1711 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
1712 Explain the transition better.
1713 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
1714 the transition better.
1716 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1718 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
1719 parameter of AU_DEFUN.
1720 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
1721 (AU_DEFUN): Remove the third parameter, it was not used.
1722 Use AC_DEFUN directly, not AU_DEFINE.
1723 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
1724 the expanded body, consistently with other macros such as AC_USG.
1726 2003-11-17 Paul Eggert <eggert@twinsun.com>
1728 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
1729 into the initial confdefs.h, to work around a bug in NextStep 3.3
1730 patch 3 reported by Eric Sunshine.
1732 2003-11-15 Kevin Ryde <user42@zip.com.au>
1734 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
1735 than $target since the latter is not usual, add guidelines on when to
1736 use or not use the system type.
1738 2003-11-12 Derek Price <derek@ximbiot.com>
1740 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
1741 typo misrepaired by an auto-spellcheck.
1743 2003-11-12 Akim Demaille <akim@epita.fr>
1745 * bin/autoreconf.in (&parse_args): Don't call automake with
1746 --force-missing unless it actually supports it.
1747 From Debian #219336.
1749 2003-11-12 Akim Demaille <akim@epita.fr>
1751 * configure.ac: Bump to 2.59a.
1754 2003-11-06 Akim Demaille <akim@epita.fr>
1758 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
1760 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
1761 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
1762 and ac_abs_top_srcdir are absolute paths.
1763 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
1765 2003-11-05 Akim Demaille <akim@epita.fr>
1767 * configure.ac: Bump to 2.58a.
1769 2003-11-05 Kevin Ryde <user42@zip.com.au>
1771 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
1772 it provokes a warning from makeinfo about looking like a cross
1773 reference in info output.
1775 * doc/autoconf.texi (Function Portability): Add notes on signal
1776 handler return type, as per AC_TYPE_SIGNAL.
1778 2003-11-04 Akim Demaille <akim@epita.fr>
1781 * doc/standards.texi: Update from master.
1783 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
1785 2003-11-04 Akim Demaille <akim@epita.fr>
1787 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
1788 computing the absolute path to d1 in the source hierarchy: it may
1789 not exist at all. So don't cd into it.
1790 From Alexandre Duret-Lutz.
1791 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
1793 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
1794 From Paul Eggert, but named after Perl's IO::Spec->catfile.
1795 * doc/autoconf.texi (Programming in M4sh): Document.
1796 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
1798 2003-11-03 Pavel Roskin <proski@gnu.org>
1800 * doc/autoconf.texi (Generic Structure Checks): Describe
1801 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
1803 2003-10-31 Akim Demaille <akim@epita.fr>
1805 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
1807 * doc/autoconf.texi (Language Choice): Document.
1808 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
1809 the current language is Fortran.
1811 2003-10-31 Akim Demaille <akim@epita.fr>
1813 * bin/autom4te.in (&freeze): Use a less likely warning separator
1814 than `\n\n', so that `\n\n\n' is valid in warnings.
1815 Reported by Steve Huston.
1817 2003-10-28 Akim Demaille <akim@epita.fr>
1819 * Makefile.cfg (local_updates, executable-update): Tweak to be
1820 robust to parallel makes.
1821 Suggested by Alexandre Duret-Lutz.
1823 2003-10-27 Akim Demaille <akim@epita.fr>
1825 * Makefile.cfg (executable-update): New.
1826 (local_updates): Call it.
1828 2003-10-27 Akim Demaille <akim@epita.fr>
1830 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
1831 Don't remove core.* as it may remove valid user files.
1832 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
1833 (AC_FUNC_UTIME_NULL): Likewise.
1835 2003-10-23 Akim Demaille <akim@epita.fr>
1838 * config/config.guess, config/config.sub: Upgrade from masters.
1840 2003-10-23 Akim Demaille <akim@epita.fr>
1842 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
1843 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
1846 2003-10-23 Akim Demaille <akim@epita.fr>
1848 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
1849 Don't forget to remove conftest.err.
1851 2003-10-23 Akim Demaille <akim@epita.fr>
1853 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
1854 same object file in $LIBOBJS.
1855 Reported by Alexandre Duret-Lutz & Derek Robert Price.
1856 * doc/autoconf.texi (Generic Functions): Adjust.
1858 2003-10-20 Paul Eggert <eggert@twinsun.com>
1860 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
1861 Use 'eval', so that the resulting configure scripts work even if
1862 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
1864 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
1866 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
1867 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
1868 (_AC_LINK_IFELSE): Check the werror flag.
1869 * doc/autoconf.texi (Generic Compiler Characteristics): Document
1873 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
1875 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
1876 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
1877 override AC_LINK_IFELSE.
1879 2003-10-15 Paul Eggert <eggert@twinsun.com>
1881 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
1882 pdksh 5.2.14. Bug reported by Ralf Corsepius.
1883 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
1884 Mention /usr/dt/bin/dtksh on Solaris.
1885 (Shell Substitutions): Warn about $((...)).
1886 (Parentheses): New section.
1888 2003-10-15 Kevin Ryde <user42@zip.com.au>
1890 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
1891 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
1893 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
1895 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
1898 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
1900 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
1901 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
1903 2003-10-10 Andreas Schwab <schwab@suse.de>
1905 * bin/autoheader.in: Avoid empty first line in --version and
1907 * bin/ifnames.in: Likewise.
1909 2003-10-09 Paul Eggert <eggert@twinsun.com>
1911 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
1912 Issue a more-informative diagnostic.
1913 Problems reported by Eric Sunshine.
1915 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
1917 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
1918 -mGLOB_options_string stuff for Intel ifc, which can cause
1919 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
1920 pattern-matching instead of grep.
1922 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
1924 * doc/autoconf.texi: Document new FC Fortran macros.
1926 2003-10-08 Gary V. Vaughan <gary@gnu.org>
1928 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
1929 that future autopoint/aclocal/automake/autoreconf will be able
1930 to trace to find where to install local m4 macros.
1931 * doc/autoconf.texi (Input): Document it.
1934 2003-10-06 Gary V. Vaughan <gary@gnu.org>
1936 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
1937 -lcrtbegin.o to list of ignored flags and fix underquoting of
1940 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
1942 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
1943 cache variable instead of $G77 to decide whether to include -O2,
1944 since $G77 is specific to Fortran 77.
1946 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
1948 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
1949 free" flag. Re-order flags tested into rough order of popularity.
1951 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
1953 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
1954 arguments so that it can be used with syntax identical to
1955 AC_PROG_F77, and so that we can more easily decide to
1956 remove/deprecate the DIALECT optional argument in the future if it
1958 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
1959 non-freeform-supporting compilers. Document freeform flags.
1961 2003-10-03 Akim Demaille <akim@epita.fr>
1963 * configure.ac: Look for emacs, not macs.
1964 Reported by Eric Sunshine.
1966 2003-10-03 Akim Demaille <akim@epita.fr>
1968 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
1969 * bin/autoreconf.in (autoreconf_current_directory): Create the
1970 AUX_DIR if needed, for sake of automake --add-missing etc.
1971 Suggested by Alexandre Duret-Lutz.
1973 2003-10-03 Akim Demaille <akim@epita.fr>
1975 * configure.ac: Quotation and formatting changes.
1976 (EMACS): Don't set it if it is not recent enough to support
1980 2003-10-02 Akim Demaille <akim@epita.fr>
1982 * bin/ifnames.in (&scan_file): Skip C++ comments.
1985 2003-10-01 Pavel Roskin <proski@gnu.org>
1987 * doc/autoconf.texi (Particular Structure Checks):
1988 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
1990 2003-10-01 Akim Demaille <akim@epita.fr>
1994 2003-09-30 Paul Eggert <eggert@twinsun.com>
1996 * lib/Autom4te/XFile.pm: Use Errno.
1997 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
1998 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2000 2003-09-30 Akim Demaille <akim@epita.fr>
2002 * config/announce-gen (&print_news_deltas): Extracted from...
2003 (&print_changelog_deltas): here.
2004 (&news_file): Rename as...
2007 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2009 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2010 have been created when invoking the compiler.
2011 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2013 2003-09-29 Akim Demaille <akim@epita.fr>
2017 * config/mkinstalldirs: Upgrade.
2019 2003-09-28 Paul Eggert <eggert@twinsun.com>
2021 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2022 Problem reported by Lars J. Aas in
2023 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2024 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2025 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2026 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2028 2003-09-26 Akim Demaille <akim@epita.fr>
2030 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2031 directory for AC_CONFIG_COMMANDS' first argument exists.
2032 This makes valid the invocation of _AC_SRCPATH that follows.
2033 Reported by Eric Sunshine.
2034 * doc/autoconf.texi (Configuration Commands): Adjust.
2036 2003-09-26 Akim Demaille <akim@epita.fr>
2038 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2039 Reported by Ralf Corsepius.
2041 2003-09-26 Akim Demaille <akim@epita.fr>
2043 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2045 Actually, use AU_ALIAS.
2048 2003-09-26 Paul Eggert <eggert@twinsun.com>
2050 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2051 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2052 Problem reported by Eric Sunshine in:
2053 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2055 2003-09-26 Akim Demaille <akim@epita.fr>
2057 The test suite are sometimes assigning timings incorrectly.
2058 Reported by Henk Krus.
2059 Diagnosed by Nicolas Joly.
2061 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2063 Instead of making AT_help a sequence of assignments to grow
2064 $at_help_all, just make AT_help_all be the growing contents of
2065 $at_help_all, and make a single assignment in...
2067 (at_times_skip): Flip the meaning and rename as...
2069 (AT_INIT): When summarizing the test that ran, remove
2070 $at_times_file after use, and check it is present before trying to
2073 2003-09-25 Akim Demaille <akim@epita.fr>
2077 * bin/Makefile.am (edit): Handle '@configure_input@'.
2078 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2079 (ifnames): chmod -w.
2080 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2081 executables, not bin/ executables! Otherwise all the magic needed
2082 to find non installed files is turned off. This caused a failure
2083 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2084 as found in its environment (sent by tests/autoreconf): pointing
2085 to bin/autom4te that could not find its files.
2086 * tests/mktests.sh: Force the replacement of generated files, for
2087 the sake of "mv" program that are interactive when overwriting a
2089 * config/install-sh: Upgrade from CVS Automake.
2091 2003-09-23 Paul Eggert <eggert@twinsun.com>
2093 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2094 versus test -L issues.
2096 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2097 Paul Eggert <eggert@twinsun.com>
2099 Trivial change to support GCC's configuration procedure.
2100 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2101 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2102 about inconsistency if the preprocessor is set to give errors for
2104 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2106 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2108 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2109 and XFile.pm from Automake.
2110 * lib/Autom4te/XFile.pm: Update from Automake.
2112 2003-09-12 Akim Demaille <akim@epita.fr>
2116 2003-09-12 Akim Demaille <akim@epita.fr>
2118 * config/config.guess, config/config.sub, config/missing,
2119 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2122 2003-09-12 Akim Demaille <akim@epita.fr>
2124 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2127 2003-09-11 Akim Demaille <akim@epita.fr>
2129 * doc/autoconf.texi (Header Portability): linux/random.h.
2130 From Peter Hendrickson.
2132 2003-09-10 Akim Demaille <akim@epita.fr>
2134 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2135 willing to edit the output files.
2137 2003-09-10 Akim Demaille <akim@epita.fr>
2139 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2141 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2142 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2144 2003-09-09 Akim Demaille <akim@epita.fr>
2146 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2147 Reported by Gary Vaughan.
2148 * bin/autom4te.in (handle_m4): Likewise.
2150 2003-09-09 Akim Demaille <akim@epita.fr>
2152 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2155 2003-09-07 Paul Eggert <eggert@twinsun.com>
2157 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2158 Improve the accuracy of the wording about obsolescence.
2159 From a suggestion by Ian Lance Taylor in
2160 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2162 2003-09-05 Paul Eggert <eggert@twinsun.com>
2164 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2165 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2167 2003-09-04 Akim Demaille <akim@epita.fr>
2169 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2172 2003-09-04 Akim Demaille <akim@epita.fr>
2174 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2175 (freeze): When exiting, use $exit_code.
2176 * lib/autoconf/fortran.m4: Comment changes.
2178 2003-09-04 Akim Demaille <akim@epita.fr>
2180 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2182 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2184 Add support for newer Fortran dialects. The F77 interface is
2185 unchanged, and continues to support Fortran 77. New FC macros
2186 correspond to all the old F77 macros, with output variables FC,
2187 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2188 available dialect, but older dialects can be specified. There are
2189 new macros AC_FC_SRCEXT to set the source extension, and
2190 AC_FC_FREEFORM to accept free-form source files.
2192 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2194 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2195 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2196 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2197 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2198 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2199 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2200 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2201 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2202 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2203 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2204 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2205 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2206 AC_FC_SRCEXT, AC_FC_FREEFORM):
2208 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2209 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2210 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2211 Rewrite in terms of the above.
2212 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2213 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2214 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2215 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2217 2003-09-02 Paul Eggert <eggert@twinsun.com>
2219 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2220 Document problems with timestamp resolution that 'make', 'cp -p', and
2223 2003-08-27 Akim Demaille <akim@epita.fr>
2225 * tests/m4sugar.at (cross_warning): Make sure to enable the
2226 output, so that we can track spurious m4sugar output.
2227 * tests/local.at: Require 2.57.
2228 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2229 are defaulted by AT_CHECK anyway.
2230 Use AT_CHECK_AUTOM4TE.
2231 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2234 2003-08-27 Akim Demaille <akim@epita.fr>
2236 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2237 when -Wobsolete is set.
2238 Set it on by default.
2239 Suggested by Klee Dienes.
2241 2003-08-27 Akim Demaille <akim@epita.fr>
2243 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2247 2003-08-26 Akim Demaille <akim@epita.fr>
2249 * doc/autoconf.texi (Output): Make clear that one can run code
2252 2003-08-25 Akim Demaille <akim@epita.fr>
2254 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2257 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2259 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2260 Automake versions prior to 1.8.
2262 2003-08-25 Akim Demaille <akim@epita.fr>
2264 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2267 2003-08-24 Akim Demaille <akim@epita.fr>
2269 * configure.ac: Bump to 2.57c.
2271 2003-08-22 Akim Demaille <akim@epita.fr>
2275 * Makefile.cfg (local-checks-to-skip): New.
2276 * Makefile.maint (local-check): Rename as...
2277 (local-checks-available): this.
2280 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2281 * configure.ac: Require Automake 1.7.6.
2283 2003-08-22 Akim Demaille <akim@epita.fr>
2285 Output stack traces in warnings.
2287 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2288 Replace the former...
2289 (m4_warn): Pass the call stack to _m4_warn.
2290 * bin/autom4te.in: Adjust to output the call stack.
2291 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2293 2003-08-22 Akim Demaille <akim@epita.fr>
2295 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2296 * bin/autom4te.in: Adjust.
2298 2003-08-21 Akim Demaille <akim@epita.fr>
2300 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2302 (&getopt): Adjust the note and verb channels, depending upon
2304 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2305 * bin/autoupdate.in: Adjust.
2306 Use &verb, not &verbose.
2308 2003-08-21 Akim Demaille <akim@epita.fr>
2310 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2312 ($help): Use Autom4te::ChannelDefs::usage.
2313 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2314 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2316 2003-08-21 Akim Demaille <akim@epita.fr>
2318 First stab at preserving warnings between calls to autom4te,
2319 including when the cache is used.
2321 There are still several issues: (i) there are too many runs of m4
2322 (one for include, one for warnings, and some more), (ii) warnings
2323 spreading on several lines are not handled gracefully, (iii) the
2324 code meant to have the call stack display for errors does not work
2325 (its handling should move from m4 to autom4te).
2327 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2329 (@preselect): Add m4_warn.
2330 ($exit_status): Remove, use $exit_code.
2331 ($help): Use Autom4te::ChannelDefs::usage.
2332 (&handle_m4): No longer define the m4_warnings.
2333 At each run, extract and report the warnings.
2334 Always cache the result, including if the exit status is on
2335 failure, since if nothing changes, we should result in the same
2336 failure, hence we can use the cache.
2337 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2338 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2340 (m4_warn): Redefine as a do-nothing: it is its invocation that
2341 matters, as warnings are now reported via traces.
2342 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2343 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2344 the latter reveals calls to the former.
2348 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2350 2003-08-21 Akim Demaille <akim@epita.fr>
2352 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2355 2003-08-21 Akim Demaille <akim@epita.fr>
2357 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2359 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2360 (&parse_warnings): Accept a list of warning requests.
2361 (&usage): Return a string, not a side effect.
2362 (cross): New warning category.
2364 2003-08-21 Akim Demaille <akim@epita.fr>
2366 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2367 (&require_configure_ac): Accept an optional directory argument.
2368 ($configure_ac): Remove.
2369 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2371 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2372 * bin/autoscan.in: Adjust.
2374 2003-08-20 Akim Demaille <akim@epita.fr>
2376 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2377 Reported by Alexandre Duret-Lutz.
2379 2003-08-20 Akim Demaille <akim@epita.fr>
2381 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2382 * bin/autom4te: Adjust.
2383 In particular, be Autoconf tools are really silent when properly
2384 working, bind the verbosity of the 'note' channel to $verbose.
2385 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2386 (&xsystem, &contents): Remove, since they are exported by...
2387 * lib/Autom4te/FileUtils.pm: this.
2389 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2390 * lib/Autom4te/FileUtils.pm: here.
2392 2003-08-20 Akim Demaille <akim@epita.fr>
2394 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2395 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2398 2003-08-20 Akim Demaille <akim@epita.fr>
2400 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2401 (autom4te-update): New.
2402 * Makefile.cfg (update): Bind autom4te-update.
2404 2003-08-19 Derek Price <derek@ximbiot.com>
2406 * lib/autotest/general.m4: Comment various HELP_* diversions.
2407 (PARSE_ARGS_BEGIN): New section for option parsing related
2409 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2410 package specific options and associated help.
2412 2003-08-19 Akim Demaille <akim@epita.fr>
2414 * config/announce-gen, Makefile.cfg: New.
2415 * Makefile.am: Adjust.
2416 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2418 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2420 * lib/autom4te.in (Automake-preselections): Preselect
2421 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2424 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2426 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2427 (Autoconf-without-aclocal-m4): ... this new language.
2428 * doc/autoconf.texi (autom4te Invocation): Mention
2429 Autoconf-without-aclocal-m4.
2431 2003-08-18 Derek Price <derek@ximbiot.com>
2433 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2434 RUN-IF-PASS optional arguments.
2436 2003-08-18 Derek Price <derek@ximbiot.com>
2438 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2440 2003-08-16 Derek Price <derek@ximbiot.com>
2442 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2443 STDOUT & STDERR arguments.
2445 2003-08-14 Derek Price <derek@ximbiot.com>
2447 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2448 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
2449 shorter column three. Add DESCRIPTION to log file content.
2451 2003-08-13 Derek Price <derek@ximbiot.com>
2453 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2456 2003-08-12 Derek Price <derek@ximbiot.com>
2458 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2459 (AT_CHECK_NOESCAPE): Move core functionality to...
2460 (_AT_CHECK): ...this new macro.
2462 2003-08-07 Derek Price <derek@ximbiot.com>
2464 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2465 (AT_CHECK_NOESCAPE): ...to this new macro.
2467 2003-07-31 Paul Eggert <eggert@twinsun.com>
2469 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2470 in Bash 2.01. Problem reported by Brian Gough in
2471 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2473 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
2475 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2476 -lcrt1.o, for OS X. (trivial change)
2478 2003-07-07 Paul Eggert <eggert@twinsun.com>
2480 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2481 inside '#ifndef __cplusplus'. Problem reported by
2484 2003-07-06 Bill Clarke <llib@computer.org>
2486 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2487 'long', not 'int', for benefit of Sun's recent C++ compilers
2488 (trivial change). See:
2489 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2490 (This really should be 'intptr_t', not 'long', but that would
2493 2003-06-25 Akim Demaille <akim@epita.fr>
2495 * lib/Makefile.am (autom4te.cfg): Make it read only.
2496 Depend on Makefile since it contains substitutions.
2498 * lib/autom4te.in (args): Add local.at? for Autotest args.
2499 This change was made on autom4te.cfg which is generated.
2500 Reported by Raja R. Harinath.
2502 2003-06-25 Akim Demaille <akim@epita.fr>
2504 * doc/autoconf.texi (Header Portability): sys/mount.h.
2505 From Gareth McCaughan.
2507 2003-06-23 Akim Demaille <akim@epita.fr>
2509 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2510 not all of them. This fixes 1. the fact that when testing
2511 Autoconf there are many many config.log, 2. the incorrect use of
2512 top_srcdir to find config.log.
2513 Don't mix the detailed output of failed test with the summary of
2514 failures. Rather, append detailed log afterwards.
2516 2003-06-23 Akim Demaille <akim@epita.fr>
2518 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2519 always run: output config.log on $at_group_log.
2521 2003-06-23 Akim Demaille <akim@epita.fr>
2523 * tests/torture.at (#define header templates): Don't use quotes in
2524 C++ comments as it puzzles Emacs' sh font-lock-mode.
2526 2003-06-23 Akim Demaille <akim@epita.fr>
2528 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2529 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2530 * tests/atspecific.m4: Rename as...
2531 * tests/local.at: This.
2532 * tests/suite.at: Move the globals into...
2533 * tests/local.at: here.
2534 * tests/Makefile.am: Adjust.
2535 * doc/autoconf.texi (testsuite Scripts): Adjust.
2537 2003-06-21 Kevin Ryde <user42@zip.com.au>
2539 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2540 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2541 ensuring we add -std1 for full-ANSI.
2543 * doc/autoconf.texi (hdrindex): New macro.
2544 Add index entries for portability of various standard header files.
2546 2003-06-20 Akim Demaille <akim@epita.fr>
2548 * configure.ac: Bump to 2.57b.
2550 2003-06-20 Akim Demaille <akim@epita.fr>
2554 2003-06-20 Akim Demaille <akim@epita.fr>
2556 * bin/autom4te.in: Don't rely on $HOME being defined.
2557 Reported by Marc Espie as PR/233.
2559 2003-06-20 Akim Demaille <akim@epita.fr>
2561 * lib/autotest/general.m4: Use at_times_file only if used.
2564 2003-06-20 Akim Demaille <akim@epita.fr>
2566 * config/config.guess, config/config.sub, config/elisp-comp,
2567 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
2568 Update from masters.
2570 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
2572 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
2573 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
2574 (TEST_SCRIPT): New diversion.
2575 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
2576 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
2577 (AT_INIT): Support for expected failures.
2579 2003-06-02 Akim Demaille <akim@epita.fr>
2581 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
2583 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
2584 Autoconf nor Automake.
2585 (&contents): New, from Automake.
2588 2003-05-28 Paul Eggert <eggert@twinsun.com>
2590 * NEWS, doc/autoconf.texi (Particular Functions),
2591 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
2592 is the inverse of localtime.
2594 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
2596 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
2597 (handle_exec_errors): New function. Work around $! being
2598 altered by WEXITSTATUS.
2599 (xqx, xsystem): Use handle_exec_errors.
2601 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
2603 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
2604 Do not call `_exit()', simply modify `$?'.
2605 (xsystem): Reset $! before running system, and check it afterward.
2606 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
2607 63 for version mismatches.
2609 2003-05-23 Akim Demaille <akim@epita.fr>
2611 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
2612 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
2613 the middle of a line).
2614 * lib/m4sugar/m4sugar.m4: Likewise.
2615 Remove useless spaces in comments.
2617 2003-05-23 Akim Demaille <akim@epita.fr>
2619 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
2620 exit 63, so that we (or Automake's "missing") can tell the
2621 difference with a plain failure.
2622 * doc/autoconf.texi (Notices): Adjust.
2624 2003-05-23 Akim Demaille <akim@epita.fr>
2626 * Makefile.am, bin/Makefile.am, config/Makefile.am,
2627 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
2628 White spaces cleanup.
2630 2003-05-22 Jim Meyering <jim@meyering.net>
2631 Paul Eggert <eggert@twinsun.com>
2633 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2634 Remove `#include <stdlib.h>' from the list; we should never
2635 make confdefs.h include <stdlib.h> or <cstdlib>, because the
2636 resulting namespace pollution would cause other tests to fail.
2637 Configure scripts run with some older versions of g++ and HP's
2638 aCC would fail due to such an #include. Problems reported by
2639 Matthew Mueller in <http://bugs.debian.org/120704> and by
2641 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
2642 In the test, use the test declaration before including <stdlib.h>,
2643 as that's closer to how it'll be used.
2645 2003-05-23 Akim Demaille <akim@epita.fr>
2647 * doc/autoconf.texi (Header Portability): ucred.h.
2650 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2652 Overhaul Autotest's logging: generate separate log files
2653 in testsuite.dir/NNN/testsuite.log, and append them to
2654 testsuite.log instead of re-running the test verbosely.
2656 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
2657 file descriptor, write 0 to at_status_file instead of setting
2658 at_status=0, initialize some new variables (at_status_file,
2659 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
2660 to rerun the tests, instead append the at_group_log to the
2661 at_suite_log when a test fails.
2662 (AT_SETUP): pipe the test case's output into at_tee_pipe,
2663 with the AS_MESSAGE_LOG_FD redirected to stdout.
2664 (AT_CLEANUP): save the output status in $at_status_file
2665 and restore it, redirect the AS_MESSAGE_LOG_FD back to
2667 (AT_CHECK): since tests are run with a redirected stdout,
2668 and used to be re-run in verbose mode, turn some $at_verbose
2669 into echo, and don't redirect the output of testing stdout
2672 * lib/autotest/autoconf.texi (testsuite Scripts): Update
2673 the name of the debugging directory and information about
2676 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2678 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
2681 2003-05-22 Akim Demaille <akim@epita.fr>
2683 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
2684 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
2685 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
2686 * lib/autoconf/status.m4: Fix and adjust copyright notices.
2688 2003-05-22 Akim Demaille <akim@epita.fr>
2690 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
2691 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
2692 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2693 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
2694 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2695 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
2696 * lib/autoconf/status.m4, lib/autoconf/types.m4,
2697 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
2698 * tests/atspecific.m4, tests/base.at, tests/compile.at,
2699 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
2700 * tests/tools.at, tests/torture.at:
2701 Whitespace clean up.
2702 Suggested by Jim Meyering.
2704 2003-05-22 Akim Demaille <akim@epita.fr>
2706 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
2707 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
2708 Reported by Jim Meyering.
2710 2003-05-22 Akim Demaille <akim@epita.fr>
2712 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
2713 Add AC_HELP_STRING to the obsolete macros section.
2715 Use '@.' for sentences that ended in a capital letter.
2718 2003-05-22 Akim Demaille <akim@epita.fr>
2720 * config/config.guess, config/config.sub, config/elisp-comp,
2721 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
2722 * config/texinfo.tex, doc/standards.texi: Update from masters.
2724 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
2726 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
2729 2003-05-21 Akim Demaille <akim@epita.fr>
2731 * bin/autoupdate.in ($m4): Fix quotation.
2732 Reported by Martin Mokrejs.
2734 2003-05-19 Paul Eggert <eggert@twinsun.com>
2736 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
2737 Remove non-ASCII characters.
2739 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
2741 * tests/semantics.at (AC_SEARCH_LIBS): New test.
2742 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
2743 AC_CHECK_HEADERS_NEW): New tests.
2745 2003-05-17 Akim Demaille <akim@epita.fr>
2747 * lib/autoconf/functions.m4: Use the default includes so that
2748 memcmp be declared before being tested.
2749 Reported by Sander Niemeijer.
2750 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
2751 * doc/autoconf.texi (Default Includes): Document
2752 AC_INCLUDES_DEFAULT.
2754 2003-05-17 Akim Demaille <akim@epita.fr>
2756 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
2757 * doc/autoconf.texi (Obsolete Macros): Adjust.
2758 Reported by Werner LEMBERG and Debian Bug 190886.
2760 2003-05-16 Akim Demaille <akim@epita.fr>
2762 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
2763 user name space clashes.
2764 Reported by Bruno Haible.
2766 2003-05-16 Akim Demaille <akim@epita.fr>
2768 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2769 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
2770 them uniform, and more robust to Perl special characters.
2771 Reported by Martin Mokrejs.
2773 2003-05-14 Akim Demaille <akim@epita.fr>
2775 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
2777 2003-05-14 Akim Demaille <akim@epita.fr>
2779 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
2782 2003-05-12 Akim Demaille <akim@epita.fr>
2784 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
2786 From Matthias Andree.
2788 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
2790 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
2793 2003-05-06 Akim Demaille <akim@epita.fr>
2795 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
2796 longer updates aclocal.m4 if useless, (ii) if a file m4_included
2797 by aclocal.m4 is changed it might require the importing of another
2798 m4 extension file, i.e., aclocal must be run.
2800 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
2801 (&parse_args): Use --force with aclocal if required and supported.
2802 (&autoreconf_current_directory): Use &run_aclocal.
2804 2003-05-06 Akim Demaille <akim@epita.fr>
2806 Lock autom4te's cache.
2808 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
2809 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
2810 argument instead of a file name, so that the request file remains
2811 open during the whole autom4te run.
2812 ($icache_file): New.
2813 (&freeze): Lock the $icache_file.
2815 2003-04-29 Derek Price <derek@ximbiot.com>
2817 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
2818 seperator with m4_append_uniq(). It doesn't work.
2819 (AT_CLEANUP): Add `;' to end of at_help_all.
2820 (AT_INIT): Allow --keywords to be specified more than once. When
2821 grepping $at_help_all for keywords, use the field and keyword
2822 seperators to ensure a complete keyword match. Alter at_prev handling
2823 to support the new --keywords behavior.
2825 2003-04-27 Karl Berry <karl@freefriends.org>
2827 * doc/autoconf.texi: Make the dir entries in the autoconf manual
2828 align better with others. I also made some of the individual
2829 entries on one line, for brevity and to make it easier for me to
2830 sort my dir-example file in the Texinfo distribution :).
2832 2003-04-12 Jim Meyering <jim@meyering.net>
2834 * NEWS: Mention the new macro.
2835 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
2836 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
2837 * tests/c.at: Test AC_C_RESTRICT.
2838 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
2840 2003-04-08 Akim Demaille <akim@epita.fr>
2842 * bin/ifnames.in: Skip C++ comments.
2845 2003-04-08 Akim Demaille <akim@epita.fr>
2847 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
2848 From Ilya Zakharevich.
2850 2003-04-08 Akim Demaille <akim@epita.fr>
2852 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
2855 2003-04-01 Derek Price <derek@ximbiot.com>
2857 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
2858 from Akim's checkin of 2003-03-29.
2860 2003-04-01 Derek Price <derek@ximbiot.com>
2862 * tests/torture.at (Configuring subdirectories): Add missing
2863 close-quote for Akim's change from 2003-03-28.
2865 2003-04-01 Akim Demaille <akim@epita.fr>
2867 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
2868 (AC, AT, MS): these.
2869 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
2872 * doc/Makefile.am (CLEANFILES): Adjust.
2873 (TEXI2DVI): Make it --batch.
2875 2003-03-31 Derek Price <derek@ximbiot.com>
2877 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
2878 which removed the main loop.
2879 Thanks to Akim Demaille.
2881 2003-03-29 Akim Demaille <akim@epita.fr>
2883 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
2885 From Ilya Zakharevich.
2887 2003-03-29 Akim Demaille <akim@epita.fr>
2889 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
2890 documentation to read is Autoconf's.
2891 Suggested by Paul Eggert.
2893 2003-03-28 Akim Demaille <akim@epita.fr>
2895 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
2896 reading the section "Present But Cannot Be Compiled" when the
2897 header causes problems.
2899 2003-03-28 Akim Demaille <akim@epita.fr>
2901 * tests/torture.at (Configuring subdirectories): Require aclocal
2902 1.4, otherwise the test fails, as it does support configure.ac.
2903 This fixes the "test 40 failed" bug reports.
2905 2003-03-28 Akim Demaille <akim@epita.fr>
2907 * doc/autoconf.texi (C Compiler): `#line' portability.
2908 From Paul Eggert and Nelson H. F. Beebe.
2910 2003-03-27 Derek Price <derek@ximbiot.com>
2912 * lib/autotest/general.m4: Eliminate main loop and reorganize test
2913 layout in order to allow scripting around test groups.
2915 2003-03-27 Derek Price <derek@ximbiot.com>
2917 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
2918 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
2919 use new diversions in preparation for accepting new arguments and
2920 allowing scripting around tests.
2921 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
2923 2003-03-26 Derek Price <derek@ximbiot.com>
2925 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
2926 obsolete AC_HELP_STRING.
2927 (AC_HELP_STRING): AU_DEFUN to...
2928 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
2929 * tests/m4sh.at (AS_HELP_STRING): New test.
2931 * tests/acgeneral.at: Regenerated.
2933 2003-03-26 Derek Price <derek@ximbiot.com>
2935 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
2936 sense. Verbosify the diversion definitions comment.
2938 2003-03-26 Derek Price <derek@ximbiot.com>
2940 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
2943 2003-03-21 Eric Siegerman <eric_97@pobox.com>
2945 * doc/autoconf.texi (Present But Cannot Be Compiled):
2946 Grammar fixes and minor rewording. (trivial change)
2948 2003-03-06 Paul Eggert <eggert@twinsun.com>
2950 Work around a problem noted by Nelson H. F. Beebe with coreutils
2951 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2952 2002/05/09) rejects '#line 32768 "configure"' because the line
2954 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
2956 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
2957 * doc/autoconf.texi (Generating Sources): Document this.
2959 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
2961 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
2962 file name for the m4 program, when it has an "exe" file extension.
2963 DJGPP's error messages include the error code in brackets -
2964 remove the error code during normalization.
2966 2003-02-28 Akim Demaille <akim@epita.fr>
2968 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
2970 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
2972 * doc/autoconf.texi (Limitations of Make): Remove the section
2973 about `$<' in inference rules, it was a bogus interpretation of
2974 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
2975 Tru64 make in the "target lookup" section.
2976 (Automake): Automake 1.5+ no longer requires special tools to be
2977 present on the developer's host.
2979 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
2981 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
2982 to a shell that can handle redirection or quoting correctly.
2983 Override SHELL with the shell detected by configure.
2984 Use of $^O suggested by Tim van Holder.
2985 * bin/autom4te.in (BEGIN): Likewise.
2986 * bin/autoreconf.in (BEGIN): Likewise.
2987 * bin/autoscan.in (BEGIN): Likewise.
2988 * bin/autoupdate.in (BEGIN): Likewise.
2989 * bin/ifnames.in (BEGIN): Likewise.
2991 * bin/ifnames.in: Add final newline to help and version messages.
2993 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
2994 to cope with DOS-style absolute paths, when constructing
2997 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
2998 When constructing paths with IFS=:, quote the path. If we're
2999 constructing a DOS-style absolute path, we don't want to split it
3002 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3005 2003-02-25 Pavel Roskin <proski@gnu.org>
3007 * bin/autoheader.in: Add missing newline when printing
3008 suggestion how change AC_DEFINE call.
3010 2003-02-24 Paul Eggert <eggert@twinsun.com>
3012 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3013 2002-09-01 patch by replacing "test -n" with "test -z".
3014 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3015 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3017 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3018 to fix a mismatch between example and discussion.
3020 2003-02-24 Kevin Ryde <user42@zip.com.au>
3022 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3023 format starting with "-".
3025 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3027 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3028 is not portable inside Makefile.
3030 2003-02-20 Akim Demaille <akim@epita.fr>
3032 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3033 compiler says yeah, but preproc says nope, compiler is right.
3034 Conversely, prompt the reader to send a bug report to the
3035 maintainers of the package, not of Autoconf.
3037 2003-02-20 Klee Dienes <kdienes@apple.com>
3039 * bin/autoreconf.in (autoreconf_current_directory): Properly
3040 handle an empty aclocal.m4.
3042 2003-02-20 Akim Demaille <akim@epita.fr>
3044 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3048 2002-12-23 Paul Eggert <eggert@twinsun.com>
3050 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3051 innocuous variant befor including <limits.h> or <assert.h>. This
3052 works around a bug reported by Albert Chin: HP-UX 11i
3053 (and earlier versions) have a <limits.h> that declares
3054 gettimeofday and many other functions.
3056 2002-12-03 Paul Eggert <eggert@twinsun.com>
3060 * NEWS, configure.ac: Update version.
3062 * doc/fdl.texi: Upgrade to FDL version 1.2.
3064 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3065 nontrivially in main's body, so that f's external declaration is
3066 not optimized away in AIX. This should fix the bug reported by
3068 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3070 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3071 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3072 defined, to support freestanding compilers. This should fix the
3073 bug reported by Momchil Velkov in
3074 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3076 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3077 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3078 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3079 by Simon Josefsson in
3080 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3082 * Makefile.maint (www-gnu): New macro.
3083 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3084 the location has moved.
3086 2002-12-02 Martin Frydl <martin@systinet.com>
3088 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3089 \(.*\) match is too long and there is something more to be checked.
3090 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3092 2002-11-15 Akim Demaille <akim@epita.fr>
3096 * config/install-sh: chmod +x.
3098 * config/move-if-change: Indenting changes.
3099 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3100 * configure.ac (AM_INIT_AUTOMAKE): here.
3103 2002-11-14 Akim Demaille <akim@epita.fr>
3107 * config/config.guess, config/config.sub, config/install-sh:
3108 Update from masters.
3110 2002-11-14 Akim Demaille <akim@epita.fr>
3112 * Makefile.maint: Sync with Bison, i.e.:
3113 (po-check): Scan .l and .y files instead of the
3114 .c and the .h files that they generate. This fixes the bug
3115 reported by Tim Van Holder in:
3116 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3117 Look for N_ as well as for _. Try to avoid matching #define for
3121 2002-11-14 Akim Demaille <akim@epita.fr>
3123 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3124 From Paul Eggert and Albert Chin-A-Young.
3126 2002-11-14 Akim Demaille <akim@epita.fr>
3128 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3129 From Paul Eggert and Albert Chin-A-Young.
3131 2002-11-14 Kevin Ryde <user42@zip.com.au>
3133 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3134 than assigning in main, to avoid HP cc +O3 optimizing it away.
3136 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3138 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3139 option. Process --recheck after parsing all options. Pass -q
3140 option to configure on --recheck.
3141 (AC_OUTPUT): Pass -q from configure to config.status.
3142 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3143 arguments to record.
3144 * doc/autoconf.texi (config.status Invocation): Document
3145 config.status -q option.
3147 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3149 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3150 Makefile.in if Makefile.am exists.
3151 (output): Strip `.am' from Makefiles. Don't
3152 output AC_CONFIG_FILES if no Makefiles were found.
3154 2002-11-07 Akim Demaille <akim@epita.fr>
3156 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3157 (local_updates): New.
3158 * Makefile.maint: Update, from CVS Bison.
3159 (local_updates): New.
3161 2002-11-06 Akim Demaille <akim@epita.fr>
3163 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3164 declaration in extern "C" too.
3165 Reported by Roberto Bagnara.
3167 2002-11-06 Akim Demaille <akim@epita.fr>
3169 * tests/torture.at (Configuring subdirectories): Don't use grep
3171 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3172 Reported by Ezra Peisach.
3174 2002-11-05 Akim Demaille <akim@epita.fr>
3176 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3178 We _have_ to stop using the old compatibility scheme that tried to
3179 avoid useless backslashes because Libtool 1.4.3 contains a
3180 AC_DEFINE([error_t], [int],
3181 [Define to a type to use for \`error_t' if it is not
3182 otherwise available.])
3183 We _have_ to quote the single quote and backslashes with \. The
3184 old compatibility scheme saw that ` was backslashed, and therefore
3185 did not quote the single quote. Hence before this patch, Autoconf
3186 was not compatible with Libtool.
3188 2002-11-04 Paul Eggert <eggert@twinsun.com>
3190 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3191 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3192 LC_NAME, LC_PAPER, LC_TELEPHONE.
3193 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3195 2002-11-04 Akim Demaille <akim@epita.fr>
3199 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3201 * config/texinfo.tex: Update.
3203 2002-11-03 Akim Demaille <akim@epita.fr>
3205 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3207 (&autoreconf): here.
3208 ($help, $make, &parse_args, &autoreconf_current_directory):
3210 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3212 2002-10-31 Bruno Haible <bruno@clisp.org>
3214 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3215 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3216 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3217 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3218 to ac_cv_func_realloc_0_nonnull.
3219 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3221 2002-10-31 Akim Demaille <akim@epita.fr>
3223 The test suite was no longer checking for trailing envvars and files.
3225 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3226 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3228 2002-10-31 Akim Demaille <akim@epita.fr>
3230 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3231 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3232 Make variable, not a shell variable.
3233 Suggested by Bruno Haible.
3235 2002-10-31 Akim Demaille <akim@epita.fr>
3237 * bin/autom4te.in (load_configuration): Reject #args out of any
3240 2002-10-31 Akim Demaille <akim@epita.fr>
3242 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3243 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3244 (_AC_RUN_IFELSE): Use it.
3245 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3246 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3247 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3250 2002-10-30 Akim Demaille <akim@epita.fr>
3252 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3253 * doc/autoconf.texi (autom4te Invocation): Adjust.
3254 Suggested by Tim van Holder.
3256 2002-10-29 Paul Eggert <eggert@twinsun.com>
3258 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3259 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3260 Problem reported by Bruno Haible.
3262 2002-10-29 Akim Demaille <akim@epita.fr>
3264 * doc/autoconf.texi (Header Templates): Put also in words what the
3265 pictures says to assist free style readers.
3266 (Customizing autom4te): s/--cache=/--cache /.
3268 2002-10-29 Akim Demaille <akim@epita.fr>
3270 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3272 sparc_address_test returns void.
3273 Use it with an argument, as prototyped.
3276 2002-10-29 Akim Demaille <akim@epita.fr>
3278 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3279 configure.in, not configure.ac.
3280 Reported by Bruno Haible.
3282 2002-10-29 Akim Demaille <akim@epita.fr>
3284 * tests/torture.at (Deep Package): New test.
3285 (Configuring subdirectories): Don't use a testSubDir as Autotest
3288 2002-10-29 Akim Demaille <akim@epita.fr>
3290 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3291 * doc/autoconf.texi (Invoking autom4te): Rename as...
3292 (autom4te Invocation): this, for consistency with the other nodes.
3294 2002-10-29 Akim Demaille <akim@epita.fr>
3296 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3297 Reported by Ralf Corsepius.
3299 2002-10-29 Akim Demaille <akim@epita.fr>
3301 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3302 characters is a back as an `obsolete' warning now.
3303 Reported by Ralf Corsepius.
3305 2002-10-28 Akim Demaille <akim@epita.fr>
3307 * configure.ac: Bump to 2.54c.
3309 2002-10-28 Akim Demaille <akim@epita.fr>
3313 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3315 2002-10-28 Akim Demaille <akim@epita.fr>
3317 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3318 m4 executable names, and different GNU M4 version.
3319 Reported by Ezra Peisach and Paul Jarc.
3321 2002-10-27 Akim Demaille <akim@epita.fr>
3323 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3326 2002-10-27 Akim Demaille <akim@epita.fr>
3328 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3329 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3330 Die when a simple Fortran program cannot be compiled.
3331 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3332 Issue a warning if no function is given.
3334 2002-10-27 Akim Demaille <akim@epita.fr>
3336 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3337 Move the documentation of AC_TRY_RUN to...
3338 (Obsolete Macros): here.
3339 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3340 (autoconf Invocation): Remove the duplicates with `invoking
3342 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3343 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3345 2002-10-27 Akim Demaille <akim@epita.fr>
3347 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3348 and AC_LANG_FUNC_LINK_TRY.
3349 (Examining Libraries): Rename as...
3350 (Running the Linker): this.
3351 Document AC_LINK_IFELSE.
3352 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3353 (Obsolete Macros): here.
3354 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3355 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3356 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3357 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3359 2002-10-27 Akim Demaille <akim@epita.fr>
3361 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3363 More `check config.log' messages.
3365 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3366 * doc/autoconf.texi (Printing Messages): Document it.
3367 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3369 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3370 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3371 (_AC_COMPILER_OBJEXT): Likewise.
3372 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3373 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3375 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3378 Deprecate macros with unusual interfaces.
3380 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3381 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3383 Document the new ones, and proper style.
3385 * doc/autoconf.texi (Generating Sources): New.
3386 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3387 (Examining Declarations): Rename as...
3388 (Running the Preprocessor): this.
3389 Document AC_PREPROC_IFELSE.
3390 (Examining Syntax): Rename as...
3391 (Running the Compiler): this.
3392 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3393 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3394 AC_TRY_COMPILE here.
3396 2002-10-27 Akim Demaille <akim@epita.fr>
3398 Move sections around.
3400 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3402 Reported by Burno Haible.
3403 (Language Choice): Now the first section of...
3404 (Writing Tests): this section.
3405 Make the introduction less C-centric.
3406 (Guidelines, Test Functions): Move to...
3407 (Writing Test Programs): this new section.
3408 (Test Programs): Merge into...
3411 2002-10-27 Akim Demaille <akim@epita.fr>
3413 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3414 autom4te.in that resulted in the need for two `make' runs.
3416 2002-10-27 Akim Demaille <akim@epita.fr>
3418 * configure.ac: Bump to 2.54b.
3420 2002-10-25 Akim Demaille <akim@epita.fr>
3424 * Makefile.maint: Update from the Coreutils.
3425 (AMTAR): Remove, obsolete.
3426 (automake_repo): Update to redhat.com.
3428 Adjust to the fact that ansi2knr is now hosted by Automake.
3429 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3430 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3431 Update from masters.
3432 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3433 autoscan.pre is not to be installed, and autoscan.list is not to
3435 (CLEANFILES): Add autoscan.list.
3436 (autoscan.list): Disable the cache.
3437 * bin/Makefile.am: Include freeze.mk.
3439 2002-10-25 Akim Demaille <akim@epita.fr>
3441 * bin/autom4te.in (&load_configuration): Take the file as
3443 (&parse_args): Handle -C, --cache.
3445 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3446 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3447 * doc/autoconf.texi (Invoking autom4te): Document --cache.
3448 Now a subsection of...
3449 (Using autom4te): This new section.
3450 (Customizing autom4te): New.
3451 (autom4te.cache): Adjust.
3453 2002-10-25 Akim Demaille <akim@epita.fr>
3455 * doc/autoconf.texi (Generic Headers): More information on how to
3456 use AC_CHECK_HEADERS.
3458 2002-10-25 Akim Demaille <akim@epita.fr>
3460 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3463 2002-10-25 Akim Demaille <akim@epita.fr>
3465 * bin/autoscan.in (output): Output AC_PREREQ.
3466 (%needed_macros): Add AC_PREREQ so that configure.ac without one
3469 2002-10-23 Akim Demaille <akim@epita.fr>
3471 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3474 2002-10-23 Akim Demaille <akim@epita.fr>
3476 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3477 Reported by Peter Eisentraut.
3479 2002-10-23 Akim Demaille <akim@epita.fr>
3481 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3484 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3485 Eggert's recommandations.
3487 2002-10-22 Akim Demaille <akim@epita.fr>
3489 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3490 Bison, by Paul Eggert.
3491 * doc/autoconf.texi (Particular Headers): Document it.
3493 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
3495 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3496 `$ac_configure_args'.
3498 2002-10-22 Akim Demaille <akim@epita.fr>
3500 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3501 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3504 2002-10-22 Akim Demaille <akim@epita.fr>
3506 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
3508 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3509 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3510 (_AC_CHECK_HEADER_NEW): Rename as...
3511 (AC_CHECK_HEADER): this.
3513 2002-10-22 Akim Demaille <akim@epita.fr>
3515 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3516 words about HP-UX cmp: it was actually a user-written cmp.
3518 2002-10-22 Akim Demaille <akim@epita.fr>
3520 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3522 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3523 Quote for Perl '' strings, not "".
3524 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3527 2002-10-22 Akim Demaille <akim@epita.fr>
3529 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3530 characters is a syntax warning now.
3531 (_AS_QUOTE): Accept $2 as list of characters to quote.
3532 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3533 Quote for Perl, not sh.
3534 * bin/autoheader.in: When $debug, report the file which is
3536 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3537 `@', to tickle Perl's lists.
3538 Reported by Carlos Velasco.
3540 2002-10-18 Akim Demaille <akim@epita.fr>
3542 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3543 missing included files _are_ errors.
3544 Thanks to Alexandre Duret-Lutz.
3545 * tests/tools.at (autom4te cache): Adjust.
3546 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3547 (AT_CHECK_M4SUGAR): Use it.
3548 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3550 * tests/tools.at (autom4te): Now it does exit 1.
3552 2002-10-17 Akim Demaille <akim@epita.fr>
3554 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3555 Fixes the `AC_ARG_VAR' test failures.
3556 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3557 * lib/freeze.mk (check-forbidden-patterns): New.
3558 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3559 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
3560 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
3562 Reported months ago by H. Merijn Brand.
3564 2002-10-17 Akim Demaille <akim@epita.fr>
3566 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
3568 2002-10-16 Paul Eggert <eggert@twinsun.com>
3570 * Makefile.maint (wget_files): Remove ansi2knr.c.
3571 (ansi2knr.c-url_prefix): Remove.
3573 2002-10-16 Akim Demaille <akim@epita.fr>
3575 Because of caching, some files that no longer exist and are no
3576 longer required can still cause errors.
3577 Reported by Alexandre Duret-Lutz.
3579 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
3580 to frozen files in @ARGV, as @ARGV must remain being a list of
3581 files. Rather, at M4 call sites, use this...
3582 (&files_to_options): New function.
3583 (&freeze): Use &error.
3584 (&up_to_date): If a file that was included according to the cache
3585 is no longer there, then the output is out dated.
3586 (&main): Don't even check whether a file is up to date is anyway
3588 * tests/tools.at (autom4te cache): New.
3590 2002-10-16 Akim Demaille <akim@epita.fr>
3592 * bin/autoconf.as: Kill dead options.
3593 * bin/autoupdate.in (&parse_args): Kill old options.
3594 * bin/autoreconf.in (&parse_args): Remove dead options.
3596 (&autoreconf): Report the directories we enter *and leave*, so
3597 that error messages can be easily located, and use GNU Make
3598 format, so that Emacs' compile mode understands us.
3599 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
3600 if some file was changed instead of `print'.
3601 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
3602 (&parse_args): Remove the dead options.
3603 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
3604 autoheader's quiet mode.
3605 (AT_CHECK_AUTOUPDATE): Likewise.
3606 * tests/tools.at (autoupdate): Adjust.
3607 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3609 2002-10-11 Akim Demaille <akim@epita.fr>
3611 No longer use CPP to check for the existing of headers: use CC to
3612 check for compilability.
3614 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3615 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
3616 (_AC_CHECK_HEADER_NEW): Rename as...
3617 (AC_CHECK_HEADER): this.
3619 * lib/autotest/general.m4 (AT_INIT): Include the failed test
3620 numbers in the Subject suggestion.
3622 2002-10-11 Akim Demaille <akim@epita.fr>
3624 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
3625 Suggest using AC_CHECK_DECLS instead.
3627 2002-10-11 Akim Demaille <akim@epita.fr>
3629 * tests/torture.at (AC_ARG_VAR): Have configure report the value
3632 2002-10-11 Akim Demaille <akim@epita.fr>
3634 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
3635 file name to enable parallel executions.
3636 From Sam Varshavchik.
3638 2002-10-08 Akim Demaille <akim@epita.fr>
3640 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
3641 aclocal invocation, as Gettext macros might not be visible to
3643 Instead of blindly running autopoint, scan configure.ac (not the
3644 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
3645 Reported by Paul D. Smith.
3647 2002-10-08 Paul Eggert <eggert@twinsun.com>
3649 Work around problems found when POSIXLY_CORRECT=1 is set.
3650 None of this seems to have anything to do with POSIX, really,
3651 but it's how Perl getopt works.
3652 * bin/autom4te.in (parse_args): Configure GetOpt with
3654 * doc/autoconf.texi (Invoking autom4te):
3655 --warning -> --warnings.
3656 * lib/autom4te.in: --warning -> --warnings.
3658 2002-09-28 Akim Demaille <akim@epita.fr>
3660 * doc/autoconf.texi (autom4te.cache): New section.
3662 2002-09-28 Akim Demaille <akim@epita.fr>
3664 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
3665 (Automake-preselections): Update.
3666 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
3668 2002-09-28 Akim Demaille <akim@epita.fr>
3670 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
3671 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
3672 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3673 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
3675 2002-09-28 Akim Demaille <akim@epita.fr>
3677 * tests/torture.at (Configuring subdirectories): Be robust to
3678 users who use config.site to require for a cache: in this case,
3679 the two last configure runs, using two different sets of
3680 arguments, trigger a legitimate error.
3682 2002-09-28 Akim Demaille <akim@epita.fr>
3684 * tests/m4sh.at (Functions Support, Functions and return Support):
3687 2002-09-28 Akim Demaille <akim@epita.fr>
3689 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
3690 autoheader are Perl programs.
3691 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
3692 (autom4te): Specify that the sources are in the $srcdir.
3693 * doc/autoconf.texi (Installation Directory Variables): Adjust.
3695 2002-09-28 Akim Demaille <akim@epita.fr>
3697 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
3698 (tm_zone): Move their rules to...
3699 * lib/autoconf/types.m4: here, using AN_ macros.
3700 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
3701 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
3702 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
3703 * lib/autoconf/programs.m4: here.
3704 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
3705 (ETAGS_FOR_AUTOCONF): New.
3708 2002-09-28 Akim Demaille <akim@epita.fr>
3710 * lib/autoconf/autoscan.m4: New file.
3711 * lib/autoconf/autoconf.m4: Include it.
3712 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
3713 that were listed in the original autoscan.list.
3714 * lib/autoconf/headers.m4: Similarly with headers.
3715 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
3716 (.m4.m4f): Don't pass --prepend-include, since that's done by
3717 tests/autom4te itself.
3718 * lib/autoscan/Makefile.am: Include freeze.mk.
3719 (autoscan.list): New target --this file is no longer a source.
3720 (autoscan.pre): New file.
3722 2002-09-28 Akim Demaille <akim@epita.fr>
3724 * bin/autoscan.in (@kinds): Make them singular.
3726 (&init_tables): When --debug, report the list of rules to ease
3727 tracking changes in autoscan.list.
3728 * lib/autoscan/autoscan.list (function): Strip comments, sort.
3730 2002-09-28 Akim Demaille <akim@epita.fr>
3732 * lib/autoscan/functions, lib/autoscan/headers,
3733 * lib/autoscan/identifiers, lib/autoscan/makevars,
3734 * lib/autoscan/programs: Merge into...
3735 * lib/autoscan/autoscan.list: this.
3736 * bin/autoscan.in (&init_tables): Adjust.
3738 2002-09-28 Akim Demaille <akim@epita.fr>
3740 * lib/autoscan/functions, lib/autoscan/headers,
3741 * lib/autoscan/identifiers, lib/autoscan/makevars,
3742 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
3743 `functions' line is now prefixed with `function:'.
3744 * bin/autoscan.in (&init_tables): Adjust.
3746 2002-09-28 Akim Demaille <akim@epita.fr>
3748 From now on, autoscan files must always map a macro name to a
3749 word: there is no `default' macro for autoscan.
3751 * bin/autoscan.in (&init_tables): Reject entries with no macro at
3753 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
3756 2002-09-28 Akim Demaille <akim@epita.fr>
3758 * bin/autoscan.in (%c_keywords): Remove.
3759 (&used): Keep only track of the words we might be interested in.
3760 (&output_kind): It is no longer needed to look for non active
3763 2002-09-27 Akim Demaille <akim@epita.fr>
3765 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
3766 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
3767 * lib/autoscan/functions: Adjust.
3768 * doc/autoconf.texi (Particular Functions): Adjust.
3770 2002-09-27 Akim Demaille <akim@epita.fr>
3772 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
3774 Thanks to Bill Moseley and Paul Eggert.
3775 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
3776 the tmpdir must be created.
3777 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
3778 dir be in the build tree, instead of $TMPDIR.
3780 2002-09-27 Akim Demaille <akim@epita.fr>
3782 * bin/autoscan.in: Improve the comments.
3783 (&parse_args): Drop obsolete undocumented options.
3784 (&output_kind): Output warnings.
3785 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
3786 (getwd): Trigger a warning.
3788 2002-09-26 Akim Demaille <akim@epita.fr>
3790 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
3791 Reported by Ralf Corsepius.
3792 * doc/autoconf.texi (autoreconf Invocation): Likewise.
3794 2002-09-26 Akim Demaille <akim@epita.fr>
3796 Single suffix rules and seperated dependencies are not portable.
3798 * doc/autoconf.texi (Installation Directory Variables): Update.
3799 (Limitations of Make): Some about `Single Suffix Rules and
3800 Separated Dependencies'.
3801 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3802 (ifnames, autoscan, autom4te): Un-factor into several rules.
3804 2002-09-25 Paul Eggert <eggert@twinsun.com>
3806 * BUGS (Interoperability bugs): New section. Mention libtool
3807 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
3809 2002-09-24 Paul Eggert <eggert@twinsun.com>
3811 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
3812 make handles suffix-rules differently from GNU make.
3814 * bin/Makefile.am (SUFFIXES, .in): Remove.
3815 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
3816 Move the body of the old .in rule here.
3818 2002-09-16 Akim Demaille <akim@epita.fr>
3820 i960 compilers create `b.out' files by default.
3821 Reported by Ralf Corsepius.
3823 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
3824 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
3826 2002-09-13 Paul Eggert <eggert@twinsun.com>
3828 * doc/autoconf.texi (Particular Headers): Remove obsolete
3829 reference to `struct timezone' in the description of
3832 2002-09-13 Akim Demaille <akim@epita.fr>
3836 * config/config.sub, config/config.guess: Update.
3837 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
3838 * Makefile.am: Adjust.
3840 2002-09-13 Akim Demaille <akim@epita.fr>
3842 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
3843 reading config.log when the compiler is rejected.
3844 Suggested by Guido Draheim.
3846 2002-09-13 Akim Demaille <akim@epita.fr>
3848 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
3849 (chdir_init) might hang when stat'ing mounted directories.
3850 Reported by Vance Shipley.
3852 2002-09-12 Akim Demaille <akim@epita.fr>
3854 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
3857 2002-09-12 Akim Demaille <akim@epita.fr>
3859 * doc/autoconf.texi (Defining Symbols): Present two different
3860 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
3861 difference between 1 argument calls, and 2-3 argument calls.
3863 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
3865 * doc/autoconf.texi: Review grammar and punctuation.
3867 2002-09-11 Paul Eggert <eggert@twinsun.com>
3869 * doc/autoconf.texi: Fix minor formatting, spelling, and
3871 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
3872 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
3875 2002-09-11 Akim Demaille <akim@epita.fr>
3877 * doc/autoconf.texi (Questions): Rename as...
3879 (Defining Directories): New.
3881 2002-09-09 Akim Demaille <akim@epita.fr>
3883 * doc/autoconf.texi (Making testsuite Scripts): Update.
3884 Suggested by Nishio Futoshi.
3886 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
3888 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
3889 plain `@' is wanted.
3891 2002-09-09 Akim Demaille <akim@epita.fr>
3893 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
3894 `duplicates', since the algorithm was too naive and could keep
3895 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
3896 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
3897 Reported by Ralf Corsepius.
3898 * tests/torture.at (Configuring subdirectories): Exercise these
3901 2002-09-09 Akim Demaille <akim@epita.fr>
3903 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
3904 looking for a replacement file.
3905 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
3906 directory is relative.
3907 * doc/autoconf.texi (Generic Functions): Clarify the replacement
3908 directory definition.
3909 Reported by Andreas Schwab and Jim Meyering.
3911 2002-09-06 Akim Demaille <akim@epita.fr>
3913 * doc/autoconf.texi (Setting Output Variables): Clarify what
3914 precious variables are.
3915 Suggested by Pontus Skoeld.
3917 2002-09-05 Akim Demaille <akim@epita.fr>
3919 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3920 (ifnames, autoscan, autom4te): Since we don't only depend on
3921 configure.ac variables (such as VERSION etc.), but also on prefix
3922 and so forth, depend on Makefile, not configure.ac.
3923 Reported by Alexandre Duret-Lutz.
3924 * doc/autoconf.texi (Installation Directory Variables): Adjust.
3926 2002-09-05 Kevin Ryde <user42@zip.com.au>
3928 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
3929 doesn't seem to be confined to ia64, just say "some versions".
3931 2002-09-04 Akim Demaille <akim@epita.fr>
3933 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
3935 * Makefile.am (maintainer-clean-local): Remove.
3936 (MAINTAINERCLEANFILES): Remove COPYING.
3938 2002-09-03 Paul Eggert <eggert@twinsun.com>
3940 * doc/autoconf.texi (Configuration Commands): Remove obsolete
3941 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
3944 2002-09-03 Akim Demaille <akim@epita.fr>
3946 * configure.ac: Bump to 2.53d.
3947 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
3948 as of today, on Automake's team suggestion.
3950 2002-09-03 Akim Demaille <akim@epita.fr>
3954 2002-09-02 Akim Demaille <akim@epita.fr>
3956 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
3958 * configure.ac: Disable SITE_MACRO_DIR.
3960 2002-09-02 Jim Meyering <meyering@lucent.com>
3962 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
3963 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
3964 Also, tweak grammar: s/make sure to/be sure to/.
3966 2002-09-02 Paul Eggert <eggert@twinsun.com>
3968 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
3969 directory names are generally preferable to physical names.
3971 2002-09-02 Akim Demaille <akim@epita.fr>
3973 * lib/Autom4te/General.pm (&update_file): s/die/error/.
3974 Reported by Raja R. Harinath.
3975 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
3976 * bin/autoupdate.in: Use error instead of die.
3978 2002-09-01 Paul Eggert <eggert@twinsun.com>
3980 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
3981 ordinary shell concatenation rather than echo+tr+sed command that
3982 runs afoul of a long-line-related sed bug in Solaris 8.
3984 * bin/autoheader.in (parse_args): --warning -> --warnings.
3986 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
3987 stdout, as traditional "ls" does.
3988 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
3989 _AC_COMPILER_EXEEXT_O): Likewise.
3990 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
3992 * bin/autoconf.as: Add --prepend-include option. This patch was
3993 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
3994 but bin/autoconf.in is generated automatically from bin/autoconf.as.
3996 * bin/autoconf.in, configure: Regenerate.
3998 * doc/autoconf.texi (Special Shell Variables): Mention
3999 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4001 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4002 MAILPATH and set PS1, PS2, PS4 to default values, to work
4003 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4004 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4005 the Autoconf documentation specifies; fall back to "unset" only if
4006 this fails. Use a shell for-loop for this rather than an m4 loop,
4007 to shorten the output script.
4009 2002-08-30 Paul Eggert <eggert@twinsun.com>
4011 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4012 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4013 for the CDPATH problem. Document PWD.
4014 (Limitations of Builtins): Document the problem that "cd $foo" and
4015 "ls $foo" may refer to different directories in shells conforming
4016 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4017 example, since the old example is now out of date.
4019 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4020 FOO" and "ls FOO" talk about different directories; this catches
4021 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4024 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4025 of rolling our own unset.
4026 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4027 in practice we needn't worry about CDPATH if unset doesn't work.
4029 * Makefile.in, aclocal.m4, bin/Makefile.in,
4030 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4031 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4032 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4033 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4034 tests/Makefile.in: Regenerate with Automake 1.6.3.
4036 * config/config.guess, config/config.sub, config/mkinstalldirs:
4039 * configure: Regenerate with self.
4041 2002-08-30 Kevin Ryde <user42@zip.com.au>
4043 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4046 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4048 * bin/autom4te.in (Request::load): Correctly test for "do" read
4051 2002-08-29 Akim Demaille <akim@epita.fr>
4053 * lib/Autom4te/General.pm (&xqx): New.
4054 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4055 hand, which is not portable.
4057 * bin/autom4te.in: Use them.
4058 Use &error instead of die.
4059 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4062 2002-08-17 Paul Eggert <eggert@twinsun.com>
4064 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4065 default list of compilers to try, since it was long ago superseded
4066 by the ksh fc builtin. Suggested by Steven G. Johnson.
4068 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4070 * doc/autoconf.texi (Invoking autom4te): End the option table,
4071 fixing a bug introduced by the previous patch.
4072 (Limitations of Make): Add a 'target lookup' subentry in the
4073 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4075 2002-07-29 Mark D. Roth <roth@feep.net>
4077 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4078 options and use $AUTOM4TE_PATH.
4079 * doc/autoconf.texi: Remove documentation of autom4te
4080 --include-envvar and --site-macro-subdir options and document
4081 use of $AUTOM4TE_PATH.
4082 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4083 arguments from each language section.
4085 2002-07-29 Paul Eggert <eggert@twinsun.com>
4087 * doc/install.texi: Include copyright symbol in copyright notice.
4089 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4091 (AM_MAKEINFOFLAGS): New macro.
4092 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4093 * Makefile.am (INSTALL): Use the new macros.
4094 Use -o rather than --output, since "missing" does not grok --output.
4096 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4098 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4099 comments do not always work. Never trust the exit status of
4102 2002-07-24 Kevin Ryde <user42@zip.com.au>
4104 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4105 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4107 2002-07-23 Paul Eggert <eggert@twinsun.com>
4109 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4110 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4111 apparently treats PATH="nonexistent" as if it contained ".".
4112 Bug reported by Stefan `Sec' Zehl.
4114 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4116 * doc/autoconf.texi (Limitations of Make): Mention the special
4117 handling of the obj/ directory by BSD make.
4119 2002-07-20 Kevin Ryde <user42@zip.com.au>
4121 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4124 2002-07-19 Akim Demaille <akim@epita.fr>
4126 * doc/autoconf.texi (Function Portability): `exit'.
4127 (Programming in M4sh): Ethymology of M4sh.
4129 2002-07-19 Akim Demaille <akim@epita.fr>
4131 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4133 2002-07-18 Akim Demaille <akim@epita.fr>
4137 2002-07-18 Akim Demaille <akim@epita.fr>
4139 * config/config.guess, config/config.sub: Update.
4141 2002-07-18 Akim Demaille <akim@epita.fr>
4143 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4146 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4147 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4148 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4150 2002-07-18 Akim Demaille <akim@epita.fr>,
4151 Alexandre Duret-Lutz <duret_g@epita.fr>
4153 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4154 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4156 2002-07-17 Russ Allbery <rra@stanford.edu>
4158 * doc/autoconf.texi (Initializing configure): Clarify the
4159 description of the tarname default.
4161 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4163 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4164 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4167 2002-07-17 Akim Demaille <akim@epita.fr>
4169 * lib/Autom4te/General.pm (find_file): Browse the directories in
4170 the order they are given.
4172 2002-07-17 Akim Demaille <akim@epita.fr>
4174 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4175 * tests/wrapper.as: this.
4176 * tests/Makefile.am, configure.ac: Adjust.
4178 2002-07-17 Mark D. Roth <roth@feep.net>
4180 * configure.ac: Add --enable-site-macro-dir option.
4181 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4182 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4183 --site-macro-subdir options.
4184 * bin/autoconf.in: Add --prepend-include option.
4185 * bin/autoheader.in: Add --prepend-include option.
4186 * bin/autoreconf.in: Add --prepend-include option.
4187 * bin/autoscan.in: Add --prepend-include option.
4188 * bin/autoupdate.in: Add --prepend-include option.
4189 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4190 macro directory, remove note that include path directories are
4191 used in reverse order, and document --prepend-include option.
4192 * lib/autom4te.in: Use --prepend-include instead of --include.
4193 * tests/wrapsh.in: Use --prepend-include instead of --include.
4195 2002-07-17 Akim Demaille <akim@epita.fr>
4197 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4199 * doc/autoconf.texi (Initializing configure): Adjust.
4201 2002-07-17 Akim Demaille <akim@epita.fr>
4203 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4204 (_AC_FUNC_MALLOC): New.
4205 (AC_FUNC_MALLOC): Use the latter.
4206 Define HAVE_MALLOC to 0 if broken.
4207 * doc/autoconf.texi (Particular Functions): Adjust.
4209 2002-07-16 Akim Demaille <akim@epita.fr>
4211 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4212 * doc/autoconf.texi (C Compiler): Adjust.
4214 2002-07-09 Akim Demaille <akim@epita.fr>
4216 * doc/autoconf.texi: Properly set the ``header'' part.
4218 2002-07-09 Akim Demaille <akim@epita.fr>
4220 * doc/autoconf.texi (Systemology): Some about Darwin.
4222 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4224 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4225 Don't use AC_REQUIRE in AU_DEFUN.
4227 2002-07-09 Art Haas <ahaas@neosoft.com>
4229 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4231 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4233 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4234 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4235 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4236 so that Emacs setups GNU style for perl-mode and cperl-mode.
4238 2002-06-27 Paul Eggert <eggert@twinsun.com>
4240 * config/install-sh: Quote $src. Prefer || to test's -o option,
4241 as per "Limitations of Builtins".
4242 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4243 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4245 * tests/mktests.sh: Use grep instead of fgrep, as per
4246 "Limitations of Builtins".
4248 2002-06-15 Paul Eggert <eggert@twinsun.com>
4250 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4251 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4252 so that we consistently test the just-built programs.
4253 * tests/wrappl.as: Likewise.
4255 2002-06-12 Paul Eggert <eggert@twinsun.com>
4257 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4258 name, so that symlinks to 'autoconf' work properly. Bug reported
4260 * bin/autoheader.in (AUTOM4TE): Likewise.
4261 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4262 * bin/autoscan.in (autom4te): Likewise.
4263 * bin/autoupdate.in (autom4te): Likewise.
4265 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4266 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4269 2002-06-11 Andreas Schwab <schwab@suse.de>
4271 * doc/autoconf.texi: Add more dir entries.
4273 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4275 * bin/autom4te.in ($cache): Don't define using `$me', the name
4276 of the cache should not depend on the name under which autom4te
4279 2002-06-07 Akim Demaille <akim@epita.fr>
4281 * tests/tools.at (autoconf: forbidden tokens, basic)
4282 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4283 words in autom4te.in.
4285 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4287 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4288 _AC_LANG_PROGRAM_C_F77_HOOKS.
4290 2002-06-07 Akim Demaille <akim@epita.fr>
4292 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4294 (AC_REPLACE_FNMATCH): this.
4295 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4296 AC_FUNC_FNMATCH_GNU.
4298 2002-06-07 Akim Demaille <akim@epita.fr>
4300 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4301 Rosetta Stone for Unix.
4303 2002-06-07 Akim Demaille <akim@epita.fr>
4305 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4306 suggest m4_pattern_allow.
4307 Suggested by Adam J. Richter.
4309 2002-06-07 Akim Demaille <akim@epita.fr>
4311 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4312 ac_config_libobj_dir.
4313 (AC_CONFIG_LIBOBJ_DIR): New.
4314 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4315 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4316 Use ac_config_libobj_dir to find the replacement files.
4317 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4318 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4319 (AC_REPLACE_FNMATCH_GNU): these.
4320 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4321 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4322 * tests/mktests.sh (ac_exclude_list): Don't check
4323 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4325 2002-06-06 Paul Eggert <eggert@twinsun.com>
4327 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4330 * doc/autoconf.texi (Configuration Links): Likewise.
4331 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4333 2002-06-05 Paul Eggert <eggert@twinsun.com>
4335 * config/config.guess, config/config.sub, config/texinfo.tex:
4336 Update from masters.
4338 2002-05-29 Paul Eggert <eggert@twinsun.com>
4340 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4341 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4342 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4344 * lib/autoconf/Makefile.am (check-local): Likewise.
4345 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4346 * lib/autoconf/types.m4 (commentary only): Likewise.
4347 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4348 * lib/autotest/Makefile.am (check-local): Likewise.
4349 * lib/m4sugar/Makefile.am (check-local): Likewise.
4350 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4351 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4353 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4354 * doc/autoconf.texi (Particular Programs): Document them.
4355 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4358 2002-05-27 Paul Eggert <eggert@twinsun.com>
4360 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4361 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4362 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4363 instead of AC_MBSTATE_T, which never existed.
4365 2002-05-23 Akim Demaille <akim@epita.fr>
4367 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4368 version of Autoconf that is discussed.
4370 2002-05-22 Paul Eggert <eggert@twinsun.com>
4372 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4373 from the default list of compilers to try. Suggested by
4375 * NEWS: Document the above.
4376 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4378 2002-05-17 Paul Eggert <eggert@twinsun.com>
4380 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4381 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4382 This improves on an earlier suggestion by H. Peter Anvin.
4384 2002-05-16 Paul Eggert <eggert@twinsun.com>
4386 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4387 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4388 Both macros now accept an optional source-dir arg.
4389 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4391 * NEWS: Document this.
4392 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4394 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4395 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4396 not for GNU extensions; this undoes part of the 2000-11-03 change,
4397 reverting to 2.13-compatible behavior.
4398 Add new optional argument DIR.
4399 (AC_FUNC_FNMATCH_GNU): New macro.
4401 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4403 2002-05-08 Paul Eggert <eggert@twinsun.com>
4405 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4406 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4407 and it causes a 'test' syntax error if it fails.
4408 Bug reported by Stephen Gildea.
4410 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4411 If prototypes are supported, use them to check this at compile-time,
4412 instead of trying to check it at run-time. If we must do a run-time
4413 check, assume that setvbuf is standard when cross-compiling, as
4414 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4415 Bug reported by Paul D. Smith.
4417 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4418 argument specifying location of getloadavg.c. This removes a
4419 FIXME. This idea was taken from Jim Meyering's implementation in
4421 * doc/autoconf.texi (Particular Functions): Document this.
4422 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4423 that's what the code does; this fixes a bug reported by
4426 2002-05-03 Akim Demaille <akim@epita.fr>
4428 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4429 autopoint instead of gettextize.
4430 ($uses_alocal): Rename as...
4431 ($uses_aclocal): this.
4432 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4433 Suggested by Bruno Haible.
4435 2002-05-03 Akim Demaille <akim@epita.fr>
4437 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4439 2002-04-29 Paul Eggert <eggert@twinsun.com>
4441 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4442 files to be 1 second older; just set them to be the same time.
4443 Also, sleep 1 second after the first aclocal, to work around
4444 problems with sub-second time stamps on the input files.
4446 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
4448 * doc/autoconf.texi: Mention "set -e -x" lossage
4449 under node "Limitations of Builtins".
4451 2002-04-29 Akim Demaille <akim@epita.fr>
4453 * doc/install.texi: Better wording for setting variables when
4455 From Christian Cornelssen.
4457 2002-04-29 Akim Demaille <akim@epita.fr>
4459 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4460 of lack of $LINENO support, then the test will compare the $LINENO
4461 in testsuite vs. the lineno in the test file. This is wrong, of
4463 Be sure to protect it.
4464 Reported by Patrick Welche.
4466 2002-04-25 Akim Demaille <akim@epita.fr>
4468 * doc/autoconf.texi (Obsolete Macros): Typo.
4469 Reported by Vladimir Volovich.
4471 2002-04-25 Akim Demaille <akim@epita.fr>
4473 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4474 than some of the input files, hence, on the second run of aclocal,
4475 if some of its input are younger, make them older.
4476 Suggested by Paul Eggert.
4478 2002-04-25 Akim Demaille <akim@epita.fr>
4480 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4481 Thanks to Paul Eggert.
4483 2002-04-25 Akim Demaille <akim@epita.fr>
4485 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4486 and ac_subst_vars be sh variables containing the list of
4487 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
4489 (_AC_INIT_PREPARE): Use them to log them.
4490 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4491 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4492 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4493 _AC_SUBST_FILES and _AC_SUBST_VARS.
4494 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4496 2002-04-24 Akim Demaille <akim@epita.fr>
4498 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4499 autoheader, so that automake does not complain about a missing
4500 config.h.in that was to be created.
4502 2002-04-23 Akim Demaille <akim@epita.fr>
4504 * bin/autoheader.in (parse_args): --warning takes an argument.
4507 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
4509 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4510 and bb.out when cleaning up.
4512 2002-04-22 Akim Demaille <akim@epita.fr>
4516 2002-04-22 Akim Demaille <akim@epita.fr>
4518 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4520 2002-04-22 Akim Demaille <akim@epita.fr>
4522 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4524 Reported by Gregory Giannoni.
4526 2002-04-22 Akim Demaille <akim@epita.fr>
4528 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4529 Fixes false failures on Darwin.
4531 2002-04-21 Paul Eggert <eggert@twinsun.com>
4533 * TODO, bin/autoupdate.in, doc/autoconf.texi,
4534 lib/autoconf/general.m4, lib/autoconf/libs.m4,
4535 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4536 tests/tools.at: Minor spelling and grammar fixes.
4538 2002-04-20 Paul Eggert <eggert@twinsun.com>
4540 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4541 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
4542 * lib/autotest/general.m4 (AT_INIT): Likewise.
4543 * tests/atgeneral.m4 (AT_INIT): Likewise.
4545 2002-04-19 Paul Eggert <eggert@twinsun.com>
4547 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4548 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4549 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4550 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4551 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4552 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4553 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4554 Minor spelling and grammar fixes.
4556 * doc/autoconf.texi: Follow the outline suggested in the GNU
4557 Sample Texts sections of the Texinfo 4.2 manual. Most
4558 importantly, this makes sure that the copyright notices appear in
4559 all output formats. You probably need Texinfo 4.2 to generate
4562 Fix some bugs when using "$@" when there might be zero positional
4563 arguments in cases where this matters.
4565 * bin/autoconf.as: Rewrite so that the problem does not come up.
4566 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
4567 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
4568 * lib/autotest/general.m4 (AT_INIT): Likewise.
4570 * bin/autoheader.in: Use 'case' statement to work around problem.
4571 * bin/auto4mte.in: Likewise.
4572 * bin/autoreconf.in: Likewise.
4573 * bin/autoscan.in: Likewise.
4574 * bin/autoupdate.in: Likewise.
4575 * bin/ifnames.in: Likewise.
4577 * doc/autoconf.texi (Shell Substitutions): Document the problem.
4579 * lib/autotest/general.m4 (AT_INIT):
4580 Use Zsh alias to work around problem.
4581 * tests/atgeneral.m4 (AT_INIT): Likewise.
4583 * tests/c.at: We can't have zero arguments, so remove workaround
4584 that is not portable to Zsh.
4586 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4588 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
4589 from aclocal.m4 too.
4591 2002-04-12 Akim Demaille <akim@epita.fr>
4593 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
4595 2002-04-10 Akim Demaille <akim@epita.fr>
4597 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
4598 workaround for ${1+"$@"}.
4599 * doc/autoconf.texi (Shell Substitutions): Explain it.
4600 From Oliver Kiddle and Peter Stephenson.
4602 Have M4sh perform minimal shell sanitizing.
4604 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
4606 (_AS_PREPARE): this new macro.
4608 (AS_INIT): Invoke AS_SHELL_SANITIZE.
4609 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
4611 Adjust Autoconf and Autotest.
4613 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
4614 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
4615 * lib/autotest/general.m4 (AT_INIT): Likewise.
4616 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4617 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
4620 Use this M4sh to generate Autoconf's shell scripts.
4622 * tests/wrapsh.as: New, precursor of wrapsh.in.
4623 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
4624 on Autotest and M4sh.
4625 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
4626 (wrapsh.in): New target.
4627 * bin/autoconf.as: New, precursor of autoconf.in.
4628 (autoconf.in): New target.
4630 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4632 * doc/autoconf.texi (Limitations of Make): Mention the issue
4633 with indented comments in rules.
4635 2002-04-09 Andreas Schwab <schwab@suse.de>
4637 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
4638 ac_top_builddir when setting ac_abs_top_builddir.
4640 2002-04-06 Kevin Ryde <user42@zip.com.au>
4642 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
4643 (Portable Shell): Cross reference to Systemology.
4645 2002-04-05 Akim Demaille <akim@epita.fr>
4647 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
4648 directories when descending in a SUBDIRS.
4649 Reported by Ezra Peisach.
4651 2002-04-04 Andreas Schwab <schwab@suse.de>
4653 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
4654 contains no literal separators.
4656 2002-04-03 Akim Demaille <akim@epita.fr>
4658 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
4659 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
4660 Use dnl, not the KILL diversion.
4662 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
4663 (AC_CONFIG_LINKS): here.
4665 Don't use the KILL diversion, as it kills spurious output, which
4666 results in failures being hidden.
4667 Use m4_defn where appropriate.
4668 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
4669 after the second argument.
4671 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
4672 syntax, as it is provided by M4sugar.
4673 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
4675 2002-04-03 Andreas Schwab <schwab@suse.de>
4677 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
4678 expanded if $# <= 2.
4680 * bin/autoreconf.in (autoreconf): Run automake after rerunning
4683 2002-04-03 Akim Demaille <akim@epita.fr>
4685 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
4686 (_AC_COMPILER_EXEEXT_REJECT): New.
4687 Also recognize *.bb and *.bbg as compilation byproducts.
4688 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
4689 (_AC_COMPILER_OBJEXT): Use them.
4690 Fixes Debian #138666.
4692 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
4694 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
4696 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
4697 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
4698 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
4699 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
4701 (AC_C_INLINE): Same.
4702 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
4703 * doc/autoconf.texi, NEWS: Document.
4704 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
4707 2002-04-02 Akim Demaille <akim@epita.fr>
4709 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
4710 _AS_MKDIR_P_PREPARE.
4712 2002-03-28 Kevin Ryde <user42@zip.com.au>
4714 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
4715 to avoid versions of HP C which don't allow that.
4717 2002-03-27 Paul Eggert <eggert@twinsun.com>
4719 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
4720 (AS_SHELL_SANITIZE): Invoke it.
4721 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
4723 2002-03-26 Akim Demaille <akim@epita.fr>
4725 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
4727 2002-03-26 Akim Demaille <akim@epita.fr>
4729 * doc/autoconf.texi (Introduction): The GNATS base moved.
4731 2002-03-25 Paul Eggert <eggert@twinsun.com>
4733 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
4734 as POSIX requires, as it doesn't work with Zsh.
4735 * doc/autoconf.texi (Assignments): Document the problem.
4737 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4739 * doc/autoconf.texi (Limitations of Make): Mention more issue
4740 about VPATH, overriding of macros in sub-makes, and handling of
4743 2002-03-21 Paul Eggert <eggert@twinsun.com>
4745 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
4746 problem with here-document buffer boundaries.
4748 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
4749 when reinvoking the shell, to work around problems with installers
4750 who put strange things like "cd" commands in their environments.
4752 2002-03-19 Akim Demaille <akim@epita.fr>
4754 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
4757 2002-03-19 Akim Demaille <akim@epita.fr>
4759 * bin/autoscan.in (scan_file): Specify the location in `&used'
4763 2002-03-19 Akim Demaille <akim@epita.fr>
4765 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
4766 From Nishio Futoshi.
4768 2002-03-19 Akim Demaille <akim@epita.fr>
4770 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
4772 2002-03-18 Paul Eggert <eggert@twinsun.com>
4774 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
4775 (Limitations of Usual Tools): Add mkdir section.
4777 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
4778 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
4779 back on AS_DIRNAME to compute prefixes otherwise; this is
4780 roughly what mkinstalldirs does. That way, we need not have
4781 our own filename disassembler. The old disassembler did not
4782 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
4784 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
4785 Create at_test_all by a series of assignments,
4786 not by a single assignment of a long string. The latter causes ksh
4787 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
4788 presumably because of a buffer overrun.
4790 2002-03-14 Paul Eggert <eggert@twinsun.com>
4792 * lib/autotest/general.m4 (at_times_skip):
4793 Renamed from at_times. Now a boolean.
4794 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
4795 says 'times: not found'.
4797 2002-03-14 Akim Demaille <akim@epita.fr>
4799 * bin/autoreconf.in (&study_gettextize): New.
4800 (&autoreconf): Handle newest gettextize.
4801 Rerun aclocal if needed.
4802 Suggested by Andreas Schwab.
4804 2002-03-13 Akim Demaille <akim@epita.fr>
4806 * doc/autoconf.texi (Special Shell Variables): More about IFS.
4808 2002-03-13 Akim Demaille <akim@epita.fr>
4810 * doc/autoconf.texi (Header Portability): New.
4811 Add information about stdint.h and inttypes.h from Paul Eggert.
4813 2002-03-13 Akim Demaille <akim@epita.fr>
4815 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
4819 2002-03-12 Akim Demaille <akim@epita.fr>
4821 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
4824 2002-03-11 Andreas Schwab <schwab@suse.de>
4826 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
4827 does not do it if --with-lispdir is given.
4829 2002-03-08 Akim Demaille <akim@epita.fr>
4833 2002-03-08 Akim Demaille <akim@epita.fr>
4835 * doc/autoconf.texi (Subdirectories): Clarify that the
4836 subdirectory should exist.
4838 2002-03-08 Akim Demaille <akim@epita.fr>
4840 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
4842 2002-03-08 Akim Demaille <akim@epita.fr>
4844 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
4845 aliases the actual variables, and modifications of the former
4848 2002-03-08 Akim Demaille <akim@epita.fr>
4850 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
4851 because of C-c: have m4 output in tmp files, then mv them.
4853 2002-03-08 Akim Demaille <akim@epita.fr>
4855 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
4856 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4857 * bin/ifnames.in: Copyright update.
4859 2002-03-08 Akim Demaille <akim@epita.fr>
4861 * doc/autoconf.texi (Invoking autom4te): New.
4863 2002-03-05 Akim Demaille <akim@epita.fr>
4865 * doc/autoconf.texi (Specifying Names): Clarification suggested by
4868 2002-03-05 Akim Demaille <akim@epita.fr>
4872 2002-03-04 Akim Demaille <akim@epita.fr>
4874 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
4875 * lib/autoconf/general.m4 (AC_INIT): More informative error
4878 2002-03-04 Akim Demaille <akim@epita.fr>
4880 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
4883 2002-03-04 Akim Demaille <akim@epita.fr>
4885 * doc/autoconf.texi (Transforming Names): Equality between target
4886 and host is irrelevant.
4887 (Specifying Names, Canonicalizing): Remove all references to the
4888 backward compatibility hooks. Rather, collect them all into...
4889 (Hosts and Cross-Compilation): this new section.
4890 * doc/install.texi (System Type): Ditto.
4891 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
4892 that `--host' implies cross-compilation.
4894 2002-03-04 Akim Demaille <akim@epita.fr>
4896 * doc/autoconf.texi (Evaluation Macros): New.
4897 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
4899 (_m4_foreach): Define the variant with immediate evaluation so
4900 that it contains exactly the items, not an expression which
4901 evaluation is the current item.
4902 (m4_re_string, m4_re_word): Don't over quote them.
4904 2002-03-04 Akim Demaille <akim@epita.fr>
4906 Instead of having stacking `shift's evaluated at the end, let
4907 `foreach' loops immediately evaluate them.
4909 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
4910 $*. This is the n-th time I change my mind, but hopefully this is
4913 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
4915 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
4916 it was only a hack for m4_text_wrap.
4917 (m4_car2): Remove, replaced by...
4919 (_m4_foreach): Adjust.
4920 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
4921 m4_bpatsubst for clarification.
4923 2002-03-04 Akim Demaille <akim@epita.fr>
4925 * doc/autoconf.texi (Changequote is Evil): New.
4927 2002-03-03 Kevin Ryde <user42@zip.com.au>
4929 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
4930 on old systems like SunOS.
4932 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
4934 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4935 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4936 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
4937 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
4940 2002-02-28 Akim Demaille <akim@epita.fr>
4942 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
4945 2002-02-28 Kevin Ryde <user42@zip.com.au>
4947 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
4949 2002-02-25 Akim Demaille <akim@epita.fr>
4951 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
4954 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
4956 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
4957 translate \r\n to \n.
4959 2002-02-07 Akim Demaille <akim@epita.fr>
4963 2002-02-07 Akim Demaille <akim@epita.fr>
4965 Fix Autoconf PR/209.
4966 Also reported by Frank Denis.
4968 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
4970 2002-02-07 Akim Demaille <akim@epita.fr>
4972 Fix Autoconf PR/207:
4973 AC_PREFIX_PROGRAM fails with dashed program names
4975 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
4976 variable when looking for the prefix program.
4977 Now it also works for shell variables.
4979 2002-02-07 Akim Demaille <akim@epita.fr>
4981 * doc/autoconf.texi (Limitations of Builtins): More about
4984 2002-02-06 Akim Demaille <akim@epita.fr>
4986 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
4987 case/esac, some shells don't support it.
4988 Reported by Zack Weinberg.
4989 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
4991 2002-02-06 Akim Demaille <akim@epita.fr>
4993 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
4994 sure not to introduce newlines in at_groups.
4995 * lib/autotest/Makefile.am (autotest.m4f): Typo.
4997 2002-02-06 Akim Demaille <akim@epita.fr>
4999 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5002 2002-02-05 Paul Eggert <eggert@twinsun.com>
5004 * doc/autoconf.texi (Specific Compiler Characteristics):
5005 Describe HP-UX cc bug workaround more accurately.
5006 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5008 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5009 cross-compilers, too. This undoes some of the most recent change
5012 2002-02-05 Akim Demaille <akim@epita.fr>
5014 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5015 to make sure they are up to date when `check' is run.
5017 2002-02-05 Akim Demaille <akim@epita.fr>
5019 * doc/autoconf.texi (Making testsuite Scripts): Document
5022 2002-02-05 Akim Demaille <akim@epita.fr>
5024 * lib/freeze.mk: New.
5026 2002-02-05 Akim Demaille <akim@epita.fr>
5028 Implement `autom4te --freeze'.
5030 * bin/autom4te.in (&freeze): New.
5031 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5032 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5034 2002-02-05 Akim Demaille <akim@epita.fr>
5036 * bin/autom4te.in (&parse_args): Implement `frozen files are
5037 optional are the sum of the previous files on the command line'.
5038 Also, pass `--reload-state=' on them, so...
5040 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5041 (M4sh): Rely on M4sugar.
5042 (Autotest, M4sh, M4sugar): Use frozen files.
5044 2002-01-31 Akim Demaille <akim@epita.fr>
5046 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5047 * doc/autoconf.texi (Initializing configure): Adjust.
5049 2002-01-30 Akim Demaille <akim@epita.fr>
5051 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5052 alphanumeric to `-' instead of `_'.
5054 2002-01-30 Akim Demaille <akim@epita.fr>
5056 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5057 for plain code, the other for cross-compilation code. The latter
5058 is now run with GCC only.
5059 * doc/autoconf.texi (Compilers and Preprocessors): New.
5061 2002-01-30 Akim Demaille <akim@epita.fr>
5063 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5065 * doc/autoconf.texi (Initializing configure): Explain how to
5066 change AC_INIT default values.
5068 2002-01-29 Akim Demaille <akim@epita.fr>
5070 * tests/torture.at (Configuring subdirectories): Use configure.in,
5071 so that aclocal 1.4 works.
5072 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5074 2002-01-28 Akim Demaille <akim@epita.fr>
5076 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5079 2002-01-28 Akim Demaille <akim@epita.fr>
5081 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5082 AUTOTEST_PATH *after* it was set.
5083 Don't put `.' in the PATH: the user should be precise and `./' if
5084 needed. In addition, given that the test suite does some `cd', if
5085 `.' is in the path, the `tested programs' sections will report
5086 programs found in the test suite's directory, while during the
5087 tests (performed in their own directory), these programs are no
5088 longer visible. In other words, the results is confusing and
5090 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5092 2002-01-24 Akim Demaille <akim@epita.fr>
5096 2002-01-24 Akim Demaille <akim@epita.fr>
5098 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5099 * doc/autoconf.texi: Finally add Akim as an author.
5101 2002-01-24 Akim Demaille <akim@epita.fr>
5103 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5104 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5105 Bourne. Use /bin/sh.
5106 From Andreas Buening.
5108 2002-01-24 Akim Demaille <akim@epita.fr>
5110 * config/config.guess, config/config.sub, config/texinfo.tex:
5111 Update from masters.
5113 2002-01-24 Akim Demaille <akim@epita.fr>
5115 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5116 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5117 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5118 * config/missing.m4, config/sanity.m4, config/select.m4,
5119 * config/strip.m4: Remove, to ease sync'ing with any version of
5122 2002-01-24 Akim Demaille <akim@epita.fr>
5124 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5125 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5126 Reported by Geir Ove Myhr.
5128 2002-01-21 Akim Demaille <akim@epita.fr>
5130 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5132 2002-01-21 Akim Demaille <akim@epita.fr>
5134 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5135 message on invalid options.
5136 * bin/autom4te.in (parse_args): Don't use
5137 Autoconf::General::getopt with non valid options.
5139 2002-01-17 Jim Meyering <meyering@lucent.com>
5141 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5142 $ac_cv_exeext so we don't use an old, invalid, cached value.
5144 2002-01-11 Akim Demaille <akim@epita.fr>
5146 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5148 * doc/autoconf.texi (Function Portability): Document the strnlen
5150 (Particular Functions): Document AC_FUNC_STRNLEN.
5151 * lib/autoscan/functions: Adjust.
5153 2002-01-06 Akim Demaille <akim@epita.fr>
5155 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5156 package.m4, since is really depends upon configure.ac, not
5158 * doc/autoconf.texi (testsuite Scripts): Adjust.
5159 * tests/Makefile.am (package.m4): New.
5160 EXTRA_DIST it since its a source.
5162 2002-01-06 Akim Demaille <akim@epita.fr>
5164 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5165 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5166 and PACKAGE_BUGREPORT from here...
5167 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5169 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5170 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5171 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5172 * tests/tools.at (autoheader): Adjust.
5173 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5175 2002-01-06 Akim Demaille <akim@epita.fr>
5177 * bin/autoscan.in (scan_file): Use `&used'.
5179 2002-01-03 Akim Demaille <akim@epita.fr>
5181 * doc/autoconf.texi (Output): Improved wording regarding use of
5185 2001-12-18 Kevin Ryde <user42@zip.com.au>
5187 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5188 sometimes needing writable input.
5190 2001-12-17 Jim Meyering <meyering@lucent.com>
5192 * doc/autoconf.texi (New Macros): Tweak wording.
5194 2001-12-14 Akim Demaille <akim@epita.fr>
5196 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5197 trailing files, don't apply `-rf' to files which might not be
5198 created by configure (core, core.*, and *.core), but just `rm -f'.
5199 Suggested by Jonathan Kamens.
5201 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5203 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5205 2001-12-14 Akim Demaille <akim@epita.fr>
5207 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5209 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5211 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5212 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5213 abs_srcdir, top_srcpath to abs_top_srcdir.
5214 (_AC_OUTPUT_FILES): Adjust.
5215 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5216 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5217 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5219 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5221 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5222 C/Fortran linking on HP/UX, by extracting the Fortran library
5223 search path from the LPATH line in the $F77 -v output.
5225 2001-12-12 Kevin Ryde <user42@zip.com.au>
5227 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5228 forbidden file descriptors table.
5230 2001-11-26 Akim Demaille <akim@epita.fr>
5232 * bin/autoscan.in (%c_keywords): Build it at top level.
5233 Map to 1 in order to simplify its uses.
5235 2001-11-26 Akim Demaille <akim@epita.fr>
5237 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5238 Remove $filepath, useless.
5239 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5240 variables, they are really part of the tokens.
5241 Split the input line on spaces and then look for tokens.
5242 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5243 because of `lex$U.$(OBJEXT)'.
5244 (&scan_files): Use "@list" instead of join.
5245 * doc/Makefile.am (CLEANFILES): Add *.fns.
5247 2001-11-26 Akim Demaille <akim@epita.fr>
5249 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5250 Remove, replaced by...
5251 * tests/wrappl.in: Be common for all the Perl executables.
5252 In particular autoscan and autoheader want -I.
5253 * configure.ac: Adjust.
5254 * lib/autoscan/headers: errno.h is portable.
5256 2001-11-26 Akim Demaille <akim@epita.fr>
5258 * bin/autoscan.in (used): New.
5261 2001-11-26 Akim Demaille <akim@epita.fr>
5263 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5265 (&scan_sh_file): Remove a duplicate pattern.
5266 (&check_configure_ac): Use long options.
5267 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5269 2001-11-26 Akim Demaille <akim@epita.fr>
5271 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5272 Before, having a line containing the opening of a multi line
5273 comment made the whole line be ignored.
5275 2001-11-26 Akim Demaille <akim@epita.fr>
5277 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5278 (testsuite Scripts): Be one of its subsection.
5279 (Autotest Logs): New.
5281 2001-11-26 Akim Demaille <akim@epita.fr>
5283 Test groups are now run two directories deeper.
5285 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5286 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5288 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5289 top_srcdir, builddir and top_builddir.
5290 Use `at_*dir' relatively to the directory containing the
5291 suite, use `*dir' when relatively to the current group dir.
5293 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5295 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5296 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5297 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5300 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5302 * doc/autoconf.texi (Using System Type): Add an example of `case
5303 $host' usage so people quit using `case $target' everywhere.
5305 2001-11-22 Akim Demaille <akim@epita.fr>
5307 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5308 spotted by Jim Meyering.
5310 2001-11-16 Paul Eggert <eggert@twinsun.com>
5312 This patch implements a `long double' suggestion by Oliver Kiddle.
5314 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5315 static, to catch errors if the value isn't known at compile-time
5316 and the compiler supports dynamic arrays. Change its name from
5317 `_array_' to `test_array' to avoid potential name clashes.
5318 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5319 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5320 better than double. Catch a bug in GCC 2.95.2 x86.
5321 * doc/autoconf.texi (C Compiler): Document the above.
5324 2001-11-13 Akim Demaille <akim@epita.fr>
5326 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5328 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5330 2001-11-13 Akim Demaille <akim@epita.fr>
5332 * lib/autotest/general.m4 (AT_INIT): After having run the test
5333 group, go back to the initial directory, not to at_suite_dir.
5335 2001-11-13 Akim Demaille <akim@epita.fr>
5337 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5338 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5339 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5341 (AT_CHECK_CONFIGURE): Use absolute paths.
5342 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5343 The problem is still the old one: there is no means in M4 (that I
5344 know about) to create a defining macro, because there is no means
5345 to create `$1' etc., therefore, the defining macro ``swallows''
5346 all the arguments meant to the defined macro.
5348 2001-11-13 Akim Demaille <akim@epita.fr>
5350 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5351 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5353 * tests/aclocal.m4: Remove, as it is no longer used.
5355 2001-11-13 Akim Demaille <akim@epita.fr>
5357 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5358 variable names when referring to a single test group, or to
5359 `suite' when referring to the whole test suite.
5360 `at_last_test' is removed: m4 compute at_format itself.
5361 (at_stdout, at_stder1, at_stderr): New variables.
5362 (AT_CHECK): Use them.
5364 2001-11-13 Akim Demaille <akim@epita.fr>
5366 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5368 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5369 Do it as soon as a test fails, don't wait till the end of the test
5371 Don't remove $as_me.[0-9]*, since these files no longer exist.
5373 2001-11-13 Akim Demaille <akim@epita.fr>
5375 * tests/tools.at: Use absolute paths, since we are no longer run
5378 2001-11-13 Akim Demaille <akim@epita.fr>
5380 Now that tests are running in their own private dir, there is no
5381 need to list the files to remove at the end of tests groups.
5383 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5384 (AT_data_files, at_data_files): Remove.
5385 (AT_CLEANUP, AT_DATA): Simplify.
5387 Remove the group dir if !debug && !failed.
5388 * tests/atspecific.m4: Adjust.
5390 2001-11-13 Akim Demaille <akim@epita.fr>
5392 Start a new layout for Autotest: `testsuite' creates
5393 `testsuite.dir' in which the at-check-line etc. files are to be
5394 found, and `testsuite.dir/003' where the test group 3 is run.
5396 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5397 at_check_line_file, at_format, at_test_normalized, at_group_dir
5399 Create the directories.
5400 Use absolute paths for at- files.
5403 2001-11-11 Michael Matz <matz@kde.org>
5405 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5407 (m4_car): Properly quote arguments.
5409 2001-11-13 Akim Demaille <akim@epita.fr>
5411 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5412 with stricter rules on LIBOBJS.
5414 2001-11-12 Paul Eggert <eggert@twinsun.com>
5416 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5417 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5420 2001-11-12 Akim Demaille <akim@epita.fr>
5422 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5424 2001-11-12 Akim Demaille <akim@epita.fr>
5426 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5427 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5428 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5429 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5430 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5431 specify to what the macro should be defined (typically to 1).
5433 2001-11-12 Akim Demaille <akim@epita.fr>
5435 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5438 2001-11-12 Akim Demaille <akim@epita.fr>
5440 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5441 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
5442 definition used by Automake where LEX is +/- "${missing} lex" and
5443 `missing' itself contains variables.
5445 2001-11-12 Akim Demaille <akim@epita.fr>
5447 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5448 Now that M4sh pushes BODY, the comments were output at the end of
5451 2001-11-08 Akim Demaille <akim@epita.fr>
5453 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5454 that we can trace macros from aclocal.m4.
5455 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5456 obsoleted, and redirect to the former anyway.
5457 Reported by Ralf Corsepius.
5459 2001-11-08 Akim Demaille <akim@epita.fr>
5461 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5462 processed only if present.
5463 * tests/torture.at (Configuring subdirectories): Use autoreconf
5464 instead of successive calls to autoconf.
5465 Add a nonexistent subdirectory to exercise the patch above.
5466 Reported by Ralf Corsepius.
5468 2001-11-08 Kevin Ryde <user42@zip.com.au>
5470 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5471 doesn't accept .S files.
5473 2001-11-07 Akim Demaille <akim@epita.fr>
5475 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5476 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5477 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5478 * bin/autom4te.in (warn_forbidden): New.
5479 (handle_output): Use it.
5480 Read m4_pattern_forbid with messages.
5482 2001-11-05 Akim Demaille <akim@epita.fr>
5484 * bin/autom4te.in (--normalize): Remove.
5485 * lib/autom4te.in: Adjust.
5487 2001-11-05 Akim Demaille <akim@epita.fr>
5489 * tests/Makefile.am (testsuite): Rename this target as...
5490 ($(TESTSUITE)): this.
5493 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
5495 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5496 the --prefix option, also remove it's argument.
5498 2001-11-05 Akim Demaille <akim@epita.fr>
5500 * doc/autoconf.texi (testsuite Invocation): Update.
5501 (Writing testsuite.at): Update.
5503 2001-11-03 Akim Demaille <akim@epita.fr>
5505 * doc/autoconf.texi: s/@code/@command/ where appropriate.
5507 2001-11-03 Akim Demaille <akim@epita.fr>
5509 * lib/Autom4te/General.pm: (&catfile, &canonfile)
5510 (&file_name_is_absolute): New, wrappers around routines from
5512 Use and export them.
5513 (&find_configure_ac): Optionally take a directory where to look at.
5514 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5516 Default @ARGV to `.', not find_configure_ac.
5517 (&autoreconf): Argument is a directory.
5518 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5519 * doc/autoconf.texi (autoreconf Invocation): Update.
5521 2001-11-03 Akim Demaille <akim@epita.fr>
5523 * lib/Autom4te/General.pm (@export_vars, @export_subs)
5524 (@export_forward_subs): New.
5525 Add basename, dirname, and fileparse.
5527 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5528 Don't look for aclocal flags if we already know aclocal is not
5530 Move aclocal.m4t only if it exists.
5531 Reported by Ezra Peisach.
5533 2001-11-03 Akim Demaille <akim@epita.fr>
5535 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5536 passed on command line, defaulting to ./configure.ac if present.
5537 (&maybe_autoreconf, File::Find): Remove, unused.
5538 (&autoreconf): If autoconf is not used, don't try to trace.
5540 2001-11-02 Akim Demaille <akim@epita.fr>
5542 * configure.ac: Bump to 2.52g.
5544 2001-11-02 Akim Demaille <akim@epita.fr>
5548 2001-11-02 Akim Demaille <akim@epita.fr>
5550 * config/config.guess, config/config.sub, doc/standards.texi:
5551 * config/lispdir.m4: Update from masters.
5552 * configure.ac: Bump to 2.52f.
5554 2001-11-02 Akim Demaille <akim@epita.fr>
5556 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5557 Don't run aclocal when aclocal.m4 is not from aclocal.
5559 Don't run libtoolize and gettextize if --install is not given.
5561 2001-11-01 Paul Eggert <eggert@twinsun.com>
5563 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
5564 be invoked before _AS_LINENO_PREPARE.
5565 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
5566 than character ranges.
5568 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
5569 invoking AS_BASENAME. Set the locale variables to 'C' if
5570 possible, as POSIX requires this to get the traditional
5572 * doc/autoconf.texi (Special Shell Variables): Describe the above.
5574 2001-10-31 Paul Eggert <eggert@twinsun.com>
5576 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
5577 with {}, as that triggers a bug in Bash 2.05.
5579 (_AS_LINENO_PREPARE): Use Sed rather than
5580 Awk. Fix the sed prepass to work even if there are multiple
5581 instances of $LINENO on the same line. Do not substitute for
5582 other variables like $LINENOT. Do not check file dates; such a
5583 check is unreliable on sufficiently fast machines, and removing
5584 the check makes the code simpler and more reliable. Check for
5585 output and chmod failures.
5587 * doc/autoconf.texi (Special Shell Variables): Document
5590 2001-10-31 Akim Demaille <akim@epita.fr>
5592 * tests/Makefile.am (atconfig): Remove this target, Automake
5595 2001-10-31 Akim Demaille <akim@epita.fr>
5597 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
5598 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
5599 provided, while it is optional.
5600 * configure.ac: Adjust.
5602 2001-10-26 Paul Eggert <eggert@twinsun.com>
5604 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
5605 lib/Autom4te/Struct.pm:
5606 Require Perl 5.005_03 instead of just 5.005, as some tests fail
5609 * doc/autoconf.texi (Special Shell Variables): Document some
5610 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
5612 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
5613 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
5614 eval $LINENO is not portable in practice.
5616 2001-10-24 Akim Demaille <akim@epita.fr>
5618 * lib/Autom4te/General.pm (backname): New.
5620 2001-10-24 Akim Demaille <akim@epita.fr>
5622 * m4/: Remove, merged into...
5625 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
5627 * doc/autoconf.texi (Shellology): Mention the problems with bash
5628 2.05's use of ANSI quoting in its `set' builtin.
5630 2001-10-22 Paul Eggert <eggert@twinsun.com>
5632 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
5633 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
5634 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
5635 POSIX decided to standardize on the int flavor of strerror_r.
5636 Always do char* test, as there's no reason not to.
5637 Assign to a char* var, to catch strerror_r that returns int*.
5639 * doc/autoconf.texi (Particular Functions):
5640 Document the above changes. Also, document the fact that
5641 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
5643 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
5645 2001-10-20 Akim Demaille <akim@epita.fr>
5647 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
5648 the executable was missing from the log.
5650 2001-10-20 Akim Demaille <akim@epita.fr>
5652 * lib/Autom4te/General.pm (&update_file): If destination is
5653 unchanged, remove the source.
5654 (&up_to_date_p): Don't be verbose, be debug.
5655 * bin/autoreconf.in: No longer support --m4dir.
5656 (&autoreconf): Display the full path of the configure.ac we are
5659 Be sure to honor --force with gettextize.
5661 * doc/autoconf.texi: Adjust.
5663 2001-10-20 Akim Demaille <akim@epita.fr>
5665 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
5667 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
5668 `intl' is already present, as it refuses unless --force.
5669 (&parse_args): Use -I, --include instead of the old Autoconf
5671 ($localdir, $autoconf_dir): Remove.
5673 (&maybe_autoreconf): New, to preserve $_ for File::Find.
5675 2001-10-19 Jens Petersen <petersen@redhat.com>
5677 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
5678 * doc/autoconf.texi (Particular Programs): Likewise.
5680 2001-10-19 Akim Demaille <akim@epita.fr>
5682 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
5683 file in @configure_input@.
5684 Don't mention `automatically' in addition to `generated'.
5685 * tests/torture.at (#define header templates): Adjust.
5687 2001-10-19 Akim Demaille <akim@epita.fr>
5689 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
5690 comment, explain how to install automatic mode selection.
5693 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
5695 * bin/autoreconf.in (autoreconf): Display the path to the
5696 configure.ac being studied.
5698 2001-10-18 Paul Eggert <eggert@twinsun.com>
5700 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
5701 long, to work around a bug in the HP C compiler version HP92453-01
5704 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
5705 (AS_BASENAME_EXPR): New macro.
5706 (AS_BASENAME_SED): Do not assume GNU sed semantics.
5707 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
5708 and fall back on 'sed' only if the other two fail. This makes
5709 AS_BASENAME act more like AS_DIRNAME.
5710 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
5711 contains white space.
5712 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
5713 Use AS_DIRNAME, since I think it's now DOS-friendly.
5714 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
5715 Allow "dirname //FOO" to return either / or //, as POSIX allows
5718 2001-10-10 Akim Demaille <akim@epita.fr>
5720 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
5721 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
5724 2001-10-10 Akim Demaille <akim@epita.fr>
5726 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
5728 (_AS_ECHO_N): AS_REQUIREs it.
5730 2001-10-10 Akim Demaille <akim@epita.fr>
5732 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
5733 (AC_INCLUDES_DEFAULT): Move to...
5734 * lib/autoconf/headers.m4: here.
5735 * lib/autoconf/types.m4: Comment changes.
5736 * doc/autoconf.texi: Specify where the default includes are used
5737 in the macro prototypes.
5739 2001-10-09 Akim Demaille <akim@epita.fr>
5741 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
5744 2001-10-08 Akim Demaille <akim@epita.fr>
5746 * bin/autoreconf.in (&autoreconf): Remove debugging code.
5747 (&parse_args): Pass verbosity/debugging options to subtools when
5748 --debug, not when --verbose.
5749 * lib/autom4te.in (Autoreconf-preselections): New.
5752 2001-10-08 Akim Demaille <akim@epita.fr>
5754 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
5756 2001-10-08 Akim Demaille <akim@epita.fr>
5758 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5759 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
5761 2001-10-08 Akim Demaille <akim@epita.fr>
5763 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
5764 (Syntax of the shell scripts): Don't.
5765 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
5766 bother with $force since...
5767 * lib/Autom4te/General.pm: does.
5769 2001-10-08 Akim Demaille <akim@epita.fr>
5771 * bin/autoreconf.in: Rewrite in Perl.
5772 * configure.ac: Adjust.
5773 * lib/Autom4te/General.pm (&up_to_date_p): New.
5774 * bin/autom4te.in (&up_to_date_p): Use it.
5776 (&up_to_date): this.
5778 2001-10-08 Akim Demaille <akim@epita.fr>
5780 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
5781 (m4_list_cmp): Use $0 to reinvoke yourself.
5782 (m4_patsubsts): New.
5783 (m4_strip, m4_version_unletter): Use it.
5784 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
5786 2001-10-08 Akim Demaille <akim@epita.fr>
5788 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
5789 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
5790 * lib/autoconf/types.m4, lib/autotest/general.m4,
5791 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
5792 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
5793 m4_bregexp, m4_bpatsubst, and m4_bmatch.
5794 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
5796 2001-10-08 Akim Demaille <akim@epita.fr>
5798 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
5800 2001-10-08 Akim Demaille <akim@epita.fr>
5802 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
5803 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
5804 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
5805 * tests/tools.at, tests/m4sh.at: Use it.
5806 * tests/m4sh.at: Don't rely on Autoconf macros.
5807 (DIRNAME_TEST): Also exercise the expr variant.
5808 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
5809 preferred M4sugar extension is now `.4s'.
5810 * tests/README: Remove.
5812 2001-10-08 Akim Demaille <akim@epita.fr>
5814 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
5815 (m4_provide_if): this.
5816 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
5817 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
5818 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
5819 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
5821 2001-10-08 Akim Demaille <akim@epita.fr>
5823 Use `add-log-current-defun-function' for ChangeLog creation.
5824 Suggested by Tom Tromey.
5826 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
5827 (autotest-mode): Adjust.
5828 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
5829 'comment-region onto `C-c ;'.
5830 Comments are `#', not `dnl'.
5831 (autoconf-current-defun): New.
5832 (autoconf-font-lock-keywords): Recognize `m4_defun'.
5834 2001-10-08 Akim Demaille <akim@epita.fr>
5836 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
5837 * lib/m4sugar/m4sh.m4: here.
5838 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
5839 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
5840 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
5841 include handle the m4_pattern_*, no longer push the
5842 BODY diversion nor set the /bin/sh line, AS_INIT does it.
5843 * lib/autotest/general.m4 (AT_INIT): Likewise.
5844 * tests/base.at: Adjust the tests to use AS_INIT.
5845 * tests/tools.at (AT_DATA_FORBIDDEN): New.
5846 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
5849 2001-10-07 Paul Eggert <eggert@twinsun.com>
5851 * doc/autoconf.texi (config.status Invocation):
5852 CONFIG_SHELL defaults to a shell that supports LINENO if available.
5854 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
5855 shell does not support LINENO, and if CONFIG_SHELL is unset or
5856 empty, and if we can find a shell that does support LINENO,
5857 then set CONFIG_SHELL to that shell and then re-execute
5858 ourselves with CONFIG_SHELL.
5860 2001-10-05 Paul Eggert <eggert@twinsun.com>
5862 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
5863 doesn't exist. Remove *.tmp, as a .tmp file is created during the
5864 build of $(TESTSUITE).
5866 2001-10-05 Akim Demaille <akim@epita.fr>
5868 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
5869 iff we are a bareword.
5870 Reported by Raja R Harinath.
5872 2001-10-05 Akim Demaille <akim@epita.fr>
5874 * tests/m4sh.at (LINENO): New.
5875 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
5876 PATH_SEPARATOR before using it.
5877 Fix the absolute path case/esac pattern.
5878 Provide $0 as fallback for as_myself.
5879 Reported by Raja R Harinath.
5881 2001-10-05 Akim Demaille <akim@epita.fr>
5883 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
5884 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
5886 2001-10-05 Akim Demaille <akim@epita.fr>
5888 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
5889 (AS_SHELL_SANITIZE): here. Use it.
5890 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
5893 2001-10-04 Akim Demaille <akim@epita.fr>
5895 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
5896 combination of Awk and sed to replace $LINENO.
5898 2001-10-02 Paul Eggert <eggert@twinsun.com>
5900 * doc/autoconf.texi (Limitations of Builtins): You can't use
5901 "source"; it's not portable. Remove confusing and
5902 somewhat-incorrect example involving "." and "/".
5904 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
5905 compatibility with POSIX shells.
5907 2001-10-02 Akim Demaille <akim@epita.fr>
5909 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
5910 instead of exec'ing to preserve $0 and $@.
5912 2001-10-01 Akim Demaille <akim@epita.fr>
5914 * tests/testsuite (AT_INIT) <at_pass_list>: New.
5915 Don't run twice the same test.
5917 2001-10-01 Akim Demaille <akim@epita.fr>
5919 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
5920 No longer output the list of tests.
5921 <--list>: New option.
5922 <--full-help>: Remove.
5923 Complete the short/long options duality.
5924 Various small adjustments.
5926 2001-10-01 Akim Demaille <akim@epita.fr>
5928 * doc/autoconf.texi: Use @kbd for user input.
5929 Always use `$' as shell prompt.
5931 2001-09-30 Paul Eggert <eggert@twinsun.com>
5933 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
5934 Don't use nested parenthesization. This patch was originally
5935 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
5936 but somehow it didn't get incorporated then.
5937 * doc/autoconf.texi (Limitations of Usual Tools):
5938 Clarify remark about sed and nested parenthesization.
5940 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
5941 Report an error if the size cannot be determined even though
5943 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5944 Check for `expr' arithmetic overflow, and for compilation failure,
5945 and invoke a new argument $4 if either is discovered.
5946 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
5947 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
5949 2001-09-28 Akim Demaille <akim@epita.fr>
5951 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
5952 * m4/lispdir.m4: New.
5953 * aclocal.m4, configure.ac: Adjust.
5955 2001-09-28 Akim Demaille <akim@epita.fr>
5957 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
5959 (AT_INIT): More the wrapped section to where it will be expanded.
5960 Output `AT_tested' only when existing.
5961 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
5963 2001-09-27 Akim Demaille <akim@epita.fr>
5965 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
5966 generates too many bug reports.
5968 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
5969 status when executing the ACTION-IF-FALSE.
5970 * tests/base.at (AC_TRY_*): Rename as...
5971 (AC_TRY_COMMAND): this.
5972 (AC_RUN_IFELSE): New.
5973 * tests/compile.at (Extensions, C keywords)
5974 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
5975 (Broken/missing compilers, AC_PROG_CPP with warnings)
5976 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
5977 * tests/c.at (Extensions, C keywords)
5978 (Broken/missing compilers, AC_PROG_CPP with warnings)
5979 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
5980 (AC_PROG_CPP requires AC_PROG_CC): here and...
5981 * tests/fortran.at (GNU Fortran 77): there.
5982 * doc/autoconf.texi (autoconf Invocation): Fix the example:
5983 AC_TRY_RUN is about compilation, not shell commands.
5984 (Test Programs): AC_TRY_RUN works as used to be advertised.
5986 2001-09-27 Akim Demaille <akim@epita.fr>
5988 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
5990 Be sure to detect when $LINENO always returns the same value.
5991 Look for the original script, basename($0) is certainly not
5993 Pass the CLI arguments to `$as_me.lineno'.
5995 2001-09-25 Akim Demaille <akim@epita.fr>
5997 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
5998 Be sure the close and reopen the LOG fd before and after using tee
6000 <at_tests_pattern>: Adjust to the new format of at_help_all.
6002 2001-09-23 Akim Demaille <akim@epita.fr>
6004 * bin/autom4te.in (parse_args): There can be several invocations
6007 2001-09-23 Akim Demaille <akim@epita.fr>
6009 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6011 2001-09-23 Akim Demaille <akim@epita.fr>
6013 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6014 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6015 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6016 builddir, buildpath, top_builddir, and top_buildpath.
6017 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6018 the current directory.
6019 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6020 variables *before* changing the current directory.
6021 Skip nonexistent dirs.
6022 * doc/autoconf.texi (Preset Output Variables): Document these
6025 * lib/autotest/general.m4: Do not reset AT_victims.
6026 Don't compute at_srcdir nor at_top_srcdir.
6028 * tests/tools.at: Hence use top_srcdir.
6030 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6031 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6033 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6034 * tests/wrapsh.in, tests/autoupdate.in: New.
6035 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6036 * configure.ac: Build the position independent wrappers.
6038 * man/Makefile.am: Now that test wrappers are position
6039 independent, use them and drop dark envvar magic.
6041 2001-09-23 Akim Demaille <akim@epita.fr>
6043 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6044 (Programming in M4sh): this.
6045 Promote to @section.
6047 2001-09-23 Akim Demaille <akim@epita.fr>
6049 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6050 Pass $at_debug_args to the rerun test suite.
6051 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6052 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6055 2001-09-23 Akim Demaille <akim@epita.fr>
6057 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6059 2001-09-23 Akim Demaille <akim@epita.fr>
6061 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6064 2001-09-23 Akim Demaille <akim@epita.fr>
6066 * lib/Autom4te/General.pm (&debug): New.
6067 * bin/autom4te.in ($language): Move to...
6069 Handle --language in languages.
6070 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6071 (Autoscan-selections): New.
6074 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6076 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6077 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6078 to match current versions from CVS Automake.
6080 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6082 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6085 2001-09-22 Akim Demaille <akim@epita.fr>
6087 * lib/autoconf/autotest.m4: Create `package.m4'.
6088 * tests/Makefile.am (package.m4): Remove.
6090 2001-09-22 Akim Demaille <akim@epita.fr>
6092 Rely on `$LINENO' when possible instead of `__oline__'.
6094 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6095 `$LINENO' support replacement when not supported.
6096 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6097 them explicitly to be sure they are not output before this section
6098 (via m4_require). Cosmetic only.
6099 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6100 * lib/autoconf/programs.m4: Replace all the occurrences of
6101 `__oline__' with `$LINENO'.
6102 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6104 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6106 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6107 character (u: -> ue) in a code comment.
6108 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6111 2001-09-21 Akim Demaille <akim@epita.fr>
6113 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6114 Suggested by Jim Meyering.
6116 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6118 * lib/autoconf/programs.m4: Use extensions listed in
6119 $ac_executable_extensions when looking for programs.
6121 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6123 * lib/autoconf/general.m4: Fix a small Englisho.
6124 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6125 setting up ac_dir_suffix and ac_top_builddir.
6126 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6128 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6130 * doc/autoconf.texi (File System Conventions): Clarify the use of
6132 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6133 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6134 be used instead of ':'.
6135 * lib/autotest/general.m4: Replace occurrences of ':' in
6136 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6138 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6140 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6141 arguments. Fixed a typo.
6143 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6145 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6146 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6148 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6150 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6151 * bin/autoupdate.in: Ditto.
6152 * bin/autoheader.in: Reworded a few comments.
6153 * bin/autoconf.in: Reworded help text for a few options.
6154 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6155 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6157 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6159 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6160 already have $file). Set output files to binary mode (helps avoid
6161 CR issues on DOSish systems).
6163 2001-09-19 Akim Demaille <akim@epita.fr>
6165 * lib/autotest/general.m4: Englishoes.
6166 From Tim Van Holder and Alexey Mahotkin.
6168 2001-09-18 Paul Eggert <eggert@twinsun.com>
6170 * doc/autoconf.texi (Common Shell Constructs): New node,
6171 documenting AS_DIRNAME.
6172 (Limitations of Usual Tools): Refer to it when discussing dirname.
6173 Also, update discussion of POSIX standard to reflect latest draft.
6175 * lib/autoconf/c.m4:
6176 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6178 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6179 Do not pass a first argument with leading '-'
6180 to expr, by parenthesizing initial integers that might be negative.
6182 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6183 now merely checks whether it is an error to pass an argument
6186 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6187 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6188 whether it is a (compile-time) error to pass an argument to
6189 getpgrp. This simpler test supports the revised documentation,
6190 and is all that AC_FUNC_GETPGRP's users really need.
6192 2001-09-18 Akim Demaille <akim@epita.fr>
6194 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6196 2001-09-18 Akim Demaille <akim@epita.fr>
6198 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6200 * lib/autotest/general.m4 (AT_INIT): Adjust.
6202 2001-09-18 Paul Wagland <paul@wagland.net>
6204 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6206 Add test for AS_BASENAME.
6207 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6208 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6209 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6210 * tests/base.at: Fixed the expected responses. The old ones were
6212 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6213 the documentation claims it should (and how it behaved in 2.13).
6215 2001-09-18 Akim Demaille <akim@epita.fr>
6217 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6218 the AC_CONFIG_COMMANDS invocation.
6219 This also solves the name clash problems.
6220 Don't set the package's ID.
6221 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6222 No longer to be shipped.
6223 (version.in): Remove.
6224 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6225 * lib/autoconf/status.m4: Adjust.
6226 Use `m4_PACKAGE_STRING'.
6227 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6228 the only optional argument is the name of the test suite.
6229 Expect `package.m4' to define the package signature.
6230 * lib/autom4te.in (Autotest): Add `package.m4?'.
6231 * tests/Makefile.am (package.m4): New.
6232 * tests/suite.at: ifnames is a victim.
6234 2001-09-18 Akim Demaille <akim@epita.fr>
6236 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6237 AC_LIBSOURCE, AC_CONFIG_FILES.
6238 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6239 program version string doesn't match the package's.
6240 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6243 2001-09-17 Paul Eggert <eggert@twinsun.com>
6245 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6246 Allow expression to return any value that can fit into unsigned long
6247 (not int, as before). Check for output errors.
6249 2001-09-17 Bruno Haible <haible@ilog.fr>
6251 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6252 Always include <stdio.h> and <stdlib.h>. Evaluate
6253 the expression in an extra function before these includes. Call
6254 fprintf "%d" only after ensuring the argument is of type 'int'.
6255 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6257 2001-09-17 Paul Eggert <eggert@twinsun.com>
6259 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6260 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6261 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6262 when they don't exist.
6264 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6265 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6268 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6269 version with the version used by fileutils 4.1, except use
6270 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6273 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6275 2001-09-13 Akim Demaille <akim@epita.fr>
6277 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6279 Reported by Gerrit P. Haase.
6281 2001-09-13 Akim Demaille <akim@epita.fr>
6283 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6284 m4_defn'ing is valid.
6286 2001-09-13 Akim Demaille <akim@epita.fr>
6288 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6289 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6292 2001-09-13 Akim Demaille <akim@epita.fr>
6294 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6296 (m4_re_escape): New.
6297 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6298 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6299 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6301 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6302 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6303 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6304 AT_tests_all for consistency.
6306 (AT_VICTIMS): Similar to AT_KEYWORDS.
6307 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6309 2001-09-13 Akim Demaille <akim@epita.fr>
6311 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6313 2001-09-13 Akim Demaille <akim@epita.fr>
6315 * lib/autotest/general.m4 (AT_INIT): Create and remove
6316 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6317 test suites can cohabit.
6319 2001-09-13 Akim Demaille <akim@epita.fr>
6321 * tests/mktests.sh: Don't output banners for empty test files.
6323 2001-09-13 Akim Demaille <akim@epita.fr>
6325 Test suites can be run independently of configure.
6327 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6328 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6329 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6331 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6333 * lib/autotest/general.m4: Use ECHO_*.
6335 2001-09-13 Akim Demaille <akim@epita.fr>
6337 * bin/ifnames.in: Rewrite in Perl.
6338 * configure.ac: Don't look for AWK.
6339 * tests/tools.at (AWK portability): Remove.
6340 (Syntax of the shell scripts): Don't check ifnames.
6341 (AT_CHECK_PERL_SYNTAX): New.
6342 (Syntax of the Perl scripts): Check ifnames.
6343 * tests/ifnames: New.
6345 2001-09-13 Akim Demaille <akim@epita.fr>
6347 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6349 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6350 Remove all the other keywords.
6352 2001-09-10 Akim Demaille <akim@epita.fr>
6354 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6355 SETUP: no longer used.
6356 Support -k, --keywords.
6357 <at_help>: Be `no', `short', or `long'.
6358 <at_help_all>: New variable.
6360 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6361 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6362 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6363 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6364 No longer fill the HELP diversion.
6365 (AT_CLEANUP): Use them.
6366 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6367 (m4_list_append): Remove.
6369 Spread a few keywords in the Autoconf test suite.
6371 2001-09-10 Akim Demaille <akim@epita.fr>
6373 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6374 PATH_SEPARATOR, let M4sh compute it.
6375 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6376 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6378 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6379 Simplify when the path is not a literal.
6380 (AS_UNAME): Use it to report PATH.
6381 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6382 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6383 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6384 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6385 normalize the path, and to look for victims.
6386 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6387 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6389 2001-09-07 Akim Demaille <akim@epita.fr>
6391 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6392 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6393 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6394 related variables into `at_package_*'.
6395 * lib/autotest/general.m4 (AT_VICTIMS): New.
6396 (AT_INIT): Adjust for stand-alone/embedded test suites.
6397 (AS_MESSAGE_LOG_FD): Define and use it.
6398 * tests/suite.at (AT_VICTIMS): Use it.
6399 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6402 2001-09-07 Akim Demaille <akim@epita.fr>
6404 Move toward possibly stand-alone test suites.
6406 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6407 in addition, it introduces useless differences in logs.
6408 (AT_INIT): Let atconfig and atlocal be both optional.
6409 Adjust PATH computation.
6410 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6412 2001-09-07 Akim Demaille <akim@epita.fr>
6414 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6417 2001-09-05 Akim Demaille <akim@epita.fr>
6419 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6420 to avoid GCC warnings.
6423 2001-09-05 Akim Demaille <akim@epita.fr>
6425 * bin/autom4te.in: --language is -l, not -s.
6427 2001-09-05 Akim Demaille <akim@epita.fr>
6429 Be ready to handle filenames as stupid as `dnl.at', for if even
6430 the maintainer is dumb enough to do that...
6432 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6433 excellence in M4 quotation: consider `__file__' is active.
6435 And BTW, when invoking m4, pass the --include in the right order:
6438 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6441 2001-09-05 Akim Demaille <akim@epita.fr>
6443 * lib/Autom4te/XFile.pm: New lib file.
6444 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6445 * bin/autoheader.in: Use it.
6447 2001-09-05 Akim Demaille <akim@epita.fr>
6449 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6452 2001-09-05 Akim Demaille <akim@epita.fr>
6454 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6455 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6457 * bin/autoscan.in: Use `getopt' and `find_files' etc.
6458 Add -I, --include support.
6459 * doc/autoconf.texi (autoscan Invocation): Adjust.
6461 2001-09-05 Akim Demaille <akim@epita.fr>
6463 CVS GNU M4 doesn't like `undefine(undefined)'.
6465 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6466 New, extracted from main.
6467 Use IO::File wherever possible.
6468 (input.m4): Be constant, use -I instead of hard coding $tmp.
6469 Therefore be a quoted heredoc.
6470 Don't invoke `_au_disable', since ac was not loaded, but just
6473 2001-08-31 Akim Demaille <akim@epita.fr>
6477 2001-08-31 Akim Demaille <akim@epita.fr>
6479 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6481 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6483 2001-08-31 Akim Demaille <akim@epita.fr>
6485 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6486 serious problems handling heredocs in heredocs.
6487 Reported by Nicolas Joly.
6489 2001-08-31 Akim Demaille <akim@epita.fr>
6491 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6492 (Making testsuite Scripts): Update.
6494 2001-08-31 Akim Demaille <akim@epita.fr>
6496 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6498 2001-08-31 Akim Demaille <akim@epita.fr>
6500 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6501 (testsuite Scripts): There is no such thing as `atconfig.in'.
6502 And actually one diagram is missing: test suite runtime.
6504 2001-08-31 Akim Demaille <akim@epita.fr>
6506 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6509 2001-08-31 Akim Demaille <akim@epita.fr>
6511 * bin/autoupdate.in (@include): `installcheck' revealed the path
6512 to m4sugar was lacking!
6514 2001-08-31 Akim Demaille <akim@epita.fr>
6516 * man/Makefile.am (.x.1): We really have to pass
6517 autom4te_perllibdir.
6519 2001-08-31 Akim Demaille <akim@epita.fr>
6521 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6522 debug scripts, in particular passing explicitly listed tests to
6525 2001-08-31 Akim Demaille <akim@epita.fr>
6527 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6528 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6529 Use directly autom4te, not autoconf.
6530 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6532 2001-08-31 Akim Demaille <akim@epita.fr>
6534 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6535 * bin/autoheader.in (%symbol): Strip arguments of macros.
6537 2001-08-31 Akim Demaille <akim@epita.fr>
6539 * doc/autoconf.texi: Catch up -I, --include changes.
6541 2001-08-31 Akim Demaille <akim@epita.fr>
6543 * bin/autom4te.in (&parse_args): Die on unknown languages.
6544 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6546 Promote --include over --macrodir and other obsolete options.
6548 2001-08-31 Akim Demaille <akim@epita.fr>
6550 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6551 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6552 * bin/autom4te.in ($autoconf): Pass --force.
6553 `print $out' doesn't print `$_' but `$out'.
6554 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6555 (autoheader): Pass --force since the test suite goes too fast for
6557 Adjust to the new autoheader messages.
6559 2001-08-31 Akim Demaille <akim@epita.fr>
6561 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
6562 Check the completeness of the #template.
6563 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
6564 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
6567 2001-08-31 Akim Demaille <akim@epita.fr>
6569 * lib/Autom4te/General.pm (&find_file, &update_file): New.
6570 * bin/autoupdate.in, bin/autoheader.in: Adjust.
6571 Drop AC_MACRODIR dead for real.
6572 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
6573 `autoheader: `config.hin' is created'.
6574 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
6576 2001-08-31 Akim Demaille <akim@epita.fr>
6578 * bin/autoheader.in: Rewrite in Perl.
6579 * tests/autoheader: Adjust.
6581 2001-08-31 Akim Demaille <akim@epita.fr>
6583 * bin/autoconf.in (--include, -I): New option.
6584 Map --localdir, --autoconf-dir onto it.
6585 Forward autom4te's options instead of interpreting them.
6586 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
6587 There is no such envvar since the inception of autom4te.cfg.
6588 * bin/autom4te.in (&parse_args): Uniquify `@include'.
6589 * bin/autoupdate.in: Adjust, and perform more control.
6590 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
6591 * tests/autoconf: Dittowise.
6593 2001-08-31 Akim Demaille <akim@epita.fr>
6595 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
6596 * bin/autom4te.in (&find_file): Support `FILE?' standing for
6598 Use -e, not -f, since /dev/null for instance is OK.
6599 (&parse_args): Adjust.
6600 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
6602 2001-08-31 Akim Demaille <akim@epita.fr>
6604 * configure.ac: Also find tested executables in bin.
6605 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
6606 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
6607 installed peer executables, only PATH is allowed to resolve it.
6608 Pass `autoconf_dir' via options, not via invisible envvars.
6609 * lib/Autom4te/General.pm (&find_peer): Remove.
6610 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
6611 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
6612 * man/Makefile.am: Let help2man rely on PATH instead of trying to
6613 find the executables for it.
6614 * tests/Makefile.am: Major cleanup. Too lazy to document...
6615 * tests/atlocal.in: Remove all the obscure envvar manipulations.
6617 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
6618 indeed related to running the test suite, while passing
6619 --autoconf-dir and others is related to running non installed
6620 Autoconf executables. So don't do that, leave it to...
6621 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
6622 * tests/autoscan: New.
6623 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
6624 refer to library files: rely on --language.
6626 2001-08-29 Akim Demaille <akim@epita.fr>
6628 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
6629 s/--set/--language/.
6631 2001-08-29 Akim Demaille <akim@epita.fr>
6633 * doc/autoconf.texi: Strip the @nodes.
6634 Suggested by Paul Eggert.
6635 (Initializing configure): Typo.
6637 2001-08-29 Akim Demaille <akim@epita.fr>
6639 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
6640 Suggested by Paul Eggert.
6642 2001-08-29 Akim Demaille <akim@epita.fr>
6644 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
6645 download in a tmp dir.
6647 2001-08-29 Akim Demaille <akim@epita.fr>
6649 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
6650 case insensitive OSes out there :(
6651 From Tim Van Holder.
6653 2001-08-29 Akim Demaille <akim@epita.fr>
6655 * lib/autom4te.in: New.
6656 * lib/Makefile.am (edit, autom4te.cfg): New.
6657 * bin/autom4te.in (BEGIN): Simplify.
6658 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
6659 (&load_configuration): New. Use it.
6660 (&parse_args): Support --mode, --set, and --melt.
6661 * bin/autoconf.in: Simplify and adjust.
6662 * tests/Makefile.am (AUTOMAKE): Use --set.
6663 * tests/atlocal.in: Adjust.
6664 * BUGS: distcheck and check are weak.
6666 2001-08-29 Akim Demaille <akim@epita.fr>
6668 * lib/autotest/general.m4: Use
6669 foo=`(command) 2>/dev/null`
6671 foo=`command` 2>/dev/null
6672 (at-devnull): Rename as...
6674 (--clean): Remove AT-* files too.
6675 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
6676 Reported by Nicolas Joly.
6678 2001-08-28 Akim Demaille <akim@epita.fr>
6680 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
6681 quotes inside single quotes.
6682 Reported by Nicolas Joly.
6684 2001-08-28 Kevin Ryde <user42@zip.com.au>
6686 * doc/autoconf.texi (Function Portability): Mention C right shifts.
6688 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
6690 * lib/autotest/general.m4: Reword some messages.
6691 (AT_INIT): Check for the `times' builtin before using it.
6692 Support test ranges as arguments to the testsuite.
6693 Have -e imply -d as the help text suggested.
6695 2001-08-27 Akim Demaille <akim@epita.fr>
6697 * Makefile.maint: Formatting changes.
6698 (do-po-update, po-update, cvs-update, update): New targets.
6701 2001-08-27 Akim Demaille <akim@epita.fr>
6703 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
6705 Pass it to debug-*.sh scripts.
6706 <AUTOTEST_PATH>: May contain absolute dir names.
6708 2001-08-27 Akim Demaille <akim@epita.fr>
6710 * lib/autotest/general.m4 (AT_INIT): Log the command line.
6711 Support `VAR=VAL' as arguments.
6712 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
6713 may be set via the command line.
6715 2001-08-27 Akim Demaille <akim@epita.fr>
6717 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
6718 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
6719 first the build dirs, then the src dirs.
6720 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
6722 2001-08-27 Akim Demaille <akim@epita.fr>
6724 * lib/autotest/general.m4 (AT_INIT): Output the definition of
6725 at_data_files earlier.
6726 (--clean, -c): New option.
6727 * tests/Makefile.am: Use this option.
6729 2001-08-27 Akim Demaille <akim@epita.fr>
6731 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
6732 `ac_top_builddir' to mimic Automake's vocabulary, which much more
6735 * doc/autoconf.texi (Configuration Actions): Document the vars
6736 available in commands.
6737 Emphasize the risks of collisions in init-cmds.
6739 2001-08-27 Akim Demaille <akim@epita.fr>
6741 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
6742 (Initializing configure): this new node.
6744 2001-08-27 Akim Demaille <akim@epita.fr>
6746 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
6748 2001-08-27 Akim Demaille <akim@epita.fr>
6750 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
6751 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
6753 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
6755 2001-08-27 Akim Demaille <akim@epita.fr>
6757 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
6759 * lib/autoconf/autoheader.m4: this new file.
6760 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
6761 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
6763 * lib/autoconf/autoupdate.m4: this new file.
6765 2001-08-27 Akim Demaille <akim@epita.fr>
6767 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
6768 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
6769 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
6771 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
6772 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
6774 2001-08-27 Akim Demaille <akim@epita.fr>
6776 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
6777 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
6778 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
6779 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
6780 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
6781 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
6782 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
6783 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
6784 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
6785 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
6786 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
6787 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
6788 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
6789 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
6790 (_AC_OUTPUT_SUBDIRS): Move to...
6791 * lib/autoconf/status.m4: this new file.
6792 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
6793 * tests/Makefile.am, tests/suite.at: Adjust.
6795 2001-08-27 Akim Demaille <akim@epita.fr>
6799 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
6800 (AMTAR): Help automake define it.
6801 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
6802 needed, 1.5 can have a macro and a target with the same name.
6803 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
6805 * m4/init.m4, m4/sanity.m4: Update.
6806 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
6807 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
6808 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
6809 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
6811 2001-08-27 Akim Demaille <akim@epita.fr>
6813 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
6815 * lib/autoconf/version.in: Remove.
6816 * lib/m4sugar/version.in: New.
6817 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
6819 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
6820 the name of the directory they're in, instead of the filename,
6821 since version.m4 is now in m4sugar, but m4_acversion must not be
6822 classified as an Autoconf macro.
6823 ($input_m4): Don't qualify the path to m4sugar.
6824 Rather, pass autoconf_dir to m4.
6825 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
6826 * tests/suite.at: Require 2.52c.
6828 2001-08-27 Akim Demaille <akim@epita.fr>
6830 testsuite.log should include config.log.
6832 * lib/autotest/autotest.m4: New.
6833 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
6834 * tests/suite.at : Adjust.
6835 (AT_INIT): Log config.log.
6836 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
6837 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
6838 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
6839 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
6840 of config.log on traps.
6841 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
6842 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
6844 Open the log as soon as possible.
6845 Use the same log introduction as configure's.
6847 2001-08-22 Paul Eggert <eggert@twinsun.com>
6849 * doc/autoconf.texi (Indices): New node.
6850 Move indices out of the top level menu and into this submenu.
6852 2001-08-22 Akim Demaille <akim@epita.fr>
6854 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6856 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
6858 2001-08-22 Akim Demaille <akim@epita.fr>
6860 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
6861 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
6862 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
6863 * lib/autoconf/programs.m4: here.
6864 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
6865 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
6866 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
6867 * lib/autoconf/programs.m4: here.
6868 (_AC_DECL_YYTEXT): Rename as...
6869 (_AC_PROG_LEX_YYTEXT_DECL): this.
6870 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
6871 * tests/Makefile.am, tests/suite.am: Adjust.
6873 2001-08-22 Akim Demaille <akim@epita.fr>
6875 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
6877 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
6879 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
6880 * lib/autoconf/functions.m4: here.
6881 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
6882 (AH_CHECK_LIB): Move to...
6883 * lib/autoconf/libs: this new file.
6884 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
6885 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
6886 * lib/autoconf/libs.m4: here.
6887 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
6889 2001-08-22 Akim Demaille <akim@epita.fr>
6891 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
6892 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
6893 (AC_SITE_LOAD): Better logging of config.site.
6895 2001-08-20 Akim Demaille <akim@epita.fr>
6897 * configure.ac (AT_CONFIG): Fix the path.
6898 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
6901 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
6903 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
6904 program with AC_LANG_PROGRAM before feeding it to
6905 AC_COMPILE_IFELSE. Cleanup grep usage.
6907 2001-08-20 Akim Demaille <akim@epita.fr>
6909 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
6910 * NEWS, README, README-alpha, TODO, tests/README: This package is
6911 `Autoconf', not `autoconf' (the executable).
6913 2001-08-20 Akim Demaille <akim@epita.fr>
6915 Info readers seem to need `Index' in the index node title :(
6917 * doc/autoconf.texi: Reverse the 2001-08-15 change which
6918 simplified index node names.
6920 2001-08-20 Akim Demaille <akim@epita.fr>
6922 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
6923 arguments are not literals.
6924 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
6925 Specify the output variables, and macros defined.
6927 2001-08-20 Akim Demaille <akim@epita.fr>
6929 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
6930 (Examining Syntax) <AC_TRY_COMPILE>
6931 (Examining Libraries) <AC_TRY_LINK>
6932 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
6934 Reported by Werner Lemberg.
6936 2001-08-20 Akim Demaille <akim@epita.fr>
6938 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
6939 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
6940 Load atlocal late enough to dump it in the log.
6941 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
6943 2001-08-20 Akim Demaille <akim@epita.fr>
6945 * tests/torture.at (Configuring subdirectories): New test.
6946 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
6948 * m4/atconfig.m4: Be sure the let $[0] be expandable.
6949 (top_srcdir): Fix its computation.
6951 2001-08-20 Akim Demaille <akim@epita.fr>
6953 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
6954 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
6956 Create `atconfig' automagically.
6957 Configure atlocal.in if present.
6958 * tests/atconfig.in: Remove.
6959 * tests/atlocal.in: New.
6960 * tests/Makefile.am: Adjust.
6962 2001-08-20 Akim Demaille <akim@epita.fr>
6964 Huh!?!?! There are still some user EOF tags used, which prevents
6965 their use in AC_CONFIG_COMMANDS for instance...
6967 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
6968 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
6969 `_CSEOF', or `_ATEOF', as appropriate.
6970 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
6971 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
6973 2001-08-20 Akim Demaille <akim@epita.fr>
6975 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
6976 * tests/semantics.at, tests/tools.at, tests/torture.at:
6977 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
6979 2001-08-20 Akim Demaille <akim@epita.fr>
6981 Autotest invokes M4sh's initialization.
6983 * lib/autotest/general.m4: Adjust the diversion names.
6984 (AT_INIT): Run AS_INIT.
6985 Use the BINSH diversion to invoke /bin/sh.
6986 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
6987 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
6989 2001-08-20 Akim Demaille <akim@epita.fr>
6991 Let M4sh have its own diversions.
6993 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
6994 (_m4_divert(NOTICE)): Rename as...
6995 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
6996 (_m4_divert(HEADER-COMMENT)): these.
6997 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
6998 (_m4_divert(NOTICE)): New, for Libtool.
6999 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7000 long ago with `_m4_divert(GROW)'.
7001 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7003 2001-08-20 Akim Demaille <akim@epita.fr>
7005 * tests/base.at, tests/compile.at, tests/foreign.at,
7006 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7007 * tests/semantics.at, tests/suite.at, tests/tools.at,
7008 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7010 2001-08-20 Akim Demaille <akim@epita.fr>
7012 * bin/autom4te.in (handle_output): Handle @__@.
7014 2001-08-20 Akim Demaille <akim@epita.fr>
7016 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7017 * lib/autotest/general.m4: Adjust the license.
7019 2001-08-17 Paul Eggert <eggert@twinsun.com>
7021 * doc/autoconf.texi (Function Portability): Mention snprintf,
7022 following up on a suggestion by Kevin Ryde.
7024 2001-08-17 Akim Demaille <akim@epita.fr>
7026 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7027 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7029 2001-08-17 Akim Demaille <akim@epita.fr>
7031 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7032 `$0.log' as for projects where testsuite is in src, we'd have
7033 testsuite.log created in src.
7035 2001-08-17 Akim Demaille <akim@epita.fr>
7037 * bin/autom4te.in (&parse_args): Recognize --normalize.
7039 2001-08-17 Akim Demaille <akim@epita.fr>
7041 Start implementing the AC_CHECK_HEADER transition scheme.
7043 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7044 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7045 (AC_CHECK_HEADER): Use them.
7047 2001-08-17 Akim Demaille <akim@epita.fr>
7049 * doc/autoconf.texi: Work around Texinfo buglets.
7050 (Transformation Rules): One example is enough, users are expected
7051 to have their brains on. And BTW, use DESTDIR.
7052 (dvar): New macro. Use it.
7054 2001-08-17 Akim Demaille <akim@epita.fr>
7056 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7057 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7058 looking for ChangeLogs.
7060 2001-08-17 Akim Demaille <akim@epita.fr>
7062 * bin/autom4te.in: --normalize is a new option.
7063 * bin/autoconf.in: Use it.
7065 2001-08-17 Akim Demaille <akim@epita.fr>
7067 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7068 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7070 2001-08-16 Paul Eggert <eggert@twinsun.com>
7072 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7075 2001-08-15 Akim Demaille <akim@epita.fr>
7077 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7080 2001-08-15 Akim Demaille <akim@epita.fr>
7082 * doc/autoconf.texi (pr): New index.
7083 (prindex, findex): Use, merge, and output them.
7084 (Environment Variable Index, Output Variable Index)
7085 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7086 (Autotest Macro Index): Rename as...
7087 (Environment Variables, Output Variables,Preprocessor Symbols)
7088 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7089 * doc/install.texi: Use @command.
7090 (Environment Variables): Rename as...
7091 (Defining Variables): this.
7093 2001-08-15 Akim Demaille <akim@epita.fr>
7095 * doc/autoconf.texi (Function Portability): sprintf's return
7099 2001-08-15 Akim Demaille <akim@epita.fr>
7101 * Makefile.maint (CVS): New.
7102 (local-check): Run changelog-check. last.
7103 (alpha): Don't depend upon local-check, since...
7104 (cvs-dist): depends upon it.
7106 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7108 * tests/Makefile.am: Use a clean-local rule to remove
7109 autom4te.cache (it's a directory, not a file.
7110 * Makefile.am: Ditto (but maintainer-clean-local).
7112 2001-08-15 Akim Demaille <akim@epita.fr>
7114 * bin/autom4te.in (@m4_warning): New.
7115 (&handle_m4): Use it.
7116 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7117 warnings are issued at each run.
7118 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7121 2001-08-15 Akim Demaille <akim@epita.fr>
7123 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7124 don't waste time running `autoupdate --version' works.
7125 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7127 2001-08-13 Akim Demaille <akim@epita.fr>
7129 * doc/autoconf.texi (ma): Rename this index as...
7132 2001-08-13 Akim Demaille <akim@epita.fr>
7134 * Makefile.am: Remove dead code and dead comments.
7135 (pdf, html): New targets.
7136 * doc/autoconf.texi (Using Autotest): New chapter.
7137 * doc/Makefile.am (pdf): New targets.
7138 (CLEANFILES): Adjust.
7140 2001-08-13 Akim Demaille <akim@epita.fr>
7142 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7143 duration of the test suite.
7145 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7147 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7148 endianness for comparison instead of relying on AT_CHECK_ENV.
7150 2001-08-11 Paul Eggert <eggert@twinsun.com>
7152 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7153 to the INSTALL file.
7155 2001-08-11 Paul Eggert <eggert@twinsun.com>
7157 * NEWS: The autoconf manual now is distributed under the terms
7158 of the GNU Free Documentation License.
7160 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7161 Add an appendix "Copying This Manual" for the FDL.
7163 * doc/fdl.texi: New file, from
7164 <http://www.gnu.org/licenses/fdl.texi>.
7166 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7168 2001-08-10 Paul Eggert <eggert@twinsun.com>
7170 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7171 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7172 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7173 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7174 m4/sanity.m4, tests/README, tests/aclocal.m4,
7175 tests/atspecific.m4, tests/base.at, tests/compile.at,
7176 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7177 tests/semantics.at, tests/suite.at, tests/tools.at,
7178 tests/torture.at: Add copyright notice.
7180 * tests/mktests.sh: Update year in copyright notice.
7182 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7184 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7186 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7188 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7189 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7190 * doc/autoconf.texi (C Compiler Characteristics): Update
7191 documentation for AC_C_BIGENDIAN.
7193 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7195 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7196 magic values from an object file when cross-compiling.
7197 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7199 2001-08-10 Akim Demaille <akim@epita.fr>
7201 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7203 Suggested by Russ Allbery.
7205 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7207 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7208 current $prefix to the sub-configures.
7210 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7212 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7213 extension (needed on BeOS). Reported by Guido van Rossum.
7215 2001-08-09 Akim Demaille <akim@epita.fr>
7217 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7219 2001-08-07 Akim Demaille <akim@epita.fr>
7221 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7223 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7224 No need to remove the files before and after the each test, before
7225 each test and at the end of the suite is enough.
7226 Display only the children `times', not the shell's.
7227 If the test failed or was skipped, at-times is not available.
7229 2001-08-07 Akim Demaille <akim@epita.fr>
7231 Always produce testsuite.log, including when there are no
7232 failures. This helps getting information on skipped tests, and
7233 duration of the tests. Err, implement the latter btw.
7235 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7236 Dump information on the first run of each test.
7237 (AT_CLEANUP): Create `at-times' containing the duration of the
7240 2001-08-07 Akim Demaille <akim@epita.fr>
7242 The use of `dumpstat' revealed that `len' was used although it
7243 should not. m4_text_wrap was using it, but in the Autoconf world
7244 where it is legal. Hence (i) test M4sh in its own world, not
7245 Autoconf's, and (ii), ahem, fix the bug :)
7247 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7248 does not like `' instead of [].
7249 (AT_INIT): Forbid `^_?AT_'.
7250 And don't output such tokens.
7251 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7252 `script.as', and `autom4te.cache'.
7253 Remove `empty' and `macro' which are no longer used.
7254 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7255 * tests/m4sugar.at: Use it.
7256 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7258 2001-08-07 Akim Demaille <akim@epita.fr>
7260 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7262 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7264 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7266 2001-08-04 Akim Demaille <akim@epita.fr>
7268 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7269 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7271 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7272 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7273 (AC_F77_MAIN): Likewise.
7275 2001-08-04 Akim Demaille <akim@epita.fr>
7277 Don't rely on M4sugar outputting the patterns in files, since we
7278 might process the output _without_ running m4, hence without these
7281 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7282 * bin/autom4te.in (@Request::includes): Remove, unused.
7283 (@Request::source): Rename as...
7284 (@Request::input): this.
7285 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7286 (&handle_output): Fetch the patterns from the traces.
7287 `$forbidden' and `$allowed' are constant: use m//o.
7288 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7289 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7291 2001-08-04 Akim Demaille <akim@epita.fr>
7293 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7294 autoconf', i.e., in addition to caching traces, cache the output.
7296 * bin/autom4te.in (Request::cache): Rename as...
7297 (Request::id): this.
7298 ($cache, $icache, $tcache, $ocache): New.
7299 (&handle_m4): Save M4 output in the cache instead of $tmp.
7300 (&handle_output): Adjust.
7301 (&up_to_date_p): Check that the output cache is up to date too.
7302 (top level): Run `&handle_m4' iff force or the cache is invalid.
7303 Run `&handle_output' if the output cache is more recent.
7305 2001-08-04 Akim Demaille <akim@epita.fr>
7307 * bin/autom4te.in ($force): New.
7308 (&parse_args, &print_usage): -f, --force is a new option.
7309 (&handle_output): CPP directives might have spaces after `#'.
7310 (&parse_args): The first file only can be frozen.
7312 2001-08-04 Akim Demaille <akim@epita.fr>
7314 Don't let autom4te compute the `include' traces several times:
7315 first check that the trace cache file is up to date, and then
7316 compare its timestamp with that of the output.
7318 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7319 the preamble. Don't require 5.005 as Autom4te::General does it,
7320 and better yet (use `use', not `require'!).
7321 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7322 Class::Struct as Autom4te::Struct.
7323 * lib/Autom4te/General.pm (File::stat): Use it.
7324 (&mtime): New, export it.
7325 * bin/autom4te.in: Use it.
7326 Declare `$req' is invalid if it is outdated.
7327 Don't declare it valid before saving it if something went wrong.
7329 2001-08-04 Akim Demaille <akim@epita.fr>
7331 Autom4te shall not encode Autoconf data, and preselecting traces
7332 must be proposed to the users.
7334 * bin/autom4te.in (@required_trace): Remove.
7336 (&parse_args, &print_usage): -p, --preselect is a new option.
7337 (&up_to_date_p): Adjust.
7338 * bin/autoconf.in: Preselect some Autoconf macros.
7340 2001-08-04 Akim Demaille <akim@epita.fr>
7342 * tests/tools.at (autoconf --trace: user macros): Check traces on
7343 macros invoked without arguments, and macros invoked with multiple
7346 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7348 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7351 2001-08-03 Akim Demaille <akim@epita.fr>
7353 * bin/autoconf.in ($@): Work around the usual sh bug.
7356 2001-08-03 Akim Demaille <akim@epita.fr>
7358 Clean up the handling of the M4 builtins tracing exception.
7360 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7362 (@m4_builtins): Rename as...
7363 (@m4_builtin): this.
7364 (%m4_builtin_alternate_name): New.
7365 (&parse_args): Complete the trace requests with alternate names.
7366 (&handle_traces): Hence no longer do it here.
7367 (&trace_requests): Remove, unused.
7369 2001-08-03 Akim Demaille <akim@epita.fr>
7371 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7374 2001-08-03 Akim Demaille <akim@epita.fr>
7376 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7377 (m4_divert_pop): Dump the whole diversion stack when a diversion
7379 * bin/autom4te.in (&handle_output): Remember of the first
7380 occurrence of a possibly undefined macro, not the last.
7381 Complain about the possibly undefined macros in the same order as
7382 the appear in the output.
7383 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7384 * tests/tools.at (autoconf: forbidden tokens, basic)
7385 (autoconf: forbidden tokens, exceptions): No longer sort
7386 autoconf's stderr, as it is now deterministic.
7387 Check that `dnl' is caught.
7389 2001-08-01 Akim Demaille <akim@epita.fr>
7391 * configure.ac: Bump to 2.52c.
7393 2001-08-01 Akim Demaille <akim@epita.fr>
7397 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7399 2001-08-01 Akim Demaille <akim@epita.fr>
7403 2001-08-01 Akim Demaille <akim@epita.fr>
7405 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7408 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7409 `END', as `Autom4te::General::END' will be triggered.
7410 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7411 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7412 system to run `mv', `rm', and `cmp'.
7414 2001-08-01 Akim Demaille <akim@epita.fr>
7416 * lib/Autom4te/General.pm (&unique): New.
7417 * bin/autoscan.in (&output): Use it to issue trace requests once.
7419 2001-08-01 Akim Demaille <akim@epita.fr>
7421 * lib/Autom4te/General.pm: New.
7422 * bin/autom4te.in (Autom4te::General): Use it.
7423 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7424 (&find_configure_ac, &find_slave): Remove.
7425 * bin/autoscan.in: Likewise.
7426 * bin/autoupdate.in: Likewise.
7428 2001-08-01 Akim Demaille <akim@epita.fr>
7430 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7431 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7432 * bin: here, new directory.
7433 * lib/Autoconf: Rename as...
7434 * lib/Autom4te: this, to please case insensitive junkie OSes.
7436 2001-08-01 Akim Demaille <akim@epita.fr>
7438 * autom4te.in ($m4): Handle the --nesting-limit.
7439 * autoconf.in (M4): Remove.
7441 2001-08-01 Akim Demaille <akim@epita.fr>
7443 * autoconf.in ($AWK): Remove, no longer used.
7444 * test/tools.at: Use AT_CHECK_AUTOCONF.
7445 (AWK portability): Remove, for autoconf no longer uses AWK.
7446 (Syntax of the Perl scripts): New.
7447 * configure.ac: autoconf no longer needs an AWK with a good
7449 Use a static test on AC_PACKAGE_VERSION.
7450 * autom4te.in (&up_to_date_p): Output depends on the arguments.
7451 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7452 * tests/atconfig.in (PERL): New.
7454 2001-08-01 Akim Demaille <akim@epita.fr>
7456 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7457 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7458 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7459 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7460 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7461 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7462 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7463 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7464 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7465 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7466 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7467 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7468 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7469 * lib/autoconf/c.m4: here, new file.
7471 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7472 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7473 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7474 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7475 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7476 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7477 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7478 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7479 (AC_F77_FUNC): Move to...
7480 * lib/autoconf/fortran.m4: here, new file.
7482 2001-08-01 Akim Demaille <akim@epita.fr>
7484 * acfunctions.m4: Rename as...
7485 * lib/autoconf/functions.m4: this.
7486 * acgeneral.m4: Rename as...
7487 * lib/autoconf/general.m4: this.
7488 * acheaders.m4: Rename as...
7489 * lib/autoconf/headers.m4: this.
7490 * aclang.m4: Rename as...
7491 * lib/autoconf/lang.m4: this.
7492 * acoldnames.m4: Rename as...
7493 * lib/autoconf/oldnames.m4: this.
7494 * acspecific.m4: Rename as...
7495 * lib/autoconf/specific.m4: this.
7496 * actypes.m4: Rename as...
7497 * lib/autoconf/types.m4: this.
7498 * autoconf.m4: Rename as...
7499 * lib/autoconf/autoconf.m4: this.
7501 * m4sugar.m4: Rename as...
7502 * lib/m4sugar/m4sugar.m4: this.
7503 * m4sh.m4: Rename as...
7504 * lib/m4sugar/m4sh.m4: this.
7506 * tests/atgeneral.m4: Rename as...
7507 * lib/autotest/general.m4: this.
7509 * acfunctions: Rename as...
7510 * lib/autoscan/functions: this.
7511 * acheaders: Rename as...
7512 * lib/autoscan/headers: this.
7513 * acidentifiers: Rename as...
7514 * lib/autoscan/identifiers: this.
7515 * aclibraries: Rename as...
7516 * lib/autoscan/libraries: this.
7517 * acmakevars: Rename as...
7518 * lib/autoscan/makevars: this.
7519 * acprograms: Rename as...
7520 * lib/autoscan/programs: this.
7522 2001-08-01 Akim Demaille <akim@epita.fr>
7524 * doc/autoconf.texi: Moving/deleting open files is not portable.
7525 Portability issues for `.' (source), and more information about sed.
7527 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
7529 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7530 which has a special meaning and is not a reference to libibmil.a.
7531 Reported by Matteo Frigo.
7533 2001-07-25 Pavel Roskin <proski@gnu.org>
7535 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7538 2001-07-25 Akim Demaille <akim@epita.fr>
7540 * autoconf.in: Try to define the variables before using them.
7541 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7542 instead of `$perllibdir'.
7543 * tests/atconfig.in ($autom4te_perllibdir): Export it.
7545 2001-07-25 Akim Demaille <akim@epita.fr>
7547 * autoconf.in (ac_LF_and_DOT): Remove, unused.
7549 2001-07-24 Akim Demaille <akim@epita.fr>
7551 Let autoconf use autom4te for traces.
7553 * autoconf.in ($task, task trace): Remove, merely pass --trace to
7555 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7556 (Because I found no way for autom4te to accept `-').
7557 * autom4te.in (&Request::request): Beware of M4 builtins.
7558 (END): Don't try to remove the content of an empty dir.
7559 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
7560 (&handle_output): Set a default value to `$forbidden'.
7561 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
7562 ($autoconf): Pass --debug and --verbose.
7563 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
7566 2001-07-24 Akim Demaille <akim@epita.fr>
7568 Let autoconf use autom4te to create configure.
7570 * autoconf.in ($automate): New var.
7571 (task script): Use autom4te.
7572 * autom4te.in (File::Spec): Use it.
7574 (&parse_args): --warning is -W, not -w.
7575 Find the top level files.
7576 (&handle_m4): Pass the warnings flags.
7577 Don't report verbosely m4's failures, unless requested.
7578 (&handle_output): Don't complain for forbidden tokens in comments.
7579 Be sure to report all the forbidden tokens within a single line.
7580 (&trace_format_to_m4): Preserve `$_'.
7581 (&handle_traces): Sort the output macros.
7582 (&up_to_date_p): Find the files before trying to get its time stamp.
7584 2001-07-24 Akim Demaille <akim@epita.fr>
7586 * Makefile.am: Ship, build and install Autom4te.
7588 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
7589 * configure.in: Require Perl.
7590 * man/autom4te.in: New.
7592 2001-07-19 Paul Eggert <eggert@twinsun.com>
7594 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
7595 example, rather than (exit 1); exit (which isn't portable).
7597 2001-07-18 Akim Demaille <akim@epita.fr>
7601 2001-07-18 Akim Demaille <akim@epita.fr>
7603 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
7604 was run, while they are needed also when it is expanded.
7605 Reported by Nicolas Joly.
7607 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
7608 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
7609 AC_F77_DUMMY_MAIN being expanded.
7611 2001-07-18 Akim Demaille <akim@epita.fr>
7613 * configure.in: Bump to 2.51a.
7615 2001-07-17 Akim Demaille <akim@epita.fr>
7619 2001-07-17 Akim Demaille <akim@epita.fr>
7621 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
7622 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
7624 2001-07-17 Akim Demaille <akim@epita.fr>
7626 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
7627 used. Well, then use the prototypes when you can, and runtime as
7629 Reported by Artur Frysiak
7631 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
7632 (AC_FUNC_GETPGRP): Use it.
7633 First try to compile with 0-ary or 1-ary calls.
7635 2001-07-17 Akim Demaille <akim@epita.fr>
7637 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
7641 2001-07-17 Akim Demaille <akim@epita.fr>
7643 * Makefile.maint: Sync. with cppi 1.10.
7645 2001-07-17 Akim Demaille <akim@epita.fr>
7647 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
7648 AC_F77_DUMMY_MAIN has been run.
7649 From Pavel Roskin and Steven G. Johnson.
7651 2001-07-17 Akim Demaille <akim@epita.fr>
7653 * configure.in: Rename as...
7654 * configure.ac: this.
7656 2001-07-17 Akim Demaille <akim@epita.fr>
7658 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
7661 * Makefile.maint (release-archive-dir): Rename as...
7662 (release_archive_dir): this, so that it can be specialized in
7665 2001-07-14 Akim Demaille <akim@epita.fr>
7667 * configure.in: Bump to 2.50d.
7669 2001-07-14 Akim Demaille <akim@epita.fr>
7672 * Makefile.maint (alpha): Typo.
7674 2001-07-14 Akim Demaille <akim@epita.fr>
7676 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
7678 2001-07-14 Akim Demaille <akim@epita.fr>
7680 * config/config.guess, config/config.sub, config/texinfo.tex
7681 * doc/standards.texi, doc/make-stds.texi: Update.
7683 2001-07-14 Akim Demaille <akim@epita.fr>
7685 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
7687 2001-07-14 Akim Demaille <akim@epita.fr>
7689 * Makefile.maint (maintainer-check): Rename as...
7690 (maintainer-distcheck): this.
7691 (changelog-check, static-check): New.
7694 2001-07-14 Kevin Ryde <user42@zip.com.au>
7696 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
7697 for CXX is g++, not gcc.
7699 2001-07-14 Akim Demaille <akim@epita.fr>
7701 * doc/autoconf.texi (Files): New subsection.
7703 2001-07-14 Akim Demaille <akim@epita.fr>
7705 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
7707 (Generic Compiler Characteristics): this.
7708 (C++ Compiler): New subsection.
7710 2001-07-14 Akim Demaille <akim@epita.fr>
7712 * autoscan.in: Use IO::File.
7713 Adjust all the routines to use it.
7714 ($log): New file (autoscan.log).
7715 (output): Dump detailed logs into $log, and a shortened version to
7717 (&scan_makefile): Refine the regexp catching tokens in the code.
7718 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
7719 and the `configure.ac' checking feature.
7721 2001-07-12 Akim Demaille <akim@epita.fr>
7723 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
7724 Reported by Michael Elizabeth Chastain.
7726 * autoconf.in: Refuse such AWK.
7727 * configure.in: Likewise.
7728 * Makefile.am (acversion.m4): Do not use move-if-change this file
7730 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
7732 2001-07-10 Jens Petersen <petersen@redhat.com>
7734 * autoscan.in (&scan_makefile): Improve programs regexp to parse
7735 things like "g++", "file.c" and "some-conf" as tokens.
7736 (&scan_file): Match C++ files extensions.
7737 If the filename extension is C++ then ask for c++.
7739 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
7741 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
7742 AC_TRY_LINK_FUNC, to check whether defining a dummy
7743 main-like routine is needed for linking with F77 libs.
7745 2001-07-05 Pavel Roskin <proski@gnu.org>
7747 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
7749 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
7752 2001-07-05 Akim Demaille <akim@epita.fr>
7754 * Makefile.am (move_if_change): New. Use it instead of `mv'.
7755 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
7757 Reported by Nicolas Joly.
7759 2001-07-04 Akim Demaille <akim@epita.fr>
7761 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
7763 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
7764 warnings from compilers.
7765 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
7766 for all the compilers, not only GNU. Hence move from here...
7767 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
7769 2001-07-04 Akim Demaille <akim@epita.fr>
7771 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
7772 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
7775 2001-07-04 Akim Demaille <akim@epita.fr>
7777 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
7778 the ``strings.h'' change claimed below.
7780 2001-07-04 Akim Demaille <akim@epita.fr>
7782 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
7784 2001-07-04 Akim Demaille <akim@epita.fr>
7786 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7787 strings.h if usable with string.h.
7788 Suggested by Paul Eggert.
7790 2001-07-04 Akim Demaille <akim@epita.fr>
7792 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
7795 2001-07-03 Akim Demaille <akim@epita.fr>
7797 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
7800 2001-07-03 Akim Demaille <akim@epita.fr>
7802 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
7803 compiler, not the preprocessor.
7804 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
7805 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
7807 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
7808 earlier if there are.
7810 2001-07-03 Akim Demaille <akim@epita.fr>
7812 * autoscan.in ($initfile): Remove.
7813 (&find_file): Rename as...
7815 Immediately scan the current file, instead of gathering them, and
7816 later having them handled by &scan_files.
7817 (&scan_files): Merely invoke Find::File.
7820 2001-07-02 Akim Demaille <akim@epita.fr>
7822 * autoscan.in: Formatting changes, matching the invocation order.
7823 (File::Find): Use it instead of Perl 4's `find.pl'.
7824 (&wanted): Rename as...
7827 2001-07-01 Pavel Roskin <proski@gnu.org>
7829 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
7830 break in the argument to AC_TRY_LINK_FUNC.
7831 (AC_F77_MAIN): Remove conftest* after using break in the
7832 argument to AC_TRY_LINK.
7834 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
7836 Add alternate 'main' routine detection for linking C/C++ with Fortran,
7837 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
7839 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
7840 dummy alternate main is required even if the user provides her own
7842 (AC_F77_MAIN): New macro to detect whether it is possible to
7843 provide an alternate 'main' function name, using the 'main' from
7844 the Fortran libraries.
7845 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
7846 cross-language link tests can be performed successfully.
7847 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
7848 after $LIBS, for consistency; this should be the general rule since
7849 the user may want to link to Fortran libraries that require $FLIBS.
7850 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
7852 2001-06-29 Pavel Roskin <proski@gnu.org>
7854 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
7855 at-stdout and at-stderr instead of removing the newline
7856 from the echo output, which is not guaranteed to work.
7858 2001-06-28 Jens Petersen <petersen@redhat.com>
7860 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
7861 confdefs.h when non-zero.
7863 2001-06-28 Akim Demaille <akim@epita.fr>
7865 * configure.in: Bump to 2.50c.
7867 2001-06-26 Akim Demaille <akim@epita.fr>
7871 2001-06-26 Akim Demaille <akim@epita.fr>
7875 2001-06-25 Pavel Roskin <proski@gnu.org>
7877 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
7878 argument, AUTOCONF-FLAGS.
7879 * tests/mktests.sh (update_exclude_list): Add
7880 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
7881 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
7882 AC_FUNC_WAIT3 with "-W no-obsolete".
7884 2001-06-25 Akim Demaille <akim@epita.fr>
7886 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
7888 2001-06-25 Akim Demaille <akim@epita.fr>
7890 * autoscan.in (%macro): Now maps from word to list of macros.
7891 (&init_tables): Die when a word which is already handled by
7892 explicit macros is mapped to the default macro.
7893 (&print_unique): Remove, inlined in...
7894 (&output_kind): here.
7895 (File::Basename): Use it.
7896 (&output): Sort the CONFIG_FILES.
7897 * acheaders: Normalize.
7898 * acfunctions: Likewise.
7900 2001-06-25 Akim Demaille <akim@epita.fr>
7902 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
7903 characteristics in the logs.
7904 Suggested by Mo DeJong.
7906 2001-06-24 Akim Demaille <akim@epita.fr>
7908 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
7909 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
7910 * doc/autoconf.texi (Autoconf 2.13): New section.
7912 2001-06-24 Akim Demaille <akim@epita.fr>
7914 * autoconf.in (Task traces): Separate the error messages from the
7915 traces to improve robustness.
7917 2001-06-23 Akim Demaille <akim@epita.fr>
7919 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
7920 three as failures are unlikely, and speed matters.
7922 2001-06-23 Akim Demaille <akim@epita.fr>
7924 * doc/autoconf.texi (Redefined M4 Macros): New.
7926 2001-06-23 Akim Demaille <akim@epita.fr>
7928 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
7929 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
7932 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
7934 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
7935 config.status targets to after the evaluation of the INIT-CMDS.
7936 Double quote config.status targets (used to be single quoted).
7938 2001-06-23 Akim Demaille <akim@epita.fr>
7940 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7941 Check the content of the created file.
7942 Check the ./config.status command line invocation.
7944 2001-06-23 Akim Demaille <akim@epita.fr>
7946 * tests/foreign.at (Libtool): Reject prehistoric versions.
7948 2001-06-23 Akim Demaille <akim@epita.fr>
7950 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
7951 preexisting files matching a.*.
7953 2001-06-23 Akim Demaille <akim@epita.fr>
7955 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
7957 * doc/autoconf.texi (AC_ARG_VAR): Update.
7959 2001-06-21 Akim Demaille <akim@epita.fr>
7961 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
7962 precious variables have changed.
7963 * tests/torture.at (AC_ARG_VAR): Adjust.
7965 2001-06-21 Akim Demaille <akim@epita.fr>
7967 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
7968 but some sed choke on multiple `;', and other tools (e.g.,
7969 Automake), include the separator themselves.
7971 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
7973 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
7975 * doc/autoconf.texi (Functions Portability): Rename as...
7976 (Function Portability): this.
7977 (Function Portability): Document potential problems with unlink().
7979 2001-06-19 Paul Eggert <eggert@twinsun.com>
7981 * NEWS, doc/autoconf.texi: Document quadrigraphs.
7983 2001-06-18 Akim Demaille <akim@epita.fr>
7985 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
7987 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
7989 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
7990 (_AC_FUNC_VFORK): this.
7991 Remove AC_DEFINEs and don't guess cross-compilation values.
7992 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
7993 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
7994 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
7996 Guess values if cross-compiling, but warn.
7997 * acfunctions: Add AC_FUNC_FORK.
7998 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
7999 and vfork appropriately.
8001 2001-06-18 Akim Demaille <akim@epita.fr>
8003 * doc/autoconf.texi (Functions Portability): New section.
8005 2001-06-18 Akim Demaille <akim@epita.fr>
8007 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8009 Suggested by Andreas Schwab.
8011 2001-06-18 Akim Demaille <akim@epita.fr>
8013 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8014 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8015 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8016 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8017 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8018 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8019 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8022 2001-06-18 Akim Demaille <akim@epita.fr>
8024 * doc/autoconf.texi (ms): New index.
8025 (Macro Index): Rename as...
8026 (Autoconf Macro Index): this.
8027 (M4 Macro Index): New appendix.
8028 (Programming in M4): New chapter.
8029 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8030 (Quoting): Rename as...
8031 (M$ Quotation): this.
8032 Be part of `Programming in M4).
8034 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8036 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8037 in separate statements for compatibility with Tru64 v5.1.
8039 2001-06-17 Akim Demaille <akim@epita.fr>
8041 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8042 current values of the precious variables, not the previously
8044 Pass precious variables which are set to config.status.
8045 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8046 * tests/torture.at (AC_ARG_VAR): New.
8048 2001-06-15 Paul Eggert <eggert@twinsun.com>
8050 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8051 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8052 and explain why and how to replace them.
8053 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8054 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8056 2001-06-15 Akim Demaille <akim@epita.fr>
8058 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8059 Reported by Bruno Haible.
8061 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8062 (_AC_ARG_VAR_PRECIOUS): to here.
8064 2001-06-15 Pavel Roskin <proski@gnu.org>
8066 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8067 an unused pointer use cast to this type and `if' statement to
8068 avoid warnings from the compiler.
8069 (AC_HEADER_TIME): Likewise.
8070 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8071 in `if' statement to avoid warnings from the compiler. Declare
8072 ac_aggr static to avoid the need to initialize it.
8074 2001-06-14 Akim Demaille <akim@epita.fr>
8076 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8079 2001-06-13 Akim Demaille <akim@epita.fr>
8081 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8082 Suggested by Alexander Mai.
8084 2001-06-13 Akim Demaille <akim@epita.fr>
8086 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8087 sys/types.h and sys/stat.h, and check for them.
8089 2001-06-13 Akim Demaille <akim@epita.fr>
8091 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8094 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8096 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8097 succeeds and only try adding libdnet upon a failure.
8099 2001-06-12 Akim Demaille <akim@epita.fr>
8101 * autoscan.in (&output_kind): Output the comment only if it exists.
8102 (%kind_comment): Add entry for `programs'.
8103 (&output_programs): Use &output_kind.
8104 (&output_functions, &output_identifiers, &output_headers)
8105 (&output_programs): Inline, and remove.
8107 2001-06-12 Akim Demaille <akim@epita.fr>
8109 * autoscan.in (%kind_comment): New.
8111 (output_functions, output_identifiers, output_headers): Use it.
8113 2001-06-12 Akim Demaille <akim@epita.fr>
8115 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8116 arguments, to factor indirections into `%macro' and `%used'.
8117 (%generic_macro): Fix a typo.
8119 2001-06-12 Akim Demaille <akim@epita.fr>
8122 * autoscan.in (@kinds): Add `libraries'.
8123 Use `@kinds' instead of hard coded lists.
8124 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8125 Remove, replaced by...
8128 2001-06-12 Akim Demaille <akim@epita.fr>
8130 * autoscan.in (%functions_macros %headers_macros)
8131 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8135 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8137 * aclang.m4 (AC_NO_EXECUTABLES): Override
8138 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8140 2001-06-11 Akim Demaille <akim@epita.fr>
8142 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8144 Reported by Andreas Schwab.
8146 2001-06-11 Akim Demaille <akim@epita.fr>
8148 * Makefile.am, Makefile.maint: Typos.
8150 2001-06-09 Akim Demaille <akim@epita.fr>
8152 * doc/autoconf.texi (Here-Documents): New section, gathering
8153 documentation about here-documents.
8154 Use `href', not `uref', and other changes.
8156 2001-06-09 Akim Demaille <akim@epita.fr>
8158 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8161 2001-06-09 Akim Demaille <akim@epita.fr>
8163 * doc/autoconf.texi (Limitations of Builtins): Complete the
8164 description of the here-docs penalties with Alexandre Oliva's
8167 2001-06-01 Paul Eggert <eggert@twinsun.com>
8169 * doc/autoconf.texi: Talk about here documents and speedups.
8170 Do not use "echo" on arbitrary strings.
8171 Spell "here-documents" consistently with the standard.
8173 2001-06-09 Akim Demaille <akim@epita.fr>
8175 * doc/autoconf.texi (Concept Index): Introduce it.
8176 Regenerate the menus.
8178 2001-06-09 Akim Demaille <akim@epita.fr>
8180 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8181 * config/prev-version.txt: New.
8182 * config/move-if-change: New, for GNU libc.
8184 2001-06-06 Pavel Roskin <proski@gnu.org>
8186 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8188 2001-06-06 Akim Demaille <akim@epita.fr>
8190 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8191 properly when $1 is not a literal.
8192 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8194 2001-06-06 Akim Demaille <akim@epita.fr>
8196 Invoking AC_COPYRIGHT before AC_INIT fails.
8198 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8199 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8200 (_m4_divert(VERSION_USER)): New.
8201 (AC_COPYRIGHT): $2 is the diversion to use.
8202 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8203 (AC_INIT): Remove dead comments as now it's commutative.
8205 2001-06-06 Akim Demaille <akim@epita.fr>
8207 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8210 2001-06-05 Akim Demaille <akim@epita.fr>
8212 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8214 `*dir' variables cannot be NONE.
8215 Reported by Mark Kettenis.
8217 2001-06-05 Paul Eggert <eggert@twinsun.com>
8219 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8221 2001-06-04 Akim Demaille <akim@epita.fr>
8223 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8224 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8225 (AC_TR_SH): Move as...
8226 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8227 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8229 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8230 (_AS_TR_SH_PREPARE): New.
8231 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8232 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8234 2001-06-02 Akim Demaille <akim@epita.fr>
8236 * Makefile.am (.m4.m4f): Pass the options first.
8237 Fixes PR autoconf/182.
8239 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8241 GNU getopt, when POSIXLY_CORRECT does not permute options and
8242 arguments. So pass the options first.
8243 Fixes PR autoconf/184.
8245 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8246 (run_m4): Remove files.
8248 Update remainder of script to use them.
8249 (for warning in): Do not use a literal comma as it will not be
8252 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8254 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8255 Fortran compilers to check.
8256 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8257 information on library and object files.
8258 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8261 2001-06-02 Akim Demaille <akim@epita.fr>
8263 * autom4te.in (Request::@request): Declare with `vars', not `my',
8264 as it prevents updates via `do FILENAME'.
8266 2001-06-02 Akim Demaille <akim@epita.fr>
8268 * configure.in (standards_texi): Remove, dead code.
8270 2001-06-02 Akim Demaille <akim@epita.fr>
8274 2001-06-02 Pavel Roskin <proski@gnu.org>
8276 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8277 for signals other than 0 - exit with code 1.
8278 * m4sh.m4 (AS_TMPDIR): Likewise.
8279 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8280 * autoheader.in: Likewise.
8281 * autoreconf.in: Likewise.
8282 * tests/torture.at (Signal handling): New test for the above.
8284 2001-06-01 Akim Demaille <akim@epita.fr>
8286 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8289 2001-05-31 Akim Demaille <akim@epita.fr>
8291 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8292 Add copyright and comments.
8293 * acheaders: Add stdint.h.
8294 Suggested by Paul Eggert.
8296 2001-05-31 Akim Demaille <akim@epita.fr>
8298 * atgeneral.m4 (AT_INIT): Use $SHELL.
8299 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8301 2001-05-31 Akim Demaille <akim@epita.fr>
8303 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8305 From Paul Eggert and Lars Hecking.
8307 2001-05-31 Akim Demaille <akim@epita.fr>
8309 * tests/base.at: Adjust line numbers in error messages.
8311 2001-05-31 Akim Demaille <akim@epita.fr>
8313 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8314 to emit the bangshe line.
8315 Reported by David Carter.
8317 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8319 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8320 Fortran (95) compilers to check.
8322 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8324 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8327 2001-05-23 Pavel Roskin <proski@gnu.org>
8329 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8330 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8331 (AC_PROG_CXXCPP): Likewise.
8333 2001-05-22 Akim Demaille <akim@epita.fr>
8335 * config: New directory.
8336 * configure.in: AC_CONFIG_AUX_DIR it.
8337 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8339 2001-05-22 Akim Demaille <akim@epita.fr>
8341 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8342 * autoupdate.in: Specify the Emacs mode.
8343 * acversion.m4.in: Rename as...
8344 * acversion.m4: this.
8345 * tests/Makefile.am (CLEANFILES): More garbage.
8347 2001-05-22 Akim Demaille <akim@epita.fr>
8349 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8351 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8354 2001-05-21 Akim Demaille <akim@epita.fr>
8356 * configure.in: Bump to 2.50a.
8360 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8362 This file is part of GNU Autoconf.
8364 GNU Autoconf is free software; you can redistribute it and/or modify
8365 it under the terms of the GNU General Public License as published by
8366 the Free Software Foundation; either version 2, or (at your option)
8369 GNU Autoconf is distributed in the hope that it will be useful,
8370 but WITHOUT ANY WARRANTY; without even the implied warranty of
8371 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8372 GNU General Public License for more details.
8374 You should have received a copy of the GNU General Public License
8375 along with autoconf; see the file COPYING. If not, write to
8376 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
8377 Boston, MA 02111-1307, USA.