1 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
3 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
4 directory have inherent problems with special characters like spaces,
5 due to limitations in Make syntax. Problem reported by Alexandre
7 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
8 Also, fix Tru64 porting problem with shell patterns,
9 reported by Ralf Wildenhues.
11 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13 * doc/autoconf.texi (Subdirectories): Fix markup typos.
15 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
17 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
19 Fix some more shell quoting problems. Prompted by a bug report
21 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
22 variable into diagnostic. Make the diagnostic an error, not a warning,
23 because we really don't support spaces and suchlike in dir names.
24 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
25 Don't worry about backslashes in srcdir; it can't happen now.
26 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
27 Simplify ac_optarg handling.
28 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
30 2005-06-22 Stepan Kasal <kasal@ucw.cz>
32 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
33 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
34 * tests/atlocal.in: Propagate $EGREP and $SED.
35 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
36 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
38 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
39 that '\|' is not allowed in BREs; recommend using newline separated
40 list of patterns instead of multiple -e options.
42 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
44 2005-06-22 Stepan Kasal <kasal@ucw.cz>
46 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
48 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
50 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
52 2005-06-21 Stepan Kasal <kasal@ucw.cz>
54 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
55 b, t, r, w commands require single space, while : cannot have any.
56 (Special Shell Variables): Fix sed code this in the example.
57 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
58 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
60 2005-06-21 Stepan Kasal <kasal@ucw.cz>
62 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
63 expand to the empty list. Don't use two pairs of m4_changequote,
66 2005-06-20 Derek Price <derek@ximbiot.com>
68 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
70 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
72 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
74 Don't mention Solaris versions so much, if a
75 problem is common to all extant versions of Solaris. Say "SunOS
76 4" instead of "SunOS" for SunOS 4.
77 (awk): Mention more of the limitations of traditional Awk.
78 (cat): Don't talk about cat -v.
80 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
82 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
83 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
84 but the implementation is entirely different and is designed
85 to be compatible with glibc strverscmp.
86 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
88 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
89 on Mac OS X 10.4 reported by Peter O'Gorman in:
90 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
91 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
92 Use shell builtins rather than 'expr', to work around expr bug.
94 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
96 * doc/autoconf.texi: "filesystem" -> "file system".
97 "behaviour" -> "behavior".
98 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
99 * lib/autoconf/general.m4: Omit blank after ":" sed command,
101 * lib/m4sugar/m4sh.m4: Likewise.
102 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
103 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
105 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
106 (.x.1): Ignore the time stamp in the .TH line when deciding whether
107 to update the man page. That way, we don't have to check in new
108 man pages every month.
110 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
111 quotes and backslashes. Patch from Derek Price.
113 2005-06-10 Derek Price <derek@ximbiot.com>
115 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
118 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
120 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
121 -u, since it outputs chatter if the input files are the same.
122 Problem reported by Ralf Menzel.
124 2005-06-08 Derek Price <derek@ximbiot.com>
126 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
127 renaming them since they are about to be redefined anyhow.
129 2005-06-08 Derek Price <derek@ximbiot.com>
131 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
132 redefined M4 macros to this node. Document m4_include & m4_sinclude.
133 Move m4_undefine to alphabetical order.
135 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
137 * README: Recommend GNU M4 1.4.3 or later.
138 * doc/autoconf.texi (Introduction): Likewise.
139 Reword to avoid some formatting glitches.
140 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
141 Clarify explanation of HP compiler bug.
142 Redo example output tp match current CVS snapshot.
143 Use @example.org in email addresses when the examples
144 might get inadvertently cut-and-pasted into user code.
145 Remove example of autom4te usage that doesn't seem to work now.
146 Use modern AC_INIT (except when the example is meant to be
147 shown with Autoconf 2.13).
148 Update ksh info for Solaris 9 and later.
150 Modernize description of Automake versions a bit.
151 Don't claim a future version of Autoconf is near.
152 * doc/install.texi: Reword to avoid some formatting glitches.
154 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
156 * doc/autoconf.texi: Add [] to examples, so that the manual
157 follows its own advice about quoting better.
158 Reword to avoid some formatting glitches.
159 * doc/installt.exi: Reword to avoid some formatting glitches.
161 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
162 Tru64 ksh pattern matching bug. Reported against Libtool by
163 Albert Chin <libtool@mlists.thewrittenword.com> and
164 Nicolas Joly <njoly@pasteur.fr>.
166 2005-06-06 Stepan Kasal <kasal@ucw.cz>
168 m4_cdr of one-member list was [[]] (one-member list containing an
169 empty string) instead of [] (an empty list. Callers were skewed to
170 match this misbehaviour. As a consequence of this:
171 - m4_foreach([x], [], [foo]) expanded to `foo', while
172 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
175 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
176 expand to an empty string; print error msg if called without
178 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
179 misbehaviour; handle [] and [[]] correctly.
181 2005-06-06 Stepan Kasal <kasal@ucw.cz>
183 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
184 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
185 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
187 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
189 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
190 swallow records with more than 99 fields.
191 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
194 2005-06-04 Stepan Kasal <kasal@ucw.cz>
196 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
197 swallow literals longer than 399. Reported by Ralf Wildenhues.
198 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
199 to workaround this limitation.
201 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
203 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
204 to gfortran, and make these the first two compiler names
205 checked (following the general autoconf preference for gcc).
207 2005-06-03 Stepan Kasal <kasal@ucw.cz>
209 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
210 (DISTCLEANFILES): Remove $(check_SCRIPTS).
211 (testsuite): Make sure autotest.m4f is up-to-date before using it.
213 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
215 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
216 expression of unbounded size when processing the --list
217 option. This runs afoul of a limit of 399 bytes per regular
218 expression on AIX. Problem reported by Ralf Wildenhues.
220 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
222 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
223 * doc/autoconf.texi (Particular Headers): Reword example
224 for multiline stdbool replacement.
225 (Setting Output Variables): Reword text a bit. Don't
226 give all the details about |#_!!_#|.
227 Reword description of line replacement.
229 2005-05-31 Dan Manthey <dan_manthey@partech.com>
231 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
232 now contain newlines, and substituted files must be referenced on
233 a line alone; the sed scripts to substitute them are now very
235 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
236 commands can be put in a sed script portably.
237 * doc/autoconf.texi (Setting Output Variables): Document above
238 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
239 use of multiline substitution.
240 * tests/torture.at: No longer expect substitution of newline to fail.
242 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
244 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
245 From Ralf Menzel (trivial change).
247 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
249 * tests/local.at: Don't attempt to check for negated character
250 classes in shell scripts. The test was too brittle.
252 2005-05-25 Stepan Kasal <kasal@ucw.cz>
254 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
255 * doc/autoconf.texi (Limitations of Builtins): Document this
258 2005-05-24 Stepan Kasal <kasal@ucw.cz>
260 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
261 common code; used in many places in the tree.
262 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
263 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
265 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
267 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
268 messages when ac_unique_file is not found.
269 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
270 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
271 commands, for consistency with AC_MSG_ERROR and such.
273 * bin/autoconf.as: Make more use of "shift 2" in option processing.
275 * bin/Makefile.am: Merge the two rules for creating scripts.
277 2005-05-23 Stepan Kasal <kasal@ucw.cz>
279 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
280 obsolete; it was never documented.
281 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
283 2005-05-20 Stepan Kasal <kasal@ucw.cz>
285 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
286 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
287 (ac_top_builddir): ... this ...
288 (ac_top_build_prefix): ... to this; the old name is also kept, for
289 backward compatibility.
290 (ac_top_builddir_sub): New variable, without the trailing slash,
292 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
293 * doc/autoconf.texi (Configuration Actions): Rename
294 ac_top_builddir to ac_top_build_prefix.
295 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
296 at_top_builddir to at_top_build_prefix.
297 * lib/autotest/general.m4 (AT_INIT): Likewise.
299 2005-05-20 Stepan Kasal <kasal@ucw.cz>
301 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
304 2005-05-17 Stepan Kasal <kasal@ucw.cz>
306 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
307 argument to m4_foreach. I guess it was necessary in the past,
308 but I think it's a no-op now.
310 2005-05-17 Stepan Kasal <kasal@ucw.cz>
312 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
313 ``cat <<_ACEOF'' commands to one.
314 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
315 * lib/autoconf/status.m4: On various places, use expr instead of
317 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
318 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
319 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
321 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
322 the wrong patterns between ``case'' and ``esac.'' The previous
323 code had false positives.
325 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
327 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
329 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
332 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
334 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
335 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
336 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
337 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
338 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
339 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
340 config/config.guess, config/config.sub, config/elisp-comp,
341 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
342 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
343 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
344 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
345 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
346 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
347 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
348 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
349 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
350 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
351 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
352 lib/autoconf/general.m4, lib/autoconf/headers.m4,
353 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
354 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
355 lib/autoconf/specific.m4, lib/autoconf/status.m4,
356 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
357 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
358 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
359 lib/autotest/general.m4, lib/emacs/Makefile.am,
360 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
361 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
362 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
363 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
364 tests/compile.at, tests/foreign.at, tests/fortran.at,
365 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
366 tests/semantics.at, tests/suite.at, tests/tools.at,
367 tests/torture.at, tests/wrapper.as:
368 Update FSF postal mail address.
370 2005-05-13 Stepan Kasal <kasal@ucw.cz>
372 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
374 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
375 enough arguments, similarly as in m4_bpatsubsts.
377 2005-05-12 Stepan Kasal <address@hidden>
379 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
382 2005-05-11 Stepan Kasal <kasal@ucw.cz>
384 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
385 for absolute directory names in one loop.
386 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
387 abbreviations of --version and --debug.
389 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
391 * doc/autoconf.texi (Autoconf Language): Be more precise about
392 quoting rules. Problems noted by Stepan Kasal.
393 Also, throughout this document, be more careful about white space.
394 "blank", "white space", and "space" all have different meanings
395 and we should be careful to say what we mean.
397 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
399 Fix C++ related problems reported by Werner Lemberg.
400 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
401 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
402 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
403 avoid problems with C++ and throw.
404 * tests/compile.at: .cpp, not .cc.
406 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
408 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
410 * doc/autoconf.texi (Generic Functions): Typos.
412 2005-05-02 Gary V. Vaughan <gary@gnu.org>
414 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
415 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
416 set by latest automake.
418 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
420 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
421 outputs 0 on GNU/Linux these days.
423 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
425 * doc/autoconf.texi (Autoconf Language): Add more description
426 about quoting heuristics.
427 (Limitations of Builtins): Describe "set -" problems.
429 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
431 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
434 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
435 by AC_DEFINE; it was a mistake.
436 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
438 2005-04-25 Stepan Kasal <kasal@ucw.cz>
440 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
442 2005-04-22 Stepan Kasal <kasal@ucw.cz>
444 * doc/autoconf.texi (External Software): Quadrigraphs are not
445 processed correctly in AS_HELP_STRING; avoid this in the examples.
446 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
447 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
448 comment and reduce m4_default([foo], []) to [foo].
449 (m4_strip): Update the explanation.
451 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
453 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
454 Remove core.conftest.* too; it's generated by Tru64 5.1.
455 Problem reported by Jennis Pruett.
456 * lib/autoconf/functions.m4
457 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
458 Don't bother to remove core files; AC_RUN_IFELSE should do that
461 2005-04-19 Stepan Kasal <kasal@ucw.cz>
463 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
465 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
467 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
468 Report from Horst Wente.
470 2005-04-15 Stepan Kasal <kasal@ucw.cz>
472 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
475 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
477 * doc/autoconf.texi (External Software, Package Options): Add
478 examples showing how to implement --with-* and --enable-* options.
480 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
482 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
483 as well as configure.in. Problem reported by Gregorio Guidi.
485 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
487 * doc/autoconf.texi (Particular Functions): Use gnulib's current
488 pattern for alloca snippet.
490 2005-04-04 Stepan Kasal <kasal@ucw.cz>
492 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
494 2005-04-01 Stepan Kasal <kasal@ucw.cz>
496 * doc/autoconf.texi (Generic Programs): Fix a typo.
498 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
500 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
501 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
503 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
505 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
506 Merge `-z option' as well for the benefit of Solaris link flags. Pass
507 whole-archive (-zallextract, -zdefaultextract) options in the hope of
508 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
509 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
511 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
513 * NEWS: The configure command now warns you if you attempt to use
514 a directory whose name contains a special character like space,
516 * doc/autoconf.texi (Installation Directory Variables): Allow
517 "," in file names. Do not use \@; it's not a portable regexp.
518 * bin/Makefile.am (edit): Likewise.
519 * lib/Makefile.am (edit): Likewise.
520 * tests/Makefile.am (edit): Likewise.
521 * tests/semantics.at: Likewise.
522 * tests/torture.at: Likewise.
523 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
524 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
525 * doc/autoconf.texi (File System Conventions): Warn about
526 unportable file names.
527 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
529 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
530 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
531 ac_pwd, and quote srcdir.
532 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
534 * doc/autoconf.texi: Fix some systematic formatting problems.
535 ".)" needs a following @: if not at the end of a sentence, and
536 similarly for "!)". "etc." should be preceded by a comma.
537 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
539 2005-03-22 Bruno Haible <bruno@clisp.org>
541 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
542 argument is often called 'build-aux'.
544 2005-03-07 Stepan Kasal <kasal@ucw.cz>
546 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
547 macro AC_TRY_LINK is obsolete.
548 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
551 2005-02-24 Stepan Kasal <kasal@ucw.cz>
553 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
554 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
555 from a Common Lisp's `cl'.
556 (AC_PROG_CXX): Behave according to the documentation: don't
557 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
558 make the variable CCC precious; use `cl.exe', not `cl'.
560 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
561 Alexandre Duret-Lutz <adl@gnu.org>
563 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
564 /dev/null, as "configure" shouldn't read stdin, and this insulates
565 us from problems (e.g., when testing for "cl"). Also, do this
566 redirection before invoking "hostname" or "uname", and keep the
567 original input stream available via...
568 (AS_ORIGINAL_STDIN_FD): ... this new macro.
569 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
570 bother with "</dev/null" since it's now done at the top of
572 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
573 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
574 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
575 * doc/autoconf.texi (File Descriptor Macros): New section.
576 (Printing Messages): Mention it.
577 * tests/base.at (Input/Output): New test.
579 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
581 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
582 newline if neither \c nor -n work, as that would output two
583 newlines. Prefer -n to \c. Reported by Stepan Kasal.
585 2005-02-12 Stepan Kasal <kasal@ucw.cz>
587 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
588 This causes that any required macros inside will get before the if.
589 * doc/autoconf.texi (autom4te.cache): A typo.
591 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
593 Undo previous change, except keep the change to
594 lib/autoconf/programs.m4 that replaced grep with shell
595 pattern-matching. This is because net-snmp configure reads stdin.
596 Reported by Noah Misch.
598 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
600 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
601 from /dev/null, as "configure" shouldn't read stdin, and this
602 insulates us from problems (e.g., when testing for "cl").
603 Suggested by Alexandre Duret-Lutz. Also, do this redirection
604 before invoking "hostname" or "uname".
605 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
606 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
607 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
608 "</dev/null" since it's now done at the top of 'configure'.
609 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
610 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
611 Also, replace grep with shell pattern-matching, to save a process.
613 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
615 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
616 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
617 avoid thinking that Allegro Common Lisp's "cl" command is a C++
620 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
622 * doc/autoconf.texi (Limitations of Usual Tools): Document that
623 grep -q isn't portable. Improve grep -s explanation.
624 Problem reported by Dan Manthey.
626 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
628 * doc/autoconf.texi (Special Shell Variables): Clarify
629 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
631 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
633 * doc/autoconf.texi: Use @acronym for DJGPP.
634 Fix some @code's that should have been @env's, and vice versa.
635 Sort environment variable names.
636 Mention that shells no longer inherit IFS.
637 Don't recommend PATH_SEPARATOR=';' so strongly.
638 Mention that $RANDOM might expand to the empty string.
639 "symlink" and "soft link" -> "symbolic link".
640 Improve mktemp description (reported by Bruno Haible).
642 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
644 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
645 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
647 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
650 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
652 * NEWS: Mention AT_COPYRIGHT.
654 * tests/local.at (AT_CMP): Use diff directly on input files rather
657 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
658 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
660 2005-02-04 Noah Misch <noah@cs.caltech.edu>
661 and Paul Eggert <eggert@cs.ucla.edu>
663 * tests/autotest.at (Empty test suite): New test.
664 * tests/torture.at (Substitute and define special characters)
665 (Substitute a 2000-byte string, Define to a 2000-byte string)
666 (Substitute a newline, Define a newline): New tests.
668 2005-02-04 Noah Misch <noah@cs.caltech.edu>
670 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
671 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
672 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
673 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
674 (Standard regular expressions): New test.
675 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
676 excess test name quoting.
677 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
678 CPPFLAGS to `configure' instead of setting it in `configure'.
680 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
681 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
684 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
685 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
687 * tests/local.at (AT_CMP): New macro.
688 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
689 (AC_SAVE_STATE): Move environment grep...
690 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
691 (AT_CONFIG_CMP): New macro.
692 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
693 * tests/c.at (Extensions): Do not exit early.
694 * tests/atlocal.in: Inherit $GREP.
696 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
697 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
699 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
700 (AC_COPYRIGHT): Factor header comment portion out and move into...
701 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
702 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
703 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
705 * tests/local.at: Add Autoconf test suite copyright notice.
706 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
708 2005-02-04 Bruno Haible <bruno@clisp.org>
709 and Paul Eggert <eggert@cs.ucla.edu>
711 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
713 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
715 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
716 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
718 Try not to generated lines of unlimited length, as POSIX places a
719 2047-byte limit on line length of portable text files.
720 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
721 Use newline as a separator, not space.
722 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
723 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
726 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
728 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
729 as_func_*. Add test to check whether positional parameters
730 are restored after function return.
732 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
734 * doc/autoconf.texi (Special Shell Variables): Mention _,
735 BIN_SH, DUALCASE. Say that variables other than "status" are safe
736 if they contain a lower-case letter. The DUALCASE problem was
737 reported by Ralf Wildenhues.
739 * bin/autoconf.as: Don't exit with status 0 after write failure
740 with --help or --version.
741 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
742 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
744 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
746 * doc/autoconf.texi (Limitations of Usual Tools):
747 Unicos 9 sed limitations.
748 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
749 to get the option-enhanced interface on older Crays. Try ftn for
750 Fortran 95 (newer Crays).
752 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
754 * man/Makefile.am (.x.1): Go back to the simple solution, but take
755 care to echo the commands, so the user knows what's going on.
756 Modified from a suggestion by Stepan Kasal.
758 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
759 with a cross reference. Derived from a suggestion by Bruce Korb.
761 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
763 * doc/autoconf.texi (config.status Invocation): Warn about
764 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
765 * doc/install.texi (Defining Variables): Likewise.
766 Based on a proposed patch by Ralf Wildenhues.
768 * man/Makefile.am (.x.1): Make sure the required generated files
769 are up to date. Problem and original solution proposed by Stepan Kasal.
770 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
771 implicit-man-prerequisites): New rules, used by the above.
773 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
774 * config/config.guess, config/config.sub, config/install-sh: Likewise.
775 * config/missing, config/texinfo.tex: Likewise.
777 2005-01-29 Stepan Kasal <kasal@ucw.cz>
779 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
780 Update the long comment explaining it.
782 m4_require no longer writes an ``is required by'' line to the
783 execution stack. It contains only one bit of non-redundant
784 information: that the macro was required, not called. And even
785 this bit is useless in most situations: have you ever met a macro
786 which both calls and requires the same macro?
788 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
789 (_m4_defun_pro_outer): ... only via this macro, for the outermost
791 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
792 (m4_expansion_stack_pop): Remove the misplaced comment.
793 (m4_require): Don't put the ``is required by'' line to the
794 execution stack; slightly improve the out-of-a-defun error message.
795 (_m4_divert_grow): New macro, counter for the temporary diversions.
796 (_m4_require_call): Use it.
797 * tests/m4sugar.at (m4_require): Expect output without the
798 ``is required by'' messages.
800 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
802 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
803 rather than x for expr.
805 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
807 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
808 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
809 * lib/autotest/general.m4 (AT_INIT): Likewise.
810 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
811 * tests/mktests.sh: Likewise.
813 2005-01-27 Akim Demaille <akim@epita.fr>
815 Have autoheader honor --force.
817 * doc/make-stds.texi, doc/standards.texi: Update from masters.
818 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
819 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
820 from masters, so that FileUtils.pm's update_file provide --force
822 * bin/autoheader.in: Pass $force to update_file so that
823 config.h.in is always recreated when --force.
825 2005-01-24 Stepan Kasal <kasal@ucw.cz>
827 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
829 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
831 * doc/autoconf.texi (Limitations of Builtins): Clarify that
832 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
834 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
836 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
837 Warn about newline stripping in `` and $(). Update Solaris
839 (Limitations of Builtins): Use expr "X...", not expr "x...", as
840 X insulates us from future changes to Posix.
841 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
844 2005-01-19 Stepan Kasal <kasal@ucw.cz>
846 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
847 you cannot use AC_DEFINE to define macros containing `[' or `]'.
849 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
851 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
852 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
853 bug-tar mailing list.
855 2005-01-05 Stepan Kasal <kasal@ucw.cz>
857 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
859 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
861 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
862 ulongval to be static, to avoid unwanted GCC warning. Problem
863 reported by Michael Jennings via Daniel Reed; see
864 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
866 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
868 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
869 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
870 datadir, infodir, and mandir. Adjust argument parsing code.
871 (_AC_INIT_HELP): Update help text.
872 * doc/autoconf.texi (Installation Directory Variables): Document
875 2005-01-04 Noah Misch <noah@cs.caltech.edu>
877 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
878 not seem to work, assume it does set $(MAKE).
879 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
881 2005-01-03 Stepan Kasal <kasal@ucw.cz>
883 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
885 2005-01-03 Stepan Kasal <kasal@ucw.cz>
887 A cleanup of the diversion support in m4sugar.
889 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
890 (_m4_divert_n_stack): New macro; the expansion is
891 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
893 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
894 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
895 stored in _m4_divert_diversion or _m4_divert_dump.
896 (m4_divert_pop): When the parameter is given, compare the symbolic
897 name with the last diversion pushed on the stack. Previously, the
898 current diversion was compared with the numeric value of the
899 diversion given as the parameter.
900 (m4_require): If the macro hasn't been expanded yet, call ...
901 (_m4_require_call): this new macro.
903 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
905 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
906 Workarounds for documented `case' limitations.
908 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
910 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
911 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
913 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
915 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
916 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
917 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
919 Patch from Roger Leigh (with some minor changes) as follows:
920 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
921 Resurrect AC_PROG_CC_STDC.
922 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
923 AC_PROG_CC_C89, AC_PROG_CC_C99.
924 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
925 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
926 AC_PROG_CC_C99): New macros.
927 (AC_PROG_CC_STDC): Use them.
928 (_AC_PROG_CC_STDC): Remove.
929 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
930 * THANKS: Add Roger Leigh.
932 2004-12-30 Noah Misch <noah@cs.caltech.edu>
934 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
935 signals that the package uses Automake; a `Makefile.am' is typical but
936 not essential. Reported by Magnus Therning.
937 * tests/torture.at (autoreconf.): New banner.
938 (autoreconf and non-AC configure): Rename to `Non-Autoconf
940 (autoreconf an empty directory): Rename to `Empty directory'.
941 (Unusual Automake input files): New test.
943 2004-12-30 Noah Misch <noah@cs.caltech.edu>
945 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
946 (AT_SETUP): Clear AT_capture_files.
947 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
948 (AT_KEYWORDS): Fix comment typo.
949 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
950 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
951 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
953 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
955 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
956 If the variable to set is already set, set ac_cv_path_$1
957 to the preset value so caller can assume ac_cv_path_$1
958 is available. (trivial change)
960 2004-12-27 Noah Misch <noah@cs.caltech.edu>
962 * BUGS (Minor Problems): Warn about makefile limitations.
963 * Makefile.am: Find and update `INSTALL' in $(srcdir).
964 * man/Makefile.am: Find and update manual pages in $(srcdir).
966 2004-12-24 Eric Blake <ebb9@byu.net>
968 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
969 shells in subshell, to avoid noise from ash. (trivial change)
971 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
973 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
974 problems with SunOS ksh and backslash escaping, Bourne shells and
975 closing brackets (both within character classes). Bug reported
976 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
977 <read>: New entry. Mention non-availability of -r.
979 2004-12-21 Akim Demaille <akim@epita.fr>
981 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
982 avoid cluttering displayed messages. Rather, prepend srcdir where
983 AT_LINE is used for log files.
985 2004-12-21 Stepan Kasal <kasal@ucw.cz>
987 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
988 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
989 no longer part of the macro, quote the occurrence of ``$tmp''.
990 * doc/autoconf.texi (Forbidden Patterns): Typo.
992 2004-12-21 Akim Demaille <akim@epita.fr>
994 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
995 separated from the test title by forcing a white space.
997 2004-12-21 Akim Demaille <akim@epita.fr>
999 Enable Emacs navigation within testsuite.log files.
1001 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1002 use the compilation mode.
1003 (AT_LINE): Point to the srcdir.
1005 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1007 * tests/Makefile.am (installcheck-local): Use $(bindir).
1008 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1009 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1010 Makefile.am scheme Autoconf now uses.
1012 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1014 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1015 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1017 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1019 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1020 (_AT_CHECK): Use it.
1021 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1022 (AS_ESCAPE): Fix comment.
1023 * tests/autotest.at: Adjust section banner comments.
1024 (AT_CHECK_AT): Accept STATUS and STDERR.
1025 (AT_CHECK_AT_TEST): Likewise.
1026 (Invalid brace-enclosed parameter expansion)
1027 (Multiline command from M4 expansion)
1028 (Double-M4-quoted command): New tests.
1030 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1032 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1034 2004-12-17 Akim Demaille <akim@epita.fr>
1036 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1038 Suggested by Alexandre Duret-Lutz.
1039 * doc/autoconf.texi (Setting Output Variables): Catch up.
1041 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1043 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1045 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1047 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1048 remove the comment which said we cannot.
1050 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1052 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1053 Reini Urban and Paul Eggert for reporting the dependencies.
1055 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1056 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1057 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1059 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1061 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1062 so that eg. ``autoscan --help'' doesn't truncate it.
1064 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1066 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1067 generated conftest files.
1069 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1071 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1072 tracing on commands with possibly-escaped newlines.
1073 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1074 discontinued behavior and its implications.
1075 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1076 (BSx641-newline in command, BS-BS-newline in command)
1077 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1078 (Single-quote-BS-newline in command)
1079 (Single-quote-newline-BS-newline in command): New tests.
1081 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1083 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1084 on platforms where it works.
1085 (_AS_TEST_PREPARE): Test for ``test -x''.
1086 (_AS_BROKEN_TEST_PREPARE): Nuke.
1088 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1090 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1091 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1092 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1093 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1094 create the temporary directory.
1095 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1097 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
1099 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1102 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
1104 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1106 2004-12-11 Noah Misch <noah@cs.caltech.edu>
1108 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1109 to avoid using a negated character class. Reported by Nicolas Joly.
1110 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1112 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
1114 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1115 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1116 Don't depend on .x file explicitly, since "make" does that for us.
1117 Suggested by Stepan Kasal.
1119 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1121 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1122 ifnames): Factor common code. And they said it couldn't be done!
1124 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1126 * bin/.cvsignore: Add autoconf.in.
1127 * tests/.cvsignore: Add wrapper.in.
1128 * lib/autotest/general.m4: Escape '$' in case pattern.
1130 2004-12-09 Noah Misch <noah@cs.caltech.edu>
1132 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1134 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1136 * tests/autotest.at: New file.
1137 * tests/suite.at: Include it.
1138 * tests/Makefile.am: Distribute it.
1140 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1141 shell tracing on a command that could contain multiple lines.
1142 * doc/autoconf.text: Document that fact and its implications.
1143 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1144 * tests/autotest.at (Multiline backquote command substitution,
1145 Multiline parameter expansion, Literal multiline command,
1146 Multiline parenthetical command substitution): Remove XFAIL.
1148 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1150 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1151 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1153 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1155 * configure.ac (test suite): Cease to generate wrapper scripts.
1156 * configure: Regenerate.
1157 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1158 (m4f_dependencies): Adjust accordingly.
1159 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1160 (wrapper.in): Generate it in the build directory.
1161 (MAINTAINERCLEANFILES): Delete wrapper.in.
1162 (CLEANFILES): Add wrapper.in.
1163 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1164 the output. Replace each $as_me with a @wrap_program@.
1165 * tests/wrapper.in: Delete it; we always build it.
1167 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1168 (EXTRA_DIST): Remove autoconf.in.
1169 (CLEANFILES): Add autoconf.in.
1170 (autoconf): Find autoconf.in in the build directory.
1171 * bin/autoconf.in: Delete it; we always build it.
1173 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1175 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1176 PATH members so as to not prepend an empty element. Move a comment.
1177 * Makefile.am (SUBDIRS): Build in `tests' last.
1178 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1180 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1182 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1183 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1184 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1185 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1187 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1189 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1192 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1194 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1195 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1196 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1198 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1200 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1201 out the common code to ...
1202 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1203 value of the #define--default to 1, iff the macro was called
1204 with exactly one parameter.
1206 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1208 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1209 "char c = '\200';" rather than "char c = 0x80;" as the
1210 latter doesn't conform to the strict C standard due to
1211 overflow on signed char hosts.
1213 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1214 to -qlanglvl=ansi. We don't want to disable extensions.
1216 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1218 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1219 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1220 Reword slightly to avoid some English-language problems noted
1221 by Ralf Wildenhues in:
1222 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1224 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1226 * NEWS: Add ^L above each release.
1228 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1230 Fix documentation problems reported by Russ Boylan in
1231 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1232 along with some nearby cruft.
1233 * doc/autoconf.texi (Libtool): Libtool can be used without
1234 Automake (not without Autoconf).
1235 (Introduction): Mention lists.gnu.org.
1236 * BUGS: Don't mention bugs.gnu.org.
1237 Remove mention of ancient libtool compatibility problem.
1238 * NEWS: Mention that bugs.gnu.org is kaput.
1239 * README: Likewise. Mention where mailing list archives can be found.
1241 2004-11-28 Stepan Kasal <address@ucw.cz>
1243 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1244 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1246 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1248 * doc/autoconf.texi (Pretty Help Strings): Go back to
1249 single-quoting assignments to cache variables.
1251 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1253 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1254 with the examples; fix the bug in MY_ARG_WITH example reported
1255 by Alexandre Duret-Lutz.
1256 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1257 expansion of $1 in the comment emitted to configure.
1259 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1261 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1262 in my editing of the previous patch. Problem reported
1263 by Alexandre Duret-Lutz.
1265 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1267 * doc/autoconf.texi (Autoconf Language): Explain that
1268 ``descriptions'' may not be double quotes.
1269 (Quotation Rule Of Thumb): Likewise.
1270 (Pretty Help Strings): Likewise; remove the wrong comment;
1271 simplify the examples and improve their quoting.
1273 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1275 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1276 the $1_found variable, don't test whether the file is executable;
1277 Both things are checked ...
1278 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1279 the former ``test -f''.
1280 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1282 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1284 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1287 2004-11-10 Derek R. Price <derek@ximbiot.com>
1289 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1290 limitations. Reorder paragraphs for clarity.
1292 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1294 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1295 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1296 variants", "Unix", and some related minor wording fixups.
1298 (Shellology, Special Shell Variables): Document that the Zsh
1299 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1300 to Alexandre Duret-Lutz for this info.
1302 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1304 * doc/autoconf.texi (One-Shot Macros): New node.
1306 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1308 * doc/autoconf.texi (Function Portability): Fix misdescription
1309 of putenv. Problem reported by Michael Wardle.
1311 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1313 * doc/autoconf.texi (auindex): New macro.
1314 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1315 Problem reported by Stepan Kasal.
1317 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1319 Fix problems reported by Andreas Buening in:
1320 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1321 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1323 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1324 readable; it's not true in OS/2-emx.
1326 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1328 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1329 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1330 (trivial change). Problem and patch reported by Andrew Church in:
1331 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1333 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1335 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1336 three args in examples. Problem reported by Frederik Fouvry in:
1337 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1338 Also, fix some minor spacing and punctuation bugs.
1340 2004-09-02 Akim Demaille <akim@epita.fr>
1342 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1343 "case" to restore ordering.
1344 Reported by Stepan Kasal.
1346 2004-08-26 Akim Demaille <akim@epita.fr>
1348 * doc/autoconf.texi: Minor typos and stylos.
1350 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1352 * configure.ac (AC_INIT): Bump to 2.59c.
1354 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1358 * README: Add advice about m4 1.4.2.
1360 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1361 texinfo.tex for now (done by hand now).
1362 * Makefile.maint (wget_files, cvs_files):
1363 Remove ansi2knr.c; nobody uses it.
1364 (ansi2knr.c-url_prefix): Remove.
1365 (cvs-update): Fix test for failure. I don't know why it ever
1368 * doc/autoconf.texi: Update URLs, some of which went stale.
1369 Use @uref rather than @href.
1371 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1372 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1374 * config/config.guess, config/config.sub, config/elisp-comp,
1375 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1376 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1378 * NEWS, TODO, configure.ac, bin/autoscan.in,
1379 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1380 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1381 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1382 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1383 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1384 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1385 tests/tools.at, tests/torture.at:
1386 Use "file name" rather than "filename" or "path",
1387 to be consistent with the terminology of the GNU coding standards.
1389 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1391 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1392 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1393 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1394 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1396 More fixes to support spaces in the name of the build directory.
1397 This isn't a complete fix but it's an improvement.
1399 * bin/autoconf.as (autom4te_options): New var.
1400 Use it instead of appending to AUTOM4TE, so that we can allow
1401 spaces in the build directory's absolute name.
1402 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1403 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1404 AT_CHECK_NOESCAPE): Likewise.
1405 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1406 main program): Likewise.
1408 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1410 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1411 From Ralf Corsepius in:
1412 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1414 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1416 * doc/autoconf.texi (Function Portability): Document isinf and
1417 and isnan. From a suggestion by Kevin Ryde.
1419 * lib/Autom4te/General.pm (END): Return correct exit status even
1420 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1422 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1424 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1425 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1426 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1428 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1430 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1431 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1432 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1433 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1434 * lib/autom4te.in (Automake-preselections): Preselect
1435 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1437 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1439 * lib/autom4te.in (Automake-preselections): Preselect
1440 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1443 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1445 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1447 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1448 Document problem with "`""`" in pdksh POSIX mode.
1450 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1452 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1453 with pdksh, too. Problem reported by Patrick Welche via
1455 * doc/autoconf.texi (Shellology): Note that set -o posix is
1456 useful for pkdsh, too.
1458 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1460 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1461 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1462 Don't fail if ENV or BASH_ENV is readonly.
1463 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1464 etc. are read only. Problem reported by Ludovic Courtes.
1466 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1468 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1469 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1472 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1474 * doc/autoconf.texi (File System Conventions): Warn about
1475 names like "aux". Problem reported by Eric Blake.
1477 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1478 by zero instead of array size, so that we can use any arithmetic
1479 constant expression (instead of requiring an integer constant
1480 expression). This allows us to test expressions like DBL_MAX <
1481 LDBL_MAX, which didn't conform to the C standard using the old
1483 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1484 now that we can do floating-point tests at compile time.
1486 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1488 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1489 and LDBL_EPSILON, as the resulting expression isn't an
1490 integer constant expression and violates the C standard.
1491 Problem reported by Nelson H. F. Beebe. Also, check
1492 for "L" suffix, and check that long double doesn't have
1493 worse range or precision than double, that mixed-mode
1494 arithmetic doesn't generate a diagnostic, that double
1495 constants fit in long double.
1497 2004-06-03 Kevin Ryde <user42@zip.com.au>
1499 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1500 malloc(0) and realloc(NULL,size).
1502 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1505 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1507 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1508 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1511 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1513 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1514 can be rewritten using if-then-else. Suggested by Bruno Haible.
1516 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1518 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1519 Problem reported by Stepan Kasal.
1521 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1523 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1524 change). Patch reported by Ralf Wildenhues in
1525 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1527 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1528 function F exists if the compiler and linker let you compile an
1529 expression like (F != 0). Recent versions of GCC optimize away
1530 the reference to F in that case, since every function address must
1531 be nonzero, so the link succeeds even if F does not exist.
1532 Problem reported by Manu in
1533 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1535 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1536 "Unix". Many uses changed.
1537 (Limitations of Builtins): Explain better why the ! command isn't
1540 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1542 * lib/autom4te.in (Automake-preselections): Preselect
1543 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1545 2004-05-19 Kevin Ryde <user42@zip.com.au>
1547 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1548 referencing AC_FUNC_STRERROR_R.
1550 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1551 note pessimistic assumption when cross compiling.
1553 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1555 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1556 (until 2004) invoked subcommands with sh -e, contra POSIX.
1557 Reported by Kevin Ryde.
1559 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1561 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1562 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1563 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1564 `test -f " /usr/bin/grep"', which _always_ failed.
1565 (AC_PROG_SED): Ditto bogus PATH fix.
1566 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1567 requires that grep correctly supports _multiple_ `-e' options, rather
1568 than stating only that grep should accept `-e'.
1570 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1572 Port to C99, which requires that 'exit' be declared.
1574 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1575 to ensure that stdlib.h is included.
1576 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1577 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1578 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1579 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1580 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1581 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1582 when using 'exit' in a test; C99 requires that 'exit' be declared.
1584 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1586 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1587 now prefers 'grep' implementations that accept -e.
1588 (Limitations of Usual Tools): Describe problems of traditional
1589 egrep and fgrep with long input lines, and of traditional grep
1591 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1592 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1593 All callers changed. Append /usr/xpg4/bin to the PATH, for
1595 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1596 the user with complaints about multiple -e options.
1597 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1598 Define it with AC_PROG_GREP.
1599 * configure.ac (AC_PROG_GREP): Add.
1600 * lib/freeze.mk (GREP): New macro.
1602 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1604 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1605 a possible candidate only after all others fail, rather than
1606 consulting it first. This improves backward compatibility by
1607 better reflecting the way shell selection occurred in previous
1608 versions of Autoconf, and should help to avoid triggering latent
1609 problems in other packages, such as the one in Automake where zsh
1610 is not handled robustly:
1611 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1612 Although it is not Autoconf's responsibility to work around
1613 problems in Automake, it nevertheless makes sense to avoid
1614 introducing unnecessary incompatibilites.
1616 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1617 Gary V. Vaughan <gary@gnu.org>
1619 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1620 how deeply nested we are when a suitable tool is found, set the
1621 ac_path_TOOL_found flag.
1622 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1623 nested we are in this macro. Break out of all 3 nested loops if
1624 ac_path_TOOL_found is set.
1626 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1628 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1629 of the _AS_PATH_WALK loop too if GNU flavor is found.
1631 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1633 * doc/autoconf.texi (Limitations of Make): Update documentation
1634 for `$<'. New entry `Long lines', based on a report from Simon
1635 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1636 paragraph about DJGPP, based on a mail from Richard Dawe.
1638 2004-04-20 Paul Eggert <eggert@twinsun.com>
1640 * tests/c.at (C keywords): Don't assume that GCC supports
1641 "restrict" and "inline", as sufficiently-old GCC versions do not
1642 (also, GCC configured to be in pedantic C89 mode does not).
1643 Problem reported by Sumit Pandya in:
1644 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1646 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1647 consider -g to work if it generates warnings when plain compiles
1648 don't. Problem reported by Braden McDaniel in:
1649 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1651 * doc/autoconf.texi (Slashes): New section, to document a problem
1652 reported by Jim Meyering in:
1653 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1655 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1656 linker output files before linking, to work around IRIX 6 linker bug.
1657 Problem reported by Rainer Orth in:
1658 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1660 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1662 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1663 best tool so far counter rely on the tool path variable name to
1664 avoid checks for one tool being affected by the results of running
1665 the length check on a previous tool.
1667 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1668 match expression argument, as different greps have different
1669 regular expression flavours.
1670 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1672 (AC_PROG_EGREP): Pass 'EGREP$'.
1673 (AC_PROG_GREP): Pass 'GREP$'.
1675 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1677 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1678 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1680 2004-03-29 Paul Eggert <eggert@twinsun.com>
1682 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1683 Types, Specific Compiler Characteristics, System Services,
1684 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1685 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1686 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1687 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1689 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1690 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1691 AC_TYPE_OFF_T): Likewise.
1692 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1695 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1696 pacify libtool 1.5.2. Fix quoting problems in sed command.
1698 2004-03-28 Paul Eggert <eggert@twinsun.com>
1700 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1701 now defines HAVE_DECL_TZNAME if it is declared, when
1702 HAVE_STRUCT_TM_TM_ZONE is not defined.
1703 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1704 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1707 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1709 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1710 superfluous backslashing of quotes (") in sed expressions;
1711 thanks to Paul Eggert.
1713 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1715 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1716 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1717 H. F. Beebe for the bug report.
1719 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1721 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1722 quoted -cmdline argument in Portland Group compiler (bug
1723 reported by Jeffrey J. Barteet).
1725 2004-03-25 Kevin Ryde <user42@zip.com.au>
1727 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1728 (Run Time): ... here, where it's now mentioned.
1730 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1732 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1733 inherits from language Autoconf-without-aclocal-m4.
1734 (Customizing autom4te): Adjust example; the cache must now be
1735 disabled for language Autoconf-without-aclocal-m4.
1737 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1738 Nathanael Nerode <neroden@twcny.rr.com>
1740 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1741 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1743 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1744 AC_CHECK_TARGET_TOOLS): New macros.
1745 * doc/autoconf.texi (Generic Programs): Document
1746 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1747 AC_CHECK_TARGET_TOOLS, and warn for future changes
1748 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1750 (Specifying Names): Document the reason for these future
1752 * tests/mktests.sh: Do not generate tests for the
1754 * NEWS: Document these changes.
1756 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1757 they make TeX hang up.
1759 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1761 * NEWS: New macro AC_CHECK_ALIGNOF.
1762 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1763 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1764 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1766 (AC_CHECK_ALIGNOF): New macro.
1767 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1768 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1771 2004-03-03 Paul Eggert <eggert@twinsun.com>
1773 * bin/Makefile.am (edit): Don't use $< in a context where
1774 POSIX doesn't require support for it. Use $@.in instead.
1775 Problem reported by Anthony N. Frasso in
1776 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1777 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1779 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1781 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1782 from the next generation of Libtool.
1783 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1785 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1787 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1788 is not always thread-safe. Report from Nathanael Nerode.
1790 2004-02-18 Paul Eggert <eggert@twinsun.com>
1792 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1793 problem on QNX reported by Stephen Rasku in
1794 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1796 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1797 $(m4sh_m4f_dependencies); this removes a FIXME.
1798 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1799 (MAINTAINERCLEANFILES): Split into pieces,
1800 one per related section. Add $(srcdir)/wrapper.in.
1802 2004-02-09 Paul Eggert <eggert@twinsun.com>
1804 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1805 AC_SUBST provides no portable way to escape literal newlines.
1807 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1808 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1809 Darwin uses -lcrt2.o and there's little point to cataloging all
1810 the system variants. Partial fix reported by Andreas Waechter in:
1811 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1812 for bug reported by Nelson H. F. Beebe in:
1813 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1815 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1817 * doc/autoconf.texi (AU_DEFUN): Fix English,
1818 suggested by Paul Eggert.
1819 * lib/autoconf/autoupdate.m4: Correct reference to
1820 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1822 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1824 * bin/autoupdate.in: Define __file__ so that warnings
1825 refer to the correct file.
1826 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1827 the behavior of the third argument.
1828 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1829 correctly the behavior of the third argument. Document
1830 what the three macros that AU_DEFUN defines do. Fix
1831 warning message when the third argument includes $0
1832 (reported by Alexandre Duret-Lutz).
1834 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1835 Eric Sunshine <sunshine@sunshineco.com>
1836 Paul Eggert <eggert@twinsun.com>
1838 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1839 (AS_INIT): Output shell initialization there. Removed optional
1840 parameter. Expand _AS_SHELL_FN_SPY.
1841 (AS_INIT_WITH_SHELL_FN): Removed.
1842 (_AS_SHELL_FN_SPY): New macro.
1843 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1845 (AS_SHELL_SANITIZE): Remove loop to find better shell
1846 and documentation for the parameter.
1847 (_AS_DETECT_BETTER_SHELL): Move it here.
1848 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1849 (_AS_RUN): Move it here, support testing with eval.
1850 (AS_REQUIRE_SHELL_FN): Require shell functions when
1852 (_AS_LINENO_WORKS): Put around braces, we do not
1853 trigger the bash bug anymore.
1854 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1855 use AS_INIT_WITH_SHELL_FN.
1856 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1858 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1860 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1861 * doc/autoconf.texi: Don't say that the third parameter
1863 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1864 (AU_DEFUN): Honor the third parameter, create autoupdate
1865 macros with AU_DEFINE.
1866 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1867 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1868 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1869 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1870 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1871 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1872 AC_XENIX_DIR): Likewise.
1873 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1874 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1875 * lib/autoconf/status.m4: Remove FIXME.
1876 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1877 that the macro is not present anymore in the updated
1879 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1882 2004-01-28 Paul Eggert <eggert@twinsun.com>
1884 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1886 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1887 2003 (except 1997) to the list of copyright years. This undoes
1888 the 2003-05-22 change, which removed the older years from the list.
1889 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1891 2004-01-27 Gary V. Vaugan <gary@gnu.org>
1892 Albert Chin-A-Young <china@thewrittenword.com>
1894 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1895 grep or ggrep program in PATH that accepts as long lines as
1897 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1899 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1900 egrep and fgrep respectively if $GREP -E/-F don't work.
1901 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1902 _AC_PROG_GREP, and AC_PROG_SED.
1903 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1904 longest input length accepted by a command.
1905 (AC_PROG_SED): Use it.
1906 * doc/autoconf.texi (Particular Programs): Document the changes.
1909 2004-01-27 Paul Eggert <eggert@twinsun.com>
1911 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1912 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1913 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1914 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1916 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1917 bin/autoconf.in, config/Makefile.in, config/config.guess,
1918 config/config.sub, config/install-sh, config/mdate-sh,
1919 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1920 lib/Makefile.in, lib/Autom4te/Makefile.in,
1921 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1922 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1923 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1924 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1925 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1926 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1927 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1928 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1929 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1930 tests/actypes.at: Regenerate and/or sync with original
1933 2004-01-26 Paul Eggert <eggert@twinsun.com>
1935 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1936 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
1937 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1938 not <inttypes.h>. Problem reported by Tim Mooney in
1939 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1940 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1943 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1944 otherwise "make check" fails because it forbids cmp (I guess
1945 because cmp treats files as binary on DOS-like systems).
1947 * tests/mktests.sh: Update copyright date to 2004, since some tests
1948 have changed in 2004.
1950 2004-01-23 Gary V. Vaugan <gary@gnu.org>
1952 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
1953 non-truncating sed or gsed program in PATH.
1954 * tests/acprograms.at: Add it.
1955 * doc/autoconf.texi (Particular Programs): Document it.
1958 2004-01-15 Paul Eggert <eggert@twinsun.com>
1960 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1961 -std1 disables some useful extensions on Tru64. Problem reported
1963 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1965 2004-01-14 Paul Eggert <eggert@twinsun.com>
1967 * doc/autoconf.texi (Programming in M4sh): Document that
1968 AS_MKDIR_P succeeds if the destination is a symbolic link
1969 to an existing directory.
1970 (Limitations of Usual Tools): Note that mkdir -p might not
1971 succeed on symlinks to directories.
1973 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
1975 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1976 * bin/autoheader.in: Grammar fix in message.
1977 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1978 Test for dir before calling mkdir -p. (trivial changes)
1980 2004-01-13 Eric Blake <ebb9@byu.net>
1982 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1983 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
1985 2004-01-10 Jim Meyering <jim@meyering.net>
1987 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1989 2004-01-09 Paul Eggert <eggert@twinsun.com>
1991 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1992 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
1993 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1994 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1995 AC_COMPILE_IFELSE, since we now assume our caller invokes
1996 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1997 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1998 of AC_RUN_IFELSE; this avoids the warning mentioned above.
1999 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2001 2004-01-07 Paul Eggert <eggert@twinsun.com>
2003 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2004 `"'...'"`, as it's confusing (and I suspect it may not work on
2005 some platforms). The code was incorrect anyway, as it assumed
2006 that \$ evaluated to itself in that context. Reported by
2007 Alexandre Duret-Lutz.
2009 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2011 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2012 and _LT_AC_TAGCONFIG.
2014 2004-01-06 Paul Eggert <eggert@twinsun.com>
2016 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2017 example, and add more examples. Reported by Eric Sunshine.
2019 2004-01-05 Paul Eggert <eggert@twinsun.com>
2021 * doc/autoconf.texi (Limitations of Usual Tools):
2022 Remove warning against "rm -fr" introduced yesterday; it
2025 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2026 autoscan, autoupdate, ifnames): Don't use chmod -w.
2027 * lib/Makefile.am (autom4te.cfg): Likewise.
2028 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2031 2004-01-04 Paul Eggert <eggert@twinsun.com>
2032 Paolo Bonzini <bonzini@gnu.org>
2034 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2035 by doing lineno substitution only on lines containing "$LINENO".
2037 2004-01-04 Paul Eggert <eggert@twinsun.com>
2039 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2040 Use "rm -f" to remove conftest.sed, not plain "rm".
2041 Bug reported by David Relson in
2042 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2044 * Makefile.am (autom4te-update):
2045 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2046 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2047 * doc/autoconf.texi (Guidelines): Likewise.
2048 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2049 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2050 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2051 * lib/autotest/general.m4 (AT_INIT): Likewise.
2052 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2053 * tests/Makefile.am (clean-local): Likewise.
2054 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2056 * doc/autoconf.texi (Limitations of Usual Tools):
2057 Warn against "rm -fr".
2059 2004-01-03 Paul Eggert <eggert@twinsun.com>
2061 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2062 -c -o might not work. From a suggestion by Kevin Ryde.
2063 (C Compiler, Generating Sources, Limitations
2064 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2065 Don't put '-o' after non-options, as POSIX doesn't allow this.
2066 Mention that cc's name might be gcc or c89 or whatever.
2068 2004-01-04 Kevin Ryde <user42@zip.com.au>
2070 * doc/autoconf.texi: Add various further index entries.
2072 2003-12-29 Paul Eggert <eggert@twinsun.com>
2074 * bin/autoreconf.in (autoreconf_current_directory):
2075 Fix typo: mkdir without umask arg.
2077 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2079 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2080 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2081 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2082 explanation clearer.
2084 2003-12-24 Andreas Schwab <schwab@suse.de>
2086 * doc/autoconf.texi (Default Includes): Fix misspelling of
2087 AC_INCLUDES_DEFAULT.
2089 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2091 * configure.ac: Test if sh -n works.
2092 * configure: Regenerate.
2093 * tests/atlocal.in: Store the result here.
2094 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2095 tools.at, looking in atlocal's ac_cv_sh_n_works instead
2096 of explicitly testing.
2097 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2098 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2099 * tests/tools.at (Syntax of the shell scripts): Simplify
2100 using AT_CHECK_SHELL_SYNTAX.
2101 (Syntax of the Perl scripts): Remove definition of
2102 AT_CHECK_PERL_SYNTAX.
2104 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2106 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2107 stderr to /dev/null.
2108 * bin/autoconf.in: Regenerate.
2109 * bin/wrapper.in: Regenerate.
2111 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
2113 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2114 Extracted from AS_SHELL_SANITIZE.
2115 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2117 (AS_SHELL_SANITIZE): Move reinvocation code from
2118 _AS_LINENO_WORKS, use it to find out if shell
2120 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2122 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2123 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2125 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2126 * bin/autoconf.in: Regenerate.
2127 * tests/wrapper.in: Regenerate.
2128 * tests/tools.at: Test the syntax of tests/autoconf
2129 and tests/testsuite.
2131 2003-11-24 Akim Demaille <akim@epita.fr>
2133 * config/announce-gen (&print_locations, &print_signatures)
2136 No longer rely on Gnus to inline the list of signatures: compute
2139 2003-11-24 Akim Demaille <akim@epita.fr>
2141 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2142 override some files.
2143 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2144 From Debian Autoconf 2.58.
2146 2003-11-24 Akim Demaille <akim@epita.fr>
2148 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2150 From Debian Autoconf 2.58.
2152 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2154 * TODO: Remove already done things. Update the part about finding
2155 tools for the target.
2157 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2159 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2160 Make wording more consistent.
2161 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2162 Explain the transition better.
2163 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2164 the transition better.
2166 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2168 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2169 parameter of AU_DEFUN.
2170 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2171 (AU_DEFUN): Remove the third parameter, it was not used.
2172 Use AC_DEFUN directly, not AU_DEFINE.
2173 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2174 the expanded body, consistently with other macros such as AC_USG.
2176 2003-11-17 Paul Eggert <eggert@twinsun.com>
2178 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2179 into the initial confdefs.h, to work around a bug in NextStep 3.3
2180 patch 3 reported by Eric Sunshine.
2182 2003-11-15 Kevin Ryde <user42@zip.com.au>
2184 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2185 than $target since the latter is not usual, add guidelines on when to
2186 use or not use the system type.
2188 2003-11-12 Derek Price <derek@ximbiot.com>
2190 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2191 typo misrepaired by an auto-spellcheck.
2193 2003-11-12 Akim Demaille <akim@epita.fr>
2195 * bin/autoreconf.in (&parse_args): Don't call automake with
2196 --force-missing unless it actually supports it.
2197 From Debian #219336.
2199 2003-11-12 Akim Demaille <akim@epita.fr>
2201 * configure.ac: Bump to 2.59a.
2204 2003-11-06 Akim Demaille <akim@epita.fr>
2208 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2210 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2211 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2212 and ac_abs_top_srcdir are absolute paths.
2213 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2215 2003-11-05 Akim Demaille <akim@epita.fr>
2217 * configure.ac: Bump to 2.58a.
2219 2003-11-05 Kevin Ryde <user42@zip.com.au>
2221 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2222 it provokes a warning from makeinfo about looking like a cross
2223 reference in info output.
2225 * doc/autoconf.texi (Function Portability): Add notes on signal
2226 handler return type, as per AC_TYPE_SIGNAL.
2228 2003-11-04 Akim Demaille <akim@epita.fr>
2231 * doc/standards.texi: Update from master.
2233 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2235 2003-11-04 Akim Demaille <akim@epita.fr>
2237 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2238 computing the absolute path to d1 in the source hierarchy: it may
2239 not exist at all. So don't cd into it.
2240 From Alexandre Duret-Lutz.
2241 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2243 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2244 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2245 * doc/autoconf.texi (Programming in M4sh): Document.
2246 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2248 2003-11-03 Pavel Roskin <proski@gnu.org>
2250 * doc/autoconf.texi (Generic Structure Checks): Describe
2251 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2253 2003-10-31 Akim Demaille <akim@epita.fr>
2255 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2257 * doc/autoconf.texi (Language Choice): Document.
2258 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2259 the current language is Fortran.
2261 2003-10-31 Akim Demaille <akim@epita.fr>
2263 * bin/autom4te.in (&freeze): Use a less likely warning separator
2264 than `\n\n', so that `\n\n\n' is valid in warnings.
2265 Reported by Steve Huston.
2267 2003-10-28 Akim Demaille <akim@epita.fr>
2269 * Makefile.cfg (local_updates, executable-update): Tweak to be
2270 robust to parallel makes.
2271 Suggested by Alexandre Duret-Lutz.
2273 2003-10-27 Akim Demaille <akim@epita.fr>
2275 * Makefile.cfg (executable-update): New.
2276 (local_updates): Call it.
2278 2003-10-27 Akim Demaille <akim@epita.fr>
2280 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2281 Don't remove core.* as it may remove valid user files.
2282 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2283 (AC_FUNC_UTIME_NULL): Likewise.
2285 2003-10-23 Akim Demaille <akim@epita.fr>
2288 * config/config.guess, config/config.sub: Upgrade from masters.
2290 2003-10-23 Akim Demaille <akim@epita.fr>
2292 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2293 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2296 2003-10-23 Akim Demaille <akim@epita.fr>
2298 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2299 Don't forget to remove conftest.err.
2301 2003-10-23 Akim Demaille <akim@epita.fr>
2303 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2304 same object file in $LIBOBJS.
2305 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2306 * doc/autoconf.texi (Generic Functions): Adjust.
2308 2003-10-20 Paul Eggert <eggert@twinsun.com>
2310 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2311 Use 'eval', so that the resulting configure scripts work even if
2312 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2314 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2316 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2317 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2318 (_AC_LINK_IFELSE): Check the werror flag.
2319 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2323 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2325 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2326 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2327 override AC_LINK_IFELSE.
2329 2003-10-15 Paul Eggert <eggert@twinsun.com>
2331 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2332 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2333 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2334 Mention /usr/dt/bin/dtksh on Solaris.
2335 (Shell Substitutions): Warn about $((...)).
2336 (Parentheses): New section.
2338 2003-10-15 Kevin Ryde <user42@zip.com.au>
2340 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2341 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2343 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2345 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2348 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2350 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2351 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2353 2003-10-10 Andreas Schwab <schwab@suse.de>
2355 * bin/autoheader.in: Avoid empty first line in --version and
2357 * bin/ifnames.in: Likewise.
2359 2003-10-09 Paul Eggert <eggert@twinsun.com>
2361 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2362 Issue a more-informative diagnostic.
2363 Problems reported by Eric Sunshine.
2365 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2367 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2368 -mGLOB_options_string stuff for Intel ifc, which can cause
2369 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2370 pattern-matching instead of grep.
2372 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2374 * doc/autoconf.texi: Document new FC Fortran macros.
2376 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2378 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2379 that future autopoint/aclocal/automake/autoreconf will be able
2380 to trace to find where to install local m4 macros.
2381 * doc/autoconf.texi (Input): Document it.
2384 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2386 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2387 -lcrtbegin.o to list of ignored flags and fix underquoting of
2390 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2392 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2393 cache variable instead of $G77 to decide whether to include -O2,
2394 since $G77 is specific to Fortran 77.
2396 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2398 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2399 free" flag. Re-order flags tested into rough order of popularity.
2401 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2403 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2404 arguments so that it can be used with syntax identical to
2405 AC_PROG_F77, and so that we can more easily decide to
2406 remove/deprecate the DIALECT optional argument in the future if it
2408 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2409 non-freeform-supporting compilers. Document freeform flags.
2411 2003-10-03 Akim Demaille <akim@epita.fr>
2413 * configure.ac: Look for emacs, not macs.
2414 Reported by Eric Sunshine.
2416 2003-10-03 Akim Demaille <akim@epita.fr>
2418 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2419 * bin/autoreconf.in (autoreconf_current_directory): Create the
2420 AUX_DIR if needed, for sake of automake --add-missing etc.
2421 Suggested by Alexandre Duret-Lutz.
2423 2003-10-03 Akim Demaille <akim@epita.fr>
2425 * configure.ac: Quotation and formatting changes.
2426 (EMACS): Don't set it if it is not recent enough to support
2430 2003-10-02 Akim Demaille <akim@epita.fr>
2432 * bin/ifnames.in (&scan_file): Skip C++ comments.
2435 2003-10-01 Pavel Roskin <proski@gnu.org>
2437 * doc/autoconf.texi (Particular Structure Checks):
2438 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2440 2003-10-01 Akim Demaille <akim@epita.fr>
2444 2003-09-30 Paul Eggert <eggert@twinsun.com>
2446 * lib/Autom4te/XFile.pm: Use Errno.
2447 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2448 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2450 2003-09-30 Akim Demaille <akim@epita.fr>
2452 * config/announce-gen (&print_news_deltas): Extracted from...
2453 (&print_changelog_deltas): here.
2454 (&news_file): Rename as...
2457 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2459 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2460 have been created when invoking the compiler.
2461 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2463 2003-09-29 Akim Demaille <akim@epita.fr>
2467 * config/mkinstalldirs: Upgrade.
2469 2003-09-28 Paul Eggert <eggert@twinsun.com>
2471 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2472 Problem reported by Lars J. Aas in
2473 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2474 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2475 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2476 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2478 2003-09-26 Akim Demaille <akim@epita.fr>
2480 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2481 directory for AC_CONFIG_COMMANDS' first argument exists.
2482 This makes valid the invocation of _AC_SRCPATH that follows.
2483 Reported by Eric Sunshine.
2484 * doc/autoconf.texi (Configuration Commands): Adjust.
2486 2003-09-26 Akim Demaille <akim@epita.fr>
2488 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2489 Reported by Ralf Corsepius.
2491 2003-09-26 Akim Demaille <akim@epita.fr>
2493 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2495 Actually, use AU_ALIAS.
2498 2003-09-26 Paul Eggert <eggert@twinsun.com>
2500 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2501 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2502 Problem reported by Eric Sunshine in:
2503 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2505 2003-09-26 Akim Demaille <akim@epita.fr>
2507 The test suite are sometimes assigning timings incorrectly.
2508 Reported by Henk Krus.
2509 Diagnosed by Nicolas Joly.
2511 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2513 Instead of making AT_help a sequence of assignments to grow
2514 $at_help_all, just make AT_help_all be the growing contents of
2515 $at_help_all, and make a single assignment in...
2517 (at_times_skip): Flip the meaning and rename as...
2519 (AT_INIT): When summarizing the test that ran, remove
2520 $at_times_file after use, and check it is present before trying to
2523 2003-09-25 Akim Demaille <akim@epita.fr>
2527 * bin/Makefile.am (edit): Handle '@configure_input@'.
2528 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2529 (ifnames): chmod -w.
2530 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2531 executables, not bin/ executables! Otherwise all the magic needed
2532 to find non installed files is turned off. This caused a failure
2533 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2534 as found in its environment (sent by tests/autoreconf): pointing
2535 to bin/autom4te that could not find its files.
2536 * tests/mktests.sh: Force the replacement of generated files, for
2537 the sake of "mv" program that are interactive when overwriting a
2539 * config/install-sh: Upgrade from CVS Automake.
2541 2003-09-23 Paul Eggert <eggert@twinsun.com>
2543 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2544 versus test -L issues.
2546 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2547 Paul Eggert <eggert@twinsun.com>
2549 Trivial change to support GCC's configuration procedure.
2550 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2551 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2552 about inconsistency if the preprocessor is set to give errors for
2554 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2556 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2558 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2559 and XFile.pm from Automake.
2560 * lib/Autom4te/XFile.pm: Update from Automake.
2562 2003-09-12 Akim Demaille <akim@epita.fr>
2566 2003-09-12 Akim Demaille <akim@epita.fr>
2568 * config/config.guess, config/config.sub, config/missing,
2569 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2572 2003-09-12 Akim Demaille <akim@epita.fr>
2574 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2577 2003-09-11 Akim Demaille <akim@epita.fr>
2579 * doc/autoconf.texi (Header Portability): linux/random.h.
2580 From Peter Hendrickson.
2582 2003-09-10 Akim Demaille <akim@epita.fr>
2584 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2585 willing to edit the output files.
2587 2003-09-10 Akim Demaille <akim@epita.fr>
2589 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2591 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2592 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2594 2003-09-09 Akim Demaille <akim@epita.fr>
2596 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2597 Reported by Gary Vaughan.
2598 * bin/autom4te.in (handle_m4): Likewise.
2600 2003-09-09 Akim Demaille <akim@epita.fr>
2602 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2605 2003-09-07 Paul Eggert <eggert@twinsun.com>
2607 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2608 Improve the accuracy of the wording about obsolescence.
2609 From a suggestion by Ian Lance Taylor in
2610 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2612 2003-09-05 Paul Eggert <eggert@twinsun.com>
2614 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2615 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2617 2003-09-04 Akim Demaille <akim@epita.fr>
2619 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2622 2003-09-04 Akim Demaille <akim@epita.fr>
2624 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2625 (freeze): When exiting, use $exit_code.
2626 * lib/autoconf/fortran.m4: Comment changes.
2628 2003-09-04 Akim Demaille <akim@epita.fr>
2630 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2632 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2634 Add support for newer Fortran dialects. The F77 interface is
2635 unchanged, and continues to support Fortran 77. New FC macros
2636 correspond to all the old F77 macros, with output variables FC,
2637 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2638 available dialect, but older dialects can be specified. There are
2639 new macros AC_FC_SRCEXT to set the source extension, and
2640 AC_FC_FREEFORM to accept free-form source files.
2642 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2644 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2645 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2646 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2647 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2648 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2649 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2650 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2651 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2652 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2653 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2654 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2655 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2656 AC_FC_SRCEXT, AC_FC_FREEFORM):
2658 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2659 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2660 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2661 Rewrite in terms of the above.
2662 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2663 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2664 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2665 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2667 2003-09-02 Paul Eggert <eggert@twinsun.com>
2669 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2670 Document problems with timestamp resolution that 'make', 'cp -p', and
2673 2003-08-27 Akim Demaille <akim@epita.fr>
2675 * tests/m4sugar.at (cross_warning): Make sure to enable the
2676 output, so that we can track spurious m4sugar output.
2677 * tests/local.at: Require 2.57.
2678 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2679 are defaulted by AT_CHECK anyway.
2680 Use AT_CHECK_AUTOM4TE.
2681 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2684 2003-08-27 Akim Demaille <akim@epita.fr>
2686 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2687 when -Wobsolete is set.
2688 Set it on by default.
2689 Suggested by Klee Dienes.
2691 2003-08-27 Akim Demaille <akim@epita.fr>
2693 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2697 2003-08-26 Akim Demaille <akim@epita.fr>
2699 * doc/autoconf.texi (Output): Make clear that one can run code
2702 2003-08-25 Akim Demaille <akim@epita.fr>
2704 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2707 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2709 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2710 Automake versions prior to 1.8.
2712 2003-08-25 Akim Demaille <akim@epita.fr>
2714 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2717 2003-08-24 Akim Demaille <akim@epita.fr>
2719 * configure.ac: Bump to 2.57c.
2721 2003-08-22 Akim Demaille <akim@epita.fr>
2725 * Makefile.cfg (local-checks-to-skip): New.
2726 * Makefile.maint (local-check): Rename as...
2727 (local-checks-available): this.
2730 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2731 * configure.ac: Require Automake 1.7.6.
2733 2003-08-22 Akim Demaille <akim@epita.fr>
2735 Output stack traces in warnings.
2737 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2738 Replace the former...
2739 (m4_warn): Pass the call stack to _m4_warn.
2740 * bin/autom4te.in: Adjust to output the call stack.
2741 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2743 2003-08-22 Akim Demaille <akim@epita.fr>
2745 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2746 * bin/autom4te.in: Adjust.
2748 2003-08-21 Akim Demaille <akim@epita.fr>
2750 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2752 (&getopt): Adjust the note and verb channels, depending upon
2754 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2755 * bin/autoupdate.in: Adjust.
2756 Use &verb, not &verbose.
2758 2003-08-21 Akim Demaille <akim@epita.fr>
2760 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2762 ($help): Use Autom4te::ChannelDefs::usage.
2763 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2764 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2766 2003-08-21 Akim Demaille <akim@epita.fr>
2768 First stab at preserving warnings between calls to autom4te,
2769 including when the cache is used.
2771 There are still several issues: (i) there are too many runs of m4
2772 (one for include, one for warnings, and some more), (ii) warnings
2773 spreading on several lines are not handled gracefully, (iii) the
2774 code meant to have the call stack display for errors does not work
2775 (its handling should move from m4 to autom4te).
2777 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2779 (@preselect): Add m4_warn.
2780 ($exit_status): Remove, use $exit_code.
2781 ($help): Use Autom4te::ChannelDefs::usage.
2782 (&handle_m4): No longer define the m4_warnings.
2783 At each run, extract and report the warnings.
2784 Always cache the result, including if the exit status is on
2785 failure, since if nothing changes, we should result in the same
2786 failure, hence we can use the cache.
2787 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2788 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2790 (m4_warn): Redefine as a do-nothing: it is its invocation that
2791 matters, as warnings are now reported via traces.
2792 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2793 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2794 the latter reveals calls to the former.
2798 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2800 2003-08-21 Akim Demaille <akim@epita.fr>
2802 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2805 2003-08-21 Akim Demaille <akim@epita.fr>
2807 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2809 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2810 (&parse_warnings): Accept a list of warning requests.
2811 (&usage): Return a string, not a side effect.
2812 (cross): New warning category.
2814 2003-08-21 Akim Demaille <akim@epita.fr>
2816 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2817 (&require_configure_ac): Accept an optional directory argument.
2818 ($configure_ac): Remove.
2819 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2821 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2822 * bin/autoscan.in: Adjust.
2824 2003-08-20 Akim Demaille <akim@epita.fr>
2826 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2827 Reported by Alexandre Duret-Lutz.
2829 2003-08-20 Akim Demaille <akim@epita.fr>
2831 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2832 * bin/autom4te: Adjust.
2833 In particular, be Autoconf tools are really silent when properly
2834 working, bind the verbosity of the 'note' channel to $verbose.
2835 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2836 (&xsystem, &contents): Remove, since they are exported by...
2837 * lib/Autom4te/FileUtils.pm: this.
2839 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2840 * lib/Autom4te/FileUtils.pm: here.
2842 2003-08-20 Akim Demaille <akim@epita.fr>
2844 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2845 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2848 2003-08-20 Akim Demaille <akim@epita.fr>
2850 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2851 (autom4te-update): New.
2852 * Makefile.cfg (update): Bind autom4te-update.
2854 2003-08-19 Derek Price <derek@ximbiot.com>
2856 * lib/autotest/general.m4: Comment various HELP_* diversions.
2857 (PARSE_ARGS_BEGIN): New section for option parsing related
2859 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2860 package specific options and associated help.
2862 2003-08-19 Akim Demaille <akim@epita.fr>
2864 * config/announce-gen, Makefile.cfg: New.
2865 * Makefile.am: Adjust.
2866 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2868 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2870 * lib/autom4te.in (Automake-preselections): Preselect
2871 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2874 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2876 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2877 (Autoconf-without-aclocal-m4): ... this new language.
2878 * doc/autoconf.texi (autom4te Invocation): Mention
2879 Autoconf-without-aclocal-m4.
2881 2003-08-18 Derek Price <derek@ximbiot.com>
2883 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2884 RUN-IF-PASS optional arguments.
2886 2003-08-18 Derek Price <derek@ximbiot.com>
2888 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2890 2003-08-16 Derek Price <derek@ximbiot.com>
2892 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2893 STDOUT & STDERR arguments.
2895 2003-08-14 Derek Price <derek@ximbiot.com>
2897 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2898 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
2899 shorter column three. Add DESCRIPTION to log file content.
2901 2003-08-13 Derek Price <derek@ximbiot.com>
2903 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2906 2003-08-12 Derek Price <derek@ximbiot.com>
2908 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2909 (AT_CHECK_NOESCAPE): Move core functionality to...
2910 (_AT_CHECK): ...this new macro.
2912 2003-08-07 Derek Price <derek@ximbiot.com>
2914 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2915 (AT_CHECK_NOESCAPE): ...to this new macro.
2917 2003-07-31 Paul Eggert <eggert@twinsun.com>
2919 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2920 in Bash 2.01. Problem reported by Brian Gough in
2921 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2923 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
2925 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2926 -lcrt1.o, for OS X. (trivial change)
2928 2003-07-07 Paul Eggert <eggert@twinsun.com>
2930 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2931 inside '#ifndef __cplusplus'. Problem reported by
2934 2003-07-06 Bill Clarke <llib@computer.org>
2936 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2937 'long', not 'int', for benefit of Sun's recent C++ compilers
2938 (trivial change). See:
2939 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2940 (This really should be 'intptr_t', not 'long', but that would
2943 2003-06-25 Akim Demaille <akim@epita.fr>
2945 * lib/Makefile.am (autom4te.cfg): Make it read only.
2946 Depend on Makefile since it contains substitutions.
2948 * lib/autom4te.in (args): Add local.at? for Autotest args.
2949 This change was made on autom4te.cfg which is generated.
2950 Reported by Raja R. Harinath.
2952 2003-06-25 Akim Demaille <akim@epita.fr>
2954 * doc/autoconf.texi (Header Portability): sys/mount.h.
2955 From Gareth McCaughan.
2957 2003-06-23 Akim Demaille <akim@epita.fr>
2959 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2960 not all of them. This fixes 1. the fact that when testing
2961 Autoconf there are many many config.log, 2. the incorrect use of
2962 top_srcdir to find config.log.
2963 Don't mix the detailed output of failed test with the summary of
2964 failures. Rather, append detailed log afterwards.
2966 2003-06-23 Akim Demaille <akim@epita.fr>
2968 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2969 always run: output config.log on $at_group_log.
2971 2003-06-23 Akim Demaille <akim@epita.fr>
2973 * tests/torture.at (#define header templates): Don't use quotes in
2974 C++ comments as it puzzles Emacs' sh font-lock-mode.
2976 2003-06-23 Akim Demaille <akim@epita.fr>
2978 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2979 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2980 * tests/atspecific.m4: Rename as...
2981 * tests/local.at: This.
2982 * tests/suite.at: Move the globals into...
2983 * tests/local.at: here.
2984 * tests/Makefile.am: Adjust.
2985 * doc/autoconf.texi (testsuite Scripts): Adjust.
2987 2003-06-21 Kevin Ryde <user42@zip.com.au>
2989 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2990 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2991 ensuring we add -std1 for full-ANSI.
2993 * doc/autoconf.texi (hdrindex): New macro.
2994 Add index entries for portability of various standard header files.
2996 2003-06-20 Akim Demaille <akim@epita.fr>
2998 * configure.ac: Bump to 2.57b.
3000 2003-06-20 Akim Demaille <akim@epita.fr>
3004 2003-06-20 Akim Demaille <akim@epita.fr>
3006 * bin/autom4te.in: Don't rely on $HOME being defined.
3007 Reported by Marc Espie as PR/233.
3009 2003-06-20 Akim Demaille <akim@epita.fr>
3011 * lib/autotest/general.m4: Use at_times_file only if used.
3014 2003-06-20 Akim Demaille <akim@epita.fr>
3016 * config/config.guess, config/config.sub, config/elisp-comp,
3017 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3018 Update from masters.
3020 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3022 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3023 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3024 (TEST_SCRIPT): New diversion.
3025 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3026 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3027 (AT_INIT): Support for expected failures.
3029 2003-06-02 Akim Demaille <akim@epita.fr>
3031 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3033 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3034 Autoconf nor Automake.
3035 (&contents): New, from Automake.
3038 2003-05-28 Paul Eggert <eggert@twinsun.com>
3040 * NEWS, doc/autoconf.texi (Particular Functions),
3041 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3042 is the inverse of localtime.
3044 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3046 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3047 (handle_exec_errors): New function. Work around $! being
3048 altered by WEXITSTATUS.
3049 (xqx, xsystem): Use handle_exec_errors.
3051 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3053 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3054 Do not call `_exit()', simply modify `$?'.
3055 (xsystem): Reset $! before running system, and check it afterward.
3056 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3057 63 for version mismatches.
3059 2003-05-23 Akim Demaille <akim@epita.fr>
3061 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3062 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3063 the middle of a line).
3064 * lib/m4sugar/m4sugar.m4: Likewise.
3065 Remove useless spaces in comments.
3067 2003-05-23 Akim Demaille <akim@epita.fr>
3069 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3070 exit 63, so that we (or Automake's "missing") can tell the
3071 difference with a plain failure.
3072 * doc/autoconf.texi (Notices): Adjust.
3074 2003-05-23 Akim Demaille <akim@epita.fr>
3076 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3077 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3078 White spaces cleanup.
3080 2003-05-22 Jim Meyering <jim@meyering.net>
3081 Paul Eggert <eggert@twinsun.com>
3083 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3084 Remove `#include <stdlib.h>' from the list; we should never
3085 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3086 resulting namespace pollution would cause other tests to fail.
3087 Configure scripts run with some older versions of g++ and HP's
3088 aCC would fail due to such an #include. Problems reported by
3089 Matthew Mueller in <http://bugs.debian.org/120704> and by
3091 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3092 In the test, use the test declaration before including <stdlib.h>,
3093 as that's closer to how it'll be used.
3095 2003-05-23 Akim Demaille <akim@epita.fr>
3097 * doc/autoconf.texi (Header Portability): ucred.h.
3100 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3102 Overhaul Autotest's logging: generate separate log files
3103 in testsuite.dir/NNN/testsuite.log, and append them to
3104 testsuite.log instead of re-running the test verbosely.
3106 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3107 file descriptor, write 0 to at_status_file instead of setting
3108 at_status=0, initialize some new variables (at_status_file,
3109 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
3110 to rerun the tests, instead append the at_group_log to the
3111 at_suite_log when a test fails.
3112 (AT_SETUP): pipe the test case's output into at_tee_pipe,
3113 with the AS_MESSAGE_LOG_FD redirected to stdout.
3114 (AT_CLEANUP): save the output status in $at_status_file
3115 and restore it, redirect the AS_MESSAGE_LOG_FD back to
3117 (AT_CHECK): since tests are run with a redirected stdout,
3118 and used to be re-run in verbose mode, turn some $at_verbose
3119 into echo, and don't redirect the output of testing stdout
3122 * lib/autotest/autoconf.texi (testsuite Scripts): Update
3123 the name of the debugging directory and information about
3126 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3128 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3131 2003-05-22 Akim Demaille <akim@epita.fr>
3133 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3134 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3135 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3136 * lib/autoconf/status.m4: Fix and adjust copyright notices.
3138 2003-05-22 Akim Demaille <akim@epita.fr>
3140 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3141 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3142 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3143 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3144 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3145 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3146 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3147 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3148 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3149 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3150 * tests/tools.at, tests/torture.at:
3151 Whitespace clean up.
3152 Suggested by Jim Meyering.
3154 2003-05-22 Akim Demaille <akim@epita.fr>
3156 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3157 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3158 Reported by Jim Meyering.
3160 2003-05-22 Akim Demaille <akim@epita.fr>
3162 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3163 Add AC_HELP_STRING to the obsolete macros section.
3165 Use '@.' for sentences that ended in a capital letter.
3168 2003-05-22 Akim Demaille <akim@epita.fr>
3170 * config/config.guess, config/config.sub, config/elisp-comp,
3171 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3172 * config/texinfo.tex, doc/standards.texi: Update from masters.
3174 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3176 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3179 2003-05-21 Akim Demaille <akim@epita.fr>
3181 * bin/autoupdate.in ($m4): Fix quotation.
3182 Reported by Martin Mokrejs.
3184 2003-05-19 Paul Eggert <eggert@twinsun.com>
3186 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3187 Remove non-ASCII characters.
3189 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3191 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3192 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3193 AC_CHECK_HEADERS_NEW): New tests.
3195 2003-05-17 Akim Demaille <akim@epita.fr>
3197 * lib/autoconf/functions.m4: Use the default includes so that
3198 memcmp be declared before being tested.
3199 Reported by Sander Niemeijer.
3200 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3201 * doc/autoconf.texi (Default Includes): Document
3202 AC_INCLUDES_DEFAULT.
3204 2003-05-17 Akim Demaille <akim@epita.fr>
3206 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3207 * doc/autoconf.texi (Obsolete Macros): Adjust.
3208 Reported by Werner LEMBERG and Debian Bug 190886.
3210 2003-05-16 Akim Demaille <akim@epita.fr>
3212 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3213 user name space clashes.
3214 Reported by Bruno Haible.
3216 2003-05-16 Akim Demaille <akim@epita.fr>
3218 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3219 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3220 them uniform, and more robust to Perl special characters.
3221 Reported by Martin Mokrejs.
3223 2003-05-14 Akim Demaille <akim@epita.fr>
3225 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3227 2003-05-14 Akim Demaille <akim@epita.fr>
3229 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3232 2003-05-12 Akim Demaille <akim@epita.fr>
3234 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3236 From Matthias Andree.
3238 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3240 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3243 2003-05-06 Akim Demaille <akim@epita.fr>
3245 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3246 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3247 by aclocal.m4 is changed it might require the importing of another
3248 m4 extension file, i.e., aclocal must be run.
3250 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3251 (&parse_args): Use --force with aclocal if required and supported.
3252 (&autoreconf_current_directory): Use &run_aclocal.
3254 2003-05-06 Akim Demaille <akim@epita.fr>
3256 Lock autom4te's cache.
3258 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3259 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3260 argument instead of a file name, so that the request file remains
3261 open during the whole autom4te run.
3262 ($icache_file): New.
3263 (&freeze): Lock the $icache_file.
3265 2003-04-29 Derek Price <derek@ximbiot.com>
3267 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3268 seperator with m4_append_uniq(). It doesn't work.
3269 (AT_CLEANUP): Add `;' to end of at_help_all.
3270 (AT_INIT): Allow --keywords to be specified more than once. When
3271 grepping $at_help_all for keywords, use the field and keyword
3272 seperators to ensure a complete keyword match. Alter at_prev handling
3273 to support the new --keywords behavior.
3275 2003-04-27 Karl Berry <karl@freefriends.org>
3277 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3278 align better with others. I also made some of the individual
3279 entries on one line, for brevity and to make it easier for me to
3280 sort my dir-example file in the Texinfo distribution :).
3282 2003-04-12 Jim Meyering <jim@meyering.net>
3284 * NEWS: Mention the new macro.
3285 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3286 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3287 * tests/c.at: Test AC_C_RESTRICT.
3288 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3290 2003-04-08 Akim Demaille <akim@epita.fr>
3292 * bin/ifnames.in: Skip C++ comments.
3295 2003-04-08 Akim Demaille <akim@epita.fr>
3297 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3298 From Ilya Zakharevich.
3300 2003-04-08 Akim Demaille <akim@epita.fr>
3302 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3305 2003-04-01 Derek Price <derek@ximbiot.com>
3307 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3308 from Akim's checkin of 2003-03-29.
3310 2003-04-01 Derek Price <derek@ximbiot.com>
3312 * tests/torture.at (Configuring subdirectories): Add missing
3313 close-quote for Akim's change from 2003-03-28.
3315 2003-04-01 Akim Demaille <akim@epita.fr>
3317 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3318 (AC, AT, MS): these.
3319 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3322 * doc/Makefile.am (CLEANFILES): Adjust.
3323 (TEXI2DVI): Make it --batch.
3325 2003-03-31 Derek Price <derek@ximbiot.com>
3327 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3328 which removed the main loop.
3329 Thanks to Akim Demaille.
3331 2003-03-29 Akim Demaille <akim@epita.fr>
3333 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3335 From Ilya Zakharevich.
3337 2003-03-29 Akim Demaille <akim@epita.fr>
3339 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3340 documentation to read is Autoconf's.
3341 Suggested by Paul Eggert.
3343 2003-03-28 Akim Demaille <akim@epita.fr>
3345 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3346 reading the section "Present But Cannot Be Compiled" when the
3347 header causes problems.
3349 2003-03-28 Akim Demaille <akim@epita.fr>
3351 * tests/torture.at (Configuring subdirectories): Require aclocal
3352 1.4, otherwise the test fails, as it does support configure.ac.
3353 This fixes the "test 40 failed" bug reports.
3355 2003-03-28 Akim Demaille <akim@epita.fr>
3357 * doc/autoconf.texi (C Compiler): `#line' portability.
3358 From Paul Eggert and Nelson H. F. Beebe.
3360 2003-03-27 Derek Price <derek@ximbiot.com>
3362 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3363 layout in order to allow scripting around test groups.
3365 2003-03-27 Derek Price <derek@ximbiot.com>
3367 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3368 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3369 use new diversions in preparation for accepting new arguments and
3370 allowing scripting around tests.
3371 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3373 2003-03-26 Derek Price <derek@ximbiot.com>
3375 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3376 obsolete AC_HELP_STRING.
3377 (AC_HELP_STRING): AU_DEFUN to...
3378 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3379 * tests/m4sh.at (AS_HELP_STRING): New test.
3381 * tests/acgeneral.at: Regenerated.
3383 2003-03-26 Derek Price <derek@ximbiot.com>
3385 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3386 sense. Verbosify the diversion definitions comment.
3388 2003-03-26 Derek Price <derek@ximbiot.com>
3390 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3393 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3395 * doc/autoconf.texi (Present But Cannot Be Compiled):
3396 Grammar fixes and minor rewording. (trivial change)
3398 2003-03-06 Paul Eggert <eggert@twinsun.com>
3400 Work around a problem noted by Nelson H. F. Beebe with coreutils
3401 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3402 2002/05/09) rejects '#line 32768 "configure"' because the line
3404 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3406 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3407 * doc/autoconf.texi (Generating Sources): Document this.
3409 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3411 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3412 file name for the m4 program, when it has an "exe" file extension.
3413 DJGPP's error messages include the error code in brackets -
3414 remove the error code during normalization.
3416 2003-02-28 Akim Demaille <akim@epita.fr>
3418 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3420 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3422 * doc/autoconf.texi (Limitations of Make): Remove the section
3423 about `$<' in inference rules, it was a bogus interpretation of
3424 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3425 Tru64 make in the "target lookup" section.
3426 (Automake): Automake 1.5+ no longer requires special tools to be
3427 present on the developer's host.
3429 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3431 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3432 to a shell that can handle redirection or quoting correctly.
3433 Override SHELL with the shell detected by configure.
3434 Use of $^O suggested by Tim van Holder.
3435 * bin/autom4te.in (BEGIN): Likewise.
3436 * bin/autoreconf.in (BEGIN): Likewise.
3437 * bin/autoscan.in (BEGIN): Likewise.
3438 * bin/autoupdate.in (BEGIN): Likewise.
3439 * bin/ifnames.in (BEGIN): Likewise.
3441 * bin/ifnames.in: Add final newline to help and version messages.
3443 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3444 to cope with DOS-style absolute paths, when constructing
3447 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3448 When constructing paths with IFS=:, quote the path. If we're
3449 constructing a DOS-style absolute path, we don't want to split it
3452 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3455 2003-02-25 Pavel Roskin <proski@gnu.org>
3457 * bin/autoheader.in: Add missing newline when printing
3458 suggestion how change AC_DEFINE call.
3460 2003-02-24 Paul Eggert <eggert@twinsun.com>
3462 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3463 2002-09-01 patch by replacing "test -n" with "test -z".
3464 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3465 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3467 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3468 to fix a mismatch between example and discussion.
3470 2003-02-24 Kevin Ryde <user42@zip.com.au>
3472 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3473 format starting with "-".
3475 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3477 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3478 is not portable inside Makefile.
3480 2003-02-20 Akim Demaille <akim@epita.fr>
3482 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3483 compiler says yeah, but preproc says nope, compiler is right.
3484 Conversely, prompt the reader to send a bug report to the
3485 maintainers of the package, not of Autoconf.
3487 2003-02-20 Klee Dienes <kdienes@apple.com>
3489 * bin/autoreconf.in (autoreconf_current_directory): Properly
3490 handle an empty aclocal.m4.
3492 2003-02-20 Akim Demaille <akim@epita.fr>
3494 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3498 2002-12-23 Paul Eggert <eggert@twinsun.com>
3500 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3501 innocuous variant befor including <limits.h> or <assert.h>. This
3502 works around a bug reported by Albert Chin: HP-UX 11i
3503 (and earlier versions) have a <limits.h> that declares
3504 gettimeofday and many other functions.
3506 2002-12-03 Paul Eggert <eggert@twinsun.com>
3510 * NEWS, configure.ac: Update version.
3512 * doc/fdl.texi: Upgrade to FDL version 1.2.
3514 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3515 nontrivially in main's body, so that f's external declaration is
3516 not optimized away in AIX. This should fix the bug reported by
3518 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3520 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3521 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3522 defined, to support freestanding compilers. This should fix the
3523 bug reported by Momchil Velkov in
3524 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3526 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3527 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3528 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3529 by Simon Josefsson in
3530 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3532 * Makefile.maint (www-gnu): New macro.
3533 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3534 the location has moved.
3536 2002-12-02 Martin Frydl <martin@systinet.com>
3538 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3539 \(.*\) match is too long and there is something more to be checked.
3540 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3542 2002-11-15 Akim Demaille <akim@epita.fr>
3546 * config/install-sh: chmod +x.
3548 * config/move-if-change: Indenting changes.
3549 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3550 * configure.ac (AM_INIT_AUTOMAKE): here.
3553 2002-11-14 Akim Demaille <akim@epita.fr>
3557 * config/config.guess, config/config.sub, config/install-sh:
3558 Update from masters.
3560 2002-11-14 Akim Demaille <akim@epita.fr>
3562 * Makefile.maint: Sync with Bison, i.e.:
3563 (po-check): Scan .l and .y files instead of the
3564 .c and the .h files that they generate. This fixes the bug
3565 reported by Tim Van Holder in:
3566 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3567 Look for N_ as well as for _. Try to avoid matching #define for
3571 2002-11-14 Akim Demaille <akim@epita.fr>
3573 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3574 From Paul Eggert and Albert Chin-A-Young.
3576 2002-11-14 Akim Demaille <akim@epita.fr>
3578 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3579 From Paul Eggert and Albert Chin-A-Young.
3581 2002-11-14 Kevin Ryde <user42@zip.com.au>
3583 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3584 than assigning in main, to avoid HP cc +O3 optimizing it away.
3586 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3588 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3589 option. Process --recheck after parsing all options. Pass -q
3590 option to configure on --recheck.
3591 (AC_OUTPUT): Pass -q from configure to config.status.
3592 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3593 arguments to record.
3594 * doc/autoconf.texi (config.status Invocation): Document
3595 config.status -q option.
3597 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3599 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3600 Makefile.in if Makefile.am exists.
3601 (output): Strip `.am' from Makefiles. Don't
3602 output AC_CONFIG_FILES if no Makefiles were found.
3604 2002-11-07 Akim Demaille <akim@epita.fr>
3606 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3607 (local_updates): New.
3608 * Makefile.maint: Update, from CVS Bison.
3609 (local_updates): New.
3611 2002-11-06 Akim Demaille <akim@epita.fr>
3613 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3614 declaration in extern "C" too.
3615 Reported by Roberto Bagnara.
3617 2002-11-06 Akim Demaille <akim@epita.fr>
3619 * tests/torture.at (Configuring subdirectories): Don't use grep
3621 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3622 Reported by Ezra Peisach.
3624 2002-11-05 Akim Demaille <akim@epita.fr>
3626 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3628 We _have_ to stop using the old compatibility scheme that tried to
3629 avoid useless backslashes because Libtool 1.4.3 contains a
3630 AC_DEFINE([error_t], [int],
3631 [Define to a type to use for \`error_t' if it is not
3632 otherwise available.])
3633 We _have_ to quote the single quote and backslashes with \. The
3634 old compatibility scheme saw that ` was backslashed, and therefore
3635 did not quote the single quote. Hence before this patch, Autoconf
3636 was not compatible with Libtool.
3638 2002-11-04 Paul Eggert <eggert@twinsun.com>
3640 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3641 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3642 LC_NAME, LC_PAPER, LC_TELEPHONE.
3643 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3645 2002-11-04 Akim Demaille <akim@epita.fr>
3649 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3651 * config/texinfo.tex: Update.
3653 2002-11-03 Akim Demaille <akim@epita.fr>
3655 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3657 (&autoreconf): here.
3658 ($help, $make, &parse_args, &autoreconf_current_directory):
3660 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3662 2002-10-31 Bruno Haible <bruno@clisp.org>
3664 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3665 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3666 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3667 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3668 to ac_cv_func_realloc_0_nonnull.
3669 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3671 2002-10-31 Akim Demaille <akim@epita.fr>
3673 The test suite was no longer checking for trailing envvars and files.
3675 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3676 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3678 2002-10-31 Akim Demaille <akim@epita.fr>
3680 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3681 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3682 Make variable, not a shell variable.
3683 Suggested by Bruno Haible.
3685 2002-10-31 Akim Demaille <akim@epita.fr>
3687 * bin/autom4te.in (load_configuration): Reject #args out of any
3690 2002-10-31 Akim Demaille <akim@epita.fr>
3692 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3693 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3694 (_AC_RUN_IFELSE): Use it.
3695 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3696 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3697 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3700 2002-10-30 Akim Demaille <akim@epita.fr>
3702 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3703 * doc/autoconf.texi (autom4te Invocation): Adjust.
3704 Suggested by Tim van Holder.
3706 2002-10-29 Paul Eggert <eggert@twinsun.com>
3708 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3709 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3710 Problem reported by Bruno Haible.
3712 2002-10-29 Akim Demaille <akim@epita.fr>
3714 * doc/autoconf.texi (Header Templates): Put also in words what the
3715 pictures says to assist free style readers.
3716 (Customizing autom4te): s/--cache=/--cache /.
3718 2002-10-29 Akim Demaille <akim@epita.fr>
3720 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3722 sparc_address_test returns void.
3723 Use it with an argument, as prototyped.
3726 2002-10-29 Akim Demaille <akim@epita.fr>
3728 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3729 configure.in, not configure.ac.
3730 Reported by Bruno Haible.
3732 2002-10-29 Akim Demaille <akim@epita.fr>
3734 * tests/torture.at (Deep Package): New test.
3735 (Configuring subdirectories): Don't use a testSubDir as Autotest
3738 2002-10-29 Akim Demaille <akim@epita.fr>
3740 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3741 * doc/autoconf.texi (Invoking autom4te): Rename as...
3742 (autom4te Invocation): this, for consistency with the other nodes.
3744 2002-10-29 Akim Demaille <akim@epita.fr>
3746 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3747 Reported by Ralf Corsepius.
3749 2002-10-29 Akim Demaille <akim@epita.fr>
3751 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3752 characters is a back as an `obsolete' warning now.
3753 Reported by Ralf Corsepius.
3755 2002-10-28 Akim Demaille <akim@epita.fr>
3757 * configure.ac: Bump to 2.54c.
3759 2002-10-28 Akim Demaille <akim@epita.fr>
3763 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3765 2002-10-28 Akim Demaille <akim@epita.fr>
3767 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3768 m4 executable names, and different GNU M4 version.
3769 Reported by Ezra Peisach and Paul Jarc.
3771 2002-10-27 Akim Demaille <akim@epita.fr>
3773 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3776 2002-10-27 Akim Demaille <akim@epita.fr>
3778 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3779 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3780 Die when a simple Fortran program cannot be compiled.
3781 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3782 Issue a warning if no function is given.
3784 2002-10-27 Akim Demaille <akim@epita.fr>
3786 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3787 Move the documentation of AC_TRY_RUN to...
3788 (Obsolete Macros): here.
3789 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3790 (autoconf Invocation): Remove the duplicates with `invoking
3792 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3793 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3795 2002-10-27 Akim Demaille <akim@epita.fr>
3797 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3798 and AC_LANG_FUNC_LINK_TRY.
3799 (Examining Libraries): Rename as...
3800 (Running the Linker): this.
3801 Document AC_LINK_IFELSE.
3802 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3803 (Obsolete Macros): here.
3804 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3805 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3806 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3807 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3809 2002-10-27 Akim Demaille <akim@epita.fr>
3811 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3813 More `check config.log' messages.
3815 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3816 * doc/autoconf.texi (Printing Messages): Document it.
3817 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3819 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3820 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3821 (_AC_COMPILER_OBJEXT): Likewise.
3822 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3823 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3825 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3828 Deprecate macros with unusual interfaces.
3830 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3831 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3833 Document the new ones, and proper style.
3835 * doc/autoconf.texi (Generating Sources): New.
3836 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3837 (Examining Declarations): Rename as...
3838 (Running the Preprocessor): this.
3839 Document AC_PREPROC_IFELSE.
3840 (Examining Syntax): Rename as...
3841 (Running the Compiler): this.
3842 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3843 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3844 AC_TRY_COMPILE here.
3846 2002-10-27 Akim Demaille <akim@epita.fr>
3848 Move sections around.
3850 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3852 Reported by Burno Haible.
3853 (Language Choice): Now the first section of...
3854 (Writing Tests): this section.
3855 Make the introduction less C-centric.
3856 (Guidelines, Test Functions): Move to...
3857 (Writing Test Programs): this new section.
3858 (Test Programs): Merge into...
3861 2002-10-27 Akim Demaille <akim@epita.fr>
3863 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3864 autom4te.in that resulted in the need for two `make' runs.
3866 2002-10-27 Akim Demaille <akim@epita.fr>
3868 * configure.ac: Bump to 2.54b.
3870 2002-10-25 Akim Demaille <akim@epita.fr>
3874 * Makefile.maint: Update from the Coreutils.
3875 (AMTAR): Remove, obsolete.
3876 (automake_repo): Update to redhat.com.
3878 Adjust to the fact that ansi2knr is now hosted by Automake.
3879 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3880 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3881 Update from masters.
3882 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3883 autoscan.pre is not to be installed, and autoscan.list is not to
3885 (CLEANFILES): Add autoscan.list.
3886 (autoscan.list): Disable the cache.
3887 * bin/Makefile.am: Include freeze.mk.
3889 2002-10-25 Akim Demaille <akim@epita.fr>
3891 * bin/autom4te.in (&load_configuration): Take the file as
3893 (&parse_args): Handle -C, --cache.
3895 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3896 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3897 * doc/autoconf.texi (Invoking autom4te): Document --cache.
3898 Now a subsection of...
3899 (Using autom4te): This new section.
3900 (Customizing autom4te): New.
3901 (autom4te.cache): Adjust.
3903 2002-10-25 Akim Demaille <akim@epita.fr>
3905 * doc/autoconf.texi (Generic Headers): More information on how to
3906 use AC_CHECK_HEADERS.
3908 2002-10-25 Akim Demaille <akim@epita.fr>
3910 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3913 2002-10-25 Akim Demaille <akim@epita.fr>
3915 * bin/autoscan.in (output): Output AC_PREREQ.
3916 (%needed_macros): Add AC_PREREQ so that configure.ac without one
3919 2002-10-23 Akim Demaille <akim@epita.fr>
3921 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3924 2002-10-23 Akim Demaille <akim@epita.fr>
3926 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3927 Reported by Peter Eisentraut.
3929 2002-10-23 Akim Demaille <akim@epita.fr>
3931 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3934 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3935 Eggert's recommandations.
3937 2002-10-22 Akim Demaille <akim@epita.fr>
3939 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3940 Bison, by Paul Eggert.
3941 * doc/autoconf.texi (Particular Headers): Document it.
3943 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
3945 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3946 `$ac_configure_args'.
3948 2002-10-22 Akim Demaille <akim@epita.fr>
3950 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3951 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3954 2002-10-22 Akim Demaille <akim@epita.fr>
3956 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
3958 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3959 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3960 (_AC_CHECK_HEADER_NEW): Rename as...
3961 (AC_CHECK_HEADER): this.
3963 2002-10-22 Akim Demaille <akim@epita.fr>
3965 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3966 words about HP-UX cmp: it was actually a user-written cmp.
3968 2002-10-22 Akim Demaille <akim@epita.fr>
3970 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3972 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3973 Quote for Perl '' strings, not "".
3974 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3977 2002-10-22 Akim Demaille <akim@epita.fr>
3979 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3980 characters is a syntax warning now.
3981 (_AS_QUOTE): Accept $2 as list of characters to quote.
3982 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3983 Quote for Perl, not sh.
3984 * bin/autoheader.in: When $debug, report the file which is
3986 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3987 `@', to tickle Perl's lists.
3988 Reported by Carlos Velasco.
3990 2002-10-18 Akim Demaille <akim@epita.fr>
3992 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3993 missing included files _are_ errors.
3994 Thanks to Alexandre Duret-Lutz.
3995 * tests/tools.at (autom4te cache): Adjust.
3996 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3997 (AT_CHECK_M4SUGAR): Use it.
3998 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4000 * tests/tools.at (autom4te): Now it does exit 1.
4002 2002-10-17 Akim Demaille <akim@epita.fr>
4004 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4005 Fixes the `AC_ARG_VAR' test failures.
4006 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4007 * lib/freeze.mk (check-forbidden-patterns): New.
4008 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4009 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4010 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4012 Reported months ago by H. Merijn Brand.
4014 2002-10-17 Akim Demaille <akim@epita.fr>
4016 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4018 2002-10-16 Paul Eggert <eggert@twinsun.com>
4020 * Makefile.maint (wget_files): Remove ansi2knr.c.
4021 (ansi2knr.c-url_prefix): Remove.
4023 2002-10-16 Akim Demaille <akim@epita.fr>
4025 Because of caching, some files that no longer exist and are no
4026 longer required can still cause errors.
4027 Reported by Alexandre Duret-Lutz.
4029 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4030 to frozen files in @ARGV, as @ARGV must remain being a list of
4031 files. Rather, at M4 call sites, use this...
4032 (&files_to_options): New function.
4033 (&freeze): Use &error.
4034 (&up_to_date): If a file that was included according to the cache
4035 is no longer there, then the output is out dated.
4036 (&main): Don't even check whether a file is up to date is anyway
4038 * tests/tools.at (autom4te cache): New.
4040 2002-10-16 Akim Demaille <akim@epita.fr>
4042 * bin/autoconf.as: Kill dead options.
4043 * bin/autoupdate.in (&parse_args): Kill old options.
4044 * bin/autoreconf.in (&parse_args): Remove dead options.
4046 (&autoreconf): Report the directories we enter *and leave*, so
4047 that error messages can be easily located, and use GNU Make
4048 format, so that Emacs' compile mode understands us.
4049 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4050 if some file was changed instead of `print'.
4051 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4052 (&parse_args): Remove the dead options.
4053 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4054 autoheader's quiet mode.
4055 (AT_CHECK_AUTOUPDATE): Likewise.
4056 * tests/tools.at (autoupdate): Adjust.
4057 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4059 2002-10-11 Akim Demaille <akim@epita.fr>
4061 No longer use CPP to check for the existing of headers: use CC to
4062 check for compilability.
4064 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4065 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4066 (_AC_CHECK_HEADER_NEW): Rename as...
4067 (AC_CHECK_HEADER): this.
4069 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4070 numbers in the Subject suggestion.
4072 2002-10-11 Akim Demaille <akim@epita.fr>
4074 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4075 Suggest using AC_CHECK_DECLS instead.
4077 2002-10-11 Akim Demaille <akim@epita.fr>
4079 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4082 2002-10-11 Akim Demaille <akim@epita.fr>
4084 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4085 file name to enable parallel executions.
4086 From Sam Varshavchik.
4088 2002-10-08 Akim Demaille <akim@epita.fr>
4090 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4091 aclocal invocation, as Gettext macros might not be visible to
4093 Instead of blindly running autopoint, scan configure.ac (not the
4094 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4095 Reported by Paul D. Smith.
4097 2002-10-08 Paul Eggert <eggert@twinsun.com>
4099 Work around problems found when POSIXLY_CORRECT=1 is set.
4100 None of this seems to have anything to do with POSIX, really,
4101 but it's how Perl getopt works.
4102 * bin/autom4te.in (parse_args): Configure GetOpt with
4104 * doc/autoconf.texi (Invoking autom4te):
4105 --warning -> --warnings.
4106 * lib/autom4te.in: --warning -> --warnings.
4108 2002-09-28 Akim Demaille <akim@epita.fr>
4110 * doc/autoconf.texi (autom4te.cache): New section.
4112 2002-09-28 Akim Demaille <akim@epita.fr>
4114 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4115 (Automake-preselections): Update.
4116 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4118 2002-09-28 Akim Demaille <akim@epita.fr>
4120 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4121 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4122 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4123 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4125 2002-09-28 Akim Demaille <akim@epita.fr>
4127 * tests/torture.at (Configuring subdirectories): Be robust to
4128 users who use config.site to require for a cache: in this case,
4129 the two last configure runs, using two different sets of
4130 arguments, trigger a legitimate error.
4132 2002-09-28 Akim Demaille <akim@epita.fr>
4134 * tests/m4sh.at (Functions Support, Functions and return Support):
4137 2002-09-28 Akim Demaille <akim@epita.fr>
4139 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4140 autoheader are Perl programs.
4141 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4142 (autom4te): Specify that the sources are in the $srcdir.
4143 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4145 2002-09-28 Akim Demaille <akim@epita.fr>
4147 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4148 (tm_zone): Move their rules to...
4149 * lib/autoconf/types.m4: here, using AN_ macros.
4150 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4151 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4152 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4153 * lib/autoconf/programs.m4: here.
4154 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4155 (ETAGS_FOR_AUTOCONF): New.
4158 2002-09-28 Akim Demaille <akim@epita.fr>
4160 * lib/autoconf/autoscan.m4: New file.
4161 * lib/autoconf/autoconf.m4: Include it.
4162 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4163 that were listed in the original autoscan.list.
4164 * lib/autoconf/headers.m4: Similarly with headers.
4165 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4166 (.m4.m4f): Don't pass --prepend-include, since that's done by
4167 tests/autom4te itself.
4168 * lib/autoscan/Makefile.am: Include freeze.mk.
4169 (autoscan.list): New target --this file is no longer a source.
4170 (autoscan.pre): New file.
4172 2002-09-28 Akim Demaille <akim@epita.fr>
4174 * bin/autoscan.in (@kinds): Make them singular.
4176 (&init_tables): When --debug, report the list of rules to ease
4177 tracking changes in autoscan.list.
4178 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4180 2002-09-28 Akim Demaille <akim@epita.fr>
4182 * lib/autoscan/functions, lib/autoscan/headers,
4183 * lib/autoscan/identifiers, lib/autoscan/makevars,
4184 * lib/autoscan/programs: Merge into...
4185 * lib/autoscan/autoscan.list: this.
4186 * bin/autoscan.in (&init_tables): Adjust.
4188 2002-09-28 Akim Demaille <akim@epita.fr>
4190 * lib/autoscan/functions, lib/autoscan/headers,
4191 * lib/autoscan/identifiers, lib/autoscan/makevars,
4192 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4193 `functions' line is now prefixed with `function:'.
4194 * bin/autoscan.in (&init_tables): Adjust.
4196 2002-09-28 Akim Demaille <akim@epita.fr>
4198 From now on, autoscan files must always map a macro name to a
4199 word: there is no `default' macro for autoscan.
4201 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4203 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4206 2002-09-28 Akim Demaille <akim@epita.fr>
4208 * bin/autoscan.in (%c_keywords): Remove.
4209 (&used): Keep only track of the words we might be interested in.
4210 (&output_kind): It is no longer needed to look for non active
4213 2002-09-27 Akim Demaille <akim@epita.fr>
4215 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4216 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4217 * lib/autoscan/functions: Adjust.
4218 * doc/autoconf.texi (Particular Functions): Adjust.
4220 2002-09-27 Akim Demaille <akim@epita.fr>
4222 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4224 Thanks to Bill Moseley and Paul Eggert.
4225 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4226 the tmpdir must be created.
4227 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4228 dir be in the build tree, instead of $TMPDIR.
4230 2002-09-27 Akim Demaille <akim@epita.fr>
4232 * bin/autoscan.in: Improve the comments.
4233 (&parse_args): Drop obsolete undocumented options.
4234 (&output_kind): Output warnings.
4235 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4236 (getwd): Trigger a warning.
4238 2002-09-26 Akim Demaille <akim@epita.fr>
4240 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4241 Reported by Ralf Corsepius.
4242 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4244 2002-09-26 Akim Demaille <akim@epita.fr>
4246 Single suffix rules and seperated dependencies are not portable.
4248 * doc/autoconf.texi (Installation Directory Variables): Update.
4249 (Limitations of Make): Some about `Single Suffix Rules and
4250 Separated Dependencies'.
4251 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4252 (ifnames, autoscan, autom4te): Un-factor into several rules.
4254 2002-09-25 Paul Eggert <eggert@twinsun.com>
4256 * BUGS (Interoperability bugs): New section. Mention libtool
4257 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4259 2002-09-24 Paul Eggert <eggert@twinsun.com>
4261 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4262 make handles suffix-rules differently from GNU make.
4264 * bin/Makefile.am (SUFFIXES, .in): Remove.
4265 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4266 Move the body of the old .in rule here.
4268 2002-09-16 Akim Demaille <akim@epita.fr>
4270 i960 compilers create `b.out' files by default.
4271 Reported by Ralf Corsepius.
4273 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4274 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4276 2002-09-13 Paul Eggert <eggert@twinsun.com>
4278 * doc/autoconf.texi (Particular Headers): Remove obsolete
4279 reference to `struct timezone' in the description of
4282 2002-09-13 Akim Demaille <akim@epita.fr>
4286 * config/config.sub, config/config.guess: Update.
4287 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4288 * Makefile.am: Adjust.
4290 2002-09-13 Akim Demaille <akim@epita.fr>
4292 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4293 reading config.log when the compiler is rejected.
4294 Suggested by Guido Draheim.
4296 2002-09-13 Akim Demaille <akim@epita.fr>
4298 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4299 (chdir_init) might hang when stat'ing mounted directories.
4300 Reported by Vance Shipley.
4302 2002-09-12 Akim Demaille <akim@epita.fr>
4304 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4307 2002-09-12 Akim Demaille <akim@epita.fr>
4309 * doc/autoconf.texi (Defining Symbols): Present two different
4310 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4311 difference between 1 argument calls, and 2-3 argument calls.
4313 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4315 * doc/autoconf.texi: Review grammar and punctuation.
4317 2002-09-11 Paul Eggert <eggert@twinsun.com>
4319 * doc/autoconf.texi: Fix minor formatting, spelling, and
4321 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4322 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4325 2002-09-11 Akim Demaille <akim@epita.fr>
4327 * doc/autoconf.texi (Questions): Rename as...
4329 (Defining Directories): New.
4331 2002-09-09 Akim Demaille <akim@epita.fr>
4333 * doc/autoconf.texi (Making testsuite Scripts): Update.
4334 Suggested by Nishio Futoshi.
4336 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4338 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4339 plain `@' is wanted.
4341 2002-09-09 Akim Demaille <akim@epita.fr>
4343 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4344 `duplicates', since the algorithm was too naive and could keep
4345 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4346 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4347 Reported by Ralf Corsepius.
4348 * tests/torture.at (Configuring subdirectories): Exercise these
4351 2002-09-09 Akim Demaille <akim@epita.fr>
4353 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4354 looking for a replacement file.
4355 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4356 directory is relative.
4357 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4358 directory definition.
4359 Reported by Andreas Schwab and Jim Meyering.
4361 2002-09-06 Akim Demaille <akim@epita.fr>
4363 * doc/autoconf.texi (Setting Output Variables): Clarify what
4364 precious variables are.
4365 Suggested by Pontus Skoeld.
4367 2002-09-05 Akim Demaille <akim@epita.fr>
4369 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4370 (ifnames, autoscan, autom4te): Since we don't only depend on
4371 configure.ac variables (such as VERSION etc.), but also on prefix
4372 and so forth, depend on Makefile, not configure.ac.
4373 Reported by Alexandre Duret-Lutz.
4374 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4376 2002-09-05 Kevin Ryde <user42@zip.com.au>
4378 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4379 doesn't seem to be confined to ia64, just say "some versions".
4381 2002-09-04 Akim Demaille <akim@epita.fr>
4383 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4385 * Makefile.am (maintainer-clean-local): Remove.
4386 (MAINTAINERCLEANFILES): Remove COPYING.
4388 2002-09-03 Paul Eggert <eggert@twinsun.com>
4390 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4391 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4394 2002-09-03 Akim Demaille <akim@epita.fr>
4396 * configure.ac: Bump to 2.53d.
4397 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4398 as of today, on Automake's team suggestion.
4400 2002-09-03 Akim Demaille <akim@epita.fr>
4404 2002-09-02 Akim Demaille <akim@epita.fr>
4406 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4408 * configure.ac: Disable SITE_MACRO_DIR.
4410 2002-09-02 Jim Meyering <meyering@lucent.com>
4412 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4413 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4414 Also, tweak grammar: s/make sure to/be sure to/.
4416 2002-09-02 Paul Eggert <eggert@twinsun.com>
4418 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4419 directory names are generally preferable to physical names.
4421 2002-09-02 Akim Demaille <akim@epita.fr>
4423 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4424 Reported by Raja R. Harinath.
4425 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4426 * bin/autoupdate.in: Use error instead of die.
4428 2002-09-01 Paul Eggert <eggert@twinsun.com>
4430 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4431 ordinary shell concatenation rather than echo+tr+sed command that
4432 runs afoul of a long-line-related sed bug in Solaris 8.
4434 * bin/autoheader.in (parse_args): --warning -> --warnings.
4436 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4437 stdout, as traditional "ls" does.
4438 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4439 _AC_COMPILER_EXEEXT_O): Likewise.
4440 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4442 * bin/autoconf.as: Add --prepend-include option. This patch was
4443 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4444 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4446 * bin/autoconf.in, configure: Regenerate.
4448 * doc/autoconf.texi (Special Shell Variables): Mention
4449 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4451 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4452 MAILPATH and set PS1, PS2, PS4 to default values, to work
4453 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4454 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4455 the Autoconf documentation specifies; fall back to "unset" only if
4456 this fails. Use a shell for-loop for this rather than an m4 loop,
4457 to shorten the output script.
4459 2002-08-30 Paul Eggert <eggert@twinsun.com>
4461 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4462 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4463 for the CDPATH problem. Document PWD.
4464 (Limitations of Builtins): Document the problem that "cd $foo" and
4465 "ls $foo" may refer to different directories in shells conforming
4466 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4467 example, since the old example is now out of date.
4469 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4470 FOO" and "ls FOO" talk about different directories; this catches
4471 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4474 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4475 of rolling our own unset.
4476 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4477 in practice we needn't worry about CDPATH if unset doesn't work.
4479 * Makefile.in, aclocal.m4, bin/Makefile.in,
4480 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4481 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4482 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4483 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4484 tests/Makefile.in: Regenerate with Automake 1.6.3.
4486 * config/config.guess, config/config.sub, config/mkinstalldirs:
4489 * configure: Regenerate with self.
4491 2002-08-30 Kevin Ryde <user42@zip.com.au>
4493 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4496 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4498 * bin/autom4te.in (Request::load): Correctly test for "do" read
4501 2002-08-29 Akim Demaille <akim@epita.fr>
4503 * lib/Autom4te/General.pm (&xqx): New.
4504 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4505 hand, which is not portable.
4507 * bin/autom4te.in: Use them.
4508 Use &error instead of die.
4509 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4512 2002-08-17 Paul Eggert <eggert@twinsun.com>
4514 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4515 default list of compilers to try, since it was long ago superseded
4516 by the ksh fc builtin. Suggested by Steven G. Johnson.
4518 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4520 * doc/autoconf.texi (Invoking autom4te): End the option table,
4521 fixing a bug introduced by the previous patch.
4522 (Limitations of Make): Add a 'target lookup' subentry in the
4523 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4525 2002-07-29 Mark D. Roth <roth@feep.net>
4527 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4528 options and use $AUTOM4TE_PATH.
4529 * doc/autoconf.texi: Remove documentation of autom4te
4530 --include-envvar and --site-macro-subdir options and document
4531 use of $AUTOM4TE_PATH.
4532 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4533 arguments from each language section.
4535 2002-07-29 Paul Eggert <eggert@twinsun.com>
4537 * doc/install.texi: Include copyright symbol in copyright notice.
4539 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4541 (AM_MAKEINFOFLAGS): New macro.
4542 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4543 * Makefile.am (INSTALL): Use the new macros.
4544 Use -o rather than --output, since "missing" does not grok --output.
4546 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4548 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4549 comments do not always work. Never trust the exit status of
4552 2002-07-24 Kevin Ryde <user42@zip.com.au>
4554 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4555 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4557 2002-07-23 Paul Eggert <eggert@twinsun.com>
4559 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4560 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4561 apparently treats PATH="nonexistent" as if it contained ".".
4562 Bug reported by Stefan `Sec' Zehl.
4564 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4566 * doc/autoconf.texi (Limitations of Make): Mention the special
4567 handling of the obj/ directory by BSD make.
4569 2002-07-20 Kevin Ryde <user42@zip.com.au>
4571 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4574 2002-07-19 Akim Demaille <akim@epita.fr>
4576 * doc/autoconf.texi (Function Portability): `exit'.
4577 (Programming in M4sh): Ethymology of M4sh.
4579 2002-07-19 Akim Demaille <akim@epita.fr>
4581 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4583 2002-07-18 Akim Demaille <akim@epita.fr>
4587 2002-07-18 Akim Demaille <akim@epita.fr>
4589 * config/config.guess, config/config.sub: Update.
4591 2002-07-18 Akim Demaille <akim@epita.fr>
4593 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4596 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4597 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4598 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4600 2002-07-18 Akim Demaille <akim@epita.fr>,
4601 Alexandre Duret-Lutz <duret_g@epita.fr>
4603 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4604 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4606 2002-07-17 Russ Allbery <rra@stanford.edu>
4608 * doc/autoconf.texi (Initializing configure): Clarify the
4609 description of the tarname default.
4611 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4613 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4614 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4617 2002-07-17 Akim Demaille <akim@epita.fr>
4619 * lib/Autom4te/General.pm (find_file): Browse the directories in
4620 the order they are given.
4622 2002-07-17 Akim Demaille <akim@epita.fr>
4624 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4625 * tests/wrapper.as: this.
4626 * tests/Makefile.am, configure.ac: Adjust.
4628 2002-07-17 Mark D. Roth <roth@feep.net>
4630 * configure.ac: Add --enable-site-macro-dir option.
4631 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4632 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4633 --site-macro-subdir options.
4634 * bin/autoconf.in: Add --prepend-include option.
4635 * bin/autoheader.in: Add --prepend-include option.
4636 * bin/autoreconf.in: Add --prepend-include option.
4637 * bin/autoscan.in: Add --prepend-include option.
4638 * bin/autoupdate.in: Add --prepend-include option.
4639 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4640 macro directory, remove note that include path directories are
4641 used in reverse order, and document --prepend-include option.
4642 * lib/autom4te.in: Use --prepend-include instead of --include.
4643 * tests/wrapsh.in: Use --prepend-include instead of --include.
4645 2002-07-17 Akim Demaille <akim@epita.fr>
4647 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4649 * doc/autoconf.texi (Initializing configure): Adjust.
4651 2002-07-17 Akim Demaille <akim@epita.fr>
4653 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4654 (_AC_FUNC_MALLOC): New.
4655 (AC_FUNC_MALLOC): Use the latter.
4656 Define HAVE_MALLOC to 0 if broken.
4657 * doc/autoconf.texi (Particular Functions): Adjust.
4659 2002-07-16 Akim Demaille <akim@epita.fr>
4661 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4662 * doc/autoconf.texi (C Compiler): Adjust.
4664 2002-07-09 Akim Demaille <akim@epita.fr>
4666 * doc/autoconf.texi: Properly set the ``header'' part.
4668 2002-07-09 Akim Demaille <akim@epita.fr>
4670 * doc/autoconf.texi (Systemology): Some about Darwin.
4672 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4674 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4675 Don't use AC_REQUIRE in AU_DEFUN.
4677 2002-07-09 Art Haas <ahaas@neosoft.com>
4679 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4681 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4683 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4684 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4685 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4686 so that Emacs setups GNU style for perl-mode and cperl-mode.
4688 2002-06-27 Paul Eggert <eggert@twinsun.com>
4690 * config/install-sh: Quote $src. Prefer || to test's -o option,
4691 as per "Limitations of Builtins".
4692 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4693 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4695 * tests/mktests.sh: Use grep instead of fgrep, as per
4696 "Limitations of Builtins".
4698 2002-06-15 Paul Eggert <eggert@twinsun.com>
4700 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4701 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4702 so that we consistently test the just-built programs.
4703 * tests/wrappl.as: Likewise.
4705 2002-06-12 Paul Eggert <eggert@twinsun.com>
4707 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4708 name, so that symlinks to 'autoconf' work properly. Bug reported
4710 * bin/autoheader.in (AUTOM4TE): Likewise.
4711 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4712 * bin/autoscan.in (autom4te): Likewise.
4713 * bin/autoupdate.in (autom4te): Likewise.
4715 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4716 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4719 2002-06-11 Andreas Schwab <schwab@suse.de>
4721 * doc/autoconf.texi: Add more dir entries.
4723 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4725 * bin/autom4te.in ($cache): Don't define using `$me', the name
4726 of the cache should not depend on the name under which autom4te
4729 2002-06-07 Akim Demaille <akim@epita.fr>
4731 * tests/tools.at (autoconf: forbidden tokens, basic)
4732 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4733 words in autom4te.in.
4735 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4737 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4738 _AC_LANG_PROGRAM_C_F77_HOOKS.
4740 2002-06-07 Akim Demaille <akim@epita.fr>
4742 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4744 (AC_REPLACE_FNMATCH): this.
4745 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4746 AC_FUNC_FNMATCH_GNU.
4748 2002-06-07 Akim Demaille <akim@epita.fr>
4750 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4751 Rosetta Stone for Unix.
4753 2002-06-07 Akim Demaille <akim@epita.fr>
4755 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4756 suggest m4_pattern_allow.
4757 Suggested by Adam J. Richter.
4759 2002-06-07 Akim Demaille <akim@epita.fr>
4761 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4762 ac_config_libobj_dir.
4763 (AC_CONFIG_LIBOBJ_DIR): New.
4764 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4765 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4766 Use ac_config_libobj_dir to find the replacement files.
4767 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4768 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4769 (AC_REPLACE_FNMATCH_GNU): these.
4770 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4771 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4772 * tests/mktests.sh (ac_exclude_list): Don't check
4773 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4775 2002-06-06 Paul Eggert <eggert@twinsun.com>
4777 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4780 * doc/autoconf.texi (Configuration Links): Likewise.
4781 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4783 2002-06-05 Paul Eggert <eggert@twinsun.com>
4785 * config/config.guess, config/config.sub, config/texinfo.tex:
4786 Update from masters.
4788 2002-05-29 Paul Eggert <eggert@twinsun.com>
4790 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4791 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4792 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4794 * lib/autoconf/Makefile.am (check-local): Likewise.
4795 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4796 * lib/autoconf/types.m4 (commentary only): Likewise.
4797 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4798 * lib/autotest/Makefile.am (check-local): Likewise.
4799 * lib/m4sugar/Makefile.am (check-local): Likewise.
4800 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4801 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4803 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4804 * doc/autoconf.texi (Particular Programs): Document them.
4805 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4808 2002-05-27 Paul Eggert <eggert@twinsun.com>
4810 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4811 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4812 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4813 instead of AC_MBSTATE_T, which never existed.
4815 2002-05-23 Akim Demaille <akim@epita.fr>
4817 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4818 version of Autoconf that is discussed.
4820 2002-05-22 Paul Eggert <eggert@twinsun.com>
4822 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4823 from the default list of compilers to try. Suggested by
4825 * NEWS: Document the above.
4826 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4828 2002-05-17 Paul Eggert <eggert@twinsun.com>
4830 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4831 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4832 This improves on an earlier suggestion by H. Peter Anvin.
4834 2002-05-16 Paul Eggert <eggert@twinsun.com>
4836 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4837 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4838 Both macros now accept an optional source-dir arg.
4839 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4841 * NEWS: Document this.
4842 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4844 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4845 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4846 not for GNU extensions; this undoes part of the 2000-11-03 change,
4847 reverting to 2.13-compatible behavior.
4848 Add new optional argument DIR.
4849 (AC_FUNC_FNMATCH_GNU): New macro.
4851 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4853 2002-05-08 Paul Eggert <eggert@twinsun.com>
4855 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4856 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4857 and it causes a 'test' syntax error if it fails.
4858 Bug reported by Stephen Gildea.
4860 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4861 If prototypes are supported, use them to check this at compile-time,
4862 instead of trying to check it at run-time. If we must do a run-time
4863 check, assume that setvbuf is standard when cross-compiling, as
4864 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4865 Bug reported by Paul D. Smith.
4867 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4868 argument specifying location of getloadavg.c. This removes a
4869 FIXME. This idea was taken from Jim Meyering's implementation in
4871 * doc/autoconf.texi (Particular Functions): Document this.
4872 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4873 that's what the code does; this fixes a bug reported by
4876 2002-05-03 Akim Demaille <akim@epita.fr>
4878 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4879 autopoint instead of gettextize.
4880 ($uses_alocal): Rename as...
4881 ($uses_aclocal): this.
4882 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4883 Suggested by Bruno Haible.
4885 2002-05-03 Akim Demaille <akim@epita.fr>
4887 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4889 2002-04-29 Paul Eggert <eggert@twinsun.com>
4891 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4892 files to be 1 second older; just set them to be the same time.
4893 Also, sleep 1 second after the first aclocal, to work around
4894 problems with sub-second time stamps on the input files.
4896 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
4898 * doc/autoconf.texi: Mention "set -e -x" lossage
4899 under node "Limitations of Builtins".
4901 2002-04-29 Akim Demaille <akim@epita.fr>
4903 * doc/install.texi: Better wording for setting variables when
4905 From Christian Cornelssen.
4907 2002-04-29 Akim Demaille <akim@epita.fr>
4909 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4910 of lack of $LINENO support, then the test will compare the $LINENO
4911 in testsuite vs. the lineno in the test file. This is wrong, of
4913 Be sure to protect it.
4914 Reported by Patrick Welche.
4916 2002-04-25 Akim Demaille <akim@epita.fr>
4918 * doc/autoconf.texi (Obsolete Macros): Typo.
4919 Reported by Vladimir Volovich.
4921 2002-04-25 Akim Demaille <akim@epita.fr>
4923 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4924 than some of the input files, hence, on the second run of aclocal,
4925 if some of its input are younger, make them older.
4926 Suggested by Paul Eggert.
4928 2002-04-25 Akim Demaille <akim@epita.fr>
4930 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4931 Thanks to Paul Eggert.
4933 2002-04-25 Akim Demaille <akim@epita.fr>
4935 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4936 and ac_subst_vars be sh variables containing the list of
4937 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
4939 (_AC_INIT_PREPARE): Use them to log them.
4940 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4941 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4942 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4943 _AC_SUBST_FILES and _AC_SUBST_VARS.
4944 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4946 2002-04-24 Akim Demaille <akim@epita.fr>
4948 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4949 autoheader, so that automake does not complain about a missing
4950 config.h.in that was to be created.
4952 2002-04-23 Akim Demaille <akim@epita.fr>
4954 * bin/autoheader.in (parse_args): --warning takes an argument.
4957 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
4959 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4960 and bb.out when cleaning up.
4962 2002-04-22 Akim Demaille <akim@epita.fr>
4966 2002-04-22 Akim Demaille <akim@epita.fr>
4968 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4970 2002-04-22 Akim Demaille <akim@epita.fr>
4972 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4974 Reported by Gregory Giannoni.
4976 2002-04-22 Akim Demaille <akim@epita.fr>
4978 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4979 Fixes false failures on Darwin.
4981 2002-04-21 Paul Eggert <eggert@twinsun.com>
4983 * TODO, bin/autoupdate.in, doc/autoconf.texi,
4984 lib/autoconf/general.m4, lib/autoconf/libs.m4,
4985 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4986 tests/tools.at: Minor spelling and grammar fixes.
4988 2002-04-20 Paul Eggert <eggert@twinsun.com>
4990 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4991 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
4992 * lib/autotest/general.m4 (AT_INIT): Likewise.
4993 * tests/atgeneral.m4 (AT_INIT): Likewise.
4995 2002-04-19 Paul Eggert <eggert@twinsun.com>
4997 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4998 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4999 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5000 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5001 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5002 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5003 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5004 Minor spelling and grammar fixes.
5006 * doc/autoconf.texi: Follow the outline suggested in the GNU
5007 Sample Texts sections of the Texinfo 4.2 manual. Most
5008 importantly, this makes sure that the copyright notices appear in
5009 all output formats. You probably need Texinfo 4.2 to generate
5012 Fix some bugs when using "$@" when there might be zero positional
5013 arguments in cases where this matters.
5015 * bin/autoconf.as: Rewrite so that the problem does not come up.
5016 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5017 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5018 * lib/autotest/general.m4 (AT_INIT): Likewise.
5020 * bin/autoheader.in: Use 'case' statement to work around problem.
5021 * bin/auto4mte.in: Likewise.
5022 * bin/autoreconf.in: Likewise.
5023 * bin/autoscan.in: Likewise.
5024 * bin/autoupdate.in: Likewise.
5025 * bin/ifnames.in: Likewise.
5027 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5029 * lib/autotest/general.m4 (AT_INIT):
5030 Use Zsh alias to work around problem.
5031 * tests/atgeneral.m4 (AT_INIT): Likewise.
5033 * tests/c.at: We can't have zero arguments, so remove workaround
5034 that is not portable to Zsh.
5036 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5038 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5039 from aclocal.m4 too.
5041 2002-04-12 Akim Demaille <akim@epita.fr>
5043 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5045 2002-04-10 Akim Demaille <akim@epita.fr>
5047 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5048 workaround for ${1+"$@"}.
5049 * doc/autoconf.texi (Shell Substitutions): Explain it.
5050 From Oliver Kiddle and Peter Stephenson.
5052 Have M4sh perform minimal shell sanitizing.
5054 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5056 (_AS_PREPARE): this new macro.
5058 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5059 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5061 Adjust Autoconf and Autotest.
5063 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5064 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5065 * lib/autotest/general.m4 (AT_INIT): Likewise.
5066 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5067 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5070 Use this M4sh to generate Autoconf's shell scripts.
5072 * tests/wrapsh.as: New, precursor of wrapsh.in.
5073 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5074 on Autotest and M4sh.
5075 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5076 (wrapsh.in): New target.
5077 * bin/autoconf.as: New, precursor of autoconf.in.
5078 (autoconf.in): New target.
5080 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5082 * doc/autoconf.texi (Limitations of Make): Mention the issue
5083 with indented comments in rules.
5085 2002-04-09 Andreas Schwab <schwab@suse.de>
5087 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5088 ac_top_builddir when setting ac_abs_top_builddir.
5090 2002-04-06 Kevin Ryde <user42@zip.com.au>
5092 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5093 (Portable Shell): Cross reference to Systemology.
5095 2002-04-05 Akim Demaille <akim@epita.fr>
5097 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5098 directories when descending in a SUBDIRS.
5099 Reported by Ezra Peisach.
5101 2002-04-04 Andreas Schwab <schwab@suse.de>
5103 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5104 contains no literal separators.
5106 2002-04-03 Akim Demaille <akim@epita.fr>
5108 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5109 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5110 Use dnl, not the KILL diversion.
5112 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5113 (AC_CONFIG_LINKS): here.
5115 Don't use the KILL diversion, as it kills spurious output, which
5116 results in failures being hidden.
5117 Use m4_defn where appropriate.
5118 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5119 after the second argument.
5121 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5122 syntax, as it is provided by M4sugar.
5123 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5125 2002-04-03 Andreas Schwab <schwab@suse.de>
5127 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5128 expanded if $# <= 2.
5130 * bin/autoreconf.in (autoreconf): Run automake after rerunning
5133 2002-04-03 Akim Demaille <akim@epita.fr>
5135 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5136 (_AC_COMPILER_EXEEXT_REJECT): New.
5137 Also recognize *.bb and *.bbg as compilation byproducts.
5138 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5139 (_AC_COMPILER_OBJEXT): Use them.
5140 Fixes Debian #138666.
5142 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5144 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5146 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5147 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5148 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5149 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5151 (AC_C_INLINE): Same.
5152 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5153 * doc/autoconf.texi, NEWS: Document.
5154 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5157 2002-04-02 Akim Demaille <akim@epita.fr>
5159 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5160 _AS_MKDIR_P_PREPARE.
5162 2002-03-28 Kevin Ryde <user42@zip.com.au>
5164 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5165 to avoid versions of HP C which don't allow that.
5167 2002-03-27 Paul Eggert <eggert@twinsun.com>
5169 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5170 (AS_SHELL_SANITIZE): Invoke it.
5171 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5173 2002-03-26 Akim Demaille <akim@epita.fr>
5175 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5177 2002-03-26 Akim Demaille <akim@epita.fr>
5179 * doc/autoconf.texi (Introduction): The GNATS base moved.
5181 2002-03-25 Paul Eggert <eggert@twinsun.com>
5183 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5184 as POSIX requires, as it doesn't work with Zsh.
5185 * doc/autoconf.texi (Assignments): Document the problem.
5187 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5189 * doc/autoconf.texi (Limitations of Make): Mention more issue
5190 about VPATH, overriding of macros in sub-makes, and handling of
5193 2002-03-21 Paul Eggert <eggert@twinsun.com>
5195 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5196 problem with here-document buffer boundaries.
5198 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5199 when reinvoking the shell, to work around problems with installers
5200 who put strange things like "cd" commands in their environments.
5202 2002-03-19 Akim Demaille <akim@epita.fr>
5204 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5207 2002-03-19 Akim Demaille <akim@epita.fr>
5209 * bin/autoscan.in (scan_file): Specify the location in `&used'
5213 2002-03-19 Akim Demaille <akim@epita.fr>
5215 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5216 From Nishio Futoshi.
5218 2002-03-19 Akim Demaille <akim@epita.fr>
5220 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5222 2002-03-18 Paul Eggert <eggert@twinsun.com>
5224 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5225 (Limitations of Usual Tools): Add mkdir section.
5227 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5228 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5229 back on AS_DIRNAME to compute prefixes otherwise; this is
5230 roughly what mkinstalldirs does. That way, we need not have
5231 our own filename disassembler. The old disassembler did not
5232 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5234 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5235 Create at_test_all by a series of assignments,
5236 not by a single assignment of a long string. The latter causes ksh
5237 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5238 presumably because of a buffer overrun.
5240 2002-03-14 Paul Eggert <eggert@twinsun.com>
5242 * lib/autotest/general.m4 (at_times_skip):
5243 Renamed from at_times. Now a boolean.
5244 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5245 says 'times: not found'.
5247 2002-03-14 Akim Demaille <akim@epita.fr>
5249 * bin/autoreconf.in (&study_gettextize): New.
5250 (&autoreconf): Handle newest gettextize.
5251 Rerun aclocal if needed.
5252 Suggested by Andreas Schwab.
5254 2002-03-13 Akim Demaille <akim@epita.fr>
5256 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5258 2002-03-13 Akim Demaille <akim@epita.fr>
5260 * doc/autoconf.texi (Header Portability): New.
5261 Add information about stdint.h and inttypes.h from Paul Eggert.
5263 2002-03-13 Akim Demaille <akim@epita.fr>
5265 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5269 2002-03-12 Akim Demaille <akim@epita.fr>
5271 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5274 2002-03-11 Andreas Schwab <schwab@suse.de>
5276 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5277 does not do it if --with-lispdir is given.
5279 2002-03-08 Akim Demaille <akim@epita.fr>
5283 2002-03-08 Akim Demaille <akim@epita.fr>
5285 * doc/autoconf.texi (Subdirectories): Clarify that the
5286 subdirectory should exist.
5288 2002-03-08 Akim Demaille <akim@epita.fr>
5290 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5292 2002-03-08 Akim Demaille <akim@epita.fr>
5294 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5295 aliases the actual variables, and modifications of the former
5298 2002-03-08 Akim Demaille <akim@epita.fr>
5300 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5301 because of C-c: have m4 output in tmp files, then mv them.
5303 2002-03-08 Akim Demaille <akim@epita.fr>
5305 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5306 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5307 * bin/ifnames.in: Copyright update.
5309 2002-03-08 Akim Demaille <akim@epita.fr>
5311 * doc/autoconf.texi (Invoking autom4te): New.
5313 2002-03-05 Akim Demaille <akim@epita.fr>
5315 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5318 2002-03-05 Akim Demaille <akim@epita.fr>
5322 2002-03-04 Akim Demaille <akim@epita.fr>
5324 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5325 * lib/autoconf/general.m4 (AC_INIT): More informative error
5328 2002-03-04 Akim Demaille <akim@epita.fr>
5330 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5333 2002-03-04 Akim Demaille <akim@epita.fr>
5335 * doc/autoconf.texi (Transforming Names): Equality between target
5336 and host is irrelevant.
5337 (Specifying Names, Canonicalizing): Remove all references to the
5338 backward compatibility hooks. Rather, collect them all into...
5339 (Hosts and Cross-Compilation): this new section.
5340 * doc/install.texi (System Type): Ditto.
5341 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5342 that `--host' implies cross-compilation.
5344 2002-03-04 Akim Demaille <akim@epita.fr>
5346 * doc/autoconf.texi (Evaluation Macros): New.
5347 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5349 (_m4_foreach): Define the variant with immediate evaluation so
5350 that it contains exactly the items, not an expression which
5351 evaluation is the current item.
5352 (m4_re_string, m4_re_word): Don't over quote them.
5354 2002-03-04 Akim Demaille <akim@epita.fr>
5356 Instead of having stacking `shift's evaluated at the end, let
5357 `foreach' loops immediately evaluate them.
5359 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5360 $*. This is the n-th time I change my mind, but hopefully this is
5363 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5365 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5366 it was only a hack for m4_text_wrap.
5367 (m4_car2): Remove, replaced by...
5369 (_m4_foreach): Adjust.
5370 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5371 m4_bpatsubst for clarification.
5373 2002-03-04 Akim Demaille <akim@epita.fr>
5375 * doc/autoconf.texi (Changequote is Evil): New.
5377 2002-03-03 Kevin Ryde <user42@zip.com.au>
5379 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5380 on old systems like SunOS.
5382 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5384 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5385 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5386 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5387 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5390 2002-02-28 Akim Demaille <akim@epita.fr>
5392 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5395 2002-02-28 Kevin Ryde <user42@zip.com.au>
5397 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5399 2002-02-25 Akim Demaille <akim@epita.fr>
5401 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5404 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5406 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5407 translate \r\n to \n.
5409 2002-02-07 Akim Demaille <akim@epita.fr>
5413 2002-02-07 Akim Demaille <akim@epita.fr>
5415 Fix Autoconf PR/209.
5416 Also reported by Frank Denis.
5418 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5420 2002-02-07 Akim Demaille <akim@epita.fr>
5422 Fix Autoconf PR/207:
5423 AC_PREFIX_PROGRAM fails with dashed program names
5425 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5426 variable when looking for the prefix program.
5427 Now it also works for shell variables.
5429 2002-02-07 Akim Demaille <akim@epita.fr>
5431 * doc/autoconf.texi (Limitations of Builtins): More about
5434 2002-02-06 Akim Demaille <akim@epita.fr>
5436 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5437 case/esac, some shells don't support it.
5438 Reported by Zack Weinberg.
5439 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5441 2002-02-06 Akim Demaille <akim@epita.fr>
5443 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5444 sure not to introduce newlines in at_groups.
5445 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5447 2002-02-06 Akim Demaille <akim@epita.fr>
5449 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5452 2002-02-05 Paul Eggert <eggert@twinsun.com>
5454 * doc/autoconf.texi (Specific Compiler Characteristics):
5455 Describe HP-UX cc bug workaround more accurately.
5456 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5458 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5459 cross-compilers, too. This undoes some of the most recent change
5462 2002-02-05 Akim Demaille <akim@epita.fr>
5464 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5465 to make sure they are up to date when `check' is run.
5467 2002-02-05 Akim Demaille <akim@epita.fr>
5469 * doc/autoconf.texi (Making testsuite Scripts): Document
5472 2002-02-05 Akim Demaille <akim@epita.fr>
5474 * lib/freeze.mk: New.
5476 2002-02-05 Akim Demaille <akim@epita.fr>
5478 Implement `autom4te --freeze'.
5480 * bin/autom4te.in (&freeze): New.
5481 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5482 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5484 2002-02-05 Akim Demaille <akim@epita.fr>
5486 * bin/autom4te.in (&parse_args): Implement `frozen files are
5487 optional are the sum of the previous files on the command line'.
5488 Also, pass `--reload-state=' on them, so...
5490 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5491 (M4sh): Rely on M4sugar.
5492 (Autotest, M4sh, M4sugar): Use frozen files.
5494 2002-01-31 Akim Demaille <akim@epita.fr>
5496 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5497 * doc/autoconf.texi (Initializing configure): Adjust.
5499 2002-01-30 Akim Demaille <akim@epita.fr>
5501 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5502 alphanumeric to `-' instead of `_'.
5504 2002-01-30 Akim Demaille <akim@epita.fr>
5506 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5507 for plain code, the other for cross-compilation code. The latter
5508 is now run with GCC only.
5509 * doc/autoconf.texi (Compilers and Preprocessors): New.
5511 2002-01-30 Akim Demaille <akim@epita.fr>
5513 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5515 * doc/autoconf.texi (Initializing configure): Explain how to
5516 change AC_INIT default values.
5518 2002-01-29 Akim Demaille <akim@epita.fr>
5520 * tests/torture.at (Configuring subdirectories): Use configure.in,
5521 so that aclocal 1.4 works.
5522 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5524 2002-01-28 Akim Demaille <akim@epita.fr>
5526 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5529 2002-01-28 Akim Demaille <akim@epita.fr>
5531 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5532 AUTOTEST_PATH *after* it was set.
5533 Don't put `.' in the PATH: the user should be precise and `./' if
5534 needed. In addition, given that the test suite does some `cd', if
5535 `.' is in the path, the `tested programs' sections will report
5536 programs found in the test suite's directory, while during the
5537 tests (performed in their own directory), these programs are no
5538 longer visible. In other words, the results is confusing and
5540 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5542 2002-01-24 Akim Demaille <akim@epita.fr>
5546 2002-01-24 Akim Demaille <akim@epita.fr>
5548 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5549 * doc/autoconf.texi: Finally add Akim as an author.
5551 2002-01-24 Akim Demaille <akim@epita.fr>
5553 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5554 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5555 Bourne. Use /bin/sh.
5556 From Andreas Buening.
5558 2002-01-24 Akim Demaille <akim@epita.fr>
5560 * config/config.guess, config/config.sub, config/texinfo.tex:
5561 Update from masters.
5563 2002-01-24 Akim Demaille <akim@epita.fr>
5565 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5566 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5567 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5568 * config/missing.m4, config/sanity.m4, config/select.m4,
5569 * config/strip.m4: Remove, to ease sync'ing with any version of
5572 2002-01-24 Akim Demaille <akim@epita.fr>
5574 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5575 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5576 Reported by Geir Ove Myhr.
5578 2002-01-21 Akim Demaille <akim@epita.fr>
5580 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5582 2002-01-21 Akim Demaille <akim@epita.fr>
5584 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5585 message on invalid options.
5586 * bin/autom4te.in (parse_args): Don't use
5587 Autoconf::General::getopt with non valid options.
5589 2002-01-17 Jim Meyering <meyering@lucent.com>
5591 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5592 $ac_cv_exeext so we don't use an old, invalid, cached value.
5594 2002-01-11 Akim Demaille <akim@epita.fr>
5596 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5598 * doc/autoconf.texi (Function Portability): Document the strnlen
5600 (Particular Functions): Document AC_FUNC_STRNLEN.
5601 * lib/autoscan/functions: Adjust.
5603 2002-01-06 Akim Demaille <akim@epita.fr>
5605 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5606 package.m4, since is really depends upon configure.ac, not
5608 * doc/autoconf.texi (testsuite Scripts): Adjust.
5609 * tests/Makefile.am (package.m4): New.
5610 EXTRA_DIST it since its a source.
5612 2002-01-06 Akim Demaille <akim@epita.fr>
5614 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5615 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5616 and PACKAGE_BUGREPORT from here...
5617 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5619 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5620 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5621 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5622 * tests/tools.at (autoheader): Adjust.
5623 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5625 2002-01-06 Akim Demaille <akim@epita.fr>
5627 * bin/autoscan.in (scan_file): Use `&used'.
5629 2002-01-03 Akim Demaille <akim@epita.fr>
5631 * doc/autoconf.texi (Output): Improved wording regarding use of
5635 2001-12-18 Kevin Ryde <user42@zip.com.au>
5637 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5638 sometimes needing writable input.
5640 2001-12-17 Jim Meyering <meyering@lucent.com>
5642 * doc/autoconf.texi (New Macros): Tweak wording.
5644 2001-12-14 Akim Demaille <akim@epita.fr>
5646 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5647 trailing files, don't apply `-rf' to files which might not be
5648 created by configure (core, core.*, and *.core), but just `rm -f'.
5649 Suggested by Jonathan Kamens.
5651 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5653 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5655 2001-12-14 Akim Demaille <akim@epita.fr>
5657 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5659 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5661 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5662 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5663 abs_srcdir, top_srcpath to abs_top_srcdir.
5664 (_AC_OUTPUT_FILES): Adjust.
5665 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5666 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5667 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5669 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5671 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5672 C/Fortran linking on HP/UX, by extracting the Fortran library
5673 search path from the LPATH line in the $F77 -v output.
5675 2001-12-12 Kevin Ryde <user42@zip.com.au>
5677 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5678 forbidden file descriptors table.
5680 2001-11-26 Akim Demaille <akim@epita.fr>
5682 * bin/autoscan.in (%c_keywords): Build it at top level.
5683 Map to 1 in order to simplify its uses.
5685 2001-11-26 Akim Demaille <akim@epita.fr>
5687 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5688 Remove $filepath, useless.
5689 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5690 variables, they are really part of the tokens.
5691 Split the input line on spaces and then look for tokens.
5692 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5693 because of `lex$U.$(OBJEXT)'.
5694 (&scan_files): Use "@list" instead of join.
5695 * doc/Makefile.am (CLEANFILES): Add *.fns.
5697 2001-11-26 Akim Demaille <akim@epita.fr>
5699 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5700 Remove, replaced by...
5701 * tests/wrappl.in: Be common for all the Perl executables.
5702 In particular autoscan and autoheader want -I.
5703 * configure.ac: Adjust.
5704 * lib/autoscan/headers: errno.h is portable.
5706 2001-11-26 Akim Demaille <akim@epita.fr>
5708 * bin/autoscan.in (used): New.
5711 2001-11-26 Akim Demaille <akim@epita.fr>
5713 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5715 (&scan_sh_file): Remove a duplicate pattern.
5716 (&check_configure_ac): Use long options.
5717 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5719 2001-11-26 Akim Demaille <akim@epita.fr>
5721 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5722 Before, having a line containing the opening of a multi line
5723 comment made the whole line be ignored.
5725 2001-11-26 Akim Demaille <akim@epita.fr>
5727 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5728 (testsuite Scripts): Be one of its subsection.
5729 (Autotest Logs): New.
5731 2001-11-26 Akim Demaille <akim@epita.fr>
5733 Test groups are now run two directories deeper.
5735 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5736 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5738 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5739 top_srcdir, builddir and top_builddir.
5740 Use `at_*dir' relatively to the directory containing the
5741 suite, use `*dir' when relatively to the current group dir.
5743 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5745 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5746 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5747 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5750 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5752 * doc/autoconf.texi (Using System Type): Add an example of `case
5753 $host' usage so people quit using `case $target' everywhere.
5755 2001-11-22 Akim Demaille <akim@epita.fr>
5757 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5758 spotted by Jim Meyering.
5760 2001-11-16 Paul Eggert <eggert@twinsun.com>
5762 This patch implements a `long double' suggestion by Oliver Kiddle.
5764 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5765 static, to catch errors if the value isn't known at compile-time
5766 and the compiler supports dynamic arrays. Change its name from
5767 `_array_' to `test_array' to avoid potential name clashes.
5768 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5769 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5770 better than double. Catch a bug in GCC 2.95.2 x86.
5771 * doc/autoconf.texi (C Compiler): Document the above.
5774 2001-11-13 Akim Demaille <akim@epita.fr>
5776 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5778 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5780 2001-11-13 Akim Demaille <akim@epita.fr>
5782 * lib/autotest/general.m4 (AT_INIT): After having run the test
5783 group, go back to the initial directory, not to at_suite_dir.
5785 2001-11-13 Akim Demaille <akim@epita.fr>
5787 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5788 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5789 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5791 (AT_CHECK_CONFIGURE): Use absolute paths.
5792 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5793 The problem is still the old one: there is no means in M4 (that I
5794 know about) to create a defining macro, because there is no means
5795 to create `$1' etc., therefore, the defining macro ``swallows''
5796 all the arguments meant to the defined macro.
5798 2001-11-13 Akim Demaille <akim@epita.fr>
5800 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5801 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5803 * tests/aclocal.m4: Remove, as it is no longer used.
5805 2001-11-13 Akim Demaille <akim@epita.fr>
5807 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5808 variable names when referring to a single test group, or to
5809 `suite' when referring to the whole test suite.
5810 `at_last_test' is removed: m4 compute at_format itself.
5811 (at_stdout, at_stder1, at_stderr): New variables.
5812 (AT_CHECK): Use them.
5814 2001-11-13 Akim Demaille <akim@epita.fr>
5816 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5818 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5819 Do it as soon as a test fails, don't wait till the end of the test
5821 Don't remove $as_me.[0-9]*, since these files no longer exist.
5823 2001-11-13 Akim Demaille <akim@epita.fr>
5825 * tests/tools.at: Use absolute paths, since we are no longer run
5828 2001-11-13 Akim Demaille <akim@epita.fr>
5830 Now that tests are running in their own private dir, there is no
5831 need to list the files to remove at the end of tests groups.
5833 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5834 (AT_data_files, at_data_files): Remove.
5835 (AT_CLEANUP, AT_DATA): Simplify.
5837 Remove the group dir if !debug && !failed.
5838 * tests/atspecific.m4: Adjust.
5840 2001-11-13 Akim Demaille <akim@epita.fr>
5842 Start a new layout for Autotest: `testsuite' creates
5843 `testsuite.dir' in which the at-check-line etc. files are to be
5844 found, and `testsuite.dir/003' where the test group 3 is run.
5846 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5847 at_check_line_file, at_format, at_test_normalized, at_group_dir
5849 Create the directories.
5850 Use absolute paths for at- files.
5853 2001-11-11 Michael Matz <matz@kde.org>
5855 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5857 (m4_car): Properly quote arguments.
5859 2001-11-13 Akim Demaille <akim@epita.fr>
5861 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5862 with stricter rules on LIBOBJS.
5864 2001-11-12 Paul Eggert <eggert@twinsun.com>
5866 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5867 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5870 2001-11-12 Akim Demaille <akim@epita.fr>
5872 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5874 2001-11-12 Akim Demaille <akim@epita.fr>
5876 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5877 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5878 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5879 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5880 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5881 specify to what the macro should be defined (typically to 1).
5883 2001-11-12 Akim Demaille <akim@epita.fr>
5885 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5888 2001-11-12 Akim Demaille <akim@epita.fr>
5890 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5891 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
5892 definition used by Automake where LEX is +/- "${missing} lex" and
5893 `missing' itself contains variables.
5895 2001-11-12 Akim Demaille <akim@epita.fr>
5897 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5898 Now that M4sh pushes BODY, the comments were output at the end of
5901 2001-11-08 Akim Demaille <akim@epita.fr>
5903 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5904 that we can trace macros from aclocal.m4.
5905 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5906 obsoleted, and redirect to the former anyway.
5907 Reported by Ralf Corsepius.
5909 2001-11-08 Akim Demaille <akim@epita.fr>
5911 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5912 processed only if present.
5913 * tests/torture.at (Configuring subdirectories): Use autoreconf
5914 instead of successive calls to autoconf.
5915 Add a nonexistent subdirectory to exercise the patch above.
5916 Reported by Ralf Corsepius.
5918 2001-11-08 Kevin Ryde <user42@zip.com.au>
5920 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5921 doesn't accept .S files.
5923 2001-11-07 Akim Demaille <akim@epita.fr>
5925 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5926 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5927 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5928 * bin/autom4te.in (warn_forbidden): New.
5929 (handle_output): Use it.
5930 Read m4_pattern_forbid with messages.
5932 2001-11-05 Akim Demaille <akim@epita.fr>
5934 * bin/autom4te.in (--normalize): Remove.
5935 * lib/autom4te.in: Adjust.
5937 2001-11-05 Akim Demaille <akim@epita.fr>
5939 * tests/Makefile.am (testsuite): Rename this target as...
5940 ($(TESTSUITE)): this.
5943 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
5945 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5946 the --prefix option, also remove it's argument.
5948 2001-11-05 Akim Demaille <akim@epita.fr>
5950 * doc/autoconf.texi (testsuite Invocation): Update.
5951 (Writing testsuite.at): Update.
5953 2001-11-03 Akim Demaille <akim@epita.fr>
5955 * doc/autoconf.texi: s/@code/@command/ where appropriate.
5957 2001-11-03 Akim Demaille <akim@epita.fr>
5959 * lib/Autom4te/General.pm: (&catfile, &canonfile)
5960 (&file_name_is_absolute): New, wrappers around routines from
5962 Use and export them.
5963 (&find_configure_ac): Optionally take a directory where to look at.
5964 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5966 Default @ARGV to `.', not find_configure_ac.
5967 (&autoreconf): Argument is a directory.
5968 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5969 * doc/autoconf.texi (autoreconf Invocation): Update.
5971 2001-11-03 Akim Demaille <akim@epita.fr>
5973 * lib/Autom4te/General.pm (@export_vars, @export_subs)
5974 (@export_forward_subs): New.
5975 Add basename, dirname, and fileparse.
5977 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5978 Don't look for aclocal flags if we already know aclocal is not
5980 Move aclocal.m4t only if it exists.
5981 Reported by Ezra Peisach.
5983 2001-11-03 Akim Demaille <akim@epita.fr>
5985 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5986 passed on command line, defaulting to ./configure.ac if present.
5987 (&maybe_autoreconf, File::Find): Remove, unused.
5988 (&autoreconf): If autoconf is not used, don't try to trace.
5990 2001-11-02 Akim Demaille <akim@epita.fr>
5992 * configure.ac: Bump to 2.52g.
5994 2001-11-02 Akim Demaille <akim@epita.fr>
5998 2001-11-02 Akim Demaille <akim@epita.fr>
6000 * config/config.guess, config/config.sub, doc/standards.texi:
6001 * config/lispdir.m4: Update from masters.
6002 * configure.ac: Bump to 2.52f.
6004 2001-11-02 Akim Demaille <akim@epita.fr>
6006 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6007 Don't run aclocal when aclocal.m4 is not from aclocal.
6009 Don't run libtoolize and gettextize if --install is not given.
6011 2001-11-01 Paul Eggert <eggert@twinsun.com>
6013 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6014 be invoked before _AS_LINENO_PREPARE.
6015 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6016 than character ranges.
6018 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6019 invoking AS_BASENAME. Set the locale variables to 'C' if
6020 possible, as POSIX requires this to get the traditional
6022 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6024 2001-10-31 Paul Eggert <eggert@twinsun.com>
6026 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6027 with {}, as that triggers a bug in Bash 2.05.
6029 (_AS_LINENO_PREPARE): Use Sed rather than
6030 Awk. Fix the sed prepass to work even if there are multiple
6031 instances of $LINENO on the same line. Do not substitute for
6032 other variables like $LINENOT. Do not check file dates; such a
6033 check is unreliable on sufficiently fast machines, and removing
6034 the check makes the code simpler and more reliable. Check for
6035 output and chmod failures.
6037 * doc/autoconf.texi (Special Shell Variables): Document
6040 2001-10-31 Akim Demaille <akim@epita.fr>
6042 * tests/Makefile.am (atconfig): Remove this target, Automake
6045 2001-10-31 Akim Demaille <akim@epita.fr>
6047 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6048 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6049 provided, while it is optional.
6050 * configure.ac: Adjust.
6052 2001-10-26 Paul Eggert <eggert@twinsun.com>
6054 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6055 lib/Autom4te/Struct.pm:
6056 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6059 * doc/autoconf.texi (Special Shell Variables): Document some
6060 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6062 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6063 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6064 eval $LINENO is not portable in practice.
6066 2001-10-24 Akim Demaille <akim@epita.fr>
6068 * lib/Autom4te/General.pm (backname): New.
6070 2001-10-24 Akim Demaille <akim@epita.fr>
6072 * m4/: Remove, merged into...
6075 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6077 * doc/autoconf.texi (Shellology): Mention the problems with bash
6078 2.05's use of ANSI quoting in its `set' builtin.
6080 2001-10-22 Paul Eggert <eggert@twinsun.com>
6082 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6083 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6084 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6085 POSIX decided to standardize on the int flavor of strerror_r.
6086 Always do char* test, as there's no reason not to.
6087 Assign to a char* var, to catch strerror_r that returns int*.
6089 * doc/autoconf.texi (Particular Functions):
6090 Document the above changes. Also, document the fact that
6091 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6093 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6095 2001-10-20 Akim Demaille <akim@epita.fr>
6097 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6098 the executable was missing from the log.
6100 2001-10-20 Akim Demaille <akim@epita.fr>
6102 * lib/Autom4te/General.pm (&update_file): If destination is
6103 unchanged, remove the source.
6104 (&up_to_date_p): Don't be verbose, be debug.
6105 * bin/autoreconf.in: No longer support --m4dir.
6106 (&autoreconf): Display the full path of the configure.ac we are
6109 Be sure to honor --force with gettextize.
6111 * doc/autoconf.texi: Adjust.
6113 2001-10-20 Akim Demaille <akim@epita.fr>
6115 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6117 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6118 `intl' is already present, as it refuses unless --force.
6119 (&parse_args): Use -I, --include instead of the old Autoconf
6121 ($localdir, $autoconf_dir): Remove.
6123 (&maybe_autoreconf): New, to preserve $_ for File::Find.
6125 2001-10-19 Jens Petersen <petersen@redhat.com>
6127 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6128 * doc/autoconf.texi (Particular Programs): Likewise.
6130 2001-10-19 Akim Demaille <akim@epita.fr>
6132 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6133 file in @configure_input@.
6134 Don't mention `automatically' in addition to `generated'.
6135 * tests/torture.at (#define header templates): Adjust.
6137 2001-10-19 Akim Demaille <akim@epita.fr>
6139 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6140 comment, explain how to install automatic mode selection.
6143 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6145 * bin/autoreconf.in (autoreconf): Display the path to the
6146 configure.ac being studied.
6148 2001-10-18 Paul Eggert <eggert@twinsun.com>
6150 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6151 long, to work around a bug in the HP C compiler version HP92453-01
6154 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6155 (AS_BASENAME_EXPR): New macro.
6156 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6157 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6158 and fall back on 'sed' only if the other two fail. This makes
6159 AS_BASENAME act more like AS_DIRNAME.
6160 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6161 contains white space.
6162 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6163 Use AS_DIRNAME, since I think it's now DOS-friendly.
6164 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6165 Allow "dirname //FOO" to return either / or //, as POSIX allows
6168 2001-10-10 Akim Demaille <akim@epita.fr>
6170 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6171 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6174 2001-10-10 Akim Demaille <akim@epita.fr>
6176 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6178 (_AS_ECHO_N): AS_REQUIREs it.
6180 2001-10-10 Akim Demaille <akim@epita.fr>
6182 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6183 (AC_INCLUDES_DEFAULT): Move to...
6184 * lib/autoconf/headers.m4: here.
6185 * lib/autoconf/types.m4: Comment changes.
6186 * doc/autoconf.texi: Specify where the default includes are used
6187 in the macro prototypes.
6189 2001-10-09 Akim Demaille <akim@epita.fr>
6191 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6194 2001-10-08 Akim Demaille <akim@epita.fr>
6196 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6197 (&parse_args): Pass verbosity/debugging options to subtools when
6198 --debug, not when --verbose.
6199 * lib/autom4te.in (Autoreconf-preselections): New.
6202 2001-10-08 Akim Demaille <akim@epita.fr>
6204 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6206 2001-10-08 Akim Demaille <akim@epita.fr>
6208 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6209 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6211 2001-10-08 Akim Demaille <akim@epita.fr>
6213 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6214 (Syntax of the shell scripts): Don't.
6215 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6216 bother with $force since...
6217 * lib/Autom4te/General.pm: does.
6219 2001-10-08 Akim Demaille <akim@epita.fr>
6221 * bin/autoreconf.in: Rewrite in Perl.
6222 * configure.ac: Adjust.
6223 * lib/Autom4te/General.pm (&up_to_date_p): New.
6224 * bin/autom4te.in (&up_to_date_p): Use it.
6226 (&up_to_date): this.
6228 2001-10-08 Akim Demaille <akim@epita.fr>
6230 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6231 (m4_list_cmp): Use $0 to reinvoke yourself.
6232 (m4_patsubsts): New.
6233 (m4_strip, m4_version_unletter): Use it.
6234 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6236 2001-10-08 Akim Demaille <akim@epita.fr>
6238 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6239 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6240 * lib/autoconf/types.m4, lib/autotest/general.m4,
6241 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6242 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6243 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6244 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6246 2001-10-08 Akim Demaille <akim@epita.fr>
6248 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6250 2001-10-08 Akim Demaille <akim@epita.fr>
6252 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6253 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6254 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6255 * tests/tools.at, tests/m4sh.at: Use it.
6256 * tests/m4sh.at: Don't rely on Autoconf macros.
6257 (DIRNAME_TEST): Also exercise the expr variant.
6258 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6259 preferred M4sugar extension is now `.4s'.
6260 * tests/README: Remove.
6262 2001-10-08 Akim Demaille <akim@epita.fr>
6264 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6265 (m4_provide_if): this.
6266 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6267 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6268 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6269 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6271 2001-10-08 Akim Demaille <akim@epita.fr>
6273 Use `add-log-current-defun-function' for ChangeLog creation.
6274 Suggested by Tom Tromey.
6276 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6277 (autotest-mode): Adjust.
6278 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6279 'comment-region onto `C-c ;'.
6280 Comments are `#', not `dnl'.
6281 (autoconf-current-defun): New.
6282 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6284 2001-10-08 Akim Demaille <akim@epita.fr>
6286 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6287 * lib/m4sugar/m4sh.m4: here.
6288 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6289 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6290 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6291 include handle the m4_pattern_*, no longer push the
6292 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6293 * lib/autotest/general.m4 (AT_INIT): Likewise.
6294 * tests/base.at: Adjust the tests to use AS_INIT.
6295 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6296 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6299 2001-10-07 Paul Eggert <eggert@twinsun.com>
6301 * doc/autoconf.texi (config.status Invocation):
6302 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6304 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6305 shell does not support LINENO, and if CONFIG_SHELL is unset or
6306 empty, and if we can find a shell that does support LINENO,
6307 then set CONFIG_SHELL to that shell and then re-execute
6308 ourselves with CONFIG_SHELL.
6310 2001-10-05 Paul Eggert <eggert@twinsun.com>
6312 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6313 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6314 build of $(TESTSUITE).
6316 2001-10-05 Akim Demaille <akim@epita.fr>
6318 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6319 iff we are a bareword.
6320 Reported by Raja R Harinath.
6322 2001-10-05 Akim Demaille <akim@epita.fr>
6324 * tests/m4sh.at (LINENO): New.
6325 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6326 PATH_SEPARATOR before using it.
6327 Fix the absolute path case/esac pattern.
6328 Provide $0 as fallback for as_myself.
6329 Reported by Raja R Harinath.
6331 2001-10-05 Akim Demaille <akim@epita.fr>
6333 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6334 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6336 2001-10-05 Akim Demaille <akim@epita.fr>
6338 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6339 (AS_SHELL_SANITIZE): here. Use it.
6340 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6343 2001-10-04 Akim Demaille <akim@epita.fr>
6345 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6346 combination of Awk and sed to replace $LINENO.
6348 2001-10-02 Paul Eggert <eggert@twinsun.com>
6350 * doc/autoconf.texi (Limitations of Builtins): You can't use
6351 "source"; it's not portable. Remove confusing and
6352 somewhat-incorrect example involving "." and "/".
6354 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6355 compatibility with POSIX shells.
6357 2001-10-02 Akim Demaille <akim@epita.fr>
6359 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6360 instead of exec'ing to preserve $0 and $@.
6362 2001-10-01 Akim Demaille <akim@epita.fr>
6364 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6365 Don't run twice the same test.
6367 2001-10-01 Akim Demaille <akim@epita.fr>
6369 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6370 No longer output the list of tests.
6371 <--list>: New option.
6372 <--full-help>: Remove.
6373 Complete the short/long options duality.
6374 Various small adjustments.
6376 2001-10-01 Akim Demaille <akim@epita.fr>
6378 * doc/autoconf.texi: Use @kbd for user input.
6379 Always use `$' as shell prompt.
6381 2001-09-30 Paul Eggert <eggert@twinsun.com>
6383 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6384 Don't use nested parenthesization. This patch was originally
6385 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6386 but somehow it didn't get incorporated then.
6387 * doc/autoconf.texi (Limitations of Usual Tools):
6388 Clarify remark about sed and nested parenthesization.
6390 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6391 Report an error if the size cannot be determined even though
6393 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6394 Check for `expr' arithmetic overflow, and for compilation failure,
6395 and invoke a new argument $4 if either is discovered.
6396 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6397 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6399 2001-09-28 Akim Demaille <akim@epita.fr>
6401 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6402 * m4/lispdir.m4: New.
6403 * aclocal.m4, configure.ac: Adjust.
6405 2001-09-28 Akim Demaille <akim@epita.fr>
6407 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6409 (AT_INIT): More the wrapped section to where it will be expanded.
6410 Output `AT_tested' only when existing.
6411 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6413 2001-09-27 Akim Demaille <akim@epita.fr>
6415 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6416 generates too many bug reports.
6418 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6419 status when executing the ACTION-IF-FALSE.
6420 * tests/base.at (AC_TRY_*): Rename as...
6421 (AC_TRY_COMMAND): this.
6422 (AC_RUN_IFELSE): New.
6423 * tests/compile.at (Extensions, C keywords)
6424 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6425 (Broken/missing compilers, AC_PROG_CPP with warnings)
6426 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6427 * tests/c.at (Extensions, C keywords)
6428 (Broken/missing compilers, AC_PROG_CPP with warnings)
6429 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6430 (AC_PROG_CPP requires AC_PROG_CC): here and...
6431 * tests/fortran.at (GNU Fortran 77): there.
6432 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6433 AC_TRY_RUN is about compilation, not shell commands.
6434 (Test Programs): AC_TRY_RUN works as used to be advertised.
6436 2001-09-27 Akim Demaille <akim@epita.fr>
6438 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6440 Be sure to detect when $LINENO always returns the same value.
6441 Look for the original script, basename($0) is certainly not
6443 Pass the CLI arguments to `$as_me.lineno'.
6445 2001-09-25 Akim Demaille <akim@epita.fr>
6447 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6448 Be sure the close and reopen the LOG fd before and after using tee
6450 <at_tests_pattern>: Adjust to the new format of at_help_all.
6452 2001-09-23 Akim Demaille <akim@epita.fr>
6454 * bin/autom4te.in (parse_args): There can be several invocations
6457 2001-09-23 Akim Demaille <akim@epita.fr>
6459 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6461 2001-09-23 Akim Demaille <akim@epita.fr>
6463 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6464 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6465 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6466 builddir, buildpath, top_builddir, and top_buildpath.
6467 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6468 the current directory.
6469 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6470 variables *before* changing the current directory.
6471 Skip nonexistent dirs.
6472 * doc/autoconf.texi (Preset Output Variables): Document these
6475 * lib/autotest/general.m4: Do not reset AT_victims.
6476 Don't compute at_srcdir nor at_top_srcdir.
6478 * tests/tools.at: Hence use top_srcdir.
6480 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6481 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6483 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6484 * tests/wrapsh.in, tests/autoupdate.in: New.
6485 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6486 * configure.ac: Build the position independent wrappers.
6488 * man/Makefile.am: Now that test wrappers are position
6489 independent, use them and drop dark envvar magic.
6491 2001-09-23 Akim Demaille <akim@epita.fr>
6493 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6494 (Programming in M4sh): this.
6495 Promote to @section.
6497 2001-09-23 Akim Demaille <akim@epita.fr>
6499 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6500 Pass $at_debug_args to the rerun test suite.
6501 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6502 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6505 2001-09-23 Akim Demaille <akim@epita.fr>
6507 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6509 2001-09-23 Akim Demaille <akim@epita.fr>
6511 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6514 2001-09-23 Akim Demaille <akim@epita.fr>
6516 * lib/Autom4te/General.pm (&debug): New.
6517 * bin/autom4te.in ($language): Move to...
6519 Handle --language in languages.
6520 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6521 (Autoscan-selections): New.
6524 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6526 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6527 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6528 to match current versions from CVS Automake.
6530 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6532 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6535 2001-09-22 Akim Demaille <akim@epita.fr>
6537 * lib/autoconf/autotest.m4: Create `package.m4'.
6538 * tests/Makefile.am (package.m4): Remove.
6540 2001-09-22 Akim Demaille <akim@epita.fr>
6542 Rely on `$LINENO' when possible instead of `__oline__'.
6544 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6545 `$LINENO' support replacement when not supported.
6546 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6547 them explicitly to be sure they are not output before this section
6548 (via m4_require). Cosmetic only.
6549 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6550 * lib/autoconf/programs.m4: Replace all the occurrences of
6551 `__oline__' with `$LINENO'.
6552 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6554 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6556 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6557 character (u: -> ue) in a code comment.
6558 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6561 2001-09-21 Akim Demaille <akim@epita.fr>
6563 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6564 Suggested by Jim Meyering.
6566 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6568 * lib/autoconf/programs.m4: Use extensions listed in
6569 $ac_executable_extensions when looking for programs.
6571 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6573 * lib/autoconf/general.m4: Fix a small Englisho.
6574 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6575 setting up ac_dir_suffix and ac_top_builddir.
6576 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6578 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6580 * doc/autoconf.texi (File System Conventions): Clarify the use of
6582 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6583 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6584 be used instead of ':'.
6585 * lib/autotest/general.m4: Replace occurrences of ':' in
6586 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6588 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6590 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6591 arguments. Fixed a typo.
6593 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6595 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6596 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6598 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6600 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6601 * bin/autoupdate.in: Ditto.
6602 * bin/autoheader.in: Reworded a few comments.
6603 * bin/autoconf.in: Reworded help text for a few options.
6604 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6605 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6607 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6609 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6610 already have $file). Set output files to binary mode (helps avoid
6611 CR issues on DOSish systems).
6613 2001-09-19 Akim Demaille <akim@epita.fr>
6615 * lib/autotest/general.m4: Englishoes.
6616 From Tim Van Holder and Alexey Mahotkin.
6618 2001-09-18 Paul Eggert <eggert@twinsun.com>
6620 * doc/autoconf.texi (Common Shell Constructs): New node,
6621 documenting AS_DIRNAME.
6622 (Limitations of Usual Tools): Refer to it when discussing dirname.
6623 Also, update discussion of POSIX standard to reflect latest draft.
6625 * lib/autoconf/c.m4:
6626 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6628 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6629 Do not pass a first argument with leading '-'
6630 to expr, by parenthesizing initial integers that might be negative.
6632 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6633 now merely checks whether it is an error to pass an argument
6636 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6637 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6638 whether it is a (compile-time) error to pass an argument to
6639 getpgrp. This simpler test supports the revised documentation,
6640 and is all that AC_FUNC_GETPGRP's users really need.
6642 2001-09-18 Akim Demaille <akim@epita.fr>
6644 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6646 2001-09-18 Akim Demaille <akim@epita.fr>
6648 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6650 * lib/autotest/general.m4 (AT_INIT): Adjust.
6652 2001-09-18 Paul Wagland <paul@wagland.net>
6654 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6656 Add test for AS_BASENAME.
6657 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6658 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6659 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6660 * tests/base.at: Fixed the expected responses. The old ones were
6662 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6663 the documentation claims it should (and how it behaved in 2.13).
6665 2001-09-18 Akim Demaille <akim@epita.fr>
6667 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6668 the AC_CONFIG_COMMANDS invocation.
6669 This also solves the name clash problems.
6670 Don't set the package's ID.
6671 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6672 No longer to be shipped.
6673 (version.in): Remove.
6674 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6675 * lib/autoconf/status.m4: Adjust.
6676 Use `m4_PACKAGE_STRING'.
6677 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6678 the only optional argument is the name of the test suite.
6679 Expect `package.m4' to define the package signature.
6680 * lib/autom4te.in (Autotest): Add `package.m4?'.
6681 * tests/Makefile.am (package.m4): New.
6682 * tests/suite.at: ifnames is a victim.
6684 2001-09-18 Akim Demaille <akim@epita.fr>
6686 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6687 AC_LIBSOURCE, AC_CONFIG_FILES.
6688 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6689 program version string doesn't match the package's.
6690 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6693 2001-09-17 Paul Eggert <eggert@twinsun.com>
6695 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6696 Allow expression to return any value that can fit into unsigned long
6697 (not int, as before). Check for output errors.
6699 2001-09-17 Bruno Haible <haible@ilog.fr>
6701 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6702 Always include <stdio.h> and <stdlib.h>. Evaluate
6703 the expression in an extra function before these includes. Call
6704 fprintf "%d" only after ensuring the argument is of type 'int'.
6705 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6707 2001-09-17 Paul Eggert <eggert@twinsun.com>
6709 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6710 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6711 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6712 when they don't exist.
6714 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6715 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6718 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6719 version with the version used by fileutils 4.1, except use
6720 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6723 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6725 2001-09-13 Akim Demaille <akim@epita.fr>
6727 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6729 Reported by Gerrit P. Haase.
6731 2001-09-13 Akim Demaille <akim@epita.fr>
6733 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6734 m4_defn'ing is valid.
6736 2001-09-13 Akim Demaille <akim@epita.fr>
6738 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6739 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6742 2001-09-13 Akim Demaille <akim@epita.fr>
6744 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6746 (m4_re_escape): New.
6747 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6748 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6749 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6751 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6752 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6753 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6754 AT_tests_all for consistency.
6756 (AT_VICTIMS): Similar to AT_KEYWORDS.
6757 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6759 2001-09-13 Akim Demaille <akim@epita.fr>
6761 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6763 2001-09-13 Akim Demaille <akim@epita.fr>
6765 * lib/autotest/general.m4 (AT_INIT): Create and remove
6766 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6767 test suites can cohabit.
6769 2001-09-13 Akim Demaille <akim@epita.fr>
6771 * tests/mktests.sh: Don't output banners for empty test files.
6773 2001-09-13 Akim Demaille <akim@epita.fr>
6775 Test suites can be run independently of configure.
6777 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6778 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6779 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6781 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6783 * lib/autotest/general.m4: Use ECHO_*.
6785 2001-09-13 Akim Demaille <akim@epita.fr>
6787 * bin/ifnames.in: Rewrite in Perl.
6788 * configure.ac: Don't look for AWK.
6789 * tests/tools.at (AWK portability): Remove.
6790 (Syntax of the shell scripts): Don't check ifnames.
6791 (AT_CHECK_PERL_SYNTAX): New.
6792 (Syntax of the Perl scripts): Check ifnames.
6793 * tests/ifnames: New.
6795 2001-09-13 Akim Demaille <akim@epita.fr>
6797 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6799 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6800 Remove all the other keywords.
6802 2001-09-10 Akim Demaille <akim@epita.fr>
6804 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6805 SETUP: no longer used.
6806 Support -k, --keywords.
6807 <at_help>: Be `no', `short', or `long'.
6808 <at_help_all>: New variable.
6810 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6811 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6812 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6813 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6814 No longer fill the HELP diversion.
6815 (AT_CLEANUP): Use them.
6816 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6817 (m4_list_append): Remove.
6819 Spread a few keywords in the Autoconf test suite.
6821 2001-09-10 Akim Demaille <akim@epita.fr>
6823 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6824 PATH_SEPARATOR, let M4sh compute it.
6825 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6826 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6828 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6829 Simplify when the path is not a literal.
6830 (AS_UNAME): Use it to report PATH.
6831 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6832 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6833 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6834 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6835 normalize the path, and to look for victims.
6836 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6837 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6839 2001-09-07 Akim Demaille <akim@epita.fr>
6841 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6842 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6843 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6844 related variables into `at_package_*'.
6845 * lib/autotest/general.m4 (AT_VICTIMS): New.
6846 (AT_INIT): Adjust for stand-alone/embedded test suites.
6847 (AS_MESSAGE_LOG_FD): Define and use it.
6848 * tests/suite.at (AT_VICTIMS): Use it.
6849 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6852 2001-09-07 Akim Demaille <akim@epita.fr>
6854 Move toward possibly stand-alone test suites.
6856 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6857 in addition, it introduces useless differences in logs.
6858 (AT_INIT): Let atconfig and atlocal be both optional.
6859 Adjust PATH computation.
6860 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6862 2001-09-07 Akim Demaille <akim@epita.fr>
6864 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6867 2001-09-05 Akim Demaille <akim@epita.fr>
6869 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6870 to avoid GCC warnings.
6873 2001-09-05 Akim Demaille <akim@epita.fr>
6875 * bin/autom4te.in: --language is -l, not -s.
6877 2001-09-05 Akim Demaille <akim@epita.fr>
6879 Be ready to handle filenames as stupid as `dnl.at', for if even
6880 the maintainer is dumb enough to do that...
6882 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6883 excellence in M4 quotation: consider `__file__' is active.
6885 And BTW, when invoking m4, pass the --include in the right order:
6888 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6891 2001-09-05 Akim Demaille <akim@epita.fr>
6893 * lib/Autom4te/XFile.pm: New lib file.
6894 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6895 * bin/autoheader.in: Use it.
6897 2001-09-05 Akim Demaille <akim@epita.fr>
6899 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6902 2001-09-05 Akim Demaille <akim@epita.fr>
6904 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6905 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6907 * bin/autoscan.in: Use `getopt' and `find_files' etc.
6908 Add -I, --include support.
6909 * doc/autoconf.texi (autoscan Invocation): Adjust.
6911 2001-09-05 Akim Demaille <akim@epita.fr>
6913 CVS GNU M4 doesn't like `undefine(undefined)'.
6915 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6916 New, extracted from main.
6917 Use IO::File wherever possible.
6918 (input.m4): Be constant, use -I instead of hard coding $tmp.
6919 Therefore be a quoted heredoc.
6920 Don't invoke `_au_disable', since ac was not loaded, but just
6923 2001-08-31 Akim Demaille <akim@epita.fr>
6927 2001-08-31 Akim Demaille <akim@epita.fr>
6929 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6931 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6933 2001-08-31 Akim Demaille <akim@epita.fr>
6935 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6936 serious problems handling heredocs in heredocs.
6937 Reported by Nicolas Joly.
6939 2001-08-31 Akim Demaille <akim@epita.fr>
6941 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6942 (Making testsuite Scripts): Update.
6944 2001-08-31 Akim Demaille <akim@epita.fr>
6946 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6948 2001-08-31 Akim Demaille <akim@epita.fr>
6950 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6951 (testsuite Scripts): There is no such thing as `atconfig.in'.
6952 And actually one diagram is missing: test suite runtime.
6954 2001-08-31 Akim Demaille <akim@epita.fr>
6956 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6959 2001-08-31 Akim Demaille <akim@epita.fr>
6961 * bin/autoupdate.in (@include): `installcheck' revealed the path
6962 to m4sugar was lacking!
6964 2001-08-31 Akim Demaille <akim@epita.fr>
6966 * man/Makefile.am (.x.1): We really have to pass
6967 autom4te_perllibdir.
6969 2001-08-31 Akim Demaille <akim@epita.fr>
6971 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6972 debug scripts, in particular passing explicitly listed tests to
6975 2001-08-31 Akim Demaille <akim@epita.fr>
6977 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6978 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6979 Use directly autom4te, not autoconf.
6980 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6982 2001-08-31 Akim Demaille <akim@epita.fr>
6984 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6985 * bin/autoheader.in (%symbol): Strip arguments of macros.
6987 2001-08-31 Akim Demaille <akim@epita.fr>
6989 * doc/autoconf.texi: Catch up -I, --include changes.
6991 2001-08-31 Akim Demaille <akim@epita.fr>
6993 * bin/autom4te.in (&parse_args): Die on unknown languages.
6994 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6996 Promote --include over --macrodir and other obsolete options.
6998 2001-08-31 Akim Demaille <akim@epita.fr>
7000 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7001 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7002 * bin/autom4te.in ($autoconf): Pass --force.
7003 `print $out' doesn't print `$_' but `$out'.
7004 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7005 (autoheader): Pass --force since the test suite goes too fast for
7007 Adjust to the new autoheader messages.
7009 2001-08-31 Akim Demaille <akim@epita.fr>
7011 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7012 Check the completeness of the #template.
7013 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7014 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7017 2001-08-31 Akim Demaille <akim@epita.fr>
7019 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7020 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7021 Drop AC_MACRODIR dead for real.
7022 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7023 `autoheader: `config.hin' is created'.
7024 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7026 2001-08-31 Akim Demaille <akim@epita.fr>
7028 * bin/autoheader.in: Rewrite in Perl.
7029 * tests/autoheader: Adjust.
7031 2001-08-31 Akim Demaille <akim@epita.fr>
7033 * bin/autoconf.in (--include, -I): New option.
7034 Map --localdir, --autoconf-dir onto it.
7035 Forward autom4te's options instead of interpreting them.
7036 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7037 There is no such envvar since the inception of autom4te.cfg.
7038 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7039 * bin/autoupdate.in: Adjust, and perform more control.
7040 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7041 * tests/autoconf: Dittowise.
7043 2001-08-31 Akim Demaille <akim@epita.fr>
7045 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7046 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7048 Use -e, not -f, since /dev/null for instance is OK.
7049 (&parse_args): Adjust.
7050 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7052 2001-08-31 Akim Demaille <akim@epita.fr>
7054 * configure.ac: Also find tested executables in bin.
7055 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7056 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7057 installed peer executables, only PATH is allowed to resolve it.
7058 Pass `autoconf_dir' via options, not via invisible envvars.
7059 * lib/Autom4te/General.pm (&find_peer): Remove.
7060 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7061 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7062 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7063 find the executables for it.
7064 * tests/Makefile.am: Major cleanup. Too lazy to document...
7065 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7067 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7068 indeed related to running the test suite, while passing
7069 --autoconf-dir and others is related to running non installed
7070 Autoconf executables. So don't do that, leave it to...
7071 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7072 * tests/autoscan: New.
7073 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7074 refer to library files: rely on --language.
7076 2001-08-29 Akim Demaille <akim@epita.fr>
7078 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7079 s/--set/--language/.
7081 2001-08-29 Akim Demaille <akim@epita.fr>
7083 * doc/autoconf.texi: Strip the @nodes.
7084 Suggested by Paul Eggert.
7085 (Initializing configure): Typo.
7087 2001-08-29 Akim Demaille <akim@epita.fr>
7089 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7090 Suggested by Paul Eggert.
7092 2001-08-29 Akim Demaille <akim@epita.fr>
7094 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7095 download in a tmp dir.
7097 2001-08-29 Akim Demaille <akim@epita.fr>
7099 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7100 case insensitive OSes out there :(
7101 From Tim Van Holder.
7103 2001-08-29 Akim Demaille <akim@epita.fr>
7105 * lib/autom4te.in: New.
7106 * lib/Makefile.am (edit, autom4te.cfg): New.
7107 * bin/autom4te.in (BEGIN): Simplify.
7108 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7109 (&load_configuration): New. Use it.
7110 (&parse_args): Support --mode, --set, and --melt.
7111 * bin/autoconf.in: Simplify and adjust.
7112 * tests/Makefile.am (AUTOMAKE): Use --set.
7113 * tests/atlocal.in: Adjust.
7114 * BUGS: distcheck and check are weak.
7116 2001-08-29 Akim Demaille <akim@epita.fr>
7118 * lib/autotest/general.m4: Use
7119 foo=`(command) 2>/dev/null`
7121 foo=`command` 2>/dev/null
7122 (at-devnull): Rename as...
7124 (--clean): Remove AT-* files too.
7125 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7126 Reported by Nicolas Joly.
7128 2001-08-28 Akim Demaille <akim@epita.fr>
7130 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7131 quotes inside single quotes.
7132 Reported by Nicolas Joly.
7134 2001-08-28 Kevin Ryde <user42@zip.com.au>
7136 * doc/autoconf.texi (Function Portability): Mention C right shifts.
7138 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7140 * lib/autotest/general.m4: Reword some messages.
7141 (AT_INIT): Check for the `times' builtin before using it.
7142 Support test ranges as arguments to the testsuite.
7143 Have -e imply -d as the help text suggested.
7145 2001-08-27 Akim Demaille <akim@epita.fr>
7147 * Makefile.maint: Formatting changes.
7148 (do-po-update, po-update, cvs-update, update): New targets.
7151 2001-08-27 Akim Demaille <akim@epita.fr>
7153 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7155 Pass it to debug-*.sh scripts.
7156 <AUTOTEST_PATH>: May contain absolute dir names.
7158 2001-08-27 Akim Demaille <akim@epita.fr>
7160 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7161 Support `VAR=VAL' as arguments.
7162 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7163 may be set via the command line.
7165 2001-08-27 Akim Demaille <akim@epita.fr>
7167 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7168 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7169 first the build dirs, then the src dirs.
7170 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7172 2001-08-27 Akim Demaille <akim@epita.fr>
7174 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7175 at_data_files earlier.
7176 (--clean, -c): New option.
7177 * tests/Makefile.am: Use this option.
7179 2001-08-27 Akim Demaille <akim@epita.fr>
7181 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7182 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7185 * doc/autoconf.texi (Configuration Actions): Document the vars
7186 available in commands.
7187 Emphasize the risks of collisions in init-cmds.
7189 2001-08-27 Akim Demaille <akim@epita.fr>
7191 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7192 (Initializing configure): this new node.
7194 2001-08-27 Akim Demaille <akim@epita.fr>
7196 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7198 2001-08-27 Akim Demaille <akim@epita.fr>
7200 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7201 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7203 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7205 2001-08-27 Akim Demaille <akim@epita.fr>
7207 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7209 * lib/autoconf/autoheader.m4: this new file.
7210 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7211 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7213 * lib/autoconf/autoupdate.m4: this new file.
7215 2001-08-27 Akim Demaille <akim@epita.fr>
7217 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7218 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7219 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7221 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7222 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7224 2001-08-27 Akim Demaille <akim@epita.fr>
7226 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7227 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7228 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7229 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7230 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7231 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7232 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7233 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7234 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7235 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7236 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7237 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7238 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7239 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7240 (_AC_OUTPUT_SUBDIRS): Move to...
7241 * lib/autoconf/status.m4: this new file.
7242 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7243 * tests/Makefile.am, tests/suite.at: Adjust.
7245 2001-08-27 Akim Demaille <akim@epita.fr>
7249 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7250 (AMTAR): Help automake define it.
7251 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7252 needed, 1.5 can have a macro and a target with the same name.
7253 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7255 * m4/init.m4, m4/sanity.m4: Update.
7256 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7257 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7258 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7259 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7261 2001-08-27 Akim Demaille <akim@epita.fr>
7263 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7265 * lib/autoconf/version.in: Remove.
7266 * lib/m4sugar/version.in: New.
7267 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7269 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7270 the name of the directory they're in, instead of the filename,
7271 since version.m4 is now in m4sugar, but m4_acversion must not be
7272 classified as an Autoconf macro.
7273 ($input_m4): Don't qualify the path to m4sugar.
7274 Rather, pass autoconf_dir to m4.
7275 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7276 * tests/suite.at: Require 2.52c.
7278 2001-08-27 Akim Demaille <akim@epita.fr>
7280 testsuite.log should include config.log.
7282 * lib/autotest/autotest.m4: New.
7283 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7284 * tests/suite.at : Adjust.
7285 (AT_INIT): Log config.log.
7286 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7287 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7288 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7289 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7290 of config.log on traps.
7291 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7292 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7294 Open the log as soon as possible.
7295 Use the same log introduction as configure's.
7297 2001-08-22 Paul Eggert <eggert@twinsun.com>
7299 * doc/autoconf.texi (Indices): New node.
7300 Move indices out of the top level menu and into this submenu.
7302 2001-08-22 Akim Demaille <akim@epita.fr>
7304 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7306 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7308 2001-08-22 Akim Demaille <akim@epita.fr>
7310 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7311 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7312 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7313 * lib/autoconf/programs.m4: here.
7314 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7315 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7316 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7317 * lib/autoconf/programs.m4: here.
7318 (_AC_DECL_YYTEXT): Rename as...
7319 (_AC_PROG_LEX_YYTEXT_DECL): this.
7320 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7321 * tests/Makefile.am, tests/suite.am: Adjust.
7323 2001-08-22 Akim Demaille <akim@epita.fr>
7325 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7327 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7329 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7330 * lib/autoconf/functions.m4: here.
7331 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7332 (AH_CHECK_LIB): Move to...
7333 * lib/autoconf/libs: this new file.
7334 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7335 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7336 * lib/autoconf/libs.m4: here.
7337 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7339 2001-08-22 Akim Demaille <akim@epita.fr>
7341 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7342 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7343 (AC_SITE_LOAD): Better logging of config.site.
7345 2001-08-20 Akim Demaille <akim@epita.fr>
7347 * configure.ac (AT_CONFIG): Fix the path.
7348 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7351 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7353 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7354 program with AC_LANG_PROGRAM before feeding it to
7355 AC_COMPILE_IFELSE. Cleanup grep usage.
7357 2001-08-20 Akim Demaille <akim@epita.fr>
7359 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7360 * NEWS, README, README-alpha, TODO, tests/README: This package is
7361 `Autoconf', not `autoconf' (the executable).
7363 2001-08-20 Akim Demaille <akim@epita.fr>
7365 Info readers seem to need `Index' in the index node title :(
7367 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7368 simplified index node names.
7370 2001-08-20 Akim Demaille <akim@epita.fr>
7372 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7373 arguments are not literals.
7374 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7375 Specify the output variables, and macros defined.
7377 2001-08-20 Akim Demaille <akim@epita.fr>
7379 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7380 (Examining Syntax) <AC_TRY_COMPILE>
7381 (Examining Libraries) <AC_TRY_LINK>
7382 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7384 Reported by Werner Lemberg.
7386 2001-08-20 Akim Demaille <akim@epita.fr>
7388 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7389 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7390 Load atlocal late enough to dump it in the log.
7391 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7393 2001-08-20 Akim Demaille <akim@epita.fr>
7395 * tests/torture.at (Configuring subdirectories): New test.
7396 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7398 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7399 (top_srcdir): Fix its computation.
7401 2001-08-20 Akim Demaille <akim@epita.fr>
7403 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7404 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7406 Create `atconfig' automagically.
7407 Configure atlocal.in if present.
7408 * tests/atconfig.in: Remove.
7409 * tests/atlocal.in: New.
7410 * tests/Makefile.am: Adjust.
7412 2001-08-20 Akim Demaille <akim@epita.fr>
7414 Huh!?!?! There are still some user EOF tags used, which prevents
7415 their use in AC_CONFIG_COMMANDS for instance...
7417 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7418 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7419 `_CSEOF', or `_ATEOF', as appropriate.
7420 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7421 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7423 2001-08-20 Akim Demaille <akim@epita.fr>
7425 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7426 * tests/semantics.at, tests/tools.at, tests/torture.at:
7427 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7429 2001-08-20 Akim Demaille <akim@epita.fr>
7431 Autotest invokes M4sh's initialization.
7433 * lib/autotest/general.m4: Adjust the diversion names.
7434 (AT_INIT): Run AS_INIT.
7435 Use the BINSH diversion to invoke /bin/sh.
7436 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7437 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7439 2001-08-20 Akim Demaille <akim@epita.fr>
7441 Let M4sh have its own diversions.
7443 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7444 (_m4_divert(NOTICE)): Rename as...
7445 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7446 (_m4_divert(HEADER-COMMENT)): these.
7447 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7448 (_m4_divert(NOTICE)): New, for Libtool.
7449 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7450 long ago with `_m4_divert(GROW)'.
7451 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7453 2001-08-20 Akim Demaille <akim@epita.fr>
7455 * tests/base.at, tests/compile.at, tests/foreign.at,
7456 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7457 * tests/semantics.at, tests/suite.at, tests/tools.at,
7458 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7460 2001-08-20 Akim Demaille <akim@epita.fr>
7462 * bin/autom4te.in (handle_output): Handle @__@.
7464 2001-08-20 Akim Demaille <akim@epita.fr>
7466 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7467 * lib/autotest/general.m4: Adjust the license.
7469 2001-08-17 Paul Eggert <eggert@twinsun.com>
7471 * doc/autoconf.texi (Function Portability): Mention snprintf,
7472 following up on a suggestion by Kevin Ryde.
7474 2001-08-17 Akim Demaille <akim@epita.fr>
7476 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7477 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7479 2001-08-17 Akim Demaille <akim@epita.fr>
7481 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7482 `$0.log' as for projects where testsuite is in src, we'd have
7483 testsuite.log created in src.
7485 2001-08-17 Akim Demaille <akim@epita.fr>
7487 * bin/autom4te.in (&parse_args): Recognize --normalize.
7489 2001-08-17 Akim Demaille <akim@epita.fr>
7491 Start implementing the AC_CHECK_HEADER transition scheme.
7493 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7494 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7495 (AC_CHECK_HEADER): Use them.
7497 2001-08-17 Akim Demaille <akim@epita.fr>
7499 * doc/autoconf.texi: Work around Texinfo buglets.
7500 (Transformation Rules): One example is enough, users are expected
7501 to have their brains on. And BTW, use DESTDIR.
7502 (dvar): New macro. Use it.
7504 2001-08-17 Akim Demaille <akim@epita.fr>
7506 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7507 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7508 looking for ChangeLogs.
7510 2001-08-17 Akim Demaille <akim@epita.fr>
7512 * bin/autom4te.in: --normalize is a new option.
7513 * bin/autoconf.in: Use it.
7515 2001-08-17 Akim Demaille <akim@epita.fr>
7517 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7518 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7520 2001-08-16 Paul Eggert <eggert@twinsun.com>
7522 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7525 2001-08-15 Akim Demaille <akim@epita.fr>
7527 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7530 2001-08-15 Akim Demaille <akim@epita.fr>
7532 * doc/autoconf.texi (pr): New index.
7533 (prindex, findex): Use, merge, and output them.
7534 (Environment Variable Index, Output Variable Index)
7535 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7536 (Autotest Macro Index): Rename as...
7537 (Environment Variables, Output Variables,Preprocessor Symbols)
7538 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7539 * doc/install.texi: Use @command.
7540 (Environment Variables): Rename as...
7541 (Defining Variables): this.
7543 2001-08-15 Akim Demaille <akim@epita.fr>
7545 * doc/autoconf.texi (Function Portability): sprintf's return
7549 2001-08-15 Akim Demaille <akim@epita.fr>
7551 * Makefile.maint (CVS): New.
7552 (local-check): Run changelog-check. last.
7553 (alpha): Don't depend upon local-check, since...
7554 (cvs-dist): depends upon it.
7556 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7558 * tests/Makefile.am: Use a clean-local rule to remove
7559 autom4te.cache (it's a directory, not a file.
7560 * Makefile.am: Ditto (but maintainer-clean-local).
7562 2001-08-15 Akim Demaille <akim@epita.fr>
7564 * bin/autom4te.in (@m4_warning): New.
7565 (&handle_m4): Use it.
7566 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7567 warnings are issued at each run.
7568 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7571 2001-08-15 Akim Demaille <akim@epita.fr>
7573 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7574 don't waste time running `autoupdate --version' works.
7575 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7577 2001-08-13 Akim Demaille <akim@epita.fr>
7579 * doc/autoconf.texi (ma): Rename this index as...
7582 2001-08-13 Akim Demaille <akim@epita.fr>
7584 * Makefile.am: Remove dead code and dead comments.
7585 (pdf, html): New targets.
7586 * doc/autoconf.texi (Using Autotest): New chapter.
7587 * doc/Makefile.am (pdf): New targets.
7588 (CLEANFILES): Adjust.
7590 2001-08-13 Akim Demaille <akim@epita.fr>
7592 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7593 duration of the test suite.
7595 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7597 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7598 endianness for comparison instead of relying on AT_CHECK_ENV.
7600 2001-08-11 Paul Eggert <eggert@twinsun.com>
7602 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7603 to the INSTALL file.
7605 2001-08-11 Paul Eggert <eggert@twinsun.com>
7607 * NEWS: The autoconf manual now is distributed under the terms
7608 of the GNU Free Documentation License.
7610 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7611 Add an appendix "Copying This Manual" for the FDL.
7613 * doc/fdl.texi: New file, from
7614 <http://www.gnu.org/licenses/fdl.texi>.
7616 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7618 2001-08-10 Paul Eggert <eggert@twinsun.com>
7620 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7621 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7622 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7623 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7624 m4/sanity.m4, tests/README, tests/aclocal.m4,
7625 tests/atspecific.m4, tests/base.at, tests/compile.at,
7626 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7627 tests/semantics.at, tests/suite.at, tests/tools.at,
7628 tests/torture.at: Add copyright notice.
7630 * tests/mktests.sh: Update year in copyright notice.
7632 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7634 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7636 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7638 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7639 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7640 * doc/autoconf.texi (C Compiler Characteristics): Update
7641 documentation for AC_C_BIGENDIAN.
7643 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7645 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7646 magic values from an object file when cross-compiling.
7647 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7649 2001-08-10 Akim Demaille <akim@epita.fr>
7651 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7653 Suggested by Russ Allbery.
7655 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7657 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7658 current $prefix to the sub-configures.
7660 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7662 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7663 extension (needed on BeOS). Reported by Guido van Rossum.
7665 2001-08-09 Akim Demaille <akim@epita.fr>
7667 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7669 2001-08-07 Akim Demaille <akim@epita.fr>
7671 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7673 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7674 No need to remove the files before and after the each test, before
7675 each test and at the end of the suite is enough.
7676 Display only the children `times', not the shell's.
7677 If the test failed or was skipped, at-times is not available.
7679 2001-08-07 Akim Demaille <akim@epita.fr>
7681 Always produce testsuite.log, including when there are no
7682 failures. This helps getting information on skipped tests, and
7683 duration of the tests. Err, implement the latter btw.
7685 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7686 Dump information on the first run of each test.
7687 (AT_CLEANUP): Create `at-times' containing the duration of the
7690 2001-08-07 Akim Demaille <akim@epita.fr>
7692 The use of `dumpstat' revealed that `len' was used although it
7693 should not. m4_text_wrap was using it, but in the Autoconf world
7694 where it is legal. Hence (i) test M4sh in its own world, not
7695 Autoconf's, and (ii), ahem, fix the bug :)
7697 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7698 does not like `' instead of [].
7699 (AT_INIT): Forbid `^_?AT_'.
7700 And don't output such tokens.
7701 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7702 `script.as', and `autom4te.cache'.
7703 Remove `empty' and `macro' which are no longer used.
7704 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7705 * tests/m4sugar.at: Use it.
7706 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7708 2001-08-07 Akim Demaille <akim@epita.fr>
7710 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7712 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7714 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7716 2001-08-04 Akim Demaille <akim@epita.fr>
7718 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7719 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7721 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7722 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7723 (AC_F77_MAIN): Likewise.
7725 2001-08-04 Akim Demaille <akim@epita.fr>
7727 Don't rely on M4sugar outputting the patterns in files, since we
7728 might process the output _without_ running m4, hence without these
7731 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7732 * bin/autom4te.in (@Request::includes): Remove, unused.
7733 (@Request::source): Rename as...
7734 (@Request::input): this.
7735 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7736 (&handle_output): Fetch the patterns from the traces.
7737 `$forbidden' and `$allowed' are constant: use m//o.
7738 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7739 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7741 2001-08-04 Akim Demaille <akim@epita.fr>
7743 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7744 autoconf', i.e., in addition to caching traces, cache the output.
7746 * bin/autom4te.in (Request::cache): Rename as...
7747 (Request::id): this.
7748 ($cache, $icache, $tcache, $ocache): New.
7749 (&handle_m4): Save M4 output in the cache instead of $tmp.
7750 (&handle_output): Adjust.
7751 (&up_to_date_p): Check that the output cache is up to date too.
7752 (top level): Run `&handle_m4' iff force or the cache is invalid.
7753 Run `&handle_output' if the output cache is more recent.
7755 2001-08-04 Akim Demaille <akim@epita.fr>
7757 * bin/autom4te.in ($force): New.
7758 (&parse_args, &print_usage): -f, --force is a new option.
7759 (&handle_output): CPP directives might have spaces after `#'.
7760 (&parse_args): The first file only can be frozen.
7762 2001-08-04 Akim Demaille <akim@epita.fr>
7764 Don't let autom4te compute the `include' traces several times:
7765 first check that the trace cache file is up to date, and then
7766 compare its timestamp with that of the output.
7768 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7769 the preamble. Don't require 5.005 as Autom4te::General does it,
7770 and better yet (use `use', not `require'!).
7771 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7772 Class::Struct as Autom4te::Struct.
7773 * lib/Autom4te/General.pm (File::stat): Use it.
7774 (&mtime): New, export it.
7775 * bin/autom4te.in: Use it.
7776 Declare `$req' is invalid if it is outdated.
7777 Don't declare it valid before saving it if something went wrong.
7779 2001-08-04 Akim Demaille <akim@epita.fr>
7781 Autom4te shall not encode Autoconf data, and preselecting traces
7782 must be proposed to the users.
7784 * bin/autom4te.in (@required_trace): Remove.
7786 (&parse_args, &print_usage): -p, --preselect is a new option.
7787 (&up_to_date_p): Adjust.
7788 * bin/autoconf.in: Preselect some Autoconf macros.
7790 2001-08-04 Akim Demaille <akim@epita.fr>
7792 * tests/tools.at (autoconf --trace: user macros): Check traces on
7793 macros invoked without arguments, and macros invoked with multiple
7796 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7798 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7801 2001-08-03 Akim Demaille <akim@epita.fr>
7803 * bin/autoconf.in ($@): Work around the usual sh bug.
7806 2001-08-03 Akim Demaille <akim@epita.fr>
7808 Clean up the handling of the M4 builtins tracing exception.
7810 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7812 (@m4_builtins): Rename as...
7813 (@m4_builtin): this.
7814 (%m4_builtin_alternate_name): New.
7815 (&parse_args): Complete the trace requests with alternate names.
7816 (&handle_traces): Hence no longer do it here.
7817 (&trace_requests): Remove, unused.
7819 2001-08-03 Akim Demaille <akim@epita.fr>
7821 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7824 2001-08-03 Akim Demaille <akim@epita.fr>
7826 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7827 (m4_divert_pop): Dump the whole diversion stack when a diversion
7829 * bin/autom4te.in (&handle_output): Remember of the first
7830 occurrence of a possibly undefined macro, not the last.
7831 Complain about the possibly undefined macros in the same order as
7832 the appear in the output.
7833 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7834 * tests/tools.at (autoconf: forbidden tokens, basic)
7835 (autoconf: forbidden tokens, exceptions): No longer sort
7836 autoconf's stderr, as it is now deterministic.
7837 Check that `dnl' is caught.
7839 2001-08-01 Akim Demaille <akim@epita.fr>
7841 * configure.ac: Bump to 2.52c.
7843 2001-08-01 Akim Demaille <akim@epita.fr>
7847 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7849 2001-08-01 Akim Demaille <akim@epita.fr>
7853 2001-08-01 Akim Demaille <akim@epita.fr>
7855 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7858 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7859 `END', as `Autom4te::General::END' will be triggered.
7860 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7861 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7862 system to run `mv', `rm', and `cmp'.
7864 2001-08-01 Akim Demaille <akim@epita.fr>
7866 * lib/Autom4te/General.pm (&unique): New.
7867 * bin/autoscan.in (&output): Use it to issue trace requests once.
7869 2001-08-01 Akim Demaille <akim@epita.fr>
7871 * lib/Autom4te/General.pm: New.
7872 * bin/autom4te.in (Autom4te::General): Use it.
7873 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7874 (&find_configure_ac, &find_slave): Remove.
7875 * bin/autoscan.in: Likewise.
7876 * bin/autoupdate.in: Likewise.
7878 2001-08-01 Akim Demaille <akim@epita.fr>
7880 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7881 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7882 * bin: here, new directory.
7883 * lib/Autoconf: Rename as...
7884 * lib/Autom4te: this, to please case insensitive junkie OSes.
7886 2001-08-01 Akim Demaille <akim@epita.fr>
7888 * autom4te.in ($m4): Handle the --nesting-limit.
7889 * autoconf.in (M4): Remove.
7891 2001-08-01 Akim Demaille <akim@epita.fr>
7893 * autoconf.in ($AWK): Remove, no longer used.
7894 * test/tools.at: Use AT_CHECK_AUTOCONF.
7895 (AWK portability): Remove, for autoconf no longer uses AWK.
7896 (Syntax of the Perl scripts): New.
7897 * configure.ac: autoconf no longer needs an AWK with a good
7899 Use a static test on AC_PACKAGE_VERSION.
7900 * autom4te.in (&up_to_date_p): Output depends on the arguments.
7901 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7902 * tests/atconfig.in (PERL): New.
7904 2001-08-01 Akim Demaille <akim@epita.fr>
7906 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7907 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7908 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7909 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7910 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7911 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7912 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7913 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7914 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7915 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7916 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7917 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7918 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7919 * lib/autoconf/c.m4: here, new file.
7921 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7922 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7923 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7924 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7925 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7926 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7927 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7928 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7929 (AC_F77_FUNC): Move to...
7930 * lib/autoconf/fortran.m4: here, new file.
7932 2001-08-01 Akim Demaille <akim@epita.fr>
7934 * acfunctions.m4: Rename as...
7935 * lib/autoconf/functions.m4: this.
7936 * acgeneral.m4: Rename as...
7937 * lib/autoconf/general.m4: this.
7938 * acheaders.m4: Rename as...
7939 * lib/autoconf/headers.m4: this.
7940 * aclang.m4: Rename as...
7941 * lib/autoconf/lang.m4: this.
7942 * acoldnames.m4: Rename as...
7943 * lib/autoconf/oldnames.m4: this.
7944 * acspecific.m4: Rename as...
7945 * lib/autoconf/specific.m4: this.
7946 * actypes.m4: Rename as...
7947 * lib/autoconf/types.m4: this.
7948 * autoconf.m4: Rename as...
7949 * lib/autoconf/autoconf.m4: this.
7951 * m4sugar.m4: Rename as...
7952 * lib/m4sugar/m4sugar.m4: this.
7953 * m4sh.m4: Rename as...
7954 * lib/m4sugar/m4sh.m4: this.
7956 * tests/atgeneral.m4: Rename as...
7957 * lib/autotest/general.m4: this.
7959 * acfunctions: Rename as...
7960 * lib/autoscan/functions: this.
7961 * acheaders: Rename as...
7962 * lib/autoscan/headers: this.
7963 * acidentifiers: Rename as...
7964 * lib/autoscan/identifiers: this.
7965 * aclibraries: Rename as...
7966 * lib/autoscan/libraries: this.
7967 * acmakevars: Rename as...
7968 * lib/autoscan/makevars: this.
7969 * acprograms: Rename as...
7970 * lib/autoscan/programs: this.
7972 2001-08-01 Akim Demaille <akim@epita.fr>
7974 * doc/autoconf.texi: Moving/deleting open files is not portable.
7975 Portability issues for `.' (source), and more information about sed.
7977 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
7979 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7980 which has a special meaning and is not a reference to libibmil.a.
7981 Reported by Matteo Frigo.
7983 2001-07-25 Pavel Roskin <proski@gnu.org>
7985 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7988 2001-07-25 Akim Demaille <akim@epita.fr>
7990 * autoconf.in: Try to define the variables before using them.
7991 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7992 instead of `$perllibdir'.
7993 * tests/atconfig.in ($autom4te_perllibdir): Export it.
7995 2001-07-25 Akim Demaille <akim@epita.fr>
7997 * autoconf.in (ac_LF_and_DOT): Remove, unused.
7999 2001-07-24 Akim Demaille <akim@epita.fr>
8001 Let autoconf use autom4te for traces.
8003 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8005 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8006 (Because I found no way for autom4te to accept `-').
8007 * autom4te.in (&Request::request): Beware of M4 builtins.
8008 (END): Don't try to remove the content of an empty dir.
8009 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8010 (&handle_output): Set a default value to `$forbidden'.
8011 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8012 ($autoconf): Pass --debug and --verbose.
8013 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8016 2001-07-24 Akim Demaille <akim@epita.fr>
8018 Let autoconf use autom4te to create configure.
8020 * autoconf.in ($automate): New var.
8021 (task script): Use autom4te.
8022 * autom4te.in (File::Spec): Use it.
8024 (&parse_args): --warning is -W, not -w.
8025 Find the top level files.
8026 (&handle_m4): Pass the warnings flags.
8027 Don't report verbosely m4's failures, unless requested.
8028 (&handle_output): Don't complain for forbidden tokens in comments.
8029 Be sure to report all the forbidden tokens within a single line.
8030 (&trace_format_to_m4): Preserve `$_'.
8031 (&handle_traces): Sort the output macros.
8032 (&up_to_date_p): Find the files before trying to get its time stamp.
8034 2001-07-24 Akim Demaille <akim@epita.fr>
8036 * Makefile.am: Ship, build and install Autom4te.
8038 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8039 * configure.in: Require Perl.
8040 * man/autom4te.in: New.
8042 2001-07-19 Paul Eggert <eggert@twinsun.com>
8044 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8045 example, rather than (exit 1); exit (which isn't portable).
8047 2001-07-18 Akim Demaille <akim@epita.fr>
8051 2001-07-18 Akim Demaille <akim@epita.fr>
8053 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8054 was run, while they are needed also when it is expanded.
8055 Reported by Nicolas Joly.
8057 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8058 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8059 AC_F77_DUMMY_MAIN being expanded.
8061 2001-07-18 Akim Demaille <akim@epita.fr>
8063 * configure.in: Bump to 2.51a.
8065 2001-07-17 Akim Demaille <akim@epita.fr>
8069 2001-07-17 Akim Demaille <akim@epita.fr>
8071 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8072 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8074 2001-07-17 Akim Demaille <akim@epita.fr>
8076 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8077 used. Well, then use the prototypes when you can, and runtime as
8079 Reported by Artur Frysiak
8081 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8082 (AC_FUNC_GETPGRP): Use it.
8083 First try to compile with 0-ary or 1-ary calls.
8085 2001-07-17 Akim Demaille <akim@epita.fr>
8087 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8091 2001-07-17 Akim Demaille <akim@epita.fr>
8093 * Makefile.maint: Sync. with cppi 1.10.
8095 2001-07-17 Akim Demaille <akim@epita.fr>
8097 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8098 AC_F77_DUMMY_MAIN has been run.
8099 From Pavel Roskin and Steven G. Johnson.
8101 2001-07-17 Akim Demaille <akim@epita.fr>
8103 * configure.in: Rename as...
8104 * configure.ac: this.
8106 2001-07-17 Akim Demaille <akim@epita.fr>
8108 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8111 * Makefile.maint (release-archive-dir): Rename as...
8112 (release_archive_dir): this, so that it can be specialized in
8115 2001-07-14 Akim Demaille <akim@epita.fr>
8117 * configure.in: Bump to 2.50d.
8119 2001-07-14 Akim Demaille <akim@epita.fr>
8122 * Makefile.maint (alpha): Typo.
8124 2001-07-14 Akim Demaille <akim@epita.fr>
8126 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8128 2001-07-14 Akim Demaille <akim@epita.fr>
8130 * config/config.guess, config/config.sub, config/texinfo.tex
8131 * doc/standards.texi, doc/make-stds.texi: Update.
8133 2001-07-14 Akim Demaille <akim@epita.fr>
8135 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8137 2001-07-14 Akim Demaille <akim@epita.fr>
8139 * Makefile.maint (maintainer-check): Rename as...
8140 (maintainer-distcheck): this.
8141 (changelog-check, static-check): New.
8144 2001-07-14 Kevin Ryde <user42@zip.com.au>
8146 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8147 for CXX is g++, not gcc.
8149 2001-07-14 Akim Demaille <akim@epita.fr>
8151 * doc/autoconf.texi (Files): New subsection.
8153 2001-07-14 Akim Demaille <akim@epita.fr>
8155 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8157 (Generic Compiler Characteristics): this.
8158 (C++ Compiler): New subsection.
8160 2001-07-14 Akim Demaille <akim@epita.fr>
8162 * autoscan.in: Use IO::File.
8163 Adjust all the routines to use it.
8164 ($log): New file (autoscan.log).
8165 (output): Dump detailed logs into $log, and a shortened version to
8167 (&scan_makefile): Refine the regexp catching tokens in the code.
8168 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8169 and the `configure.ac' checking feature.
8171 2001-07-12 Akim Demaille <akim@epita.fr>
8173 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8174 Reported by Michael Elizabeth Chastain.
8176 * autoconf.in: Refuse such AWK.
8177 * configure.in: Likewise.
8178 * Makefile.am (acversion.m4): Do not use move-if-change this file
8180 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8182 2001-07-10 Jens Petersen <petersen@redhat.com>
8184 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8185 things like "g++", "file.c" and "some-conf" as tokens.
8186 (&scan_file): Match C++ files extensions.
8187 If the filename extension is C++ then ask for c++.
8189 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8191 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8192 AC_TRY_LINK_FUNC, to check whether defining a dummy
8193 main-like routine is needed for linking with F77 libs.
8195 2001-07-05 Pavel Roskin <proski@gnu.org>
8197 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8199 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8202 2001-07-05 Akim Demaille <akim@epita.fr>
8204 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8205 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8207 Reported by Nicolas Joly.
8209 2001-07-04 Akim Demaille <akim@epita.fr>
8211 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8213 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8214 warnings from compilers.
8215 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8216 for all the compilers, not only GNU. Hence move from here...
8217 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8219 2001-07-04 Akim Demaille <akim@epita.fr>
8221 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8222 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8225 2001-07-04 Akim Demaille <akim@epita.fr>
8227 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8228 the ``strings.h'' change claimed below.
8230 2001-07-04 Akim Demaille <akim@epita.fr>
8232 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8234 2001-07-04 Akim Demaille <akim@epita.fr>
8236 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8237 strings.h if usable with string.h.
8238 Suggested by Paul Eggert.
8240 2001-07-04 Akim Demaille <akim@epita.fr>
8242 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8245 2001-07-03 Akim Demaille <akim@epita.fr>
8247 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8250 2001-07-03 Akim Demaille <akim@epita.fr>
8252 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8253 compiler, not the preprocessor.
8254 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8255 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8257 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8258 earlier if there are.
8260 2001-07-03 Akim Demaille <akim@epita.fr>
8262 * autoscan.in ($initfile): Remove.
8263 (&find_file): Rename as...
8265 Immediately scan the current file, instead of gathering them, and
8266 later having them handled by &scan_files.
8267 (&scan_files): Merely invoke Find::File.
8270 2001-07-02 Akim Demaille <akim@epita.fr>
8272 * autoscan.in: Formatting changes, matching the invocation order.
8273 (File::Find): Use it instead of Perl 4's `find.pl'.
8274 (&wanted): Rename as...
8277 2001-07-01 Pavel Roskin <proski@gnu.org>
8279 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8280 break in the argument to AC_TRY_LINK_FUNC.
8281 (AC_F77_MAIN): Remove conftest* after using break in the
8282 argument to AC_TRY_LINK.
8284 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8286 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8287 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8289 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8290 dummy alternate main is required even if the user provides her own
8292 (AC_F77_MAIN): New macro to detect whether it is possible to
8293 provide an alternate 'main' function name, using the 'main' from
8294 the Fortran libraries.
8295 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8296 cross-language link tests can be performed successfully.
8297 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8298 after $LIBS, for consistency; this should be the general rule since
8299 the user may want to link to Fortran libraries that require $FLIBS.
8300 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8302 2001-06-29 Pavel Roskin <proski@gnu.org>
8304 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8305 at-stdout and at-stderr instead of removing the newline
8306 from the echo output, which is not guaranteed to work.
8308 2001-06-28 Jens Petersen <petersen@redhat.com>
8310 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8311 confdefs.h when non-zero.
8313 2001-06-28 Akim Demaille <akim@epita.fr>
8315 * configure.in: Bump to 2.50c.
8317 2001-06-26 Akim Demaille <akim@epita.fr>
8321 2001-06-26 Akim Demaille <akim@epita.fr>
8325 2001-06-25 Pavel Roskin <proski@gnu.org>
8327 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8328 argument, AUTOCONF-FLAGS.
8329 * tests/mktests.sh (update_exclude_list): Add
8330 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8331 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8332 AC_FUNC_WAIT3 with "-W no-obsolete".
8334 2001-06-25 Akim Demaille <akim@epita.fr>
8336 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8338 2001-06-25 Akim Demaille <akim@epita.fr>
8340 * autoscan.in (%macro): Now maps from word to list of macros.
8341 (&init_tables): Die when a word which is already handled by
8342 explicit macros is mapped to the default macro.
8343 (&print_unique): Remove, inlined in...
8344 (&output_kind): here.
8345 (File::Basename): Use it.
8346 (&output): Sort the CONFIG_FILES.
8347 * acheaders: Normalize.
8348 * acfunctions: Likewise.
8350 2001-06-25 Akim Demaille <akim@epita.fr>
8352 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8353 characteristics in the logs.
8354 Suggested by Mo DeJong.
8356 2001-06-24 Akim Demaille <akim@epita.fr>
8358 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8359 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8360 * doc/autoconf.texi (Autoconf 2.13): New section.
8362 2001-06-24 Akim Demaille <akim@epita.fr>
8364 * autoconf.in (Task traces): Separate the error messages from the
8365 traces to improve robustness.
8367 2001-06-23 Akim Demaille <akim@epita.fr>
8369 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8370 three as failures are unlikely, and speed matters.
8372 2001-06-23 Akim Demaille <akim@epita.fr>
8374 * doc/autoconf.texi (Redefined M4 Macros): New.
8376 2001-06-23 Akim Demaille <akim@epita.fr>
8378 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8379 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8382 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8384 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8385 config.status targets to after the evaluation of the INIT-CMDS.
8386 Double quote config.status targets (used to be single quoted).
8388 2001-06-23 Akim Demaille <akim@epita.fr>
8390 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8391 Check the content of the created file.
8392 Check the ./config.status command line invocation.
8394 2001-06-23 Akim Demaille <akim@epita.fr>
8396 * tests/foreign.at (Libtool): Reject prehistoric versions.
8398 2001-06-23 Akim Demaille <akim@epita.fr>
8400 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8401 preexisting files matching a.*.
8403 2001-06-23 Akim Demaille <akim@epita.fr>
8405 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8407 * doc/autoconf.texi (AC_ARG_VAR): Update.
8409 2001-06-21 Akim Demaille <akim@epita.fr>
8411 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8412 precious variables have changed.
8413 * tests/torture.at (AC_ARG_VAR): Adjust.
8415 2001-06-21 Akim Demaille <akim@epita.fr>
8417 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8418 but some sed choke on multiple `;', and other tools (e.g.,
8419 Automake), include the separator themselves.
8421 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8423 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8425 * doc/autoconf.texi (Functions Portability): Rename as...
8426 (Function Portability): this.
8427 (Function Portability): Document potential problems with unlink().
8429 2001-06-19 Paul Eggert <eggert@twinsun.com>
8431 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8433 2001-06-18 Akim Demaille <akim@epita.fr>
8435 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8437 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8439 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8440 (_AC_FUNC_VFORK): this.
8441 Remove AC_DEFINEs and don't guess cross-compilation values.
8442 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8443 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8444 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8446 Guess values if cross-compiling, but warn.
8447 * acfunctions: Add AC_FUNC_FORK.
8448 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8449 and vfork appropriately.
8451 2001-06-18 Akim Demaille <akim@epita.fr>
8453 * doc/autoconf.texi (Functions Portability): New section.
8455 2001-06-18 Akim Demaille <akim@epita.fr>
8457 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8459 Suggested by Andreas Schwab.
8461 2001-06-18 Akim Demaille <akim@epita.fr>
8463 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8464 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8465 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8466 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8467 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8468 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8469 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8472 2001-06-18 Akim Demaille <akim@epita.fr>
8474 * doc/autoconf.texi (ms): New index.
8475 (Macro Index): Rename as...
8476 (Autoconf Macro Index): this.
8477 (M4 Macro Index): New appendix.
8478 (Programming in M4): New chapter.
8479 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8480 (Quoting): Rename as...
8481 (M$ Quotation): this.
8482 Be part of `Programming in M4).
8484 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8486 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8487 in separate statements for compatibility with Tru64 v5.1.
8489 2001-06-17 Akim Demaille <akim@epita.fr>
8491 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8492 current values of the precious variables, not the previously
8494 Pass precious variables which are set to config.status.
8495 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8496 * tests/torture.at (AC_ARG_VAR): New.
8498 2001-06-15 Paul Eggert <eggert@twinsun.com>
8500 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8501 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8502 and explain why and how to replace them.
8503 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8504 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8506 2001-06-15 Akim Demaille <akim@epita.fr>
8508 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8509 Reported by Bruno Haible.
8511 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8512 (_AC_ARG_VAR_PRECIOUS): to here.
8514 2001-06-15 Pavel Roskin <proski@gnu.org>
8516 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8517 an unused pointer use cast to this type and `if' statement to
8518 avoid warnings from the compiler.
8519 (AC_HEADER_TIME): Likewise.
8520 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8521 in `if' statement to avoid warnings from the compiler. Declare
8522 ac_aggr static to avoid the need to initialize it.
8524 2001-06-14 Akim Demaille <akim@epita.fr>
8526 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8529 2001-06-13 Akim Demaille <akim@epita.fr>
8531 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8532 Suggested by Alexander Mai.
8534 2001-06-13 Akim Demaille <akim@epita.fr>
8536 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8537 sys/types.h and sys/stat.h, and check for them.
8539 2001-06-13 Akim Demaille <akim@epita.fr>
8541 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8544 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8546 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8547 succeeds and only try adding libdnet upon a failure.
8549 2001-06-12 Akim Demaille <akim@epita.fr>
8551 * autoscan.in (&output_kind): Output the comment only if it exists.
8552 (%kind_comment): Add entry for `programs'.
8553 (&output_programs): Use &output_kind.
8554 (&output_functions, &output_identifiers, &output_headers)
8555 (&output_programs): Inline, and remove.
8557 2001-06-12 Akim Demaille <akim@epita.fr>
8559 * autoscan.in (%kind_comment): New.
8561 (output_functions, output_identifiers, output_headers): Use it.
8563 2001-06-12 Akim Demaille <akim@epita.fr>
8565 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8566 arguments, to factor indirections into `%macro' and `%used'.
8567 (%generic_macro): Fix a typo.
8569 2001-06-12 Akim Demaille <akim@epita.fr>
8572 * autoscan.in (@kinds): Add `libraries'.
8573 Use `@kinds' instead of hard coded lists.
8574 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8575 Remove, replaced by...
8578 2001-06-12 Akim Demaille <akim@epita.fr>
8580 * autoscan.in (%functions_macros %headers_macros)
8581 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8585 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8587 * aclang.m4 (AC_NO_EXECUTABLES): Override
8588 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8590 2001-06-11 Akim Demaille <akim@epita.fr>
8592 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8594 Reported by Andreas Schwab.
8596 2001-06-11 Akim Demaille <akim@epita.fr>
8598 * Makefile.am, Makefile.maint: Typos.
8600 2001-06-09 Akim Demaille <akim@epita.fr>
8602 * doc/autoconf.texi (Here-Documents): New section, gathering
8603 documentation about here-documents.
8604 Use `href', not `uref', and other changes.
8606 2001-06-09 Akim Demaille <akim@epita.fr>
8608 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8611 2001-06-09 Akim Demaille <akim@epita.fr>
8613 * doc/autoconf.texi (Limitations of Builtins): Complete the
8614 description of the here-docs penalties with Alexandre Oliva's
8617 2001-06-01 Paul Eggert <eggert@twinsun.com>
8619 * doc/autoconf.texi: Talk about here documents and speedups.
8620 Do not use "echo" on arbitrary strings.
8621 Spell "here-documents" consistently with the standard.
8623 2001-06-09 Akim Demaille <akim@epita.fr>
8625 * doc/autoconf.texi (Concept Index): Introduce it.
8626 Regenerate the menus.
8628 2001-06-09 Akim Demaille <akim@epita.fr>
8630 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8631 * config/prev-version.txt: New.
8632 * config/move-if-change: New, for GNU libc.
8634 2001-06-06 Pavel Roskin <proski@gnu.org>
8636 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8638 2001-06-06 Akim Demaille <akim@epita.fr>
8640 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8641 properly when $1 is not a literal.
8642 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8644 2001-06-06 Akim Demaille <akim@epita.fr>
8646 Invoking AC_COPYRIGHT before AC_INIT fails.
8648 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8649 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8650 (_m4_divert(VERSION_USER)): New.
8651 (AC_COPYRIGHT): $2 is the diversion to use.
8652 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8653 (AC_INIT): Remove dead comments as now it's commutative.
8655 2001-06-06 Akim Demaille <akim@epita.fr>
8657 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8660 2001-06-05 Akim Demaille <akim@epita.fr>
8662 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8664 `*dir' variables cannot be NONE.
8665 Reported by Mark Kettenis.
8667 2001-06-05 Paul Eggert <eggert@twinsun.com>
8669 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8671 2001-06-04 Akim Demaille <akim@epita.fr>
8673 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8674 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8675 (AC_TR_SH): Move as...
8676 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8677 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8679 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8680 (_AS_TR_SH_PREPARE): New.
8681 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8682 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8684 2001-06-02 Akim Demaille <akim@epita.fr>
8686 * Makefile.am (.m4.m4f): Pass the options first.
8687 Fixes PR autoconf/182.
8689 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8691 GNU getopt, when POSIXLY_CORRECT does not permute options and
8692 arguments. So pass the options first.
8693 Fixes PR autoconf/184.
8695 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8696 (run_m4): Remove files.
8698 Update remainder of script to use them.
8699 (for warning in): Do not use a literal comma as it will not be
8702 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8704 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8705 Fortran compilers to check.
8706 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8707 information on library and object files.
8708 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8711 2001-06-02 Akim Demaille <akim@epita.fr>
8713 * autom4te.in (Request::@request): Declare with `vars', not `my',
8714 as it prevents updates via `do FILENAME'.
8716 2001-06-02 Akim Demaille <akim@epita.fr>
8718 * configure.in (standards_texi): Remove, dead code.
8720 2001-06-02 Akim Demaille <akim@epita.fr>
8724 2001-06-02 Pavel Roskin <proski@gnu.org>
8726 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8727 for signals other than 0 - exit with code 1.
8728 * m4sh.m4 (AS_TMPDIR): Likewise.
8729 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8730 * autoheader.in: Likewise.
8731 * autoreconf.in: Likewise.
8732 * tests/torture.at (Signal handling): New test for the above.
8734 2001-06-01 Akim Demaille <akim@epita.fr>
8736 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8739 2001-05-31 Akim Demaille <akim@epita.fr>
8741 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8742 Add copyright and comments.
8743 * acheaders: Add stdint.h.
8744 Suggested by Paul Eggert.
8746 2001-05-31 Akim Demaille <akim@epita.fr>
8748 * atgeneral.m4 (AT_INIT): Use $SHELL.
8749 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8751 2001-05-31 Akim Demaille <akim@epita.fr>
8753 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8755 From Paul Eggert and Lars Hecking.
8757 2001-05-31 Akim Demaille <akim@epita.fr>
8759 * tests/base.at: Adjust line numbers in error messages.
8761 2001-05-31 Akim Demaille <akim@epita.fr>
8763 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8764 to emit the bangshe line.
8765 Reported by David Carter.
8767 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8769 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8770 Fortran (95) compilers to check.
8772 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8774 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8777 2001-05-23 Pavel Roskin <proski@gnu.org>
8779 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8780 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8781 (AC_PROG_CXXCPP): Likewise.
8783 2001-05-22 Akim Demaille <akim@epita.fr>
8785 * config: New directory.
8786 * configure.in: AC_CONFIG_AUX_DIR it.
8787 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8789 2001-05-22 Akim Demaille <akim@epita.fr>
8791 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8792 * autoupdate.in: Specify the Emacs mode.
8793 * acversion.m4.in: Rename as...
8794 * acversion.m4: this.
8795 * tests/Makefile.am (CLEANFILES): More garbage.
8797 2001-05-22 Akim Demaille <akim@epita.fr>
8799 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8801 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8804 2001-05-21 Akim Demaille <akim@epita.fr>
8806 * configure.in: Bump to 2.50a.
8810 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8812 This file is part of GNU Autoconf.
8814 GNU Autoconf is free software; you can redistribute it and/or modify
8815 it under the terms of the GNU General Public License as published by
8816 the Free Software Foundation; either version 2, or (at your option)
8819 GNU Autoconf is distributed in the hope that it will be useful,
8820 but WITHOUT ANY WARRANTY; without even the implied warranty of
8821 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8822 GNU General Public License for more details.
8824 You should have received a copy of the GNU General Public License
8825 along with autoconf; see the file COPYING. If not, write to
8826 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8827 Boston, MA 02110-1301, USA.