1 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
3 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
4 They are generated by the Tru64 v5.1B shell.
5 Problem reported by Nicolas Joly.
7 2005-07-05 Stepan Kasal <kasal@ucw.cz>
9 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
10 description, the macro now accepts only a single tag.
11 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
13 2005-07-05 Stepan Kasal <kasal@ucw.cz>
15 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
16 at_top_builddir, for compatibility with older autotest.
17 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
18 is not set, use at_top_builddir, for compatibility with older
21 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
23 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
24 Problem reported by Patrick Welche.
26 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
28 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
29 sed substitution command, so that we allow | in program prefixes
30 and program suffixes. (& is a problem anyway; we're not fixing
32 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
33 configure_input, top_builddir, srcdir, etc.
34 * lib/autotest/general.m4 (AT_INIT): Likewise, for
35 PATH_SEPARATOR in AUTOTEST_PATH.
37 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
39 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
40 for loop over config.site files using `set', to allow
41 directory names containing IFS characters.
43 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
45 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
46 directories with weird names. Apparently some people like living
47 on the edge. However, improve the test that "pwd" actually does
48 report a name for the working directory.
49 * NEWS: Remove the claim that we test for funny chars in dir names.
51 2005-07-01 Stepan Kasal <kasal@ucw.cz>
53 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
55 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
56 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
57 Now accept a single tag, not whitespace separated list.
58 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
60 2005-06-30 Stepan Kasal <kasal@ucw.cz>
62 * doc/autoconf.texi (Configuration Headers): Change the explanation
63 about #include <config.h>.
65 2005-06-30 Stepan Kasal <kasal@ucw.cz>
67 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
68 matches the order of execution. No code changed.
70 2005-06-30 Stepan Kasal <kasal@ucw.cz>
72 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
73 document to output the default config_* lists to config.status.
74 Don't recognize option --file, if the functionality is not there.
75 Likewise for --header; moreover, recognize --he and --h as shortcuts
76 for --help in that case.
78 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
80 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
81 single-quoted -cmdline argument in Portland Group compiler.
82 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
84 2005-06-30 Stepan Kasal <kasal@ucw.cz>
86 * doc/autoconf.texi (Generic Functions): Mention the Gnulib project.
87 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
89 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
91 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
93 2005-06-29 Stepan Kasal <kasal@ucw.cz>
95 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
96 descriptors to child processes; reported by Norman Gray.
98 2005-06-29 Stepan Kasal <kasal@ucw.cz>
100 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
101 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
103 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
104 the directory specific variables; but don't call it for configure_input.
106 2005-06-29 Stepan Kasal <kasal@ucw.cz>
108 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
110 2005-06-28 Derek Price <derek@ximbiot.com>
112 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
115 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
117 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
118 directory have inherent problems with special characters like spaces,
119 due to limitations in Make syntax. Problem reported by Alexandre
121 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
122 Also, fix Tru64 porting problem with shell patterns,
123 reported by Ralf Wildenhues.
125 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 * doc/autoconf.texi (Subdirectories): Fix markup typos.
129 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
131 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
133 Fix some more shell quoting problems. Prompted by a bug report
134 from Justace Clutter.
135 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
136 variable into diagnostic. Make the diagnostic an error, not a warning,
137 because we really don't support spaces and suchlike in dir names.
138 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
139 Don't worry about backslashes in srcdir; it can't happen now.
140 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
141 Simplify ac_optarg handling.
142 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
144 2005-06-22 Stepan Kasal <kasal@ucw.cz>
146 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
147 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
148 * tests/atlocal.in: Propagate $EGREP and $SED.
149 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
150 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
152 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
153 that '\|' is not allowed in BREs; recommend using newline separated
154 list of patterns instead of multiple -e options.
156 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
158 2005-06-22 Stepan Kasal <kasal@ucw.cz>
160 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
162 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
164 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
166 2005-06-21 Stepan Kasal <kasal@ucw.cz>
168 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
169 b, t, r, w commands require single space, while : cannot have any.
170 (Special Shell Variables): Fix sed code this in the example.
171 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
172 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
174 2005-06-21 Stepan Kasal <kasal@ucw.cz>
176 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
177 expand to the empty list. Don't use two pairs of m4_changequote,
180 2005-06-20 Derek Price <derek@ximbiot.com>
182 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
184 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
186 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
188 Don't mention Solaris versions so much, if a
189 problem is common to all extant versions of Solaris. Say "SunOS
190 4" instead of "SunOS" for SunOS 4.
191 (awk): Mention more of the limitations of traditional Awk.
192 (cat): Don't talk about cat -v.
194 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
196 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
197 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
198 but the implementation is entirely different and is designed
199 to be compatible with glibc strverscmp.
200 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
202 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
203 on Mac OS X 10.4 reported by Peter O'Gorman in:
204 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
205 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
206 Use shell builtins rather than 'expr', to work around expr bug.
208 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
210 * doc/autoconf.texi: "filesystem" -> "file system".
211 "behaviour" -> "behavior".
212 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
213 * lib/autoconf/general.m4: Omit blank after ":" sed command,
215 * lib/m4sugar/m4sh.m4: Likewise.
216 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
217 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
219 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
220 (.x.1): Ignore the time stamp in the .TH line when deciding whether
221 to update the man page. That way, we don't have to check in new
222 man pages every month.
224 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
225 quotes and backslashes. Patch from Derek Price.
227 2005-06-10 Derek Price <derek@ximbiot.com>
229 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
232 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
234 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
235 -u, since it outputs chatter if the input files are the same.
236 Problem reported by Ralf Menzel.
238 2005-06-08 Derek Price <derek@ximbiot.com>
240 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
241 renaming them since they are about to be redefined anyhow.
243 2005-06-08 Derek Price <derek@ximbiot.com>
245 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
246 redefined M4 macros to this node. Document m4_include & m4_sinclude.
247 Move m4_undefine to alphabetical order.
249 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
251 * README: Recommend GNU M4 1.4.3 or later.
252 * doc/autoconf.texi (Introduction): Likewise.
253 Reword to avoid some formatting glitches.
254 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
255 Clarify explanation of HP compiler bug.
256 Redo example output tp match current CVS snapshot.
257 Use @example.org in email addresses when the examples
258 might get inadvertently cut-and-pasted into user code.
259 Remove example of autom4te usage that doesn't seem to work now.
260 Use modern AC_INIT (except when the example is meant to be
261 shown with Autoconf 2.13).
262 Update ksh info for Solaris 9 and later.
264 Modernize description of Automake versions a bit.
265 Don't claim a future version of Autoconf is near.
266 * doc/install.texi: Reword to avoid some formatting glitches.
268 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
270 * doc/autoconf.texi: Add [] to examples, so that the manual
271 follows its own advice about quoting better.
272 Reword to avoid some formatting glitches.
273 * doc/installt.exi: Reword to avoid some formatting glitches.
275 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
276 Tru64 ksh pattern matching bug. Reported against Libtool by
277 Albert Chin <libtool@mlists.thewrittenword.com> and
278 Nicolas Joly <njoly@pasteur.fr>.
280 2005-06-06 Stepan Kasal <kasal@ucw.cz>
282 m4_cdr of one-member list was [[]] (one-member list containing an
283 empty string) instead of [] (an empty list. Callers were skewed to
284 match this misbehaviour. As a consequence of this:
285 - m4_foreach([x], [], [foo]) expanded to `foo', while
286 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
289 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
290 expand to an empty string; print error msg if called without
292 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
293 misbehaviour; handle [] and [[]] correctly.
295 2005-06-06 Stepan Kasal <kasal@ucw.cz>
297 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
298 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
299 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
301 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
303 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
304 swallow records with more than 99 fields.
305 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
308 2005-06-04 Stepan Kasal <kasal@ucw.cz>
310 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
311 swallow literals longer than 399. Reported by Ralf Wildenhues.
312 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
313 to workaround this limitation.
315 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
317 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
318 to gfortran, and make these the first two compiler names
319 checked (following the general autoconf preference for gcc).
321 2005-06-03 Stepan Kasal <kasal@ucw.cz>
323 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
324 (DISTCLEANFILES): Remove $(check_SCRIPTS).
325 (testsuite): Make sure autotest.m4f is up-to-date before using it.
327 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
329 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
330 expression of unbounded size when processing the --list
331 option. This runs afoul of a limit of 399 bytes per regular
332 expression on AIX. Problem reported by Ralf Wildenhues.
334 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
336 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
337 * doc/autoconf.texi (Particular Headers): Reword example
338 for multiline stdbool replacement.
339 (Setting Output Variables): Reword text a bit. Don't
340 give all the details about |#_!!_#|.
341 Reword description of line replacement.
343 2005-05-31 Dan Manthey <dan_manthey@partech.com>
345 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
346 now contain newlines, and substituted files must be referenced on
347 a line alone; the sed scripts to substitute them are now very
349 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
350 commands can be put in a sed script portably.
351 * doc/autoconf.texi (Setting Output Variables): Document above
352 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
353 use of multiline substitution.
354 * tests/torture.at: No longer expect substitution of newline to fail.
356 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
358 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
359 From Ralf Menzel (trivial change).
361 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
363 * tests/local.at: Don't attempt to check for negated character
364 classes in shell scripts. The test was too brittle.
366 2005-05-25 Stepan Kasal <kasal@ucw.cz>
368 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
369 * doc/autoconf.texi (Limitations of Builtins): Document this
372 2005-05-24 Stepan Kasal <kasal@ucw.cz>
374 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
375 common code; used in many places in the tree.
376 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
377 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
379 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
381 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
382 messages when ac_unique_file is not found.
383 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
384 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
385 commands, for consistency with AC_MSG_ERROR and such.
387 * bin/autoconf.as: Make more use of "shift 2" in option processing.
389 * bin/Makefile.am: Merge the two rules for creating scripts.
391 2005-05-23 Stepan Kasal <kasal@ucw.cz>
393 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
394 obsolete; it was never documented.
395 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
397 2005-05-20 Stepan Kasal <kasal@ucw.cz>
399 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
400 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
401 (ac_top_builddir): ... this ...
402 (ac_top_build_prefix): ... to this; the old name is also kept, for
403 backward compatibility.
404 (ac_top_builddir_sub): New variable, without the trailing slash,
406 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
407 * doc/autoconf.texi (Configuration Actions): Rename
408 ac_top_builddir to ac_top_build_prefix.
409 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
410 at_top_builddir to at_top_build_prefix.
411 * lib/autotest/general.m4 (AT_INIT): Likewise.
413 2005-05-20 Stepan Kasal <kasal@ucw.cz>
415 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
418 2005-05-17 Stepan Kasal <kasal@ucw.cz>
420 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
421 argument to m4_foreach. I guess it was necessary in the past,
422 but I think it's a no-op now.
424 2005-05-17 Stepan Kasal <kasal@ucw.cz>
426 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
427 ``cat <<_ACEOF'' commands to one.
428 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
429 * lib/autoconf/status.m4: On various places, use expr instead of
431 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
432 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
433 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
435 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
436 the wrong patterns between ``case'' and ``esac.'' The previous
437 code had false positives.
439 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
441 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
443 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
446 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
448 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
449 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
450 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
451 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
452 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
453 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
454 config/config.guess, config/config.sub, config/elisp-comp,
455 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
456 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
457 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
458 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
459 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
460 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
461 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
462 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
463 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
464 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
465 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
466 lib/autoconf/general.m4, lib/autoconf/headers.m4,
467 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
468 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
469 lib/autoconf/specific.m4, lib/autoconf/status.m4,
470 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
471 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
472 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
473 lib/autotest/general.m4, lib/emacs/Makefile.am,
474 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
475 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
476 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
477 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
478 tests/compile.at, tests/foreign.at, tests/fortran.at,
479 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
480 tests/semantics.at, tests/suite.at, tests/tools.at,
481 tests/torture.at, tests/wrapper.as:
482 Update FSF postal mail address.
484 2005-05-13 Stepan Kasal <kasal@ucw.cz>
486 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
488 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
489 enough arguments, similarly as in m4_bpatsubsts.
491 2005-05-12 Stepan Kasal <address@hidden>
493 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
496 2005-05-11 Stepan Kasal <kasal@ucw.cz>
498 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
499 for absolute directory names in one loop.
500 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
501 abbreviations of --version and --debug.
503 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
505 * doc/autoconf.texi (Autoconf Language): Be more precise about
506 quoting rules. Problems noted by Stepan Kasal.
507 Also, throughout this document, be more careful about white space.
508 "blank", "white space", and "space" all have different meanings
509 and we should be careful to say what we mean.
511 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
513 Fix C++ related problems reported by Werner Lemberg.
514 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
515 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
516 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
517 avoid problems with C++ and throw.
518 * tests/compile.at: .cpp, not .cc.
520 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
522 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
524 * doc/autoconf.texi (Generic Functions): Typos.
526 2005-05-02 Gary V. Vaughan <gary@gnu.org>
528 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
529 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
530 set by latest automake.
532 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
534 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
535 outputs 0 on GNU/Linux these days.
537 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
539 * doc/autoconf.texi (Autoconf Language): Add more description
540 about quoting heuristics.
541 (Limitations of Builtins): Describe "set -" problems.
543 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
545 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
548 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
549 by AC_DEFINE; it was a mistake.
550 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
552 2005-04-25 Stepan Kasal <kasal@ucw.cz>
554 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
556 2005-04-22 Stepan Kasal <kasal@ucw.cz>
558 * doc/autoconf.texi (External Software): Quadrigraphs are not
559 processed correctly in AS_HELP_STRING; avoid this in the examples.
560 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
561 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
562 comment and reduce m4_default([foo], []) to [foo].
563 (m4_strip): Update the explanation.
565 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
567 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
568 Remove core.conftest.* too; it's generated by Tru64 5.1.
569 Problem reported by Jennis Pruett.
570 * lib/autoconf/functions.m4
571 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
572 Don't bother to remove core files; AC_RUN_IFELSE should do that
575 2005-04-19 Stepan Kasal <kasal@ucw.cz>
577 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
579 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
581 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
582 Report from Horst Wente.
584 2005-04-15 Stepan Kasal <kasal@ucw.cz>
586 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
589 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
591 * doc/autoconf.texi (External Software, Package Options): Add
592 examples showing how to implement --with-* and --enable-* options.
594 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
596 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
597 as well as configure.in. Problem reported by Gregorio Guidi.
599 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
601 * doc/autoconf.texi (Particular Functions): Use gnulib's current
602 pattern for alloca snippet.
604 2005-04-04 Stepan Kasal <kasal@ucw.cz>
606 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
608 2005-04-01 Stepan Kasal <kasal@ucw.cz>
610 * doc/autoconf.texi (Generic Programs): Fix a typo.
612 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
614 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
615 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
617 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
619 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
620 Merge `-z option' as well for the benefit of Solaris link flags. Pass
621 whole-archive (-zallextract, -zdefaultextract) options in the hope of
622 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
623 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
625 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
627 * NEWS: The configure command now warns you if you attempt to use
628 a directory whose name contains a special character like space,
630 * doc/autoconf.texi (Installation Directory Variables): Allow
631 "," in file names. Do not use \@; it's not a portable regexp.
632 * bin/Makefile.am (edit): Likewise.
633 * lib/Makefile.am (edit): Likewise.
634 * tests/Makefile.am (edit): Likewise.
635 * tests/semantics.at: Likewise.
636 * tests/torture.at: Likewise.
637 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
638 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
639 * doc/autoconf.texi (File System Conventions): Warn about
640 unportable file names.
641 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
643 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
644 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
645 ac_pwd, and quote srcdir.
646 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
648 * doc/autoconf.texi: Fix some systematic formatting problems.
649 ".)" needs a following @: if not at the end of a sentence, and
650 similarly for "!)". "etc." should be preceded by a comma.
651 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
653 2005-03-22 Bruno Haible <bruno@clisp.org>
655 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
656 argument is often called 'build-aux'.
658 2005-03-07 Stepan Kasal <kasal@ucw.cz>
660 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
661 macro AC_TRY_LINK is obsolete.
662 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
665 2005-02-24 Stepan Kasal <kasal@ucw.cz>
667 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
668 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
669 from a Common Lisp's `cl'.
670 (AC_PROG_CXX): Behave according to the documentation: don't
671 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
672 make the variable CCC precious; use `cl.exe', not `cl'.
674 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
675 Alexandre Duret-Lutz <adl@gnu.org>
677 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
678 /dev/null, as "configure" shouldn't read stdin, and this insulates
679 us from problems (e.g., when testing for "cl"). Also, do this
680 redirection before invoking "hostname" or "uname", and keep the
681 original input stream available via...
682 (AS_ORIGINAL_STDIN_FD): ... this new macro.
683 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
684 bother with "</dev/null" since it's now done at the top of
686 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
687 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
688 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
689 * doc/autoconf.texi (File Descriptor Macros): New section.
690 (Printing Messages): Mention it.
691 * tests/base.at (Input/Output): New test.
693 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
695 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
696 newline if neither \c nor -n work, as that would output two
697 newlines. Prefer -n to \c. Reported by Stepan Kasal.
699 2005-02-12 Stepan Kasal <kasal@ucw.cz>
701 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
702 This causes that any required macros inside will get before the if.
703 * doc/autoconf.texi (autom4te.cache): A typo.
705 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
707 Undo previous change, except keep the change to
708 lib/autoconf/programs.m4 that replaced grep with shell
709 pattern-matching. This is because net-snmp configure reads stdin.
710 Reported by Noah Misch.
712 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
714 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
715 from /dev/null, as "configure" shouldn't read stdin, and this
716 insulates us from problems (e.g., when testing for "cl").
717 Suggested by Alexandre Duret-Lutz. Also, do this redirection
718 before invoking "hostname" or "uname".
719 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
720 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
721 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
722 "</dev/null" since it's now done at the top of 'configure'.
723 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
724 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
725 Also, replace grep with shell pattern-matching, to save a process.
727 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
729 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
730 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
731 avoid thinking that Allegro Common Lisp's "cl" command is a C++
734 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
736 * doc/autoconf.texi (Limitations of Usual Tools): Document that
737 grep -q isn't portable. Improve grep -s explanation.
738 Problem reported by Dan Manthey.
740 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
742 * doc/autoconf.texi (Special Shell Variables): Clarify
743 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
745 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
747 * doc/autoconf.texi: Use @acronym for DJGPP.
748 Fix some @code's that should have been @env's, and vice versa.
749 Sort environment variable names.
750 Mention that shells no longer inherit IFS.
751 Don't recommend PATH_SEPARATOR=';' so strongly.
752 Mention that $RANDOM might expand to the empty string.
753 "symlink" and "soft link" -> "symbolic link".
754 Improve mktemp description (reported by Bruno Haible).
756 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
758 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
759 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
761 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
764 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
766 * NEWS: Mention AT_COPYRIGHT.
768 * tests/local.at (AT_CMP): Use diff directly on input files rather
771 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
772 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
774 2005-02-04 Noah Misch <noah@cs.caltech.edu>
775 and Paul Eggert <eggert@cs.ucla.edu>
777 * tests/autotest.at (Empty test suite): New test.
778 * tests/torture.at (Substitute and define special characters)
779 (Substitute a 2000-byte string, Define to a 2000-byte string)
780 (Substitute a newline, Define a newline): New tests.
782 2005-02-04 Noah Misch <noah@cs.caltech.edu>
784 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
785 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
786 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
787 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
788 (Standard regular expressions): New test.
789 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
790 excess test name quoting.
791 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
792 CPPFLAGS to `configure' instead of setting it in `configure'.
794 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
795 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
798 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
799 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
801 * tests/local.at (AT_CMP): New macro.
802 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
803 (AC_SAVE_STATE): Move environment grep...
804 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
805 (AT_CONFIG_CMP): New macro.
806 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
807 * tests/c.at (Extensions): Do not exit early.
808 * tests/atlocal.in: Inherit $GREP.
810 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
811 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
813 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
814 (AC_COPYRIGHT): Factor header comment portion out and move into...
815 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
816 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
817 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
819 * tests/local.at: Add Autoconf test suite copyright notice.
820 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
822 2005-02-04 Bruno Haible <bruno@clisp.org>
823 and Paul Eggert <eggert@cs.ucla.edu>
825 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
827 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
829 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
830 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
832 Try not to generated lines of unlimited length, as POSIX places a
833 2047-byte limit on line length of portable text files.
834 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
835 Use newline as a separator, not space.
836 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
837 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
840 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
842 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
843 as_func_*. Add test to check whether positional parameters
844 are restored after function return.
846 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
848 * doc/autoconf.texi (Special Shell Variables): Mention _,
849 BIN_SH, DUALCASE. Say that variables other than "status" are safe
850 if they contain a lower-case letter. The DUALCASE problem was
851 reported by Ralf Wildenhues.
853 * bin/autoconf.as: Don't exit with status 0 after write failure
854 with --help or --version.
855 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
856 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
858 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
860 * doc/autoconf.texi (Limitations of Usual Tools):
861 Unicos 9 sed limitations.
862 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
863 to get the option-enhanced interface on older Crays. Try ftn for
864 Fortran 95 (newer Crays).
866 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
868 * man/Makefile.am (.x.1): Go back to the simple solution, but take
869 care to echo the commands, so the user knows what's going on.
870 Modified from a suggestion by Stepan Kasal.
872 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
873 with a cross reference. Derived from a suggestion by Bruce Korb.
875 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
877 * doc/autoconf.texi (config.status Invocation): Warn about
878 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
879 * doc/install.texi (Defining Variables): Likewise.
880 Based on a proposed patch by Ralf Wildenhues.
882 * man/Makefile.am (.x.1): Make sure the required generated files
883 are up to date. Problem and original solution proposed by Stepan Kasal.
884 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
885 implicit-man-prerequisites): New rules, used by the above.
887 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
888 * config/config.guess, config/config.sub, config/install-sh: Likewise.
889 * config/missing, config/texinfo.tex: Likewise.
891 2005-01-29 Stepan Kasal <kasal@ucw.cz>
893 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
894 Update the long comment explaining it.
896 m4_require no longer writes an ``is required by'' line to the
897 execution stack. It contains only one bit of non-redundant
898 information: that the macro was required, not called. And even
899 this bit is useless in most situations: have you ever met a macro
900 which both calls and requires the same macro?
902 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
903 (_m4_defun_pro_outer): ... only via this macro, for the outermost
905 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
906 (m4_expansion_stack_pop): Remove the misplaced comment.
907 (m4_require): Don't put the ``is required by'' line to the
908 execution stack; slightly improve the out-of-a-defun error message.
909 (_m4_divert_grow): New macro, counter for the temporary diversions.
910 (_m4_require_call): Use it.
911 * tests/m4sugar.at (m4_require): Expect output without the
912 ``is required by'' messages.
914 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
916 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
917 rather than x for expr.
919 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
921 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
922 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
923 * lib/autotest/general.m4 (AT_INIT): Likewise.
924 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
925 * tests/mktests.sh: Likewise.
927 2005-01-27 Akim Demaille <akim@epita.fr>
929 Have autoheader honor --force.
931 * doc/make-stds.texi, doc/standards.texi: Update from masters.
932 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
933 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
934 from masters, so that FileUtils.pm's update_file provide --force
936 * bin/autoheader.in: Pass $force to update_file so that
937 config.h.in is always recreated when --force.
939 2005-01-24 Stepan Kasal <kasal@ucw.cz>
941 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
943 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
945 * doc/autoconf.texi (Limitations of Builtins): Clarify that
946 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
948 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
950 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
951 Warn about newline stripping in `` and $(). Update Solaris
953 (Limitations of Builtins): Use expr "X...", not expr "x...", as
954 X insulates us from future changes to Posix.
955 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
958 2005-01-19 Stepan Kasal <kasal@ucw.cz>
960 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
961 you cannot use AC_DEFINE to define macros containing `[' or `]'.
963 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
965 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
966 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
967 bug-tar mailing list.
969 2005-01-05 Stepan Kasal <kasal@ucw.cz>
971 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
973 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
975 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
976 ulongval to be static, to avoid unwanted GCC warning. Problem
977 reported by Michael Jennings via Daniel Reed; see
978 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
980 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
982 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
983 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
984 datadir, infodir, and mandir. Adjust argument parsing code.
985 (_AC_INIT_HELP): Update help text.
986 * doc/autoconf.texi (Installation Directory Variables): Document
989 2005-01-04 Noah Misch <noah@cs.caltech.edu>
991 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
992 not seem to work, assume it does set $(MAKE).
993 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
995 2005-01-03 Stepan Kasal <kasal@ucw.cz>
997 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
999 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1001 A cleanup of the diversion support in m4sugar.
1003 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
1004 (_m4_divert_n_stack): New macro; the expansion is
1005 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
1007 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
1008 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
1009 stored in _m4_divert_diversion or _m4_divert_dump.
1010 (m4_divert_pop): When the parameter is given, compare the symbolic
1011 name with the last diversion pushed on the stack. Previously, the
1012 current diversion was compared with the numeric value of the
1013 diversion given as the parameter.
1014 (m4_require): If the macro hasn't been expanded yet, call ...
1015 (_m4_require_call): this new macro.
1017 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1019 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
1020 Workarounds for documented `case' limitations.
1022 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1024 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
1025 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
1027 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
1029 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
1030 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
1031 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
1033 Patch from Roger Leigh (with some minor changes) as follows:
1034 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
1035 Resurrect AC_PROG_CC_STDC.
1036 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
1037 AC_PROG_CC_C89, AC_PROG_CC_C99.
1038 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
1039 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
1040 AC_PROG_CC_C99): New macros.
1041 (AC_PROG_CC_STDC): Use them.
1042 (_AC_PROG_CC_STDC): Remove.
1043 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
1044 * THANKS: Add Roger Leigh.
1046 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1048 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
1049 signals that the package uses Automake; a `Makefile.am' is typical but
1050 not essential. Reported by Magnus Therning.
1051 * tests/torture.at (autoreconf.): New banner.
1052 (autoreconf and non-AC configure): Rename to `Non-Autoconf
1054 (autoreconf an empty directory): Rename to `Empty directory'.
1055 (Unusual Automake input files): New test.
1057 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1059 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
1060 (AT_SETUP): Clear AT_capture_files.
1061 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
1062 (AT_KEYWORDS): Fix comment typo.
1063 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
1064 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
1065 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
1067 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
1069 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1070 If the variable to set is already set, set ac_cv_path_$1
1071 to the preset value so caller can assume ac_cv_path_$1
1072 is available. (trivial change)
1074 2004-12-27 Noah Misch <noah@cs.caltech.edu>
1076 * BUGS (Minor Problems): Warn about makefile limitations.
1077 * Makefile.am: Find and update `INSTALL' in $(srcdir).
1078 * man/Makefile.am: Find and update manual pages in $(srcdir).
1080 2004-12-24 Eric Blake <ebb9@byu.net>
1082 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
1083 shells in subshell, to avoid noise from ash. (trivial change)
1085 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1087 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1088 problems with SunOS ksh and backslash escaping, Bourne shells and
1089 closing brackets (both within character classes). Bug reported
1090 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
1091 <read>: New entry. Mention non-availability of -r.
1093 2004-12-21 Akim Demaille <akim@epita.fr>
1095 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
1096 avoid cluttering displayed messages. Rather, prepend srcdir where
1097 AT_LINE is used for log files.
1099 2004-12-21 Stepan Kasal <kasal@ucw.cz>
1101 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
1102 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
1103 no longer part of the macro, quote the occurrence of ``$tmp''.
1104 * doc/autoconf.texi (Forbidden Patterns): Typo.
1106 2004-12-21 Akim Demaille <akim@epita.fr>
1108 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
1109 separated from the test title by forcing a white space.
1111 2004-12-21 Akim Demaille <akim@epita.fr>
1113 Enable Emacs navigation within testsuite.log files.
1115 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1116 use the compilation mode.
1117 (AT_LINE): Point to the srcdir.
1119 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1121 * tests/Makefile.am (installcheck-local): Use $(bindir).
1122 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1123 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1124 Makefile.am scheme Autoconf now uses.
1126 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1128 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1129 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1131 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1133 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1134 (_AT_CHECK): Use it.
1135 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1136 (AS_ESCAPE): Fix comment.
1137 * tests/autotest.at: Adjust section banner comments.
1138 (AT_CHECK_AT): Accept STATUS and STDERR.
1139 (AT_CHECK_AT_TEST): Likewise.
1140 (Invalid brace-enclosed parameter expansion)
1141 (Multiline command from M4 expansion)
1142 (Double-M4-quoted command): New tests.
1144 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1146 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1148 2004-12-17 Akim Demaille <akim@epita.fr>
1150 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1152 Suggested by Alexandre Duret-Lutz.
1153 * doc/autoconf.texi (Setting Output Variables): Catch up.
1155 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1157 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1159 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1161 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1162 remove the comment which said we cannot.
1164 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1166 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1167 Reini Urban and Paul Eggert for reporting the dependencies.
1169 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1170 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1171 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1173 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1175 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1176 so that eg. ``autoscan --help'' doesn't truncate it.
1178 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1180 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1181 generated conftest files.
1183 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1185 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1186 tracing on commands with possibly-escaped newlines.
1187 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1188 discontinued behavior and its implications.
1189 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1190 (BSx641-newline in command, BS-BS-newline in command)
1191 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1192 (Single-quote-BS-newline in command)
1193 (Single-quote-newline-BS-newline in command): New tests.
1195 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1197 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1198 on platforms where it works.
1199 (_AS_TEST_PREPARE): Test for ``test -x''.
1200 (_AS_BROKEN_TEST_PREPARE): Nuke.
1202 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1204 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1205 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1206 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1207 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1208 create the temporary directory.
1209 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
1211 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
1213 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
1216 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
1218 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
1220 2004-12-11 Noah Misch <noah@cs.caltech.edu>
1222 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
1223 to avoid using a negated character class. Reported by Nicolas Joly.
1224 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
1226 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
1228 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
1229 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
1230 Don't depend on .x file explicitly, since "make" does that for us.
1231 Suggested by Stepan Kasal.
1233 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
1235 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
1236 ifnames): Factor common code. And they said it couldn't be done!
1238 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1240 * bin/.cvsignore: Add autoconf.in.
1241 * tests/.cvsignore: Add wrapper.in.
1242 * lib/autotest/general.m4: Escape '$' in case pattern.
1244 2004-12-09 Noah Misch <noah@cs.caltech.edu>
1246 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
1248 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
1250 * tests/autotest.at: New file.
1251 * tests/suite.at: Include it.
1252 * tests/Makefile.am: Distribute it.
1254 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
1255 shell tracing on a command that could contain multiple lines.
1256 * doc/autoconf.text: Document that fact and its implications.
1257 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
1258 * tests/autotest.at (Multiline backquote command substitution,
1259 Multiline parameter expansion, Literal multiline command,
1260 Multiline parenthetical command substitution): Remove XFAIL.
1262 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
1264 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
1265 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
1267 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1269 * configure.ac (test suite): Cease to generate wrapper scripts.
1270 * configure: Regenerate.
1271 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
1272 (m4f_dependencies): Adjust accordingly.
1273 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
1274 (wrapper.in): Generate it in the build directory.
1275 (MAINTAINERCLEANFILES): Delete wrapper.in.
1276 (CLEANFILES): Add wrapper.in.
1277 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
1278 the output. Replace each $as_me with a @wrap_program@.
1279 * tests/wrapper.in: Delete it; we always build it.
1281 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
1282 (EXTRA_DIST): Remove autoconf.in.
1283 (CLEANFILES): Add autoconf.in.
1284 (autoconf): Find autoconf.in in the build directory.
1285 * bin/autoconf.in: Delete it; we always build it.
1287 2004-12-08 Noah Misch <noah@cs.caltech.edu>
1289 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
1290 PATH members so as to not prepend an empty element. Move a comment.
1291 * Makefile.am (SUBDIRS): Build in `tests' last.
1292 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
1294 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
1296 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
1297 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
1298 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
1299 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
1301 2004-12-07 Stepan Kasal <kasal@ucw.cz>
1303 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
1306 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1308 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
1309 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
1310 * doc/autoconf.texi (Particular Functions): Mention new behavior.
1312 2004-12-03 Stepan Kasal <kasal@ucw.cz>
1314 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
1315 out the common code to ...
1316 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
1317 value of the #define--default to 1, iff the macro was called
1318 with exactly one parameter.
1320 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
1322 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
1323 "char c = '\200';" rather than "char c = 0x80;" as the
1324 latter doesn't conform to the strict C standard due to
1325 overflow on signed char hosts.
1327 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
1328 to -qlanglvl=ansi. We don't want to disable extensions.
1330 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
1332 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
1333 (Using Autotest, testsuite Scripts, Writing testsuite.at):
1334 Reword slightly to avoid some English-language problems noted
1335 by Ralf Wildenhues in:
1336 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
1338 2004-11-29 Stepan Kasal <kasal@ucw.cz>
1340 * NEWS: Add ^L above each release.
1342 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
1344 Fix documentation problems reported by Russ Boylan in
1345 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
1346 along with some nearby cruft.
1347 * doc/autoconf.texi (Libtool): Libtool can be used without
1348 Automake (not without Autoconf).
1349 (Introduction): Mention lists.gnu.org.
1350 * BUGS: Don't mention bugs.gnu.org.
1351 Remove mention of ancient libtool compatibility problem.
1352 * NEWS: Mention that bugs.gnu.org is kaput.
1353 * README: Likewise. Mention where mailing list archives can be found.
1355 2004-11-28 Stepan Kasal <address@ucw.cz>
1357 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
1358 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
1360 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
1362 * doc/autoconf.texi (Pretty Help Strings): Go back to
1363 single-quoting assignments to cache variables.
1365 2004-11-23 Stepan Kasal <kasal@ucw.cz>
1367 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
1368 with the examples; fix the bug in MY_ARG_WITH example reported
1369 by Alexandre Duret-Lutz.
1370 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
1371 expansion of $1 in the comment emitted to configure.
1373 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1375 * doc/autoconf.texi (Pretty Help Strings): Fix typo
1376 in my editing of the previous patch. Problem reported
1377 by Alexandre Duret-Lutz.
1379 2004-11-22 Stepan Kasal <kasal@ucw.cz>
1381 * doc/autoconf.texi (Autoconf Language): Explain that
1382 ``descriptions'' may not be double quotes.
1383 (Quotation Rule Of Thumb): Likewise.
1384 (Pretty Help Strings): Likewise; remove the wrong comment;
1385 simplify the examples and improve their quoting.
1387 2004-11-13 Stepan Kasal <kasal@ucw.cz>
1389 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
1390 the $1_found variable, don't test whether the file is executable;
1391 Both things are checked ...
1392 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
1393 the former ``test -f''.
1394 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
1396 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1398 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
1401 2004-11-10 Derek R. Price <derek@ximbiot.com>
1403 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
1404 limitations. Reorder paragraphs for clarity.
1406 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
1408 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
1409 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
1410 variants", "Unix", and some related minor wording fixups.
1412 (Shellology, Special Shell Variables): Document that the Zsh
1413 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
1414 to Alexandre Duret-Lutz for this info.
1416 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
1418 * doc/autoconf.texi (One-Shot Macros): New node.
1420 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
1422 * doc/autoconf.texi (Function Portability): Fix misdescription
1423 of putenv. Problem reported by Michael Wardle.
1425 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
1427 * doc/autoconf.texi (auindex): New macro.
1428 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
1429 Problem reported by Stepan Kasal.
1431 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
1433 Fix problems reported by Andreas Buening in:
1434 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
1435 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
1437 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
1438 readable; it's not true in OS/2-emx.
1440 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
1442 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
1443 "/usr/include", clear ac_x_includes instead of leaving it as "no"
1444 (trivial change). Problem and patch reported by Andrew Church in:
1445 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
1447 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
1449 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
1450 three args in examples. Problem reported by Frederik Fouvry in:
1451 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
1452 Also, fix some minor spacing and punctuation bugs.
1454 2004-09-02 Akim Demaille <akim@epita.fr>
1456 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
1457 "case" to restore ordering.
1458 Reported by Stepan Kasal.
1460 2004-08-26 Akim Demaille <akim@epita.fr>
1462 * doc/autoconf.texi: Minor typos and stylos.
1464 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1466 * configure.ac (AC_INIT): Bump to 2.59c.
1468 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
1472 * README: Add advice about m4 1.4.2.
1474 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
1475 texinfo.tex for now (done by hand now).
1476 * Makefile.maint (wget_files, cvs_files):
1477 Remove ansi2knr.c; nobody uses it.
1478 (ansi2knr.c-url_prefix): Remove.
1479 (cvs-update): Fix test for failure. I don't know why it ever
1482 * doc/autoconf.texi: Update URLs, some of which went stale.
1483 Use @uref rather than @href.
1485 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
1486 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
1488 * config/config.guess, config/config.sub, config/elisp-comp,
1489 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
1490 doc/fdl.texi, doc/standards.texi: Sync with master copy.
1492 * NEWS, TODO, configure.ac, bin/autoscan.in,
1493 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
1494 doc/install.texi, lib/Autom4te/Configure_ac.pm,
1495 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
1496 lib/autoconf/programs.m4, lib/autoconf/status.m4,
1497 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
1498 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
1499 tests/tools.at, tests/torture.at:
1500 Use "file name" rather than "filename" or "path",
1501 to be consistent with the terminology of the GNU coding standards.
1503 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1505 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
1506 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
1507 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
1508 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
1510 More fixes to support spaces in the name of the build directory.
1511 This isn't a complete fix but it's an improvement.
1513 * bin/autoconf.as (autom4te_options): New var.
1514 Use it instead of appending to AUTOM4TE, so that we can allow
1515 spaces in the build directory's absolute name.
1516 * bin/autoheader.in ($autoconf): Allow spaces in file names.
1517 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
1518 AT_CHECK_NOESCAPE): Likewise.
1519 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
1520 main program): Likewise.
1522 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
1524 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
1525 From Ralf Corsepius in:
1526 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
1528 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1530 * doc/autoconf.texi (Function Portability): Document isinf and
1531 and isnan. From a suggestion by Kevin Ryde.
1533 * lib/Autom4te/General.pm (END): Return correct exit status even
1534 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
1536 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1538 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
1539 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
1540 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
1542 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
1544 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
1545 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
1546 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
1547 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
1548 * lib/autom4te.in (Automake-preselections): Preselect
1549 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
1551 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
1553 * lib/autom4te.in (Automake-preselections): Preselect
1554 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
1557 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
1559 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
1561 * doc/autoconf.texi (Shellology): Mention BIN_SH.
1562 Document problem with "`""`" in pdksh POSIX mode.
1564 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
1566 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
1567 with pdksh, too. Problem reported by Patrick Welche via
1569 * doc/autoconf.texi (Shellology): Note that set -o posix is
1570 useful for pkdsh, too.
1572 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
1574 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
1575 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
1576 Don't fail if ENV or BASH_ENV is readonly.
1577 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
1578 etc. are read only. Problem reported by Ludovic Courtes.
1580 2004-06-23 Noah Misch <noah@cs.caltech.edu>
1582 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
1583 zsh, disable GLOB_SUBST to avoid backslash handling problems.
1586 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
1588 * doc/autoconf.texi (File System Conventions): Warn about
1589 names like "aux". Problem reported by Eric Blake.
1591 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
1592 by zero instead of array size, so that we can use any arithmetic
1593 constant expression (instead of requiring an integer constant
1594 expression). This allows us to test expressions like DBL_MAX <
1595 LDBL_MAX, which didn't conform to the C standard using the old
1597 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
1598 now that we can do floating-point tests at compile time.
1600 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
1602 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
1603 and LDBL_EPSILON, as the resulting expression isn't an
1604 integer constant expression and violates the C standard.
1605 Problem reported by Nelson H. F. Beebe. Also, check
1606 for "L" suffix, and check that long double doesn't have
1607 worse range or precision than double, that mixed-mode
1608 arithmetic doesn't generate a diagnostic, that double
1609 constants fit in long double.
1611 2004-06-03 Kevin Ryde <user42@zip.com.au>
1613 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
1614 malloc(0) and realloc(NULL,size).
1616 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
1619 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1621 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
1622 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
1625 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
1627 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
1628 can be rewritten using if-then-else. Suggested by Bruno Haible.
1630 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
1632 * doc/autoconf.texi (testsuite Scripts): Fix typo.
1633 Problem reported by Stepan Kasal.
1635 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
1637 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
1638 change). Patch reported by Ralf Wildenhues in
1639 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
1641 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
1642 function F exists if the compiler and linker let you compile an
1643 expression like (F != 0). Recent versions of GCC optimize away
1644 the reference to F in that case, since every function address must
1645 be nonzero, so the link succeeds even if F does not exist.
1646 Problem reported by Manu in
1647 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
1649 * doc/autoconf.texi (Systemology): Standardize on the spelling of
1650 "Unix". Many uses changed.
1651 (Limitations of Builtins): Explain better why the ! command isn't
1654 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
1656 * lib/autom4te.in (Automake-preselections): Preselect
1657 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
1659 2004-05-19 Kevin Ryde <user42@zip.com.au>
1661 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
1662 referencing AC_FUNC_STRERROR_R.
1664 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
1665 note pessimistic assumption when cross compiling.
1667 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1669 * doc/autoconf.texi (Limitations of Make): Note that BSD make
1670 (until 2004) invoked subcommands with sh -e, contra POSIX.
1671 Reported by Kevin Ryde.
1673 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
1675 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
1676 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
1677 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
1678 `test -f " /usr/bin/grep"', which _always_ failed.
1679 (AC_PROG_SED): Ditto bogus PATH fix.
1680 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
1681 requires that grep correctly supports _multiple_ `-e' options, rather
1682 than stating only that grep should accept `-e'.
1684 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
1686 Port to C99, which requires that 'exit' be declared.
1688 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
1689 to ensure that stdlib.h is included.
1690 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
1691 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
1692 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
1693 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
1694 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
1695 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
1696 when using 'exit' in a test; C99 requires that 'exit' be declared.
1698 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
1700 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
1701 now prefers 'grep' implementations that accept -e.
1702 (Limitations of Usual Tools): Describe problems of traditional
1703 egrep and fgrep with long input lines, and of traditional grep
1705 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
1706 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
1707 All callers changed. Append /usr/xpg4/bin to the PATH, for
1709 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
1710 the user with complaints about multiple -e options.
1711 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
1712 Define it with AC_PROG_GREP.
1713 * configure.ac (AC_PROG_GREP): Add.
1714 * lib/freeze.mk (GREP): New macro.
1716 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
1718 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
1719 a possible candidate only after all others fail, rather than
1720 consulting it first. This improves backward compatibility by
1721 better reflecting the way shell selection occurred in previous
1722 versions of Autoconf, and should help to avoid triggering latent
1723 problems in other packages, such as the one in Automake where zsh
1724 is not handled robustly:
1725 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
1726 Although it is not Autoconf's responsibility to work around
1727 problems in Automake, it nevertheless makes sense to avoid
1728 introducing unnecessary incompatibilites.
1730 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
1731 Gary V. Vaughan <gary@gnu.org>
1733 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
1734 how deeply nested we are when a suitable tool is found, set the
1735 ac_path_TOOL_found flag.
1736 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
1737 nested we are in this macro. Break out of all 3 nested loops if
1738 ac_path_TOOL_found is set.
1740 2004-04-21 Gary V. Vaughan <gary@gnu.org>
1742 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
1743 of the _AS_PATH_WALK loop too if GNU flavor is found.
1745 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
1747 * doc/autoconf.texi (Limitations of Make): Update documentation
1748 for `$<'. New entry `Long lines', based on a report from Simon
1749 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
1750 paragraph about DJGPP, based on a mail from Richard Dawe.
1752 2004-04-20 Paul Eggert <eggert@twinsun.com>
1754 * tests/c.at (C keywords): Don't assume that GCC supports
1755 "restrict" and "inline", as sufficiently-old GCC versions do not
1756 (also, GCC configured to be in pedantic C89 mode does not).
1757 Problem reported by Sumit Pandya in:
1758 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
1760 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
1761 consider -g to work if it generates warnings when plain compiles
1762 don't. Problem reported by Braden McDaniel in:
1763 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
1765 * doc/autoconf.texi (Slashes): New section, to document a problem
1766 reported by Jim Meyering in:
1767 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
1769 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
1770 linker output files before linking, to work around IRIX 6 linker bug.
1771 Problem reported by Rainer Orth in:
1772 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
1774 2004-04-20 Gary V. Vaughan <gary@gnu.org>
1776 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
1777 best tool so far counter rely on the tool path variable name to
1778 avoid checks for one tool being affected by the results of running
1779 the length check on a previous tool.
1781 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
1782 match expression argument, as different greps have different
1783 regular expression flavours.
1784 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
1786 (AC_PROG_EGREP): Pass 'EGREP$'.
1787 (AC_PROG_GREP): Pass 'GREP$'.
1789 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
1791 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
1792 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
1794 2004-03-29 Paul Eggert <eggert@twinsun.com>
1796 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
1797 Types, Specific Compiler Characteristics, System Services,
1798 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
1799 etc. consistently instead of 'long', 'short', 'unsigned' etc.
1800 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
1801 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
1803 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
1804 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
1805 AC_TYPE_OFF_T): Likewise.
1806 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
1809 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1810 pacify libtool 1.5.2. Fix quoting problems in sed command.
1812 2004-03-28 Paul Eggert <eggert@twinsun.com>
1814 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1815 now defines HAVE_DECL_TZNAME if it is declared, when
1816 HAVE_STRUCT_TM_TM_ZONE is not defined.
1817 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1818 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1821 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1823 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1824 superfluous backslashing of quotes (") in sed expressions;
1825 thanks to Paul Eggert.
1827 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1829 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1830 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1831 H. F. Beebe for the bug report.
1833 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1835 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1836 quoted -cmdline argument in Portland Group compiler (bug
1837 reported by Jeffrey J. Barteet).
1839 2004-03-25 Kevin Ryde <user42@zip.com.au>
1841 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1842 (Run Time): ... here, where it's now mentioned.
1844 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1846 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1847 inherits from language Autoconf-without-aclocal-m4.
1848 (Customizing autom4te): Adjust example; the cache must now be
1849 disabled for language Autoconf-without-aclocal-m4.
1851 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1852 Nathanael Nerode <neroden@twcny.rr.com>
1854 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1855 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1857 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1858 AC_CHECK_TARGET_TOOLS): New macros.
1859 * doc/autoconf.texi (Generic Programs): Document
1860 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1861 AC_CHECK_TARGET_TOOLS, and warn for future changes
1862 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1864 (Specifying Names): Document the reason for these future
1866 * tests/mktests.sh: Do not generate tests for the
1868 * NEWS: Document these changes.
1870 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1871 they make TeX hang up.
1873 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1875 * NEWS: New macro AC_CHECK_ALIGNOF.
1876 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1877 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1878 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1880 (AC_CHECK_ALIGNOF): New macro.
1881 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1882 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1885 2004-03-03 Paul Eggert <eggert@twinsun.com>
1887 * bin/Makefile.am (edit): Don't use $< in a context where
1888 POSIX doesn't require support for it. Use $@.in instead.
1889 Problem reported by Anthony N. Frasso in
1890 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1891 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1893 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1895 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1896 from the next generation of Libtool.
1897 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1899 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1901 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1902 is not always thread-safe. Report from Nathanael Nerode.
1904 2004-02-18 Paul Eggert <eggert@twinsun.com>
1906 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1907 problem on QNX reported by Stephen Rasku in
1908 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1910 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1911 $(m4sh_m4f_dependencies); this removes a FIXME.
1912 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1913 (MAINTAINERCLEANFILES): Split into pieces,
1914 one per related section. Add $(srcdir)/wrapper.in.
1916 2004-02-09 Paul Eggert <eggert@twinsun.com>
1918 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1919 AC_SUBST provides no portable way to escape literal newlines.
1921 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1922 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1923 Darwin uses -lcrt2.o and there's little point to cataloging all
1924 the system variants. Partial fix reported by Andreas Waechter in:
1925 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1926 for bug reported by Nelson H. F. Beebe in:
1927 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1929 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1931 * doc/autoconf.texi (AU_DEFUN): Fix English,
1932 suggested by Paul Eggert.
1933 * lib/autoconf/autoupdate.m4: Correct reference to
1934 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1936 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1938 * bin/autoupdate.in: Define __file__ so that warnings
1939 refer to the correct file.
1940 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1941 the behavior of the third argument.
1942 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1943 correctly the behavior of the third argument. Document
1944 what the three macros that AU_DEFUN defines do. Fix
1945 warning message when the third argument includes $0
1946 (reported by Alexandre Duret-Lutz).
1948 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1949 Eric Sunshine <sunshine@sunshineco.com>
1950 Paul Eggert <eggert@twinsun.com>
1952 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1953 (AS_INIT): Output shell initialization there. Removed optional
1954 parameter. Expand _AS_SHELL_FN_SPY.
1955 (AS_INIT_WITH_SHELL_FN): Removed.
1956 (_AS_SHELL_FN_SPY): New macro.
1957 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1959 (AS_SHELL_SANITIZE): Remove loop to find better shell
1960 and documentation for the parameter.
1961 (_AS_DETECT_BETTER_SHELL): Move it here.
1962 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1963 (_AS_RUN): Move it here, support testing with eval.
1964 (AS_REQUIRE_SHELL_FN): Require shell functions when
1966 (_AS_LINENO_WORKS): Put around braces, we do not
1967 trigger the bash bug anymore.
1968 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1969 use AS_INIT_WITH_SHELL_FN.
1970 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1972 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1974 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1975 * doc/autoconf.texi: Don't say that the third parameter
1977 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1978 (AU_DEFUN): Honor the third parameter, create autoupdate
1979 macros with AU_DEFINE.
1980 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1981 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1982 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1983 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1984 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1985 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1986 AC_XENIX_DIR): Likewise.
1987 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1988 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1989 * lib/autoconf/status.m4: Remove FIXME.
1990 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1991 that the macro is not present anymore in the updated
1993 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1996 2004-01-28 Paul Eggert <eggert@twinsun.com>
1998 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
2000 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2001 2003 (except 1997) to the list of copyright years. This undoes
2002 the 2003-05-22 change, which removed the older years from the list.
2003 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2005 2004-01-27 Gary V. Vaugan <gary@gnu.org>
2006 Albert Chin-A-Young <china@thewrittenword.com>
2008 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
2009 grep or ggrep program in PATH that accepts as long lines as
2011 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
2013 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
2014 egrep and fgrep respectively if $GREP -E/-F don't work.
2015 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
2016 _AC_PROG_GREP, and AC_PROG_SED.
2017 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
2018 longest input length accepted by a command.
2019 (AC_PROG_SED): Use it.
2020 * doc/autoconf.texi (Particular Programs): Document the changes.
2023 2004-01-27 Paul Eggert <eggert@twinsun.com>
2025 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
2026 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2027 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
2028 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2030 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
2031 bin/autoconf.in, config/Makefile.in, config/config.guess,
2032 config/config.sub, config/install-sh, config/mdate-sh,
2033 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
2034 lib/Makefile.in, lib/Autom4te/Makefile.in,
2035 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
2036 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
2037 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
2038 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
2039 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
2040 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
2041 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
2042 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
2043 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
2044 tests/actypes.at: Regenerate and/or sync with original
2047 2004-01-26 Paul Eggert <eggert@twinsun.com>
2049 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
2050 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
2051 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
2052 not <inttypes.h>. Problem reported by Tim Mooney in
2053 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
2054 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2057 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
2058 otherwise "make check" fails because it forbids cmp (I guess
2059 because cmp treats files as binary on DOS-like systems).
2061 * tests/mktests.sh: Update copyright date to 2004, since some tests
2062 have changed in 2004.
2064 2004-01-23 Gary V. Vaugan <gary@gnu.org>
2066 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
2067 non-truncating sed or gsed program in PATH.
2068 * tests/acprograms.at: Add it.
2069 * doc/autoconf.texi (Particular Programs): Document it.
2072 2004-01-15 Paul Eggert <eggert@twinsun.com>
2074 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
2075 -std1 disables some useful extensions on Tru64. Problem reported
2077 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2079 2004-01-14 Paul Eggert <eggert@twinsun.com>
2081 * doc/autoconf.texi (Programming in M4sh): Document that
2082 AS_MKDIR_P succeeds if the destination is a symbolic link
2083 to an existing directory.
2084 (Limitations of Usual Tools): Note that mkdir -p might not
2085 succeed on symlinks to directories.
2087 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
2089 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
2090 * bin/autoheader.in: Grammar fix in message.
2091 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
2092 Test for dir before calling mkdir -p. (trivial changes)
2094 2004-01-13 Eric Blake <ebb9@byu.net>
2096 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
2097 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2099 2004-01-10 Jim Meyering <jim@meyering.net>
2101 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2103 2004-01-09 Paul Eggert <eggert@twinsun.com>
2105 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
2106 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
2107 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
2108 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
2109 AC_COMPILE_IFELSE, since we now assume our caller invokes
2110 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
2111 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
2112 of AC_RUN_IFELSE; this avoids the warning mentioned above.
2113 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2115 2004-01-07 Paul Eggert <eggert@twinsun.com>
2117 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2118 `"'...'"`, as it's confusing (and I suspect it may not work on
2119 some platforms). The code was incorrect anyway, as it assumed
2120 that \$ evaluated to itself in that context. Reported by
2121 Alexandre Duret-Lutz.
2123 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2125 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2126 and _LT_AC_TAGCONFIG.
2128 2004-01-06 Paul Eggert <eggert@twinsun.com>
2130 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2131 example, and add more examples. Reported by Eric Sunshine.
2133 2004-01-05 Paul Eggert <eggert@twinsun.com>
2135 * doc/autoconf.texi (Limitations of Usual Tools):
2136 Remove warning against "rm -fr" introduced yesterday; it
2139 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2140 autoscan, autoupdate, ifnames): Don't use chmod -w.
2141 * lib/Makefile.am (autom4te.cfg): Likewise.
2142 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2145 2004-01-04 Paul Eggert <eggert@twinsun.com>
2146 Paolo Bonzini <bonzini@gnu.org>
2148 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2149 by doing lineno substitution only on lines containing "$LINENO".
2151 2004-01-04 Paul Eggert <eggert@twinsun.com>
2153 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2154 Use "rm -f" to remove conftest.sed, not plain "rm".
2155 Bug reported by David Relson in
2156 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2158 * Makefile.am (autom4te-update):
2159 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2160 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2161 * doc/autoconf.texi (Guidelines): Likewise.
2162 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2163 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2164 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2165 * lib/autotest/general.m4 (AT_INIT): Likewise.
2166 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2167 * tests/Makefile.am (clean-local): Likewise.
2168 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2170 * doc/autoconf.texi (Limitations of Usual Tools):
2171 Warn against "rm -fr".
2173 2004-01-03 Paul Eggert <eggert@twinsun.com>
2175 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2176 -c -o might not work. From a suggestion by Kevin Ryde.
2177 (C Compiler, Generating Sources, Limitations
2178 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2179 Don't put '-o' after non-options, as POSIX doesn't allow this.
2180 Mention that cc's name might be gcc or c89 or whatever.
2182 2004-01-04 Kevin Ryde <user42@zip.com.au>
2184 * doc/autoconf.texi: Add various further index entries.
2186 2003-12-29 Paul Eggert <eggert@twinsun.com>
2188 * bin/autoreconf.in (autoreconf_current_directory):
2189 Fix typo: mkdir without umask arg.
2191 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2193 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2194 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2195 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2196 explanation clearer.
2198 2003-12-24 Andreas Schwab <schwab@suse.de>
2200 * doc/autoconf.texi (Default Includes): Fix misspelling of
2201 AC_INCLUDES_DEFAULT.
2203 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2205 * configure.ac: Test if sh -n works.
2206 * configure: Regenerate.
2207 * tests/atlocal.in: Store the result here.
2208 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2209 tools.at, looking in atlocal's ac_cv_sh_n_works instead
2210 of explicitly testing.
2211 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
2212 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
2213 * tests/tools.at (Syntax of the shell scripts): Simplify
2214 using AT_CHECK_SHELL_SYNTAX.
2215 (Syntax of the Perl scripts): Remove definition of
2216 AT_CHECK_PERL_SYNTAX.
2218 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2220 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
2221 stderr to /dev/null.
2222 * bin/autoconf.in: Regenerate.
2223 * bin/wrapper.in: Regenerate.
2225 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
2227 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
2228 Extracted from AS_SHELL_SANITIZE.
2229 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
2231 (AS_SHELL_SANITIZE): Move reinvocation code from
2232 _AS_LINENO_WORKS, use it to find out if shell
2234 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
2236 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
2237 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
2239 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
2240 * bin/autoconf.in: Regenerate.
2241 * tests/wrapper.in: Regenerate.
2242 * tests/tools.at: Test the syntax of tests/autoconf
2243 and tests/testsuite.
2245 2003-11-24 Akim Demaille <akim@epita.fr>
2247 * config/announce-gen (&print_locations, &print_signatures)
2250 No longer rely on Gnus to inline the list of signatures: compute
2253 2003-11-24 Akim Demaille <akim@epita.fr>
2255 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
2256 override some files.
2257 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
2258 From Debian Autoconf 2.58.
2260 2003-11-24 Akim Demaille <akim@epita.fr>
2262 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
2264 From Debian Autoconf 2.58.
2266 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2268 * TODO: Remove already done things. Update the part about finding
2269 tools for the target.
2271 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2273 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
2274 Make wording more consistent.
2275 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2276 Explain the transition better.
2277 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
2278 the transition better.
2280 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
2282 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
2283 parameter of AU_DEFUN.
2284 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
2285 (AU_DEFUN): Remove the third parameter, it was not used.
2286 Use AC_DEFUN directly, not AU_DEFINE.
2287 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
2288 the expanded body, consistently with other macros such as AC_USG.
2290 2003-11-17 Paul Eggert <eggert@twinsun.com>
2292 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
2293 into the initial confdefs.h, to work around a bug in NextStep 3.3
2294 patch 3 reported by Eric Sunshine.
2296 2003-11-15 Kevin Ryde <user42@zip.com.au>
2298 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
2299 than $target since the latter is not usual, add guidelines on when to
2300 use or not use the system type.
2302 2003-11-12 Derek Price <derek@ximbiot.com>
2304 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
2305 typo misrepaired by an auto-spellcheck.
2307 2003-11-12 Akim Demaille <akim@epita.fr>
2309 * bin/autoreconf.in (&parse_args): Don't call automake with
2310 --force-missing unless it actually supports it.
2311 From Debian #219336.
2313 2003-11-12 Akim Demaille <akim@epita.fr>
2315 * configure.ac: Bump to 2.59a.
2318 2003-11-06 Akim Demaille <akim@epita.fr>
2322 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
2324 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
2325 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
2326 and ac_abs_top_srcdir are absolute paths.
2327 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
2329 2003-11-05 Akim Demaille <akim@epita.fr>
2331 * configure.ac: Bump to 2.58a.
2333 2003-11-05 Kevin Ryde <user42@zip.com.au>
2335 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
2336 it provokes a warning from makeinfo about looking like a cross
2337 reference in info output.
2339 * doc/autoconf.texi (Function Portability): Add notes on signal
2340 handler return type, as per AC_TYPE_SIGNAL.
2342 2003-11-04 Akim Demaille <akim@epita.fr>
2345 * doc/standards.texi: Update from master.
2347 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
2349 2003-11-04 Akim Demaille <akim@epita.fr>
2351 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
2352 computing the absolute path to d1 in the source hierarchy: it may
2353 not exist at all. So don't cd into it.
2354 From Alexandre Duret-Lutz.
2355 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
2357 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
2358 From Paul Eggert, but named after Perl's IO::Spec->catfile.
2359 * doc/autoconf.texi (Programming in M4sh): Document.
2360 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
2362 2003-11-03 Pavel Roskin <proski@gnu.org>
2364 * doc/autoconf.texi (Generic Structure Checks): Describe
2365 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
2367 2003-10-31 Akim Demaille <akim@epita.fr>
2369 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
2371 * doc/autoconf.texi (Language Choice): Document.
2372 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
2373 the current language is Fortran.
2375 2003-10-31 Akim Demaille <akim@epita.fr>
2377 * bin/autom4te.in (&freeze): Use a less likely warning separator
2378 than `\n\n', so that `\n\n\n' is valid in warnings.
2379 Reported by Steve Huston.
2381 2003-10-28 Akim Demaille <akim@epita.fr>
2383 * Makefile.cfg (local_updates, executable-update): Tweak to be
2384 robust to parallel makes.
2385 Suggested by Alexandre Duret-Lutz.
2387 2003-10-27 Akim Demaille <akim@epita.fr>
2389 * Makefile.cfg (executable-update): New.
2390 (local_updates): Call it.
2392 2003-10-27 Akim Demaille <akim@epita.fr>
2394 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
2395 Don't remove core.* as it may remove valid user files.
2396 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
2397 (AC_FUNC_UTIME_NULL): Likewise.
2399 2003-10-23 Akim Demaille <akim@epita.fr>
2402 * config/config.guess, config/config.sub: Upgrade from masters.
2404 2003-10-23 Akim Demaille <akim@epita.fr>
2406 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
2407 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
2410 2003-10-23 Akim Demaille <akim@epita.fr>
2412 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
2413 Don't forget to remove conftest.err.
2415 2003-10-23 Akim Demaille <akim@epita.fr>
2417 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
2418 same object file in $LIBOBJS.
2419 Reported by Alexandre Duret-Lutz & Derek Robert Price.
2420 * doc/autoconf.texi (Generic Functions): Adjust.
2422 2003-10-20 Paul Eggert <eggert@twinsun.com>
2424 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
2425 Use 'eval', so that the resulting configure scripts work even if
2426 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
2428 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2430 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
2431 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
2432 (_AC_LINK_IFELSE): Check the werror flag.
2433 * doc/autoconf.texi (Generic Compiler Characteristics): Document
2437 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
2439 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
2440 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
2441 override AC_LINK_IFELSE.
2443 2003-10-15 Paul Eggert <eggert@twinsun.com>
2445 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
2446 pdksh 5.2.14. Bug reported by Ralf Corsepius.
2447 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
2448 Mention /usr/dt/bin/dtksh on Solaris.
2449 (Shell Substitutions): Warn about $((...)).
2450 (Parentheses): New section.
2452 2003-10-15 Kevin Ryde <user42@zip.com.au>
2454 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
2455 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
2457 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
2459 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
2462 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
2464 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
2465 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
2467 2003-10-10 Andreas Schwab <schwab@suse.de>
2469 * bin/autoheader.in: Avoid empty first line in --version and
2471 * bin/ifnames.in: Likewise.
2473 2003-10-09 Paul Eggert <eggert@twinsun.com>
2475 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
2476 Issue a more-informative diagnostic.
2477 Problems reported by Eric Sunshine.
2479 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2481 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
2482 -mGLOB_options_string stuff for Intel ifc, which can cause
2483 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
2484 pattern-matching instead of grep.
2486 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
2488 * doc/autoconf.texi: Document new FC Fortran macros.
2490 2003-10-08 Gary V. Vaughan <gary@gnu.org>
2492 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
2493 that future autopoint/aclocal/automake/autoreconf will be able
2494 to trace to find where to install local m4 macros.
2495 * doc/autoconf.texi (Input): Document it.
2498 2003-10-06 Gary V. Vaughan <gary@gnu.org>
2500 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
2501 -lcrtbegin.o to list of ignored flags and fix underquoting of
2504 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
2506 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
2507 cache variable instead of $G77 to decide whether to include -O2,
2508 since $G77 is specific to Fortran 77.
2510 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2512 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
2513 free" flag. Re-order flags tested into rough order of popularity.
2515 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
2517 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
2518 arguments so that it can be used with syntax identical to
2519 AC_PROG_F77, and so that we can more easily decide to
2520 remove/deprecate the DIALECT optional argument in the future if it
2522 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
2523 non-freeform-supporting compilers. Document freeform flags.
2525 2003-10-03 Akim Demaille <akim@epita.fr>
2527 * configure.ac: Look for emacs, not macs.
2528 Reported by Eric Sunshine.
2530 2003-10-03 Akim Demaille <akim@epita.fr>
2532 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
2533 * bin/autoreconf.in (autoreconf_current_directory): Create the
2534 AUX_DIR if needed, for sake of automake --add-missing etc.
2535 Suggested by Alexandre Duret-Lutz.
2537 2003-10-03 Akim Demaille <akim@epita.fr>
2539 * configure.ac: Quotation and formatting changes.
2540 (EMACS): Don't set it if it is not recent enough to support
2544 2003-10-02 Akim Demaille <akim@epita.fr>
2546 * bin/ifnames.in (&scan_file): Skip C++ comments.
2549 2003-10-01 Pavel Roskin <proski@gnu.org>
2551 * doc/autoconf.texi (Particular Structure Checks):
2552 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
2554 2003-10-01 Akim Demaille <akim@epita.fr>
2558 2003-09-30 Paul Eggert <eggert@twinsun.com>
2560 * lib/Autom4te/XFile.pm: Use Errno.
2561 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
2562 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
2564 2003-09-30 Akim Demaille <akim@epita.fr>
2566 * config/announce-gen (&print_news_deltas): Extracted from...
2567 (&print_changelog_deltas): here.
2568 (&news_file): Rename as...
2571 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
2573 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
2574 have been created when invoking the compiler.
2575 * tests/fortran.at (GNU Fortran 77): Quote $G77.
2577 2003-09-29 Akim Demaille <akim@epita.fr>
2581 * config/mkinstalldirs: Upgrade.
2583 2003-09-28 Paul Eggert <eggert@twinsun.com>
2585 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
2586 Problem reported by Lars J. Aas in
2587 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
2588 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
2589 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
2590 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
2592 2003-09-26 Akim Demaille <akim@epita.fr>
2594 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
2595 directory for AC_CONFIG_COMMANDS' first argument exists.
2596 This makes valid the invocation of _AC_SRCPATH that follows.
2597 Reported by Eric Sunshine.
2598 * doc/autoconf.texi (Configuration Commands): Adjust.
2600 2003-09-26 Akim Demaille <akim@epita.fr>
2602 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
2603 Reported by Ralf Corsepius.
2605 2003-09-26 Akim Demaille <akim@epita.fr>
2607 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
2609 Actually, use AU_ALIAS.
2612 2003-09-26 Paul Eggert <eggert@twinsun.com>
2614 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
2615 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
2616 Problem reported by Eric Sunshine in:
2617 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
2619 2003-09-26 Akim Demaille <akim@epita.fr>
2621 The test suite are sometimes assigning timings incorrectly.
2622 Reported by Henk Krus.
2623 Diagnosed by Nicolas Joly.
2625 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
2627 Instead of making AT_help a sequence of assignments to grow
2628 $at_help_all, just make AT_help_all be the growing contents of
2629 $at_help_all, and make a single assignment in...
2631 (at_times_skip): Flip the meaning and rename as...
2633 (AT_INIT): When summarizing the test that ran, remove
2634 $at_times_file after use, and check it is present before trying to
2637 2003-09-25 Akim Demaille <akim@epita.fr>
2641 * bin/Makefile.am (edit): Handle '@configure_input@'.
2642 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
2643 (ifnames): chmod -w.
2644 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
2645 executables, not bin/ executables! Otherwise all the magic needed
2646 to find non installed files is turned off. This caused a failure
2647 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
2648 as found in its environment (sent by tests/autoreconf): pointing
2649 to bin/autom4te that could not find its files.
2650 * tests/mktests.sh: Force the replacement of generated files, for
2651 the sake of "mv" program that are interactive when overwriting a
2653 * config/install-sh: Upgrade from CVS Automake.
2655 2003-09-23 Paul Eggert <eggert@twinsun.com>
2657 * doc/autoconf.texi (Limitations of Builtins): Document test -h
2658 versus test -L issues.
2660 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
2661 Paul Eggert <eggert@twinsun.com>
2663 Trivial change to support GCC's configuration procedure.
2664 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
2665 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
2666 about inconsistency if the preprocessor is set to give errors for
2668 * doc/autoconf.texi (C Compiler Characteristics): Document this.
2670 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
2672 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
2673 and XFile.pm from Automake.
2674 * lib/Autom4te/XFile.pm: Update from Automake.
2676 2003-09-12 Akim Demaille <akim@epita.fr>
2680 2003-09-12 Akim Demaille <akim@epita.fr>
2682 * config/config.guess, config/config.sub, config/missing,
2683 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
2686 2003-09-12 Akim Demaille <akim@epita.fr>
2688 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
2691 2003-09-11 Akim Demaille <akim@epita.fr>
2693 * doc/autoconf.texi (Header Portability): linux/random.h.
2694 From Peter Hendrickson.
2696 2003-09-10 Akim Demaille <akim@epita.fr>
2698 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
2699 willing to edit the output files.
2701 2003-09-10 Akim Demaille <akim@epita.fr>
2703 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
2705 * tests/mktests.sh: Skip AC_FC_SRCEXT.
2706 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
2708 2003-09-09 Akim Demaille <akim@epita.fr>
2710 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
2711 Reported by Gary Vaughan.
2712 * bin/autom4te.in (handle_m4): Likewise.
2714 2003-09-09 Akim Demaille <akim@epita.fr>
2716 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
2719 2003-09-07 Paul Eggert <eggert@twinsun.com>
2721 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
2722 Improve the accuracy of the wording about obsolescence.
2723 From a suggestion by Ian Lance Taylor in
2724 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
2726 2003-09-05 Paul Eggert <eggert@twinsun.com>
2728 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
2729 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
2731 2003-09-04 Akim Demaille <akim@epita.fr>
2733 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
2736 2003-09-04 Akim Demaille <akim@epita.fr>
2738 * bin/autom4te.in: Use &fatal where more appropriate than &error.
2739 (freeze): When exiting, use $exit_code.
2740 * lib/autoconf/fortran.m4: Comment changes.
2742 2003-09-04 Akim Demaille <akim@epita.fr>
2744 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
2746 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
2748 Add support for newer Fortran dialects. The F77 interface is
2749 unchanged, and continues to support Fortran 77. New FC macros
2750 correspond to all the old F77 macros, with output variables FC,
2751 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
2752 available dialect, but older dialects can be specified. There are
2753 new macros AC_FC_SRCEXT to set the source extension, and
2754 AC_FC_FREEFORM to accept free-form source files.
2756 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
2758 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
2759 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
2760 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
2761 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
2762 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
2763 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
2764 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
2765 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
2766 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
2767 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
2768 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
2769 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
2770 AC_FC_SRCEXT, AC_FC_FREEFORM):
2772 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
2773 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
2774 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
2775 Rewrite in terms of the above.
2776 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
2777 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
2778 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
2779 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
2781 2003-09-02 Paul Eggert <eggert@twinsun.com>
2783 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
2784 Document problems with timestamp resolution that 'make', 'cp -p', and
2787 2003-08-27 Akim Demaille <akim@epita.fr>
2789 * tests/m4sugar.at (cross_warning): Make sure to enable the
2790 output, so that we can track spurious m4sugar output.
2791 * tests/local.at: Require 2.57.
2792 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
2793 are defaulted by AT_CHECK anyway.
2794 Use AT_CHECK_AUTOM4TE.
2795 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
2798 2003-08-27 Akim Demaille <akim@epita.fr>
2800 * bin/autoheader.in: Issue the "Using auxiliary..." message only
2801 when -Wobsolete is set.
2802 Set it on by default.
2803 Suggested by Klee Dienes.
2805 2003-08-27 Akim Demaille <akim@epita.fr>
2807 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2811 2003-08-26 Akim Demaille <akim@epita.fr>
2813 * doc/autoconf.texi (Output): Make clear that one can run code
2816 2003-08-25 Akim Demaille <akim@epita.fr>
2818 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2821 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2823 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2824 Automake versions prior to 1.8.
2826 2003-08-25 Akim Demaille <akim@epita.fr>
2828 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2831 2003-08-24 Akim Demaille <akim@epita.fr>
2833 * configure.ac: Bump to 2.57c.
2835 2003-08-22 Akim Demaille <akim@epita.fr>
2839 * Makefile.cfg (local-checks-to-skip): New.
2840 * Makefile.maint (local-check): Rename as...
2841 (local-checks-available): this.
2844 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2845 * configure.ac: Require Automake 1.7.6.
2847 2003-08-22 Akim Demaille <akim@epita.fr>
2849 Output stack traces in warnings.
2851 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2852 Replace the former...
2853 (m4_warn): Pass the call stack to _m4_warn.
2854 * bin/autom4te.in: Adjust to output the call stack.
2855 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2857 2003-08-22 Akim Demaille <akim@epita.fr>
2859 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2860 * bin/autom4te.in: Adjust.
2862 2003-08-21 Akim Demaille <akim@epita.fr>
2864 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2866 (&getopt): Adjust the note and verb channels, depending upon
2868 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2869 * bin/autoupdate.in: Adjust.
2870 Use &verb, not &verbose.
2872 2003-08-21 Akim Demaille <akim@epita.fr>
2874 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2876 ($help): Use Autom4te::ChannelDefs::usage.
2877 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2878 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2880 2003-08-21 Akim Demaille <akim@epita.fr>
2882 First stab at preserving warnings between calls to autom4te,
2883 including when the cache is used.
2885 There are still several issues: (i) there are too many runs of m4
2886 (one for include, one for warnings, and some more), (ii) warnings
2887 spreading on several lines are not handled gracefully, (iii) the
2888 code meant to have the call stack display for errors does not work
2889 (its handling should move from m4 to autom4te).
2891 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2893 (@preselect): Add m4_warn.
2894 ($exit_status): Remove, use $exit_code.
2895 ($help): Use Autom4te::ChannelDefs::usage.
2896 (&handle_m4): No longer define the m4_warnings.
2897 At each run, extract and report the warnings.
2898 Always cache the result, including if the exit status is on
2899 failure, since if nothing changes, we should result in the same
2900 failure, hence we can use the cache.
2901 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2902 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2904 (m4_warn): Redefine as a do-nothing: it is its invocation that
2905 matters, as warnings are now reported via traces.
2906 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2907 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2908 the latter reveals calls to the former.
2912 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2914 2003-08-21 Akim Demaille <akim@epita.fr>
2916 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2919 2003-08-21 Akim Demaille <akim@epita.fr>
2921 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2923 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2924 (&parse_warnings): Accept a list of warning requests.
2925 (&usage): Return a string, not a side effect.
2926 (cross): New warning category.
2928 2003-08-21 Akim Demaille <akim@epita.fr>
2930 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2931 (&require_configure_ac): Accept an optional directory argument.
2932 ($configure_ac): Remove.
2933 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2935 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2936 * bin/autoscan.in: Adjust.
2938 2003-08-20 Akim Demaille <akim@epita.fr>
2940 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2941 Reported by Alexandre Duret-Lutz.
2943 2003-08-20 Akim Demaille <akim@epita.fr>
2945 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2946 * bin/autom4te: Adjust.
2947 In particular, be Autoconf tools are really silent when properly
2948 working, bind the verbosity of the 'note' channel to $verbose.
2949 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2950 (&xsystem, &contents): Remove, since they are exported by...
2951 * lib/Autom4te/FileUtils.pm: this.
2953 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2954 * lib/Autom4te/FileUtils.pm: here.
2956 2003-08-20 Akim Demaille <akim@epita.fr>
2958 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2959 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2962 2003-08-20 Akim Demaille <akim@epita.fr>
2964 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2965 (autom4te-update): New.
2966 * Makefile.cfg (update): Bind autom4te-update.
2968 2003-08-19 Derek Price <derek@ximbiot.com>
2970 * lib/autotest/general.m4: Comment various HELP_* diversions.
2971 (PARSE_ARGS_BEGIN): New section for option parsing related
2973 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2974 package specific options and associated help.
2976 2003-08-19 Akim Demaille <akim@epita.fr>
2978 * config/announce-gen, Makefile.cfg: New.
2979 * Makefile.am: Adjust.
2980 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2982 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2984 * lib/autom4te.in (Automake-preselections): Preselect
2985 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2988 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2990 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2991 (Autoconf-without-aclocal-m4): ... this new language.
2992 * doc/autoconf.texi (autom4te Invocation): Mention
2993 Autoconf-without-aclocal-m4.
2995 2003-08-18 Derek Price <derek@ximbiot.com>
2997 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2998 RUN-IF-PASS optional arguments.
3000 2003-08-18 Derek Price <derek@ximbiot.com>
3002 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
3004 2003-08-16 Derek Price <derek@ximbiot.com>
3006 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
3007 STDOUT & STDERR arguments.
3009 2003-08-14 Derek Price <derek@ximbiot.com>
3011 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
3012 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
3013 shorter column three. Add DESCRIPTION to log file content.
3015 2003-08-13 Derek Price <derek@ximbiot.com>
3017 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
3020 2003-08-12 Derek Price <derek@ximbiot.com>
3022 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
3023 (AT_CHECK_NOESCAPE): Move core functionality to...
3024 (_AT_CHECK): ...this new macro.
3026 2003-08-07 Derek Price <derek@ximbiot.com>
3028 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
3029 (AT_CHECK_NOESCAPE): ...to this new macro.
3031 2003-07-31 Paul Eggert <eggert@twinsun.com>
3033 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
3034 in Bash 2.01. Problem reported by Brian Gough in
3035 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
3037 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
3039 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
3040 -lcrt1.o, for OS X. (trivial change)
3042 2003-07-07 Paul Eggert <eggert@twinsun.com>
3044 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
3045 inside '#ifndef __cplusplus'. Problem reported by
3048 2003-07-06 Bill Clarke <llib@computer.org>
3050 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
3051 'long', not 'int', for benefit of Sun's recent C++ compilers
3052 (trivial change). See:
3053 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
3054 (This really should be 'intptr_t', not 'long', but that would
3057 2003-06-25 Akim Demaille <akim@epita.fr>
3059 * lib/Makefile.am (autom4te.cfg): Make it read only.
3060 Depend on Makefile since it contains substitutions.
3062 * lib/autom4te.in (args): Add local.at? for Autotest args.
3063 This change was made on autom4te.cfg which is generated.
3064 Reported by Raja R. Harinath.
3066 2003-06-25 Akim Demaille <akim@epita.fr>
3068 * doc/autoconf.texi (Header Portability): sys/mount.h.
3069 From Gareth McCaughan.
3071 2003-06-23 Akim Demaille <akim@epita.fr>
3073 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
3074 not all of them. This fixes 1. the fact that when testing
3075 Autoconf there are many many config.log, 2. the incorrect use of
3076 top_srcdir to find config.log.
3077 Don't mix the detailed output of failed test with the summary of
3078 failures. Rather, append detailed log afterwards.
3080 2003-06-23 Akim Demaille <akim@epita.fr>
3082 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
3083 always run: output config.log on $at_group_log.
3085 2003-06-23 Akim Demaille <akim@epita.fr>
3087 * tests/torture.at (#define header templates): Don't use quotes in
3088 C++ comments as it puzzles Emacs' sh font-lock-mode.
3090 2003-06-23 Akim Demaille <akim@epita.fr>
3092 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
3093 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
3094 * tests/atspecific.m4: Rename as...
3095 * tests/local.at: This.
3096 * tests/suite.at: Move the globals into...
3097 * tests/local.at: here.
3098 * tests/Makefile.am: Adjust.
3099 * doc/autoconf.texi (testsuite Scripts): Adjust.
3101 2003-06-21 Kevin Ryde <user42@zip.com.au>
3103 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
3104 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
3105 ensuring we add -std1 for full-ANSI.
3107 * doc/autoconf.texi (hdrindex): New macro.
3108 Add index entries for portability of various standard header files.
3110 2003-06-20 Akim Demaille <akim@epita.fr>
3112 * configure.ac: Bump to 2.57b.
3114 2003-06-20 Akim Demaille <akim@epita.fr>
3118 2003-06-20 Akim Demaille <akim@epita.fr>
3120 * bin/autom4te.in: Don't rely on $HOME being defined.
3121 Reported by Marc Espie as PR/233.
3123 2003-06-20 Akim Demaille <akim@epita.fr>
3125 * lib/autotest/general.m4: Use at_times_file only if used.
3128 2003-06-20 Akim Demaille <akim@epita.fr>
3130 * config/config.guess, config/config.sub, config/elisp-comp,
3131 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3132 Update from masters.
3134 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3136 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3137 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3138 (TEST_SCRIPT): New diversion.
3139 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3140 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3141 (AT_INIT): Support for expected failures.
3143 2003-06-02 Akim Demaille <akim@epita.fr>
3145 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3147 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3148 Autoconf nor Automake.
3149 (&contents): New, from Automake.
3152 2003-05-28 Paul Eggert <eggert@twinsun.com>
3154 * NEWS, doc/autoconf.texi (Particular Functions),
3155 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3156 is the inverse of localtime.
3158 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3160 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3161 (handle_exec_errors): New function. Work around $! being
3162 altered by WEXITSTATUS.
3163 (xqx, xsystem): Use handle_exec_errors.
3165 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3167 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3168 Do not call `_exit()', simply modify `$?'.
3169 (xsystem): Reset $! before running system, and check it afterward.
3170 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3171 63 for version mismatches.
3173 2003-05-23 Akim Demaille <akim@epita.fr>
3175 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3176 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3177 the middle of a line).
3178 * lib/m4sugar/m4sugar.m4: Likewise.
3179 Remove useless spaces in comments.
3181 2003-05-23 Akim Demaille <akim@epita.fr>
3183 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3184 exit 63, so that we (or Automake's "missing") can tell the
3185 difference with a plain failure.
3186 * doc/autoconf.texi (Notices): Adjust.
3188 2003-05-23 Akim Demaille <akim@epita.fr>
3190 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3191 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3192 White spaces cleanup.
3194 2003-05-22 Jim Meyering <jim@meyering.net>
3195 Paul Eggert <eggert@twinsun.com>
3197 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3198 Remove `#include <stdlib.h>' from the list; we should never
3199 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3200 resulting namespace pollution would cause other tests to fail.
3201 Configure scripts run with some older versions of g++ and HP's
3202 aCC would fail due to such an #include. Problems reported by
3203 Matthew Mueller in <http://bugs.debian.org/120704> and by
3205 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3206 In the test, use the test declaration before including <stdlib.h>,
3207 as that's closer to how it'll be used.
3209 2003-05-23 Akim Demaille <akim@epita.fr>
3211 * doc/autoconf.texi (Header Portability): ucred.h.
3214 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3216 Overhaul Autotest's logging: generate separate log files
3217 in testsuite.dir/NNN/testsuite.log, and append them to
3218 testsuite.log instead of re-running the test verbosely.
3220 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
3221 file descriptor, write 0 to at_status_file instead of setting
3222 at_status=0, initialize some new variables (at_status_file,
3223 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
3224 to rerun the tests, instead append the at_group_log to the
3225 at_suite_log when a test fails.
3226 (AT_SETUP): pipe the test case's output into at_tee_pipe,
3227 with the AS_MESSAGE_LOG_FD redirected to stdout.
3228 (AT_CLEANUP): save the output status in $at_status_file
3229 and restore it, redirect the AS_MESSAGE_LOG_FD back to
3231 (AT_CHECK): since tests are run with a redirected stdout,
3232 and used to be re-run in verbose mode, turn some $at_verbose
3233 into echo, and don't redirect the output of testing stdout
3236 * lib/autotest/autoconf.texi (testsuite Scripts): Update
3237 the name of the debugging directory and information about
3240 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
3242 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
3245 2003-05-22 Akim Demaille <akim@epita.fr>
3247 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
3248 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
3249 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
3250 * lib/autoconf/status.m4: Fix and adjust copyright notices.
3252 2003-05-22 Akim Demaille <akim@epita.fr>
3254 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
3255 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
3256 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3257 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
3258 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
3259 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3260 * lib/autoconf/status.m4, lib/autoconf/types.m4,
3261 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
3262 * tests/atspecific.m4, tests/base.at, tests/compile.at,
3263 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
3264 * tests/tools.at, tests/torture.at:
3265 Whitespace clean up.
3266 Suggested by Jim Meyering.
3268 2003-05-22 Akim Demaille <akim@epita.fr>
3270 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
3271 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
3272 Reported by Jim Meyering.
3274 2003-05-22 Akim Demaille <akim@epita.fr>
3276 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
3277 Add AC_HELP_STRING to the obsolete macros section.
3279 Use '@.' for sentences that ended in a capital letter.
3282 2003-05-22 Akim Demaille <akim@epita.fr>
3284 * config/config.guess, config/config.sub, config/elisp-comp,
3285 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
3286 * config/texinfo.tex, doc/standards.texi: Update from masters.
3288 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
3290 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
3293 2003-05-21 Akim Demaille <akim@epita.fr>
3295 * bin/autoupdate.in ($m4): Fix quotation.
3296 Reported by Martin Mokrejs.
3298 2003-05-19 Paul Eggert <eggert@twinsun.com>
3300 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
3301 Remove non-ASCII characters.
3303 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
3305 * tests/semantics.at (AC_SEARCH_LIBS): New test.
3306 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
3307 AC_CHECK_HEADERS_NEW): New tests.
3309 2003-05-17 Akim Demaille <akim@epita.fr>
3311 * lib/autoconf/functions.m4: Use the default includes so that
3312 memcmp be declared before being tested.
3313 Reported by Sander Niemeijer.
3314 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
3315 * doc/autoconf.texi (Default Includes): Document
3316 AC_INCLUDES_DEFAULT.
3318 2003-05-17 Akim Demaille <akim@epita.fr>
3320 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
3321 * doc/autoconf.texi (Obsolete Macros): Adjust.
3322 Reported by Werner LEMBERG and Debian Bug 190886.
3324 2003-05-16 Akim Demaille <akim@epita.fr>
3326 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
3327 user name space clashes.
3328 Reported by Bruno Haible.
3330 2003-05-16 Akim Demaille <akim@epita.fr>
3332 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3333 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
3334 them uniform, and more robust to Perl special characters.
3335 Reported by Martin Mokrejs.
3337 2003-05-14 Akim Demaille <akim@epita.fr>
3339 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
3341 2003-05-14 Akim Demaille <akim@epita.fr>
3343 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
3346 2003-05-12 Akim Demaille <akim@epita.fr>
3348 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
3350 From Matthias Andree.
3352 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
3354 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
3357 2003-05-06 Akim Demaille <akim@epita.fr>
3359 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
3360 longer updates aclocal.m4 if useless, (ii) if a file m4_included
3361 by aclocal.m4 is changed it might require the importing of another
3362 m4 extension file, i.e., aclocal must be run.
3364 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
3365 (&parse_args): Use --force with aclocal if required and supported.
3366 (&autoreconf_current_directory): Use &run_aclocal.
3368 2003-05-06 Akim Demaille <akim@epita.fr>
3370 Lock autom4te's cache.
3372 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
3373 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
3374 argument instead of a file name, so that the request file remains
3375 open during the whole autom4te run.
3376 ($icache_file): New.
3377 (&freeze): Lock the $icache_file.
3379 2003-04-29 Derek Price <derek@ximbiot.com>
3381 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
3382 seperator with m4_append_uniq(). It doesn't work.
3383 (AT_CLEANUP): Add `;' to end of at_help_all.
3384 (AT_INIT): Allow --keywords to be specified more than once. When
3385 grepping $at_help_all for keywords, use the field and keyword
3386 seperators to ensure a complete keyword match. Alter at_prev handling
3387 to support the new --keywords behavior.
3389 2003-04-27 Karl Berry <karl@freefriends.org>
3391 * doc/autoconf.texi: Make the dir entries in the autoconf manual
3392 align better with others. I also made some of the individual
3393 entries on one line, for brevity and to make it easier for me to
3394 sort my dir-example file in the Texinfo distribution :).
3396 2003-04-12 Jim Meyering <jim@meyering.net>
3398 * NEWS: Mention the new macro.
3399 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
3400 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
3401 * tests/c.at: Test AC_C_RESTRICT.
3402 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
3404 2003-04-08 Akim Demaille <akim@epita.fr>
3406 * bin/ifnames.in: Skip C++ comments.
3409 2003-04-08 Akim Demaille <akim@epita.fr>
3411 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
3412 From Ilya Zakharevich.
3414 2003-04-08 Akim Demaille <akim@epita.fr>
3416 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
3419 2003-04-01 Derek Price <derek@ximbiot.com>
3421 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
3422 from Akim's checkin of 2003-03-29.
3424 2003-04-01 Derek Price <derek@ximbiot.com>
3426 * tests/torture.at (Configuring subdirectories): Add missing
3427 close-quote for Akim's change from 2003-03-28.
3429 2003-04-01 Akim Demaille <akim@epita.fr>
3431 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
3432 (AC, AT, MS): these.
3433 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
3436 * doc/Makefile.am (CLEANFILES): Adjust.
3437 (TEXI2DVI): Make it --batch.
3439 2003-03-31 Derek Price <derek@ximbiot.com>
3441 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
3442 which removed the main loop.
3443 Thanks to Akim Demaille.
3445 2003-03-29 Akim Demaille <akim@epita.fr>
3447 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
3449 From Ilya Zakharevich.
3451 2003-03-29 Akim Demaille <akim@epita.fr>
3453 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
3454 documentation to read is Autoconf's.
3455 Suggested by Paul Eggert.
3457 2003-03-28 Akim Demaille <akim@epita.fr>
3459 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
3460 reading the section "Present But Cannot Be Compiled" when the
3461 header causes problems.
3463 2003-03-28 Akim Demaille <akim@epita.fr>
3465 * tests/torture.at (Configuring subdirectories): Require aclocal
3466 1.4, otherwise the test fails, as it does support configure.ac.
3467 This fixes the "test 40 failed" bug reports.
3469 2003-03-28 Akim Demaille <akim@epita.fr>
3471 * doc/autoconf.texi (C Compiler): `#line' portability.
3472 From Paul Eggert and Nelson H. F. Beebe.
3474 2003-03-27 Derek Price <derek@ximbiot.com>
3476 * lib/autotest/general.m4: Eliminate main loop and reorganize test
3477 layout in order to allow scripting around test groups.
3479 2003-03-27 Derek Price <derek@ximbiot.com>
3481 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
3482 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
3483 use new diversions in preparation for accepting new arguments and
3484 allowing scripting around tests.
3485 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
3487 2003-03-26 Derek Price <derek@ximbiot.com>
3489 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
3490 obsolete AC_HELP_STRING.
3491 (AC_HELP_STRING): AU_DEFUN to...
3492 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
3493 * tests/m4sh.at (AS_HELP_STRING): New test.
3495 * tests/acgeneral.at: Regenerated.
3497 2003-03-26 Derek Price <derek@ximbiot.com>
3499 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
3500 sense. Verbosify the diversion definitions comment.
3502 2003-03-26 Derek Price <derek@ximbiot.com>
3504 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
3507 2003-03-21 Eric Siegerman <eric_97@pobox.com>
3509 * doc/autoconf.texi (Present But Cannot Be Compiled):
3510 Grammar fixes and minor rewording. (trivial change)
3512 2003-03-06 Paul Eggert <eggert@twinsun.com>
3514 Work around a problem noted by Nelson H. F. Beebe with coreutils
3515 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
3516 2002/05/09) rejects '#line 32768 "configure"' because the line
3518 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
3520 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
3521 * doc/autoconf.texi (Generating Sources): Document this.
3523 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
3525 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
3526 file name for the m4 program, when it has an "exe" file extension.
3527 DJGPP's error messages include the error code in brackets -
3528 remove the error code during normalization.
3530 2003-02-28 Akim Demaille <akim@epita.fr>
3532 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
3534 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
3536 * doc/autoconf.texi (Limitations of Make): Remove the section
3537 about `$<' in inference rules, it was a bogus interpretation of
3538 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
3539 Tru64 make in the "target lookup" section.
3540 (Automake): Automake 1.5+ no longer requires special tools to be
3541 present on the developer's host.
3543 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
3545 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
3546 to a shell that can handle redirection or quoting correctly.
3547 Override SHELL with the shell detected by configure.
3548 Use of $^O suggested by Tim van Holder.
3549 * bin/autom4te.in (BEGIN): Likewise.
3550 * bin/autoreconf.in (BEGIN): Likewise.
3551 * bin/autoscan.in (BEGIN): Likewise.
3552 * bin/autoupdate.in (BEGIN): Likewise.
3553 * bin/ifnames.in (BEGIN): Likewise.
3555 * bin/ifnames.in: Add final newline to help and version messages.
3557 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
3558 to cope with DOS-style absolute paths, when constructing
3561 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
3562 When constructing paths with IFS=:, quote the path. If we're
3563 constructing a DOS-style absolute path, we don't want to split it
3566 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
3569 2003-02-25 Pavel Roskin <proski@gnu.org>
3571 * bin/autoheader.in: Add missing newline when printing
3572 suggestion how change AC_DEFINE call.
3574 2003-02-24 Paul Eggert <eggert@twinsun.com>
3576 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
3577 2002-09-01 patch by replacing "test -n" with "test -z".
3578 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
3579 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
3581 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
3582 to fix a mismatch between example and discussion.
3584 2003-02-24 Kevin Ryde <user42@zip.com.au>
3586 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
3587 format starting with "-".
3589 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
3591 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
3592 is not portable inside Makefile.
3594 2003-02-20 Akim Demaille <akim@epita.fr>
3596 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
3597 compiler says yeah, but preproc says nope, compiler is right.
3598 Conversely, prompt the reader to send a bug report to the
3599 maintainers of the package, not of Autoconf.
3601 2003-02-20 Klee Dienes <kdienes@apple.com>
3603 * bin/autoreconf.in (autoreconf_current_directory): Properly
3604 handle an empty aclocal.m4.
3606 2003-02-20 Akim Demaille <akim@epita.fr>
3608 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
3612 2002-12-23 Paul Eggert <eggert@twinsun.com>
3614 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
3615 innocuous variant befor including <limits.h> or <assert.h>. This
3616 works around a bug reported by Albert Chin: HP-UX 11i
3617 (and earlier versions) have a <limits.h> that declares
3618 gettimeofday and many other functions.
3620 2002-12-03 Paul Eggert <eggert@twinsun.com>
3624 * NEWS, configure.ac: Update version.
3626 * doc/fdl.texi: Upgrade to FDL version 1.2.
3628 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
3629 nontrivially in main's body, so that f's external declaration is
3630 not optimized away in AIX. This should fix the bug reported by
3632 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
3634 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
3635 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
3636 defined, to support freestanding compilers. This should fix the
3637 bug reported by Momchil Velkov in
3638 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
3640 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
3641 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
3642 obsolete AC_CHECK_TYPE. The missing empty arg was reported
3643 by Simon Josefsson in
3644 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
3646 * Makefile.maint (www-gnu): New macro.
3647 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
3648 the location has moved.
3650 2002-12-02 Martin Frydl <martin@systinet.com>
3652 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
3653 \(.*\) match is too long and there is something more to be checked.
3654 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
3656 2002-11-15 Akim Demaille <akim@epita.fr>
3660 * config/install-sh: chmod +x.
3662 * config/move-if-change: Indenting changes.
3663 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
3664 * configure.ac (AM_INIT_AUTOMAKE): here.
3667 2002-11-14 Akim Demaille <akim@epita.fr>
3671 * config/config.guess, config/config.sub, config/install-sh:
3672 Update from masters.
3674 2002-11-14 Akim Demaille <akim@epita.fr>
3676 * Makefile.maint: Sync with Bison, i.e.:
3677 (po-check): Scan .l and .y files instead of the
3678 .c and the .h files that they generate. This fixes the bug
3679 reported by Tim Van Holder in:
3680 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
3681 Look for N_ as well as for _. Try to avoid matching #define for
3685 2002-11-14 Akim Demaille <akim@epita.fr>
3687 * doc/autoconf.texi (C Compiler): Compiling several files at once.
3688 From Paul Eggert and Albert Chin-A-Young.
3690 2002-11-14 Akim Demaille <akim@epita.fr>
3692 * doc/autoconf.texi (C Compiler): Solitary backslashes.
3693 From Paul Eggert and Albert Chin-A-Young.
3695 2002-11-14 Kevin Ryde <user42@zip.com.au>
3697 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
3698 than assigning in main, to avoid HP cc +O3 optimizing it away.
3700 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
3702 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
3703 option. Process --recheck after parsing all options. Pass -q
3704 option to configure on --recheck.
3705 (AC_OUTPUT): Pass -q from configure to config.status.
3706 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
3707 arguments to record.
3708 * doc/autoconf.texi (config.status Invocation): Document
3709 config.status -q option.
3711 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
3713 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
3714 Makefile.in if Makefile.am exists.
3715 (output): Strip `.am' from Makefiles. Don't
3716 output AC_CONFIG_FILES if no Makefiles were found.
3718 2002-11-07 Akim Demaille <akim@epita.fr>
3720 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
3721 (local_updates): New.
3722 * Makefile.maint: Update, from CVS Bison.
3723 (local_updates): New.
3725 2002-11-06 Akim Demaille <akim@epita.fr>
3727 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
3728 declaration in extern "C" too.
3729 Reported by Roberto Bagnara.
3731 2002-11-06 Akim Demaille <akim@epita.fr>
3733 * tests/torture.at (Configuring subdirectories): Don't use grep
3735 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
3736 Reported by Ezra Peisach.
3738 2002-11-05 Akim Demaille <akim@epita.fr>
3740 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
3742 We _have_ to stop using the old compatibility scheme that tried to
3743 avoid useless backslashes because Libtool 1.4.3 contains a
3744 AC_DEFINE([error_t], [int],
3745 [Define to a type to use for \`error_t' if it is not
3746 otherwise available.])
3747 We _have_ to quote the single quote and backslashes with \. The
3748 old compatibility scheme saw that ` was backslashed, and therefore
3749 did not quote the single quote. Hence before this patch, Autoconf
3750 was not compatible with Libtool.
3752 2002-11-04 Paul Eggert <eggert@twinsun.com>
3754 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
3755 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
3756 LC_NAME, LC_PAPER, LC_TELEPHONE.
3757 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
3759 2002-11-04 Akim Demaille <akim@epita.fr>
3763 * Makefile.maint (update, cvs-update, po-update, do-po-update):
3765 * config/texinfo.tex: Update.
3767 2002-11-03 Akim Demaille <akim@epita.fr>
3769 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
3771 (&autoreconf): here.
3772 ($help, $make, &parse_args, &autoreconf_current_directory):
3774 * doc/autoconf.texi (autoreconf Invocation): Adjust.
3776 2002-10-31 Bruno Haible <bruno@clisp.org>
3778 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
3779 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
3780 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
3781 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
3782 to ac_cv_func_realloc_0_nonnull.
3783 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
3785 2002-10-31 Akim Demaille <akim@epita.fr>
3787 The test suite was no longer checking for trailing envvars and files.
3789 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
3790 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
3792 2002-10-31 Akim Demaille <akim@epita.fr>
3794 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
3795 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
3796 Make variable, not a shell variable.
3797 Suggested by Bruno Haible.
3799 2002-10-31 Akim Demaille <akim@epita.fr>
3801 * bin/autom4te.in (load_configuration): Reject #args out of any
3804 2002-10-31 Akim Demaille <akim@epita.fr>
3806 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
3807 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3808 (_AC_RUN_IFELSE): Use it.
3809 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3810 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3811 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3814 2002-10-30 Akim Demaille <akim@epita.fr>
3816 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3817 * doc/autoconf.texi (autom4te Invocation): Adjust.
3818 Suggested by Tim van Holder.
3820 2002-10-29 Paul Eggert <eggert@twinsun.com>
3822 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3823 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3824 Problem reported by Bruno Haible.
3826 2002-10-29 Akim Demaille <akim@epita.fr>
3828 * doc/autoconf.texi (Header Templates): Put also in words what the
3829 pictures says to assist free style readers.
3830 (Customizing autom4te): s/--cache=/--cache /.
3832 2002-10-29 Akim Demaille <akim@epita.fr>
3834 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3836 sparc_address_test returns void.
3837 Use it with an argument, as prototyped.
3840 2002-10-29 Akim Demaille <akim@epita.fr>
3842 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3843 configure.in, not configure.ac.
3844 Reported by Bruno Haible.
3846 2002-10-29 Akim Demaille <akim@epita.fr>
3848 * tests/torture.at (Deep Package): New test.
3849 (Configuring subdirectories): Don't use a testSubDir as Autotest
3852 2002-10-29 Akim Demaille <akim@epita.fr>
3854 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3855 * doc/autoconf.texi (Invoking autom4te): Rename as...
3856 (autom4te Invocation): this, for consistency with the other nodes.
3858 2002-10-29 Akim Demaille <akim@epita.fr>
3860 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3861 Reported by Ralf Corsepius.
3863 2002-10-29 Akim Demaille <akim@epita.fr>
3865 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3866 characters is a back as an `obsolete' warning now.
3867 Reported by Ralf Corsepius.
3869 2002-10-28 Akim Demaille <akim@epita.fr>
3871 * configure.ac: Bump to 2.54c.
3873 2002-10-28 Akim Demaille <akim@epita.fr>
3877 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3879 2002-10-28 Akim Demaille <akim@epita.fr>
3881 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3882 m4 executable names, and different GNU M4 version.
3883 Reported by Ezra Peisach and Paul Jarc.
3885 2002-10-27 Akim Demaille <akim@epita.fr>
3887 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3890 2002-10-27 Akim Demaille <akim@epita.fr>
3892 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3893 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3894 Die when a simple Fortran program cannot be compiled.
3895 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3896 Issue a warning if no function is given.
3898 2002-10-27 Akim Demaille <akim@epita.fr>
3900 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3901 Move the documentation of AC_TRY_RUN to...
3902 (Obsolete Macros): here.
3903 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3904 (autoconf Invocation): Remove the duplicates with `invoking
3906 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3907 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3909 2002-10-27 Akim Demaille <akim@epita.fr>
3911 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3912 and AC_LANG_FUNC_LINK_TRY.
3913 (Examining Libraries): Rename as...
3914 (Running the Linker): this.
3915 Document AC_LINK_IFELSE.
3916 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3917 (Obsolete Macros): here.
3918 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3919 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3920 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3921 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3923 2002-10-27 Akim Demaille <akim@epita.fr>
3925 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3927 More `check config.log' messages.
3929 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3930 * doc/autoconf.texi (Printing Messages): Document it.
3931 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3933 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3934 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3935 (_AC_COMPILER_OBJEXT): Likewise.
3936 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3937 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3939 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3942 Deprecate macros with unusual interfaces.
3944 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3945 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3947 Document the new ones, and proper style.
3949 * doc/autoconf.texi (Generating Sources): New.
3950 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3951 (Examining Declarations): Rename as...
3952 (Running the Preprocessor): this.
3953 Document AC_PREPROC_IFELSE.
3954 (Examining Syntax): Rename as...
3955 (Running the Compiler): this.
3956 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3957 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3958 AC_TRY_COMPILE here.
3960 2002-10-27 Akim Demaille <akim@epita.fr>
3962 Move sections around.
3964 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3966 Reported by Burno Haible.
3967 (Language Choice): Now the first section of...
3968 (Writing Tests): this section.
3969 Make the introduction less C-centric.
3970 (Guidelines, Test Functions): Move to...
3971 (Writing Test Programs): this new section.
3972 (Test Programs): Merge into...
3975 2002-10-27 Akim Demaille <akim@epita.fr>
3977 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3978 autom4te.in that resulted in the need for two `make' runs.
3980 2002-10-27 Akim Demaille <akim@epita.fr>
3982 * configure.ac: Bump to 2.54b.
3984 2002-10-25 Akim Demaille <akim@epita.fr>
3988 * Makefile.maint: Update from the Coreutils.
3989 (AMTAR): Remove, obsolete.
3990 (automake_repo): Update to redhat.com.
3992 Adjust to the fact that ansi2knr is now hosted by Automake.
3993 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3994 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3995 Update from masters.
3996 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3997 autoscan.pre is not to be installed, and autoscan.list is not to
3999 (CLEANFILES): Add autoscan.list.
4000 (autoscan.list): Disable the cache.
4001 * bin/Makefile.am: Include freeze.mk.
4003 2002-10-25 Akim Demaille <akim@epita.fr>
4005 * bin/autom4te.in (&load_configuration): Take the file as
4007 (&parse_args): Handle -C, --cache.
4009 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
4010 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
4011 * doc/autoconf.texi (Invoking autom4te): Document --cache.
4012 Now a subsection of...
4013 (Using autom4te): This new section.
4014 (Customizing autom4te): New.
4015 (autom4te.cache): Adjust.
4017 2002-10-25 Akim Demaille <akim@epita.fr>
4019 * doc/autoconf.texi (Generic Headers): More information on how to
4020 use AC_CHECK_HEADERS.
4022 2002-10-25 Akim Demaille <akim@epita.fr>
4024 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
4027 2002-10-25 Akim Demaille <akim@epita.fr>
4029 * bin/autoscan.in (output): Output AC_PREREQ.
4030 (%needed_macros): Add AC_PREREQ so that configure.ac without one
4033 2002-10-23 Akim Demaille <akim@epita.fr>
4035 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
4038 2002-10-23 Akim Demaille <akim@epita.fr>
4040 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
4041 Reported by Peter Eisentraut.
4043 2002-10-23 Akim Demaille <akim@epita.fr>
4045 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
4048 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
4049 Eggert's recommandations.
4051 2002-10-22 Akim Demaille <akim@epita.fr>
4053 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
4054 Bison, by Paul Eggert.
4055 * doc/autoconf.texi (Particular Headers): Document it.
4057 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
4059 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
4060 `$ac_configure_args'.
4062 2002-10-22 Akim Demaille <akim@epita.fr>
4064 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
4065 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
4068 2002-10-22 Akim Demaille <akim@epita.fr>
4070 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
4072 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4073 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
4074 (_AC_CHECK_HEADER_NEW): Rename as...
4075 (AC_CHECK_HEADER): this.
4077 2002-10-22 Akim Demaille <akim@epita.fr>
4079 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
4080 words about HP-UX cmp: it was actually a user-written cmp.
4082 2002-10-22 Akim Demaille <akim@epita.fr>
4084 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
4086 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4087 Quote for Perl '' strings, not "".
4088 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
4091 2002-10-22 Akim Demaille <akim@epita.fr>
4093 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4094 characters is a syntax warning now.
4095 (_AS_QUOTE): Accept $2 as list of characters to quote.
4096 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4097 Quote for Perl, not sh.
4098 * bin/autoheader.in: When $debug, report the file which is
4100 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
4101 `@', to tickle Perl's lists.
4102 Reported by Carlos Velasco.
4104 2002-10-18 Akim Demaille <akim@epita.fr>
4106 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
4107 missing included files _are_ errors.
4108 Thanks to Alexandre Duret-Lutz.
4109 * tests/tools.at (autom4te cache): Adjust.
4110 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
4111 (AT_CHECK_M4SUGAR): Use it.
4112 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4114 * tests/tools.at (autom4te): Now it does exit 1.
4116 2002-10-17 Akim Demaille <akim@epita.fr>
4118 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4119 Fixes the `AC_ARG_VAR' test failures.
4120 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4121 * lib/freeze.mk (check-forbidden-patterns): New.
4122 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4123 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4124 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4126 Reported months ago by H. Merijn Brand.
4128 2002-10-17 Akim Demaille <akim@epita.fr>
4130 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4132 2002-10-16 Paul Eggert <eggert@twinsun.com>
4134 * Makefile.maint (wget_files): Remove ansi2knr.c.
4135 (ansi2knr.c-url_prefix): Remove.
4137 2002-10-16 Akim Demaille <akim@epita.fr>
4139 Because of caching, some files that no longer exist and are no
4140 longer required can still cause errors.
4141 Reported by Alexandre Duret-Lutz.
4143 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4144 to frozen files in @ARGV, as @ARGV must remain being a list of
4145 files. Rather, at M4 call sites, use this...
4146 (&files_to_options): New function.
4147 (&freeze): Use &error.
4148 (&up_to_date): If a file that was included according to the cache
4149 is no longer there, then the output is out dated.
4150 (&main): Don't even check whether a file is up to date is anyway
4152 * tests/tools.at (autom4te cache): New.
4154 2002-10-16 Akim Demaille <akim@epita.fr>
4156 * bin/autoconf.as: Kill dead options.
4157 * bin/autoupdate.in (&parse_args): Kill old options.
4158 * bin/autoreconf.in (&parse_args): Remove dead options.
4160 (&autoreconf): Report the directories we enter *and leave*, so
4161 that error messages can be easily located, and use GNU Make
4162 format, so that Emacs' compile mode understands us.
4163 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4164 if some file was changed instead of `print'.
4165 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4166 (&parse_args): Remove the dead options.
4167 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4168 autoheader's quiet mode.
4169 (AT_CHECK_AUTOUPDATE): Likewise.
4170 * tests/tools.at (autoupdate): Adjust.
4171 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4173 2002-10-11 Akim Demaille <akim@epita.fr>
4175 No longer use CPP to check for the existing of headers: use CC to
4176 check for compilability.
4178 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4179 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4180 (_AC_CHECK_HEADER_NEW): Rename as...
4181 (AC_CHECK_HEADER): this.
4183 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4184 numbers in the Subject suggestion.
4186 2002-10-11 Akim Demaille <akim@epita.fr>
4188 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4189 Suggest using AC_CHECK_DECLS instead.
4191 2002-10-11 Akim Demaille <akim@epita.fr>
4193 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4196 2002-10-11 Akim Demaille <akim@epita.fr>
4198 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4199 file name to enable parallel executions.
4200 From Sam Varshavchik.
4202 2002-10-08 Akim Demaille <akim@epita.fr>
4204 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4205 aclocal invocation, as Gettext macros might not be visible to
4207 Instead of blindly running autopoint, scan configure.ac (not the
4208 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4209 Reported by Paul D. Smith.
4211 2002-10-08 Paul Eggert <eggert@twinsun.com>
4213 Work around problems found when POSIXLY_CORRECT=1 is set.
4214 None of this seems to have anything to do with POSIX, really,
4215 but it's how Perl getopt works.
4216 * bin/autom4te.in (parse_args): Configure GetOpt with
4218 * doc/autoconf.texi (Invoking autom4te):
4219 --warning -> --warnings.
4220 * lib/autom4te.in: --warning -> --warnings.
4222 2002-09-28 Akim Demaille <akim@epita.fr>
4224 * doc/autoconf.texi (autom4te.cache): New section.
4226 2002-09-28 Akim Demaille <akim@epita.fr>
4228 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
4229 (Automake-preselections): Update.
4230 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
4232 2002-09-28 Akim Demaille <akim@epita.fr>
4234 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
4235 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
4236 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
4237 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
4239 2002-09-28 Akim Demaille <akim@epita.fr>
4241 * tests/torture.at (Configuring subdirectories): Be robust to
4242 users who use config.site to require for a cache: in this case,
4243 the two last configure runs, using two different sets of
4244 arguments, trigger a legitimate error.
4246 2002-09-28 Akim Demaille <akim@epita.fr>
4248 * tests/m4sh.at (Functions Support, Functions and return Support):
4251 2002-09-28 Akim Demaille <akim@epita.fr>
4253 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
4254 autoheader are Perl programs.
4255 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
4256 (autom4te): Specify that the sources are in the $srcdir.
4257 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4259 2002-09-28 Akim Demaille <akim@epita.fr>
4261 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
4262 (tm_zone): Move their rules to...
4263 * lib/autoconf/types.m4: here, using AN_ macros.
4264 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
4265 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
4266 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
4267 * lib/autoconf/programs.m4: here.
4268 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
4269 (ETAGS_FOR_AUTOCONF): New.
4272 2002-09-28 Akim Demaille <akim@epita.fr>
4274 * lib/autoconf/autoscan.m4: New file.
4275 * lib/autoconf/autoconf.m4: Include it.
4276 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
4277 that were listed in the original autoscan.list.
4278 * lib/autoconf/headers.m4: Similarly with headers.
4279 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
4280 (.m4.m4f): Don't pass --prepend-include, since that's done by
4281 tests/autom4te itself.
4282 * lib/autoscan/Makefile.am: Include freeze.mk.
4283 (autoscan.list): New target --this file is no longer a source.
4284 (autoscan.pre): New file.
4286 2002-09-28 Akim Demaille <akim@epita.fr>
4288 * bin/autoscan.in (@kinds): Make them singular.
4290 (&init_tables): When --debug, report the list of rules to ease
4291 tracking changes in autoscan.list.
4292 * lib/autoscan/autoscan.list (function): Strip comments, sort.
4294 2002-09-28 Akim Demaille <akim@epita.fr>
4296 * lib/autoscan/functions, lib/autoscan/headers,
4297 * lib/autoscan/identifiers, lib/autoscan/makevars,
4298 * lib/autoscan/programs: Merge into...
4299 * lib/autoscan/autoscan.list: this.
4300 * bin/autoscan.in (&init_tables): Adjust.
4302 2002-09-28 Akim Demaille <akim@epita.fr>
4304 * lib/autoscan/functions, lib/autoscan/headers,
4305 * lib/autoscan/identifiers, lib/autoscan/makevars,
4306 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
4307 `functions' line is now prefixed with `function:'.
4308 * bin/autoscan.in (&init_tables): Adjust.
4310 2002-09-28 Akim Demaille <akim@epita.fr>
4312 From now on, autoscan files must always map a macro name to a
4313 word: there is no `default' macro for autoscan.
4315 * bin/autoscan.in (&init_tables): Reject entries with no macro at
4317 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
4320 2002-09-28 Akim Demaille <akim@epita.fr>
4322 * bin/autoscan.in (%c_keywords): Remove.
4323 (&used): Keep only track of the words we might be interested in.
4324 (&output_kind): It is no longer needed to look for non active
4327 2002-09-27 Akim Demaille <akim@epita.fr>
4329 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
4330 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
4331 * lib/autoscan/functions: Adjust.
4332 * doc/autoconf.texi (Particular Functions): Adjust.
4334 2002-09-27 Akim Demaille <akim@epita.fr>
4336 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
4338 Thanks to Bill Moseley and Paul Eggert.
4339 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
4340 the tmpdir must be created.
4341 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
4342 dir be in the build tree, instead of $TMPDIR.
4344 2002-09-27 Akim Demaille <akim@epita.fr>
4346 * bin/autoscan.in: Improve the comments.
4347 (&parse_args): Drop obsolete undocumented options.
4348 (&output_kind): Output warnings.
4349 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
4350 (getwd): Trigger a warning.
4352 2002-09-26 Akim Demaille <akim@epita.fr>
4354 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
4355 Reported by Ralf Corsepius.
4356 * doc/autoconf.texi (autoreconf Invocation): Likewise.
4358 2002-09-26 Akim Demaille <akim@epita.fr>
4360 Single suffix rules and seperated dependencies are not portable.
4362 * doc/autoconf.texi (Installation Directory Variables): Update.
4363 (Limitations of Make): Some about `Single Suffix Rules and
4364 Separated Dependencies'.
4365 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4366 (ifnames, autoscan, autom4te): Un-factor into several rules.
4368 2002-09-25 Paul Eggert <eggert@twinsun.com>
4370 * BUGS (Interoperability bugs): New section. Mention libtool
4371 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
4373 2002-09-24 Paul Eggert <eggert@twinsun.com>
4375 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
4376 make handles suffix-rules differently from GNU make.
4378 * bin/Makefile.am (SUFFIXES, .in): Remove.
4379 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
4380 Move the body of the old .in rule here.
4382 2002-09-16 Akim Demaille <akim@epita.fr>
4384 i960 compilers create `b.out' files by default.
4385 Reported by Ralf Corsepius.
4387 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
4388 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
4390 2002-09-13 Paul Eggert <eggert@twinsun.com>
4392 * doc/autoconf.texi (Particular Headers): Remove obsolete
4393 reference to `struct timezone' in the description of
4396 2002-09-13 Akim Demaille <akim@epita.fr>
4400 * config/config.sub, config/config.guess: Update.
4401 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
4402 * Makefile.am: Adjust.
4404 2002-09-13 Akim Demaille <akim@epita.fr>
4406 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
4407 reading config.log when the compiler is rejected.
4408 Suggested by Guido Draheim.
4410 2002-09-13 Akim Demaille <akim@epita.fr>
4412 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
4413 (chdir_init) might hang when stat'ing mounted directories.
4414 Reported by Vance Shipley.
4416 2002-09-12 Akim Demaille <akim@epita.fr>
4418 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
4421 2002-09-12 Akim Demaille <akim@epita.fr>
4423 * doc/autoconf.texi (Defining Symbols): Present two different
4424 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
4425 difference between 1 argument calls, and 2-3 argument calls.
4427 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
4429 * doc/autoconf.texi: Review grammar and punctuation.
4431 2002-09-11 Paul Eggert <eggert@twinsun.com>
4433 * doc/autoconf.texi: Fix minor formatting, spelling, and
4435 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
4436 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
4439 2002-09-11 Akim Demaille <akim@epita.fr>
4441 * doc/autoconf.texi (Questions): Rename as...
4443 (Defining Directories): New.
4445 2002-09-09 Akim Demaille <akim@epita.fr>
4447 * doc/autoconf.texi (Making testsuite Scripts): Update.
4448 Suggested by Nishio Futoshi.
4450 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
4452 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
4453 plain `@' is wanted.
4455 2002-09-09 Akim Demaille <akim@epita.fr>
4457 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
4458 `duplicates', since the algorithm was too naive and could keep
4459 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
4460 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
4461 Reported by Ralf Corsepius.
4462 * tests/torture.at (Configuring subdirectories): Exercise these
4465 2002-09-09 Akim Demaille <akim@epita.fr>
4467 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
4468 looking for a replacement file.
4469 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
4470 directory is relative.
4471 * doc/autoconf.texi (Generic Functions): Clarify the replacement
4472 directory definition.
4473 Reported by Andreas Schwab and Jim Meyering.
4475 2002-09-06 Akim Demaille <akim@epita.fr>
4477 * doc/autoconf.texi (Setting Output Variables): Clarify what
4478 precious variables are.
4479 Suggested by Pontus Skoeld.
4481 2002-09-05 Akim Demaille <akim@epita.fr>
4483 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
4484 (ifnames, autoscan, autom4te): Since we don't only depend on
4485 configure.ac variables (such as VERSION etc.), but also on prefix
4486 and so forth, depend on Makefile, not configure.ac.
4487 Reported by Alexandre Duret-Lutz.
4488 * doc/autoconf.texi (Installation Directory Variables): Adjust.
4490 2002-09-05 Kevin Ryde <user42@zip.com.au>
4492 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
4493 doesn't seem to be confined to ia64, just say "some versions".
4495 2002-09-04 Akim Demaille <akim@epita.fr>
4497 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
4499 * Makefile.am (maintainer-clean-local): Remove.
4500 (MAINTAINERCLEANFILES): Remove COPYING.
4502 2002-09-03 Paul Eggert <eggert@twinsun.com>
4504 * doc/autoconf.texi (Configuration Commands): Remove obsolete
4505 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
4508 2002-09-03 Akim Demaille <akim@epita.fr>
4510 * configure.ac: Bump to 2.53d.
4511 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
4512 as of today, on Automake's team suggestion.
4514 2002-09-03 Akim Demaille <akim@epita.fr>
4518 2002-09-02 Akim Demaille <akim@epita.fr>
4520 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
4522 * configure.ac: Disable SITE_MACRO_DIR.
4524 2002-09-02 Jim Meyering <meyering@lucent.com>
4526 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
4527 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
4528 Also, tweak grammar: s/make sure to/be sure to/.
4530 2002-09-02 Paul Eggert <eggert@twinsun.com>
4532 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
4533 directory names are generally preferable to physical names.
4535 2002-09-02 Akim Demaille <akim@epita.fr>
4537 * lib/Autom4te/General.pm (&update_file): s/die/error/.
4538 Reported by Raja R. Harinath.
4539 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
4540 * bin/autoupdate.in: Use error instead of die.
4542 2002-09-01 Paul Eggert <eggert@twinsun.com>
4544 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
4545 ordinary shell concatenation rather than echo+tr+sed command that
4546 runs afoul of a long-line-related sed bug in Solaris 8.
4548 * bin/autoheader.in (parse_args): --warning -> --warnings.
4550 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
4551 stdout, as traditional "ls" does.
4552 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
4553 _AC_COMPILER_EXEEXT_O): Likewise.
4554 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
4556 * bin/autoconf.as: Add --prepend-include option. This patch was
4557 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
4558 but bin/autoconf.in is generated automatically from bin/autoconf.as.
4560 * bin/autoconf.in, configure: Regenerate.
4562 * doc/autoconf.texi (Special Shell Variables): Mention
4563 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
4565 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
4566 MAILPATH and set PS1, PS2, PS4 to default values, to work
4567 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
4568 For LC_ALL etc, first try to set to "C" as POSIX requires and as
4569 the Autoconf documentation specifies; fall back to "unset" only if
4570 this fails. Use a shell for-loop for this rather than an m4 loop,
4571 to shorten the output script.
4573 2002-08-30 Paul Eggert <eggert@twinsun.com>
4575 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
4576 1003.1-2001's requirements for CDPATH. Give a simpler workaround
4577 for the CDPATH problem. Document PWD.
4578 (Limitations of Builtins): Document the problem that "cd $foo" and
4579 "ls $foo" may refer to different directories in shells conforming
4580 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
4581 example, since the old example is now out of date.
4583 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
4584 FOO" and "ls FOO" talk about different directories; this catches
4585 problems when POSIX 1003.1-2001 "cd" fails due to symlink
4588 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
4589 of rolling our own unset.
4590 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
4591 in practice we needn't worry about CDPATH if unset doesn't work.
4593 * Makefile.in, aclocal.m4, bin/Makefile.in,
4594 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
4595 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
4596 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
4597 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
4598 tests/Makefile.in: Regenerate with Automake 1.6.3.
4600 * config/config.guess, config/config.sub, config/mkinstalldirs:
4603 * configure: Regenerate with self.
4605 2002-08-30 Kevin Ryde <user42@zip.com.au>
4607 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
4610 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4612 * bin/autom4te.in (Request::load): Correctly test for "do" read
4615 2002-08-29 Akim Demaille <akim@epita.fr>
4617 * lib/Autom4te/General.pm (&xqx): New.
4618 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
4619 hand, which is not portable.
4621 * bin/autom4te.in: Use them.
4622 Use &error instead of die.
4623 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4626 2002-08-17 Paul Eggert <eggert@twinsun.com>
4628 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
4629 default list of compilers to try, since it was long ago superseded
4630 by the ksh fc builtin. Suggested by Steven G. Johnson.
4632 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
4634 * doc/autoconf.texi (Invoking autom4te): End the option table,
4635 fixing a bug introduced by the previous patch.
4636 (Limitations of Make): Add a 'target lookup' subentry in the
4637 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
4639 2002-07-29 Mark D. Roth <roth@feep.net>
4641 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
4642 options and use $AUTOM4TE_PATH.
4643 * doc/autoconf.texi: Remove documentation of autom4te
4644 --include-envvar and --site-macro-subdir options and document
4645 use of $AUTOM4TE_PATH.
4646 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
4647 arguments from each language section.
4649 2002-07-29 Paul Eggert <eggert@twinsun.com>
4651 * doc/install.texi: Include copyright symbol in copyright notice.
4653 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
4655 (AM_MAKEINFOFLAGS): New macro.
4656 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
4657 * Makefile.am (INSTALL): Use the new macros.
4658 Use -o rather than --output, since "missing" does not grok --output.
4660 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4662 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
4663 comments do not always work. Never trust the exit status of
4666 2002-07-24 Kevin Ryde <user42@zip.com.au>
4668 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
4669 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
4671 2002-07-23 Paul Eggert <eggert@twinsun.com>
4673 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
4674 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
4675 apparently treats PATH="nonexistent" as if it contained ".".
4676 Bug reported by Stefan `Sec' Zehl.
4678 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
4680 * doc/autoconf.texi (Limitations of Make): Mention the special
4681 handling of the obj/ directory by BSD make.
4683 2002-07-20 Kevin Ryde <user42@zip.com.au>
4685 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
4688 2002-07-19 Akim Demaille <akim@epita.fr>
4690 * doc/autoconf.texi (Function Portability): `exit'.
4691 (Programming in M4sh): Ethymology of M4sh.
4693 2002-07-19 Akim Demaille <akim@epita.fr>
4695 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
4697 2002-07-18 Akim Demaille <akim@epita.fr>
4701 2002-07-18 Akim Demaille <akim@epita.fr>
4703 * config/config.guess, config/config.sub: Update.
4705 2002-07-18 Akim Demaille <akim@epita.fr>
4707 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
4710 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
4711 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
4712 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
4714 2002-07-18 Akim Demaille <akim@epita.fr>,
4715 Alexandre Duret-Lutz <duret_g@epita.fr>
4717 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
4718 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
4720 2002-07-17 Russ Allbery <rra@stanford.edu>
4722 * doc/autoconf.texi (Initializing configure): Clarify the
4723 description of the tarname default.
4725 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
4727 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
4728 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
4731 2002-07-17 Akim Demaille <akim@epita.fr>
4733 * lib/Autom4te/General.pm (find_file): Browse the directories in
4734 the order they are given.
4736 2002-07-17 Akim Demaille <akim@epita.fr>
4738 * tests/wrapsh.as, tests/wrappl.as: Merge into...
4739 * tests/wrapper.as: this.
4740 * tests/Makefile.am, configure.ac: Adjust.
4742 2002-07-17 Mark D. Roth <roth@feep.net>
4744 * configure.ac: Add --enable-site-macro-dir option.
4745 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
4746 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
4747 --site-macro-subdir options.
4748 * bin/autoconf.in: Add --prepend-include option.
4749 * bin/autoheader.in: Add --prepend-include option.
4750 * bin/autoreconf.in: Add --prepend-include option.
4751 * bin/autoscan.in: Add --prepend-include option.
4752 * bin/autoupdate.in: Add --prepend-include option.
4753 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
4754 macro directory, remove note that include path directories are
4755 used in reverse order, and document --prepend-include option.
4756 * lib/autom4te.in: Use --prepend-include instead of --include.
4757 * tests/wrapsh.in: Use --prepend-include instead of --include.
4759 2002-07-17 Akim Demaille <akim@epita.fr>
4761 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
4763 * doc/autoconf.texi (Initializing configure): Adjust.
4765 2002-07-17 Akim Demaille <akim@epita.fr>
4767 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
4768 (_AC_FUNC_MALLOC): New.
4769 (AC_FUNC_MALLOC): Use the latter.
4770 Define HAVE_MALLOC to 0 if broken.
4771 * doc/autoconf.texi (Particular Functions): Adjust.
4773 2002-07-16 Akim Demaille <akim@epita.fr>
4775 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
4776 * doc/autoconf.texi (C Compiler): Adjust.
4778 2002-07-09 Akim Demaille <akim@epita.fr>
4780 * doc/autoconf.texi: Properly set the ``header'' part.
4782 2002-07-09 Akim Demaille <akim@epita.fr>
4784 * doc/autoconf.texi (Systemology): Some about Darwin.
4786 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4788 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
4789 Don't use AC_REQUIRE in AU_DEFUN.
4791 2002-07-09 Art Haas <ahaas@neosoft.com>
4793 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
4795 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
4797 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4798 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
4799 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
4800 so that Emacs setups GNU style for perl-mode and cperl-mode.
4802 2002-06-27 Paul Eggert <eggert@twinsun.com>
4804 * config/install-sh: Quote $src. Prefer || to test's -o option,
4805 as per "Limitations of Builtins".
4806 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
4807 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4809 * tests/mktests.sh: Use grep instead of fgrep, as per
4810 "Limitations of Builtins".
4812 2002-06-15 Paul Eggert <eggert@twinsun.com>
4814 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4815 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4816 so that we consistently test the just-built programs.
4817 * tests/wrappl.as: Likewise.
4819 2002-06-12 Paul Eggert <eggert@twinsun.com>
4821 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4822 name, so that symlinks to 'autoconf' work properly. Bug reported
4824 * bin/autoheader.in (AUTOM4TE): Likewise.
4825 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4826 * bin/autoscan.in (autom4te): Likewise.
4827 * bin/autoupdate.in (autom4te): Likewise.
4829 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4830 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4833 2002-06-11 Andreas Schwab <schwab@suse.de>
4835 * doc/autoconf.texi: Add more dir entries.
4837 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4839 * bin/autom4te.in ($cache): Don't define using `$me', the name
4840 of the cache should not depend on the name under which autom4te
4843 2002-06-07 Akim Demaille <akim@epita.fr>
4845 * tests/tools.at (autoconf: forbidden tokens, basic)
4846 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4847 words in autom4te.in.
4849 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4851 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4852 _AC_LANG_PROGRAM_C_F77_HOOKS.
4854 2002-06-07 Akim Demaille <akim@epita.fr>
4856 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4858 (AC_REPLACE_FNMATCH): this.
4859 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4860 AC_FUNC_FNMATCH_GNU.
4862 2002-06-07 Akim Demaille <akim@epita.fr>
4864 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4865 Rosetta Stone for Unix.
4867 2002-06-07 Akim Demaille <akim@epita.fr>
4869 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4870 suggest m4_pattern_allow.
4871 Suggested by Adam J. Richter.
4873 2002-06-07 Akim Demaille <akim@epita.fr>
4875 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4876 ac_config_libobj_dir.
4877 (AC_CONFIG_LIBOBJ_DIR): New.
4878 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4879 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4880 Use ac_config_libobj_dir to find the replacement files.
4881 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4882 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4883 (AC_REPLACE_FNMATCH_GNU): these.
4884 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4885 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4886 * tests/mktests.sh (ac_exclude_list): Don't check
4887 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4889 2002-06-06 Paul Eggert <eggert@twinsun.com>
4891 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4894 * doc/autoconf.texi (Configuration Links): Likewise.
4895 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4897 2002-06-05 Paul Eggert <eggert@twinsun.com>
4899 * config/config.guess, config/config.sub, config/texinfo.tex:
4900 Update from masters.
4902 2002-05-29 Paul Eggert <eggert@twinsun.com>
4904 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4905 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4906 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4908 * lib/autoconf/Makefile.am (check-local): Likewise.
4909 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4910 * lib/autoconf/types.m4 (commentary only): Likewise.
4911 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4912 * lib/autotest/Makefile.am (check-local): Likewise.
4913 * lib/m4sugar/Makefile.am (check-local): Likewise.
4914 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4915 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4917 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4918 * doc/autoconf.texi (Particular Programs): Document them.
4919 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4922 2002-05-27 Paul Eggert <eggert@twinsun.com>
4924 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4925 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4926 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4927 instead of AC_MBSTATE_T, which never existed.
4929 2002-05-23 Akim Demaille <akim@epita.fr>
4931 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4932 version of Autoconf that is discussed.
4934 2002-05-22 Paul Eggert <eggert@twinsun.com>
4936 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4937 from the default list of compilers to try. Suggested by
4939 * NEWS: Document the above.
4940 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4942 2002-05-17 Paul Eggert <eggert@twinsun.com>
4944 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4945 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4946 This improves on an earlier suggestion by H. Peter Anvin.
4948 2002-05-16 Paul Eggert <eggert@twinsun.com>
4950 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4951 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4952 Both macros now accept an optional source-dir arg.
4953 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4955 * NEWS: Document this.
4956 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4958 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4959 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4960 not for GNU extensions; this undoes part of the 2000-11-03 change,
4961 reverting to 2.13-compatible behavior.
4962 Add new optional argument DIR.
4963 (AC_FUNC_FNMATCH_GNU): New macro.
4965 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4967 2002-05-08 Paul Eggert <eggert@twinsun.com>
4969 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4970 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4971 and it causes a 'test' syntax error if it fails.
4972 Bug reported by Stephen Gildea.
4974 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4975 If prototypes are supported, use them to check this at compile-time,
4976 instead of trying to check it at run-time. If we must do a run-time
4977 check, assume that setvbuf is standard when cross-compiling, as
4978 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4979 Bug reported by Paul D. Smith.
4981 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4982 argument specifying location of getloadavg.c. This removes a
4983 FIXME. This idea was taken from Jim Meyering's implementation in
4985 * doc/autoconf.texi (Particular Functions): Document this.
4986 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4987 that's what the code does; this fixes a bug reported by
4990 2002-05-03 Akim Demaille <akim@epita.fr>
4992 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4993 autopoint instead of gettextize.
4994 ($uses_alocal): Rename as...
4995 ($uses_aclocal): this.
4996 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4997 Suggested by Bruno Haible.
4999 2002-05-03 Akim Demaille <akim@epita.fr>
5001 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
5003 2002-04-29 Paul Eggert <eggert@twinsun.com>
5005 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
5006 files to be 1 second older; just set them to be the same time.
5007 Also, sleep 1 second after the first aclocal, to work around
5008 problems with sub-second time stamps on the input files.
5010 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
5012 * doc/autoconf.texi: Mention "set -e -x" lossage
5013 under node "Limitations of Builtins".
5015 2002-04-29 Akim Demaille <akim@epita.fr>
5017 * doc/install.texi: Better wording for setting variables when
5019 From Christian Cornelssen.
5021 2002-04-29 Akim Demaille <akim@epita.fr>
5023 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
5024 of lack of $LINENO support, then the test will compare the $LINENO
5025 in testsuite vs. the lineno in the test file. This is wrong, of
5027 Be sure to protect it.
5028 Reported by Patrick Welche.
5030 2002-04-25 Akim Demaille <akim@epita.fr>
5032 * doc/autoconf.texi (Obsolete Macros): Typo.
5033 Reported by Vladimir Volovich.
5035 2002-04-25 Akim Demaille <akim@epita.fr>
5037 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
5038 than some of the input files, hence, on the second run of aclocal,
5039 if some of its input are younger, make them older.
5040 Suggested by Paul Eggert.
5042 2002-04-25 Akim Demaille <akim@epita.fr>
5044 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
5045 Thanks to Paul Eggert.
5047 2002-04-25 Akim Demaille <akim@epita.fr>
5049 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
5050 and ac_subst_vars be sh variables containing the list of
5051 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
5053 (_AC_INIT_PREPARE): Use them to log them.
5054 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
5055 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
5056 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
5057 _AC_SUBST_FILES and _AC_SUBST_VARS.
5058 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
5060 2002-04-24 Akim Demaille <akim@epita.fr>
5062 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
5063 autoheader, so that automake does not complain about a missing
5064 config.h.in that was to be created.
5066 2002-04-23 Akim Demaille <akim@epita.fr>
5068 * bin/autoheader.in (parse_args): --warning takes an argument.
5071 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
5073 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
5074 and bb.out when cleaning up.
5076 2002-04-22 Akim Demaille <akim@epita.fr>
5080 2002-04-22 Akim Demaille <akim@epita.fr>
5082 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
5084 2002-04-22 Akim Demaille <akim@epita.fr>
5086 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
5088 Reported by Gregory Giannoni.
5090 2002-04-22 Akim Demaille <akim@epita.fr>
5092 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
5093 Fixes false failures on Darwin.
5095 2002-04-21 Paul Eggert <eggert@twinsun.com>
5097 * TODO, bin/autoupdate.in, doc/autoconf.texi,
5098 lib/autoconf/general.m4, lib/autoconf/libs.m4,
5099 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
5100 tests/tools.at: Minor spelling and grammar fixes.
5102 2002-04-20 Paul Eggert <eggert@twinsun.com>
5104 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
5105 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
5106 * lib/autotest/general.m4 (AT_INIT): Likewise.
5107 * tests/atgeneral.m4 (AT_INIT): Likewise.
5109 2002-04-19 Paul Eggert <eggert@twinsun.com>
5111 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
5112 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
5113 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5114 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5115 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5116 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5117 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5118 Minor spelling and grammar fixes.
5120 * doc/autoconf.texi: Follow the outline suggested in the GNU
5121 Sample Texts sections of the Texinfo 4.2 manual. Most
5122 importantly, this makes sure that the copyright notices appear in
5123 all output formats. You probably need Texinfo 4.2 to generate
5126 Fix some bugs when using "$@" when there might be zero positional
5127 arguments in cases where this matters.
5129 * bin/autoconf.as: Rewrite so that the problem does not come up.
5130 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5131 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5132 * lib/autotest/general.m4 (AT_INIT): Likewise.
5134 * bin/autoheader.in: Use 'case' statement to work around problem.
5135 * bin/auto4mte.in: Likewise.
5136 * bin/autoreconf.in: Likewise.
5137 * bin/autoscan.in: Likewise.
5138 * bin/autoupdate.in: Likewise.
5139 * bin/ifnames.in: Likewise.
5141 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5143 * lib/autotest/general.m4 (AT_INIT):
5144 Use Zsh alias to work around problem.
5145 * tests/atgeneral.m4 (AT_INIT): Likewise.
5147 * tests/c.at: We can't have zero arguments, so remove workaround
5148 that is not portable to Zsh.
5150 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5152 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5153 from aclocal.m4 too.
5155 2002-04-12 Akim Demaille <akim@epita.fr>
5157 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5159 2002-04-10 Akim Demaille <akim@epita.fr>
5161 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5162 workaround for ${1+"$@"}.
5163 * doc/autoconf.texi (Shell Substitutions): Explain it.
5164 From Oliver Kiddle and Peter Stephenson.
5166 Have M4sh perform minimal shell sanitizing.
5168 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5170 (_AS_PREPARE): this new macro.
5172 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5173 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5175 Adjust Autoconf and Autotest.
5177 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5178 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5179 * lib/autotest/general.m4 (AT_INIT): Likewise.
5180 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5181 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5184 Use this M4sh to generate Autoconf's shell scripts.
5186 * tests/wrapsh.as: New, precursor of wrapsh.in.
5187 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5188 on Autotest and M4sh.
5189 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5190 (wrapsh.in): New target.
5191 * bin/autoconf.as: New, precursor of autoconf.in.
5192 (autoconf.in): New target.
5194 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5196 * doc/autoconf.texi (Limitations of Make): Mention the issue
5197 with indented comments in rules.
5199 2002-04-09 Andreas Schwab <schwab@suse.de>
5201 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5202 ac_top_builddir when setting ac_abs_top_builddir.
5204 2002-04-06 Kevin Ryde <user42@zip.com.au>
5206 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5207 (Portable Shell): Cross reference to Systemology.
5209 2002-04-05 Akim Demaille <akim@epita.fr>
5211 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
5212 directories when descending in a SUBDIRS.
5213 Reported by Ezra Peisach.
5215 2002-04-04 Andreas Schwab <schwab@suse.de>
5217 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
5218 contains no literal separators.
5220 2002-04-03 Akim Demaille <akim@epita.fr>
5222 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
5223 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
5224 Use dnl, not the KILL diversion.
5226 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
5227 (AC_CONFIG_LINKS): here.
5229 Don't use the KILL diversion, as it kills spurious output, which
5230 results in failures being hidden.
5231 Use m4_defn where appropriate.
5232 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
5233 after the second argument.
5235 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
5236 syntax, as it is provided by M4sugar.
5237 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
5239 2002-04-03 Andreas Schwab <schwab@suse.de>
5241 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
5242 expanded if $# <= 2.
5244 * bin/autoreconf.in (autoreconf): Run automake after rerunning
5247 2002-04-03 Akim Demaille <akim@epita.fr>
5249 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
5250 (_AC_COMPILER_EXEEXT_REJECT): New.
5251 Also recognize *.bb and *.bbg as compilation byproducts.
5252 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
5253 (_AC_COMPILER_OBJEXT): Use them.
5254 Fixes Debian #138666.
5256 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
5258 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
5260 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
5261 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
5262 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
5263 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
5265 (AC_C_INLINE): Same.
5266 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
5267 * doc/autoconf.texi, NEWS: Document.
5268 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
5271 2002-04-02 Akim Demaille <akim@epita.fr>
5273 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
5274 _AS_MKDIR_P_PREPARE.
5276 2002-03-28 Kevin Ryde <user42@zip.com.au>
5278 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
5279 to avoid versions of HP C which don't allow that.
5281 2002-03-27 Paul Eggert <eggert@twinsun.com>
5283 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
5284 (AS_SHELL_SANITIZE): Invoke it.
5285 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
5287 2002-03-26 Akim Demaille <akim@epita.fr>
5289 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
5291 2002-03-26 Akim Demaille <akim@epita.fr>
5293 * doc/autoconf.texi (Introduction): The GNATS base moved.
5295 2002-03-25 Paul Eggert <eggert@twinsun.com>
5297 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
5298 as POSIX requires, as it doesn't work with Zsh.
5299 * doc/autoconf.texi (Assignments): Document the problem.
5301 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5303 * doc/autoconf.texi (Limitations of Make): Mention more issue
5304 about VPATH, overriding of macros in sub-makes, and handling of
5307 2002-03-21 Paul Eggert <eggert@twinsun.com>
5309 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
5310 problem with here-document buffer boundaries.
5312 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
5313 when reinvoking the shell, to work around problems with installers
5314 who put strange things like "cd" commands in their environments.
5316 2002-03-19 Akim Demaille <akim@epita.fr>
5318 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
5321 2002-03-19 Akim Demaille <akim@epita.fr>
5323 * bin/autoscan.in (scan_file): Specify the location in `&used'
5327 2002-03-19 Akim Demaille <akim@epita.fr>
5329 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
5330 From Nishio Futoshi.
5332 2002-03-19 Akim Demaille <akim@epita.fr>
5334 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
5336 2002-03-18 Paul Eggert <eggert@twinsun.com>
5338 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
5339 (Limitations of Usual Tools): Add mkdir section.
5341 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
5342 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
5343 back on AS_DIRNAME to compute prefixes otherwise; this is
5344 roughly what mkinstalldirs does. That way, we need not have
5345 our own filename disassembler. The old disassembler did not
5346 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
5348 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
5349 Create at_test_all by a series of assignments,
5350 not by a single assignment of a long string. The latter causes ksh
5351 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
5352 presumably because of a buffer overrun.
5354 2002-03-14 Paul Eggert <eggert@twinsun.com>
5356 * lib/autotest/general.m4 (at_times_skip):
5357 Renamed from at_times. Now a boolean.
5358 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
5359 says 'times: not found'.
5361 2002-03-14 Akim Demaille <akim@epita.fr>
5363 * bin/autoreconf.in (&study_gettextize): New.
5364 (&autoreconf): Handle newest gettextize.
5365 Rerun aclocal if needed.
5366 Suggested by Andreas Schwab.
5368 2002-03-13 Akim Demaille <akim@epita.fr>
5370 * doc/autoconf.texi (Special Shell Variables): More about IFS.
5372 2002-03-13 Akim Demaille <akim@epita.fr>
5374 * doc/autoconf.texi (Header Portability): New.
5375 Add information about stdint.h and inttypes.h from Paul Eggert.
5377 2002-03-13 Akim Demaille <akim@epita.fr>
5379 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
5383 2002-03-12 Akim Demaille <akim@epita.fr>
5385 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
5388 2002-03-11 Andreas Schwab <schwab@suse.de>
5390 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
5391 does not do it if --with-lispdir is given.
5393 2002-03-08 Akim Demaille <akim@epita.fr>
5397 2002-03-08 Akim Demaille <akim@epita.fr>
5399 * doc/autoconf.texi (Subdirectories): Clarify that the
5400 subdirectory should exist.
5402 2002-03-08 Akim Demaille <akim@epita.fr>
5404 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
5406 2002-03-08 Akim Demaille <akim@epita.fr>
5408 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
5409 aliases the actual variables, and modifications of the former
5412 2002-03-08 Akim Demaille <akim@epita.fr>
5414 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
5415 because of C-c: have m4 output in tmp files, then mv them.
5417 2002-03-08 Akim Demaille <akim@epita.fr>
5419 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
5420 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
5421 * bin/ifnames.in: Copyright update.
5423 2002-03-08 Akim Demaille <akim@epita.fr>
5425 * doc/autoconf.texi (Invoking autom4te): New.
5427 2002-03-05 Akim Demaille <akim@epita.fr>
5429 * doc/autoconf.texi (Specifying Names): Clarification suggested by
5432 2002-03-05 Akim Demaille <akim@epita.fr>
5436 2002-03-04 Akim Demaille <akim@epita.fr>
5438 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
5439 * lib/autoconf/general.m4 (AC_INIT): More informative error
5442 2002-03-04 Akim Demaille <akim@epita.fr>
5444 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
5447 2002-03-04 Akim Demaille <akim@epita.fr>
5449 * doc/autoconf.texi (Transforming Names): Equality between target
5450 and host is irrelevant.
5451 (Specifying Names, Canonicalizing): Remove all references to the
5452 backward compatibility hooks. Rather, collect them all into...
5453 (Hosts and Cross-Compilation): this new section.
5454 * doc/install.texi (System Type): Ditto.
5455 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
5456 that `--host' implies cross-compilation.
5458 2002-03-04 Akim Demaille <akim@epita.fr>
5460 * doc/autoconf.texi (Evaluation Macros): New.
5461 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
5463 (_m4_foreach): Define the variant with immediate evaluation so
5464 that it contains exactly the items, not an expression which
5465 evaluation is the current item.
5466 (m4_re_string, m4_re_word): Don't over quote them.
5468 2002-03-04 Akim Demaille <akim@epita.fr>
5470 Instead of having stacking `shift's evaluated at the end, let
5471 `foreach' loops immediately evaluate them.
5473 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
5474 $*. This is the n-th time I change my mind, but hopefully this is
5477 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
5479 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
5480 it was only a hack for m4_text_wrap.
5481 (m4_car2): Remove, replaced by...
5483 (_m4_foreach): Adjust.
5484 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
5485 m4_bpatsubst for clarification.
5487 2002-03-04 Akim Demaille <akim@epita.fr>
5489 * doc/autoconf.texi (Changequote is Evil): New.
5491 2002-03-03 Kevin Ryde <user42@zip.com.au>
5493 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
5494 on old systems like SunOS.
5496 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
5498 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5499 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5500 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
5501 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
5504 2002-02-28 Akim Demaille <akim@epita.fr>
5506 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
5509 2002-02-28 Kevin Ryde <user42@zip.com.au>
5511 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
5513 2002-02-25 Akim Demaille <akim@epita.fr>
5515 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
5518 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
5520 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
5521 translate \r\n to \n.
5523 2002-02-07 Akim Demaille <akim@epita.fr>
5527 2002-02-07 Akim Demaille <akim@epita.fr>
5529 Fix Autoconf PR/209.
5530 Also reported by Frank Denis.
5532 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
5534 2002-02-07 Akim Demaille <akim@epita.fr>
5536 Fix Autoconf PR/207:
5537 AC_PREFIX_PROGRAM fails with dashed program names
5539 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
5540 variable when looking for the prefix program.
5541 Now it also works for shell variables.
5543 2002-02-07 Akim Demaille <akim@epita.fr>
5545 * doc/autoconf.texi (Limitations of Builtins): More about
5548 2002-02-06 Akim Demaille <akim@epita.fr>
5550 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
5551 case/esac, some shells don't support it.
5552 Reported by Zack Weinberg.
5553 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
5555 2002-02-06 Akim Demaille <akim@epita.fr>
5557 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
5558 sure not to introduce newlines in at_groups.
5559 * lib/autotest/Makefile.am (autotest.m4f): Typo.
5561 2002-02-06 Akim Demaille <akim@epita.fr>
5563 * tests/torture.at (Configuring subdirectories): Skip if aclocal
5566 2002-02-05 Paul Eggert <eggert@twinsun.com>
5568 * doc/autoconf.texi (Specific Compiler Characteristics):
5569 Describe HP-UX cc bug workaround more accurately.
5570 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
5572 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
5573 cross-compilers, too. This undoes some of the most recent change
5576 2002-02-05 Akim Demaille <akim@epita.fr>
5578 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
5579 to make sure they are up to date when `check' is run.
5581 2002-02-05 Akim Demaille <akim@epita.fr>
5583 * doc/autoconf.texi (Making testsuite Scripts): Document
5586 2002-02-05 Akim Demaille <akim@epita.fr>
5588 * lib/freeze.mk: New.
5590 2002-02-05 Akim Demaille <akim@epita.fr>
5592 Implement `autom4te --freeze'.
5594 * bin/autom4te.in (&freeze): New.
5595 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
5596 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
5598 2002-02-05 Akim Demaille <akim@epita.fr>
5600 * bin/autom4te.in (&parse_args): Implement `frozen files are
5601 optional are the sum of the previous files on the command line'.
5602 Also, pass `--reload-state=' on them, so...
5604 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
5605 (M4sh): Rely on M4sugar.
5606 (Autotest, M4sh, M4sugar): Use frozen files.
5608 2002-01-31 Akim Demaille <akim@epita.fr>
5610 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
5611 * doc/autoconf.texi (Initializing configure): Adjust.
5613 2002-01-30 Akim Demaille <akim@epita.fr>
5615 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
5616 alphanumeric to `-' instead of `_'.
5618 2002-01-30 Akim Demaille <akim@epita.fr>
5620 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
5621 for plain code, the other for cross-compilation code. The latter
5622 is now run with GCC only.
5623 * doc/autoconf.texi (Compilers and Preprocessors): New.
5625 2002-01-30 Akim Demaille <akim@epita.fr>
5627 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
5629 * doc/autoconf.texi (Initializing configure): Explain how to
5630 change AC_INIT default values.
5632 2002-01-29 Akim Demaille <akim@epita.fr>
5634 * tests/torture.at (Configuring subdirectories): Use configure.in,
5635 so that aclocal 1.4 works.
5636 Reported by Alexandre Duret-Lutz and Larry Schmitt.
5638 2002-01-28 Akim Demaille <akim@epita.fr>
5640 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
5643 2002-01-28 Akim Demaille <akim@epita.fr>
5645 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
5646 AUTOTEST_PATH *after* it was set.
5647 Don't put `.' in the PATH: the user should be precise and `./' if
5648 needed. In addition, given that the test suite does some `cd', if
5649 `.' is in the path, the `tested programs' sections will report
5650 programs found in the test suite's directory, while during the
5651 tests (performed in their own directory), these programs are no
5652 longer visible. In other words, the results is confusing and
5654 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
5656 2002-01-24 Akim Demaille <akim@epita.fr>
5660 2002-01-24 Akim Demaille <akim@epita.fr>
5662 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
5663 * doc/autoconf.texi: Finally add Akim as an author.
5665 2002-01-24 Akim Demaille <akim@epita.fr>
5667 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
5668 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
5669 Bourne. Use /bin/sh.
5670 From Andreas Buening.
5672 2002-01-24 Akim Demaille <akim@epita.fr>
5674 * config/config.guess, config/config.sub, config/texinfo.tex:
5675 Update from masters.
5677 2002-01-24 Akim Demaille <akim@epita.fr>
5679 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
5680 * config/auxdir.m4, config/cond.m4, config/depend.m4,
5681 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
5682 * config/missing.m4, config/sanity.m4, config/select.m4,
5683 * config/strip.m4: Remove, to ease sync'ing with any version of
5686 2002-01-24 Akim Demaille <akim@epita.fr>
5688 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
5689 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
5690 Reported by Geir Ove Myhr.
5692 2002-01-21 Akim Demaille <akim@epita.fr>
5694 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
5696 2002-01-21 Akim Demaille <akim@epita.fr>
5698 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
5699 message on invalid options.
5700 * bin/autom4te.in (parse_args): Don't use
5701 Autoconf::General::getopt with non valid options.
5703 2002-01-17 Jim Meyering <meyering@lucent.com>
5705 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
5706 $ac_cv_exeext so we don't use an old, invalid, cached value.
5708 2002-01-11 Akim Demaille <akim@epita.fr>
5710 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
5712 * doc/autoconf.texi (Function Portability): Document the strnlen
5714 (Particular Functions): Document AC_FUNC_STRNLEN.
5715 * lib/autoscan/functions: Adjust.
5717 2002-01-06 Akim Demaille <akim@epita.fr>
5719 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
5720 package.m4, since is really depends upon configure.ac, not
5722 * doc/autoconf.texi (testsuite Scripts): Adjust.
5723 * tests/Makefile.am (package.m4): New.
5724 EXTRA_DIST it since its a source.
5726 2002-01-06 Akim Demaille <akim@epita.fr>
5728 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
5729 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
5730 and PACKAGE_BUGREPORT from here...
5731 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
5733 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
5734 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
5735 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
5736 * tests/tools.at (autoheader): Adjust.
5737 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
5739 2002-01-06 Akim Demaille <akim@epita.fr>
5741 * bin/autoscan.in (scan_file): Use `&used'.
5743 2002-01-03 Akim Demaille <akim@epita.fr>
5745 * doc/autoconf.texi (Output): Improved wording regarding use of
5749 2001-12-18 Kevin Ryde <user42@zip.com.au>
5751 * doc/autoconf.texi (Function Portability): Add notes on sscanf
5752 sometimes needing writable input.
5754 2001-12-17 Jim Meyering <meyering@lucent.com>
5756 * doc/autoconf.texi (New Macros): Tweak wording.
5758 2001-12-14 Akim Demaille <akim@epita.fr>
5760 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
5761 trailing files, don't apply `-rf' to files which might not be
5762 created by configure (core, core.*, and *.core), but just `rm -f'.
5763 Suggested by Jonathan Kamens.
5765 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
5767 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
5769 2001-12-14 Akim Demaille <akim@epita.fr>
5771 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
5773 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
5775 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
5776 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
5777 abs_srcdir, top_srcpath to abs_top_srcdir.
5778 (_AC_OUTPUT_FILES): Adjust.
5779 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
5780 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
5781 * tests/wrappl.in, tests/wrapsh.in: Adjust.
5783 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
5785 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
5786 C/Fortran linking on HP/UX, by extracting the Fortran library
5787 search path from the LPATH line in the $F77 -v output.
5789 2001-12-12 Kevin Ryde <user42@zip.com.au>
5791 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
5792 forbidden file descriptors table.
5794 2001-11-26 Akim Demaille <akim@epita.fr>
5796 * bin/autoscan.in (%c_keywords): Build it at top level.
5797 Map to 1 in order to simplify its uses.
5799 2001-11-26 Akim Demaille <akim@epita.fr>
5801 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
5802 Remove $filepath, useless.
5803 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
5804 variables, they are really part of the tokens.
5805 Split the input line on spaces and then look for tokens.
5806 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
5807 because of `lex$U.$(OBJEXT)'.
5808 (&scan_files): Use "@list" instead of join.
5809 * doc/Makefile.am (CLEANFILES): Add *.fns.
5811 2001-11-26 Akim Demaille <akim@epita.fr>
5813 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5814 Remove, replaced by...
5815 * tests/wrappl.in: Be common for all the Perl executables.
5816 In particular autoscan and autoheader want -I.
5817 * configure.ac: Adjust.
5818 * lib/autoscan/headers: errno.h is portable.
5820 2001-11-26 Akim Demaille <akim@epita.fr>
5822 * bin/autoscan.in (used): New.
5825 2001-11-26 Akim Demaille <akim@epita.fr>
5827 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5829 (&scan_sh_file): Remove a duplicate pattern.
5830 (&check_configure_ac): Use long options.
5831 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5833 2001-11-26 Akim Demaille <akim@epita.fr>
5835 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5836 Before, having a line containing the opening of a multi line
5837 comment made the whole line be ignored.
5839 2001-11-26 Akim Demaille <akim@epita.fr>
5841 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5842 (testsuite Scripts): Be one of its subsection.
5843 (Autotest Logs): New.
5845 2001-11-26 Akim Demaille <akim@epita.fr>
5847 Test groups are now run two directories deeper.
5849 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5850 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5852 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5853 top_srcdir, builddir and top_builddir.
5854 Use `at_*dir' relatively to the directory containing the
5855 suite, use `*dir' when relatively to the current group dir.
5857 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5859 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5860 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5861 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5864 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5866 * doc/autoconf.texi (Using System Type): Add an example of `case
5867 $host' usage so people quit using `case $target' everywhere.
5869 2001-11-22 Akim Demaille <akim@epita.fr>
5871 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5872 spotted by Jim Meyering.
5874 2001-11-16 Paul Eggert <eggert@twinsun.com>
5876 This patch implements a `long double' suggestion by Oliver Kiddle.
5878 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5879 static, to catch errors if the value isn't known at compile-time
5880 and the compiler supports dynamic arrays. Change its name from
5881 `_array_' to `test_array' to avoid potential name clashes.
5882 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5883 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5884 better than double. Catch a bug in GCC 2.95.2 x86.
5885 * doc/autoconf.texi (C Compiler): Document the above.
5888 2001-11-13 Akim Demaille <akim@epita.fr>
5890 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5892 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5894 2001-11-13 Akim Demaille <akim@epita.fr>
5896 * lib/autotest/general.m4 (AT_INIT): After having run the test
5897 group, go back to the initial directory, not to at_suite_dir.
5899 2001-11-13 Akim Demaille <akim@epita.fr>
5901 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5902 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5903 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5905 (AT_CHECK_CONFIGURE): Use absolute paths.
5906 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5907 The problem is still the old one: there is no means in M4 (that I
5908 know about) to create a defining macro, because there is no means
5909 to create `$1' etc., therefore, the defining macro ``swallows''
5910 all the arguments meant to the defined macro.
5912 2001-11-13 Akim Demaille <akim@epita.fr>
5914 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5915 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5917 * tests/aclocal.m4: Remove, as it is no longer used.
5919 2001-11-13 Akim Demaille <akim@epita.fr>
5921 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5922 variable names when referring to a single test group, or to
5923 `suite' when referring to the whole test suite.
5924 `at_last_test' is removed: m4 compute at_format itself.
5925 (at_stdout, at_stder1, at_stderr): New variables.
5926 (AT_CHECK): Use them.
5928 2001-11-13 Akim Demaille <akim@epita.fr>
5930 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5932 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5933 Do it as soon as a test fails, don't wait till the end of the test
5935 Don't remove $as_me.[0-9]*, since these files no longer exist.
5937 2001-11-13 Akim Demaille <akim@epita.fr>
5939 * tests/tools.at: Use absolute paths, since we are no longer run
5942 2001-11-13 Akim Demaille <akim@epita.fr>
5944 Now that tests are running in their own private dir, there is no
5945 need to list the files to remove at the end of tests groups.
5947 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5948 (AT_data_files, at_data_files): Remove.
5949 (AT_CLEANUP, AT_DATA): Simplify.
5951 Remove the group dir if !debug && !failed.
5952 * tests/atspecific.m4: Adjust.
5954 2001-11-13 Akim Demaille <akim@epita.fr>
5956 Start a new layout for Autotest: `testsuite' creates
5957 `testsuite.dir' in which the at-check-line etc. files are to be
5958 found, and `testsuite.dir/003' where the test group 3 is run.
5960 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5961 at_check_line_file, at_format, at_test_normalized, at_group_dir
5963 Create the directories.
5964 Use absolute paths for at- files.
5967 2001-11-11 Michael Matz <matz@kde.org>
5969 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5971 (m4_car): Properly quote arguments.
5973 2001-11-13 Akim Demaille <akim@epita.fr>
5975 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5976 with stricter rules on LIBOBJS.
5978 2001-11-12 Paul Eggert <eggert@twinsun.com>
5980 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5981 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5984 2001-11-12 Akim Demaille <akim@epita.fr>
5986 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5988 2001-11-12 Akim Demaille <akim@epita.fr>
5990 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5991 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5992 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5993 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5994 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5995 specify to what the macro should be defined (typically to 1).
5997 2001-11-12 Akim Demaille <akim@epita.fr>
5999 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
6002 2001-11-12 Akim Demaille <akim@epita.fr>
6004 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6005 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
6006 definition used by Automake where LEX is +/- "${missing} lex" and
6007 `missing' itself contains variables.
6009 2001-11-12 Akim Demaille <akim@epita.fr>
6011 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
6012 Now that M4sh pushes BODY, the comments were output at the end of
6015 2001-11-08 Akim Demaille <akim@epita.fr>
6017 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
6018 that we can trace macros from aclocal.m4.
6019 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
6020 obsoleted, and redirect to the former anyway.
6021 Reported by Ralf Corsepius.
6023 2001-11-08 Akim Demaille <akim@epita.fr>
6025 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
6026 processed only if present.
6027 * tests/torture.at (Configuring subdirectories): Use autoreconf
6028 instead of successive calls to autoconf.
6029 Add a nonexistent subdirectory to exercise the patch above.
6030 Reported by Ralf Corsepius.
6032 2001-11-08 Kevin Ryde <user42@zip.com.au>
6034 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
6035 doesn't accept .S files.
6037 2001-11-07 Akim Demaille <akim@epita.fr>
6039 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
6040 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
6041 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
6042 * bin/autom4te.in (warn_forbidden): New.
6043 (handle_output): Use it.
6044 Read m4_pattern_forbid with messages.
6046 2001-11-05 Akim Demaille <akim@epita.fr>
6048 * bin/autom4te.in (--normalize): Remove.
6049 * lib/autom4te.in: Adjust.
6051 2001-11-05 Akim Demaille <akim@epita.fr>
6053 * tests/Makefile.am (testsuite): Rename this target as...
6054 ($(TESTSUITE)): this.
6057 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
6059 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
6060 the --prefix option, also remove it's argument.
6062 2001-11-05 Akim Demaille <akim@epita.fr>
6064 * doc/autoconf.texi (testsuite Invocation): Update.
6065 (Writing testsuite.at): Update.
6067 2001-11-03 Akim Demaille <akim@epita.fr>
6069 * doc/autoconf.texi: s/@code/@command/ where appropriate.
6071 2001-11-03 Akim Demaille <akim@epita.fr>
6073 * lib/Autom4te/General.pm: (&catfile, &canonfile)
6074 (&file_name_is_absolute): New, wrappers around routines from
6076 Use and export them.
6077 (&find_configure_ac): Optionally take a directory where to look at.
6078 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
6080 Default @ARGV to `.', not find_configure_ac.
6081 (&autoreconf): Argument is a directory.
6082 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
6083 * doc/autoconf.texi (autoreconf Invocation): Update.
6085 2001-11-03 Akim Demaille <akim@epita.fr>
6087 * lib/Autom4te/General.pm (@export_vars, @export_subs)
6088 (@export_forward_subs): New.
6089 Add basename, dirname, and fileparse.
6091 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
6092 Don't look for aclocal flags if we already know aclocal is not
6094 Move aclocal.m4t only if it exists.
6095 Reported by Ezra Peisach.
6097 2001-11-03 Akim Demaille <akim@epita.fr>
6099 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
6100 passed on command line, defaulting to ./configure.ac if present.
6101 (&maybe_autoreconf, File::Find): Remove, unused.
6102 (&autoreconf): If autoconf is not used, don't try to trace.
6104 2001-11-02 Akim Demaille <akim@epita.fr>
6106 * configure.ac: Bump to 2.52g.
6108 2001-11-02 Akim Demaille <akim@epita.fr>
6112 2001-11-02 Akim Demaille <akim@epita.fr>
6114 * config/config.guess, config/config.sub, doc/standards.texi:
6115 * config/lispdir.m4: Update from masters.
6116 * configure.ac: Bump to 2.52f.
6118 2001-11-02 Akim Demaille <akim@epita.fr>
6120 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6121 Don't run aclocal when aclocal.m4 is not from aclocal.
6123 Don't run libtoolize and gettextize if --install is not given.
6125 2001-11-01 Paul Eggert <eggert@twinsun.com>
6127 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6128 be invoked before _AS_LINENO_PREPARE.
6129 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6130 than character ranges.
6132 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6133 invoking AS_BASENAME. Set the locale variables to 'C' if
6134 possible, as POSIX requires this to get the traditional
6136 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6138 2001-10-31 Paul Eggert <eggert@twinsun.com>
6140 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6141 with {}, as that triggers a bug in Bash 2.05.
6143 (_AS_LINENO_PREPARE): Use Sed rather than
6144 Awk. Fix the sed prepass to work even if there are multiple
6145 instances of $LINENO on the same line. Do not substitute for
6146 other variables like $LINENOT. Do not check file dates; such a
6147 check is unreliable on sufficiently fast machines, and removing
6148 the check makes the code simpler and more reliable. Check for
6149 output and chmod failures.
6151 * doc/autoconf.texi (Special Shell Variables): Document
6154 2001-10-31 Akim Demaille <akim@epita.fr>
6156 * tests/Makefile.am (atconfig): Remove this target, Automake
6159 2001-10-31 Akim Demaille <akim@epita.fr>
6161 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6162 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6163 provided, while it is optional.
6164 * configure.ac: Adjust.
6166 2001-10-26 Paul Eggert <eggert@twinsun.com>
6168 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6169 lib/Autom4te/Struct.pm:
6170 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6173 * doc/autoconf.texi (Special Shell Variables): Document some
6174 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6176 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6177 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6178 eval $LINENO is not portable in practice.
6180 2001-10-24 Akim Demaille <akim@epita.fr>
6182 * lib/Autom4te/General.pm (backname): New.
6184 2001-10-24 Akim Demaille <akim@epita.fr>
6186 * m4/: Remove, merged into...
6189 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6191 * doc/autoconf.texi (Shellology): Mention the problems with bash
6192 2.05's use of ANSI quoting in its `set' builtin.
6194 2001-10-22 Paul Eggert <eggert@twinsun.com>
6196 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6197 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6198 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6199 POSIX decided to standardize on the int flavor of strerror_r.
6200 Always do char* test, as there's no reason not to.
6201 Assign to a char* var, to catch strerror_r that returns int*.
6203 * doc/autoconf.texi (Particular Functions):
6204 Document the above changes. Also, document the fact that
6205 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6207 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6209 2001-10-20 Akim Demaille <akim@epita.fr>
6211 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
6212 the executable was missing from the log.
6214 2001-10-20 Akim Demaille <akim@epita.fr>
6216 * lib/Autom4te/General.pm (&update_file): If destination is
6217 unchanged, remove the source.
6218 (&up_to_date_p): Don't be verbose, be debug.
6219 * bin/autoreconf.in: No longer support --m4dir.
6220 (&autoreconf): Display the full path of the configure.ac we are
6223 Be sure to honor --force with gettextize.
6225 * doc/autoconf.texi: Adjust.
6227 2001-10-20 Akim Demaille <akim@epita.fr>
6229 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
6231 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
6232 `intl' is already present, as it refuses unless --force.
6233 (&parse_args): Use -I, --include instead of the old Autoconf
6235 ($localdir, $autoconf_dir): Remove.
6237 (&maybe_autoreconf): New, to preserve $_ for File::Find.
6239 2001-10-19 Jens Petersen <petersen@redhat.com>
6241 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
6242 * doc/autoconf.texi (Particular Programs): Likewise.
6244 2001-10-19 Akim Demaille <akim@epita.fr>
6246 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
6247 file in @configure_input@.
6248 Don't mention `automatically' in addition to `generated'.
6249 * tests/torture.at (#define header templates): Adjust.
6251 2001-10-19 Akim Demaille <akim@epita.fr>
6253 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
6254 comment, explain how to install automatic mode selection.
6257 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
6259 * bin/autoreconf.in (autoreconf): Display the path to the
6260 configure.ac being studied.
6262 2001-10-18 Paul Eggert <eggert@twinsun.com>
6264 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
6265 long, to work around a bug in the HP C compiler version HP92453-01
6268 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
6269 (AS_BASENAME_EXPR): New macro.
6270 (AS_BASENAME_SED): Do not assume GNU sed semantics.
6271 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
6272 and fall back on 'sed' only if the other two fail. This makes
6273 AS_BASENAME act more like AS_DIRNAME.
6274 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
6275 contains white space.
6276 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
6277 Use AS_DIRNAME, since I think it's now DOS-friendly.
6278 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
6279 Allow "dirname //FOO" to return either / or //, as POSIX allows
6282 2001-10-10 Akim Demaille <akim@epita.fr>
6284 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
6285 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
6288 2001-10-10 Akim Demaille <akim@epita.fr>
6290 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
6292 (_AS_ECHO_N): AS_REQUIREs it.
6294 2001-10-10 Akim Demaille <akim@epita.fr>
6296 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
6297 (AC_INCLUDES_DEFAULT): Move to...
6298 * lib/autoconf/headers.m4: here.
6299 * lib/autoconf/types.m4: Comment changes.
6300 * doc/autoconf.texi: Specify where the default includes are used
6301 in the macro prototypes.
6303 2001-10-09 Akim Demaille <akim@epita.fr>
6305 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
6308 2001-10-08 Akim Demaille <akim@epita.fr>
6310 * bin/autoreconf.in (&autoreconf): Remove debugging code.
6311 (&parse_args): Pass verbosity/debugging options to subtools when
6312 --debug, not when --verbose.
6313 * lib/autom4te.in (Autoreconf-preselections): New.
6316 2001-10-08 Akim Demaille <akim@epita.fr>
6318 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
6320 2001-10-08 Akim Demaille <akim@epita.fr>
6322 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6323 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
6325 2001-10-08 Akim Demaille <akim@epita.fr>
6327 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
6328 (Syntax of the shell scripts): Don't.
6329 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
6330 bother with $force since...
6331 * lib/Autom4te/General.pm: does.
6333 2001-10-08 Akim Demaille <akim@epita.fr>
6335 * bin/autoreconf.in: Rewrite in Perl.
6336 * configure.ac: Adjust.
6337 * lib/Autom4te/General.pm (&up_to_date_p): New.
6338 * bin/autom4te.in (&up_to_date_p): Use it.
6340 (&up_to_date): this.
6342 2001-10-08 Akim Demaille <akim@epita.fr>
6344 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
6345 (m4_list_cmp): Use $0 to reinvoke yourself.
6346 (m4_patsubsts): New.
6347 (m4_strip, m4_version_unletter): Use it.
6348 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
6350 2001-10-08 Akim Demaille <akim@epita.fr>
6352 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
6353 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
6354 * lib/autoconf/types.m4, lib/autotest/general.m4,
6355 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
6356 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
6357 m4_bregexp, m4_bpatsubst, and m4_bmatch.
6358 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
6360 2001-10-08 Akim Demaille <akim@epita.fr>
6362 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
6364 2001-10-08 Akim Demaille <akim@epita.fr>
6366 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
6367 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
6368 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
6369 * tests/tools.at, tests/m4sh.at: Use it.
6370 * tests/m4sh.at: Don't rely on Autoconf macros.
6371 (DIRNAME_TEST): Also exercise the expr variant.
6372 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
6373 preferred M4sugar extension is now `.4s'.
6374 * tests/README: Remove.
6376 2001-10-08 Akim Demaille <akim@epita.fr>
6378 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
6379 (m4_provide_if): this.
6380 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
6381 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
6382 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
6383 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
6385 2001-10-08 Akim Demaille <akim@epita.fr>
6387 Use `add-log-current-defun-function' for ChangeLog creation.
6388 Suggested by Tom Tromey.
6390 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
6391 (autotest-mode): Adjust.
6392 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
6393 'comment-region onto `C-c ;'.
6394 Comments are `#', not `dnl'.
6395 (autoconf-current-defun): New.
6396 (autoconf-font-lock-keywords): Recognize `m4_defun'.
6398 2001-10-08 Akim Demaille <akim@epita.fr>
6400 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
6401 * lib/m4sugar/m4sh.m4: here.
6402 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
6403 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
6404 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
6405 include handle the m4_pattern_*, no longer push the
6406 BODY diversion nor set the /bin/sh line, AS_INIT does it.
6407 * lib/autotest/general.m4 (AT_INIT): Likewise.
6408 * tests/base.at: Adjust the tests to use AS_INIT.
6409 * tests/tools.at (AT_DATA_FORBIDDEN): New.
6410 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
6413 2001-10-07 Paul Eggert <eggert@twinsun.com>
6415 * doc/autoconf.texi (config.status Invocation):
6416 CONFIG_SHELL defaults to a shell that supports LINENO if available.
6418 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
6419 shell does not support LINENO, and if CONFIG_SHELL is unset or
6420 empty, and if we can find a shell that does support LINENO,
6421 then set CONFIG_SHELL to that shell and then re-execute
6422 ourselves with CONFIG_SHELL.
6424 2001-10-05 Paul Eggert <eggert@twinsun.com>
6426 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
6427 doesn't exist. Remove *.tmp, as a .tmp file is created during the
6428 build of $(TESTSUITE).
6430 2001-10-05 Akim Demaille <akim@epita.fr>
6432 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
6433 iff we are a bareword.
6434 Reported by Raja R Harinath.
6436 2001-10-05 Akim Demaille <akim@epita.fr>
6438 * tests/m4sh.at (LINENO): New.
6439 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
6440 PATH_SEPARATOR before using it.
6441 Fix the absolute path case/esac pattern.
6442 Provide $0 as fallback for as_myself.
6443 Reported by Raja R Harinath.
6445 2001-10-05 Akim Demaille <akim@epita.fr>
6447 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
6448 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
6450 2001-10-05 Akim Demaille <akim@epita.fr>
6452 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
6453 (AS_SHELL_SANITIZE): here. Use it.
6454 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
6457 2001-10-04 Akim Demaille <akim@epita.fr>
6459 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
6460 combination of Awk and sed to replace $LINENO.
6462 2001-10-02 Paul Eggert <eggert@twinsun.com>
6464 * doc/autoconf.texi (Limitations of Builtins): You can't use
6465 "source"; it's not portable. Remove confusing and
6466 somewhat-incorrect example involving "." and "/".
6468 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
6469 compatibility with POSIX shells.
6471 2001-10-02 Akim Demaille <akim@epita.fr>
6473 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
6474 instead of exec'ing to preserve $0 and $@.
6476 2001-10-01 Akim Demaille <akim@epita.fr>
6478 * tests/testsuite (AT_INIT) <at_pass_list>: New.
6479 Don't run twice the same test.
6481 2001-10-01 Akim Demaille <akim@epita.fr>
6483 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
6484 No longer output the list of tests.
6485 <--list>: New option.
6486 <--full-help>: Remove.
6487 Complete the short/long options duality.
6488 Various small adjustments.
6490 2001-10-01 Akim Demaille <akim@epita.fr>
6492 * doc/autoconf.texi: Use @kbd for user input.
6493 Always use `$' as shell prompt.
6495 2001-09-30 Paul Eggert <eggert@twinsun.com>
6497 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
6498 Don't use nested parenthesization. This patch was originally
6499 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
6500 but somehow it didn't get incorporated then.
6501 * doc/autoconf.texi (Limitations of Usual Tools):
6502 Clarify remark about sed and nested parenthesization.
6504 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
6505 Report an error if the size cannot be determined even though
6507 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6508 Check for `expr' arithmetic overflow, and for compilation failure,
6509 and invoke a new argument $4 if either is discovered.
6510 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
6511 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
6513 2001-09-28 Akim Demaille <akim@epita.fr>
6515 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
6516 * m4/lispdir.m4: New.
6517 * aclocal.m4, configure.ac: Adjust.
6519 2001-09-28 Akim Demaille <akim@epita.fr>
6521 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
6523 (AT_INIT): More the wrapped section to where it will be expanded.
6524 Output `AT_tested' only when existing.
6525 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
6527 2001-09-27 Akim Demaille <akim@epita.fr>
6529 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
6530 generates too many bug reports.
6532 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
6533 status when executing the ACTION-IF-FALSE.
6534 * tests/base.at (AC_TRY_*): Rename as...
6535 (AC_TRY_COMMAND): this.
6536 (AC_RUN_IFELSE): New.
6537 * tests/compile.at (Extensions, C keywords)
6538 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
6539 (Broken/missing compilers, AC_PROG_CPP with warnings)
6540 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
6541 * tests/c.at (Extensions, C keywords)
6542 (Broken/missing compilers, AC_PROG_CPP with warnings)
6543 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
6544 (AC_PROG_CPP requires AC_PROG_CC): here and...
6545 * tests/fortran.at (GNU Fortran 77): there.
6546 * doc/autoconf.texi (autoconf Invocation): Fix the example:
6547 AC_TRY_RUN is about compilation, not shell commands.
6548 (Test Programs): AC_TRY_RUN works as used to be advertised.
6550 2001-09-27 Akim Demaille <akim@epita.fr>
6552 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
6554 Be sure to detect when $LINENO always returns the same value.
6555 Look for the original script, basename($0) is certainly not
6557 Pass the CLI arguments to `$as_me.lineno'.
6559 2001-09-25 Akim Demaille <akim@epita.fr>
6561 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
6562 Be sure the close and reopen the LOG fd before and after using tee
6564 <at_tests_pattern>: Adjust to the new format of at_help_all.
6566 2001-09-23 Akim Demaille <akim@epita.fr>
6568 * bin/autom4te.in (parse_args): There can be several invocations
6571 2001-09-23 Akim Demaille <akim@epita.fr>
6573 * doc/autoconf.texi (Top): Wrap in @ifnottex.
6575 2001-09-23 Akim Demaille <akim@epita.fr>
6577 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
6578 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
6579 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
6580 builddir, buildpath, top_builddir, and top_buildpath.
6581 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
6582 the current directory.
6583 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
6584 variables *before* changing the current directory.
6585 Skip nonexistent dirs.
6586 * doc/autoconf.texi (Preset Output Variables): Document these
6589 * lib/autotest/general.m4: Do not reset AT_victims.
6590 Don't compute at_srcdir nor at_top_srcdir.
6592 * tests/tools.at: Hence use top_srcdir.
6594 * tests/Makefile.am, tests/autoconf, tests/autoheader,
6595 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
6597 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
6598 * tests/wrapsh.in, tests/autoupdate.in: New.
6599 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
6600 * configure.ac: Build the position independent wrappers.
6602 * man/Makefile.am: Now that test wrappers are position
6603 independent, use them and drop dark envvar magic.
6605 2001-09-23 Akim Demaille <akim@epita.fr>
6607 * doc/autoconf.texi (Common Shell Constructs): Rename as...
6608 (Programming in M4sh): this.
6609 Promote to @section.
6611 2001-09-23 Akim Demaille <akim@epita.fr>
6613 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
6614 Pass $at_debug_args to the rerun test suite.
6615 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
6616 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
6619 2001-09-23 Akim Demaille <akim@epita.fr>
6621 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
6623 2001-09-23 Akim Demaille <akim@epita.fr>
6625 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
6628 2001-09-23 Akim Demaille <akim@epita.fr>
6630 * lib/Autom4te/General.pm (&debug): New.
6631 * bin/autom4te.in ($language): Move to...
6633 Handle --language in languages.
6634 * lib/autom4te.in (Automake-selections, Autoheader-selections)
6635 (Autoscan-selections): New.
6638 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
6640 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
6641 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
6642 to match current versions from CVS Automake.
6644 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
6646 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
6649 2001-09-22 Akim Demaille <akim@epita.fr>
6651 * lib/autoconf/autotest.m4: Create `package.m4'.
6652 * tests/Makefile.am (package.m4): Remove.
6654 2001-09-22 Akim Demaille <akim@epita.fr>
6656 Rely on `$LINENO' when possible instead of `__oline__'.
6658 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
6659 `$LINENO' support replacement when not supported.
6660 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
6661 them explicitly to be sure they are not output before this section
6662 (via m4_require). Cosmetic only.
6663 * lib/autoconf/c.m4, lib/autoconf/general.m4,
6664 * lib/autoconf/programs.m4: Replace all the occurrences of
6665 `__oline__' with `$LINENO'.
6666 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
6668 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
6670 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
6671 character (u: -> ue) in a code comment.
6672 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
6675 2001-09-21 Akim Demaille <akim@epita.fr>
6677 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
6678 Suggested by Jim Meyering.
6680 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6682 * lib/autoconf/programs.m4: Use extensions listed in
6683 $ac_executable_extensions when looking for programs.
6685 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6687 * lib/autoconf/general.m4: Fix a small Englisho.
6688 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
6689 setting up ac_dir_suffix and ac_top_builddir.
6690 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
6692 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6694 * doc/autoconf.texi (File System Conventions): Clarify the use of
6696 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
6697 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
6698 be used instead of ':'.
6699 * lib/autotest/general.m4: Replace occurrences of ':' in
6700 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
6702 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6704 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
6705 arguments. Fixed a typo.
6707 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6709 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
6710 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
6712 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6714 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
6715 * bin/autoupdate.in: Ditto.
6716 * bin/autoheader.in: Reworded a few comments.
6717 * bin/autoconf.in: Reworded help text for a few options.
6718 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
6719 * bin/autoscan.in, bin/autoupdate.in: Ditto.
6721 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
6723 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
6724 already have $file). Set output files to binary mode (helps avoid
6725 CR issues on DOSish systems).
6727 2001-09-19 Akim Demaille <akim@epita.fr>
6729 * lib/autotest/general.m4: Englishoes.
6730 From Tim Van Holder and Alexey Mahotkin.
6732 2001-09-18 Paul Eggert <eggert@twinsun.com>
6734 * doc/autoconf.texi (Common Shell Constructs): New node,
6735 documenting AS_DIRNAME.
6736 (Limitations of Usual Tools): Refer to it when discussing dirname.
6737 Also, update discussion of POSIX standard to reflect latest draft.
6739 * lib/autoconf/c.m4:
6740 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
6742 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
6743 Do not pass a first argument with leading '-'
6744 to expr, by parenthesizing initial integers that might be negative.
6746 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
6747 now merely checks whether it is an error to pass an argument
6750 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
6751 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
6752 whether it is a (compile-time) error to pass an argument to
6753 getpgrp. This simpler test supports the revised documentation,
6754 and is all that AC_FUNC_GETPGRP's users really need.
6756 2001-09-18 Akim Demaille <akim@epita.fr>
6758 * doc/autoconf.texi (Limitations of Make) <$<>: New.
6760 2001-09-18 Akim Demaille <akim@epita.fr>
6762 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
6764 * lib/autotest/general.m4 (AT_INIT): Adjust.
6766 2001-09-18 Paul Wagland <paul@wagland.net>
6768 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
6770 Add test for AS_BASENAME.
6771 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
6772 added test. It now correctly handles /1/2/3/, returning '3' not ''.
6773 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
6774 * tests/base.at: Fixed the expected responses. The old ones were
6776 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
6777 the documentation claims it should (and how it behaved in 2.13).
6779 2001-09-18 Akim Demaille <akim@epita.fr>
6781 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
6782 the AC_CONFIG_COMMANDS invocation.
6783 This also solves the name clash problems.
6784 Don't set the package's ID.
6785 * lib/m4sugar/Makefile.am (version.m4): Revamp.
6786 No longer to be shipped.
6787 (version.in): Remove.
6788 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
6789 * lib/autoconf/status.m4: Adjust.
6790 Use `m4_PACKAGE_STRING'.
6791 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
6792 the only optional argument is the name of the test suite.
6793 Expect `package.m4' to define the package signature.
6794 * lib/autom4te.in (Autotest): Add `package.m4?'.
6795 * tests/Makefile.am (package.m4): New.
6796 * tests/suite.at: ifnames is a victim.
6798 2001-09-18 Akim Demaille <akim@epita.fr>
6800 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
6801 AC_LIBSOURCE, AC_CONFIG_FILES.
6802 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
6803 program version string doesn't match the package's.
6804 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
6807 2001-09-17 Paul Eggert <eggert@twinsun.com>
6809 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6810 Allow expression to return any value that can fit into unsigned long
6811 (not int, as before). Check for output errors.
6813 2001-09-17 Bruno Haible <haible@ilog.fr>
6815 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6816 Always include <stdio.h> and <stdlib.h>. Evaluate
6817 the expression in an extra function before these includes. Call
6818 fprintf "%d" only after ensuring the argument is of type 'int'.
6819 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6821 2001-09-17 Paul Eggert <eggert@twinsun.com>
6823 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6824 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6825 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6826 when they don't exist.
6828 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6829 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6832 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6833 version with the version used by fileutils 4.1, except use
6834 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6837 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6839 2001-09-13 Akim Demaille <akim@epita.fr>
6841 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6843 Reported by Gerrit P. Haase.
6845 2001-09-13 Akim Demaille <akim@epita.fr>
6847 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6848 m4_defn'ing is valid.
6850 2001-09-13 Akim Demaille <akim@epita.fr>
6852 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6853 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6856 2001-09-13 Akim Demaille <akim@epita.fr>
6858 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6860 (m4_re_escape): New.
6861 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6862 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6863 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6865 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6866 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6867 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6868 AT_tests_all for consistency.
6870 (AT_VICTIMS): Similar to AT_KEYWORDS.
6871 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6873 2001-09-13 Akim Demaille <akim@epita.fr>
6875 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6877 2001-09-13 Akim Demaille <akim@epita.fr>
6879 * lib/autotest/general.m4 (AT_INIT): Create and remove
6880 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6881 test suites can cohabit.
6883 2001-09-13 Akim Demaille <akim@epita.fr>
6885 * tests/mktests.sh: Don't output banners for empty test files.
6887 2001-09-13 Akim Demaille <akim@epita.fr>
6889 Test suites can be run independently of configure.
6891 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6892 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6893 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6895 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6897 * lib/autotest/general.m4: Use ECHO_*.
6899 2001-09-13 Akim Demaille <akim@epita.fr>
6901 * bin/ifnames.in: Rewrite in Perl.
6902 * configure.ac: Don't look for AWK.
6903 * tests/tools.at (AWK portability): Remove.
6904 (Syntax of the shell scripts): Don't check ifnames.
6905 (AT_CHECK_PERL_SYNTAX): New.
6906 (Syntax of the Perl scripts): Check ifnames.
6907 * tests/ifnames: New.
6909 2001-09-13 Akim Demaille <akim@epita.fr>
6911 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6913 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6914 Remove all the other keywords.
6916 2001-09-10 Akim Demaille <akim@epita.fr>
6918 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6919 SETUP: no longer used.
6920 Support -k, --keywords.
6921 <at_help>: Be `no', `short', or `long'.
6922 <at_help_all>: New variable.
6924 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6925 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6926 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6927 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6928 No longer fill the HELP diversion.
6929 (AT_CLEANUP): Use them.
6930 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6931 (m4_list_append): Remove.
6933 Spread a few keywords in the Autoconf test suite.
6935 2001-09-10 Akim Demaille <akim@epita.fr>
6937 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6938 PATH_SEPARATOR, let M4sh compute it.
6939 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6940 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6942 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6943 Simplify when the path is not a literal.
6944 (AS_UNAME): Use it to report PATH.
6945 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6946 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6947 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6948 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6949 normalize the path, and to look for victims.
6950 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6951 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6953 2001-09-07 Akim Demaille <akim@epita.fr>
6955 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6956 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6957 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6958 related variables into `at_package_*'.
6959 * lib/autotest/general.m4 (AT_VICTIMS): New.
6960 (AT_INIT): Adjust for stand-alone/embedded test suites.
6961 (AS_MESSAGE_LOG_FD): Define and use it.
6962 * tests/suite.at (AT_VICTIMS): Use it.
6963 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6966 2001-09-07 Akim Demaille <akim@epita.fr>
6968 Move toward possibly stand-alone test suites.
6970 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6971 in addition, it introduces useless differences in logs.
6972 (AT_INIT): Let atconfig and atlocal be both optional.
6973 Adjust PATH computation.
6974 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6976 2001-09-07 Akim Demaille <akim@epita.fr>
6978 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6981 2001-09-05 Akim Demaille <akim@epita.fr>
6983 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6984 to avoid GCC warnings.
6987 2001-09-05 Akim Demaille <akim@epita.fr>
6989 * bin/autom4te.in: --language is -l, not -s.
6991 2001-09-05 Akim Demaille <akim@epita.fr>
6993 Be ready to handle filenames as stupid as `dnl.at', for if even
6994 the maintainer is dumb enough to do that...
6996 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6997 excellence in M4 quotation: consider `__file__' is active.
6999 And BTW, when invoking m4, pass the --include in the right order:
7002 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
7005 2001-09-05 Akim Demaille <akim@epita.fr>
7007 * lib/Autom4te/XFile.pm: New lib file.
7008 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
7009 * bin/autoheader.in: Use it.
7011 2001-09-05 Akim Demaille <akim@epita.fr>
7013 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
7016 2001-09-05 Akim Demaille <akim@epita.fr>
7018 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
7019 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
7021 * bin/autoscan.in: Use `getopt' and `find_files' etc.
7022 Add -I, --include support.
7023 * doc/autoconf.texi (autoscan Invocation): Adjust.
7025 2001-09-05 Akim Demaille <akim@epita.fr>
7027 CVS GNU M4 doesn't like `undefine(undefined)'.
7029 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
7030 New, extracted from main.
7031 Use IO::File wherever possible.
7032 (input.m4): Be constant, use -I instead of hard coding $tmp.
7033 Therefore be a quoted heredoc.
7034 Don't invoke `_au_disable', since ac was not loaded, but just
7037 2001-08-31 Akim Demaille <akim@epita.fr>
7041 2001-08-31 Akim Demaille <akim@epita.fr>
7043 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
7045 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
7047 2001-08-31 Akim Demaille <akim@epita.fr>
7049 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
7050 serious problems handling heredocs in heredocs.
7051 Reported by Nicolas Joly.
7053 2001-08-31 Akim Demaille <akim@epita.fr>
7055 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
7056 (Making testsuite Scripts): Update.
7058 2001-08-31 Akim Demaille <akim@epita.fr>
7060 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
7062 2001-08-31 Akim Demaille <akim@epita.fr>
7064 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
7065 (testsuite Scripts): There is no such thing as `atconfig.in'.
7066 And actually one diagram is missing: test suite runtime.
7068 2001-08-31 Akim Demaille <akim@epita.fr>
7070 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
7073 2001-08-31 Akim Demaille <akim@epita.fr>
7075 * bin/autoupdate.in (@include): `installcheck' revealed the path
7076 to m4sugar was lacking!
7078 2001-08-31 Akim Demaille <akim@epita.fr>
7080 * man/Makefile.am (.x.1): We really have to pass
7081 autom4te_perllibdir.
7083 2001-08-31 Akim Demaille <akim@epita.fr>
7085 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
7086 debug scripts, in particular passing explicitly listed tests to
7089 2001-08-31 Akim Demaille <akim@epita.fr>
7091 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
7092 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
7093 Use directly autom4te, not autoconf.
7094 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
7096 2001-08-31 Akim Demaille <akim@epita.fr>
7098 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
7099 * bin/autoheader.in (%symbol): Strip arguments of macros.
7101 2001-08-31 Akim Demaille <akim@epita.fr>
7103 * doc/autoconf.texi: Catch up -I, --include changes.
7105 2001-08-31 Akim Demaille <akim@epita.fr>
7107 * bin/autom4te.in (&parse_args): Die on unknown languages.
7108 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
7110 Promote --include over --macrodir and other obsolete options.
7112 2001-08-31 Akim Demaille <akim@epita.fr>
7114 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7115 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7116 * bin/autom4te.in ($autoconf): Pass --force.
7117 `print $out' doesn't print `$_' but `$out'.
7118 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7119 (autoheader): Pass --force since the test suite goes too fast for
7121 Adjust to the new autoheader messages.
7123 2001-08-31 Akim Demaille <akim@epita.fr>
7125 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7126 Check the completeness of the #template.
7127 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7128 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7131 2001-08-31 Akim Demaille <akim@epita.fr>
7133 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7134 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7135 Drop AC_MACRODIR dead for real.
7136 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7137 `autoheader: `config.hin' is created'.
7138 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7140 2001-08-31 Akim Demaille <akim@epita.fr>
7142 * bin/autoheader.in: Rewrite in Perl.
7143 * tests/autoheader: Adjust.
7145 2001-08-31 Akim Demaille <akim@epita.fr>
7147 * bin/autoconf.in (--include, -I): New option.
7148 Map --localdir, --autoconf-dir onto it.
7149 Forward autom4te's options instead of interpreting them.
7150 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7151 There is no such envvar since the inception of autom4te.cfg.
7152 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7153 * bin/autoupdate.in: Adjust, and perform more control.
7154 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7155 * tests/autoconf: Dittowise.
7157 2001-08-31 Akim Demaille <akim@epita.fr>
7159 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7160 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7162 Use -e, not -f, since /dev/null for instance is OK.
7163 (&parse_args): Adjust.
7164 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7166 2001-08-31 Akim Demaille <akim@epita.fr>
7168 * configure.ac: Also find tested executables in bin.
7169 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7170 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7171 installed peer executables, only PATH is allowed to resolve it.
7172 Pass `autoconf_dir' via options, not via invisible envvars.
7173 * lib/Autom4te/General.pm (&find_peer): Remove.
7174 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7175 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7176 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7177 find the executables for it.
7178 * tests/Makefile.am: Major cleanup. Too lazy to document...
7179 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7181 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7182 indeed related to running the test suite, while passing
7183 --autoconf-dir and others is related to running non installed
7184 Autoconf executables. So don't do that, leave it to...
7185 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7186 * tests/autoscan: New.
7187 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7188 refer to library files: rely on --language.
7190 2001-08-29 Akim Demaille <akim@epita.fr>
7192 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7193 s/--set/--language/.
7195 2001-08-29 Akim Demaille <akim@epita.fr>
7197 * doc/autoconf.texi: Strip the @nodes.
7198 Suggested by Paul Eggert.
7199 (Initializing configure): Typo.
7201 2001-08-29 Akim Demaille <akim@epita.fr>
7203 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7204 Suggested by Paul Eggert.
7206 2001-08-29 Akim Demaille <akim@epita.fr>
7208 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7209 download in a tmp dir.
7211 2001-08-29 Akim Demaille <akim@epita.fr>
7213 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
7214 case insensitive OSes out there :(
7215 From Tim Van Holder.
7217 2001-08-29 Akim Demaille <akim@epita.fr>
7219 * lib/autom4te.in: New.
7220 * lib/Makefile.am (edit, autom4te.cfg): New.
7221 * bin/autom4te.in (BEGIN): Simplify.
7222 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
7223 (&load_configuration): New. Use it.
7224 (&parse_args): Support --mode, --set, and --melt.
7225 * bin/autoconf.in: Simplify and adjust.
7226 * tests/Makefile.am (AUTOMAKE): Use --set.
7227 * tests/atlocal.in: Adjust.
7228 * BUGS: distcheck and check are weak.
7230 2001-08-29 Akim Demaille <akim@epita.fr>
7232 * lib/autotest/general.m4: Use
7233 foo=`(command) 2>/dev/null`
7235 foo=`command` 2>/dev/null
7236 (at-devnull): Rename as...
7238 (--clean): Remove AT-* files too.
7239 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
7240 Reported by Nicolas Joly.
7242 2001-08-28 Akim Demaille <akim@epita.fr>
7244 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
7245 quotes inside single quotes.
7246 Reported by Nicolas Joly.
7248 2001-08-28 Kevin Ryde <user42@zip.com.au>
7250 * doc/autoconf.texi (Function Portability): Mention C right shifts.
7252 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
7254 * lib/autotest/general.m4: Reword some messages.
7255 (AT_INIT): Check for the `times' builtin before using it.
7256 Support test ranges as arguments to the testsuite.
7257 Have -e imply -d as the help text suggested.
7259 2001-08-27 Akim Demaille <akim@epita.fr>
7261 * Makefile.maint: Formatting changes.
7262 (do-po-update, po-update, cvs-update, update): New targets.
7265 2001-08-27 Akim Demaille <akim@epita.fr>
7267 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
7269 Pass it to debug-*.sh scripts.
7270 <AUTOTEST_PATH>: May contain absolute dir names.
7272 2001-08-27 Akim Demaille <akim@epita.fr>
7274 * lib/autotest/general.m4 (AT_INIT): Log the command line.
7275 Support `VAR=VAL' as arguments.
7276 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
7277 may be set via the command line.
7279 2001-08-27 Akim Demaille <akim@epita.fr>
7281 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
7282 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
7283 first the build dirs, then the src dirs.
7284 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
7286 2001-08-27 Akim Demaille <akim@epita.fr>
7288 * lib/autotest/general.m4 (AT_INIT): Output the definition of
7289 at_data_files earlier.
7290 (--clean, -c): New option.
7291 * tests/Makefile.am: Use this option.
7293 2001-08-27 Akim Demaille <akim@epita.fr>
7295 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
7296 `ac_top_builddir' to mimic Automake's vocabulary, which much more
7299 * doc/autoconf.texi (Configuration Actions): Document the vars
7300 available in commands.
7301 Emphasize the risks of collisions in init-cmds.
7303 2001-08-27 Akim Demaille <akim@epita.fr>
7305 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
7306 (Initializing configure): this new node.
7308 2001-08-27 Akim Demaille <akim@epita.fr>
7310 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
7312 2001-08-27 Akim Demaille <akim@epita.fr>
7314 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
7315 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
7317 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
7319 2001-08-27 Akim Demaille <akim@epita.fr>
7321 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
7323 * lib/autoconf/autoheader.m4: this new file.
7324 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
7325 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
7327 * lib/autoconf/autoupdate.m4: this new file.
7329 2001-08-27 Akim Demaille <akim@epita.fr>
7331 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
7332 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
7333 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
7335 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
7336 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
7338 2001-08-27 Akim Demaille <akim@epita.fr>
7340 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
7341 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
7342 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
7343 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
7344 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
7345 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
7346 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
7347 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
7348 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
7349 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
7350 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
7351 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
7352 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
7353 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
7354 (_AC_OUTPUT_SUBDIRS): Move to...
7355 * lib/autoconf/status.m4: this new file.
7356 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
7357 * tests/Makefile.am, tests/suite.at: Adjust.
7359 2001-08-27 Akim Demaille <akim@epita.fr>
7363 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
7364 (AMTAR): Help automake define it.
7365 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
7366 needed, 1.5 can have a macro and a target with the same name.
7367 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
7369 * m4/init.m4, m4/sanity.m4: Update.
7370 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
7371 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
7372 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
7373 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
7375 2001-08-27 Akim Demaille <akim@epita.fr>
7377 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
7379 * lib/autoconf/version.in: Remove.
7380 * lib/m4sugar/version.in: New.
7381 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
7383 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
7384 the name of the directory they're in, instead of the filename,
7385 since version.m4 is now in m4sugar, but m4_acversion must not be
7386 classified as an Autoconf macro.
7387 ($input_m4): Don't qualify the path to m4sugar.
7388 Rather, pass autoconf_dir to m4.
7389 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
7390 * tests/suite.at: Require 2.52c.
7392 2001-08-27 Akim Demaille <akim@epita.fr>
7394 testsuite.log should include config.log.
7396 * lib/autotest/autotest.m4: New.
7397 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
7398 * tests/suite.at : Adjust.
7399 (AT_INIT): Log config.log.
7400 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
7401 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
7402 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
7403 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
7404 of config.log on traps.
7405 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
7406 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
7408 Open the log as soon as possible.
7409 Use the same log introduction as configure's.
7411 2001-08-22 Paul Eggert <eggert@twinsun.com>
7413 * doc/autoconf.texi (Indices): New node.
7414 Move indices out of the top level menu and into this submenu.
7416 2001-08-22 Akim Demaille <akim@epita.fr>
7418 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7420 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
7422 2001-08-22 Akim Demaille <akim@epita.fr>
7424 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
7425 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
7426 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
7427 * lib/autoconf/programs.m4: here.
7428 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
7429 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
7430 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
7431 * lib/autoconf/programs.m4: here.
7432 (_AC_DECL_YYTEXT): Rename as...
7433 (_AC_PROG_LEX_YYTEXT_DECL): this.
7434 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
7435 * tests/Makefile.am, tests/suite.am: Adjust.
7437 2001-08-22 Akim Demaille <akim@epita.fr>
7439 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
7441 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
7443 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
7444 * lib/autoconf/functions.m4: here.
7445 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
7446 (AH_CHECK_LIB): Move to...
7447 * lib/autoconf/libs: this new file.
7448 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
7449 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
7450 * lib/autoconf/libs.m4: here.
7451 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
7453 2001-08-22 Akim Demaille <akim@epita.fr>
7455 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
7456 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
7457 (AC_SITE_LOAD): Better logging of config.site.
7459 2001-08-20 Akim Demaille <akim@epita.fr>
7461 * configure.ac (AT_CONFIG): Fix the path.
7462 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
7465 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
7467 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
7468 program with AC_LANG_PROGRAM before feeding it to
7469 AC_COMPILE_IFELSE. Cleanup grep usage.
7471 2001-08-20 Akim Demaille <akim@epita.fr>
7473 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
7474 * NEWS, README, README-alpha, TODO, tests/README: This package is
7475 `Autoconf', not `autoconf' (the executable).
7477 2001-08-20 Akim Demaille <akim@epita.fr>
7479 Info readers seem to need `Index' in the index node title :(
7481 * doc/autoconf.texi: Reverse the 2001-08-15 change which
7482 simplified index node names.
7484 2001-08-20 Akim Demaille <akim@epita.fr>
7486 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
7487 arguments are not literals.
7488 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
7489 Specify the output variables, and macros defined.
7491 2001-08-20 Akim Demaille <akim@epita.fr>
7493 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
7494 (Examining Syntax) <AC_TRY_COMPILE>
7495 (Examining Libraries) <AC_TRY_LINK>
7496 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
7498 Reported by Werner Lemberg.
7500 2001-08-20 Akim Demaille <akim@epita.fr>
7502 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
7503 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
7504 Load atlocal late enough to dump it in the log.
7505 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
7507 2001-08-20 Akim Demaille <akim@epita.fr>
7509 * tests/torture.at (Configuring subdirectories): New test.
7510 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
7512 * m4/atconfig.m4: Be sure the let $[0] be expandable.
7513 (top_srcdir): Fix its computation.
7515 2001-08-20 Akim Demaille <akim@epita.fr>
7517 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
7518 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
7520 Create `atconfig' automagically.
7521 Configure atlocal.in if present.
7522 * tests/atconfig.in: Remove.
7523 * tests/atlocal.in: New.
7524 * tests/Makefile.am: Adjust.
7526 2001-08-20 Akim Demaille <akim@epita.fr>
7528 Huh!?!?! There are still some user EOF tags used, which prevents
7529 their use in AC_CONFIG_COMMANDS for instance...
7531 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
7532 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
7533 `_CSEOF', or `_ATEOF', as appropriate.
7534 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
7535 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
7537 2001-08-20 Akim Demaille <akim@epita.fr>
7539 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
7540 * tests/semantics.at, tests/tools.at, tests/torture.at:
7541 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
7543 2001-08-20 Akim Demaille <akim@epita.fr>
7545 Autotest invokes M4sh's initialization.
7547 * lib/autotest/general.m4: Adjust the diversion names.
7548 (AT_INIT): Run AS_INIT.
7549 Use the BINSH diversion to invoke /bin/sh.
7550 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
7551 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
7553 2001-08-20 Akim Demaille <akim@epita.fr>
7555 Let M4sh have its own diversions.
7557 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
7558 (_m4_divert(NOTICE)): Rename as...
7559 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
7560 (_m4_divert(HEADER-COMMENT)): these.
7561 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
7562 (_m4_divert(NOTICE)): New, for Libtool.
7563 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
7564 long ago with `_m4_divert(GROW)'.
7565 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
7567 2001-08-20 Akim Demaille <akim@epita.fr>
7569 * tests/base.at, tests/compile.at, tests/foreign.at,
7570 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
7571 * tests/semantics.at, tests/suite.at, tests/tools.at,
7572 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
7574 2001-08-20 Akim Demaille <akim@epita.fr>
7576 * bin/autom4te.in (handle_output): Handle @__@.
7578 2001-08-20 Akim Demaille <akim@epita.fr>
7580 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
7581 * lib/autotest/general.m4: Adjust the license.
7583 2001-08-17 Paul Eggert <eggert@twinsun.com>
7585 * doc/autoconf.texi (Function Portability): Mention snprintf,
7586 following up on a suggestion by Kevin Ryde.
7588 2001-08-17 Akim Demaille <akim@epita.fr>
7590 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
7591 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
7593 2001-08-17 Akim Demaille <akim@epita.fr>
7595 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
7596 `$0.log' as for projects where testsuite is in src, we'd have
7597 testsuite.log created in src.
7599 2001-08-17 Akim Demaille <akim@epita.fr>
7601 * bin/autom4te.in (&parse_args): Recognize --normalize.
7603 2001-08-17 Akim Demaille <akim@epita.fr>
7605 Start implementing the AC_CHECK_HEADER transition scheme.
7607 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
7608 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
7609 (AC_CHECK_HEADER): Use them.
7611 2001-08-17 Akim Demaille <akim@epita.fr>
7613 * doc/autoconf.texi: Work around Texinfo buglets.
7614 (Transformation Rules): One example is enough, users are expected
7615 to have their brains on. And BTW, use DESTDIR.
7616 (dvar): New macro. Use it.
7618 2001-08-17 Akim Demaille <akim@epita.fr>
7620 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
7621 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
7622 looking for ChangeLogs.
7624 2001-08-17 Akim Demaille <akim@epita.fr>
7626 * bin/autom4te.in: --normalize is a new option.
7627 * bin/autoconf.in: Use it.
7629 2001-08-17 Akim Demaille <akim@epita.fr>
7631 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
7632 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
7634 2001-08-16 Paul Eggert <eggert@twinsun.com>
7636 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
7639 2001-08-15 Akim Demaille <akim@epita.fr>
7641 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
7644 2001-08-15 Akim Demaille <akim@epita.fr>
7646 * doc/autoconf.texi (pr): New index.
7647 (prindex, findex): Use, merge, and output them.
7648 (Environment Variable Index, Output Variable Index)
7649 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
7650 (Autotest Macro Index): Rename as...
7651 (Environment Variables, Output Variables,Preprocessor Symbols)
7652 (Autoconf Macros, M4 Macros, Autotest Macros): these.
7653 * doc/install.texi: Use @command.
7654 (Environment Variables): Rename as...
7655 (Defining Variables): this.
7657 2001-08-15 Akim Demaille <akim@epita.fr>
7659 * doc/autoconf.texi (Function Portability): sprintf's return
7663 2001-08-15 Akim Demaille <akim@epita.fr>
7665 * Makefile.maint (CVS): New.
7666 (local-check): Run changelog-check. last.
7667 (alpha): Don't depend upon local-check, since...
7668 (cvs-dist): depends upon it.
7670 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
7672 * tests/Makefile.am: Use a clean-local rule to remove
7673 autom4te.cache (it's a directory, not a file.
7674 * Makefile.am: Ditto (but maintainer-clean-local).
7676 2001-08-15 Akim Demaille <akim@epita.fr>
7678 * bin/autom4te.in (@m4_warning): New.
7679 (&handle_m4): Use it.
7680 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
7681 warnings are issued at each run.
7682 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
7685 2001-08-15 Akim Demaille <akim@epita.fr>
7687 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
7688 don't waste time running `autoupdate --version' works.
7689 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
7691 2001-08-13 Akim Demaille <akim@epita.fr>
7693 * doc/autoconf.texi (ma): Rename this index as...
7696 2001-08-13 Akim Demaille <akim@epita.fr>
7698 * Makefile.am: Remove dead code and dead comments.
7699 (pdf, html): New targets.
7700 * doc/autoconf.texi (Using Autotest): New chapter.
7701 * doc/Makefile.am (pdf): New targets.
7702 (CLEANFILES): Adjust.
7704 2001-08-13 Akim Demaille <akim@epita.fr>
7706 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
7707 duration of the test suite.
7709 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7711 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
7712 endianness for comparison instead of relying on AT_CHECK_ENV.
7714 2001-08-11 Paul Eggert <eggert@twinsun.com>
7716 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
7717 to the INSTALL file.
7719 2001-08-11 Paul Eggert <eggert@twinsun.com>
7721 * NEWS: The autoconf manual now is distributed under the terms
7722 of the GNU Free Documentation License.
7724 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
7725 Add an appendix "Copying This Manual" for the FDL.
7727 * doc/fdl.texi: New file, from
7728 <http://www.gnu.org/licenses/fdl.texi>.
7730 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
7732 2001-08-10 Paul Eggert <eggert@twinsun.com>
7734 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
7735 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
7736 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
7737 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
7738 m4/sanity.m4, tests/README, tests/aclocal.m4,
7739 tests/atspecific.m4, tests/base.at, tests/compile.at,
7740 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
7741 tests/semantics.at, tests/suite.at, tests/tools.at,
7742 tests/torture.at: Add copyright notice.
7744 * tests/mktests.sh: Update year in copyright notice.
7746 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
7748 * tests/semantics.at (AC_C_BIGENDIAN): New test.
7750 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7752 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
7753 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
7754 * doc/autoconf.texi (C Compiler Characteristics): Update
7755 documentation for AC_C_BIGENDIAN.
7757 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
7759 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
7760 magic values from an object file when cross-compiling.
7761 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
7763 2001-08-10 Akim Demaille <akim@epita.fr>
7765 * bin/autom4te.in (&handle_output): Don't use `grep' with side
7767 Suggested by Russ Allbery.
7769 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7771 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
7772 current $prefix to the sub-configures.
7774 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
7776 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
7777 extension (needed on BeOS). Reported by Guido van Rossum.
7779 2001-08-09 Akim Demaille <akim@epita.fr>
7781 * bin/autom4te.in ($icache): Load it only if older than autom4te.
7783 2001-08-07 Akim Demaille <akim@epita.fr>
7785 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
7787 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
7788 No need to remove the files before and after the each test, before
7789 each test and at the end of the suite is enough.
7790 Display only the children `times', not the shell's.
7791 If the test failed or was skipped, at-times is not available.
7793 2001-08-07 Akim Demaille <akim@epita.fr>
7795 Always produce testsuite.log, including when there are no
7796 failures. This helps getting information on skipped tests, and
7797 duration of the tests. Err, implement the latter btw.
7799 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
7800 Dump information on the first run of each test.
7801 (AT_CLEANUP): Create `at-times' containing the duration of the
7804 2001-08-07 Akim Demaille <akim@epita.fr>
7806 The use of `dumpstat' revealed that `len' was used although it
7807 should not. m4_text_wrap was using it, but in the Autoconf world
7808 where it is legal. Hence (i) test M4sh in its own world, not
7809 Autoconf's, and (ii), ahem, fix the bug :)
7811 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7812 does not like `' instead of [].
7813 (AT_INIT): Forbid `^_?AT_'.
7814 And don't output such tokens.
7815 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7816 `script.as', and `autom4te.cache'.
7817 Remove `empty' and `macro' which are no longer used.
7818 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7819 * tests/m4sugar.at: Use it.
7820 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7822 2001-08-07 Akim Demaille <akim@epita.fr>
7824 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7826 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7828 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7830 2001-08-04 Akim Demaille <akim@epita.fr>
7832 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7833 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7835 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7836 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7837 (AC_F77_MAIN): Likewise.
7839 2001-08-04 Akim Demaille <akim@epita.fr>
7841 Don't rely on M4sugar outputting the patterns in files, since we
7842 might process the output _without_ running m4, hence without these
7845 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7846 * bin/autom4te.in (@Request::includes): Remove, unused.
7847 (@Request::source): Rename as...
7848 (@Request::input): this.
7849 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7850 (&handle_output): Fetch the patterns from the traces.
7851 `$forbidden' and `$allowed' are constant: use m//o.
7852 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7853 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7855 2001-08-04 Akim Demaille <akim@epita.fr>
7857 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7858 autoconf', i.e., in addition to caching traces, cache the output.
7860 * bin/autom4te.in (Request::cache): Rename as...
7861 (Request::id): this.
7862 ($cache, $icache, $tcache, $ocache): New.
7863 (&handle_m4): Save M4 output in the cache instead of $tmp.
7864 (&handle_output): Adjust.
7865 (&up_to_date_p): Check that the output cache is up to date too.
7866 (top level): Run `&handle_m4' iff force or the cache is invalid.
7867 Run `&handle_output' if the output cache is more recent.
7869 2001-08-04 Akim Demaille <akim@epita.fr>
7871 * bin/autom4te.in ($force): New.
7872 (&parse_args, &print_usage): -f, --force is a new option.
7873 (&handle_output): CPP directives might have spaces after `#'.
7874 (&parse_args): The first file only can be frozen.
7876 2001-08-04 Akim Demaille <akim@epita.fr>
7878 Don't let autom4te compute the `include' traces several times:
7879 first check that the trace cache file is up to date, and then
7880 compare its timestamp with that of the output.
7882 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7883 the preamble. Don't require 5.005 as Autom4te::General does it,
7884 and better yet (use `use', not `require'!).
7885 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7886 Class::Struct as Autom4te::Struct.
7887 * lib/Autom4te/General.pm (File::stat): Use it.
7888 (&mtime): New, export it.
7889 * bin/autom4te.in: Use it.
7890 Declare `$req' is invalid if it is outdated.
7891 Don't declare it valid before saving it if something went wrong.
7893 2001-08-04 Akim Demaille <akim@epita.fr>
7895 Autom4te shall not encode Autoconf data, and preselecting traces
7896 must be proposed to the users.
7898 * bin/autom4te.in (@required_trace): Remove.
7900 (&parse_args, &print_usage): -p, --preselect is a new option.
7901 (&up_to_date_p): Adjust.
7902 * bin/autoconf.in: Preselect some Autoconf macros.
7904 2001-08-04 Akim Demaille <akim@epita.fr>
7906 * tests/tools.at (autoconf --trace: user macros): Check traces on
7907 macros invoked without arguments, and macros invoked with multiple
7910 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7912 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7915 2001-08-03 Akim Demaille <akim@epita.fr>
7917 * bin/autoconf.in ($@): Work around the usual sh bug.
7920 2001-08-03 Akim Demaille <akim@epita.fr>
7922 Clean up the handling of the M4 builtins tracing exception.
7924 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7926 (@m4_builtins): Rename as...
7927 (@m4_builtin): this.
7928 (%m4_builtin_alternate_name): New.
7929 (&parse_args): Complete the trace requests with alternate names.
7930 (&handle_traces): Hence no longer do it here.
7931 (&trace_requests): Remove, unused.
7933 2001-08-03 Akim Demaille <akim@epita.fr>
7935 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7938 2001-08-03 Akim Demaille <akim@epita.fr>
7940 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7941 (m4_divert_pop): Dump the whole diversion stack when a diversion
7943 * bin/autom4te.in (&handle_output): Remember of the first
7944 occurrence of a possibly undefined macro, not the last.
7945 Complain about the possibly undefined macros in the same order as
7946 the appear in the output.
7947 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7948 * tests/tools.at (autoconf: forbidden tokens, basic)
7949 (autoconf: forbidden tokens, exceptions): No longer sort
7950 autoconf's stderr, as it is now deterministic.
7951 Check that `dnl' is caught.
7953 2001-08-01 Akim Demaille <akim@epita.fr>
7955 * configure.ac: Bump to 2.52c.
7957 2001-08-01 Akim Demaille <akim@epita.fr>
7961 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7963 2001-08-01 Akim Demaille <akim@epita.fr>
7967 2001-08-01 Akim Demaille <akim@epita.fr>
7969 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7972 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7973 `END', as `Autom4te::General::END' will be triggered.
7974 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7975 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7976 system to run `mv', `rm', and `cmp'.
7978 2001-08-01 Akim Demaille <akim@epita.fr>
7980 * lib/Autom4te/General.pm (&unique): New.
7981 * bin/autoscan.in (&output): Use it to issue trace requests once.
7983 2001-08-01 Akim Demaille <akim@epita.fr>
7985 * lib/Autom4te/General.pm: New.
7986 * bin/autom4te.in (Autom4te::General): Use it.
7987 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7988 (&find_configure_ac, &find_slave): Remove.
7989 * bin/autoscan.in: Likewise.
7990 * bin/autoupdate.in: Likewise.
7992 2001-08-01 Akim Demaille <akim@epita.fr>
7994 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7995 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7996 * bin: here, new directory.
7997 * lib/Autoconf: Rename as...
7998 * lib/Autom4te: this, to please case insensitive junkie OSes.
8000 2001-08-01 Akim Demaille <akim@epita.fr>
8002 * autom4te.in ($m4): Handle the --nesting-limit.
8003 * autoconf.in (M4): Remove.
8005 2001-08-01 Akim Demaille <akim@epita.fr>
8007 * autoconf.in ($AWK): Remove, no longer used.
8008 * test/tools.at: Use AT_CHECK_AUTOCONF.
8009 (AWK portability): Remove, for autoconf no longer uses AWK.
8010 (Syntax of the Perl scripts): New.
8011 * configure.ac: autoconf no longer needs an AWK with a good
8013 Use a static test on AC_PACKAGE_VERSION.
8014 * autom4te.in (&up_to_date_p): Output depends on the arguments.
8015 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
8016 * tests/atconfig.in (PERL): New.
8018 2001-08-01 Akim Demaille <akim@epita.fr>
8020 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
8021 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
8022 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
8023 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
8024 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
8025 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
8026 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
8027 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
8028 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
8029 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
8030 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
8031 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
8032 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
8033 * lib/autoconf/c.m4: here, new file.
8035 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
8036 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
8037 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
8038 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
8039 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
8040 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
8041 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
8042 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
8043 (AC_F77_FUNC): Move to...
8044 * lib/autoconf/fortran.m4: here, new file.
8046 2001-08-01 Akim Demaille <akim@epita.fr>
8048 * acfunctions.m4: Rename as...
8049 * lib/autoconf/functions.m4: this.
8050 * acgeneral.m4: Rename as...
8051 * lib/autoconf/general.m4: this.
8052 * acheaders.m4: Rename as...
8053 * lib/autoconf/headers.m4: this.
8054 * aclang.m4: Rename as...
8055 * lib/autoconf/lang.m4: this.
8056 * acoldnames.m4: Rename as...
8057 * lib/autoconf/oldnames.m4: this.
8058 * acspecific.m4: Rename as...
8059 * lib/autoconf/specific.m4: this.
8060 * actypes.m4: Rename as...
8061 * lib/autoconf/types.m4: this.
8062 * autoconf.m4: Rename as...
8063 * lib/autoconf/autoconf.m4: this.
8065 * m4sugar.m4: Rename as...
8066 * lib/m4sugar/m4sugar.m4: this.
8067 * m4sh.m4: Rename as...
8068 * lib/m4sugar/m4sh.m4: this.
8070 * tests/atgeneral.m4: Rename as...
8071 * lib/autotest/general.m4: this.
8073 * acfunctions: Rename as...
8074 * lib/autoscan/functions: this.
8075 * acheaders: Rename as...
8076 * lib/autoscan/headers: this.
8077 * acidentifiers: Rename as...
8078 * lib/autoscan/identifiers: this.
8079 * aclibraries: Rename as...
8080 * lib/autoscan/libraries: this.
8081 * acmakevars: Rename as...
8082 * lib/autoscan/makevars: this.
8083 * acprograms: Rename as...
8084 * lib/autoscan/programs: this.
8086 2001-08-01 Akim Demaille <akim@epita.fr>
8088 * doc/autoconf.texi: Moving/deleting open files is not portable.
8089 Portability issues for `.' (source), and more information about sed.
8091 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
8093 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
8094 which has a special meaning and is not a reference to libibmil.a.
8095 Reported by Matteo Frigo.
8097 2001-07-25 Pavel Roskin <proski@gnu.org>
8099 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
8102 2001-07-25 Akim Demaille <akim@epita.fr>
8104 * autoconf.in: Try to define the variables before using them.
8105 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
8106 instead of `$perllibdir'.
8107 * tests/atconfig.in ($autom4te_perllibdir): Export it.
8109 2001-07-25 Akim Demaille <akim@epita.fr>
8111 * autoconf.in (ac_LF_and_DOT): Remove, unused.
8113 2001-07-24 Akim Demaille <akim@epita.fr>
8115 Let autoconf use autom4te for traces.
8117 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8119 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8120 (Because I found no way for autom4te to accept `-').
8121 * autom4te.in (&Request::request): Beware of M4 builtins.
8122 (END): Don't try to remove the content of an empty dir.
8123 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8124 (&handle_output): Set a default value to `$forbidden'.
8125 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8126 ($autoconf): Pass --debug and --verbose.
8127 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8130 2001-07-24 Akim Demaille <akim@epita.fr>
8132 Let autoconf use autom4te to create configure.
8134 * autoconf.in ($automate): New var.
8135 (task script): Use autom4te.
8136 * autom4te.in (File::Spec): Use it.
8138 (&parse_args): --warning is -W, not -w.
8139 Find the top level files.
8140 (&handle_m4): Pass the warnings flags.
8141 Don't report verbosely m4's failures, unless requested.
8142 (&handle_output): Don't complain for forbidden tokens in comments.
8143 Be sure to report all the forbidden tokens within a single line.
8144 (&trace_format_to_m4): Preserve `$_'.
8145 (&handle_traces): Sort the output macros.
8146 (&up_to_date_p): Find the files before trying to get its time stamp.
8148 2001-07-24 Akim Demaille <akim@epita.fr>
8150 * Makefile.am: Ship, build and install Autom4te.
8152 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8153 * configure.in: Require Perl.
8154 * man/autom4te.in: New.
8156 2001-07-19 Paul Eggert <eggert@twinsun.com>
8158 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8159 example, rather than (exit 1); exit (which isn't portable).
8161 2001-07-18 Akim Demaille <akim@epita.fr>
8165 2001-07-18 Akim Demaille <akim@epita.fr>
8167 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8168 was run, while they are needed also when it is expanded.
8169 Reported by Nicolas Joly.
8171 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8172 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8173 AC_F77_DUMMY_MAIN being expanded.
8175 2001-07-18 Akim Demaille <akim@epita.fr>
8177 * configure.in: Bump to 2.51a.
8179 2001-07-17 Akim Demaille <akim@epita.fr>
8183 2001-07-17 Akim Demaille <akim@epita.fr>
8185 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8186 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8188 2001-07-17 Akim Demaille <akim@epita.fr>
8190 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8191 used. Well, then use the prototypes when you can, and runtime as
8193 Reported by Artur Frysiak
8195 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8196 (AC_FUNC_GETPGRP): Use it.
8197 First try to compile with 0-ary or 1-ary calls.
8199 2001-07-17 Akim Demaille <akim@epita.fr>
8201 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8205 2001-07-17 Akim Demaille <akim@epita.fr>
8207 * Makefile.maint: Sync. with cppi 1.10.
8209 2001-07-17 Akim Demaille <akim@epita.fr>
8211 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
8212 AC_F77_DUMMY_MAIN has been run.
8213 From Pavel Roskin and Steven G. Johnson.
8215 2001-07-17 Akim Demaille <akim@epita.fr>
8217 * configure.in: Rename as...
8218 * configure.ac: this.
8220 2001-07-17 Akim Demaille <akim@epita.fr>
8222 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
8225 * Makefile.maint (release-archive-dir): Rename as...
8226 (release_archive_dir): this, so that it can be specialized in
8229 2001-07-14 Akim Demaille <akim@epita.fr>
8231 * configure.in: Bump to 2.50d.
8233 2001-07-14 Akim Demaille <akim@epita.fr>
8236 * Makefile.maint (alpha): Typo.
8238 2001-07-14 Akim Demaille <akim@epita.fr>
8240 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
8242 2001-07-14 Akim Demaille <akim@epita.fr>
8244 * config/config.guess, config/config.sub, config/texinfo.tex
8245 * doc/standards.texi, doc/make-stds.texi: Update.
8247 2001-07-14 Akim Demaille <akim@epita.fr>
8249 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
8251 2001-07-14 Akim Demaille <akim@epita.fr>
8253 * Makefile.maint (maintainer-check): Rename as...
8254 (maintainer-distcheck): this.
8255 (changelog-check, static-check): New.
8258 2001-07-14 Kevin Ryde <user42@zip.com.au>
8260 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
8261 for CXX is g++, not gcc.
8263 2001-07-14 Akim Demaille <akim@epita.fr>
8265 * doc/autoconf.texi (Files): New subsection.
8267 2001-07-14 Akim Demaille <akim@epita.fr>
8269 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
8271 (Generic Compiler Characteristics): this.
8272 (C++ Compiler): New subsection.
8274 2001-07-14 Akim Demaille <akim@epita.fr>
8276 * autoscan.in: Use IO::File.
8277 Adjust all the routines to use it.
8278 ($log): New file (autoscan.log).
8279 (output): Dump detailed logs into $log, and a shortened version to
8281 (&scan_makefile): Refine the regexp catching tokens in the code.
8282 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
8283 and the `configure.ac' checking feature.
8285 2001-07-12 Akim Demaille <akim@epita.fr>
8287 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
8288 Reported by Michael Elizabeth Chastain.
8290 * autoconf.in: Refuse such AWK.
8291 * configure.in: Likewise.
8292 * Makefile.am (acversion.m4): Do not use move-if-change this file
8294 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
8296 2001-07-10 Jens Petersen <petersen@redhat.com>
8298 * autoscan.in (&scan_makefile): Improve programs regexp to parse
8299 things like "g++", "file.c" and "some-conf" as tokens.
8300 (&scan_file): Match C++ files extensions.
8301 If the filename extension is C++ then ask for c++.
8303 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
8305 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
8306 AC_TRY_LINK_FUNC, to check whether defining a dummy
8307 main-like routine is needed for linking with F77 libs.
8309 2001-07-05 Pavel Roskin <proski@gnu.org>
8311 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
8313 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
8316 2001-07-05 Akim Demaille <akim@epita.fr>
8318 * Makefile.am (move_if_change): New. Use it instead of `mv'.
8319 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
8321 Reported by Nicolas Joly.
8323 2001-07-04 Akim Demaille <akim@epita.fr>
8325 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
8327 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
8328 warnings from compilers.
8329 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
8330 for all the compilers, not only GNU. Hence move from here...
8331 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
8333 2001-07-04 Akim Demaille <akim@epita.fr>
8335 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
8336 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
8339 2001-07-04 Akim Demaille <akim@epita.fr>
8341 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
8342 the ``strings.h'' change claimed below.
8344 2001-07-04 Akim Demaille <akim@epita.fr>
8346 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
8348 2001-07-04 Akim Demaille <akim@epita.fr>
8350 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8351 strings.h if usable with string.h.
8352 Suggested by Paul Eggert.
8354 2001-07-04 Akim Demaille <akim@epita.fr>
8356 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
8359 2001-07-03 Akim Demaille <akim@epita.fr>
8361 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
8364 2001-07-03 Akim Demaille <akim@epita.fr>
8366 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
8367 compiler, not the preprocessor.
8368 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
8369 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
8371 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
8372 earlier if there are.
8374 2001-07-03 Akim Demaille <akim@epita.fr>
8376 * autoscan.in ($initfile): Remove.
8377 (&find_file): Rename as...
8379 Immediately scan the current file, instead of gathering them, and
8380 later having them handled by &scan_files.
8381 (&scan_files): Merely invoke Find::File.
8384 2001-07-02 Akim Demaille <akim@epita.fr>
8386 * autoscan.in: Formatting changes, matching the invocation order.
8387 (File::Find): Use it instead of Perl 4's `find.pl'.
8388 (&wanted): Rename as...
8391 2001-07-01 Pavel Roskin <proski@gnu.org>
8393 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
8394 break in the argument to AC_TRY_LINK_FUNC.
8395 (AC_F77_MAIN): Remove conftest* after using break in the
8396 argument to AC_TRY_LINK.
8398 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
8400 Add alternate 'main' routine detection for linking C/C++ with Fortran,
8401 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
8403 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
8404 dummy alternate main is required even if the user provides her own
8406 (AC_F77_MAIN): New macro to detect whether it is possible to
8407 provide an alternate 'main' function name, using the 'main' from
8408 the Fortran libraries.
8409 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
8410 cross-language link tests can be performed successfully.
8411 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
8412 after $LIBS, for consistency; this should be the general rule since
8413 the user may want to link to Fortran libraries that require $FLIBS.
8414 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
8416 2001-06-29 Pavel Roskin <proski@gnu.org>
8418 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
8419 at-stdout and at-stderr instead of removing the newline
8420 from the echo output, which is not guaranteed to work.
8422 2001-06-28 Jens Petersen <petersen@redhat.com>
8424 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
8425 confdefs.h when non-zero.
8427 2001-06-28 Akim Demaille <akim@epita.fr>
8429 * configure.in: Bump to 2.50c.
8431 2001-06-26 Akim Demaille <akim@epita.fr>
8435 2001-06-26 Akim Demaille <akim@epita.fr>
8439 2001-06-25 Pavel Roskin <proski@gnu.org>
8441 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
8442 argument, AUTOCONF-FLAGS.
8443 * tests/mktests.sh (update_exclude_list): Add
8444 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
8445 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
8446 AC_FUNC_WAIT3 with "-W no-obsolete".
8448 2001-06-25 Akim Demaille <akim@epita.fr>
8450 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
8452 2001-06-25 Akim Demaille <akim@epita.fr>
8454 * autoscan.in (%macro): Now maps from word to list of macros.
8455 (&init_tables): Die when a word which is already handled by
8456 explicit macros is mapped to the default macro.
8457 (&print_unique): Remove, inlined in...
8458 (&output_kind): here.
8459 (File::Basename): Use it.
8460 (&output): Sort the CONFIG_FILES.
8461 * acheaders: Normalize.
8462 * acfunctions: Likewise.
8464 2001-06-25 Akim Demaille <akim@epita.fr>
8466 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
8467 characteristics in the logs.
8468 Suggested by Mo DeJong.
8470 2001-06-24 Akim Demaille <akim@epita.fr>
8472 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
8473 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
8474 * doc/autoconf.texi (Autoconf 2.13): New section.
8476 2001-06-24 Akim Demaille <akim@epita.fr>
8478 * autoconf.in (Task traces): Separate the error messages from the
8479 traces to improve robustness.
8481 2001-06-23 Akim Demaille <akim@epita.fr>
8483 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
8484 three as failures are unlikely, and speed matters.
8486 2001-06-23 Akim Demaille <akim@epita.fr>
8488 * doc/autoconf.texi (Redefined M4 Macros): New.
8490 2001-06-23 Akim Demaille <akim@epita.fr>
8492 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
8493 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
8496 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
8498 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
8499 config.status targets to after the evaluation of the INIT-CMDS.
8500 Double quote config.status targets (used to be single quoted).
8502 2001-06-23 Akim Demaille <akim@epita.fr>
8504 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
8505 Check the content of the created file.
8506 Check the ./config.status command line invocation.
8508 2001-06-23 Akim Demaille <akim@epita.fr>
8510 * tests/foreign.at (Libtool): Reject prehistoric versions.
8512 2001-06-23 Akim Demaille <akim@epita.fr>
8514 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
8515 preexisting files matching a.*.
8517 2001-06-23 Akim Demaille <akim@epita.fr>
8519 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
8521 * doc/autoconf.texi (AC_ARG_VAR): Update.
8523 2001-06-21 Akim Demaille <akim@epita.fr>
8525 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
8526 precious variables have changed.
8527 * tests/torture.at (AC_ARG_VAR): Adjust.
8529 2001-06-21 Akim Demaille <akim@epita.fr>
8531 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
8532 but some sed choke on multiple `;', and other tools (e.g.,
8533 Automake), include the separator themselves.
8535 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
8537 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
8539 * doc/autoconf.texi (Functions Portability): Rename as...
8540 (Function Portability): this.
8541 (Function Portability): Document potential problems with unlink().
8543 2001-06-19 Paul Eggert <eggert@twinsun.com>
8545 * NEWS, doc/autoconf.texi: Document quadrigraphs.
8547 2001-06-18 Akim Demaille <akim@epita.fr>
8549 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
8551 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
8553 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
8554 (_AC_FUNC_VFORK): this.
8555 Remove AC_DEFINEs and don't guess cross-compilation values.
8556 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
8557 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
8558 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
8560 Guess values if cross-compiling, but warn.
8561 * acfunctions: Add AC_FUNC_FORK.
8562 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
8563 and vfork appropriately.
8565 2001-06-18 Akim Demaille <akim@epita.fr>
8567 * doc/autoconf.texi (Functions Portability): New section.
8569 2001-06-18 Akim Demaille <akim@epita.fr>
8571 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
8573 Suggested by Andreas Schwab.
8575 2001-06-18 Akim Demaille <akim@epita.fr>
8577 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
8578 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
8579 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
8580 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
8581 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
8582 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
8583 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
8586 2001-06-18 Akim Demaille <akim@epita.fr>
8588 * doc/autoconf.texi (ms): New index.
8589 (Macro Index): Rename as...
8590 (Autoconf Macro Index): this.
8591 (M4 Macro Index): New appendix.
8592 (Programming in M4): New chapter.
8593 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
8594 (Quoting): Rename as...
8595 (M$ Quotation): this.
8596 Be part of `Programming in M4).
8598 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
8600 * tests/torture.at (AC_ARG_VAR): Set variables and export them
8601 in separate statements for compatibility with Tru64 v5.1.
8603 2001-06-17 Akim Demaille <akim@epita.fr>
8605 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
8606 current values of the precious variables, not the previously
8608 Pass precious variables which are set to config.status.
8609 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
8610 * tests/torture.at (AC_ARG_VAR): New.
8612 2001-06-15 Paul Eggert <eggert@twinsun.com>
8614 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
8615 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
8616 and explain why and how to replace them.
8617 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
8618 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
8620 2001-06-15 Akim Demaille <akim@epita.fr>
8622 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
8623 Reported by Bruno Haible.
8625 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
8626 (_AC_ARG_VAR_PRECIOUS): to here.
8628 2001-06-15 Pavel Roskin <proski@gnu.org>
8630 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
8631 an unused pointer use cast to this type and `if' statement to
8632 avoid warnings from the compiler.
8633 (AC_HEADER_TIME): Likewise.
8634 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
8635 in `if' statement to avoid warnings from the compiler. Declare
8636 ac_aggr static to avoid the need to initialize it.
8638 2001-06-14 Akim Demaille <akim@epita.fr>
8640 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
8643 2001-06-13 Akim Demaille <akim@epita.fr>
8645 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
8646 Suggested by Alexander Mai.
8648 2001-06-13 Akim Demaille <akim@epita.fr>
8650 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
8651 sys/types.h and sys/stat.h, and check for them.
8653 2001-06-13 Akim Demaille <akim@epita.fr>
8655 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
8658 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8660 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
8661 succeeds and only try adding libdnet upon a failure.
8663 2001-06-12 Akim Demaille <akim@epita.fr>
8665 * autoscan.in (&output_kind): Output the comment only if it exists.
8666 (%kind_comment): Add entry for `programs'.
8667 (&output_programs): Use &output_kind.
8668 (&output_functions, &output_identifiers, &output_headers)
8669 (&output_programs): Inline, and remove.
8671 2001-06-12 Akim Demaille <akim@epita.fr>
8673 * autoscan.in (%kind_comment): New.
8675 (output_functions, output_identifiers, output_headers): Use it.
8677 2001-06-12 Akim Demaille <akim@epita.fr>
8679 * autoscan.in (&print_unique): Take `$kind' and `$word' as
8680 arguments, to factor indirections into `%macro' and `%used'.
8681 (%generic_macro): Fix a typo.
8683 2001-06-12 Akim Demaille <akim@epita.fr>
8686 * autoscan.in (@kinds): Add `libraries'.
8687 Use `@kinds' instead of hard coded lists.
8688 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
8689 Remove, replaced by...
8692 2001-06-12 Akim Demaille <akim@epita.fr>
8694 * autoscan.in (%functions_macros %headers_macros)
8695 (%identifiers_macros %programs_macros %makevars_macros): Remove,
8699 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
8701 * aclang.m4 (AC_NO_EXECUTABLES): Override
8702 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
8704 2001-06-11 Akim Demaille <akim@epita.fr>
8706 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
8708 Reported by Andreas Schwab.
8710 2001-06-11 Akim Demaille <akim@epita.fr>
8712 * Makefile.am, Makefile.maint: Typos.
8714 2001-06-09 Akim Demaille <akim@epita.fr>
8716 * doc/autoconf.texi (Here-Documents): New section, gathering
8717 documentation about here-documents.
8718 Use `href', not `uref', and other changes.
8720 2001-06-09 Akim Demaille <akim@epita.fr>
8722 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
8725 2001-06-09 Akim Demaille <akim@epita.fr>
8727 * doc/autoconf.texi (Limitations of Builtins): Complete the
8728 description of the here-docs penalties with Alexandre Oliva's
8731 2001-06-01 Paul Eggert <eggert@twinsun.com>
8733 * doc/autoconf.texi: Talk about here documents and speedups.
8734 Do not use "echo" on arbitrary strings.
8735 Spell "here-documents" consistently with the standard.
8737 2001-06-09 Akim Demaille <akim@epita.fr>
8739 * doc/autoconf.texi (Concept Index): Introduce it.
8740 Regenerate the menus.
8742 2001-06-09 Akim Demaille <akim@epita.fr>
8744 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
8745 * config/prev-version.txt: New.
8746 * config/move-if-change: New, for GNU libc.
8748 2001-06-06 Pavel Roskin <proski@gnu.org>
8750 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
8752 2001-06-06 Akim Demaille <akim@epita.fr>
8754 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
8755 properly when $1 is not a literal.
8756 Fixes PR Autoconf/187, reported by Bram Moolenaar.
8758 2001-06-06 Akim Demaille <akim@epita.fr>
8760 Invoking AC_COPYRIGHT before AC_INIT fails.
8762 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
8763 * acgeneral.m4 (_m4_divert(VERSION_FSF))
8764 (_m4_divert(VERSION_USER)): New.
8765 (AC_COPYRIGHT): $2 is the diversion to use.
8766 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
8767 (AC_INIT): Remove dead comments as now it's commutative.
8769 2001-06-06 Akim Demaille <akim@epita.fr>
8771 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
8774 2001-06-05 Akim Demaille <akim@epita.fr>
8776 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
8778 `*dir' variables cannot be NONE.
8779 Reported by Mark Kettenis.
8781 2001-06-05 Paul Eggert <eggert@twinsun.com>
8783 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
8785 2001-06-04 Akim Demaille <akim@epita.fr>
8787 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
8788 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
8789 (AC_TR_SH): Move as...
8790 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
8791 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
8793 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
8794 (_AS_TR_SH_PREPARE): New.
8795 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
8796 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
8798 2001-06-02 Akim Demaille <akim@epita.fr>
8800 * Makefile.am (.m4.m4f): Pass the options first.
8801 Fixes PR autoconf/182.
8803 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
8805 GNU getopt, when POSIXLY_CORRECT does not permute options and
8806 arguments. So pass the options first.
8807 Fixes PR autoconf/184.
8809 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8810 (run_m4): Remove files.
8812 Update remainder of script to use them.
8813 (for warning in): Do not use a literal comma as it will not be
8816 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8818 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8819 Fortran compilers to check.
8820 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8821 information on library and object files.
8822 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8825 2001-06-02 Akim Demaille <akim@epita.fr>
8827 * autom4te.in (Request::@request): Declare with `vars', not `my',
8828 as it prevents updates via `do FILENAME'.
8830 2001-06-02 Akim Demaille <akim@epita.fr>
8832 * configure.in (standards_texi): Remove, dead code.
8834 2001-06-02 Akim Demaille <akim@epita.fr>
8838 2001-06-02 Pavel Roskin <proski@gnu.org>
8840 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8841 for signals other than 0 - exit with code 1.
8842 * m4sh.m4 (AS_TMPDIR): Likewise.
8843 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8844 * autoheader.in: Likewise.
8845 * autoreconf.in: Likewise.
8846 * tests/torture.at (Signal handling): New test for the above.
8848 2001-06-01 Akim Demaille <akim@epita.fr>
8850 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8853 2001-05-31 Akim Demaille <akim@epita.fr>
8855 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8856 Add copyright and comments.
8857 * acheaders: Add stdint.h.
8858 Suggested by Paul Eggert.
8860 2001-05-31 Akim Demaille <akim@epita.fr>
8862 * atgeneral.m4 (AT_INIT): Use $SHELL.
8863 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8865 2001-05-31 Akim Demaille <akim@epita.fr>
8867 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8869 From Paul Eggert and Lars Hecking.
8871 2001-05-31 Akim Demaille <akim@epita.fr>
8873 * tests/base.at: Adjust line numbers in error messages.
8875 2001-05-31 Akim Demaille <akim@epita.fr>
8877 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8878 to emit the bangshe line.
8879 Reported by David Carter.
8881 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8883 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8884 Fortran (95) compilers to check.
8886 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8888 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8891 2001-05-23 Pavel Roskin <proski@gnu.org>
8893 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8894 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8895 (AC_PROG_CXXCPP): Likewise.
8897 2001-05-22 Akim Demaille <akim@epita.fr>
8899 * config: New directory.
8900 * configure.in: AC_CONFIG_AUX_DIR it.
8901 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8903 2001-05-22 Akim Demaille <akim@epita.fr>
8905 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8906 * autoupdate.in: Specify the Emacs mode.
8907 * acversion.m4.in: Rename as...
8908 * acversion.m4: this.
8909 * tests/Makefile.am (CLEANFILES): More garbage.
8911 2001-05-22 Akim Demaille <akim@epita.fr>
8913 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8915 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8918 2001-05-21 Akim Demaille <akim@epita.fr>
8920 * configure.in: Bump to 2.50a.
8924 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8926 This file is part of GNU Autoconf.
8928 GNU Autoconf is free software; you can redistribute it and/or modify
8929 it under the terms of the GNU General Public License as published by
8930 the Free Software Foundation; either version 2, or (at your option)
8933 GNU Autoconf is distributed in the hope that it will be useful,
8934 but WITHOUT ANY WARRANTY; without even the implied warranty of
8935 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8936 GNU General Public License for more details.
8938 You should have received a copy of the GNU General Public License
8939 along with autoconf; see the file COPYING. If not, write to
8940 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8941 Boston, MA 02110-1301, USA.