1 2005-07-05 Stepan Kasal <kasal@ucw.cz>
3 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
4 description, the macro now accepts only a single tag.
5 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
7 2005-07-05 Stepan Kasal <kasal@ucw.cz>
9 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
10 at_top_builddir, for compatibility with older autotest.
11 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
12 is not set, use at_top_builddir, for compatibility with older
15 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
17 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
18 Problem reported by Patrick Welche.
20 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
22 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
23 sed substitution command, so that we allow | in program prefixes
24 and program suffixes. (& is a problem anyway; we're not fixing
26 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
27 configure_input, top_builddir, srcdir, etc.
28 * lib/autotest/general.m4 (AT_INIT): Likewise, for
29 PATH_SEPARATOR in AUTOTEST_PATH.
31 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
33 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
34 for loop over config.site files using `set', to allow
35 directory names containing IFS characters.
37 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
39 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
40 directories with weird names. Apparently some people like living
41 on the edge. However, improve the test that "pwd" actually does
42 report a name for the working directory.
43 * NEWS: Remove the claim that we test for funny chars in dir names.
45 2005-07-01 Stepan Kasal <kasal@ucw.cz>
47 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
49 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
50 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
51 Now accept a single tag, not whitespace separated list.
52 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
54 2005-06-30 Stepan Kasal <kasal@ucw.cz>
56 * doc/autoconf.texi (Configuration Headers): Change the explanation
57 about #include <config.h>.
59 2005-06-30 Stepan Kasal <kasal@ucw.cz>
61 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
62 matches the order of execution. No code changed.
64 2005-06-30 Stepan Kasal <kasal@ucw.cz>
66 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
67 document to output the default config_* lists to config.status.
68 Don't recognize option --file, if the functionality is not there.
69 Likewise for --header; moreover, recognize --he and --h as shortcuts
70 for --help in that case.
72 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
74 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
75 single-quoted -cmdline argument in Portland Group compiler.
76 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
78 2005-06-30 Stepan Kasal <kasal@ucw.cz>
80 * doc/autoconf.texi (Generic Functions): Mention the Gnulib project.
81 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
83 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
85 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
87 2005-06-29 Stepan Kasal <kasal@ucw.cz>
89 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
90 descriptors to child processes; reported by Norman Gray.
92 2005-06-29 Stepan Kasal <kasal@ucw.cz>
94 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
95 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
97 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
98 the directory specific variables; but don't call it for configure_input.
100 2005-06-29 Stepan Kasal <kasal@ucw.cz>
102 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
104 2005-06-28 Derek Price <derek@ximbiot.com>
106 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
109 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
111 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
112 directory have inherent problems with special characters like spaces,
113 due to limitations in Make syntax. Problem reported by Alexandre
115 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
116 Also, fix Tru64 porting problem with shell patterns,
117 reported by Ralf Wildenhues.
119 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 * doc/autoconf.texi (Subdirectories): Fix markup typos.
123 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
125 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
127 Fix some more shell quoting problems. Prompted by a bug report
128 from Justace Clutter.
129 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
130 variable into diagnostic. Make the diagnostic an error, not a warning,
131 because we really don't support spaces and suchlike in dir names.
132 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
133 Don't worry about backslashes in srcdir; it can't happen now.
134 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
135 Simplify ac_optarg handling.
136 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
138 2005-06-22 Stepan Kasal <kasal@ucw.cz>
140 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
141 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
142 * tests/atlocal.in: Propagate $EGREP and $SED.
143 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
144 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
146 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
147 that '\|' is not allowed in BREs; recommend using newline separated
148 list of patterns instead of multiple -e options.
150 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
152 2005-06-22 Stepan Kasal <kasal@ucw.cz>
154 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
156 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
158 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
160 2005-06-21 Stepan Kasal <kasal@ucw.cz>
162 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
163 b, t, r, w commands require single space, while : cannot have any.
164 (Special Shell Variables): Fix sed code this in the example.
165 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
166 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
168 2005-06-21 Stepan Kasal <kasal@ucw.cz>
170 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
171 expand to the empty list. Don't use two pairs of m4_changequote,
174 2005-06-20 Derek Price <derek@ximbiot.com>
176 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
178 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
180 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
182 Don't mention Solaris versions so much, if a
183 problem is common to all extant versions of Solaris. Say "SunOS
184 4" instead of "SunOS" for SunOS 4.
185 (awk): Mention more of the limitations of traditional Awk.
186 (cat): Don't talk about cat -v.
188 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
190 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
191 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
192 but the implementation is entirely different and is designed
193 to be compatible with glibc strverscmp.
194 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
196 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
197 on Mac OS X 10.4 reported by Peter O'Gorman in:
198 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
199 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
200 Use shell builtins rather than 'expr', to work around expr bug.
202 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
204 * doc/autoconf.texi: "filesystem" -> "file system".
205 "behaviour" -> "behavior".
206 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
207 * lib/autoconf/general.m4: Omit blank after ":" sed command,
209 * lib/m4sugar/m4sh.m4: Likewise.
210 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
211 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
213 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
214 (.x.1): Ignore the time stamp in the .TH line when deciding whether
215 to update the man page. That way, we don't have to check in new
216 man pages every month.
218 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
219 quotes and backslashes. Patch from Derek Price.
221 2005-06-10 Derek Price <derek@ximbiot.com>
223 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
226 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
228 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
229 -u, since it outputs chatter if the input files are the same.
230 Problem reported by Ralf Menzel.
232 2005-06-08 Derek Price <derek@ximbiot.com>
234 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
235 renaming them since they are about to be redefined anyhow.
237 2005-06-08 Derek Price <derek@ximbiot.com>
239 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
240 redefined M4 macros to this node. Document m4_include & m4_sinclude.
241 Move m4_undefine to alphabetical order.
243 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
245 * README: Recommend GNU M4 1.4.3 or later.
246 * doc/autoconf.texi (Introduction): Likewise.
247 Reword to avoid some formatting glitches.
248 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
249 Clarify explanation of HP compiler bug.
250 Redo example output tp match current CVS snapshot.
251 Use @example.org in email addresses when the examples
252 might get inadvertently cut-and-pasted into user code.
253 Remove example of autom4te usage that doesn't seem to work now.
254 Use modern AC_INIT (except when the example is meant to be
255 shown with Autoconf 2.13).
256 Update ksh info for Solaris 9 and later.
258 Modernize description of Automake versions a bit.
259 Don't claim a future version of Autoconf is near.
260 * doc/install.texi: Reword to avoid some formatting glitches.
262 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
264 * doc/autoconf.texi: Add [] to examples, so that the manual
265 follows its own advice about quoting better.
266 Reword to avoid some formatting glitches.
267 * doc/installt.exi: Reword to avoid some formatting glitches.
269 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
270 Tru64 ksh pattern matching bug. Reported against Libtool by
271 Albert Chin <libtool@mlists.thewrittenword.com> and
272 Nicolas Joly <njoly@pasteur.fr>.
274 2005-06-06 Stepan Kasal <kasal@ucw.cz>
276 m4_cdr of one-member list was [[]] (one-member list containing an
277 empty string) instead of [] (an empty list. Callers were skewed to
278 match this misbehaviour. As a consequence of this:
279 - m4_foreach([x], [], [foo]) expanded to `foo', while
280 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
283 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
284 expand to an empty string; print error msg if called without
286 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
287 misbehaviour; handle [] and [[]] correctly.
289 2005-06-06 Stepan Kasal <kasal@ucw.cz>
291 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
292 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
293 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
295 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
297 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
298 swallow records with more than 99 fields.
299 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
302 2005-06-04 Stepan Kasal <kasal@ucw.cz>
304 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
305 swallow literals longer than 399. Reported by Ralf Wildenhues.
306 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
307 to workaround this limitation.
309 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
311 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
312 to gfortran, and make these the first two compiler names
313 checked (following the general autoconf preference for gcc).
315 2005-06-03 Stepan Kasal <kasal@ucw.cz>
317 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
318 (DISTCLEANFILES): Remove $(check_SCRIPTS).
319 (testsuite): Make sure autotest.m4f is up-to-date before using it.
321 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
323 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
324 expression of unbounded size when processing the --list
325 option. This runs afoul of a limit of 399 bytes per regular
326 expression on AIX. Problem reported by Ralf Wildenhues.
328 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
330 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
331 * doc/autoconf.texi (Particular Headers): Reword example
332 for multiline stdbool replacement.
333 (Setting Output Variables): Reword text a bit. Don't
334 give all the details about |#_!!_#|.
335 Reword description of line replacement.
337 2005-05-31 Dan Manthey <dan_manthey@partech.com>
339 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
340 now contain newlines, and substituted files must be referenced on
341 a line alone; the sed scripts to substitute them are now very
343 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
344 commands can be put in a sed script portably.
345 * doc/autoconf.texi (Setting Output Variables): Document above
346 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
347 use of multiline substitution.
348 * tests/torture.at: No longer expect substitution of newline to fail.
350 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
352 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
353 From Ralf Menzel (trivial change).
355 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
357 * tests/local.at: Don't attempt to check for negated character
358 classes in shell scripts. The test was too brittle.
360 2005-05-25 Stepan Kasal <kasal@ucw.cz>
362 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
363 * doc/autoconf.texi (Limitations of Builtins): Document this
366 2005-05-24 Stepan Kasal <kasal@ucw.cz>
368 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
369 common code; used in many places in the tree.
370 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
371 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
373 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
375 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
376 messages when ac_unique_file is not found.
377 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
378 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
379 commands, for consistency with AC_MSG_ERROR and such.
381 * bin/autoconf.as: Make more use of "shift 2" in option processing.
383 * bin/Makefile.am: Merge the two rules for creating scripts.
385 2005-05-23 Stepan Kasal <kasal@ucw.cz>
387 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
388 obsolete; it was never documented.
389 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
391 2005-05-20 Stepan Kasal <kasal@ucw.cz>
393 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
394 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
395 (ac_top_builddir): ... this ...
396 (ac_top_build_prefix): ... to this; the old name is also kept, for
397 backward compatibility.
398 (ac_top_builddir_sub): New variable, without the trailing slash,
400 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
401 * doc/autoconf.texi (Configuration Actions): Rename
402 ac_top_builddir to ac_top_build_prefix.
403 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
404 at_top_builddir to at_top_build_prefix.
405 * lib/autotest/general.m4 (AT_INIT): Likewise.
407 2005-05-20 Stepan Kasal <kasal@ucw.cz>
409 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
412 2005-05-17 Stepan Kasal <kasal@ucw.cz>
414 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
415 argument to m4_foreach. I guess it was necessary in the past,
416 but I think it's a no-op now.
418 2005-05-17 Stepan Kasal <kasal@ucw.cz>
420 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
421 ``cat <<_ACEOF'' commands to one.
422 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
423 * lib/autoconf/status.m4: On various places, use expr instead of
425 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
426 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
427 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
429 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
430 the wrong patterns between ``case'' and ``esac.'' The previous
431 code had false positives.
433 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
435 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
437 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
440 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
442 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
443 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
444 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
445 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
446 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
447 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
448 config/config.guess, config/config.sub, config/elisp-comp,
449 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
450 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
451 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
452 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
453 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
454 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
455 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
456 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
457 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
458 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
459 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
460 lib/autoconf/general.m4, lib/autoconf/headers.m4,
461 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
462 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
463 lib/autoconf/specific.m4, lib/autoconf/status.m4,
464 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
465 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
466 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
467 lib/autotest/general.m4, lib/emacs/Makefile.am,
468 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
469 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
470 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
471 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
472 tests/compile.at, tests/foreign.at, tests/fortran.at,
473 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
474 tests/semantics.at, tests/suite.at, tests/tools.at,
475 tests/torture.at, tests/wrapper.as:
476 Update FSF postal mail address.
478 2005-05-13 Stepan Kasal <kasal@ucw.cz>
480 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
482 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
483 enough arguments, similarly as in m4_bpatsubsts.
485 2005-05-12 Stepan Kasal <address@hidden>
487 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
490 2005-05-11 Stepan Kasal <kasal@ucw.cz>
492 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
493 for absolute directory names in one loop.
494 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
495 abbreviations of --version and --debug.
497 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
499 * doc/autoconf.texi (Autoconf Language): Be more precise about
500 quoting rules. Problems noted by Stepan Kasal.
501 Also, throughout this document, be more careful about white space.
502 "blank", "white space", and "space" all have different meanings
503 and we should be careful to say what we mean.
505 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
507 Fix C++ related problems reported by Werner Lemberg.
508 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
509 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
510 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
511 avoid problems with C++ and throw.
512 * tests/compile.at: .cpp, not .cc.
514 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
516 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 * doc/autoconf.texi (Generic Functions): Typos.
520 2005-05-02 Gary V. Vaughan <gary@gnu.org>
522 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
523 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
524 set by latest automake.
526 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
528 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
529 outputs 0 on GNU/Linux these days.
531 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
533 * doc/autoconf.texi (Autoconf Language): Add more description
534 about quoting heuristics.
535 (Limitations of Builtins): Describe "set -" problems.
537 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
539 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
542 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
543 by AC_DEFINE; it was a mistake.
544 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
546 2005-04-25 Stepan Kasal <kasal@ucw.cz>
548 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
550 2005-04-22 Stepan Kasal <kasal@ucw.cz>
552 * doc/autoconf.texi (External Software): Quadrigraphs are not
553 processed correctly in AS_HELP_STRING; avoid this in the examples.
554 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
555 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
556 comment and reduce m4_default([foo], []) to [foo].
557 (m4_strip): Update the explanation.
559 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
561 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
562 Remove core.conftest.* too; it's generated by Tru64 5.1.
563 Problem reported by Jennis Pruett.
564 * lib/autoconf/functions.m4
565 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
566 Don't bother to remove core files; AC_RUN_IFELSE should do that
569 2005-04-19 Stepan Kasal <kasal@ucw.cz>
571 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
573 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
575 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
576 Report from Horst Wente.
578 2005-04-15 Stepan Kasal <kasal@ucw.cz>
580 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
583 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
585 * doc/autoconf.texi (External Software, Package Options): Add
586 examples showing how to implement --with-* and --enable-* options.
588 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
590 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
591 as well as configure.in. Problem reported by Gregorio Guidi.
593 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
595 * doc/autoconf.texi (Particular Functions): Use gnulib's current
596 pattern for alloca snippet.
598 2005-04-04 Stepan Kasal <kasal@ucw.cz>
600 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
602 2005-04-01 Stepan Kasal <kasal@ucw.cz>
604 * doc/autoconf.texi (Generic Programs): Fix a typo.
606 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
608 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
609 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
611 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
613 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
614 Merge `-z option' as well for the benefit of Solaris link flags. Pass
615 whole-archive (-zallextract, -zdefaultextract) options in the hope of
616 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
617 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
619 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
621 * NEWS: The configure command now warns you if you attempt to use
622 a directory whose name contains a special character like space,
624 * doc/autoconf.texi (Installation Directory Variables): Allow
625 "," in file names. Do not use \@; it's not a portable regexp.
626 * bin/Makefile.am (edit): Likewise.
627 * lib/Makefile.am (edit): Likewise.
628 * tests/Makefile.am (edit): Likewise.
629 * tests/semantics.at: Likewise.
630 * tests/torture.at: Likewise.
631 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
632 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
633 * doc/autoconf.texi (File System Conventions): Warn about
634 unportable file names.
635 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
637 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
638 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
639 ac_pwd, and quote srcdir.
640 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
642 * doc/autoconf.texi: Fix some systematic formatting problems.
643 ".)" needs a following @: if not at the end of a sentence, and
644 similarly for "!)". "etc." should be preceded by a comma.
645 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
647 2005-03-22 Bruno Haible <bruno@clisp.org>
649 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
650 argument is often called 'build-aux'.
652 2005-03-07 Stepan Kasal <kasal@ucw.cz>
654 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
655 macro AC_TRY_LINK is obsolete.
656 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
659 2005-02-24 Stepan Kasal <kasal@ucw.cz>
661 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
662 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
663 from a Common Lisp's `cl'.
664 (AC_PROG_CXX): Behave according to the documentation: don't
665 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
666 make the variable CCC precious; use `cl.exe', not `cl'.
668 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
669 Alexandre Duret-Lutz <adl@gnu.org>
671 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
672 /dev/null, as "configure" shouldn't read stdin, and this insulates
673 us from problems (e.g., when testing for "cl"). Also, do this
674 redirection before invoking "hostname" or "uname", and keep the
675 original input stream available via...
676 (AS_ORIGINAL_STDIN_FD): ... this new macro.
677 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
678 bother with "</dev/null" since it's now done at the top of
680 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
681 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
682 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
683 * doc/autoconf.texi (File Descriptor Macros): New section.
684 (Printing Messages): Mention it.
685 * tests/base.at (Input/Output): New test.
687 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
689 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
690 newline if neither \c nor -n work, as that would output two
691 newlines. Prefer -n to \c. Reported by Stepan Kasal.
693 2005-02-12 Stepan Kasal <kasal@ucw.cz>
695 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
696 This causes that any required macros inside will get before the if.
697 * doc/autoconf.texi (autom4te.cache): A typo.
699 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
701 Undo previous change, except keep the change to
702 lib/autoconf/programs.m4 that replaced grep with shell
703 pattern-matching. This is because net-snmp configure reads stdin.
704 Reported by Noah Misch.
706 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
708 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
709 from /dev/null, as "configure" shouldn't read stdin, and this
710 insulates us from problems (e.g., when testing for "cl").
711 Suggested by Alexandre Duret-Lutz. Also, do this redirection
712 before invoking "hostname" or "uname".
713 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
714 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
715 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
716 "</dev/null" since it's now done at the top of 'configure'.
717 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
718 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
719 Also, replace grep with shell pattern-matching, to save a process.
721 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
723 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
724 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
725 avoid thinking that Allegro Common Lisp's "cl" command is a C++
728 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
730 * doc/autoconf.texi (Limitations of Usual Tools): Document that
731 grep -q isn't portable. Improve grep -s explanation.
732 Problem reported by Dan Manthey.
734 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
736 * doc/autoconf.texi (Special Shell Variables): Clarify
737 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
739 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
741 * doc/autoconf.texi: Use @acronym for DJGPP.
742 Fix some @code's that should have been @env's, and vice versa.
743 Sort environment variable names.
744 Mention that shells no longer inherit IFS.
745 Don't recommend PATH_SEPARATOR=';' so strongly.
746 Mention that $RANDOM might expand to the empty string.
747 "symlink" and "soft link" -> "symbolic link".
748 Improve mktemp description (reported by Bruno Haible).
750 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
752 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
753 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
755 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
758 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
760 * NEWS: Mention AT_COPYRIGHT.
762 * tests/local.at (AT_CMP): Use diff directly on input files rather
765 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
766 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
768 2005-02-04 Noah Misch <noah@cs.caltech.edu>
769 and Paul Eggert <eggert@cs.ucla.edu>
771 * tests/autotest.at (Empty test suite): New test.
772 * tests/torture.at (Substitute and define special characters)
773 (Substitute a 2000-byte string, Define to a 2000-byte string)
774 (Substitute a newline, Define a newline): New tests.
776 2005-02-04 Noah Misch <noah@cs.caltech.edu>
778 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
779 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
780 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
781 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
782 (Standard regular expressions): New test.
783 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
784 excess test name quoting.
785 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
786 CPPFLAGS to `configure' instead of setting it in `configure'.
788 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
789 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
792 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
793 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
795 * tests/local.at (AT_CMP): New macro.
796 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
797 (AC_SAVE_STATE): Move environment grep...
798 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
799 (AT_CONFIG_CMP): New macro.
800 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
801 * tests/c.at (Extensions): Do not exit early.
802 * tests/atlocal.in: Inherit $GREP.
804 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
805 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
807 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
808 (AC_COPYRIGHT): Factor header comment portion out and move into...
809 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
810 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
811 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
813 * tests/local.at: Add Autoconf test suite copyright notice.
814 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
816 2005-02-04 Bruno Haible <bruno@clisp.org>
817 and Paul Eggert <eggert@cs.ucla.edu>
819 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
821 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
823 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
824 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
826 Try not to generated lines of unlimited length, as POSIX places a
827 2047-byte limit on line length of portable text files.
828 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
829 Use newline as a separator, not space.
830 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
831 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
834 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
836 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
837 as_func_*. Add test to check whether positional parameters
838 are restored after function return.
840 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
842 * doc/autoconf.texi (Special Shell Variables): Mention _,
843 BIN_SH, DUALCASE. Say that variables other than "status" are safe
844 if they contain a lower-case letter. The DUALCASE problem was
845 reported by Ralf Wildenhues.
847 * bin/autoconf.as: Don't exit with status 0 after write failure
848 with --help or --version.
849 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
850 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
852 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
854 * doc/autoconf.texi (Limitations of Usual Tools):
855 Unicos 9 sed limitations.
856 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
857 to get the option-enhanced interface on older Crays. Try ftn for
858 Fortran 95 (newer Crays).
860 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
862 * man/Makefile.am (.x.1): Go back to the simple solution, but take
863 care to echo the commands, so the user knows what's going on.
864 Modified from a suggestion by Stepan Kasal.
866 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
867 with a cross reference. Derived from a suggestion by Bruce Korb.
869 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
871 * doc/autoconf.texi (config.status Invocation): Warn about
872 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
873 * doc/install.texi (Defining Variables): Likewise.
874 Based on a proposed patch by Ralf Wildenhues.
876 * man/Makefile.am (.x.1): Make sure the required generated files
877 are up to date. Problem and original solution proposed by Stepan Kasal.
878 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
879 implicit-man-prerequisites): New rules, used by the above.
881 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
882 * config/config.guess, config/config.sub, config/install-sh: Likewise.
883 * config/missing, config/texinfo.tex: Likewise.
885 2005-01-29 Stepan Kasal <kasal@ucw.cz>
887 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
888 Update the long comment explaining it.
890 m4_require no longer writes an ``is required by'' line to the
891 execution stack. It contains only one bit of non-redundant
892 information: that the macro was required, not called. And even
893 this bit is useless in most situations: have you ever met a macro
894 which both calls and requires the same macro?
896 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
897 (_m4_defun_pro_outer): ... only via this macro, for the outermost
899 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
900 (m4_expansion_stack_pop): Remove the misplaced comment.
901 (m4_require): Don't put the ``is required by'' line to the
902 execution stack; slightly improve the out-of-a-defun error message.
903 (_m4_divert_grow): New macro, counter for the temporary diversions.
904 (_m4_require_call): Use it.
905 * tests/m4sugar.at (m4_require): Expect output without the
906 ``is required by'' messages.
908 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
910 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
911 rather than x for expr.
913 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
915 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
916 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
917 * lib/autotest/general.m4 (AT_INIT): Likewise.
918 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
919 * tests/mktests.sh: Likewise.
921 2005-01-27 Akim Demaille <akim@epita.fr>
923 Have autoheader honor --force.
925 * doc/make-stds.texi, doc/standards.texi: Update from masters.
926 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
927 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
928 from masters, so that FileUtils.pm's update_file provide --force
930 * bin/autoheader.in: Pass $force to update_file so that
931 config.h.in is always recreated when --force.
933 2005-01-24 Stepan Kasal <kasal@ucw.cz>
935 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
937 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
939 * doc/autoconf.texi (Limitations of Builtins): Clarify that
940 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
942 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
944 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
945 Warn about newline stripping in `` and $(). Update Solaris
947 (Limitations of Builtins): Use expr "X...", not expr "x...", as
948 X insulates us from future changes to Posix.
949 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
952 2005-01-19 Stepan Kasal <kasal@ucw.cz>
954 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
955 you cannot use AC_DEFINE to define macros containing `[' or `]'.
957 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
959 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
960 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
961 bug-tar mailing list.
963 2005-01-05 Stepan Kasal <kasal@ucw.cz>
965 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
967 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
969 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
970 ulongval to be static, to avoid unwanted GCC warning. Problem
971 reported by Michael Jennings via Daniel Reed; see
972 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
974 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
976 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
977 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
978 datadir, infodir, and mandir. Adjust argument parsing code.
979 (_AC_INIT_HELP): Update help text.
980 * doc/autoconf.texi (Installation Directory Variables): Document
983 2005-01-04 Noah Misch <noah@cs.caltech.edu>
985 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
986 not seem to work, assume it does set $(MAKE).
987 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
989 2005-01-03 Stepan Kasal <kasal@ucw.cz>
991 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
993 2005-01-03 Stepan Kasal <kasal@ucw.cz>
995 A cleanup of the diversion support in m4sugar.
997 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
998 (_m4_divert_n_stack): New macro; the expansion is
999 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
1001 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
1002 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
1003 stored in _m4_divert_diversion or _m4_divert_dump.
1004 (m4_divert_pop): When the parameter is given, compare the symbolic
1005 name with the last diversion pushed on the stack. Previously, the
1006 current diversion was compared with the numeric value of the
1007 diversion given as the parameter.
1008 (m4_require): If the macro hasn't been expanded yet, call ...
1009 (_m4_require_call): this new macro.
1011 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1013 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
1014 Workarounds for documented `case' limitations.
1016 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1018 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
1019 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
1021 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
1023 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
1024 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
1025 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
1027 Patch from Roger Leigh (with some minor changes) as follows:
1028 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
1029 Resurrect AC_PROG_CC_STDC.
1030 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
1031 AC_PROG_CC_C89, AC_PROG_CC_C99.
1032 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
1033 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
1034 AC_PROG_CC_C99): New macros.
1035 (AC_PROG_CC_STDC): Use them.
1036 (_AC_PROG_CC_STDC): Remove.
1037 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
1038 * THANKS: Add Roger Leigh.
1040 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1042 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
1043 signals that the package uses Automake; a `Makefile.am' is typical but
1044 not essential. Reported by Magnus Therning.
1045 * tests/torture.at (autoreconf.): New banner.
1046 (autoreconf and non-AC configure): Rename to `Non-Autoconf
1048 (autoreconf an empty directory): Rename to `Empty directory'.
1049 (Unusual Automake input files): New test.
1051 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1053 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
1054 (AT_SETUP): Clear AT_capture_files.
1055 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
1056 (AT_KEYWORDS): Fix comment typo.
1057 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
1058 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
1059 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
1061 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
1063 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1064 If the variable to set is already set, set ac_cv_path_$1
1065 to the preset value so caller can assume ac_cv_path_$1
1066 is available. (trivial change)
1068 2004-12-27 Noah Misch <noah@cs.caltech.edu>
1070 * BUGS (Minor Problems): Warn about makefile limitations.
1071 * Makefile.am: Find and update `INSTALL' in $(srcdir).
1072 * man/Makefile.am: Find and update manual pages in $(srcdir).
1074 2004-12-24 Eric Blake <ebb9@byu.net>
1076 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
1077 shells in subshell, to avoid noise from ash. (trivial change)
1079 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1081 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1082 problems with SunOS ksh and backslash escaping, Bourne shells and
1083 closing brackets (both within character classes). Bug reported
1084 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
1085 <read>: New entry. Mention non-availability of -r.
1087 2004-12-21 Akim Demaille <akim@epita.fr>
1089 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
1090 avoid cluttering displayed messages. Rather, prepend srcdir where
1091 AT_LINE is used for log files.
1093 2004-12-21 Stepan Kasal <kasal@ucw.cz>
1095 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
1096 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
1097 no longer part of the macro, quote the occurrence of ``$tmp''.
1098 * doc/autoconf.texi (Forbidden Patterns): Typo.
1100 2004-12-21 Akim Demaille <akim@epita.fr>
1102 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
1103 separated from the test title by forcing a white space.
1105 2004-12-21 Akim Demaille <akim@epita.fr>
1107 Enable Emacs navigation within testsuite.log files.
1109 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1110 use the compilation mode.
1111 (AT_LINE): Point to the srcdir.
1113 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1115 * tests/Makefile.am (installcheck-local): Use $(bindir).
1116 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1117 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1118 Makefile.am scheme Autoconf now uses.
1120 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1122 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1123 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1125 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1127 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1128 (_AT_CHECK): Use it.
1129 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1130 (AS_ESCAPE): Fix comment.
1131 * tests/autotest.at: Adjust section banner comments.
1132 (AT_CHECK_AT): Accept STATUS and STDERR.
1133 (AT_CHECK_AT_TEST): Likewise.
1134 (Invalid brace-enclosed parameter expansion)
1135 (Multiline command from M4 expansion)
1136 (Double-M4-quoted command): New tests.
1138 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1140 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1142 2004-12-17 Akim Demaille <akim@epita.fr>
1144 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1146 Suggested by Alexandre Duret-Lutz.
1147 * doc/autoconf.texi (Setting Output Variables): Catch up.
1149 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1151 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1153 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1155 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1156 remove the comment which said we cannot.
1158 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1160 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1161 Reini Urban and Paul Eggert for reporting the dependencies.
1163 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1164 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1165 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1167 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1169 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1170 so that eg. ``autoscan --help'' doesn't truncate it.
1172 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1174 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1175 generated conftest files.
1177 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1179 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1180 tracing on commands with possibly-escaped newlines.
1181 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1182 discontinued behavior and its implications.
1183 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1184 (BSx641-newline in command, BS-BS-newline in command)
1185 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1186 (Single-quote-BS-newline in command)
1187 (Single-quote-newline-BS-newline in command): New tests.
1189 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1191 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1192 on platforms where it works.
1193 (_AS_TEST_PREPARE): Test for ``test -x''.
1194 (_AS_BROKEN_TEST_PREPARE): Nuke.
1196 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1198 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1199 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1200 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1201 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1202 create the temporary directory.
1203 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1205 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
1207 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1210 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
1212 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1214 2004-12-11 Noah Misch <noah@cs.caltech.edu>
1216 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1217 to avoid using a negated character class. Reported by Nicolas Joly.
1218 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1220 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
1222 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1223 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1224 Don't depend on .x file explicitly, since "make" does that for us.
1225 Suggested by Stepan Kasal.
1227 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1229 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1230 ifnames): Factor common code. And they said it couldn't be done!
1232 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1234 * bin/.cvsignore: Add autoconf.in.
1235 * tests/.cvsignore: Add wrapper.in.
1236 * lib/autotest/general.m4: Escape '$' in case pattern.
1238 2004-12-09 Noah Misch <noah@cs.caltech.edu>
1240 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1242 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1244 * tests/autotest.at: New file.
1245 * tests/suite.at: Include it.
1246 * tests/Makefile.am: Distribute it.
1248 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1249 shell tracing on a command that could contain multiple lines.
1250 * doc/autoconf.text: Document that fact and its implications.
1251 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1252 * tests/autotest.at (Multiline backquote command substitution,
1253 Multiline parameter expansion, Literal multiline command,
1254 Multiline parenthetical command substitution): Remove XFAIL.
1256 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1258 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1259 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1261 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1263 * configure.ac (test suite): Cease to generate wrapper scripts.
1264 * configure: Regenerate.
1265 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1266 (m4f_dependencies): Adjust accordingly.
1267 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1268 (wrapper.in): Generate it in the build directory.
1269 (MAINTAINERCLEANFILES): Delete wrapper.in.
1270 (CLEANFILES): Add wrapper.in.
1271 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1272 the output. Replace each $as_me with a @wrap_program@.
1273 * tests/wrapper.in: Delete it; we always build it.
1275 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1276 (EXTRA_DIST): Remove autoconf.in.
1277 (CLEANFILES): Add autoconf.in.
1278 (autoconf): Find autoconf.in in the build directory.
1279 * bin/autoconf.in: Delete it; we always build it.
1281 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1283 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1284 PATH members so as to not prepend an empty element. Move a comment.
1285 * Makefile.am (SUBDIRS): Build in `tests' last.
1286 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1288 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1290 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1291 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1292 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1293 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1295 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1297 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1300 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1302 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1303 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1304 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1306 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1308 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1309 out the common code to ...
1310 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1311 value of the #define--default to 1, iff the macro was called
1312 with exactly one parameter.
1314 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1316 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1317 "char c = '\200';" rather than "char c = 0x80;" as the
1318 latter doesn't conform to the strict C standard due to
1319 overflow on signed char hosts.
1321 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1322 to -qlanglvl=ansi. We don't want to disable extensions.
1324 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1326 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1327 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1328 Reword slightly to avoid some English-language problems noted
1329 by Ralf Wildenhues in:
1330 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1332 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1334 * NEWS: Add ^L above each release.
1336 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1338 Fix documentation problems reported by Russ Boylan in
1339 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1340 along with some nearby cruft.
1341 * doc/autoconf.texi (Libtool): Libtool can be used without
1342 Automake (not without Autoconf).
1343 (Introduction): Mention lists.gnu.org.
1344 * BUGS: Don't mention bugs.gnu.org.
1345 Remove mention of ancient libtool compatibility problem.
1346 * NEWS: Mention that bugs.gnu.org is kaput.
1347 * README: Likewise. Mention where mailing list archives can be found.
1349 2004-11-28 Stepan Kasal <address@ucw.cz>
1351 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1352 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1354 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1356 * doc/autoconf.texi (Pretty Help Strings): Go back to
1357 single-quoting assignments to cache variables.
1359 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1361 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1362 with the examples; fix the bug in MY_ARG_WITH example reported
1363 by Alexandre Duret-Lutz.
1364 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1365 expansion of $1 in the comment emitted to configure.
1367 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1369 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1370 in my editing of the previous patch. Problem reported
1371 by Alexandre Duret-Lutz.
1373 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1375 * doc/autoconf.texi (Autoconf Language): Explain that
1376 ``descriptions'' may not be double quotes.
1377 (Quotation Rule Of Thumb): Likewise.
1378 (Pretty Help Strings): Likewise; remove the wrong comment;
1379 simplify the examples and improve their quoting.
1381 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1383 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1384 the $1_found variable, don't test whether the file is executable;
1385 Both things are checked ...
1386 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1387 the former ``test -f''.
1388 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1390 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1392 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1395 2004-11-10 Derek R. Price <derek@ximbiot.com>
1397 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1398 limitations. Reorder paragraphs for clarity.
1400 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1402 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1403 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1404 variants", "Unix", and some related minor wording fixups.
1406 (Shellology, Special Shell Variables): Document that the Zsh
1407 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1408 to Alexandre Duret-Lutz for this info.
1410 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1412 * doc/autoconf.texi (One-Shot Macros): New node.
1414 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1416 * doc/autoconf.texi (Function Portability): Fix misdescription
1417 of putenv. Problem reported by Michael Wardle.
1419 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1421 * doc/autoconf.texi (auindex): New macro.
1422 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1423 Problem reported by Stepan Kasal.
1425 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1427 Fix problems reported by Andreas Buening in:
1428 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1429 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1431 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1432 readable; it's not true in OS/2-emx.
1434 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1436 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1437 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1438 (trivial change). Problem and patch reported by Andrew Church in:
1439 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1441 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1443 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1444 three args in examples. Problem reported by Frederik Fouvry in:
1445 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1446 Also, fix some minor spacing and punctuation bugs.
1448 2004-09-02 Akim Demaille <akim@epita.fr>
1450 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1451 "case" to restore ordering.
1452 Reported by Stepan Kasal.
1454 2004-08-26 Akim Demaille <akim@epita.fr>
1456 * doc/autoconf.texi: Minor typos and stylos.
1458 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1460 * configure.ac (AC_INIT): Bump to 2.59c.
1462 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1466 * README: Add advice about m4 1.4.2.
1468 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1469 texinfo.tex for now (done by hand now).
1470 * Makefile.maint (wget_files, cvs_files):
1471 Remove ansi2knr.c; nobody uses it.
1472 (ansi2knr.c-url_prefix): Remove.
1473 (cvs-update): Fix test for failure. I don't know why it ever
1476 * doc/autoconf.texi: Update URLs, some of which went stale.
1477 Use @uref rather than @href.
1479 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1480 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1482 * config/config.guess, config/config.sub, config/elisp-comp,
1483 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1484 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1486 * NEWS, TODO, configure.ac, bin/autoscan.in,
1487 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1488 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1489 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1490 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1491 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1492 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1493 tests/tools.at, tests/torture.at:
1494 Use "file name" rather than "filename" or "path",
1495 to be consistent with the terminology of the GNU coding standards.
1497 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1499 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1500 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1501 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1502 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1504 More fixes to support spaces in the name of the build directory.
1505 This isn't a complete fix but it's an improvement.
1507 * bin/autoconf.as (autom4te_options): New var.
1508 Use it instead of appending to AUTOM4TE, so that we can allow
1509 spaces in the build directory's absolute name.
1510 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1511 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1512 AT_CHECK_NOESCAPE): Likewise.
1513 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1514 main program): Likewise.
1516 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1518 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1519 From Ralf Corsepius in:
1520 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1522 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1524 * doc/autoconf.texi (Function Portability): Document isinf and
1525 and isnan. From a suggestion by Kevin Ryde.
1527 * lib/Autom4te/General.pm (END): Return correct exit status even
1528 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1530 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1532 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1533 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1534 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1536 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1538 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1539 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1540 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1541 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1542 * lib/autom4te.in (Automake-preselections): Preselect
1543 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1545 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1547 * lib/autom4te.in (Automake-preselections): Preselect
1548 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1551 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1553 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1555 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1556 Document problem with "`""`" in pdksh POSIX mode.
1558 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1560 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1561 with pdksh, too. Problem reported by Patrick Welche via
1563 * doc/autoconf.texi (Shellology): Note that set -o posix is
1564 useful for pkdsh, too.
1566 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1568 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1569 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1570 Don't fail if ENV or BASH_ENV is readonly.
1571 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1572 etc. are read only. Problem reported by Ludovic Courtes.
1574 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1576 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1577 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1580 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1582 * doc/autoconf.texi (File System Conventions): Warn about
1583 names like "aux". Problem reported by Eric Blake.
1585 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1586 by zero instead of array size, so that we can use any arithmetic
1587 constant expression (instead of requiring an integer constant
1588 expression). This allows us to test expressions like DBL_MAX <
1589 LDBL_MAX, which didn't conform to the C standard using the old
1591 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1592 now that we can do floating-point tests at compile time.
1594 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1596 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1597 and LDBL_EPSILON, as the resulting expression isn't an
1598 integer constant expression and violates the C standard.
1599 Problem reported by Nelson H. F. Beebe. Also, check
1600 for "L" suffix, and check that long double doesn't have
1601 worse range or precision than double, that mixed-mode
1602 arithmetic doesn't generate a diagnostic, that double
1603 constants fit in long double.
1605 2004-06-03 Kevin Ryde <user42@zip.com.au>
1607 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1608 malloc(0) and realloc(NULL,size).
1610 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1613 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1615 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1616 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1619 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1621 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1622 can be rewritten using if-then-else. Suggested by Bruno Haible.
1624 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1626 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1627 Problem reported by Stepan Kasal.
1629 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1631 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1632 change). Patch reported by Ralf Wildenhues in
1633 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1635 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1636 function F exists if the compiler and linker let you compile an
1637 expression like (F != 0). Recent versions of GCC optimize away
1638 the reference to F in that case, since every function address must
1639 be nonzero, so the link succeeds even if F does not exist.
1640 Problem reported by Manu in
1641 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1643 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1644 "Unix". Many uses changed.
1645 (Limitations of Builtins): Explain better why the ! command isn't
1648 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1650 * lib/autom4te.in (Automake-preselections): Preselect
1651 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1653 2004-05-19 Kevin Ryde <user42@zip.com.au>
1655 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1656 referencing AC_FUNC_STRERROR_R.
1658 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1659 note pessimistic assumption when cross compiling.
1661 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1663 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1664 (until 2004) invoked subcommands with sh -e, contra POSIX.
1665 Reported by Kevin Ryde.
1667 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1669 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1670 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1671 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1672 `test -f " /usr/bin/grep"', which _always_ failed.
1673 (AC_PROG_SED): Ditto bogus PATH fix.
1674 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1675 requires that grep correctly supports _multiple_ `-e' options, rather
1676 than stating only that grep should accept `-e'.
1678 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1680 Port to C99, which requires that 'exit' be declared.
1682 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1683 to ensure that stdlib.h is included.
1684 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1685 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1686 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1687 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1688 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1689 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1690 when using 'exit' in a test; C99 requires that 'exit' be declared.
1692 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1694 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1695 now prefers 'grep' implementations that accept -e.
1696 (Limitations of Usual Tools): Describe problems of traditional
1697 egrep and fgrep with long input lines, and of traditional grep
1699 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1700 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1701 All callers changed. Append /usr/xpg4/bin to the PATH, for
1703 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1704 the user with complaints about multiple -e options.
1705 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1706 Define it with AC_PROG_GREP.
1707 * configure.ac (AC_PROG_GREP): Add.
1708 * lib/freeze.mk (GREP): New macro.
1710 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1712 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1713 a possible candidate only after all others fail, rather than
1714 consulting it first. This improves backward compatibility by
1715 better reflecting the way shell selection occurred in previous
1716 versions of Autoconf, and should help to avoid triggering latent
1717 problems in other packages, such as the one in Automake where zsh
1718 is not handled robustly:
1719 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1720 Although it is not Autoconf's responsibility to work around
1721 problems in Automake, it nevertheless makes sense to avoid
1722 introducing unnecessary incompatibilites.
1724 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1725 Gary V. Vaughan <gary@gnu.org>
1727 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1728 how deeply nested we are when a suitable tool is found, set the
1729 ac_path_TOOL_found flag.
1730 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1731 nested we are in this macro. Break out of all 3 nested loops if
1732 ac_path_TOOL_found is set.
1734 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1736 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1737 of the _AS_PATH_WALK loop too if GNU flavor is found.
1739 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1741 * doc/autoconf.texi (Limitations of Make): Update documentation
1742 for `$<'. New entry `Long lines', based on a report from Simon
1743 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1744 paragraph about DJGPP, based on a mail from Richard Dawe.
1746 2004-04-20 Paul Eggert <eggert@twinsun.com>
1748 * tests/c.at (C keywords): Don't assume that GCC supports
1749 "restrict" and "inline", as sufficiently-old GCC versions do not
1750 (also, GCC configured to be in pedantic C89 mode does not).
1751 Problem reported by Sumit Pandya in:
1752 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1754 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1755 consider -g to work if it generates warnings when plain compiles
1756 don't. Problem reported by Braden McDaniel in:
1757 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1759 * doc/autoconf.texi (Slashes): New section, to document a problem
1760 reported by Jim Meyering in:
1761 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1763 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1764 linker output files before linking, to work around IRIX 6 linker bug.
1765 Problem reported by Rainer Orth in:
1766 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1768 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1770 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1771 best tool so far counter rely on the tool path variable name to
1772 avoid checks for one tool being affected by the results of running
1773 the length check on a previous tool.
1775 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1776 match expression argument, as different greps have different
1777 regular expression flavours.
1778 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1780 (AC_PROG_EGREP): Pass 'EGREP$'.
1781 (AC_PROG_GREP): Pass 'GREP$'.
1783 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1785 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1786 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1788 2004-03-29 Paul Eggert <eggert@twinsun.com>
1790 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1791 Types, Specific Compiler Characteristics, System Services,
1792 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1793 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1794 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1795 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1797 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1798 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1799 AC_TYPE_OFF_T): Likewise.
1800 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1803 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1804 pacify libtool 1.5.2. Fix quoting problems in sed command.
1806 2004-03-28 Paul Eggert <eggert@twinsun.com>
1808 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1809 now defines HAVE_DECL_TZNAME if it is declared, when
1810 HAVE_STRUCT_TM_TM_ZONE is not defined.
1811 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1812 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1815 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1817 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1818 superfluous backslashing of quotes (") in sed expressions;
1819 thanks to Paul Eggert.
1821 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1823 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1824 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1825 H. F. Beebe for the bug report.
1827 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1829 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1830 quoted -cmdline argument in Portland Group compiler (bug
1831 reported by Jeffrey J. Barteet).
1833 2004-03-25 Kevin Ryde <user42@zip.com.au>
1835 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1836 (Run Time): ... here, where it's now mentioned.
1838 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1840 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1841 inherits from language Autoconf-without-aclocal-m4.
1842 (Customizing autom4te): Adjust example; the cache must now be
1843 disabled for language Autoconf-without-aclocal-m4.
1845 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1846 Nathanael Nerode <neroden@twcny.rr.com>
1848 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1849 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1851 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1852 AC_CHECK_TARGET_TOOLS): New macros.
1853 * doc/autoconf.texi (Generic Programs): Document
1854 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1855 AC_CHECK_TARGET_TOOLS, and warn for future changes
1856 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1858 (Specifying Names): Document the reason for these future
1860 * tests/mktests.sh: Do not generate tests for the
1862 * NEWS: Document these changes.
1864 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1865 they make TeX hang up.
1867 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1869 * NEWS: New macro AC_CHECK_ALIGNOF.
1870 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1871 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1872 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1874 (AC_CHECK_ALIGNOF): New macro.
1875 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1876 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1879 2004-03-03 Paul Eggert <eggert@twinsun.com>
1881 * bin/Makefile.am (edit): Don't use $< in a context where
1882 POSIX doesn't require support for it. Use $@.in instead.
1883 Problem reported by Anthony N. Frasso in
1884 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1885 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1887 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1889 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1890 from the next generation of Libtool.
1891 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1893 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1895 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1896 is not always thread-safe. Report from Nathanael Nerode.
1898 2004-02-18 Paul Eggert <eggert@twinsun.com>
1900 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1901 problem on QNX reported by Stephen Rasku in
1902 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1904 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1905 $(m4sh_m4f_dependencies); this removes a FIXME.
1906 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1907 (MAINTAINERCLEANFILES): Split into pieces,
1908 one per related section. Add $(srcdir)/wrapper.in.
1910 2004-02-09 Paul Eggert <eggert@twinsun.com>
1912 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1913 AC_SUBST provides no portable way to escape literal newlines.
1915 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1916 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1917 Darwin uses -lcrt2.o and there's little point to cataloging all
1918 the system variants. Partial fix reported by Andreas Waechter in:
1919 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1920 for bug reported by Nelson H. F. Beebe in:
1921 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1923 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1925 * doc/autoconf.texi (AU_DEFUN): Fix English,
1926 suggested by Paul Eggert.
1927 * lib/autoconf/autoupdate.m4: Correct reference to
1928 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1930 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1932 * bin/autoupdate.in: Define __file__ so that warnings
1933 refer to the correct file.
1934 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1935 the behavior of the third argument.
1936 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1937 correctly the behavior of the third argument. Document
1938 what the three macros that AU_DEFUN defines do. Fix
1939 warning message when the third argument includes $0
1940 (reported by Alexandre Duret-Lutz).
1942 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1943 Eric Sunshine <sunshine@sunshineco.com>
1944 Paul Eggert <eggert@twinsun.com>
1946 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1947 (AS_INIT): Output shell initialization there. Removed optional
1948 parameter. Expand _AS_SHELL_FN_SPY.
1949 (AS_INIT_WITH_SHELL_FN): Removed.
1950 (_AS_SHELL_FN_SPY): New macro.
1951 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1953 (AS_SHELL_SANITIZE): Remove loop to find better shell
1954 and documentation for the parameter.
1955 (_AS_DETECT_BETTER_SHELL): Move it here.
1956 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1957 (_AS_RUN): Move it here, support testing with eval.
1958 (AS_REQUIRE_SHELL_FN): Require shell functions when
1960 (_AS_LINENO_WORKS): Put around braces, we do not
1961 trigger the bash bug anymore.
1962 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1963 use AS_INIT_WITH_SHELL_FN.
1964 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1966 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1968 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1969 * doc/autoconf.texi: Don't say that the third parameter
1971 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1972 (AU_DEFUN): Honor the third parameter, create autoupdate
1973 macros with AU_DEFINE.
1974 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1975 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1976 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1977 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1978 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1979 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1980 AC_XENIX_DIR): Likewise.
1981 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1982 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1983 * lib/autoconf/status.m4: Remove FIXME.
1984 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1985 that the macro is not present anymore in the updated
1987 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1990 2004-01-28 Paul Eggert <eggert@twinsun.com>
1992 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1994 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1995 2003 (except 1997) to the list of copyright years. This undoes
1996 the 2003-05-22 change, which removed the older years from the list.
1997 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1999 2004-01-27 Gary V. Vaugan <gary@gnu.org>
2000 Albert Chin-A-Young <china@thewrittenword.com>
2002 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
2003 grep or ggrep program in PATH that accepts as long lines as
2005 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
2007 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
2008 egrep and fgrep respectively if $GREP -E/-F don't work.
2009 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
2010 _AC_PROG_GREP, and AC_PROG_SED.
2011 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
2012 longest input length accepted by a command.
2013 (AC_PROG_SED): Use it.
2014 * doc/autoconf.texi (Particular Programs): Document the changes.
2017 2004-01-27 Paul Eggert <eggert@twinsun.com>
2019 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
2020 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2021 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
2022 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2024 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
2025 bin/autoconf.in, config/Makefile.in, config/config.guess,
2026 config/config.sub, config/install-sh, config/mdate-sh,
2027 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
2028 lib/Makefile.in, lib/Autom4te/Makefile.in,
2029 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
2030 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
2031 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
2032 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
2033 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
2034 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
2035 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
2036 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
2037 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
2038 tests/actypes.at: Regenerate and/or sync with original
2041 2004-01-26 Paul Eggert <eggert@twinsun.com>
2043 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
2044 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
2045 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
2046 not <inttypes.h>. Problem reported by Tim Mooney in
2047 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
2048 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2051 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
2052 otherwise "make check" fails because it forbids cmp (I guess
2053 because cmp treats files as binary on DOS-like systems).
2055 * tests/mktests.sh: Update copyright date to 2004, since some tests
2056 have changed in 2004.
2058 2004-01-23 Gary V. Vaugan <gary@gnu.org>
2060 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
2061 non-truncating sed or gsed program in PATH.
2062 * tests/acprograms.at: Add it.
2063 * doc/autoconf.texi (Particular Programs): Document it.
2066 2004-01-15 Paul Eggert <eggert@twinsun.com>
2068 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
2069 -std1 disables some useful extensions on Tru64. Problem reported
2071 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2073 2004-01-14 Paul Eggert <eggert@twinsun.com>
2075 * doc/autoconf.texi (Programming in M4sh): Document that
2076 AS_MKDIR_P succeeds if the destination is a symbolic link
2077 to an existing directory.
2078 (Limitations of Usual Tools): Note that mkdir -p might not
2079 succeed on symlinks to directories.
2081 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
2083 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
2084 * bin/autoheader.in: Grammar fix in message.
2085 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
2086 Test for dir before calling mkdir -p. (trivial changes)
2088 2004-01-13 Eric Blake <ebb9@byu.net>
2090 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
2091 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2093 2004-01-10 Jim Meyering <jim@meyering.net>
2095 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2097 2004-01-09 Paul Eggert <eggert@twinsun.com>
2099 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
2100 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
2101 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
2102 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
2103 AC_COMPILE_IFELSE, since we now assume our caller invokes
2104 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
2105 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
2106 of AC_RUN_IFELSE; this avoids the warning mentioned above.
2107 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2109 2004-01-07 Paul Eggert <eggert@twinsun.com>
2111 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2112 `"'...'"`, as it's confusing (and I suspect it may not work on
2113 some platforms). The code was incorrect anyway, as it assumed
2114 that \$ evaluated to itself in that context. Reported by
2115 Alexandre Duret-Lutz.
2117 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2119 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2120 and _LT_AC_TAGCONFIG.
2122 2004-01-06 Paul Eggert <eggert@twinsun.com>
2124 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2125 example, and add more examples. Reported by Eric Sunshine.
2127 2004-01-05 Paul Eggert <eggert@twinsun.com>
2129 * doc/autoconf.texi (Limitations of Usual Tools):
2130 Remove warning against "rm -fr" introduced yesterday; it
2133 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2134 autoscan, autoupdate, ifnames): Don't use chmod -w.
2135 * lib/Makefile.am (autom4te.cfg): Likewise.
2136 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2139 2004-01-04 Paul Eggert <eggert@twinsun.com>
2140 Paolo Bonzini <bonzini@gnu.org>
2142 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2143 by doing lineno substitution only on lines containing "$LINENO".
2145 2004-01-04 Paul Eggert <eggert@twinsun.com>
2147 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2148 Use "rm -f" to remove conftest.sed, not plain "rm".
2149 Bug reported by David Relson in
2150 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2152 * Makefile.am (autom4te-update):
2153 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2154 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2155 * doc/autoconf.texi (Guidelines): Likewise.
2156 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2157 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2158 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2159 * lib/autotest/general.m4 (AT_INIT): Likewise.
2160 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2161 * tests/Makefile.am (clean-local): Likewise.
2162 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2164 * doc/autoconf.texi (Limitations of Usual Tools):
2165 Warn against "rm -fr".
2167 2004-01-03 Paul Eggert <eggert@twinsun.com>
2169 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2170 -c -o might not work. From a suggestion by Kevin Ryde.
2171 (C Compiler, Generating Sources, Limitations
2172 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2173 Don't put '-o' after non-options, as POSIX doesn't allow this.
2174 Mention that cc's name might be gcc or c89 or whatever.
2176 2004-01-04 Kevin Ryde <user42@zip.com.au>
2178 * doc/autoconf.texi: Add various further index entries.
2180 2003-12-29 Paul Eggert <eggert@twinsun.com>
2182 * bin/autoreconf.in (autoreconf_current_directory):
2183 Fix typo: mkdir without umask arg.
2185 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2187 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2188 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2189 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2190 explanation clearer.
2192 2003-12-24 Andreas Schwab <schwab@suse.de>
2194 * doc/autoconf.texi (Default Includes): Fix misspelling of
2195 AC_INCLUDES_DEFAULT.
2197 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2199 * configure.ac: Test if sh -n works.
2200 * configure: Regenerate.
2201 * tests/atlocal.in: Store the result here.
2202 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2203 tools.at, looking in atlocal's ac_cv_sh_n_works instead
2204 of explicitly testing.
2205 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2206 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2207 * tests/tools.at (Syntax of the shell scripts): Simplify
2208 using AT_CHECK_SHELL_SYNTAX.
2209 (Syntax of the Perl scripts): Remove definition of
2210 AT_CHECK_PERL_SYNTAX.
2212 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2214 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2215 stderr to /dev/null.
2216 * bin/autoconf.in: Regenerate.
2217 * bin/wrapper.in: Regenerate.
2219 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
2221 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2222 Extracted from AS_SHELL_SANITIZE.
2223 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2225 (AS_SHELL_SANITIZE): Move reinvocation code from
2226 _AS_LINENO_WORKS, use it to find out if shell
2228 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2230 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2231 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2233 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2234 * bin/autoconf.in: Regenerate.
2235 * tests/wrapper.in: Regenerate.
2236 * tests/tools.at: Test the syntax of tests/autoconf
2237 and tests/testsuite.
2239 2003-11-24 Akim Demaille <akim@epita.fr>
2241 * config/announce-gen (&print_locations, &print_signatures)
2244 No longer rely on Gnus to inline the list of signatures: compute
2247 2003-11-24 Akim Demaille <akim@epita.fr>
2249 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2250 override some files.
2251 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2252 From Debian Autoconf 2.58.
2254 2003-11-24 Akim Demaille <akim@epita.fr>
2256 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2258 From Debian Autoconf 2.58.
2260 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2262 * TODO: Remove already done things. Update the part about finding
2263 tools for the target.
2265 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2267 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2268 Make wording more consistent.
2269 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2270 Explain the transition better.
2271 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2272 the transition better.
2274 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2276 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2277 parameter of AU_DEFUN.
2278 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2279 (AU_DEFUN): Remove the third parameter, it was not used.
2280 Use AC_DEFUN directly, not AU_DEFINE.
2281 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2282 the expanded body, consistently with other macros such as AC_USG.
2284 2003-11-17 Paul Eggert <eggert@twinsun.com>
2286 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2287 into the initial confdefs.h, to work around a bug in NextStep 3.3
2288 patch 3 reported by Eric Sunshine.
2290 2003-11-15 Kevin Ryde <user42@zip.com.au>
2292 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2293 than $target since the latter is not usual, add guidelines on when to
2294 use or not use the system type.
2296 2003-11-12 Derek Price <derek@ximbiot.com>
2298 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2299 typo misrepaired by an auto-spellcheck.
2301 2003-11-12 Akim Demaille <akim@epita.fr>
2303 * bin/autoreconf.in (&parse_args): Don't call automake with
2304 --force-missing unless it actually supports it.
2305 From Debian #219336.
2307 2003-11-12 Akim Demaille <akim@epita.fr>
2309 * configure.ac: Bump to 2.59a.
2312 2003-11-06 Akim Demaille <akim@epita.fr>
2316 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2318 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2319 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2320 and ac_abs_top_srcdir are absolute paths.
2321 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2323 2003-11-05 Akim Demaille <akim@epita.fr>
2325 * configure.ac: Bump to 2.58a.
2327 2003-11-05 Kevin Ryde <user42@zip.com.au>
2329 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2330 it provokes a warning from makeinfo about looking like a cross
2331 reference in info output.
2333 * doc/autoconf.texi (Function Portability): Add notes on signal
2334 handler return type, as per AC_TYPE_SIGNAL.
2336 2003-11-04 Akim Demaille <akim@epita.fr>
2339 * doc/standards.texi: Update from master.
2341 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2343 2003-11-04 Akim Demaille <akim@epita.fr>
2345 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2346 computing the absolute path to d1 in the source hierarchy: it may
2347 not exist at all. So don't cd into it.
2348 From Alexandre Duret-Lutz.
2349 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2351 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2352 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2353 * doc/autoconf.texi (Programming in M4sh): Document.
2354 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2356 2003-11-03 Pavel Roskin <proski@gnu.org>
2358 * doc/autoconf.texi (Generic Structure Checks): Describe
2359 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2361 2003-10-31 Akim Demaille <akim@epita.fr>
2363 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2365 * doc/autoconf.texi (Language Choice): Document.
2366 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2367 the current language is Fortran.
2369 2003-10-31 Akim Demaille <akim@epita.fr>
2371 * bin/autom4te.in (&freeze): Use a less likely warning separator
2372 than `\n\n', so that `\n\n\n' is valid in warnings.
2373 Reported by Steve Huston.
2375 2003-10-28 Akim Demaille <akim@epita.fr>
2377 * Makefile.cfg (local_updates, executable-update): Tweak to be
2378 robust to parallel makes.
2379 Suggested by Alexandre Duret-Lutz.
2381 2003-10-27 Akim Demaille <akim@epita.fr>
2383 * Makefile.cfg (executable-update): New.
2384 (local_updates): Call it.
2386 2003-10-27 Akim Demaille <akim@epita.fr>
2388 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2389 Don't remove core.* as it may remove valid user files.
2390 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2391 (AC_FUNC_UTIME_NULL): Likewise.
2393 2003-10-23 Akim Demaille <akim@epita.fr>
2396 * config/config.guess, config/config.sub: Upgrade from masters.
2398 2003-10-23 Akim Demaille <akim@epita.fr>
2400 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2401 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2404 2003-10-23 Akim Demaille <akim@epita.fr>
2406 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2407 Don't forget to remove conftest.err.
2409 2003-10-23 Akim Demaille <akim@epita.fr>
2411 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2412 same object file in $LIBOBJS.
2413 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2414 * doc/autoconf.texi (Generic Functions): Adjust.
2416 2003-10-20 Paul Eggert <eggert@twinsun.com>
2418 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2419 Use 'eval', so that the resulting configure scripts work even if
2420 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2422 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2424 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2425 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2426 (_AC_LINK_IFELSE): Check the werror flag.
2427 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2431 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2433 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2434 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2435 override AC_LINK_IFELSE.
2437 2003-10-15 Paul Eggert <eggert@twinsun.com>
2439 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2440 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2441 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2442 Mention /usr/dt/bin/dtksh on Solaris.
2443 (Shell Substitutions): Warn about $((...)).
2444 (Parentheses): New section.
2446 2003-10-15 Kevin Ryde <user42@zip.com.au>
2448 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2449 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2451 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2453 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2456 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2458 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2459 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2461 2003-10-10 Andreas Schwab <schwab@suse.de>
2463 * bin/autoheader.in: Avoid empty first line in --version and
2465 * bin/ifnames.in: Likewise.
2467 2003-10-09 Paul Eggert <eggert@twinsun.com>
2469 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2470 Issue a more-informative diagnostic.
2471 Problems reported by Eric Sunshine.
2473 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2475 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2476 -mGLOB_options_string stuff for Intel ifc, which can cause
2477 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2478 pattern-matching instead of grep.
2480 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2482 * doc/autoconf.texi: Document new FC Fortran macros.
2484 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2486 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2487 that future autopoint/aclocal/automake/autoreconf will be able
2488 to trace to find where to install local m4 macros.
2489 * doc/autoconf.texi (Input): Document it.
2492 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2494 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2495 -lcrtbegin.o to list of ignored flags and fix underquoting of
2498 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2500 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2501 cache variable instead of $G77 to decide whether to include -O2,
2502 since $G77 is specific to Fortran 77.
2504 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2506 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2507 free" flag. Re-order flags tested into rough order of popularity.
2509 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2511 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2512 arguments so that it can be used with syntax identical to
2513 AC_PROG_F77, and so that we can more easily decide to
2514 remove/deprecate the DIALECT optional argument in the future if it
2516 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2517 non-freeform-supporting compilers. Document freeform flags.
2519 2003-10-03 Akim Demaille <akim@epita.fr>
2521 * configure.ac: Look for emacs, not macs.
2522 Reported by Eric Sunshine.
2524 2003-10-03 Akim Demaille <akim@epita.fr>
2526 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2527 * bin/autoreconf.in (autoreconf_current_directory): Create the
2528 AUX_DIR if needed, for sake of automake --add-missing etc.
2529 Suggested by Alexandre Duret-Lutz.
2531 2003-10-03 Akim Demaille <akim@epita.fr>
2533 * configure.ac: Quotation and formatting changes.
2534 (EMACS): Don't set it if it is not recent enough to support
2538 2003-10-02 Akim Demaille <akim@epita.fr>
2540 * bin/ifnames.in (&scan_file): Skip C++ comments.
2543 2003-10-01 Pavel Roskin <proski@gnu.org>
2545 * doc/autoconf.texi (Particular Structure Checks):
2546 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2548 2003-10-01 Akim Demaille <akim@epita.fr>
2552 2003-09-30 Paul Eggert <eggert@twinsun.com>
2554 * lib/Autom4te/XFile.pm: Use Errno.
2555 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2556 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2558 2003-09-30 Akim Demaille <akim@epita.fr>
2560 * config/announce-gen (&print_news_deltas): Extracted from...
2561 (&print_changelog_deltas): here.
2562 (&news_file): Rename as...
2565 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2567 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2568 have been created when invoking the compiler.
2569 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2571 2003-09-29 Akim Demaille <akim@epita.fr>
2575 * config/mkinstalldirs: Upgrade.
2577 2003-09-28 Paul Eggert <eggert@twinsun.com>
2579 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2580 Problem reported by Lars J. Aas in
2581 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2582 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2583 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2584 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2586 2003-09-26 Akim Demaille <akim@epita.fr>
2588 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2589 directory for AC_CONFIG_COMMANDS' first argument exists.
2590 This makes valid the invocation of _AC_SRCPATH that follows.
2591 Reported by Eric Sunshine.
2592 * doc/autoconf.texi (Configuration Commands): Adjust.
2594 2003-09-26 Akim Demaille <akim@epita.fr>
2596 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2597 Reported by Ralf Corsepius.
2599 2003-09-26 Akim Demaille <akim@epita.fr>
2601 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2603 Actually, use AU_ALIAS.
2606 2003-09-26 Paul Eggert <eggert@twinsun.com>
2608 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2609 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2610 Problem reported by Eric Sunshine in:
2611 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2613 2003-09-26 Akim Demaille <akim@epita.fr>
2615 The test suite are sometimes assigning timings incorrectly.
2616 Reported by Henk Krus.
2617 Diagnosed by Nicolas Joly.
2619 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2621 Instead of making AT_help a sequence of assignments to grow
2622 $at_help_all, just make AT_help_all be the growing contents of
2623 $at_help_all, and make a single assignment in...
2625 (at_times_skip): Flip the meaning and rename as...
2627 (AT_INIT): When summarizing the test that ran, remove
2628 $at_times_file after use, and check it is present before trying to
2631 2003-09-25 Akim Demaille <akim@epita.fr>
2635 * bin/Makefile.am (edit): Handle '@configure_input@'.
2636 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2637 (ifnames): chmod -w.
2638 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2639 executables, not bin/ executables! Otherwise all the magic needed
2640 to find non installed files is turned off. This caused a failure
2641 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2642 as found in its environment (sent by tests/autoreconf): pointing
2643 to bin/autom4te that could not find its files.
2644 * tests/mktests.sh: Force the replacement of generated files, for
2645 the sake of "mv" program that are interactive when overwriting a
2647 * config/install-sh: Upgrade from CVS Automake.
2649 2003-09-23 Paul Eggert <eggert@twinsun.com>
2651 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2652 versus test -L issues.
2654 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2655 Paul Eggert <eggert@twinsun.com>
2657 Trivial change to support GCC's configuration procedure.
2658 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2659 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2660 about inconsistency if the preprocessor is set to give errors for
2662 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2664 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2666 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2667 and XFile.pm from Automake.
2668 * lib/Autom4te/XFile.pm: Update from Automake.
2670 2003-09-12 Akim Demaille <akim@epita.fr>
2674 2003-09-12 Akim Demaille <akim@epita.fr>
2676 * config/config.guess, config/config.sub, config/missing,
2677 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2680 2003-09-12 Akim Demaille <akim@epita.fr>
2682 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2685 2003-09-11 Akim Demaille <akim@epita.fr>
2687 * doc/autoconf.texi (Header Portability): linux/random.h.
2688 From Peter Hendrickson.
2690 2003-09-10 Akim Demaille <akim@epita.fr>
2692 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2693 willing to edit the output files.
2695 2003-09-10 Akim Demaille <akim@epita.fr>
2697 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2699 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2700 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2702 2003-09-09 Akim Demaille <akim@epita.fr>
2704 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2705 Reported by Gary Vaughan.
2706 * bin/autom4te.in (handle_m4): Likewise.
2708 2003-09-09 Akim Demaille <akim@epita.fr>
2710 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2713 2003-09-07 Paul Eggert <eggert@twinsun.com>
2715 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2716 Improve the accuracy of the wording about obsolescence.
2717 From a suggestion by Ian Lance Taylor in
2718 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2720 2003-09-05 Paul Eggert <eggert@twinsun.com>
2722 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2723 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2725 2003-09-04 Akim Demaille <akim@epita.fr>
2727 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2730 2003-09-04 Akim Demaille <akim@epita.fr>
2732 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2733 (freeze): When exiting, use $exit_code.
2734 * lib/autoconf/fortran.m4: Comment changes.
2736 2003-09-04 Akim Demaille <akim@epita.fr>
2738 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2740 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2742 Add support for newer Fortran dialects. The F77 interface is
2743 unchanged, and continues to support Fortran 77. New FC macros
2744 correspond to all the old F77 macros, with output variables FC,
2745 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2746 available dialect, but older dialects can be specified. There are
2747 new macros AC_FC_SRCEXT to set the source extension, and
2748 AC_FC_FREEFORM to accept free-form source files.
2750 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2752 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2753 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2754 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2755 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2756 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2757 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2758 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2759 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2760 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2761 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2762 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2763 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2764 AC_FC_SRCEXT, AC_FC_FREEFORM):
2766 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2767 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2768 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2769 Rewrite in terms of the above.
2770 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2771 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2772 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2773 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2775 2003-09-02 Paul Eggert <eggert@twinsun.com>
2777 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2778 Document problems with timestamp resolution that 'make', 'cp -p', and
2781 2003-08-27 Akim Demaille <akim@epita.fr>
2783 * tests/m4sugar.at (cross_warning): Make sure to enable the
2784 output, so that we can track spurious m4sugar output.
2785 * tests/local.at: Require 2.57.
2786 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2787 are defaulted by AT_CHECK anyway.
2788 Use AT_CHECK_AUTOM4TE.
2789 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2792 2003-08-27 Akim Demaille <akim@epita.fr>
2794 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2795 when -Wobsolete is set.
2796 Set it on by default.
2797 Suggested by Klee Dienes.
2799 2003-08-27 Akim Demaille <akim@epita.fr>
2801 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2805 2003-08-26 Akim Demaille <akim@epita.fr>
2807 * doc/autoconf.texi (Output): Make clear that one can run code
2810 2003-08-25 Akim Demaille <akim@epita.fr>
2812 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2815 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2817 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2818 Automake versions prior to 1.8.
2820 2003-08-25 Akim Demaille <akim@epita.fr>
2822 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2825 2003-08-24 Akim Demaille <akim@epita.fr>
2827 * configure.ac: Bump to 2.57c.
2829 2003-08-22 Akim Demaille <akim@epita.fr>
2833 * Makefile.cfg (local-checks-to-skip): New.
2834 * Makefile.maint (local-check): Rename as...
2835 (local-checks-available): this.
2838 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2839 * configure.ac: Require Automake 1.7.6.
2841 2003-08-22 Akim Demaille <akim@epita.fr>
2843 Output stack traces in warnings.
2845 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2846 Replace the former...
2847 (m4_warn): Pass the call stack to _m4_warn.
2848 * bin/autom4te.in: Adjust to output the call stack.
2849 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2851 2003-08-22 Akim Demaille <akim@epita.fr>
2853 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2854 * bin/autom4te.in: Adjust.
2856 2003-08-21 Akim Demaille <akim@epita.fr>
2858 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2860 (&getopt): Adjust the note and verb channels, depending upon
2862 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2863 * bin/autoupdate.in: Adjust.
2864 Use &verb, not &verbose.
2866 2003-08-21 Akim Demaille <akim@epita.fr>
2868 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2870 ($help): Use Autom4te::ChannelDefs::usage.
2871 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2872 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2874 2003-08-21 Akim Demaille <akim@epita.fr>
2876 First stab at preserving warnings between calls to autom4te,
2877 including when the cache is used.
2879 There are still several issues: (i) there are too many runs of m4
2880 (one for include, one for warnings, and some more), (ii) warnings
2881 spreading on several lines are not handled gracefully, (iii) the
2882 code meant to have the call stack display for errors does not work
2883 (its handling should move from m4 to autom4te).
2885 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2887 (@preselect): Add m4_warn.
2888 ($exit_status): Remove, use $exit_code.
2889 ($help): Use Autom4te::ChannelDefs::usage.
2890 (&handle_m4): No longer define the m4_warnings.
2891 At each run, extract and report the warnings.
2892 Always cache the result, including if the exit status is on
2893 failure, since if nothing changes, we should result in the same
2894 failure, hence we can use the cache.
2895 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2896 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2898 (m4_warn): Redefine as a do-nothing: it is its invocation that
2899 matters, as warnings are now reported via traces.
2900 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2901 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2902 the latter reveals calls to the former.
2906 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2908 2003-08-21 Akim Demaille <akim@epita.fr>
2910 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2913 2003-08-21 Akim Demaille <akim@epita.fr>
2915 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2917 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2918 (&parse_warnings): Accept a list of warning requests.
2919 (&usage): Return a string, not a side effect.
2920 (cross): New warning category.
2922 2003-08-21 Akim Demaille <akim@epita.fr>
2924 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2925 (&require_configure_ac): Accept an optional directory argument.
2926 ($configure_ac): Remove.
2927 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2929 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2930 * bin/autoscan.in: Adjust.
2932 2003-08-20 Akim Demaille <akim@epita.fr>
2934 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2935 Reported by Alexandre Duret-Lutz.
2937 2003-08-20 Akim Demaille <akim@epita.fr>
2939 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2940 * bin/autom4te: Adjust.
2941 In particular, be Autoconf tools are really silent when properly
2942 working, bind the verbosity of the 'note' channel to $verbose.
2943 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2944 (&xsystem, &contents): Remove, since they are exported by...
2945 * lib/Autom4te/FileUtils.pm: this.
2947 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2948 * lib/Autom4te/FileUtils.pm: here.
2950 2003-08-20 Akim Demaille <akim@epita.fr>
2952 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2953 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2956 2003-08-20 Akim Demaille <akim@epita.fr>
2958 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2959 (autom4te-update): New.
2960 * Makefile.cfg (update): Bind autom4te-update.
2962 2003-08-19 Derek Price <derek@ximbiot.com>
2964 * lib/autotest/general.m4: Comment various HELP_* diversions.
2965 (PARSE_ARGS_BEGIN): New section for option parsing related
2967 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2968 package specific options and associated help.
2970 2003-08-19 Akim Demaille <akim@epita.fr>
2972 * config/announce-gen, Makefile.cfg: New.
2973 * Makefile.am: Adjust.
2974 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2976 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2978 * lib/autom4te.in (Automake-preselections): Preselect
2979 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2982 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2984 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2985 (Autoconf-without-aclocal-m4): ... this new language.
2986 * doc/autoconf.texi (autom4te Invocation): Mention
2987 Autoconf-without-aclocal-m4.
2989 2003-08-18 Derek Price <derek@ximbiot.com>
2991 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2992 RUN-IF-PASS optional arguments.
2994 2003-08-18 Derek Price <derek@ximbiot.com>
2996 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2998 2003-08-16 Derek Price <derek@ximbiot.com>
3000 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
3001 STDOUT & STDERR arguments.
3003 2003-08-14 Derek Price <derek@ximbiot.com>
3005 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
3006 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
3007 shorter column three. Add DESCRIPTION to log file content.
3009 2003-08-13 Derek Price <derek@ximbiot.com>
3011 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
3014 2003-08-12 Derek Price <derek@ximbiot.com>
3016 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
3017 (AT_CHECK_NOESCAPE): Move core functionality to...
3018 (_AT_CHECK): ...this new macro.
3020 2003-08-07 Derek Price <derek@ximbiot.com>
3022 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
3023 (AT_CHECK_NOESCAPE): ...to this new macro.
3025 2003-07-31 Paul Eggert <eggert@twinsun.com>
3027 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
3028 in Bash 2.01. Problem reported by Brian Gough in
3029 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
3031 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
3033 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
3034 -lcrt1.o, for OS X. (trivial change)
3036 2003-07-07 Paul Eggert <eggert@twinsun.com>
3038 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
3039 inside '#ifndef __cplusplus'. Problem reported by
3042 2003-07-06 Bill Clarke <llib@computer.org>
3044 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
3045 'long', not 'int', for benefit of Sun's recent C++ compilers
3046 (trivial change). See:
3047 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
3048 (This really should be 'intptr_t', not 'long', but that would
3051 2003-06-25 Akim Demaille <akim@epita.fr>
3053 * lib/Makefile.am (autom4te.cfg): Make it read only.
3054 Depend on Makefile since it contains substitutions.
3056 * lib/autom4te.in (args): Add local.at? for Autotest args.
3057 This change was made on autom4te.cfg which is generated.
3058 Reported by Raja R. Harinath.
3060 2003-06-25 Akim Demaille <akim@epita.fr>
3062 * doc/autoconf.texi (Header Portability): sys/mount.h.
3063 From Gareth McCaughan.
3065 2003-06-23 Akim Demaille <akim@epita.fr>
3067 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
3068 not all of them. This fixes 1. the fact that when testing
3069 Autoconf there are many many config.log, 2. the incorrect use of
3070 top_srcdir to find config.log.
3071 Don't mix the detailed output of failed test with the summary of
3072 failures. Rather, append detailed log afterwards.
3074 2003-06-23 Akim Demaille <akim@epita.fr>
3076 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
3077 always run: output config.log on $at_group_log.
3079 2003-06-23 Akim Demaille <akim@epita.fr>
3081 * tests/torture.at (#define header templates): Don't use quotes in
3082 C++ comments as it puzzles Emacs' sh font-lock-mode.
3084 2003-06-23 Akim Demaille <akim@epita.fr>
3086 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
3087 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
3088 * tests/atspecific.m4: Rename as...
3089 * tests/local.at: This.
3090 * tests/suite.at: Move the globals into...
3091 * tests/local.at: here.
3092 * tests/Makefile.am: Adjust.
3093 * doc/autoconf.texi (testsuite Scripts): Adjust.
3095 2003-06-21 Kevin Ryde <user42@zip.com.au>
3097 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
3098 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
3099 ensuring we add -std1 for full-ANSI.
3101 * doc/autoconf.texi (hdrindex): New macro.
3102 Add index entries for portability of various standard header files.
3104 2003-06-20 Akim Demaille <akim@epita.fr>
3106 * configure.ac: Bump to 2.57b.
3108 2003-06-20 Akim Demaille <akim@epita.fr>
3112 2003-06-20 Akim Demaille <akim@epita.fr>
3114 * bin/autom4te.in: Don't rely on $HOME being defined.
3115 Reported by Marc Espie as PR/233.
3117 2003-06-20 Akim Demaille <akim@epita.fr>
3119 * lib/autotest/general.m4: Use at_times_file only if used.
3122 2003-06-20 Akim Demaille <akim@epita.fr>
3124 * config/config.guess, config/config.sub, config/elisp-comp,
3125 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3126 Update from masters.
3128 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3130 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3131 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3132 (TEST_SCRIPT): New diversion.
3133 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3134 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3135 (AT_INIT): Support for expected failures.
3137 2003-06-02 Akim Demaille <akim@epita.fr>
3139 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3141 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3142 Autoconf nor Automake.
3143 (&contents): New, from Automake.
3146 2003-05-28 Paul Eggert <eggert@twinsun.com>
3148 * NEWS, doc/autoconf.texi (Particular Functions),
3149 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3150 is the inverse of localtime.
3152 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3154 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3155 (handle_exec_errors): New function. Work around $! being
3156 altered by WEXITSTATUS.
3157 (xqx, xsystem): Use handle_exec_errors.
3159 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3161 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3162 Do not call `_exit()', simply modify `$?'.
3163 (xsystem): Reset $! before running system, and check it afterward.
3164 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3165 63 for version mismatches.
3167 2003-05-23 Akim Demaille <akim@epita.fr>
3169 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3170 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3171 the middle of a line).
3172 * lib/m4sugar/m4sugar.m4: Likewise.
3173 Remove useless spaces in comments.
3175 2003-05-23 Akim Demaille <akim@epita.fr>
3177 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3178 exit 63, so that we (or Automake's "missing") can tell the
3179 difference with a plain failure.
3180 * doc/autoconf.texi (Notices): Adjust.
3182 2003-05-23 Akim Demaille <akim@epita.fr>
3184 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3185 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3186 White spaces cleanup.
3188 2003-05-22 Jim Meyering <jim@meyering.net>
3189 Paul Eggert <eggert@twinsun.com>
3191 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3192 Remove `#include <stdlib.h>' from the list; we should never
3193 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3194 resulting namespace pollution would cause other tests to fail.
3195 Configure scripts run with some older versions of g++ and HP's
3196 aCC would fail due to such an #include. Problems reported by
3197 Matthew Mueller in <http://bugs.debian.org/120704> and by
3199 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3200 In the test, use the test declaration before including <stdlib.h>,
3201 as that's closer to how it'll be used.
3203 2003-05-23 Akim Demaille <akim@epita.fr>
3205 * doc/autoconf.texi (Header Portability): ucred.h.
3208 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3210 Overhaul Autotest's logging: generate separate log files
3211 in testsuite.dir/NNN/testsuite.log, and append them to
3212 testsuite.log instead of re-running the test verbosely.
3214 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3215 file descriptor, write 0 to at_status_file instead of setting
3216 at_status=0, initialize some new variables (at_status_file,
3217 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
3218 to rerun the tests, instead append the at_group_log to the
3219 at_suite_log when a test fails.
3220 (AT_SETUP): pipe the test case's output into at_tee_pipe,
3221 with the AS_MESSAGE_LOG_FD redirected to stdout.
3222 (AT_CLEANUP): save the output status in $at_status_file
3223 and restore it, redirect the AS_MESSAGE_LOG_FD back to
3225 (AT_CHECK): since tests are run with a redirected stdout,
3226 and used to be re-run in verbose mode, turn some $at_verbose
3227 into echo, and don't redirect the output of testing stdout
3230 * lib/autotest/autoconf.texi (testsuite Scripts): Update
3231 the name of the debugging directory and information about
3234 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3236 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3239 2003-05-22 Akim Demaille <akim@epita.fr>
3241 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3242 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3243 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3244 * lib/autoconf/status.m4: Fix and adjust copyright notices.
3246 2003-05-22 Akim Demaille <akim@epita.fr>
3248 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3249 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3250 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3251 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3252 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3253 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3254 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3255 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3256 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3257 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3258 * tests/tools.at, tests/torture.at:
3259 Whitespace clean up.
3260 Suggested by Jim Meyering.
3262 2003-05-22 Akim Demaille <akim@epita.fr>
3264 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3265 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3266 Reported by Jim Meyering.
3268 2003-05-22 Akim Demaille <akim@epita.fr>
3270 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3271 Add AC_HELP_STRING to the obsolete macros section.
3273 Use '@.' for sentences that ended in a capital letter.
3276 2003-05-22 Akim Demaille <akim@epita.fr>
3278 * config/config.guess, config/config.sub, config/elisp-comp,
3279 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3280 * config/texinfo.tex, doc/standards.texi: Update from masters.
3282 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3284 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3287 2003-05-21 Akim Demaille <akim@epita.fr>
3289 * bin/autoupdate.in ($m4): Fix quotation.
3290 Reported by Martin Mokrejs.
3292 2003-05-19 Paul Eggert <eggert@twinsun.com>
3294 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3295 Remove non-ASCII characters.
3297 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3299 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3300 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3301 AC_CHECK_HEADERS_NEW): New tests.
3303 2003-05-17 Akim Demaille <akim@epita.fr>
3305 * lib/autoconf/functions.m4: Use the default includes so that
3306 memcmp be declared before being tested.
3307 Reported by Sander Niemeijer.
3308 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3309 * doc/autoconf.texi (Default Includes): Document
3310 AC_INCLUDES_DEFAULT.
3312 2003-05-17 Akim Demaille <akim@epita.fr>
3314 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3315 * doc/autoconf.texi (Obsolete Macros): Adjust.
3316 Reported by Werner LEMBERG and Debian Bug 190886.
3318 2003-05-16 Akim Demaille <akim@epita.fr>
3320 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3321 user name space clashes.
3322 Reported by Bruno Haible.
3324 2003-05-16 Akim Demaille <akim@epita.fr>
3326 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3327 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3328 them uniform, and more robust to Perl special characters.
3329 Reported by Martin Mokrejs.
3331 2003-05-14 Akim Demaille <akim@epita.fr>
3333 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3335 2003-05-14 Akim Demaille <akim@epita.fr>
3337 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3340 2003-05-12 Akim Demaille <akim@epita.fr>
3342 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3344 From Matthias Andree.
3346 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3348 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3351 2003-05-06 Akim Demaille <akim@epita.fr>
3353 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3354 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3355 by aclocal.m4 is changed it might require the importing of another
3356 m4 extension file, i.e., aclocal must be run.
3358 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3359 (&parse_args): Use --force with aclocal if required and supported.
3360 (&autoreconf_current_directory): Use &run_aclocal.
3362 2003-05-06 Akim Demaille <akim@epita.fr>
3364 Lock autom4te's cache.
3366 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3367 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3368 argument instead of a file name, so that the request file remains
3369 open during the whole autom4te run.
3370 ($icache_file): New.
3371 (&freeze): Lock the $icache_file.
3373 2003-04-29 Derek Price <derek@ximbiot.com>
3375 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3376 seperator with m4_append_uniq(). It doesn't work.
3377 (AT_CLEANUP): Add `;' to end of at_help_all.
3378 (AT_INIT): Allow --keywords to be specified more than once. When
3379 grepping $at_help_all for keywords, use the field and keyword
3380 seperators to ensure a complete keyword match. Alter at_prev handling
3381 to support the new --keywords behavior.
3383 2003-04-27 Karl Berry <karl@freefriends.org>
3385 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3386 align better with others. I also made some of the individual
3387 entries on one line, for brevity and to make it easier for me to
3388 sort my dir-example file in the Texinfo distribution :).
3390 2003-04-12 Jim Meyering <jim@meyering.net>
3392 * NEWS: Mention the new macro.
3393 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3394 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3395 * tests/c.at: Test AC_C_RESTRICT.
3396 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3398 2003-04-08 Akim Demaille <akim@epita.fr>
3400 * bin/ifnames.in: Skip C++ comments.
3403 2003-04-08 Akim Demaille <akim@epita.fr>
3405 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3406 From Ilya Zakharevich.
3408 2003-04-08 Akim Demaille <akim@epita.fr>
3410 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3413 2003-04-01 Derek Price <derek@ximbiot.com>
3415 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3416 from Akim's checkin of 2003-03-29.
3418 2003-04-01 Derek Price <derek@ximbiot.com>
3420 * tests/torture.at (Configuring subdirectories): Add missing
3421 close-quote for Akim's change from 2003-03-28.
3423 2003-04-01 Akim Demaille <akim@epita.fr>
3425 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3426 (AC, AT, MS): these.
3427 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3430 * doc/Makefile.am (CLEANFILES): Adjust.
3431 (TEXI2DVI): Make it --batch.
3433 2003-03-31 Derek Price <derek@ximbiot.com>
3435 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3436 which removed the main loop.
3437 Thanks to Akim Demaille.
3439 2003-03-29 Akim Demaille <akim@epita.fr>
3441 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3443 From Ilya Zakharevich.
3445 2003-03-29 Akim Demaille <akim@epita.fr>
3447 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3448 documentation to read is Autoconf's.
3449 Suggested by Paul Eggert.
3451 2003-03-28 Akim Demaille <akim@epita.fr>
3453 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3454 reading the section "Present But Cannot Be Compiled" when the
3455 header causes problems.
3457 2003-03-28 Akim Demaille <akim@epita.fr>
3459 * tests/torture.at (Configuring subdirectories): Require aclocal
3460 1.4, otherwise the test fails, as it does support configure.ac.
3461 This fixes the "test 40 failed" bug reports.
3463 2003-03-28 Akim Demaille <akim@epita.fr>
3465 * doc/autoconf.texi (C Compiler): `#line' portability.
3466 From Paul Eggert and Nelson H. F. Beebe.
3468 2003-03-27 Derek Price <derek@ximbiot.com>
3470 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3471 layout in order to allow scripting around test groups.
3473 2003-03-27 Derek Price <derek@ximbiot.com>
3475 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3476 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3477 use new diversions in preparation for accepting new arguments and
3478 allowing scripting around tests.
3479 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3481 2003-03-26 Derek Price <derek@ximbiot.com>
3483 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3484 obsolete AC_HELP_STRING.
3485 (AC_HELP_STRING): AU_DEFUN to...
3486 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3487 * tests/m4sh.at (AS_HELP_STRING): New test.
3489 * tests/acgeneral.at: Regenerated.
3491 2003-03-26 Derek Price <derek@ximbiot.com>
3493 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3494 sense. Verbosify the diversion definitions comment.
3496 2003-03-26 Derek Price <derek@ximbiot.com>
3498 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3501 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3503 * doc/autoconf.texi (Present But Cannot Be Compiled):
3504 Grammar fixes and minor rewording. (trivial change)
3506 2003-03-06 Paul Eggert <eggert@twinsun.com>
3508 Work around a problem noted by Nelson H. F. Beebe with coreutils
3509 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3510 2002/05/09) rejects '#line 32768 "configure"' because the line
3512 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3514 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3515 * doc/autoconf.texi (Generating Sources): Document this.
3517 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3519 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3520 file name for the m4 program, when it has an "exe" file extension.
3521 DJGPP's error messages include the error code in brackets -
3522 remove the error code during normalization.
3524 2003-02-28 Akim Demaille <akim@epita.fr>
3526 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3528 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3530 * doc/autoconf.texi (Limitations of Make): Remove the section
3531 about `$<' in inference rules, it was a bogus interpretation of
3532 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3533 Tru64 make in the "target lookup" section.
3534 (Automake): Automake 1.5+ no longer requires special tools to be
3535 present on the developer's host.
3537 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3539 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3540 to a shell that can handle redirection or quoting correctly.
3541 Override SHELL with the shell detected by configure.
3542 Use of $^O suggested by Tim van Holder.
3543 * bin/autom4te.in (BEGIN): Likewise.
3544 * bin/autoreconf.in (BEGIN): Likewise.
3545 * bin/autoscan.in (BEGIN): Likewise.
3546 * bin/autoupdate.in (BEGIN): Likewise.
3547 * bin/ifnames.in (BEGIN): Likewise.
3549 * bin/ifnames.in: Add final newline to help and version messages.
3551 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3552 to cope with DOS-style absolute paths, when constructing
3555 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3556 When constructing paths with IFS=:, quote the path. If we're
3557 constructing a DOS-style absolute path, we don't want to split it
3560 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3563 2003-02-25 Pavel Roskin <proski@gnu.org>
3565 * bin/autoheader.in: Add missing newline when printing
3566 suggestion how change AC_DEFINE call.
3568 2003-02-24 Paul Eggert <eggert@twinsun.com>
3570 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3571 2002-09-01 patch by replacing "test -n" with "test -z".
3572 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3573 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3575 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3576 to fix a mismatch between example and discussion.
3578 2003-02-24 Kevin Ryde <user42@zip.com.au>
3580 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3581 format starting with "-".
3583 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3585 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3586 is not portable inside Makefile.
3588 2003-02-20 Akim Demaille <akim@epita.fr>
3590 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3591 compiler says yeah, but preproc says nope, compiler is right.
3592 Conversely, prompt the reader to send a bug report to the
3593 maintainers of the package, not of Autoconf.
3595 2003-02-20 Klee Dienes <kdienes@apple.com>
3597 * bin/autoreconf.in (autoreconf_current_directory): Properly
3598 handle an empty aclocal.m4.
3600 2003-02-20 Akim Demaille <akim@epita.fr>
3602 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3606 2002-12-23 Paul Eggert <eggert@twinsun.com>
3608 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3609 innocuous variant befor including <limits.h> or <assert.h>. This
3610 works around a bug reported by Albert Chin: HP-UX 11i
3611 (and earlier versions) have a <limits.h> that declares
3612 gettimeofday and many other functions.
3614 2002-12-03 Paul Eggert <eggert@twinsun.com>
3618 * NEWS, configure.ac: Update version.
3620 * doc/fdl.texi: Upgrade to FDL version 1.2.
3622 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3623 nontrivially in main's body, so that f's external declaration is
3624 not optimized away in AIX. This should fix the bug reported by
3626 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3628 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3629 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3630 defined, to support freestanding compilers. This should fix the
3631 bug reported by Momchil Velkov in
3632 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3634 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3635 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3636 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3637 by Simon Josefsson in
3638 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3640 * Makefile.maint (www-gnu): New macro.
3641 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3642 the location has moved.
3644 2002-12-02 Martin Frydl <martin@systinet.com>
3646 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3647 \(.*\) match is too long and there is something more to be checked.
3648 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3650 2002-11-15 Akim Demaille <akim@epita.fr>
3654 * config/install-sh: chmod +x.
3656 * config/move-if-change: Indenting changes.
3657 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3658 * configure.ac (AM_INIT_AUTOMAKE): here.
3661 2002-11-14 Akim Demaille <akim@epita.fr>
3665 * config/config.guess, config/config.sub, config/install-sh:
3666 Update from masters.
3668 2002-11-14 Akim Demaille <akim@epita.fr>
3670 * Makefile.maint: Sync with Bison, i.e.:
3671 (po-check): Scan .l and .y files instead of the
3672 .c and the .h files that they generate. This fixes the bug
3673 reported by Tim Van Holder in:
3674 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3675 Look for N_ as well as for _. Try to avoid matching #define for
3679 2002-11-14 Akim Demaille <akim@epita.fr>
3681 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3682 From Paul Eggert and Albert Chin-A-Young.
3684 2002-11-14 Akim Demaille <akim@epita.fr>
3686 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3687 From Paul Eggert and Albert Chin-A-Young.
3689 2002-11-14 Kevin Ryde <user42@zip.com.au>
3691 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3692 than assigning in main, to avoid HP cc +O3 optimizing it away.
3694 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3696 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3697 option. Process --recheck after parsing all options. Pass -q
3698 option to configure on --recheck.
3699 (AC_OUTPUT): Pass -q from configure to config.status.
3700 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3701 arguments to record.
3702 * doc/autoconf.texi (config.status Invocation): Document
3703 config.status -q option.
3705 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3707 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3708 Makefile.in if Makefile.am exists.
3709 (output): Strip `.am' from Makefiles. Don't
3710 output AC_CONFIG_FILES if no Makefiles were found.
3712 2002-11-07 Akim Demaille <akim@epita.fr>
3714 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3715 (local_updates): New.
3716 * Makefile.maint: Update, from CVS Bison.
3717 (local_updates): New.
3719 2002-11-06 Akim Demaille <akim@epita.fr>
3721 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3722 declaration in extern "C" too.
3723 Reported by Roberto Bagnara.
3725 2002-11-06 Akim Demaille <akim@epita.fr>
3727 * tests/torture.at (Configuring subdirectories): Don't use grep
3729 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3730 Reported by Ezra Peisach.
3732 2002-11-05 Akim Demaille <akim@epita.fr>
3734 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3736 We _have_ to stop using the old compatibility scheme that tried to
3737 avoid useless backslashes because Libtool 1.4.3 contains a
3738 AC_DEFINE([error_t], [int],
3739 [Define to a type to use for \`error_t' if it is not
3740 otherwise available.])
3741 We _have_ to quote the single quote and backslashes with \. The
3742 old compatibility scheme saw that ` was backslashed, and therefore
3743 did not quote the single quote. Hence before this patch, Autoconf
3744 was not compatible with Libtool.
3746 2002-11-04 Paul Eggert <eggert@twinsun.com>
3748 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3749 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3750 LC_NAME, LC_PAPER, LC_TELEPHONE.
3751 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3753 2002-11-04 Akim Demaille <akim@epita.fr>
3757 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3759 * config/texinfo.tex: Update.
3761 2002-11-03 Akim Demaille <akim@epita.fr>
3763 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3765 (&autoreconf): here.
3766 ($help, $make, &parse_args, &autoreconf_current_directory):
3768 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3770 2002-10-31 Bruno Haible <bruno@clisp.org>
3772 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3773 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3774 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3775 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3776 to ac_cv_func_realloc_0_nonnull.
3777 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3779 2002-10-31 Akim Demaille <akim@epita.fr>
3781 The test suite was no longer checking for trailing envvars and files.
3783 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3784 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3786 2002-10-31 Akim Demaille <akim@epita.fr>
3788 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3789 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3790 Make variable, not a shell variable.
3791 Suggested by Bruno Haible.
3793 2002-10-31 Akim Demaille <akim@epita.fr>
3795 * bin/autom4te.in (load_configuration): Reject #args out of any
3798 2002-10-31 Akim Demaille <akim@epita.fr>
3800 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3801 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3802 (_AC_RUN_IFELSE): Use it.
3803 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3804 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3805 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3808 2002-10-30 Akim Demaille <akim@epita.fr>
3810 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3811 * doc/autoconf.texi (autom4te Invocation): Adjust.
3812 Suggested by Tim van Holder.
3814 2002-10-29 Paul Eggert <eggert@twinsun.com>
3816 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3817 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3818 Problem reported by Bruno Haible.
3820 2002-10-29 Akim Demaille <akim@epita.fr>
3822 * doc/autoconf.texi (Header Templates): Put also in words what the
3823 pictures says to assist free style readers.
3824 (Customizing autom4te): s/--cache=/--cache /.
3826 2002-10-29 Akim Demaille <akim@epita.fr>
3828 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3830 sparc_address_test returns void.
3831 Use it with an argument, as prototyped.
3834 2002-10-29 Akim Demaille <akim@epita.fr>
3836 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3837 configure.in, not configure.ac.
3838 Reported by Bruno Haible.
3840 2002-10-29 Akim Demaille <akim@epita.fr>
3842 * tests/torture.at (Deep Package): New test.
3843 (Configuring subdirectories): Don't use a testSubDir as Autotest
3846 2002-10-29 Akim Demaille <akim@epita.fr>
3848 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3849 * doc/autoconf.texi (Invoking autom4te): Rename as...
3850 (autom4te Invocation): this, for consistency with the other nodes.
3852 2002-10-29 Akim Demaille <akim@epita.fr>
3854 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3855 Reported by Ralf Corsepius.
3857 2002-10-29 Akim Demaille <akim@epita.fr>
3859 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3860 characters is a back as an `obsolete' warning now.
3861 Reported by Ralf Corsepius.
3863 2002-10-28 Akim Demaille <akim@epita.fr>
3865 * configure.ac: Bump to 2.54c.
3867 2002-10-28 Akim Demaille <akim@epita.fr>
3871 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3873 2002-10-28 Akim Demaille <akim@epita.fr>
3875 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3876 m4 executable names, and different GNU M4 version.
3877 Reported by Ezra Peisach and Paul Jarc.
3879 2002-10-27 Akim Demaille <akim@epita.fr>
3881 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3884 2002-10-27 Akim Demaille <akim@epita.fr>
3886 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3887 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3888 Die when a simple Fortran program cannot be compiled.
3889 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3890 Issue a warning if no function is given.
3892 2002-10-27 Akim Demaille <akim@epita.fr>
3894 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3895 Move the documentation of AC_TRY_RUN to...
3896 (Obsolete Macros): here.
3897 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3898 (autoconf Invocation): Remove the duplicates with `invoking
3900 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3901 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3903 2002-10-27 Akim Demaille <akim@epita.fr>
3905 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3906 and AC_LANG_FUNC_LINK_TRY.
3907 (Examining Libraries): Rename as...
3908 (Running the Linker): this.
3909 Document AC_LINK_IFELSE.
3910 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3911 (Obsolete Macros): here.
3912 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3913 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3914 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3915 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3917 2002-10-27 Akim Demaille <akim@epita.fr>
3919 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3921 More `check config.log' messages.
3923 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3924 * doc/autoconf.texi (Printing Messages): Document it.
3925 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3927 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3928 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3929 (_AC_COMPILER_OBJEXT): Likewise.
3930 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3931 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3933 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3936 Deprecate macros with unusual interfaces.
3938 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3939 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3941 Document the new ones, and proper style.
3943 * doc/autoconf.texi (Generating Sources): New.
3944 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3945 (Examining Declarations): Rename as...
3946 (Running the Preprocessor): this.
3947 Document AC_PREPROC_IFELSE.
3948 (Examining Syntax): Rename as...
3949 (Running the Compiler): this.
3950 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3951 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3952 AC_TRY_COMPILE here.
3954 2002-10-27 Akim Demaille <akim@epita.fr>
3956 Move sections around.
3958 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3960 Reported by Burno Haible.
3961 (Language Choice): Now the first section of...
3962 (Writing Tests): this section.
3963 Make the introduction less C-centric.
3964 (Guidelines, Test Functions): Move to...
3965 (Writing Test Programs): this new section.
3966 (Test Programs): Merge into...
3969 2002-10-27 Akim Demaille <akim@epita.fr>
3971 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3972 autom4te.in that resulted in the need for two `make' runs.
3974 2002-10-27 Akim Demaille <akim@epita.fr>
3976 * configure.ac: Bump to 2.54b.
3978 2002-10-25 Akim Demaille <akim@epita.fr>
3982 * Makefile.maint: Update from the Coreutils.
3983 (AMTAR): Remove, obsolete.
3984 (automake_repo): Update to redhat.com.
3986 Adjust to the fact that ansi2knr is now hosted by Automake.
3987 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3988 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3989 Update from masters.
3990 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3991 autoscan.pre is not to be installed, and autoscan.list is not to
3993 (CLEANFILES): Add autoscan.list.
3994 (autoscan.list): Disable the cache.
3995 * bin/Makefile.am: Include freeze.mk.
3997 2002-10-25 Akim Demaille <akim@epita.fr>
3999 * bin/autom4te.in (&load_configuration): Take the file as
4001 (&parse_args): Handle -C, --cache.
4003 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
4004 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
4005 * doc/autoconf.texi (Invoking autom4te): Document --cache.
4006 Now a subsection of...
4007 (Using autom4te): This new section.
4008 (Customizing autom4te): New.
4009 (autom4te.cache): Adjust.
4011 2002-10-25 Akim Demaille <akim@epita.fr>
4013 * doc/autoconf.texi (Generic Headers): More information on how to
4014 use AC_CHECK_HEADERS.
4016 2002-10-25 Akim Demaille <akim@epita.fr>
4018 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
4021 2002-10-25 Akim Demaille <akim@epita.fr>
4023 * bin/autoscan.in (output): Output AC_PREREQ.
4024 (%needed_macros): Add AC_PREREQ so that configure.ac without one
4027 2002-10-23 Akim Demaille <akim@epita.fr>
4029 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
4032 2002-10-23 Akim Demaille <akim@epita.fr>
4034 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
4035 Reported by Peter Eisentraut.
4037 2002-10-23 Akim Demaille <akim@epita.fr>
4039 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
4042 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
4043 Eggert's recommandations.
4045 2002-10-22 Akim Demaille <akim@epita.fr>
4047 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
4048 Bison, by Paul Eggert.
4049 * doc/autoconf.texi (Particular Headers): Document it.
4051 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
4053 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
4054 `$ac_configure_args'.
4056 2002-10-22 Akim Demaille <akim@epita.fr>
4058 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
4059 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
4062 2002-10-22 Akim Demaille <akim@epita.fr>
4064 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
4066 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4067 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
4068 (_AC_CHECK_HEADER_NEW): Rename as...
4069 (AC_CHECK_HEADER): this.
4071 2002-10-22 Akim Demaille <akim@epita.fr>
4073 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
4074 words about HP-UX cmp: it was actually a user-written cmp.
4076 2002-10-22 Akim Demaille <akim@epita.fr>
4078 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
4080 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4081 Quote for Perl '' strings, not "".
4082 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
4085 2002-10-22 Akim Demaille <akim@epita.fr>
4087 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4088 characters is a syntax warning now.
4089 (_AS_QUOTE): Accept $2 as list of characters to quote.
4090 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4091 Quote for Perl, not sh.
4092 * bin/autoheader.in: When $debug, report the file which is
4094 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
4095 `@', to tickle Perl's lists.
4096 Reported by Carlos Velasco.
4098 2002-10-18 Akim Demaille <akim@epita.fr>
4100 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
4101 missing included files _are_ errors.
4102 Thanks to Alexandre Duret-Lutz.
4103 * tests/tools.at (autom4te cache): Adjust.
4104 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
4105 (AT_CHECK_M4SUGAR): Use it.
4106 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4108 * tests/tools.at (autom4te): Now it does exit 1.
4110 2002-10-17 Akim Demaille <akim@epita.fr>
4112 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4113 Fixes the `AC_ARG_VAR' test failures.
4114 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4115 * lib/freeze.mk (check-forbidden-patterns): New.
4116 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4117 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4118 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4120 Reported months ago by H. Merijn Brand.
4122 2002-10-17 Akim Demaille <akim@epita.fr>
4124 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4126 2002-10-16 Paul Eggert <eggert@twinsun.com>
4128 * Makefile.maint (wget_files): Remove ansi2knr.c.
4129 (ansi2knr.c-url_prefix): Remove.
4131 2002-10-16 Akim Demaille <akim@epita.fr>
4133 Because of caching, some files that no longer exist and are no
4134 longer required can still cause errors.
4135 Reported by Alexandre Duret-Lutz.
4137 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4138 to frozen files in @ARGV, as @ARGV must remain being a list of
4139 files. Rather, at M4 call sites, use this...
4140 (&files_to_options): New function.
4141 (&freeze): Use &error.
4142 (&up_to_date): If a file that was included according to the cache
4143 is no longer there, then the output is out dated.
4144 (&main): Don't even check whether a file is up to date is anyway
4146 * tests/tools.at (autom4te cache): New.
4148 2002-10-16 Akim Demaille <akim@epita.fr>
4150 * bin/autoconf.as: Kill dead options.
4151 * bin/autoupdate.in (&parse_args): Kill old options.
4152 * bin/autoreconf.in (&parse_args): Remove dead options.
4154 (&autoreconf): Report the directories we enter *and leave*, so
4155 that error messages can be easily located, and use GNU Make
4156 format, so that Emacs' compile mode understands us.
4157 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4158 if some file was changed instead of `print'.
4159 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4160 (&parse_args): Remove the dead options.
4161 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4162 autoheader's quiet mode.
4163 (AT_CHECK_AUTOUPDATE): Likewise.
4164 * tests/tools.at (autoupdate): Adjust.
4165 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4167 2002-10-11 Akim Demaille <akim@epita.fr>
4169 No longer use CPP to check for the existing of headers: use CC to
4170 check for compilability.
4172 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4173 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4174 (_AC_CHECK_HEADER_NEW): Rename as...
4175 (AC_CHECK_HEADER): this.
4177 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4178 numbers in the Subject suggestion.
4180 2002-10-11 Akim Demaille <akim@epita.fr>
4182 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4183 Suggest using AC_CHECK_DECLS instead.
4185 2002-10-11 Akim Demaille <akim@epita.fr>
4187 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4190 2002-10-11 Akim Demaille <akim@epita.fr>
4192 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4193 file name to enable parallel executions.
4194 From Sam Varshavchik.
4196 2002-10-08 Akim Demaille <akim@epita.fr>
4198 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4199 aclocal invocation, as Gettext macros might not be visible to
4201 Instead of blindly running autopoint, scan configure.ac (not the
4202 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4203 Reported by Paul D. Smith.
4205 2002-10-08 Paul Eggert <eggert@twinsun.com>
4207 Work around problems found when POSIXLY_CORRECT=1 is set.
4208 None of this seems to have anything to do with POSIX, really,
4209 but it's how Perl getopt works.
4210 * bin/autom4te.in (parse_args): Configure GetOpt with
4212 * doc/autoconf.texi (Invoking autom4te):
4213 --warning -> --warnings.
4214 * lib/autom4te.in: --warning -> --warnings.
4216 2002-09-28 Akim Demaille <akim@epita.fr>
4218 * doc/autoconf.texi (autom4te.cache): New section.
4220 2002-09-28 Akim Demaille <akim@epita.fr>
4222 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4223 (Automake-preselections): Update.
4224 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4226 2002-09-28 Akim Demaille <akim@epita.fr>
4228 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4229 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4230 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4231 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4233 2002-09-28 Akim Demaille <akim@epita.fr>
4235 * tests/torture.at (Configuring subdirectories): Be robust to
4236 users who use config.site to require for a cache: in this case,
4237 the two last configure runs, using two different sets of
4238 arguments, trigger a legitimate error.
4240 2002-09-28 Akim Demaille <akim@epita.fr>
4242 * tests/m4sh.at (Functions Support, Functions and return Support):
4245 2002-09-28 Akim Demaille <akim@epita.fr>
4247 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4248 autoheader are Perl programs.
4249 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4250 (autom4te): Specify that the sources are in the $srcdir.
4251 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4253 2002-09-28 Akim Demaille <akim@epita.fr>
4255 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4256 (tm_zone): Move their rules to...
4257 * lib/autoconf/types.m4: here, using AN_ macros.
4258 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4259 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4260 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4261 * lib/autoconf/programs.m4: here.
4262 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4263 (ETAGS_FOR_AUTOCONF): New.
4266 2002-09-28 Akim Demaille <akim@epita.fr>
4268 * lib/autoconf/autoscan.m4: New file.
4269 * lib/autoconf/autoconf.m4: Include it.
4270 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4271 that were listed in the original autoscan.list.
4272 * lib/autoconf/headers.m4: Similarly with headers.
4273 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4274 (.m4.m4f): Don't pass --prepend-include, since that's done by
4275 tests/autom4te itself.
4276 * lib/autoscan/Makefile.am: Include freeze.mk.
4277 (autoscan.list): New target --this file is no longer a source.
4278 (autoscan.pre): New file.
4280 2002-09-28 Akim Demaille <akim@epita.fr>
4282 * bin/autoscan.in (@kinds): Make them singular.
4284 (&init_tables): When --debug, report the list of rules to ease
4285 tracking changes in autoscan.list.
4286 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4288 2002-09-28 Akim Demaille <akim@epita.fr>
4290 * lib/autoscan/functions, lib/autoscan/headers,
4291 * lib/autoscan/identifiers, lib/autoscan/makevars,
4292 * lib/autoscan/programs: Merge into...
4293 * lib/autoscan/autoscan.list: this.
4294 * bin/autoscan.in (&init_tables): Adjust.
4296 2002-09-28 Akim Demaille <akim@epita.fr>
4298 * lib/autoscan/functions, lib/autoscan/headers,
4299 * lib/autoscan/identifiers, lib/autoscan/makevars,
4300 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4301 `functions' line is now prefixed with `function:'.
4302 * bin/autoscan.in (&init_tables): Adjust.
4304 2002-09-28 Akim Demaille <akim@epita.fr>
4306 From now on, autoscan files must always map a macro name to a
4307 word: there is no `default' macro for autoscan.
4309 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4311 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4314 2002-09-28 Akim Demaille <akim@epita.fr>
4316 * bin/autoscan.in (%c_keywords): Remove.
4317 (&used): Keep only track of the words we might be interested in.
4318 (&output_kind): It is no longer needed to look for non active
4321 2002-09-27 Akim Demaille <akim@epita.fr>
4323 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4324 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4325 * lib/autoscan/functions: Adjust.
4326 * doc/autoconf.texi (Particular Functions): Adjust.
4328 2002-09-27 Akim Demaille <akim@epita.fr>
4330 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4332 Thanks to Bill Moseley and Paul Eggert.
4333 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4334 the tmpdir must be created.
4335 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4336 dir be in the build tree, instead of $TMPDIR.
4338 2002-09-27 Akim Demaille <akim@epita.fr>
4340 * bin/autoscan.in: Improve the comments.
4341 (&parse_args): Drop obsolete undocumented options.
4342 (&output_kind): Output warnings.
4343 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4344 (getwd): Trigger a warning.
4346 2002-09-26 Akim Demaille <akim@epita.fr>
4348 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4349 Reported by Ralf Corsepius.
4350 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4352 2002-09-26 Akim Demaille <akim@epita.fr>
4354 Single suffix rules and seperated dependencies are not portable.
4356 * doc/autoconf.texi (Installation Directory Variables): Update.
4357 (Limitations of Make): Some about `Single Suffix Rules and
4358 Separated Dependencies'.
4359 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4360 (ifnames, autoscan, autom4te): Un-factor into several rules.
4362 2002-09-25 Paul Eggert <eggert@twinsun.com>
4364 * BUGS (Interoperability bugs): New section. Mention libtool
4365 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4367 2002-09-24 Paul Eggert <eggert@twinsun.com>
4369 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4370 make handles suffix-rules differently from GNU make.
4372 * bin/Makefile.am (SUFFIXES, .in): Remove.
4373 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4374 Move the body of the old .in rule here.
4376 2002-09-16 Akim Demaille <akim@epita.fr>
4378 i960 compilers create `b.out' files by default.
4379 Reported by Ralf Corsepius.
4381 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4382 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4384 2002-09-13 Paul Eggert <eggert@twinsun.com>
4386 * doc/autoconf.texi (Particular Headers): Remove obsolete
4387 reference to `struct timezone' in the description of
4390 2002-09-13 Akim Demaille <akim@epita.fr>
4394 * config/config.sub, config/config.guess: Update.
4395 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4396 * Makefile.am: Adjust.
4398 2002-09-13 Akim Demaille <akim@epita.fr>
4400 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4401 reading config.log when the compiler is rejected.
4402 Suggested by Guido Draheim.
4404 2002-09-13 Akim Demaille <akim@epita.fr>
4406 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4407 (chdir_init) might hang when stat'ing mounted directories.
4408 Reported by Vance Shipley.
4410 2002-09-12 Akim Demaille <akim@epita.fr>
4412 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4415 2002-09-12 Akim Demaille <akim@epita.fr>
4417 * doc/autoconf.texi (Defining Symbols): Present two different
4418 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4419 difference between 1 argument calls, and 2-3 argument calls.
4421 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4423 * doc/autoconf.texi: Review grammar and punctuation.
4425 2002-09-11 Paul Eggert <eggert@twinsun.com>
4427 * doc/autoconf.texi: Fix minor formatting, spelling, and
4429 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4430 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4433 2002-09-11 Akim Demaille <akim@epita.fr>
4435 * doc/autoconf.texi (Questions): Rename as...
4437 (Defining Directories): New.
4439 2002-09-09 Akim Demaille <akim@epita.fr>
4441 * doc/autoconf.texi (Making testsuite Scripts): Update.
4442 Suggested by Nishio Futoshi.
4444 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4446 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4447 plain `@' is wanted.
4449 2002-09-09 Akim Demaille <akim@epita.fr>
4451 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4452 `duplicates', since the algorithm was too naive and could keep
4453 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4454 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4455 Reported by Ralf Corsepius.
4456 * tests/torture.at (Configuring subdirectories): Exercise these
4459 2002-09-09 Akim Demaille <akim@epita.fr>
4461 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4462 looking for a replacement file.
4463 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4464 directory is relative.
4465 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4466 directory definition.
4467 Reported by Andreas Schwab and Jim Meyering.
4469 2002-09-06 Akim Demaille <akim@epita.fr>
4471 * doc/autoconf.texi (Setting Output Variables): Clarify what
4472 precious variables are.
4473 Suggested by Pontus Skoeld.
4475 2002-09-05 Akim Demaille <akim@epita.fr>
4477 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4478 (ifnames, autoscan, autom4te): Since we don't only depend on
4479 configure.ac variables (such as VERSION etc.), but also on prefix
4480 and so forth, depend on Makefile, not configure.ac.
4481 Reported by Alexandre Duret-Lutz.
4482 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4484 2002-09-05 Kevin Ryde <user42@zip.com.au>
4486 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4487 doesn't seem to be confined to ia64, just say "some versions".
4489 2002-09-04 Akim Demaille <akim@epita.fr>
4491 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4493 * Makefile.am (maintainer-clean-local): Remove.
4494 (MAINTAINERCLEANFILES): Remove COPYING.
4496 2002-09-03 Paul Eggert <eggert@twinsun.com>
4498 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4499 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4502 2002-09-03 Akim Demaille <akim@epita.fr>
4504 * configure.ac: Bump to 2.53d.
4505 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4506 as of today, on Automake's team suggestion.
4508 2002-09-03 Akim Demaille <akim@epita.fr>
4512 2002-09-02 Akim Demaille <akim@epita.fr>
4514 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4516 * configure.ac: Disable SITE_MACRO_DIR.
4518 2002-09-02 Jim Meyering <meyering@lucent.com>
4520 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4521 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4522 Also, tweak grammar: s/make sure to/be sure to/.
4524 2002-09-02 Paul Eggert <eggert@twinsun.com>
4526 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4527 directory names are generally preferable to physical names.
4529 2002-09-02 Akim Demaille <akim@epita.fr>
4531 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4532 Reported by Raja R. Harinath.
4533 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4534 * bin/autoupdate.in: Use error instead of die.
4536 2002-09-01 Paul Eggert <eggert@twinsun.com>
4538 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4539 ordinary shell concatenation rather than echo+tr+sed command that
4540 runs afoul of a long-line-related sed bug in Solaris 8.
4542 * bin/autoheader.in (parse_args): --warning -> --warnings.
4544 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4545 stdout, as traditional "ls" does.
4546 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4547 _AC_COMPILER_EXEEXT_O): Likewise.
4548 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4550 * bin/autoconf.as: Add --prepend-include option. This patch was
4551 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4552 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4554 * bin/autoconf.in, configure: Regenerate.
4556 * doc/autoconf.texi (Special Shell Variables): Mention
4557 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4559 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4560 MAILPATH and set PS1, PS2, PS4 to default values, to work
4561 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4562 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4563 the Autoconf documentation specifies; fall back to "unset" only if
4564 this fails. Use a shell for-loop for this rather than an m4 loop,
4565 to shorten the output script.
4567 2002-08-30 Paul Eggert <eggert@twinsun.com>
4569 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4570 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4571 for the CDPATH problem. Document PWD.
4572 (Limitations of Builtins): Document the problem that "cd $foo" and
4573 "ls $foo" may refer to different directories in shells conforming
4574 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4575 example, since the old example is now out of date.
4577 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4578 FOO" and "ls FOO" talk about different directories; this catches
4579 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4582 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4583 of rolling our own unset.
4584 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4585 in practice we needn't worry about CDPATH if unset doesn't work.
4587 * Makefile.in, aclocal.m4, bin/Makefile.in,
4588 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4589 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4590 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4591 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4592 tests/Makefile.in: Regenerate with Automake 1.6.3.
4594 * config/config.guess, config/config.sub, config/mkinstalldirs:
4597 * configure: Regenerate with self.
4599 2002-08-30 Kevin Ryde <user42@zip.com.au>
4601 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4604 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4606 * bin/autom4te.in (Request::load): Correctly test for "do" read
4609 2002-08-29 Akim Demaille <akim@epita.fr>
4611 * lib/Autom4te/General.pm (&xqx): New.
4612 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4613 hand, which is not portable.
4615 * bin/autom4te.in: Use them.
4616 Use &error instead of die.
4617 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4620 2002-08-17 Paul Eggert <eggert@twinsun.com>
4622 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4623 default list of compilers to try, since it was long ago superseded
4624 by the ksh fc builtin. Suggested by Steven G. Johnson.
4626 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4628 * doc/autoconf.texi (Invoking autom4te): End the option table,
4629 fixing a bug introduced by the previous patch.
4630 (Limitations of Make): Add a 'target lookup' subentry in the
4631 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4633 2002-07-29 Mark D. Roth <roth@feep.net>
4635 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4636 options and use $AUTOM4TE_PATH.
4637 * doc/autoconf.texi: Remove documentation of autom4te
4638 --include-envvar and --site-macro-subdir options and document
4639 use of $AUTOM4TE_PATH.
4640 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4641 arguments from each language section.
4643 2002-07-29 Paul Eggert <eggert@twinsun.com>
4645 * doc/install.texi: Include copyright symbol in copyright notice.
4647 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4649 (AM_MAKEINFOFLAGS): New macro.
4650 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4651 * Makefile.am (INSTALL): Use the new macros.
4652 Use -o rather than --output, since "missing" does not grok --output.
4654 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4656 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4657 comments do not always work. Never trust the exit status of
4660 2002-07-24 Kevin Ryde <user42@zip.com.au>
4662 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4663 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4665 2002-07-23 Paul Eggert <eggert@twinsun.com>
4667 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4668 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4669 apparently treats PATH="nonexistent" as if it contained ".".
4670 Bug reported by Stefan `Sec' Zehl.
4672 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4674 * doc/autoconf.texi (Limitations of Make): Mention the special
4675 handling of the obj/ directory by BSD make.
4677 2002-07-20 Kevin Ryde <user42@zip.com.au>
4679 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4682 2002-07-19 Akim Demaille <akim@epita.fr>
4684 * doc/autoconf.texi (Function Portability): `exit'.
4685 (Programming in M4sh): Ethymology of M4sh.
4687 2002-07-19 Akim Demaille <akim@epita.fr>
4689 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4691 2002-07-18 Akim Demaille <akim@epita.fr>
4695 2002-07-18 Akim Demaille <akim@epita.fr>
4697 * config/config.guess, config/config.sub: Update.
4699 2002-07-18 Akim Demaille <akim@epita.fr>
4701 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4704 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4705 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4706 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4708 2002-07-18 Akim Demaille <akim@epita.fr>,
4709 Alexandre Duret-Lutz <duret_g@epita.fr>
4711 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4712 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4714 2002-07-17 Russ Allbery <rra@stanford.edu>
4716 * doc/autoconf.texi (Initializing configure): Clarify the
4717 description of the tarname default.
4719 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4721 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4722 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4725 2002-07-17 Akim Demaille <akim@epita.fr>
4727 * lib/Autom4te/General.pm (find_file): Browse the directories in
4728 the order they are given.
4730 2002-07-17 Akim Demaille <akim@epita.fr>
4732 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4733 * tests/wrapper.as: this.
4734 * tests/Makefile.am, configure.ac: Adjust.
4736 2002-07-17 Mark D. Roth <roth@feep.net>
4738 * configure.ac: Add --enable-site-macro-dir option.
4739 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4740 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4741 --site-macro-subdir options.
4742 * bin/autoconf.in: Add --prepend-include option.
4743 * bin/autoheader.in: Add --prepend-include option.
4744 * bin/autoreconf.in: Add --prepend-include option.
4745 * bin/autoscan.in: Add --prepend-include option.
4746 * bin/autoupdate.in: Add --prepend-include option.
4747 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4748 macro directory, remove note that include path directories are
4749 used in reverse order, and document --prepend-include option.
4750 * lib/autom4te.in: Use --prepend-include instead of --include.
4751 * tests/wrapsh.in: Use --prepend-include instead of --include.
4753 2002-07-17 Akim Demaille <akim@epita.fr>
4755 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4757 * doc/autoconf.texi (Initializing configure): Adjust.
4759 2002-07-17 Akim Demaille <akim@epita.fr>
4761 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4762 (_AC_FUNC_MALLOC): New.
4763 (AC_FUNC_MALLOC): Use the latter.
4764 Define HAVE_MALLOC to 0 if broken.
4765 * doc/autoconf.texi (Particular Functions): Adjust.
4767 2002-07-16 Akim Demaille <akim@epita.fr>
4769 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4770 * doc/autoconf.texi (C Compiler): Adjust.
4772 2002-07-09 Akim Demaille <akim@epita.fr>
4774 * doc/autoconf.texi: Properly set the ``header'' part.
4776 2002-07-09 Akim Demaille <akim@epita.fr>
4778 * doc/autoconf.texi (Systemology): Some about Darwin.
4780 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4782 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4783 Don't use AC_REQUIRE in AU_DEFUN.
4785 2002-07-09 Art Haas <ahaas@neosoft.com>
4787 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4789 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4791 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4792 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4793 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4794 so that Emacs setups GNU style for perl-mode and cperl-mode.
4796 2002-06-27 Paul Eggert <eggert@twinsun.com>
4798 * config/install-sh: Quote $src. Prefer || to test's -o option,
4799 as per "Limitations of Builtins".
4800 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4801 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4803 * tests/mktests.sh: Use grep instead of fgrep, as per
4804 "Limitations of Builtins".
4806 2002-06-15 Paul Eggert <eggert@twinsun.com>
4808 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4809 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4810 so that we consistently test the just-built programs.
4811 * tests/wrappl.as: Likewise.
4813 2002-06-12 Paul Eggert <eggert@twinsun.com>
4815 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4816 name, so that symlinks to 'autoconf' work properly. Bug reported
4818 * bin/autoheader.in (AUTOM4TE): Likewise.
4819 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4820 * bin/autoscan.in (autom4te): Likewise.
4821 * bin/autoupdate.in (autom4te): Likewise.
4823 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4824 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4827 2002-06-11 Andreas Schwab <schwab@suse.de>
4829 * doc/autoconf.texi: Add more dir entries.
4831 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4833 * bin/autom4te.in ($cache): Don't define using `$me', the name
4834 of the cache should not depend on the name under which autom4te
4837 2002-06-07 Akim Demaille <akim@epita.fr>
4839 * tests/tools.at (autoconf: forbidden tokens, basic)
4840 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4841 words in autom4te.in.
4843 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4845 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4846 _AC_LANG_PROGRAM_C_F77_HOOKS.
4848 2002-06-07 Akim Demaille <akim@epita.fr>
4850 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4852 (AC_REPLACE_FNMATCH): this.
4853 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4854 AC_FUNC_FNMATCH_GNU.
4856 2002-06-07 Akim Demaille <akim@epita.fr>
4858 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4859 Rosetta Stone for Unix.
4861 2002-06-07 Akim Demaille <akim@epita.fr>
4863 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4864 suggest m4_pattern_allow.
4865 Suggested by Adam J. Richter.
4867 2002-06-07 Akim Demaille <akim@epita.fr>
4869 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4870 ac_config_libobj_dir.
4871 (AC_CONFIG_LIBOBJ_DIR): New.
4872 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4873 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4874 Use ac_config_libobj_dir to find the replacement files.
4875 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4876 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4877 (AC_REPLACE_FNMATCH_GNU): these.
4878 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4879 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4880 * tests/mktests.sh (ac_exclude_list): Don't check
4881 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4883 2002-06-06 Paul Eggert <eggert@twinsun.com>
4885 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4888 * doc/autoconf.texi (Configuration Links): Likewise.
4889 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4891 2002-06-05 Paul Eggert <eggert@twinsun.com>
4893 * config/config.guess, config/config.sub, config/texinfo.tex:
4894 Update from masters.
4896 2002-05-29 Paul Eggert <eggert@twinsun.com>
4898 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4899 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4900 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4902 * lib/autoconf/Makefile.am (check-local): Likewise.
4903 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4904 * lib/autoconf/types.m4 (commentary only): Likewise.
4905 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4906 * lib/autotest/Makefile.am (check-local): Likewise.
4907 * lib/m4sugar/Makefile.am (check-local): Likewise.
4908 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4909 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4911 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4912 * doc/autoconf.texi (Particular Programs): Document them.
4913 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4916 2002-05-27 Paul Eggert <eggert@twinsun.com>
4918 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4919 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4920 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4921 instead of AC_MBSTATE_T, which never existed.
4923 2002-05-23 Akim Demaille <akim@epita.fr>
4925 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4926 version of Autoconf that is discussed.
4928 2002-05-22 Paul Eggert <eggert@twinsun.com>
4930 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4931 from the default list of compilers to try. Suggested by
4933 * NEWS: Document the above.
4934 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4936 2002-05-17 Paul Eggert <eggert@twinsun.com>
4938 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4939 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4940 This improves on an earlier suggestion by H. Peter Anvin.
4942 2002-05-16 Paul Eggert <eggert@twinsun.com>
4944 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4945 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4946 Both macros now accept an optional source-dir arg.
4947 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4949 * NEWS: Document this.
4950 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4952 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4953 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4954 not for GNU extensions; this undoes part of the 2000-11-03 change,
4955 reverting to 2.13-compatible behavior.
4956 Add new optional argument DIR.
4957 (AC_FUNC_FNMATCH_GNU): New macro.
4959 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4961 2002-05-08 Paul Eggert <eggert@twinsun.com>
4963 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4964 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4965 and it causes a 'test' syntax error if it fails.
4966 Bug reported by Stephen Gildea.
4968 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4969 If prototypes are supported, use them to check this at compile-time,
4970 instead of trying to check it at run-time. If we must do a run-time
4971 check, assume that setvbuf is standard when cross-compiling, as
4972 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4973 Bug reported by Paul D. Smith.
4975 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4976 argument specifying location of getloadavg.c. This removes a
4977 FIXME. This idea was taken from Jim Meyering's implementation in
4979 * doc/autoconf.texi (Particular Functions): Document this.
4980 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4981 that's what the code does; this fixes a bug reported by
4984 2002-05-03 Akim Demaille <akim@epita.fr>
4986 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4987 autopoint instead of gettextize.
4988 ($uses_alocal): Rename as...
4989 ($uses_aclocal): this.
4990 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4991 Suggested by Bruno Haible.
4993 2002-05-03 Akim Demaille <akim@epita.fr>
4995 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4997 2002-04-29 Paul Eggert <eggert@twinsun.com>
4999 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
5000 files to be 1 second older; just set them to be the same time.
5001 Also, sleep 1 second after the first aclocal, to work around
5002 problems with sub-second time stamps on the input files.
5004 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
5006 * doc/autoconf.texi: Mention "set -e -x" lossage
5007 under node "Limitations of Builtins".
5009 2002-04-29 Akim Demaille <akim@epita.fr>
5011 * doc/install.texi: Better wording for setting variables when
5013 From Christian Cornelssen.
5015 2002-04-29 Akim Demaille <akim@epita.fr>
5017 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
5018 of lack of $LINENO support, then the test will compare the $LINENO
5019 in testsuite vs. the lineno in the test file. This is wrong, of
5021 Be sure to protect it.
5022 Reported by Patrick Welche.
5024 2002-04-25 Akim Demaille <akim@epita.fr>
5026 * doc/autoconf.texi (Obsolete Macros): Typo.
5027 Reported by Vladimir Volovich.
5029 2002-04-25 Akim Demaille <akim@epita.fr>
5031 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
5032 than some of the input files, hence, on the second run of aclocal,
5033 if some of its input are younger, make them older.
5034 Suggested by Paul Eggert.
5036 2002-04-25 Akim Demaille <akim@epita.fr>
5038 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
5039 Thanks to Paul Eggert.
5041 2002-04-25 Akim Demaille <akim@epita.fr>
5043 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
5044 and ac_subst_vars be sh variables containing the list of
5045 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
5047 (_AC_INIT_PREPARE): Use them to log them.
5048 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
5049 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
5050 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
5051 _AC_SUBST_FILES and _AC_SUBST_VARS.
5052 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
5054 2002-04-24 Akim Demaille <akim@epita.fr>
5056 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
5057 autoheader, so that automake does not complain about a missing
5058 config.h.in that was to be created.
5060 2002-04-23 Akim Demaille <akim@epita.fr>
5062 * bin/autoheader.in (parse_args): --warning takes an argument.
5065 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
5067 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
5068 and bb.out when cleaning up.
5070 2002-04-22 Akim Demaille <akim@epita.fr>
5074 2002-04-22 Akim Demaille <akim@epita.fr>
5076 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
5078 2002-04-22 Akim Demaille <akim@epita.fr>
5080 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
5082 Reported by Gregory Giannoni.
5084 2002-04-22 Akim Demaille <akim@epita.fr>
5086 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
5087 Fixes false failures on Darwin.
5089 2002-04-21 Paul Eggert <eggert@twinsun.com>
5091 * TODO, bin/autoupdate.in, doc/autoconf.texi,
5092 lib/autoconf/general.m4, lib/autoconf/libs.m4,
5093 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
5094 tests/tools.at: Minor spelling and grammar fixes.
5096 2002-04-20 Paul Eggert <eggert@twinsun.com>
5098 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
5099 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
5100 * lib/autotest/general.m4 (AT_INIT): Likewise.
5101 * tests/atgeneral.m4 (AT_INIT): Likewise.
5103 2002-04-19 Paul Eggert <eggert@twinsun.com>
5105 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
5106 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
5107 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5108 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5109 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5110 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5111 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5112 Minor spelling and grammar fixes.
5114 * doc/autoconf.texi: Follow the outline suggested in the GNU
5115 Sample Texts sections of the Texinfo 4.2 manual. Most
5116 importantly, this makes sure that the copyright notices appear in
5117 all output formats. You probably need Texinfo 4.2 to generate
5120 Fix some bugs when using "$@" when there might be zero positional
5121 arguments in cases where this matters.
5123 * bin/autoconf.as: Rewrite so that the problem does not come up.
5124 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5125 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5126 * lib/autotest/general.m4 (AT_INIT): Likewise.
5128 * bin/autoheader.in: Use 'case' statement to work around problem.
5129 * bin/auto4mte.in: Likewise.
5130 * bin/autoreconf.in: Likewise.
5131 * bin/autoscan.in: Likewise.
5132 * bin/autoupdate.in: Likewise.
5133 * bin/ifnames.in: Likewise.
5135 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5137 * lib/autotest/general.m4 (AT_INIT):
5138 Use Zsh alias to work around problem.
5139 * tests/atgeneral.m4 (AT_INIT): Likewise.
5141 * tests/c.at: We can't have zero arguments, so remove workaround
5142 that is not portable to Zsh.
5144 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5146 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5147 from aclocal.m4 too.
5149 2002-04-12 Akim Demaille <akim@epita.fr>
5151 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5153 2002-04-10 Akim Demaille <akim@epita.fr>
5155 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5156 workaround for ${1+"$@"}.
5157 * doc/autoconf.texi (Shell Substitutions): Explain it.
5158 From Oliver Kiddle and Peter Stephenson.
5160 Have M4sh perform minimal shell sanitizing.
5162 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5164 (_AS_PREPARE): this new macro.
5166 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5167 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5169 Adjust Autoconf and Autotest.
5171 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5172 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5173 * lib/autotest/general.m4 (AT_INIT): Likewise.
5174 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5175 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5178 Use this M4sh to generate Autoconf's shell scripts.
5180 * tests/wrapsh.as: New, precursor of wrapsh.in.
5181 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5182 on Autotest and M4sh.
5183 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5184 (wrapsh.in): New target.
5185 * bin/autoconf.as: New, precursor of autoconf.in.
5186 (autoconf.in): New target.
5188 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5190 * doc/autoconf.texi (Limitations of Make): Mention the issue
5191 with indented comments in rules.
5193 2002-04-09 Andreas Schwab <schwab@suse.de>
5195 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5196 ac_top_builddir when setting ac_abs_top_builddir.
5198 2002-04-06 Kevin Ryde <user42@zip.com.au>
5200 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5201 (Portable Shell): Cross reference to Systemology.
5203 2002-04-05 Akim Demaille <akim@epita.fr>
5205 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5206 directories when descending in a SUBDIRS.
5207 Reported by Ezra Peisach.
5209 2002-04-04 Andreas Schwab <schwab@suse.de>
5211 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5212 contains no literal separators.
5214 2002-04-03 Akim Demaille <akim@epita.fr>
5216 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5217 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5218 Use dnl, not the KILL diversion.
5220 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5221 (AC_CONFIG_LINKS): here.
5223 Don't use the KILL diversion, as it kills spurious output, which
5224 results in failures being hidden.
5225 Use m4_defn where appropriate.
5226 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5227 after the second argument.
5229 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5230 syntax, as it is provided by M4sugar.
5231 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5233 2002-04-03 Andreas Schwab <schwab@suse.de>
5235 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5236 expanded if $# <= 2.
5238 * bin/autoreconf.in (autoreconf): Run automake after rerunning
5241 2002-04-03 Akim Demaille <akim@epita.fr>
5243 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5244 (_AC_COMPILER_EXEEXT_REJECT): New.
5245 Also recognize *.bb and *.bbg as compilation byproducts.
5246 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5247 (_AC_COMPILER_OBJEXT): Use them.
5248 Fixes Debian #138666.
5250 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5252 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5254 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5255 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5256 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5257 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5259 (AC_C_INLINE): Same.
5260 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5261 * doc/autoconf.texi, NEWS: Document.
5262 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5265 2002-04-02 Akim Demaille <akim@epita.fr>
5267 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5268 _AS_MKDIR_P_PREPARE.
5270 2002-03-28 Kevin Ryde <user42@zip.com.au>
5272 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5273 to avoid versions of HP C which don't allow that.
5275 2002-03-27 Paul Eggert <eggert@twinsun.com>
5277 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5278 (AS_SHELL_SANITIZE): Invoke it.
5279 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5281 2002-03-26 Akim Demaille <akim@epita.fr>
5283 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5285 2002-03-26 Akim Demaille <akim@epita.fr>
5287 * doc/autoconf.texi (Introduction): The GNATS base moved.
5289 2002-03-25 Paul Eggert <eggert@twinsun.com>
5291 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5292 as POSIX requires, as it doesn't work with Zsh.
5293 * doc/autoconf.texi (Assignments): Document the problem.
5295 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5297 * doc/autoconf.texi (Limitations of Make): Mention more issue
5298 about VPATH, overriding of macros in sub-makes, and handling of
5301 2002-03-21 Paul Eggert <eggert@twinsun.com>
5303 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5304 problem with here-document buffer boundaries.
5306 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5307 when reinvoking the shell, to work around problems with installers
5308 who put strange things like "cd" commands in their environments.
5310 2002-03-19 Akim Demaille <akim@epita.fr>
5312 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5315 2002-03-19 Akim Demaille <akim@epita.fr>
5317 * bin/autoscan.in (scan_file): Specify the location in `&used'
5321 2002-03-19 Akim Demaille <akim@epita.fr>
5323 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5324 From Nishio Futoshi.
5326 2002-03-19 Akim Demaille <akim@epita.fr>
5328 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5330 2002-03-18 Paul Eggert <eggert@twinsun.com>
5332 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5333 (Limitations of Usual Tools): Add mkdir section.
5335 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5336 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5337 back on AS_DIRNAME to compute prefixes otherwise; this is
5338 roughly what mkinstalldirs does. That way, we need not have
5339 our own filename disassembler. The old disassembler did not
5340 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5342 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5343 Create at_test_all by a series of assignments,
5344 not by a single assignment of a long string. The latter causes ksh
5345 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5346 presumably because of a buffer overrun.
5348 2002-03-14 Paul Eggert <eggert@twinsun.com>
5350 * lib/autotest/general.m4 (at_times_skip):
5351 Renamed from at_times. Now a boolean.
5352 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5353 says 'times: not found'.
5355 2002-03-14 Akim Demaille <akim@epita.fr>
5357 * bin/autoreconf.in (&study_gettextize): New.
5358 (&autoreconf): Handle newest gettextize.
5359 Rerun aclocal if needed.
5360 Suggested by Andreas Schwab.
5362 2002-03-13 Akim Demaille <akim@epita.fr>
5364 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5366 2002-03-13 Akim Demaille <akim@epita.fr>
5368 * doc/autoconf.texi (Header Portability): New.
5369 Add information about stdint.h and inttypes.h from Paul Eggert.
5371 2002-03-13 Akim Demaille <akim@epita.fr>
5373 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5377 2002-03-12 Akim Demaille <akim@epita.fr>
5379 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5382 2002-03-11 Andreas Schwab <schwab@suse.de>
5384 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5385 does not do it if --with-lispdir is given.
5387 2002-03-08 Akim Demaille <akim@epita.fr>
5391 2002-03-08 Akim Demaille <akim@epita.fr>
5393 * doc/autoconf.texi (Subdirectories): Clarify that the
5394 subdirectory should exist.
5396 2002-03-08 Akim Demaille <akim@epita.fr>
5398 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5400 2002-03-08 Akim Demaille <akim@epita.fr>
5402 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5403 aliases the actual variables, and modifications of the former
5406 2002-03-08 Akim Demaille <akim@epita.fr>
5408 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5409 because of C-c: have m4 output in tmp files, then mv them.
5411 2002-03-08 Akim Demaille <akim@epita.fr>
5413 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5414 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5415 * bin/ifnames.in: Copyright update.
5417 2002-03-08 Akim Demaille <akim@epita.fr>
5419 * doc/autoconf.texi (Invoking autom4te): New.
5421 2002-03-05 Akim Demaille <akim@epita.fr>
5423 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5426 2002-03-05 Akim Demaille <akim@epita.fr>
5430 2002-03-04 Akim Demaille <akim@epita.fr>
5432 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5433 * lib/autoconf/general.m4 (AC_INIT): More informative error
5436 2002-03-04 Akim Demaille <akim@epita.fr>
5438 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5441 2002-03-04 Akim Demaille <akim@epita.fr>
5443 * doc/autoconf.texi (Transforming Names): Equality between target
5444 and host is irrelevant.
5445 (Specifying Names, Canonicalizing): Remove all references to the
5446 backward compatibility hooks. Rather, collect them all into...
5447 (Hosts and Cross-Compilation): this new section.
5448 * doc/install.texi (System Type): Ditto.
5449 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5450 that `--host' implies cross-compilation.
5452 2002-03-04 Akim Demaille <akim@epita.fr>
5454 * doc/autoconf.texi (Evaluation Macros): New.
5455 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5457 (_m4_foreach): Define the variant with immediate evaluation so
5458 that it contains exactly the items, not an expression which
5459 evaluation is the current item.
5460 (m4_re_string, m4_re_word): Don't over quote them.
5462 2002-03-04 Akim Demaille <akim@epita.fr>
5464 Instead of having stacking `shift's evaluated at the end, let
5465 `foreach' loops immediately evaluate them.
5467 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5468 $*. This is the n-th time I change my mind, but hopefully this is
5471 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5473 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5474 it was only a hack for m4_text_wrap.
5475 (m4_car2): Remove, replaced by...
5477 (_m4_foreach): Adjust.
5478 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5479 m4_bpatsubst for clarification.
5481 2002-03-04 Akim Demaille <akim@epita.fr>
5483 * doc/autoconf.texi (Changequote is Evil): New.
5485 2002-03-03 Kevin Ryde <user42@zip.com.au>
5487 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5488 on old systems like SunOS.
5490 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5492 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5493 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5494 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5495 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5498 2002-02-28 Akim Demaille <akim@epita.fr>
5500 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5503 2002-02-28 Kevin Ryde <user42@zip.com.au>
5505 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5507 2002-02-25 Akim Demaille <akim@epita.fr>
5509 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5512 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5514 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5515 translate \r\n to \n.
5517 2002-02-07 Akim Demaille <akim@epita.fr>
5521 2002-02-07 Akim Demaille <akim@epita.fr>
5523 Fix Autoconf PR/209.
5524 Also reported by Frank Denis.
5526 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5528 2002-02-07 Akim Demaille <akim@epita.fr>
5530 Fix Autoconf PR/207:
5531 AC_PREFIX_PROGRAM fails with dashed program names
5533 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5534 variable when looking for the prefix program.
5535 Now it also works for shell variables.
5537 2002-02-07 Akim Demaille <akim@epita.fr>
5539 * doc/autoconf.texi (Limitations of Builtins): More about
5542 2002-02-06 Akim Demaille <akim@epita.fr>
5544 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5545 case/esac, some shells don't support it.
5546 Reported by Zack Weinberg.
5547 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5549 2002-02-06 Akim Demaille <akim@epita.fr>
5551 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5552 sure not to introduce newlines in at_groups.
5553 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5555 2002-02-06 Akim Demaille <akim@epita.fr>
5557 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5560 2002-02-05 Paul Eggert <eggert@twinsun.com>
5562 * doc/autoconf.texi (Specific Compiler Characteristics):
5563 Describe HP-UX cc bug workaround more accurately.
5564 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5566 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5567 cross-compilers, too. This undoes some of the most recent change
5570 2002-02-05 Akim Demaille <akim@epita.fr>
5572 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5573 to make sure they are up to date when `check' is run.
5575 2002-02-05 Akim Demaille <akim@epita.fr>
5577 * doc/autoconf.texi (Making testsuite Scripts): Document
5580 2002-02-05 Akim Demaille <akim@epita.fr>
5582 * lib/freeze.mk: New.
5584 2002-02-05 Akim Demaille <akim@epita.fr>
5586 Implement `autom4te --freeze'.
5588 * bin/autom4te.in (&freeze): New.
5589 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5590 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5592 2002-02-05 Akim Demaille <akim@epita.fr>
5594 * bin/autom4te.in (&parse_args): Implement `frozen files are
5595 optional are the sum of the previous files on the command line'.
5596 Also, pass `--reload-state=' on them, so...
5598 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5599 (M4sh): Rely on M4sugar.
5600 (Autotest, M4sh, M4sugar): Use frozen files.
5602 2002-01-31 Akim Demaille <akim@epita.fr>
5604 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5605 * doc/autoconf.texi (Initializing configure): Adjust.
5607 2002-01-30 Akim Demaille <akim@epita.fr>
5609 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5610 alphanumeric to `-' instead of `_'.
5612 2002-01-30 Akim Demaille <akim@epita.fr>
5614 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5615 for plain code, the other for cross-compilation code. The latter
5616 is now run with GCC only.
5617 * doc/autoconf.texi (Compilers and Preprocessors): New.
5619 2002-01-30 Akim Demaille <akim@epita.fr>
5621 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5623 * doc/autoconf.texi (Initializing configure): Explain how to
5624 change AC_INIT default values.
5626 2002-01-29 Akim Demaille <akim@epita.fr>
5628 * tests/torture.at (Configuring subdirectories): Use configure.in,
5629 so that aclocal 1.4 works.
5630 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5632 2002-01-28 Akim Demaille <akim@epita.fr>
5634 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5637 2002-01-28 Akim Demaille <akim@epita.fr>
5639 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5640 AUTOTEST_PATH *after* it was set.
5641 Don't put `.' in the PATH: the user should be precise and `./' if
5642 needed. In addition, given that the test suite does some `cd', if
5643 `.' is in the path, the `tested programs' sections will report
5644 programs found in the test suite's directory, while during the
5645 tests (performed in their own directory), these programs are no
5646 longer visible. In other words, the results is confusing and
5648 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5650 2002-01-24 Akim Demaille <akim@epita.fr>
5654 2002-01-24 Akim Demaille <akim@epita.fr>
5656 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5657 * doc/autoconf.texi: Finally add Akim as an author.
5659 2002-01-24 Akim Demaille <akim@epita.fr>
5661 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5662 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5663 Bourne. Use /bin/sh.
5664 From Andreas Buening.
5666 2002-01-24 Akim Demaille <akim@epita.fr>
5668 * config/config.guess, config/config.sub, config/texinfo.tex:
5669 Update from masters.
5671 2002-01-24 Akim Demaille <akim@epita.fr>
5673 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5674 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5675 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5676 * config/missing.m4, config/sanity.m4, config/select.m4,
5677 * config/strip.m4: Remove, to ease sync'ing with any version of
5680 2002-01-24 Akim Demaille <akim@epita.fr>
5682 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5683 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5684 Reported by Geir Ove Myhr.
5686 2002-01-21 Akim Demaille <akim@epita.fr>
5688 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5690 2002-01-21 Akim Demaille <akim@epita.fr>
5692 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5693 message on invalid options.
5694 * bin/autom4te.in (parse_args): Don't use
5695 Autoconf::General::getopt with non valid options.
5697 2002-01-17 Jim Meyering <meyering@lucent.com>
5699 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5700 $ac_cv_exeext so we don't use an old, invalid, cached value.
5702 2002-01-11 Akim Demaille <akim@epita.fr>
5704 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5706 * doc/autoconf.texi (Function Portability): Document the strnlen
5708 (Particular Functions): Document AC_FUNC_STRNLEN.
5709 * lib/autoscan/functions: Adjust.
5711 2002-01-06 Akim Demaille <akim@epita.fr>
5713 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5714 package.m4, since is really depends upon configure.ac, not
5716 * doc/autoconf.texi (testsuite Scripts): Adjust.
5717 * tests/Makefile.am (package.m4): New.
5718 EXTRA_DIST it since its a source.
5720 2002-01-06 Akim Demaille <akim@epita.fr>
5722 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5723 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5724 and PACKAGE_BUGREPORT from here...
5725 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5727 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5728 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5729 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5730 * tests/tools.at (autoheader): Adjust.
5731 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5733 2002-01-06 Akim Demaille <akim@epita.fr>
5735 * bin/autoscan.in (scan_file): Use `&used'.
5737 2002-01-03 Akim Demaille <akim@epita.fr>
5739 * doc/autoconf.texi (Output): Improved wording regarding use of
5743 2001-12-18 Kevin Ryde <user42@zip.com.au>
5745 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5746 sometimes needing writable input.
5748 2001-12-17 Jim Meyering <meyering@lucent.com>
5750 * doc/autoconf.texi (New Macros): Tweak wording.
5752 2001-12-14 Akim Demaille <akim@epita.fr>
5754 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5755 trailing files, don't apply `-rf' to files which might not be
5756 created by configure (core, core.*, and *.core), but just `rm -f'.
5757 Suggested by Jonathan Kamens.
5759 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5761 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5763 2001-12-14 Akim Demaille <akim@epita.fr>
5765 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5767 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5769 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5770 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5771 abs_srcdir, top_srcpath to abs_top_srcdir.
5772 (_AC_OUTPUT_FILES): Adjust.
5773 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5774 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5775 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5777 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5779 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5780 C/Fortran linking on HP/UX, by extracting the Fortran library
5781 search path from the LPATH line in the $F77 -v output.
5783 2001-12-12 Kevin Ryde <user42@zip.com.au>
5785 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5786 forbidden file descriptors table.
5788 2001-11-26 Akim Demaille <akim@epita.fr>
5790 * bin/autoscan.in (%c_keywords): Build it at top level.
5791 Map to 1 in order to simplify its uses.
5793 2001-11-26 Akim Demaille <akim@epita.fr>
5795 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5796 Remove $filepath, useless.
5797 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5798 variables, they are really part of the tokens.
5799 Split the input line on spaces and then look for tokens.
5800 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5801 because of `lex$U.$(OBJEXT)'.
5802 (&scan_files): Use "@list" instead of join.
5803 * doc/Makefile.am (CLEANFILES): Add *.fns.
5805 2001-11-26 Akim Demaille <akim@epita.fr>
5807 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5808 Remove, replaced by...
5809 * tests/wrappl.in: Be common for all the Perl executables.
5810 In particular autoscan and autoheader want -I.
5811 * configure.ac: Adjust.
5812 * lib/autoscan/headers: errno.h is portable.
5814 2001-11-26 Akim Demaille <akim@epita.fr>
5816 * bin/autoscan.in (used): New.
5819 2001-11-26 Akim Demaille <akim@epita.fr>
5821 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5823 (&scan_sh_file): Remove a duplicate pattern.
5824 (&check_configure_ac): Use long options.
5825 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5827 2001-11-26 Akim Demaille <akim@epita.fr>
5829 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5830 Before, having a line containing the opening of a multi line
5831 comment made the whole line be ignored.
5833 2001-11-26 Akim Demaille <akim@epita.fr>
5835 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5836 (testsuite Scripts): Be one of its subsection.
5837 (Autotest Logs): New.
5839 2001-11-26 Akim Demaille <akim@epita.fr>
5841 Test groups are now run two directories deeper.
5843 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5844 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5846 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5847 top_srcdir, builddir and top_builddir.
5848 Use `at_*dir' relatively to the directory containing the
5849 suite, use `*dir' when relatively to the current group dir.
5851 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5853 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5854 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5855 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5858 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5860 * doc/autoconf.texi (Using System Type): Add an example of `case
5861 $host' usage so people quit using `case $target' everywhere.
5863 2001-11-22 Akim Demaille <akim@epita.fr>
5865 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5866 spotted by Jim Meyering.
5868 2001-11-16 Paul Eggert <eggert@twinsun.com>
5870 This patch implements a `long double' suggestion by Oliver Kiddle.
5872 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5873 static, to catch errors if the value isn't known at compile-time
5874 and the compiler supports dynamic arrays. Change its name from
5875 `_array_' to `test_array' to avoid potential name clashes.
5876 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5877 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5878 better than double. Catch a bug in GCC 2.95.2 x86.
5879 * doc/autoconf.texi (C Compiler): Document the above.
5882 2001-11-13 Akim Demaille <akim@epita.fr>
5884 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5886 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5888 2001-11-13 Akim Demaille <akim@epita.fr>
5890 * lib/autotest/general.m4 (AT_INIT): After having run the test
5891 group, go back to the initial directory, not to at_suite_dir.
5893 2001-11-13 Akim Demaille <akim@epita.fr>
5895 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5896 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5897 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5899 (AT_CHECK_CONFIGURE): Use absolute paths.
5900 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5901 The problem is still the old one: there is no means in M4 (that I
5902 know about) to create a defining macro, because there is no means
5903 to create `$1' etc., therefore, the defining macro ``swallows''
5904 all the arguments meant to the defined macro.
5906 2001-11-13 Akim Demaille <akim@epita.fr>
5908 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5909 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5911 * tests/aclocal.m4: Remove, as it is no longer used.
5913 2001-11-13 Akim Demaille <akim@epita.fr>
5915 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5916 variable names when referring to a single test group, or to
5917 `suite' when referring to the whole test suite.
5918 `at_last_test' is removed: m4 compute at_format itself.
5919 (at_stdout, at_stder1, at_stderr): New variables.
5920 (AT_CHECK): Use them.
5922 2001-11-13 Akim Demaille <akim@epita.fr>
5924 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5926 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5927 Do it as soon as a test fails, don't wait till the end of the test
5929 Don't remove $as_me.[0-9]*, since these files no longer exist.
5931 2001-11-13 Akim Demaille <akim@epita.fr>
5933 * tests/tools.at: Use absolute paths, since we are no longer run
5936 2001-11-13 Akim Demaille <akim@epita.fr>
5938 Now that tests are running in their own private dir, there is no
5939 need to list the files to remove at the end of tests groups.
5941 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5942 (AT_data_files, at_data_files): Remove.
5943 (AT_CLEANUP, AT_DATA): Simplify.
5945 Remove the group dir if !debug && !failed.
5946 * tests/atspecific.m4: Adjust.
5948 2001-11-13 Akim Demaille <akim@epita.fr>
5950 Start a new layout for Autotest: `testsuite' creates
5951 `testsuite.dir' in which the at-check-line etc. files are to be
5952 found, and `testsuite.dir/003' where the test group 3 is run.
5954 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5955 at_check_line_file, at_format, at_test_normalized, at_group_dir
5957 Create the directories.
5958 Use absolute paths for at- files.
5961 2001-11-11 Michael Matz <matz@kde.org>
5963 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5965 (m4_car): Properly quote arguments.
5967 2001-11-13 Akim Demaille <akim@epita.fr>
5969 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5970 with stricter rules on LIBOBJS.
5972 2001-11-12 Paul Eggert <eggert@twinsun.com>
5974 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5975 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5978 2001-11-12 Akim Demaille <akim@epita.fr>
5980 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5982 2001-11-12 Akim Demaille <akim@epita.fr>
5984 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5985 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5986 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5987 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5988 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5989 specify to what the macro should be defined (typically to 1).
5991 2001-11-12 Akim Demaille <akim@epita.fr>
5993 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5996 2001-11-12 Akim Demaille <akim@epita.fr>
5998 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5999 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
6000 definition used by Automake where LEX is +/- "${missing} lex" and
6001 `missing' itself contains variables.
6003 2001-11-12 Akim Demaille <akim@epita.fr>
6005 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
6006 Now that M4sh pushes BODY, the comments were output at the end of
6009 2001-11-08 Akim Demaille <akim@epita.fr>
6011 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
6012 that we can trace macros from aclocal.m4.
6013 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
6014 obsoleted, and redirect to the former anyway.
6015 Reported by Ralf Corsepius.
6017 2001-11-08 Akim Demaille <akim@epita.fr>
6019 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
6020 processed only if present.
6021 * tests/torture.at (Configuring subdirectories): Use autoreconf
6022 instead of successive calls to autoconf.
6023 Add a nonexistent subdirectory to exercise the patch above.
6024 Reported by Ralf Corsepius.
6026 2001-11-08 Kevin Ryde <user42@zip.com.au>
6028 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
6029 doesn't accept .S files.
6031 2001-11-07 Akim Demaille <akim@epita.fr>
6033 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
6034 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
6035 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
6036 * bin/autom4te.in (warn_forbidden): New.
6037 (handle_output): Use it.
6038 Read m4_pattern_forbid with messages.
6040 2001-11-05 Akim Demaille <akim@epita.fr>
6042 * bin/autom4te.in (--normalize): Remove.
6043 * lib/autom4te.in: Adjust.
6045 2001-11-05 Akim Demaille <akim@epita.fr>
6047 * tests/Makefile.am (testsuite): Rename this target as...
6048 ($(TESTSUITE)): this.
6051 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
6053 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
6054 the --prefix option, also remove it's argument.
6056 2001-11-05 Akim Demaille <akim@epita.fr>
6058 * doc/autoconf.texi (testsuite Invocation): Update.
6059 (Writing testsuite.at): Update.
6061 2001-11-03 Akim Demaille <akim@epita.fr>
6063 * doc/autoconf.texi: s/@code/@command/ where appropriate.
6065 2001-11-03 Akim Demaille <akim@epita.fr>
6067 * lib/Autom4te/General.pm: (&catfile, &canonfile)
6068 (&file_name_is_absolute): New, wrappers around routines from
6070 Use and export them.
6071 (&find_configure_ac): Optionally take a directory where to look at.
6072 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
6074 Default @ARGV to `.', not find_configure_ac.
6075 (&autoreconf): Argument is a directory.
6076 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
6077 * doc/autoconf.texi (autoreconf Invocation): Update.
6079 2001-11-03 Akim Demaille <akim@epita.fr>
6081 * lib/Autom4te/General.pm (@export_vars, @export_subs)
6082 (@export_forward_subs): New.
6083 Add basename, dirname, and fileparse.
6085 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
6086 Don't look for aclocal flags if we already know aclocal is not
6088 Move aclocal.m4t only if it exists.
6089 Reported by Ezra Peisach.
6091 2001-11-03 Akim Demaille <akim@epita.fr>
6093 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
6094 passed on command line, defaulting to ./configure.ac if present.
6095 (&maybe_autoreconf, File::Find): Remove, unused.
6096 (&autoreconf): If autoconf is not used, don't try to trace.
6098 2001-11-02 Akim Demaille <akim@epita.fr>
6100 * configure.ac: Bump to 2.52g.
6102 2001-11-02 Akim Demaille <akim@epita.fr>
6106 2001-11-02 Akim Demaille <akim@epita.fr>
6108 * config/config.guess, config/config.sub, doc/standards.texi:
6109 * config/lispdir.m4: Update from masters.
6110 * configure.ac: Bump to 2.52f.
6112 2001-11-02 Akim Demaille <akim@epita.fr>
6114 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6115 Don't run aclocal when aclocal.m4 is not from aclocal.
6117 Don't run libtoolize and gettextize if --install is not given.
6119 2001-11-01 Paul Eggert <eggert@twinsun.com>
6121 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6122 be invoked before _AS_LINENO_PREPARE.
6123 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6124 than character ranges.
6126 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6127 invoking AS_BASENAME. Set the locale variables to 'C' if
6128 possible, as POSIX requires this to get the traditional
6130 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6132 2001-10-31 Paul Eggert <eggert@twinsun.com>
6134 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6135 with {}, as that triggers a bug in Bash 2.05.
6137 (_AS_LINENO_PREPARE): Use Sed rather than
6138 Awk. Fix the sed prepass to work even if there are multiple
6139 instances of $LINENO on the same line. Do not substitute for
6140 other variables like $LINENOT. Do not check file dates; such a
6141 check is unreliable on sufficiently fast machines, and removing
6142 the check makes the code simpler and more reliable. Check for
6143 output and chmod failures.
6145 * doc/autoconf.texi (Special Shell Variables): Document
6148 2001-10-31 Akim Demaille <akim@epita.fr>
6150 * tests/Makefile.am (atconfig): Remove this target, Automake
6153 2001-10-31 Akim Demaille <akim@epita.fr>
6155 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6156 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6157 provided, while it is optional.
6158 * configure.ac: Adjust.
6160 2001-10-26 Paul Eggert <eggert@twinsun.com>
6162 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6163 lib/Autom4te/Struct.pm:
6164 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6167 * doc/autoconf.texi (Special Shell Variables): Document some
6168 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6170 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6171 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6172 eval $LINENO is not portable in practice.
6174 2001-10-24 Akim Demaille <akim@epita.fr>
6176 * lib/Autom4te/General.pm (backname): New.
6178 2001-10-24 Akim Demaille <akim@epita.fr>
6180 * m4/: Remove, merged into...
6183 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6185 * doc/autoconf.texi (Shellology): Mention the problems with bash
6186 2.05's use of ANSI quoting in its `set' builtin.
6188 2001-10-22 Paul Eggert <eggert@twinsun.com>
6190 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6191 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6192 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6193 POSIX decided to standardize on the int flavor of strerror_r.
6194 Always do char* test, as there's no reason not to.
6195 Assign to a char* var, to catch strerror_r that returns int*.
6197 * doc/autoconf.texi (Particular Functions):
6198 Document the above changes. Also, document the fact that
6199 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6201 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6203 2001-10-20 Akim Demaille <akim@epita.fr>
6205 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6206 the executable was missing from the log.
6208 2001-10-20 Akim Demaille <akim@epita.fr>
6210 * lib/Autom4te/General.pm (&update_file): If destination is
6211 unchanged, remove the source.
6212 (&up_to_date_p): Don't be verbose, be debug.
6213 * bin/autoreconf.in: No longer support --m4dir.
6214 (&autoreconf): Display the full path of the configure.ac we are
6217 Be sure to honor --force with gettextize.
6219 * doc/autoconf.texi: Adjust.
6221 2001-10-20 Akim Demaille <akim@epita.fr>
6223 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6225 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6226 `intl' is already present, as it refuses unless --force.
6227 (&parse_args): Use -I, --include instead of the old Autoconf
6229 ($localdir, $autoconf_dir): Remove.
6231 (&maybe_autoreconf): New, to preserve $_ for File::Find.
6233 2001-10-19 Jens Petersen <petersen@redhat.com>
6235 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6236 * doc/autoconf.texi (Particular Programs): Likewise.
6238 2001-10-19 Akim Demaille <akim@epita.fr>
6240 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6241 file in @configure_input@.
6242 Don't mention `automatically' in addition to `generated'.
6243 * tests/torture.at (#define header templates): Adjust.
6245 2001-10-19 Akim Demaille <akim@epita.fr>
6247 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6248 comment, explain how to install automatic mode selection.
6251 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6253 * bin/autoreconf.in (autoreconf): Display the path to the
6254 configure.ac being studied.
6256 2001-10-18 Paul Eggert <eggert@twinsun.com>
6258 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6259 long, to work around a bug in the HP C compiler version HP92453-01
6262 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6263 (AS_BASENAME_EXPR): New macro.
6264 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6265 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6266 and fall back on 'sed' only if the other two fail. This makes
6267 AS_BASENAME act more like AS_DIRNAME.
6268 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6269 contains white space.
6270 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6271 Use AS_DIRNAME, since I think it's now DOS-friendly.
6272 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6273 Allow "dirname //FOO" to return either / or //, as POSIX allows
6276 2001-10-10 Akim Demaille <akim@epita.fr>
6278 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6279 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6282 2001-10-10 Akim Demaille <akim@epita.fr>
6284 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6286 (_AS_ECHO_N): AS_REQUIREs it.
6288 2001-10-10 Akim Demaille <akim@epita.fr>
6290 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6291 (AC_INCLUDES_DEFAULT): Move to...
6292 * lib/autoconf/headers.m4: here.
6293 * lib/autoconf/types.m4: Comment changes.
6294 * doc/autoconf.texi: Specify where the default includes are used
6295 in the macro prototypes.
6297 2001-10-09 Akim Demaille <akim@epita.fr>
6299 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6302 2001-10-08 Akim Demaille <akim@epita.fr>
6304 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6305 (&parse_args): Pass verbosity/debugging options to subtools when
6306 --debug, not when --verbose.
6307 * lib/autom4te.in (Autoreconf-preselections): New.
6310 2001-10-08 Akim Demaille <akim@epita.fr>
6312 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6314 2001-10-08 Akim Demaille <akim@epita.fr>
6316 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6317 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6319 2001-10-08 Akim Demaille <akim@epita.fr>
6321 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6322 (Syntax of the shell scripts): Don't.
6323 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6324 bother with $force since...
6325 * lib/Autom4te/General.pm: does.
6327 2001-10-08 Akim Demaille <akim@epita.fr>
6329 * bin/autoreconf.in: Rewrite in Perl.
6330 * configure.ac: Adjust.
6331 * lib/Autom4te/General.pm (&up_to_date_p): New.
6332 * bin/autom4te.in (&up_to_date_p): Use it.
6334 (&up_to_date): this.
6336 2001-10-08 Akim Demaille <akim@epita.fr>
6338 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6339 (m4_list_cmp): Use $0 to reinvoke yourself.
6340 (m4_patsubsts): New.
6341 (m4_strip, m4_version_unletter): Use it.
6342 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6344 2001-10-08 Akim Demaille <akim@epita.fr>
6346 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6347 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6348 * lib/autoconf/types.m4, lib/autotest/general.m4,
6349 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6350 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6351 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6352 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6354 2001-10-08 Akim Demaille <akim@epita.fr>
6356 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6358 2001-10-08 Akim Demaille <akim@epita.fr>
6360 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6361 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6362 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6363 * tests/tools.at, tests/m4sh.at: Use it.
6364 * tests/m4sh.at: Don't rely on Autoconf macros.
6365 (DIRNAME_TEST): Also exercise the expr variant.
6366 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6367 preferred M4sugar extension is now `.4s'.
6368 * tests/README: Remove.
6370 2001-10-08 Akim Demaille <akim@epita.fr>
6372 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6373 (m4_provide_if): this.
6374 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6375 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6376 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6377 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6379 2001-10-08 Akim Demaille <akim@epita.fr>
6381 Use `add-log-current-defun-function' for ChangeLog creation.
6382 Suggested by Tom Tromey.
6384 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6385 (autotest-mode): Adjust.
6386 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6387 'comment-region onto `C-c ;'.
6388 Comments are `#', not `dnl'.
6389 (autoconf-current-defun): New.
6390 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6392 2001-10-08 Akim Demaille <akim@epita.fr>
6394 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6395 * lib/m4sugar/m4sh.m4: here.
6396 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6397 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6398 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6399 include handle the m4_pattern_*, no longer push the
6400 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6401 * lib/autotest/general.m4 (AT_INIT): Likewise.
6402 * tests/base.at: Adjust the tests to use AS_INIT.
6403 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6404 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6407 2001-10-07 Paul Eggert <eggert@twinsun.com>
6409 * doc/autoconf.texi (config.status Invocation):
6410 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6412 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6413 shell does not support LINENO, and if CONFIG_SHELL is unset or
6414 empty, and if we can find a shell that does support LINENO,
6415 then set CONFIG_SHELL to that shell and then re-execute
6416 ourselves with CONFIG_SHELL.
6418 2001-10-05 Paul Eggert <eggert@twinsun.com>
6420 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6421 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6422 build of $(TESTSUITE).
6424 2001-10-05 Akim Demaille <akim@epita.fr>
6426 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6427 iff we are a bareword.
6428 Reported by Raja R Harinath.
6430 2001-10-05 Akim Demaille <akim@epita.fr>
6432 * tests/m4sh.at (LINENO): New.
6433 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6434 PATH_SEPARATOR before using it.
6435 Fix the absolute path case/esac pattern.
6436 Provide $0 as fallback for as_myself.
6437 Reported by Raja R Harinath.
6439 2001-10-05 Akim Demaille <akim@epita.fr>
6441 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6442 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6444 2001-10-05 Akim Demaille <akim@epita.fr>
6446 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6447 (AS_SHELL_SANITIZE): here. Use it.
6448 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6451 2001-10-04 Akim Demaille <akim@epita.fr>
6453 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6454 combination of Awk and sed to replace $LINENO.
6456 2001-10-02 Paul Eggert <eggert@twinsun.com>
6458 * doc/autoconf.texi (Limitations of Builtins): You can't use
6459 "source"; it's not portable. Remove confusing and
6460 somewhat-incorrect example involving "." and "/".
6462 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6463 compatibility with POSIX shells.
6465 2001-10-02 Akim Demaille <akim@epita.fr>
6467 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6468 instead of exec'ing to preserve $0 and $@.
6470 2001-10-01 Akim Demaille <akim@epita.fr>
6472 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6473 Don't run twice the same test.
6475 2001-10-01 Akim Demaille <akim@epita.fr>
6477 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6478 No longer output the list of tests.
6479 <--list>: New option.
6480 <--full-help>: Remove.
6481 Complete the short/long options duality.
6482 Various small adjustments.
6484 2001-10-01 Akim Demaille <akim@epita.fr>
6486 * doc/autoconf.texi: Use @kbd for user input.
6487 Always use `$' as shell prompt.
6489 2001-09-30 Paul Eggert <eggert@twinsun.com>
6491 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6492 Don't use nested parenthesization. This patch was originally
6493 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6494 but somehow it didn't get incorporated then.
6495 * doc/autoconf.texi (Limitations of Usual Tools):
6496 Clarify remark about sed and nested parenthesization.
6498 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6499 Report an error if the size cannot be determined even though
6501 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6502 Check for `expr' arithmetic overflow, and for compilation failure,
6503 and invoke a new argument $4 if either is discovered.
6504 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6505 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6507 2001-09-28 Akim Demaille <akim@epita.fr>
6509 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6510 * m4/lispdir.m4: New.
6511 * aclocal.m4, configure.ac: Adjust.
6513 2001-09-28 Akim Demaille <akim@epita.fr>
6515 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6517 (AT_INIT): More the wrapped section to where it will be expanded.
6518 Output `AT_tested' only when existing.
6519 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6521 2001-09-27 Akim Demaille <akim@epita.fr>
6523 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6524 generates too many bug reports.
6526 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6527 status when executing the ACTION-IF-FALSE.
6528 * tests/base.at (AC_TRY_*): Rename as...
6529 (AC_TRY_COMMAND): this.
6530 (AC_RUN_IFELSE): New.
6531 * tests/compile.at (Extensions, C keywords)
6532 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6533 (Broken/missing compilers, AC_PROG_CPP with warnings)
6534 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6535 * tests/c.at (Extensions, C keywords)
6536 (Broken/missing compilers, AC_PROG_CPP with warnings)
6537 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6538 (AC_PROG_CPP requires AC_PROG_CC): here and...
6539 * tests/fortran.at (GNU Fortran 77): there.
6540 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6541 AC_TRY_RUN is about compilation, not shell commands.
6542 (Test Programs): AC_TRY_RUN works as used to be advertised.
6544 2001-09-27 Akim Demaille <akim@epita.fr>
6546 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6548 Be sure to detect when $LINENO always returns the same value.
6549 Look for the original script, basename($0) is certainly not
6551 Pass the CLI arguments to `$as_me.lineno'.
6553 2001-09-25 Akim Demaille <akim@epita.fr>
6555 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6556 Be sure the close and reopen the LOG fd before and after using tee
6558 <at_tests_pattern>: Adjust to the new format of at_help_all.
6560 2001-09-23 Akim Demaille <akim@epita.fr>
6562 * bin/autom4te.in (parse_args): There can be several invocations
6565 2001-09-23 Akim Demaille <akim@epita.fr>
6567 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6569 2001-09-23 Akim Demaille <akim@epita.fr>
6571 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6572 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6573 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6574 builddir, buildpath, top_builddir, and top_buildpath.
6575 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6576 the current directory.
6577 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6578 variables *before* changing the current directory.
6579 Skip nonexistent dirs.
6580 * doc/autoconf.texi (Preset Output Variables): Document these
6583 * lib/autotest/general.m4: Do not reset AT_victims.
6584 Don't compute at_srcdir nor at_top_srcdir.
6586 * tests/tools.at: Hence use top_srcdir.
6588 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6589 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6591 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6592 * tests/wrapsh.in, tests/autoupdate.in: New.
6593 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6594 * configure.ac: Build the position independent wrappers.
6596 * man/Makefile.am: Now that test wrappers are position
6597 independent, use them and drop dark envvar magic.
6599 2001-09-23 Akim Demaille <akim@epita.fr>
6601 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6602 (Programming in M4sh): this.
6603 Promote to @section.
6605 2001-09-23 Akim Demaille <akim@epita.fr>
6607 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6608 Pass $at_debug_args to the rerun test suite.
6609 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6610 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6613 2001-09-23 Akim Demaille <akim@epita.fr>
6615 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6617 2001-09-23 Akim Demaille <akim@epita.fr>
6619 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6622 2001-09-23 Akim Demaille <akim@epita.fr>
6624 * lib/Autom4te/General.pm (&debug): New.
6625 * bin/autom4te.in ($language): Move to...
6627 Handle --language in languages.
6628 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6629 (Autoscan-selections): New.
6632 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6634 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6635 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6636 to match current versions from CVS Automake.
6638 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6640 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6643 2001-09-22 Akim Demaille <akim@epita.fr>
6645 * lib/autoconf/autotest.m4: Create `package.m4'.
6646 * tests/Makefile.am (package.m4): Remove.
6648 2001-09-22 Akim Demaille <akim@epita.fr>
6650 Rely on `$LINENO' when possible instead of `__oline__'.
6652 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6653 `$LINENO' support replacement when not supported.
6654 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6655 them explicitly to be sure they are not output before this section
6656 (via m4_require). Cosmetic only.
6657 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6658 * lib/autoconf/programs.m4: Replace all the occurrences of
6659 `__oline__' with `$LINENO'.
6660 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6662 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6664 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6665 character (u: -> ue) in a code comment.
6666 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6669 2001-09-21 Akim Demaille <akim@epita.fr>
6671 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6672 Suggested by Jim Meyering.
6674 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6676 * lib/autoconf/programs.m4: Use extensions listed in
6677 $ac_executable_extensions when looking for programs.
6679 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6681 * lib/autoconf/general.m4: Fix a small Englisho.
6682 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6683 setting up ac_dir_suffix and ac_top_builddir.
6684 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6686 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6688 * doc/autoconf.texi (File System Conventions): Clarify the use of
6690 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6691 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6692 be used instead of ':'.
6693 * lib/autotest/general.m4: Replace occurrences of ':' in
6694 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6696 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6698 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6699 arguments. Fixed a typo.
6701 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6703 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6704 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6706 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6708 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6709 * bin/autoupdate.in: Ditto.
6710 * bin/autoheader.in: Reworded a few comments.
6711 * bin/autoconf.in: Reworded help text for a few options.
6712 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6713 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6715 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6717 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6718 already have $file). Set output files to binary mode (helps avoid
6719 CR issues on DOSish systems).
6721 2001-09-19 Akim Demaille <akim@epita.fr>
6723 * lib/autotest/general.m4: Englishoes.
6724 From Tim Van Holder and Alexey Mahotkin.
6726 2001-09-18 Paul Eggert <eggert@twinsun.com>
6728 * doc/autoconf.texi (Common Shell Constructs): New node,
6729 documenting AS_DIRNAME.
6730 (Limitations of Usual Tools): Refer to it when discussing dirname.
6731 Also, update discussion of POSIX standard to reflect latest draft.
6733 * lib/autoconf/c.m4:
6734 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6736 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6737 Do not pass a first argument with leading '-'
6738 to expr, by parenthesizing initial integers that might be negative.
6740 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6741 now merely checks whether it is an error to pass an argument
6744 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6745 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6746 whether it is a (compile-time) error to pass an argument to
6747 getpgrp. This simpler test supports the revised documentation,
6748 and is all that AC_FUNC_GETPGRP's users really need.
6750 2001-09-18 Akim Demaille <akim@epita.fr>
6752 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6754 2001-09-18 Akim Demaille <akim@epita.fr>
6756 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6758 * lib/autotest/general.m4 (AT_INIT): Adjust.
6760 2001-09-18 Paul Wagland <paul@wagland.net>
6762 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6764 Add test for AS_BASENAME.
6765 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6766 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6767 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6768 * tests/base.at: Fixed the expected responses. The old ones were
6770 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6771 the documentation claims it should (and how it behaved in 2.13).
6773 2001-09-18 Akim Demaille <akim@epita.fr>
6775 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6776 the AC_CONFIG_COMMANDS invocation.
6777 This also solves the name clash problems.
6778 Don't set the package's ID.
6779 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6780 No longer to be shipped.
6781 (version.in): Remove.
6782 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6783 * lib/autoconf/status.m4: Adjust.
6784 Use `m4_PACKAGE_STRING'.
6785 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6786 the only optional argument is the name of the test suite.
6787 Expect `package.m4' to define the package signature.
6788 * lib/autom4te.in (Autotest): Add `package.m4?'.
6789 * tests/Makefile.am (package.m4): New.
6790 * tests/suite.at: ifnames is a victim.
6792 2001-09-18 Akim Demaille <akim@epita.fr>
6794 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6795 AC_LIBSOURCE, AC_CONFIG_FILES.
6796 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6797 program version string doesn't match the package's.
6798 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6801 2001-09-17 Paul Eggert <eggert@twinsun.com>
6803 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6804 Allow expression to return any value that can fit into unsigned long
6805 (not int, as before). Check for output errors.
6807 2001-09-17 Bruno Haible <haible@ilog.fr>
6809 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6810 Always include <stdio.h> and <stdlib.h>. Evaluate
6811 the expression in an extra function before these includes. Call
6812 fprintf "%d" only after ensuring the argument is of type 'int'.
6813 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6815 2001-09-17 Paul Eggert <eggert@twinsun.com>
6817 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6818 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6819 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6820 when they don't exist.
6822 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6823 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6826 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6827 version with the version used by fileutils 4.1, except use
6828 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6831 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6833 2001-09-13 Akim Demaille <akim@epita.fr>
6835 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6837 Reported by Gerrit P. Haase.
6839 2001-09-13 Akim Demaille <akim@epita.fr>
6841 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6842 m4_defn'ing is valid.
6844 2001-09-13 Akim Demaille <akim@epita.fr>
6846 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6847 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6850 2001-09-13 Akim Demaille <akim@epita.fr>
6852 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6854 (m4_re_escape): New.
6855 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6856 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6857 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6859 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6860 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6861 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6862 AT_tests_all for consistency.
6864 (AT_VICTIMS): Similar to AT_KEYWORDS.
6865 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6867 2001-09-13 Akim Demaille <akim@epita.fr>
6869 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6871 2001-09-13 Akim Demaille <akim@epita.fr>
6873 * lib/autotest/general.m4 (AT_INIT): Create and remove
6874 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6875 test suites can cohabit.
6877 2001-09-13 Akim Demaille <akim@epita.fr>
6879 * tests/mktests.sh: Don't output banners for empty test files.
6881 2001-09-13 Akim Demaille <akim@epita.fr>
6883 Test suites can be run independently of configure.
6885 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6886 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6887 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6889 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6891 * lib/autotest/general.m4: Use ECHO_*.
6893 2001-09-13 Akim Demaille <akim@epita.fr>
6895 * bin/ifnames.in: Rewrite in Perl.
6896 * configure.ac: Don't look for AWK.
6897 * tests/tools.at (AWK portability): Remove.
6898 (Syntax of the shell scripts): Don't check ifnames.
6899 (AT_CHECK_PERL_SYNTAX): New.
6900 (Syntax of the Perl scripts): Check ifnames.
6901 * tests/ifnames: New.
6903 2001-09-13 Akim Demaille <akim@epita.fr>
6905 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6907 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6908 Remove all the other keywords.
6910 2001-09-10 Akim Demaille <akim@epita.fr>
6912 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6913 SETUP: no longer used.
6914 Support -k, --keywords.
6915 <at_help>: Be `no', `short', or `long'.
6916 <at_help_all>: New variable.
6918 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6919 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6920 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6921 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6922 No longer fill the HELP diversion.
6923 (AT_CLEANUP): Use them.
6924 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6925 (m4_list_append): Remove.
6927 Spread a few keywords in the Autoconf test suite.
6929 2001-09-10 Akim Demaille <akim@epita.fr>
6931 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6932 PATH_SEPARATOR, let M4sh compute it.
6933 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6934 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6936 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6937 Simplify when the path is not a literal.
6938 (AS_UNAME): Use it to report PATH.
6939 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6940 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6941 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6942 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6943 normalize the path, and to look for victims.
6944 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6945 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6947 2001-09-07 Akim Demaille <akim@epita.fr>
6949 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6950 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6951 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6952 related variables into `at_package_*'.
6953 * lib/autotest/general.m4 (AT_VICTIMS): New.
6954 (AT_INIT): Adjust for stand-alone/embedded test suites.
6955 (AS_MESSAGE_LOG_FD): Define and use it.
6956 * tests/suite.at (AT_VICTIMS): Use it.
6957 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6960 2001-09-07 Akim Demaille <akim@epita.fr>
6962 Move toward possibly stand-alone test suites.
6964 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6965 in addition, it introduces useless differences in logs.
6966 (AT_INIT): Let atconfig and atlocal be both optional.
6967 Adjust PATH computation.
6968 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6970 2001-09-07 Akim Demaille <akim@epita.fr>
6972 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6975 2001-09-05 Akim Demaille <akim@epita.fr>
6977 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6978 to avoid GCC warnings.
6981 2001-09-05 Akim Demaille <akim@epita.fr>
6983 * bin/autom4te.in: --language is -l, not -s.
6985 2001-09-05 Akim Demaille <akim@epita.fr>
6987 Be ready to handle filenames as stupid as `dnl.at', for if even
6988 the maintainer is dumb enough to do that...
6990 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6991 excellence in M4 quotation: consider `__file__' is active.
6993 And BTW, when invoking m4, pass the --include in the right order:
6996 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6999 2001-09-05 Akim Demaille <akim@epita.fr>
7001 * lib/Autom4te/XFile.pm: New lib file.
7002 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
7003 * bin/autoheader.in: Use it.
7005 2001-09-05 Akim Demaille <akim@epita.fr>
7007 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
7010 2001-09-05 Akim Demaille <akim@epita.fr>
7012 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
7013 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
7015 * bin/autoscan.in: Use `getopt' and `find_files' etc.
7016 Add -I, --include support.
7017 * doc/autoconf.texi (autoscan Invocation): Adjust.
7019 2001-09-05 Akim Demaille <akim@epita.fr>
7021 CVS GNU M4 doesn't like `undefine(undefined)'.
7023 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
7024 New, extracted from main.
7025 Use IO::File wherever possible.
7026 (input.m4): Be constant, use -I instead of hard coding $tmp.
7027 Therefore be a quoted heredoc.
7028 Don't invoke `_au_disable', since ac was not loaded, but just
7031 2001-08-31 Akim Demaille <akim@epita.fr>
7035 2001-08-31 Akim Demaille <akim@epita.fr>
7037 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
7039 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
7041 2001-08-31 Akim Demaille <akim@epita.fr>
7043 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
7044 serious problems handling heredocs in heredocs.
7045 Reported by Nicolas Joly.
7047 2001-08-31 Akim Demaille <akim@epita.fr>
7049 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
7050 (Making testsuite Scripts): Update.
7052 2001-08-31 Akim Demaille <akim@epita.fr>
7054 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
7056 2001-08-31 Akim Demaille <akim@epita.fr>
7058 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
7059 (testsuite Scripts): There is no such thing as `atconfig.in'.
7060 And actually one diagram is missing: test suite runtime.
7062 2001-08-31 Akim Demaille <akim@epita.fr>
7064 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
7067 2001-08-31 Akim Demaille <akim@epita.fr>
7069 * bin/autoupdate.in (@include): `installcheck' revealed the path
7070 to m4sugar was lacking!
7072 2001-08-31 Akim Demaille <akim@epita.fr>
7074 * man/Makefile.am (.x.1): We really have to pass
7075 autom4te_perllibdir.
7077 2001-08-31 Akim Demaille <akim@epita.fr>
7079 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
7080 debug scripts, in particular passing explicitly listed tests to
7083 2001-08-31 Akim Demaille <akim@epita.fr>
7085 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
7086 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
7087 Use directly autom4te, not autoconf.
7088 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
7090 2001-08-31 Akim Demaille <akim@epita.fr>
7092 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
7093 * bin/autoheader.in (%symbol): Strip arguments of macros.
7095 2001-08-31 Akim Demaille <akim@epita.fr>
7097 * doc/autoconf.texi: Catch up -I, --include changes.
7099 2001-08-31 Akim Demaille <akim@epita.fr>
7101 * bin/autom4te.in (&parse_args): Die on unknown languages.
7102 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
7104 Promote --include over --macrodir and other obsolete options.
7106 2001-08-31 Akim Demaille <akim@epita.fr>
7108 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7109 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7110 * bin/autom4te.in ($autoconf): Pass --force.
7111 `print $out' doesn't print `$_' but `$out'.
7112 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7113 (autoheader): Pass --force since the test suite goes too fast for
7115 Adjust to the new autoheader messages.
7117 2001-08-31 Akim Demaille <akim@epita.fr>
7119 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7120 Check the completeness of the #template.
7121 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7122 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7125 2001-08-31 Akim Demaille <akim@epita.fr>
7127 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7128 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7129 Drop AC_MACRODIR dead for real.
7130 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7131 `autoheader: `config.hin' is created'.
7132 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7134 2001-08-31 Akim Demaille <akim@epita.fr>
7136 * bin/autoheader.in: Rewrite in Perl.
7137 * tests/autoheader: Adjust.
7139 2001-08-31 Akim Demaille <akim@epita.fr>
7141 * bin/autoconf.in (--include, -I): New option.
7142 Map --localdir, --autoconf-dir onto it.
7143 Forward autom4te's options instead of interpreting them.
7144 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7145 There is no such envvar since the inception of autom4te.cfg.
7146 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7147 * bin/autoupdate.in: Adjust, and perform more control.
7148 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7149 * tests/autoconf: Dittowise.
7151 2001-08-31 Akim Demaille <akim@epita.fr>
7153 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7154 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7156 Use -e, not -f, since /dev/null for instance is OK.
7157 (&parse_args): Adjust.
7158 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7160 2001-08-31 Akim Demaille <akim@epita.fr>
7162 * configure.ac: Also find tested executables in bin.
7163 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7164 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7165 installed peer executables, only PATH is allowed to resolve it.
7166 Pass `autoconf_dir' via options, not via invisible envvars.
7167 * lib/Autom4te/General.pm (&find_peer): Remove.
7168 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7169 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7170 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7171 find the executables for it.
7172 * tests/Makefile.am: Major cleanup. Too lazy to document...
7173 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7175 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7176 indeed related to running the test suite, while passing
7177 --autoconf-dir and others is related to running non installed
7178 Autoconf executables. So don't do that, leave it to...
7179 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7180 * tests/autoscan: New.
7181 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7182 refer to library files: rely on --language.
7184 2001-08-29 Akim Demaille <akim@epita.fr>
7186 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7187 s/--set/--language/.
7189 2001-08-29 Akim Demaille <akim@epita.fr>
7191 * doc/autoconf.texi: Strip the @nodes.
7192 Suggested by Paul Eggert.
7193 (Initializing configure): Typo.
7195 2001-08-29 Akim Demaille <akim@epita.fr>
7197 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7198 Suggested by Paul Eggert.
7200 2001-08-29 Akim Demaille <akim@epita.fr>
7202 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7203 download in a tmp dir.
7205 2001-08-29 Akim Demaille <akim@epita.fr>
7207 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7208 case insensitive OSes out there :(
7209 From Tim Van Holder.
7211 2001-08-29 Akim Demaille <akim@epita.fr>
7213 * lib/autom4te.in: New.
7214 * lib/Makefile.am (edit, autom4te.cfg): New.
7215 * bin/autom4te.in (BEGIN): Simplify.
7216 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7217 (&load_configuration): New. Use it.
7218 (&parse_args): Support --mode, --set, and --melt.
7219 * bin/autoconf.in: Simplify and adjust.
7220 * tests/Makefile.am (AUTOMAKE): Use --set.
7221 * tests/atlocal.in: Adjust.
7222 * BUGS: distcheck and check are weak.
7224 2001-08-29 Akim Demaille <akim@epita.fr>
7226 * lib/autotest/general.m4: Use
7227 foo=`(command) 2>/dev/null`
7229 foo=`command` 2>/dev/null
7230 (at-devnull): Rename as...
7232 (--clean): Remove AT-* files too.
7233 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7234 Reported by Nicolas Joly.
7236 2001-08-28 Akim Demaille <akim@epita.fr>
7238 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7239 quotes inside single quotes.
7240 Reported by Nicolas Joly.
7242 2001-08-28 Kevin Ryde <user42@zip.com.au>
7244 * doc/autoconf.texi (Function Portability): Mention C right shifts.
7246 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7248 * lib/autotest/general.m4: Reword some messages.
7249 (AT_INIT): Check for the `times' builtin before using it.
7250 Support test ranges as arguments to the testsuite.
7251 Have -e imply -d as the help text suggested.
7253 2001-08-27 Akim Demaille <akim@epita.fr>
7255 * Makefile.maint: Formatting changes.
7256 (do-po-update, po-update, cvs-update, update): New targets.
7259 2001-08-27 Akim Demaille <akim@epita.fr>
7261 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7263 Pass it to debug-*.sh scripts.
7264 <AUTOTEST_PATH>: May contain absolute dir names.
7266 2001-08-27 Akim Demaille <akim@epita.fr>
7268 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7269 Support `VAR=VAL' as arguments.
7270 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7271 may be set via the command line.
7273 2001-08-27 Akim Demaille <akim@epita.fr>
7275 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7276 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7277 first the build dirs, then the src dirs.
7278 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7280 2001-08-27 Akim Demaille <akim@epita.fr>
7282 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7283 at_data_files earlier.
7284 (--clean, -c): New option.
7285 * tests/Makefile.am: Use this option.
7287 2001-08-27 Akim Demaille <akim@epita.fr>
7289 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7290 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7293 * doc/autoconf.texi (Configuration Actions): Document the vars
7294 available in commands.
7295 Emphasize the risks of collisions in init-cmds.
7297 2001-08-27 Akim Demaille <akim@epita.fr>
7299 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7300 (Initializing configure): this new node.
7302 2001-08-27 Akim Demaille <akim@epita.fr>
7304 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7306 2001-08-27 Akim Demaille <akim@epita.fr>
7308 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7309 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7311 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7313 2001-08-27 Akim Demaille <akim@epita.fr>
7315 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7317 * lib/autoconf/autoheader.m4: this new file.
7318 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7319 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7321 * lib/autoconf/autoupdate.m4: this new file.
7323 2001-08-27 Akim Demaille <akim@epita.fr>
7325 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7326 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7327 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7329 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7330 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7332 2001-08-27 Akim Demaille <akim@epita.fr>
7334 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7335 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7336 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7337 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7338 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7339 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7340 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7341 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7342 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7343 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7344 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7345 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7346 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7347 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7348 (_AC_OUTPUT_SUBDIRS): Move to...
7349 * lib/autoconf/status.m4: this new file.
7350 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7351 * tests/Makefile.am, tests/suite.at: Adjust.
7353 2001-08-27 Akim Demaille <akim@epita.fr>
7357 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7358 (AMTAR): Help automake define it.
7359 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7360 needed, 1.5 can have a macro and a target with the same name.
7361 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7363 * m4/init.m4, m4/sanity.m4: Update.
7364 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7365 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7366 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7367 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7369 2001-08-27 Akim Demaille <akim@epita.fr>
7371 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7373 * lib/autoconf/version.in: Remove.
7374 * lib/m4sugar/version.in: New.
7375 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7377 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7378 the name of the directory they're in, instead of the filename,
7379 since version.m4 is now in m4sugar, but m4_acversion must not be
7380 classified as an Autoconf macro.
7381 ($input_m4): Don't qualify the path to m4sugar.
7382 Rather, pass autoconf_dir to m4.
7383 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7384 * tests/suite.at: Require 2.52c.
7386 2001-08-27 Akim Demaille <akim@epita.fr>
7388 testsuite.log should include config.log.
7390 * lib/autotest/autotest.m4: New.
7391 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7392 * tests/suite.at : Adjust.
7393 (AT_INIT): Log config.log.
7394 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7395 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7396 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7397 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7398 of config.log on traps.
7399 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7400 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7402 Open the log as soon as possible.
7403 Use the same log introduction as configure's.
7405 2001-08-22 Paul Eggert <eggert@twinsun.com>
7407 * doc/autoconf.texi (Indices): New node.
7408 Move indices out of the top level menu and into this submenu.
7410 2001-08-22 Akim Demaille <akim@epita.fr>
7412 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7414 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7416 2001-08-22 Akim Demaille <akim@epita.fr>
7418 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7419 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7420 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7421 * lib/autoconf/programs.m4: here.
7422 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7423 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7424 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7425 * lib/autoconf/programs.m4: here.
7426 (_AC_DECL_YYTEXT): Rename as...
7427 (_AC_PROG_LEX_YYTEXT_DECL): this.
7428 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7429 * tests/Makefile.am, tests/suite.am: Adjust.
7431 2001-08-22 Akim Demaille <akim@epita.fr>
7433 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7435 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7437 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7438 * lib/autoconf/functions.m4: here.
7439 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7440 (AH_CHECK_LIB): Move to...
7441 * lib/autoconf/libs: this new file.
7442 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7443 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7444 * lib/autoconf/libs.m4: here.
7445 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7447 2001-08-22 Akim Demaille <akim@epita.fr>
7449 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7450 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7451 (AC_SITE_LOAD): Better logging of config.site.
7453 2001-08-20 Akim Demaille <akim@epita.fr>
7455 * configure.ac (AT_CONFIG): Fix the path.
7456 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7459 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7461 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7462 program with AC_LANG_PROGRAM before feeding it to
7463 AC_COMPILE_IFELSE. Cleanup grep usage.
7465 2001-08-20 Akim Demaille <akim@epita.fr>
7467 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7468 * NEWS, README, README-alpha, TODO, tests/README: This package is
7469 `Autoconf', not `autoconf' (the executable).
7471 2001-08-20 Akim Demaille <akim@epita.fr>
7473 Info readers seem to need `Index' in the index node title :(
7475 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7476 simplified index node names.
7478 2001-08-20 Akim Demaille <akim@epita.fr>
7480 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7481 arguments are not literals.
7482 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7483 Specify the output variables, and macros defined.
7485 2001-08-20 Akim Demaille <akim@epita.fr>
7487 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7488 (Examining Syntax) <AC_TRY_COMPILE>
7489 (Examining Libraries) <AC_TRY_LINK>
7490 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7492 Reported by Werner Lemberg.
7494 2001-08-20 Akim Demaille <akim@epita.fr>
7496 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7497 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7498 Load atlocal late enough to dump it in the log.
7499 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7501 2001-08-20 Akim Demaille <akim@epita.fr>
7503 * tests/torture.at (Configuring subdirectories): New test.
7504 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7506 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7507 (top_srcdir): Fix its computation.
7509 2001-08-20 Akim Demaille <akim@epita.fr>
7511 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7512 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7514 Create `atconfig' automagically.
7515 Configure atlocal.in if present.
7516 * tests/atconfig.in: Remove.
7517 * tests/atlocal.in: New.
7518 * tests/Makefile.am: Adjust.
7520 2001-08-20 Akim Demaille <akim@epita.fr>
7522 Huh!?!?! There are still some user EOF tags used, which prevents
7523 their use in AC_CONFIG_COMMANDS for instance...
7525 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7526 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7527 `_CSEOF', or `_ATEOF', as appropriate.
7528 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7529 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7531 2001-08-20 Akim Demaille <akim@epita.fr>
7533 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7534 * tests/semantics.at, tests/tools.at, tests/torture.at:
7535 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7537 2001-08-20 Akim Demaille <akim@epita.fr>
7539 Autotest invokes M4sh's initialization.
7541 * lib/autotest/general.m4: Adjust the diversion names.
7542 (AT_INIT): Run AS_INIT.
7543 Use the BINSH diversion to invoke /bin/sh.
7544 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7545 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7547 2001-08-20 Akim Demaille <akim@epita.fr>
7549 Let M4sh have its own diversions.
7551 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7552 (_m4_divert(NOTICE)): Rename as...
7553 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7554 (_m4_divert(HEADER-COMMENT)): these.
7555 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7556 (_m4_divert(NOTICE)): New, for Libtool.
7557 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7558 long ago with `_m4_divert(GROW)'.
7559 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7561 2001-08-20 Akim Demaille <akim@epita.fr>
7563 * tests/base.at, tests/compile.at, tests/foreign.at,
7564 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7565 * tests/semantics.at, tests/suite.at, tests/tools.at,
7566 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7568 2001-08-20 Akim Demaille <akim@epita.fr>
7570 * bin/autom4te.in (handle_output): Handle @__@.
7572 2001-08-20 Akim Demaille <akim@epita.fr>
7574 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7575 * lib/autotest/general.m4: Adjust the license.
7577 2001-08-17 Paul Eggert <eggert@twinsun.com>
7579 * doc/autoconf.texi (Function Portability): Mention snprintf,
7580 following up on a suggestion by Kevin Ryde.
7582 2001-08-17 Akim Demaille <akim@epita.fr>
7584 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7585 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7587 2001-08-17 Akim Demaille <akim@epita.fr>
7589 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7590 `$0.log' as for projects where testsuite is in src, we'd have
7591 testsuite.log created in src.
7593 2001-08-17 Akim Demaille <akim@epita.fr>
7595 * bin/autom4te.in (&parse_args): Recognize --normalize.
7597 2001-08-17 Akim Demaille <akim@epita.fr>
7599 Start implementing the AC_CHECK_HEADER transition scheme.
7601 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7602 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7603 (AC_CHECK_HEADER): Use them.
7605 2001-08-17 Akim Demaille <akim@epita.fr>
7607 * doc/autoconf.texi: Work around Texinfo buglets.
7608 (Transformation Rules): One example is enough, users are expected
7609 to have their brains on. And BTW, use DESTDIR.
7610 (dvar): New macro. Use it.
7612 2001-08-17 Akim Demaille <akim@epita.fr>
7614 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7615 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7616 looking for ChangeLogs.
7618 2001-08-17 Akim Demaille <akim@epita.fr>
7620 * bin/autom4te.in: --normalize is a new option.
7621 * bin/autoconf.in: Use it.
7623 2001-08-17 Akim Demaille <akim@epita.fr>
7625 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7626 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7628 2001-08-16 Paul Eggert <eggert@twinsun.com>
7630 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7633 2001-08-15 Akim Demaille <akim@epita.fr>
7635 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7638 2001-08-15 Akim Demaille <akim@epita.fr>
7640 * doc/autoconf.texi (pr): New index.
7641 (prindex, findex): Use, merge, and output them.
7642 (Environment Variable Index, Output Variable Index)
7643 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7644 (Autotest Macro Index): Rename as...
7645 (Environment Variables, Output Variables,Preprocessor Symbols)
7646 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7647 * doc/install.texi: Use @command.
7648 (Environment Variables): Rename as...
7649 (Defining Variables): this.
7651 2001-08-15 Akim Demaille <akim@epita.fr>
7653 * doc/autoconf.texi (Function Portability): sprintf's return
7657 2001-08-15 Akim Demaille <akim@epita.fr>
7659 * Makefile.maint (CVS): New.
7660 (local-check): Run changelog-check. last.
7661 (alpha): Don't depend upon local-check, since...
7662 (cvs-dist): depends upon it.
7664 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7666 * tests/Makefile.am: Use a clean-local rule to remove
7667 autom4te.cache (it's a directory, not a file.
7668 * Makefile.am: Ditto (but maintainer-clean-local).
7670 2001-08-15 Akim Demaille <akim@epita.fr>
7672 * bin/autom4te.in (@m4_warning): New.
7673 (&handle_m4): Use it.
7674 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7675 warnings are issued at each run.
7676 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7679 2001-08-15 Akim Demaille <akim@epita.fr>
7681 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7682 don't waste time running `autoupdate --version' works.
7683 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7685 2001-08-13 Akim Demaille <akim@epita.fr>
7687 * doc/autoconf.texi (ma): Rename this index as...
7690 2001-08-13 Akim Demaille <akim@epita.fr>
7692 * Makefile.am: Remove dead code and dead comments.
7693 (pdf, html): New targets.
7694 * doc/autoconf.texi (Using Autotest): New chapter.
7695 * doc/Makefile.am (pdf): New targets.
7696 (CLEANFILES): Adjust.
7698 2001-08-13 Akim Demaille <akim@epita.fr>
7700 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7701 duration of the test suite.
7703 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7705 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7706 endianness for comparison instead of relying on AT_CHECK_ENV.
7708 2001-08-11 Paul Eggert <eggert@twinsun.com>
7710 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7711 to the INSTALL file.
7713 2001-08-11 Paul Eggert <eggert@twinsun.com>
7715 * NEWS: The autoconf manual now is distributed under the terms
7716 of the GNU Free Documentation License.
7718 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7719 Add an appendix "Copying This Manual" for the FDL.
7721 * doc/fdl.texi: New file, from
7722 <http://www.gnu.org/licenses/fdl.texi>.
7724 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7726 2001-08-10 Paul Eggert <eggert@twinsun.com>
7728 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7729 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7730 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7731 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7732 m4/sanity.m4, tests/README, tests/aclocal.m4,
7733 tests/atspecific.m4, tests/base.at, tests/compile.at,
7734 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7735 tests/semantics.at, tests/suite.at, tests/tools.at,
7736 tests/torture.at: Add copyright notice.
7738 * tests/mktests.sh: Update year in copyright notice.
7740 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7742 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7744 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7746 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7747 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7748 * doc/autoconf.texi (C Compiler Characteristics): Update
7749 documentation for AC_C_BIGENDIAN.
7751 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7753 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7754 magic values from an object file when cross-compiling.
7755 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7757 2001-08-10 Akim Demaille <akim@epita.fr>
7759 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7761 Suggested by Russ Allbery.
7763 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7765 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7766 current $prefix to the sub-configures.
7768 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7770 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7771 extension (needed on BeOS). Reported by Guido van Rossum.
7773 2001-08-09 Akim Demaille <akim@epita.fr>
7775 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7777 2001-08-07 Akim Demaille <akim@epita.fr>
7779 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7781 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7782 No need to remove the files before and after the each test, before
7783 each test and at the end of the suite is enough.
7784 Display only the children `times', not the shell's.
7785 If the test failed or was skipped, at-times is not available.
7787 2001-08-07 Akim Demaille <akim@epita.fr>
7789 Always produce testsuite.log, including when there are no
7790 failures. This helps getting information on skipped tests, and
7791 duration of the tests. Err, implement the latter btw.
7793 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7794 Dump information on the first run of each test.
7795 (AT_CLEANUP): Create `at-times' containing the duration of the
7798 2001-08-07 Akim Demaille <akim@epita.fr>
7800 The use of `dumpstat' revealed that `len' was used although it
7801 should not. m4_text_wrap was using it, but in the Autoconf world
7802 where it is legal. Hence (i) test M4sh in its own world, not
7803 Autoconf's, and (ii), ahem, fix the bug :)
7805 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7806 does not like `' instead of [].
7807 (AT_INIT): Forbid `^_?AT_'.
7808 And don't output such tokens.
7809 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7810 `script.as', and `autom4te.cache'.
7811 Remove `empty' and `macro' which are no longer used.
7812 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7813 * tests/m4sugar.at: Use it.
7814 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7816 2001-08-07 Akim Demaille <akim@epita.fr>
7818 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7820 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7822 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7824 2001-08-04 Akim Demaille <akim@epita.fr>
7826 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7827 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7829 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7830 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7831 (AC_F77_MAIN): Likewise.
7833 2001-08-04 Akim Demaille <akim@epita.fr>
7835 Don't rely on M4sugar outputting the patterns in files, since we
7836 might process the output _without_ running m4, hence without these
7839 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7840 * bin/autom4te.in (@Request::includes): Remove, unused.
7841 (@Request::source): Rename as...
7842 (@Request::input): this.
7843 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7844 (&handle_output): Fetch the patterns from the traces.
7845 `$forbidden' and `$allowed' are constant: use m//o.
7846 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7847 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7849 2001-08-04 Akim Demaille <akim@epita.fr>
7851 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7852 autoconf', i.e., in addition to caching traces, cache the output.
7854 * bin/autom4te.in (Request::cache): Rename as...
7855 (Request::id): this.
7856 ($cache, $icache, $tcache, $ocache): New.
7857 (&handle_m4): Save M4 output in the cache instead of $tmp.
7858 (&handle_output): Adjust.
7859 (&up_to_date_p): Check that the output cache is up to date too.
7860 (top level): Run `&handle_m4' iff force or the cache is invalid.
7861 Run `&handle_output' if the output cache is more recent.
7863 2001-08-04 Akim Demaille <akim@epita.fr>
7865 * bin/autom4te.in ($force): New.
7866 (&parse_args, &print_usage): -f, --force is a new option.
7867 (&handle_output): CPP directives might have spaces after `#'.
7868 (&parse_args): The first file only can be frozen.
7870 2001-08-04 Akim Demaille <akim@epita.fr>
7872 Don't let autom4te compute the `include' traces several times:
7873 first check that the trace cache file is up to date, and then
7874 compare its timestamp with that of the output.
7876 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7877 the preamble. Don't require 5.005 as Autom4te::General does it,
7878 and better yet (use `use', not `require'!).
7879 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7880 Class::Struct as Autom4te::Struct.
7881 * lib/Autom4te/General.pm (File::stat): Use it.
7882 (&mtime): New, export it.
7883 * bin/autom4te.in: Use it.
7884 Declare `$req' is invalid if it is outdated.
7885 Don't declare it valid before saving it if something went wrong.
7887 2001-08-04 Akim Demaille <akim@epita.fr>
7889 Autom4te shall not encode Autoconf data, and preselecting traces
7890 must be proposed to the users.
7892 * bin/autom4te.in (@required_trace): Remove.
7894 (&parse_args, &print_usage): -p, --preselect is a new option.
7895 (&up_to_date_p): Adjust.
7896 * bin/autoconf.in: Preselect some Autoconf macros.
7898 2001-08-04 Akim Demaille <akim@epita.fr>
7900 * tests/tools.at (autoconf --trace: user macros): Check traces on
7901 macros invoked without arguments, and macros invoked with multiple
7904 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7906 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7909 2001-08-03 Akim Demaille <akim@epita.fr>
7911 * bin/autoconf.in ($@): Work around the usual sh bug.
7914 2001-08-03 Akim Demaille <akim@epita.fr>
7916 Clean up the handling of the M4 builtins tracing exception.
7918 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7920 (@m4_builtins): Rename as...
7921 (@m4_builtin): this.
7922 (%m4_builtin_alternate_name): New.
7923 (&parse_args): Complete the trace requests with alternate names.
7924 (&handle_traces): Hence no longer do it here.
7925 (&trace_requests): Remove, unused.
7927 2001-08-03 Akim Demaille <akim@epita.fr>
7929 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7932 2001-08-03 Akim Demaille <akim@epita.fr>
7934 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7935 (m4_divert_pop): Dump the whole diversion stack when a diversion
7937 * bin/autom4te.in (&handle_output): Remember of the first
7938 occurrence of a possibly undefined macro, not the last.
7939 Complain about the possibly undefined macros in the same order as
7940 the appear in the output.
7941 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7942 * tests/tools.at (autoconf: forbidden tokens, basic)
7943 (autoconf: forbidden tokens, exceptions): No longer sort
7944 autoconf's stderr, as it is now deterministic.
7945 Check that `dnl' is caught.
7947 2001-08-01 Akim Demaille <akim@epita.fr>
7949 * configure.ac: Bump to 2.52c.
7951 2001-08-01 Akim Demaille <akim@epita.fr>
7955 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7957 2001-08-01 Akim Demaille <akim@epita.fr>
7961 2001-08-01 Akim Demaille <akim@epita.fr>
7963 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7966 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7967 `END', as `Autom4te::General::END' will be triggered.
7968 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7969 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7970 system to run `mv', `rm', and `cmp'.
7972 2001-08-01 Akim Demaille <akim@epita.fr>
7974 * lib/Autom4te/General.pm (&unique): New.
7975 * bin/autoscan.in (&output): Use it to issue trace requests once.
7977 2001-08-01 Akim Demaille <akim@epita.fr>
7979 * lib/Autom4te/General.pm: New.
7980 * bin/autom4te.in (Autom4te::General): Use it.
7981 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7982 (&find_configure_ac, &find_slave): Remove.
7983 * bin/autoscan.in: Likewise.
7984 * bin/autoupdate.in: Likewise.
7986 2001-08-01 Akim Demaille <akim@epita.fr>
7988 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7989 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7990 * bin: here, new directory.
7991 * lib/Autoconf: Rename as...
7992 * lib/Autom4te: this, to please case insensitive junkie OSes.
7994 2001-08-01 Akim Demaille <akim@epita.fr>
7996 * autom4te.in ($m4): Handle the --nesting-limit.
7997 * autoconf.in (M4): Remove.
7999 2001-08-01 Akim Demaille <akim@epita.fr>
8001 * autoconf.in ($AWK): Remove, no longer used.
8002 * test/tools.at: Use AT_CHECK_AUTOCONF.
8003 (AWK portability): Remove, for autoconf no longer uses AWK.
8004 (Syntax of the Perl scripts): New.
8005 * configure.ac: autoconf no longer needs an AWK with a good
8007 Use a static test on AC_PACKAGE_VERSION.
8008 * autom4te.in (&up_to_date_p): Output depends on the arguments.
8009 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
8010 * tests/atconfig.in (PERL): New.
8012 2001-08-01 Akim Demaille <akim@epita.fr>
8014 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
8015 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
8016 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
8017 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
8018 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
8019 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
8020 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
8021 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
8022 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
8023 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
8024 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
8025 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
8026 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
8027 * lib/autoconf/c.m4: here, new file.
8029 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
8030 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
8031 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
8032 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
8033 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
8034 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
8035 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
8036 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
8037 (AC_F77_FUNC): Move to...
8038 * lib/autoconf/fortran.m4: here, new file.
8040 2001-08-01 Akim Demaille <akim@epita.fr>
8042 * acfunctions.m4: Rename as...
8043 * lib/autoconf/functions.m4: this.
8044 * acgeneral.m4: Rename as...
8045 * lib/autoconf/general.m4: this.
8046 * acheaders.m4: Rename as...
8047 * lib/autoconf/headers.m4: this.
8048 * aclang.m4: Rename as...
8049 * lib/autoconf/lang.m4: this.
8050 * acoldnames.m4: Rename as...
8051 * lib/autoconf/oldnames.m4: this.
8052 * acspecific.m4: Rename as...
8053 * lib/autoconf/specific.m4: this.
8054 * actypes.m4: Rename as...
8055 * lib/autoconf/types.m4: this.
8056 * autoconf.m4: Rename as...
8057 * lib/autoconf/autoconf.m4: this.
8059 * m4sugar.m4: Rename as...
8060 * lib/m4sugar/m4sugar.m4: this.
8061 * m4sh.m4: Rename as...
8062 * lib/m4sugar/m4sh.m4: this.
8064 * tests/atgeneral.m4: Rename as...
8065 * lib/autotest/general.m4: this.
8067 * acfunctions: Rename as...
8068 * lib/autoscan/functions: this.
8069 * acheaders: Rename as...
8070 * lib/autoscan/headers: this.
8071 * acidentifiers: Rename as...
8072 * lib/autoscan/identifiers: this.
8073 * aclibraries: Rename as...
8074 * lib/autoscan/libraries: this.
8075 * acmakevars: Rename as...
8076 * lib/autoscan/makevars: this.
8077 * acprograms: Rename as...
8078 * lib/autoscan/programs: this.
8080 2001-08-01 Akim Demaille <akim@epita.fr>
8082 * doc/autoconf.texi: Moving/deleting open files is not portable.
8083 Portability issues for `.' (source), and more information about sed.
8085 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
8087 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
8088 which has a special meaning and is not a reference to libibmil.a.
8089 Reported by Matteo Frigo.
8091 2001-07-25 Pavel Roskin <proski@gnu.org>
8093 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
8096 2001-07-25 Akim Demaille <akim@epita.fr>
8098 * autoconf.in: Try to define the variables before using them.
8099 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
8100 instead of `$perllibdir'.
8101 * tests/atconfig.in ($autom4te_perllibdir): Export it.
8103 2001-07-25 Akim Demaille <akim@epita.fr>
8105 * autoconf.in (ac_LF_and_DOT): Remove, unused.
8107 2001-07-24 Akim Demaille <akim@epita.fr>
8109 Let autoconf use autom4te for traces.
8111 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8113 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8114 (Because I found no way for autom4te to accept `-').
8115 * autom4te.in (&Request::request): Beware of M4 builtins.
8116 (END): Don't try to remove the content of an empty dir.
8117 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8118 (&handle_output): Set a default value to `$forbidden'.
8119 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8120 ($autoconf): Pass --debug and --verbose.
8121 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8124 2001-07-24 Akim Demaille <akim@epita.fr>
8126 Let autoconf use autom4te to create configure.
8128 * autoconf.in ($automate): New var.
8129 (task script): Use autom4te.
8130 * autom4te.in (File::Spec): Use it.
8132 (&parse_args): --warning is -W, not -w.
8133 Find the top level files.
8134 (&handle_m4): Pass the warnings flags.
8135 Don't report verbosely m4's failures, unless requested.
8136 (&handle_output): Don't complain for forbidden tokens in comments.
8137 Be sure to report all the forbidden tokens within a single line.
8138 (&trace_format_to_m4): Preserve `$_'.
8139 (&handle_traces): Sort the output macros.
8140 (&up_to_date_p): Find the files before trying to get its time stamp.
8142 2001-07-24 Akim Demaille <akim@epita.fr>
8144 * Makefile.am: Ship, build and install Autom4te.
8146 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8147 * configure.in: Require Perl.
8148 * man/autom4te.in: New.
8150 2001-07-19 Paul Eggert <eggert@twinsun.com>
8152 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8153 example, rather than (exit 1); exit (which isn't portable).
8155 2001-07-18 Akim Demaille <akim@epita.fr>
8159 2001-07-18 Akim Demaille <akim@epita.fr>
8161 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8162 was run, while they are needed also when it is expanded.
8163 Reported by Nicolas Joly.
8165 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8166 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8167 AC_F77_DUMMY_MAIN being expanded.
8169 2001-07-18 Akim Demaille <akim@epita.fr>
8171 * configure.in: Bump to 2.51a.
8173 2001-07-17 Akim Demaille <akim@epita.fr>
8177 2001-07-17 Akim Demaille <akim@epita.fr>
8179 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8180 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8182 2001-07-17 Akim Demaille <akim@epita.fr>
8184 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8185 used. Well, then use the prototypes when you can, and runtime as
8187 Reported by Artur Frysiak
8189 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8190 (AC_FUNC_GETPGRP): Use it.
8191 First try to compile with 0-ary or 1-ary calls.
8193 2001-07-17 Akim Demaille <akim@epita.fr>
8195 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8199 2001-07-17 Akim Demaille <akim@epita.fr>
8201 * Makefile.maint: Sync. with cppi 1.10.
8203 2001-07-17 Akim Demaille <akim@epita.fr>
8205 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8206 AC_F77_DUMMY_MAIN has been run.
8207 From Pavel Roskin and Steven G. Johnson.
8209 2001-07-17 Akim Demaille <akim@epita.fr>
8211 * configure.in: Rename as...
8212 * configure.ac: this.
8214 2001-07-17 Akim Demaille <akim@epita.fr>
8216 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8219 * Makefile.maint (release-archive-dir): Rename as...
8220 (release_archive_dir): this, so that it can be specialized in
8223 2001-07-14 Akim Demaille <akim@epita.fr>
8225 * configure.in: Bump to 2.50d.
8227 2001-07-14 Akim Demaille <akim@epita.fr>
8230 * Makefile.maint (alpha): Typo.
8232 2001-07-14 Akim Demaille <akim@epita.fr>
8234 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8236 2001-07-14 Akim Demaille <akim@epita.fr>
8238 * config/config.guess, config/config.sub, config/texinfo.tex
8239 * doc/standards.texi, doc/make-stds.texi: Update.
8241 2001-07-14 Akim Demaille <akim@epita.fr>
8243 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8245 2001-07-14 Akim Demaille <akim@epita.fr>
8247 * Makefile.maint (maintainer-check): Rename as...
8248 (maintainer-distcheck): this.
8249 (changelog-check, static-check): New.
8252 2001-07-14 Kevin Ryde <user42@zip.com.au>
8254 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8255 for CXX is g++, not gcc.
8257 2001-07-14 Akim Demaille <akim@epita.fr>
8259 * doc/autoconf.texi (Files): New subsection.
8261 2001-07-14 Akim Demaille <akim@epita.fr>
8263 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8265 (Generic Compiler Characteristics): this.
8266 (C++ Compiler): New subsection.
8268 2001-07-14 Akim Demaille <akim@epita.fr>
8270 * autoscan.in: Use IO::File.
8271 Adjust all the routines to use it.
8272 ($log): New file (autoscan.log).
8273 (output): Dump detailed logs into $log, and a shortened version to
8275 (&scan_makefile): Refine the regexp catching tokens in the code.
8276 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8277 and the `configure.ac' checking feature.
8279 2001-07-12 Akim Demaille <akim@epita.fr>
8281 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8282 Reported by Michael Elizabeth Chastain.
8284 * autoconf.in: Refuse such AWK.
8285 * configure.in: Likewise.
8286 * Makefile.am (acversion.m4): Do not use move-if-change this file
8288 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8290 2001-07-10 Jens Petersen <petersen@redhat.com>
8292 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8293 things like "g++", "file.c" and "some-conf" as tokens.
8294 (&scan_file): Match C++ files extensions.
8295 If the filename extension is C++ then ask for c++.
8297 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8299 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8300 AC_TRY_LINK_FUNC, to check whether defining a dummy
8301 main-like routine is needed for linking with F77 libs.
8303 2001-07-05 Pavel Roskin <proski@gnu.org>
8305 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8307 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8310 2001-07-05 Akim Demaille <akim@epita.fr>
8312 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8313 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8315 Reported by Nicolas Joly.
8317 2001-07-04 Akim Demaille <akim@epita.fr>
8319 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8321 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8322 warnings from compilers.
8323 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8324 for all the compilers, not only GNU. Hence move from here...
8325 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8327 2001-07-04 Akim Demaille <akim@epita.fr>
8329 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8330 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8333 2001-07-04 Akim Demaille <akim@epita.fr>
8335 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8336 the ``strings.h'' change claimed below.
8338 2001-07-04 Akim Demaille <akim@epita.fr>
8340 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8342 2001-07-04 Akim Demaille <akim@epita.fr>
8344 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8345 strings.h if usable with string.h.
8346 Suggested by Paul Eggert.
8348 2001-07-04 Akim Demaille <akim@epita.fr>
8350 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8353 2001-07-03 Akim Demaille <akim@epita.fr>
8355 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8358 2001-07-03 Akim Demaille <akim@epita.fr>
8360 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8361 compiler, not the preprocessor.
8362 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8363 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8365 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8366 earlier if there are.
8368 2001-07-03 Akim Demaille <akim@epita.fr>
8370 * autoscan.in ($initfile): Remove.
8371 (&find_file): Rename as...
8373 Immediately scan the current file, instead of gathering them, and
8374 later having them handled by &scan_files.
8375 (&scan_files): Merely invoke Find::File.
8378 2001-07-02 Akim Demaille <akim@epita.fr>
8380 * autoscan.in: Formatting changes, matching the invocation order.
8381 (File::Find): Use it instead of Perl 4's `find.pl'.
8382 (&wanted): Rename as...
8385 2001-07-01 Pavel Roskin <proski@gnu.org>
8387 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8388 break in the argument to AC_TRY_LINK_FUNC.
8389 (AC_F77_MAIN): Remove conftest* after using break in the
8390 argument to AC_TRY_LINK.
8392 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8394 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8395 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8397 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8398 dummy alternate main is required even if the user provides her own
8400 (AC_F77_MAIN): New macro to detect whether it is possible to
8401 provide an alternate 'main' function name, using the 'main' from
8402 the Fortran libraries.
8403 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8404 cross-language link tests can be performed successfully.
8405 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8406 after $LIBS, for consistency; this should be the general rule since
8407 the user may want to link to Fortran libraries that require $FLIBS.
8408 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8410 2001-06-29 Pavel Roskin <proski@gnu.org>
8412 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8413 at-stdout and at-stderr instead of removing the newline
8414 from the echo output, which is not guaranteed to work.
8416 2001-06-28 Jens Petersen <petersen@redhat.com>
8418 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8419 confdefs.h when non-zero.
8421 2001-06-28 Akim Demaille <akim@epita.fr>
8423 * configure.in: Bump to 2.50c.
8425 2001-06-26 Akim Demaille <akim@epita.fr>
8429 2001-06-26 Akim Demaille <akim@epita.fr>
8433 2001-06-25 Pavel Roskin <proski@gnu.org>
8435 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8436 argument, AUTOCONF-FLAGS.
8437 * tests/mktests.sh (update_exclude_list): Add
8438 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8439 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8440 AC_FUNC_WAIT3 with "-W no-obsolete".
8442 2001-06-25 Akim Demaille <akim@epita.fr>
8444 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8446 2001-06-25 Akim Demaille <akim@epita.fr>
8448 * autoscan.in (%macro): Now maps from word to list of macros.
8449 (&init_tables): Die when a word which is already handled by
8450 explicit macros is mapped to the default macro.
8451 (&print_unique): Remove, inlined in...
8452 (&output_kind): here.
8453 (File::Basename): Use it.
8454 (&output): Sort the CONFIG_FILES.
8455 * acheaders: Normalize.
8456 * acfunctions: Likewise.
8458 2001-06-25 Akim Demaille <akim@epita.fr>
8460 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8461 characteristics in the logs.
8462 Suggested by Mo DeJong.
8464 2001-06-24 Akim Demaille <akim@epita.fr>
8466 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8467 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8468 * doc/autoconf.texi (Autoconf 2.13): New section.
8470 2001-06-24 Akim Demaille <akim@epita.fr>
8472 * autoconf.in (Task traces): Separate the error messages from the
8473 traces to improve robustness.
8475 2001-06-23 Akim Demaille <akim@epita.fr>
8477 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8478 three as failures are unlikely, and speed matters.
8480 2001-06-23 Akim Demaille <akim@epita.fr>
8482 * doc/autoconf.texi (Redefined M4 Macros): New.
8484 2001-06-23 Akim Demaille <akim@epita.fr>
8486 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8487 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8490 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8492 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8493 config.status targets to after the evaluation of the INIT-CMDS.
8494 Double quote config.status targets (used to be single quoted).
8496 2001-06-23 Akim Demaille <akim@epita.fr>
8498 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8499 Check the content of the created file.
8500 Check the ./config.status command line invocation.
8502 2001-06-23 Akim Demaille <akim@epita.fr>
8504 * tests/foreign.at (Libtool): Reject prehistoric versions.
8506 2001-06-23 Akim Demaille <akim@epita.fr>
8508 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8509 preexisting files matching a.*.
8511 2001-06-23 Akim Demaille <akim@epita.fr>
8513 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8515 * doc/autoconf.texi (AC_ARG_VAR): Update.
8517 2001-06-21 Akim Demaille <akim@epita.fr>
8519 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8520 precious variables have changed.
8521 * tests/torture.at (AC_ARG_VAR): Adjust.
8523 2001-06-21 Akim Demaille <akim@epita.fr>
8525 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8526 but some sed choke on multiple `;', and other tools (e.g.,
8527 Automake), include the separator themselves.
8529 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8531 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8533 * doc/autoconf.texi (Functions Portability): Rename as...
8534 (Function Portability): this.
8535 (Function Portability): Document potential problems with unlink().
8537 2001-06-19 Paul Eggert <eggert@twinsun.com>
8539 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8541 2001-06-18 Akim Demaille <akim@epita.fr>
8543 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8545 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8547 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8548 (_AC_FUNC_VFORK): this.
8549 Remove AC_DEFINEs and don't guess cross-compilation values.
8550 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8551 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8552 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8554 Guess values if cross-compiling, but warn.
8555 * acfunctions: Add AC_FUNC_FORK.
8556 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8557 and vfork appropriately.
8559 2001-06-18 Akim Demaille <akim@epita.fr>
8561 * doc/autoconf.texi (Functions Portability): New section.
8563 2001-06-18 Akim Demaille <akim@epita.fr>
8565 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8567 Suggested by Andreas Schwab.
8569 2001-06-18 Akim Demaille <akim@epita.fr>
8571 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8572 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8573 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8574 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8575 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8576 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8577 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8580 2001-06-18 Akim Demaille <akim@epita.fr>
8582 * doc/autoconf.texi (ms): New index.
8583 (Macro Index): Rename as...
8584 (Autoconf Macro Index): this.
8585 (M4 Macro Index): New appendix.
8586 (Programming in M4): New chapter.
8587 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8588 (Quoting): Rename as...
8589 (M$ Quotation): this.
8590 Be part of `Programming in M4).
8592 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8594 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8595 in separate statements for compatibility with Tru64 v5.1.
8597 2001-06-17 Akim Demaille <akim@epita.fr>
8599 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8600 current values of the precious variables, not the previously
8602 Pass precious variables which are set to config.status.
8603 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8604 * tests/torture.at (AC_ARG_VAR): New.
8606 2001-06-15 Paul Eggert <eggert@twinsun.com>
8608 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8609 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8610 and explain why and how to replace them.
8611 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8612 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8614 2001-06-15 Akim Demaille <akim@epita.fr>
8616 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8617 Reported by Bruno Haible.
8619 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8620 (_AC_ARG_VAR_PRECIOUS): to here.
8622 2001-06-15 Pavel Roskin <proski@gnu.org>
8624 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8625 an unused pointer use cast to this type and `if' statement to
8626 avoid warnings from the compiler.
8627 (AC_HEADER_TIME): Likewise.
8628 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8629 in `if' statement to avoid warnings from the compiler. Declare
8630 ac_aggr static to avoid the need to initialize it.
8632 2001-06-14 Akim Demaille <akim@epita.fr>
8634 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8637 2001-06-13 Akim Demaille <akim@epita.fr>
8639 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8640 Suggested by Alexander Mai.
8642 2001-06-13 Akim Demaille <akim@epita.fr>
8644 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8645 sys/types.h and sys/stat.h, and check for them.
8647 2001-06-13 Akim Demaille <akim@epita.fr>
8649 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8652 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8654 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8655 succeeds and only try adding libdnet upon a failure.
8657 2001-06-12 Akim Demaille <akim@epita.fr>
8659 * autoscan.in (&output_kind): Output the comment only if it exists.
8660 (%kind_comment): Add entry for `programs'.
8661 (&output_programs): Use &output_kind.
8662 (&output_functions, &output_identifiers, &output_headers)
8663 (&output_programs): Inline, and remove.
8665 2001-06-12 Akim Demaille <akim@epita.fr>
8667 * autoscan.in (%kind_comment): New.
8669 (output_functions, output_identifiers, output_headers): Use it.
8671 2001-06-12 Akim Demaille <akim@epita.fr>
8673 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8674 arguments, to factor indirections into `%macro' and `%used'.
8675 (%generic_macro): Fix a typo.
8677 2001-06-12 Akim Demaille <akim@epita.fr>
8680 * autoscan.in (@kinds): Add `libraries'.
8681 Use `@kinds' instead of hard coded lists.
8682 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8683 Remove, replaced by...
8686 2001-06-12 Akim Demaille <akim@epita.fr>
8688 * autoscan.in (%functions_macros %headers_macros)
8689 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8693 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8695 * aclang.m4 (AC_NO_EXECUTABLES): Override
8696 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8698 2001-06-11 Akim Demaille <akim@epita.fr>
8700 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8702 Reported by Andreas Schwab.
8704 2001-06-11 Akim Demaille <akim@epita.fr>
8706 * Makefile.am, Makefile.maint: Typos.
8708 2001-06-09 Akim Demaille <akim@epita.fr>
8710 * doc/autoconf.texi (Here-Documents): New section, gathering
8711 documentation about here-documents.
8712 Use `href', not `uref', and other changes.
8714 2001-06-09 Akim Demaille <akim@epita.fr>
8716 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8719 2001-06-09 Akim Demaille <akim@epita.fr>
8721 * doc/autoconf.texi (Limitations of Builtins): Complete the
8722 description of the here-docs penalties with Alexandre Oliva's
8725 2001-06-01 Paul Eggert <eggert@twinsun.com>
8727 * doc/autoconf.texi: Talk about here documents and speedups.
8728 Do not use "echo" on arbitrary strings.
8729 Spell "here-documents" consistently with the standard.
8731 2001-06-09 Akim Demaille <akim@epita.fr>
8733 * doc/autoconf.texi (Concept Index): Introduce it.
8734 Regenerate the menus.
8736 2001-06-09 Akim Demaille <akim@epita.fr>
8738 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8739 * config/prev-version.txt: New.
8740 * config/move-if-change: New, for GNU libc.
8742 2001-06-06 Pavel Roskin <proski@gnu.org>
8744 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8746 2001-06-06 Akim Demaille <akim@epita.fr>
8748 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8749 properly when $1 is not a literal.
8750 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8752 2001-06-06 Akim Demaille <akim@epita.fr>
8754 Invoking AC_COPYRIGHT before AC_INIT fails.
8756 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8757 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8758 (_m4_divert(VERSION_USER)): New.
8759 (AC_COPYRIGHT): $2 is the diversion to use.
8760 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8761 (AC_INIT): Remove dead comments as now it's commutative.
8763 2001-06-06 Akim Demaille <akim@epita.fr>
8765 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8768 2001-06-05 Akim Demaille <akim@epita.fr>
8770 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8772 `*dir' variables cannot be NONE.
8773 Reported by Mark Kettenis.
8775 2001-06-05 Paul Eggert <eggert@twinsun.com>
8777 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8779 2001-06-04 Akim Demaille <akim@epita.fr>
8781 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8782 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8783 (AC_TR_SH): Move as...
8784 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8785 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8787 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8788 (_AS_TR_SH_PREPARE): New.
8789 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8790 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8792 2001-06-02 Akim Demaille <akim@epita.fr>
8794 * Makefile.am (.m4.m4f): Pass the options first.
8795 Fixes PR autoconf/182.
8797 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8799 GNU getopt, when POSIXLY_CORRECT does not permute options and
8800 arguments. So pass the options first.
8801 Fixes PR autoconf/184.
8803 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8804 (run_m4): Remove files.
8806 Update remainder of script to use them.
8807 (for warning in): Do not use a literal comma as it will not be
8810 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8812 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8813 Fortran compilers to check.
8814 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8815 information on library and object files.
8816 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8819 2001-06-02 Akim Demaille <akim@epita.fr>
8821 * autom4te.in (Request::@request): Declare with `vars', not `my',
8822 as it prevents updates via `do FILENAME'.
8824 2001-06-02 Akim Demaille <akim@epita.fr>
8826 * configure.in (standards_texi): Remove, dead code.
8828 2001-06-02 Akim Demaille <akim@epita.fr>
8832 2001-06-02 Pavel Roskin <proski@gnu.org>
8834 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8835 for signals other than 0 - exit with code 1.
8836 * m4sh.m4 (AS_TMPDIR): Likewise.
8837 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8838 * autoheader.in: Likewise.
8839 * autoreconf.in: Likewise.
8840 * tests/torture.at (Signal handling): New test for the above.
8842 2001-06-01 Akim Demaille <akim@epita.fr>
8844 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8847 2001-05-31 Akim Demaille <akim@epita.fr>
8849 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8850 Add copyright and comments.
8851 * acheaders: Add stdint.h.
8852 Suggested by Paul Eggert.
8854 2001-05-31 Akim Demaille <akim@epita.fr>
8856 * atgeneral.m4 (AT_INIT): Use $SHELL.
8857 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8859 2001-05-31 Akim Demaille <akim@epita.fr>
8861 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8863 From Paul Eggert and Lars Hecking.
8865 2001-05-31 Akim Demaille <akim@epita.fr>
8867 * tests/base.at: Adjust line numbers in error messages.
8869 2001-05-31 Akim Demaille <akim@epita.fr>
8871 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8872 to emit the bangshe line.
8873 Reported by David Carter.
8875 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8877 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8878 Fortran (95) compilers to check.
8880 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8882 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8885 2001-05-23 Pavel Roskin <proski@gnu.org>
8887 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8888 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8889 (AC_PROG_CXXCPP): Likewise.
8891 2001-05-22 Akim Demaille <akim@epita.fr>
8893 * config: New directory.
8894 * configure.in: AC_CONFIG_AUX_DIR it.
8895 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8897 2001-05-22 Akim Demaille <akim@epita.fr>
8899 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8900 * autoupdate.in: Specify the Emacs mode.
8901 * acversion.m4.in: Rename as...
8902 * acversion.m4: this.
8903 * tests/Makefile.am (CLEANFILES): More garbage.
8905 2001-05-22 Akim Demaille <akim@epita.fr>
8907 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8909 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8912 2001-05-21 Akim Demaille <akim@epita.fr>
8914 * configure.in: Bump to 2.50a.
8918 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8920 This file is part of GNU Autoconf.
8922 GNU Autoconf is free software; you can redistribute it and/or modify
8923 it under the terms of the GNU General Public License as published by
8924 the Free Software Foundation; either version 2, or (at your option)
8927 GNU Autoconf is distributed in the hope that it will be useful,
8928 but WITHOUT ANY WARRANTY; without even the implied warranty of
8929 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8930 GNU General Public License for more details.
8932 You should have received a copy of the GNU General Public License
8933 along with autoconf; see the file COPYING. If not, write to
8934 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8935 Boston, MA 02110-1301, USA.