1 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
3 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
4 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
6 2005-02-04 Noah Misch <noah@cs.caltech.edu>
8 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
9 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
12 2005-02-04 Bruno Haible <bruno@clisp.org>
13 and Paul Eggert <eggert@cs.ucla.edu>
15 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
17 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
19 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
20 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
22 Try not to generated lines of unlimited length, as POSIX places a
23 2047-byte limit on line length of portable text files.
24 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
25 Use newline as a separator, not space.
26 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
27 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
30 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
32 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
33 as_func_*. Add test to check whether positional parameters
34 are restored after function return.
36 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
38 * doc/autoconf.texi (Special Shell Variables): Mention _,
39 BIN_SH, DUALCASE. Say that variables other than "status" are safe
40 if they contain a lower-case letter. The DUALCASE problem was
41 reported by Ralf Wildenhues.
43 * bin/autoconf.as: Don't exit with status 0 after write failure
44 with --help or --version.
45 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
46 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
48 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
50 * doc/autoconf.texi (Limitations of Usual Tools):
51 Unicos 9 sed limitations.
52 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
53 to get the option-enhanced interface on older Crays. Try ftn for
54 Fortran 95 (newer Crays).
56 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
58 * man/Makefile.am (.x.1): Go back to the simple solution, but take
59 care to echo the commands, so the user knows what's going on.
60 Modified from a suggestion by Stepan Kasal.
62 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
63 with a cross reference. Derived from a suggestion by Bruce Korb.
65 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
67 * doc/autoconf.texi (config.status Invocation): Warn about
68 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
69 * doc/install.texi (Defining Variables): Likewise.
70 Based on a proposed patch by Ralf Wildenhues.
72 * man/Makefile.am (.x.1): Make sure the required generated files
73 are up to date. Problem and original solution proposed by Stepan Kasal.
74 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
75 implicit-man-prerequisites): New rules, used by the above.
77 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
78 * config/config.guess, config/config.sub, config/install-sh: Likewise.
79 * config/missing, config/texinfo.tex: Likewise.
81 2005-01-29 Stepan Kasal <kasal@ucw.cz>
83 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
84 Update the long comment explaining it.
86 m4_require no longer writes an ``is required by'' line to the
87 execution stack. It contains only one bit of non-redundant
88 information: that the macro was required, not called. And even
89 this bit is useless in most situations: have you ever met a macro
90 which both calls and requires the same macro?
92 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
93 (_m4_defun_pro_outer): ... only via this macro, for the outermost
95 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
96 (m4_expansion_stack_pop): Remove the misplaced comment.
97 (m4_require): Don't put the ``is required by'' line to the
98 execution stack; slightly improve the out-of-a-defun error message.
99 (_m4_divert_grow): New macro, counter for the temporary diversions.
100 (_m4_require_call): Use it.
101 * tests/m4sugar.at (m4_require): Expect output without the
102 ``is required by'' messages.
104 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
106 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
107 rather than x for expr.
109 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
111 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
112 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
113 * lib/autotest/general.m4 (AT_INIT): Likewise.
114 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
115 * tests/mktests.sh: Likewise.
117 2005-01-27 Akim Demaille <akim@epita.fr>
119 Have autoheader honor --force.
121 * doc/make-stds.texi, doc/standards.texi: Update from masters.
122 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
123 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
124 from masters, so that FileUtils.pm's update_file provide --force
126 * bin/autoheader.in: Pass $force to update_file so that
127 config.h.in is always recreated when --force.
129 2005-01-24 Stepan Kasal <kasal@ucw.cz>
131 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
133 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
135 * doc/autoconf.texi (Limitations of Builtins): Clarify that
136 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
138 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
140 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
141 Warn about newline stripping in `` and $(). Update Solaris
143 (Limitations of Builtins): Use expr "X...", not expr "x...", as
144 X insulates us from future changes to Posix.
145 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
148 2005-01-19 Stepan Kasal <kasal@ucw.cz>
150 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
151 you cannot use AC_DEFINE to define macros containing `[' or `]'.
153 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
155 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
156 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
157 bug-tar mailing list.
159 2005-01-05 Stepan Kasal <kasal@ucw.cz>
161 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
163 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
165 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
166 ulongval to be static, to avoid unwanted GCC warning. Problem
167 reported by Michael Jennings via Daniel Reed; see
168 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
170 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
172 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
173 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
174 datadir, infodir, and mandir. Adjust argument parsing code.
175 (_AC_INIT_HELP): Update help text.
176 * doc/autoconf.texi (Installation Directory Variables): Document
179 2005-01-04 Noah Misch <noah@cs.caltech.edu>
181 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
182 not seem to work, assume it does set $(MAKE).
183 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
185 2005-01-03 Stepan Kasal <kasal@ucw.cz>
187 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
189 2005-01-03 Stepan Kasal <kasal@ucw.cz>
191 A cleanup of the diversion support in m4sugar.
193 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
194 (_m4_divert_n_stack): New macro; the expansion is
195 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
197 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
198 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
199 stored in _m4_divert_diversion or _m4_divert_dump.
200 (m4_divert_pop): When the parameter is given, compare the symbolic
201 name with the last diversion pushed on the stack. Previously, the
202 current diversion was compared with the numeric value of the
203 diversion given as the parameter.
204 (m4_require): If the macro hasn't been expanded yet, call ...
205 (_m4_require_call): this new macro.
207 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
210 Workarounds for documented `case' limitations.
212 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
214 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
215 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
217 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
219 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
220 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
221 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
223 Patch from Roger Leigh (with some minor changes) as follows:
224 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
225 Resurrect AC_PROG_CC_STDC.
226 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
227 AC_PROG_CC_C89, AC_PROG_CC_C99.
228 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
229 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
230 AC_PROG_CC_C99): New macros.
231 (AC_PROG_CC_STDC): Use them.
232 (_AC_PROG_CC_STDC): Remove.
233 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
234 * THANKS: Add Roger Leigh.
236 2004-12-30 Noah Misch <noah@cs.caltech.edu>
238 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
239 signals that the package uses Automake; a `Makefile.am' is typical but
240 not essential. Reported by Magnus Therning.
241 * tests/torture.at (autoreconf.): New banner.
242 (autoreconf and non-AC configure): Rename to `Non-Autoconf
244 (autoreconf an empty directory): Rename to `Empty directory'.
245 (Unusual Automake input files): New test.
247 2004-12-30 Noah Misch <noah@cs.caltech.edu>
249 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
250 (AT_SETUP): Clear AT_capture_files.
251 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
252 (AT_KEYWORDS): Fix comment typo.
253 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
254 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
255 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
257 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
259 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
260 If the variable to set is already set, set ac_cv_path_$1
261 to the preset value so caller can assume ac_cv_path_$1
262 is available. (trivial change)
264 2004-12-27 Noah Misch <noah@cs.caltech.edu>
266 * BUGS (Minor Problems): Warn about makefile limitations.
267 * Makefile.am: Find and update `INSTALL' in $(srcdir).
268 * man/Makefile.am: Find and update manual pages in $(srcdir).
270 2004-12-24 Eric Blake <ebb9@byu.net>
272 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
273 shells in subshell, to avoid noise from ash. (trivial change)
275 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
277 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
278 problems with SunOS ksh and backslash escaping, Bourne shells and
279 closing brackets (both within character classes). Bug reported
280 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
281 <read>: New entry. Mention non-availability of -r.
283 2004-12-21 Akim Demaille <akim@epita.fr>
285 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
286 avoid cluttering displayed messages. Rather, prepend srcdir where
287 AT_LINE is used for log files.
289 2004-12-21 Stepan Kasal <kasal@ucw.cz>
291 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
292 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
293 no longer part of the macro, quote the occurrence of ``$tmp''.
294 * doc/autoconf.texi (Forbidden Patterns): Typo.
296 2004-12-21 Akim Demaille <akim@epita.fr>
298 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
299 separated from the test title by forcing a white space.
301 2004-12-21 Akim Demaille <akim@epita.fr>
303 Enable Emacs navigation within testsuite.log files.
305 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
306 use the compilation mode.
307 (AT_LINE): Point to the srcdir.
309 2004-12-19 Noah Misch <noah@cs.caltech.edu>
311 * tests/Makefile.am (installcheck-local): Use $(bindir).
312 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
313 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
314 Makefile.am scheme Autoconf now uses.
316 2004-12-18 Noah Misch <noah@cs.caltech.edu>
318 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
319 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
321 2004-12-18 Noah Misch <noah@cs.caltech.edu>
323 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
325 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
326 (AS_ESCAPE): Fix comment.
327 * tests/autotest.at: Adjust section banner comments.
328 (AT_CHECK_AT): Accept STATUS and STDERR.
329 (AT_CHECK_AT_TEST): Likewise.
330 (Invalid brace-enclosed parameter expansion)
331 (Multiline command from M4 expansion)
332 (Double-M4-quoted command): New tests.
334 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
336 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
338 2004-12-17 Akim Demaille <akim@epita.fr>
340 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
342 Suggested by Alexandre Duret-Lutz.
343 * doc/autoconf.texi (Setting Output Variables): Catch up.
345 2004-12-17 Stepan Kasal <kasal@ucw.cz>
347 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
349 2004-12-17 Stepan Kasal <kasal@ucw.cz>
351 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
352 remove the comment which said we cannot.
354 2004-12-17 Stepan Kasal <kasal@ucw.cz>
356 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
357 Reini Urban and Paul Eggert for reporting the dependencies.
359 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
360 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
361 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
363 2004-12-17 Stepan Kasal <kasal@ucw.cz>
365 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
366 so that eg. ``autoscan --help'' doesn't truncate it.
368 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
370 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
371 generated conftest files.
373 2004-12-13 Noah Misch <noah@cs.caltech.edu>
375 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
376 tracing on commands with possibly-escaped newlines.
377 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
378 discontinued behavior and its implications.
379 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
380 (BSx641-newline in command, BS-BS-newline in command)
381 (BSx640-newline in command, Newline-CODE-BS-newline in command)
382 (Single-quote-BS-newline in command)
383 (Single-quote-newline-BS-newline in command): New tests.
385 2004-12-13 Stepan Kasal <kasal@ucw.cz>
387 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
388 on platforms where it works.
389 (_AS_TEST_PREPARE): Test for ``test -x''.
390 (_AS_BROKEN_TEST_PREPARE): Nuke.
392 2004-12-13 Stepan Kasal <kasal@ucw.cz>
394 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
395 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
396 give only 4-letter prefix to AS_TMPDIR, comment fixed.
397 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
398 create the temporary directory.
399 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
401 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
403 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
406 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
408 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
410 2004-12-11 Noah Misch <noah@cs.caltech.edu>
412 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
413 to avoid using a negated character class. Reported by Nicolas Joly.
414 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
416 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
418 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
419 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
420 Don't depend on .x file explicitly, since "make" does that for us.
421 Suggested by Stepan Kasal.
423 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
425 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
426 ifnames): Factor common code. And they said it couldn't be done!
428 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
430 * bin/.cvsignore: Add autoconf.in.
431 * tests/.cvsignore: Add wrapper.in.
432 * lib/autotest/general.m4: Escape '$' in case pattern.
434 2004-12-09 Noah Misch <noah@cs.caltech.edu>
436 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
438 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
440 * tests/autotest.at: New file.
441 * tests/suite.at: Include it.
442 * tests/Makefile.am: Distribute it.
444 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
445 shell tracing on a command that could contain multiple lines.
446 * doc/autoconf.text: Document that fact and its implications.
447 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
448 * tests/autotest.at (Multiline backquote command substitution,
449 Multiline parameter expansion, Literal multiline command,
450 Multiline parenthetical command substitution): Remove XFAIL.
452 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
454 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
455 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
457 2004-12-08 Noah Misch <noah@cs.caltech.edu>
459 * configure.ac (test suite): Cease to generate wrapper scripts.
460 * configure: Regenerate.
461 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
462 (m4f_dependencies): Adjust accordingly.
463 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
464 (wrapper.in): Generate it in the build directory.
465 (MAINTAINERCLEANFILES): Delete wrapper.in.
466 (CLEANFILES): Add wrapper.in.
467 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
468 the output. Replace each $as_me with a @wrap_program@.
469 * tests/wrapper.in: Delete it; we always build it.
471 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
472 (EXTRA_DIST): Remove autoconf.in.
473 (CLEANFILES): Add autoconf.in.
474 (autoconf): Find autoconf.in in the build directory.
475 * bin/autoconf.in: Delete it; we always build it.
477 2004-12-08 Noah Misch <noah@cs.caltech.edu>
479 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
480 PATH members so as to not prepend an empty element. Move a comment.
481 * Makefile.am (SUBDIRS): Build in `tests' last.
482 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
484 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
486 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
487 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
488 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
489 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
491 2004-12-07 Stepan Kasal <kasal@ucw.cz>
493 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
496 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
498 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
499 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
500 * doc/autoconf.texi (Particular Functions): Mention new behavior.
502 2004-12-03 Stepan Kasal <kasal@ucw.cz>
504 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
505 out the common code to ...
506 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
507 value of the #define--default to 1, iff the macro was called
508 with exactly one parameter.
510 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
512 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
513 "char c = '\200';" rather than "char c = 0x80;" as the
514 latter doesn't conform to the strict C standard due to
515 overflow on signed char hosts.
517 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
518 to -qlanglvl=ansi. We don't want to disable extensions.
520 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
522 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
523 (Using Autotest, testsuite Scripts, Writing testsuite.at):
524 Reword slightly to avoid some English-language problems noted
525 by Ralf Wildenhues in:
526 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
528 2004-11-29 Stepan Kasal <kasal@ucw.cz>
530 * NEWS: Add ^L above each release.
532 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
534 Fix documentation problems reported by Russ Boylan in
535 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
536 along with some nearby cruft.
537 * doc/autoconf.texi (Libtool): Libtool can be used without
538 Automake (not without Autoconf).
539 (Introduction): Mention lists.gnu.org.
540 * BUGS: Don't mention bugs.gnu.org.
541 Remove mention of ancient libtool compatibility problem.
542 * NEWS: Mention that bugs.gnu.org is kaput.
543 * README: Likewise. Mention where mailing list archives can be found.
545 2004-11-28 Stepan Kasal <address@ucw.cz>
547 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
548 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
550 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
552 * doc/autoconf.texi (Pretty Help Strings): Go back to
553 single-quoting assignments to cache variables.
555 2004-11-23 Stepan Kasal <kasal@ucw.cz>
557 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
558 with the examples; fix the bug in MY_ARG_WITH example reported
559 by Alexandre Duret-Lutz.
560 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
561 expansion of $1 in the comment emitted to configure.
563 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
565 * doc/autoconf.texi (Pretty Help Strings): Fix typo
566 in my editing of the previous patch. Problem reported
567 by Alexandre Duret-Lutz.
569 2004-11-22 Stepan Kasal <kasal@ucw.cz>
571 * doc/autoconf.texi (Autoconf Language): Explain that
572 ``descriptions'' may not be double quotes.
573 (Quotation Rule Of Thumb): Likewise.
574 (Pretty Help Strings): Likewise; remove the wrong comment;
575 simplify the examples and improve their quoting.
577 2004-11-13 Stepan Kasal <kasal@ucw.cz>
579 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
580 the $1_found variable, don't test whether the file is executable;
581 Both things are checked ...
582 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
583 the former ``test -f''.
584 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
586 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
588 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
591 2004-11-10 Derek R. Price <derek@ximbiot.com>
593 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
594 limitations. Reorder paragraphs for clarity.
596 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
598 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
599 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
600 variants", "Unix", and some related minor wording fixups.
602 (Shellology, Special Shell Variables): Document that the Zsh
603 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
604 to Alexandre Duret-Lutz for this info.
606 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
608 * doc/autoconf.texi (One-Shot Macros): New node.
610 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
612 * doc/autoconf.texi (Function Portability): Fix misdescription
613 of putenv. Problem reported by Michael Wardle.
615 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
617 * doc/autoconf.texi (auindex): New macro.
618 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
619 Problem reported by Stepan Kasal.
621 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
623 Fix problems reported by Andreas Buening in:
624 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
625 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
627 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
628 readable; it's not true in OS/2-emx.
630 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
632 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
633 "/usr/include", clear ac_x_includes instead of leaving it as "no"
634 (trivial change). Problem and patch reported by Andrew Church in:
635 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
637 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
639 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
640 three args in examples. Problem reported by Frederik Fouvry in:
641 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
642 Also, fix some minor spacing and punctuation bugs.
644 2004-09-02 Akim Demaille <akim@epita.fr>
646 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
647 "case" to restore ordering.
648 Reported by Stepan Kasal.
650 2004-08-26 Akim Demaille <akim@epita.fr>
652 * doc/autoconf.texi: Minor typos and stylos.
654 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
656 * configure.ac (AC_INIT): Bump to 2.59c.
658 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
662 * README: Add advice about m4 1.4.2.
664 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
665 texinfo.tex for now (done by hand now).
666 * Makefile.maint (wget_files, cvs_files):
667 Remove ansi2knr.c; nobody uses it.
668 (ansi2knr.c-url_prefix): Remove.
669 (cvs-update): Fix test for failure. I don't know why it ever
672 * doc/autoconf.texi: Update URLs, some of which went stale.
673 Use @uref rather than @href.
675 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
676 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
678 * config/config.guess, config/config.sub, config/elisp-comp,
679 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
680 doc/fdl.texi, doc/standards.texi: Sync with master copy.
682 * NEWS, TODO, configure.ac, bin/autoscan.in,
683 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
684 doc/install.texi, lib/Autom4te/Configure_ac.pm,
685 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
686 lib/autoconf/programs.m4, lib/autoconf/status.m4,
687 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
688 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
689 tests/tools.at, tests/torture.at:
690 Use "file name" rather than "filename" or "path",
691 to be consistent with the terminology of the GNU coding standards.
693 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
695 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
696 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
697 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
698 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
700 More fixes to support spaces in the name of the build directory.
701 This isn't a complete fix but it's an improvement.
703 * bin/autoconf.as (autom4te_options): New var.
704 Use it instead of appending to AUTOM4TE, so that we can allow
705 spaces in the build directory's absolute name.
706 * bin/autoheader.in ($autoconf): Allow spaces in file names.
707 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
708 AT_CHECK_NOESCAPE): Likewise.
709 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
710 main program): Likewise.
712 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
714 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
715 From Ralf Corsepius in:
716 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
718 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
720 * doc/autoconf.texi (Function Portability): Document isinf and
721 and isnan. From a suggestion by Kevin Ryde.
723 * lib/Autom4te/General.pm (END): Return correct exit status even
724 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
726 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
728 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
729 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
730 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
732 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
734 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
735 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
736 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
737 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
738 * lib/autom4te.in (Automake-preselections): Preselect
739 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
741 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
743 * lib/autom4te.in (Automake-preselections): Preselect
744 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
747 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
749 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
751 * doc/autoconf.texi (Shellology): Mention BIN_SH.
752 Document problem with "`""`" in pdksh POSIX mode.
754 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
756 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
757 with pdksh, too. Problem reported by Patrick Welche via
759 * doc/autoconf.texi (Shellology): Note that set -o posix is
760 useful for pkdsh, too.
762 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
764 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
765 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
766 Don't fail if ENV or BASH_ENV is readonly.
767 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
768 etc. are read only. Problem reported by Ludovic Courtes.
770 2004-06-23 Noah Misch <noah@cs.caltech.edu>
772 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
773 zsh, disable GLOB_SUBST to avoid backslash handling problems.
776 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
778 * doc/autoconf.texi (File System Conventions): Warn about
779 names like "aux". Problem reported by Eric Blake.
781 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
782 by zero instead of array size, so that we can use any arithmetic
783 constant expression (instead of requiring an integer constant
784 expression). This allows us to test expressions like DBL_MAX <
785 LDBL_MAX, which didn't conform to the C standard using the old
787 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
788 now that we can do floating-point tests at compile time.
790 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
792 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
793 and LDBL_EPSILON, as the resulting expression isn't an
794 integer constant expression and violates the C standard.
795 Problem reported by Nelson H. F. Beebe. Also, check
796 for "L" suffix, and check that long double doesn't have
797 worse range or precision than double, that mixed-mode
798 arithmetic doesn't generate a diagnostic, that double
799 constants fit in long double.
801 2004-06-03 Kevin Ryde <user42@zip.com.au>
803 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
804 malloc(0) and realloc(NULL,size).
806 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
809 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
811 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
812 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
815 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
817 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
818 can be rewritten using if-then-else. Suggested by Bruno Haible.
820 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
822 * doc/autoconf.texi (testsuite Scripts): Fix typo.
823 Problem reported by Stepan Kasal.
825 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
827 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
828 change). Patch reported by Ralf Wildenhues in
829 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
831 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
832 function F exists if the compiler and linker let you compile an
833 expression like (F != 0). Recent versions of GCC optimize away
834 the reference to F in that case, since every function address must
835 be nonzero, so the link succeeds even if F does not exist.
836 Problem reported by Manu in
837 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
839 * doc/autoconf.texi (Systemology): Standardize on the spelling of
840 "Unix". Many uses changed.
841 (Limitations of Builtins): Explain better why the ! command isn't
844 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
846 * lib/autom4te.in (Automake-preselections): Preselect
847 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
849 2004-05-19 Kevin Ryde <user42@zip.com.au>
851 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
852 referencing AC_FUNC_STRERROR_R.
854 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
855 note pessimistic assumption when cross compiling.
857 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
859 * doc/autoconf.texi (Limitations of Make): Note that BSD make
860 (until 2004) invoked subcommands with sh -e, contra POSIX.
861 Reported by Kevin Ryde.
863 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
865 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
866 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
867 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
868 `test -f " /usr/bin/grep"', which _always_ failed.
869 (AC_PROG_SED): Ditto bogus PATH fix.
870 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
871 requires that grep correctly supports _multiple_ `-e' options, rather
872 than stating only that grep should accept `-e'.
874 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
876 Port to C99, which requires that 'exit' be declared.
878 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
879 to ensure that stdlib.h is included.
880 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
881 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
882 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
883 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
884 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
885 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
886 when using 'exit' in a test; C99 requires that 'exit' be declared.
888 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
890 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
891 now prefers 'grep' implementations that accept -e.
892 (Limitations of Usual Tools): Describe problems of traditional
893 egrep and fgrep with long input lines, and of traditional grep
895 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
896 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
897 All callers changed. Append /usr/xpg4/bin to the PATH, for
899 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
900 the user with complaints about multiple -e options.
901 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
902 Define it with AC_PROG_GREP.
903 * configure.ac (AC_PROG_GREP): Add.
904 * lib/freeze.mk (GREP): New macro.
906 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
908 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
909 a possible candidate only after all others fail, rather than
910 consulting it first. This improves backward compatibility by
911 better reflecting the way shell selection occurred in previous
912 versions of Autoconf, and should help to avoid triggering latent
913 problems in other packages, such as the one in Automake where zsh
914 is not handled robustly:
915 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
916 Although it is not Autoconf's responsibility to work around
917 problems in Automake, it nevertheless makes sense to avoid
918 introducing unnecessary incompatibilites.
920 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
921 Gary V. Vaughan <gary@gnu.org>
923 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
924 how deeply nested we are when a suitable tool is found, set the
925 ac_path_TOOL_found flag.
926 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
927 nested we are in this macro. Break out of all 3 nested loops if
928 ac_path_TOOL_found is set.
930 2004-04-21 Gary V. Vaughan <gary@gnu.org>
932 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
933 of the _AS_PATH_WALK loop too if GNU flavor is found.
935 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
937 * doc/autoconf.texi (Limitations of Make): Update documentation
938 for `$<'. New entry `Long lines', based on a report from Simon
939 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
940 paragraph about DJGPP, based on a mail from Richard Dawe.
942 2004-04-20 Paul Eggert <eggert@twinsun.com>
944 * tests/c.at (C keywords): Don't assume that GCC supports
945 "restrict" and "inline", as sufficiently-old GCC versions do not
946 (also, GCC configured to be in pedantic C89 mode does not).
947 Problem reported by Sumit Pandya in:
948 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
950 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
951 consider -g to work if it generates warnings when plain compiles
952 don't. Problem reported by Braden McDaniel in:
953 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
955 * doc/autoconf.texi (Slashes): New section, to document a problem
956 reported by Jim Meyering in:
957 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
959 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
960 linker output files before linking, to work around IRIX 6 linker bug.
961 Problem reported by Rainer Orth in:
962 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
964 2004-04-20 Gary V. Vaughan <gary@gnu.org>
966 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
967 best tool so far counter rely on the tool path variable name to
968 avoid checks for one tool being affected by the results of running
969 the length check on a previous tool.
971 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
972 match expression argument, as different greps have different
973 regular expression flavours.
974 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
976 (AC_PROG_EGREP): Pass 'EGREP$'.
977 (AC_PROG_GREP): Pass 'GREP$'.
979 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
981 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
982 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
984 2004-03-29 Paul Eggert <eggert@twinsun.com>
986 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
987 Types, Specific Compiler Characteristics, System Services,
988 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
989 etc. consistently instead of 'long', 'short', 'unsigned' etc.
990 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
991 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
993 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
994 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
995 AC_TYPE_OFF_T): Likewise.
996 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
999 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
1000 pacify libtool 1.5.2. Fix quoting problems in sed command.
1002 2004-03-28 Paul Eggert <eggert@twinsun.com>
1004 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
1005 now defines HAVE_DECL_TZNAME if it is declared, when
1006 HAVE_STRUCT_TM_TM_ZONE is not defined.
1007 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
1008 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
1011 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
1013 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
1014 superfluous backslashing of quotes (") in sed expressions;
1015 thanks to Paul Eggert.
1017 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
1019 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
1020 Fortran compiler is ifort, also added pghpf; thanks to Nelson
1021 H. F. Beebe for the bug report.
1023 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
1025 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
1026 quoted -cmdline argument in Portland Group compiler (bug
1027 reported by Jeffrey J. Barteet).
1029 2004-03-25 Kevin Ryde <user42@zip.com.au>
1031 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
1032 (Run Time): ... here, where it's now mentioned.
1034 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
1036 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
1037 inherits from language Autoconf-without-aclocal-m4.
1038 (Customizing autom4te): Adjust example; the cache must now be
1039 disabled for language Autoconf-without-aclocal-m4.
1041 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
1042 Nathanael Nerode <neroden@twcny.rr.com>
1044 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
1045 AC_CHECK_TOOLS): Warn if a cross-tool is found without
1047 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1048 AC_CHECK_TARGET_TOOLS): New macros.
1049 * doc/autoconf.texi (Generic Programs): Document
1050 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
1051 AC_CHECK_TARGET_TOOLS, and warn for future changes
1052 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
1054 (Specifying Names): Document the reason for these future
1056 * tests/mktests.sh: Do not generate tests for the
1058 * NEWS: Document these changes.
1060 * doc/autoconf.texi: Avoid macros with unbraced arguments,
1061 they make TeX hang up.
1063 2004-03-15 Paul Eggert <eggert@bogus.example.com>
1065 * NEWS: New macro AC_CHECK_ALIGNOF.
1066 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
1067 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
1068 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
1070 (AC_CHECK_ALIGNOF): New macro.
1071 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
1072 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
1075 2004-03-03 Paul Eggert <eggert@twinsun.com>
1077 * bin/Makefile.am (edit): Don't use $< in a context where
1078 POSIX doesn't require support for it. Use $@.in instead.
1079 Problem reported by Anthony N. Frasso in
1080 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
1081 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
1083 2004-02-23 Gary V. Vaughan <gary@gnu.org>
1085 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
1086 from the next generation of Libtool.
1087 * lib/autom4te.in (Autoreconf-preselections): Ditto.
1089 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1091 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
1092 is not always thread-safe. Report from Nathanael Nerode.
1094 2004-02-18 Paul Eggert <eggert@twinsun.com>
1096 Fix a dependencies problem, stemming from a Autoconf 2.59 build
1097 problem on QNX reported by Stephen Rasku in
1098 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
1100 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
1101 $(m4sh_m4f_dependencies); this removes a FIXME.
1102 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
1103 (MAINTAINERCLEANFILES): Split into pieces,
1104 one per related section. Add $(srcdir)/wrapper.in.
1106 2004-02-09 Paul Eggert <eggert@twinsun.com>
1108 * doc/autoconf.texi (Setting Output Variables): Emphasize that
1109 AC_SUBST provides no portable way to escape literal newlines.
1111 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
1112 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
1113 Darwin uses -lcrt2.o and there's little point to cataloging all
1114 the system variants. Partial fix reported by Andreas Waechter in:
1115 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
1116 for bug reported by Nelson H. F. Beebe in:
1117 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
1119 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
1121 * doc/autoconf.texi (AU_DEFUN): Fix English,
1122 suggested by Paul Eggert.
1123 * lib/autoconf/autoupdate.m4: Correct reference to
1124 acobsolete.m4, suggested by Alexandre Duret-Lutz.
1126 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
1128 * bin/autoupdate.in: Define __file__ so that warnings
1129 refer to the correct file.
1130 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
1131 the behavior of the third argument.
1132 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
1133 correctly the behavior of the third argument. Document
1134 what the three macros that AU_DEFUN defines do. Fix
1135 warning message when the third argument includes $0
1136 (reported by Alexandre Duret-Lutz).
1138 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1139 Eric Sunshine <sunshine@sunshineco.com>
1140 Paul Eggert <eggert@twinsun.com>
1142 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
1143 (AS_INIT): Output shell initialization there. Removed optional
1144 parameter. Expand _AS_SHELL_FN_SPY.
1145 (AS_INIT_WITH_SHELL_FN): Removed.
1146 (_AS_SHELL_FN_SPY): New macro.
1147 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
1149 (AS_SHELL_SANITIZE): Remove loop to find better shell
1150 and documentation for the parameter.
1151 (_AS_DETECT_BETTER_SHELL): Move it here.
1152 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
1153 (_AS_RUN): Move it here, support testing with eval.
1154 (AS_REQUIRE_SHELL_FN): Require shell functions when
1156 (_AS_LINENO_WORKS): Put around braces, we do not
1157 trigger the bash bug anymore.
1158 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
1159 use AS_INIT_WITH_SHELL_FN.
1160 * bin/autoconf.in, tests/wrapper.in: Regenerated.
1162 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
1164 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
1165 * doc/autoconf.texi: Don't say that the third parameter
1167 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
1168 (AU_DEFUN): Honor the third parameter, create autoupdate
1169 macros with AU_DEFINE.
1170 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
1171 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
1172 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
1173 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
1174 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
1175 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
1176 AC_XENIX_DIR): Likewise.
1177 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
1178 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
1179 * lib/autoconf/status.m4: Remove FIXME.
1180 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
1181 that the macro is not present anymore in the updated
1183 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
1186 2004-01-28 Paul Eggert <eggert@twinsun.com>
1188 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
1190 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
1191 2003 (except 1997) to the list of copyright years. This undoes
1192 the 2003-05-22 change, which removed the older years from the list.
1193 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
1195 2004-01-27 Gary V. Vaugan <gary@gnu.org>
1196 Albert Chin-A-Young <china@thewrittenword.com>
1198 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
1199 grep or ggrep program in PATH that accepts as long lines as
1201 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
1203 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
1204 egrep and fgrep respectively if $GREP -E/-F don't work.
1205 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
1206 _AC_PROG_GREP, and AC_PROG_SED.
1207 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
1208 longest input length accepted by a command.
1209 (AC_PROG_SED): Use it.
1210 * doc/autoconf.texi (Particular Programs): Document the changes.
1213 2004-01-27 Paul Eggert <eggert@twinsun.com>
1215 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
1216 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1217 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
1218 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
1220 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
1221 bin/autoconf.in, config/Makefile.in, config/config.guess,
1222 config/config.sub, config/install-sh, config/mdate-sh,
1223 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
1224 lib/Makefile.in, lib/Autom4te/Makefile.in,
1225 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
1226 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
1227 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
1228 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
1229 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
1230 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
1231 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
1232 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
1233 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
1234 tests/actypes.at: Regenerate and/or sync with original
1237 2004-01-26 Paul Eggert <eggert@twinsun.com>
1239 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
1240 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
1241 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
1242 not <inttypes.h>. Problem reported by Tim Mooney in
1243 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
1244 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
1247 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
1248 otherwise "make check" fails because it forbids cmp (I guess
1249 because cmp treats files as binary on DOS-like systems).
1251 * tests/mktests.sh: Update copyright date to 2004, since some tests
1252 have changed in 2004.
1254 2004-01-23 Gary V. Vaugan <gary@gnu.org>
1256 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
1257 non-truncating sed or gsed program in PATH.
1258 * tests/acprograms.at: Add it.
1259 * doc/autoconf.texi (Particular Programs): Document it.
1262 2004-01-15 Paul Eggert <eggert@twinsun.com>
1264 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
1265 -std1 disables some useful extensions on Tru64. Problem reported
1267 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
1269 2004-01-14 Paul Eggert <eggert@twinsun.com>
1271 * doc/autoconf.texi (Programming in M4sh): Document that
1272 AS_MKDIR_P succeeds if the destination is a symbolic link
1273 to an existing directory.
1274 (Limitations of Usual Tools): Note that mkdir -p might not
1275 succeed on symlinks to directories.
1277 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
1279 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
1280 * bin/autoheader.in: Grammar fix in message.
1281 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
1282 Test for dir before calling mkdir -p. (trivial changes)
1284 2004-01-13 Eric Blake <ebb9@byu.net>
1286 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
1287 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
1289 2004-01-10 Jim Meyering <jim@meyering.net>
1291 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
1293 2004-01-09 Paul Eggert <eggert@twinsun.com>
1295 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
1296 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
1297 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
1298 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
1299 AC_COMPILE_IFELSE, since we now assume our caller invokes
1300 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
1301 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
1302 of AC_RUN_IFELSE; this avoids the warning mentioned above.
1303 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
1305 2004-01-07 Paul Eggert <eggert@twinsun.com>
1307 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
1308 `"'...'"`, as it's confusing (and I suspect it may not work on
1309 some platforms). The code was incorrect anyway, as it assumed
1310 that \$ evaluated to itself in that context. Reported by
1311 Alexandre Duret-Lutz.
1313 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
1315 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
1316 and _LT_AC_TAGCONFIG.
1318 2004-01-06 Paul Eggert <eggert@twinsun.com>
1320 * doc/autoconf.texi (One Macro Call): Fix an incorrect
1321 example, and add more examples. Reported by Eric Sunshine.
1323 2004-01-05 Paul Eggert <eggert@twinsun.com>
1325 * doc/autoconf.texi (Limitations of Usual Tools):
1326 Remove warning against "rm -fr" introduced yesterday; it
1329 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
1330 autoscan, autoupdate, ifnames): Don't use chmod -w.
1331 * lib/Makefile.am (autom4te.cfg): Likewise.
1332 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
1335 2004-01-04 Paul Eggert <eggert@twinsun.com>
1336 Paolo Bonzini <bonzini@gnu.org>
1338 * libc/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
1339 by doing lineno substitution only on lines containing "$LINENO".
1341 2004-01-04 Paul Eggert <eggert@twinsun.com>
1343 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
1344 Use "rm -f" to remove conftest.sed, not plain "rm".
1345 Bug reported by David Relson in
1346 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
1348 * Makefile.am (autom4te-update):
1349 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
1350 * Makefile.maint (my-distcheck, do-po-update): Likewise.
1351 * doc/autoconf.texi (Guidelines): Likewise.
1352 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
1353 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
1354 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1355 * lib/autotest/general.m4 (AT_INIT): Likewise.
1356 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
1357 * tests/Makefile.am (clean-local): Likewise.
1358 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
1360 * doc/autoconf.texi (Limitations of Usual Tools):
1361 Warn against "rm -fr".
1363 2004-01-03 Paul Eggert <eggert@twinsun.com>
1365 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
1366 -c -o might not work. From a suggestion by Kevin Ryde.
1367 (C Compiler, Generating Sources, Limitations
1368 of Usual Tools, Limitations of Make, Making testsuite Scripts):
1369 Don't put '-o' after non-options, as POSIX doesn't allow this.
1370 Mention that cc's name might be gcc or c89 or whatever.
1372 2004-01-04 Kevin Ryde <user42@zip.com.au>
1374 * doc/autoconf.texi: Add various further index entries.
1376 2003-12-29 Paul Eggert <eggert@twinsun.com>
1378 * bin/autoreconf.in (autoreconf_current_directory):
1379 Fix typo: mkdir without umask arg.
1381 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
1383 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
1384 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
1385 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
1386 explanation clearer.
1388 2003-12-24 Andreas Schwab <schwab@suse.de>
1390 * doc/autoconf.texi (Default Includes): Fix misspelling of
1391 AC_INCLUDES_DEFAULT.
1393 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1395 * configure.ac: Test if sh -n works.
1396 * configure: Regenerate.
1397 * tests/atlocal.in: Store the result here.
1398 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
1399 tools.at, looking in atlocal's ac_cv_sh_n_works instead
1400 of explicitly testing.
1401 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
1402 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
1403 * tests/tools.at (Syntax of the shell scripts): Simplify
1404 using AT_CHECK_SHELL_SYNTAX.
1405 (Syntax of the Perl scripts): Remove definition of
1406 AT_CHECK_PERL_SYNTAX.
1408 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
1410 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
1411 stderr to /dev/null.
1412 * bin/autoconf.in: Regenerate.
1413 * bin/wrapper.in: Regenerate.
1415 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
1417 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
1418 Extracted from AS_SHELL_SANITIZE.
1419 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
1421 (AS_SHELL_SANITIZE): Move reinvocation code from
1422 _AS_LINENO_WORKS, use it to find out if shell
1424 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
1426 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
1427 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
1429 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
1430 * bin/autoconf.in: Regenerate.
1431 * tests/wrapper.in: Regenerate.
1432 * tests/tools.at: Test the syntax of tests/autoconf
1433 and tests/testsuite.
1435 2003-11-24 Akim Demaille <akim@epita.fr>
1437 * config/announce-gen (&print_locations, &print_signatures)
1440 No longer rely on Gnus to inline the list of signatures: compute
1443 2003-11-24 Akim Demaille <akim@epita.fr>
1445 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
1446 override some files.
1447 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
1448 From Debian Autoconf 2.58.
1450 2003-11-24 Akim Demaille <akim@epita.fr>
1452 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
1454 From Debian Autoconf 2.58.
1456 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1458 * TODO: Remove already done things. Update the part about finding
1459 tools for the target.
1461 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1463 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
1464 Make wording more consistent.
1465 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
1466 Explain the transition better.
1467 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
1468 the transition better.
1470 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
1472 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
1473 parameter of AU_DEFUN.
1474 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
1475 (AU_DEFUN): Remove the third parameter, it was not used.
1476 Use AC_DEFUN directly, not AU_DEFINE.
1477 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
1478 the expanded body, consistently with other macros such as AC_USG.
1480 2003-11-17 Paul Eggert <eggert@twinsun.com>
1482 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
1483 into the initial confdefs.h, to work around a bug in NextStep 3.3
1484 patch 3 reported by Eric Sunshine.
1486 2003-11-15 Kevin Ryde <user42@zip.com.au>
1488 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
1489 than $target since the latter is not usual, add guidelines on when to
1490 use or not use the system type.
1492 2003-11-12 Derek Price <derek@ximbiot.com>
1494 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
1495 typo misrepaired by an auto-spellcheck.
1497 2003-11-12 Akim Demaille <akim@epita.fr>
1499 * bin/autoreconf.in (&parse_args): Don't call automake with
1500 --force-missing unless it actually supports it.
1501 From Debian #219336.
1503 2003-11-12 Akim Demaille <akim@epita.fr>
1505 * configure.ac: Bump to 2.59a.
1508 2003-11-06 Akim Demaille <akim@epita.fr>
1512 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
1514 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
1515 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
1516 and ac_abs_top_srcdir are absolute paths.
1517 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
1519 2003-11-05 Akim Demaille <akim@epita.fr>
1521 * configure.ac: Bump to 2.58a.
1523 2003-11-05 Kevin Ryde <user42@zip.com.au>
1525 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
1526 it provokes a warning from makeinfo about looking like a cross
1527 reference in info output.
1529 * doc/autoconf.texi (Function Portability): Add notes on signal
1530 handler return type, as per AC_TYPE_SIGNAL.
1532 2003-11-04 Akim Demaille <akim@epita.fr>
1535 * doc/standards.texi: Update from master.
1537 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
1539 2003-11-04 Akim Demaille <akim@epita.fr>
1541 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
1542 computing the absolute path to d1 in the source hierarchy: it may
1543 not exist at all. So don't cd into it.
1544 From Alexandre Duret-Lutz.
1545 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
1547 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
1548 From Paul Eggert, but named after Perl's IO::Spec->catfile.
1549 * doc/autoconf.texi (Programming in M4sh): Document.
1550 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
1552 2003-11-03 Pavel Roskin <proski@gnu.org>
1554 * doc/autoconf.texi (Generic Structure Checks): Describe
1555 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
1557 2003-10-31 Akim Demaille <akim@epita.fr>
1559 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
1561 * doc/autoconf.texi (Language Choice): Document.
1562 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
1563 the current language is Fortran.
1565 2003-10-31 Akim Demaille <akim@epita.fr>
1567 * bin/autom4te.in (&freeze): Use a less likely warning separator
1568 than `\n\n', so that `\n\n\n' is valid in warnings.
1569 Reported by Steve Huston.
1571 2003-10-28 Akim Demaille <akim@epita.fr>
1573 * Makefile.cfg (local_updates, executable-update): Tweak to be
1574 robust to parallel makes.
1575 Suggested by Alexandre Duret-Lutz.
1577 2003-10-27 Akim Demaille <akim@epita.fr>
1579 * Makefile.cfg (executable-update): New.
1580 (local_updates): Call it.
1582 2003-10-27 Akim Demaille <akim@epita.fr>
1584 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
1585 Don't remove core.* as it may remove valid user files.
1586 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
1587 (AC_FUNC_UTIME_NULL): Likewise.
1589 2003-10-23 Akim Demaille <akim@epita.fr>
1592 * config/config.guess, config/config.sub: Upgrade from masters.
1594 2003-10-23 Akim Demaille <akim@epita.fr>
1596 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
1597 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
1600 2003-10-23 Akim Demaille <akim@epita.fr>
1602 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
1603 Don't forget to remove conftest.err.
1605 2003-10-23 Akim Demaille <akim@epita.fr>
1607 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
1608 same object file in $LIBOBJS.
1609 Reported by Alexandre Duret-Lutz & Derek Robert Price.
1610 * doc/autoconf.texi (Generic Functions): Adjust.
1612 2003-10-20 Paul Eggert <eggert@twinsun.com>
1614 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
1615 Use 'eval', so that the resulting configure scripts work even if
1616 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
1618 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
1620 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
1621 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
1622 (_AC_LINK_IFELSE): Check the werror flag.
1623 * doc/autoconf.texi (Generic Compiler Characteristics): Document
1627 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
1629 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
1630 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
1631 override AC_LINK_IFELSE.
1633 2003-10-15 Paul Eggert <eggert@twinsun.com>
1635 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
1636 pdksh 5.2.14. Bug reported by Ralf Corsepius.
1637 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
1638 Mention /usr/dt/bin/dtksh on Solaris.
1639 (Shell Substitutions): Warn about $((...)).
1640 (Parentheses): New section.
1642 2003-10-15 Kevin Ryde <user42@zip.com.au>
1644 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
1645 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
1647 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
1649 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
1652 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
1654 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
1655 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
1657 2003-10-10 Andreas Schwab <schwab@suse.de>
1659 * bin/autoheader.in: Avoid empty first line in --version and
1661 * bin/ifnames.in: Likewise.
1663 2003-10-09 Paul Eggert <eggert@twinsun.com>
1665 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
1666 Issue a more-informative diagnostic.
1667 Problems reported by Eric Sunshine.
1669 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
1671 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
1672 -mGLOB_options_string stuff for Intel ifc, which can cause
1673 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
1674 pattern-matching instead of grep.
1676 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
1678 * doc/autoconf.texi: Document new FC Fortran macros.
1680 2003-10-08 Gary V. Vaughan <gary@gnu.org>
1682 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
1683 that future autopoint/aclocal/automake/autoreconf will be able
1684 to trace to find where to install local m4 macros.
1685 * doc/autoconf.texi (Input): Document it.
1688 2003-10-06 Gary V. Vaughan <gary@gnu.org>
1690 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
1691 -lcrtbegin.o to list of ignored flags and fix underquoting of
1694 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
1696 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
1697 cache variable instead of $G77 to decide whether to include -O2,
1698 since $G77 is specific to Fortran 77.
1700 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
1702 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
1703 free" flag. Re-order flags tested into rough order of popularity.
1705 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
1707 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
1708 arguments so that it can be used with syntax identical to
1709 AC_PROG_F77, and so that we can more easily decide to
1710 remove/deprecate the DIALECT optional argument in the future if it
1712 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
1713 non-freeform-supporting compilers. Document freeform flags.
1715 2003-10-03 Akim Demaille <akim@epita.fr>
1717 * configure.ac: Look for emacs, not macs.
1718 Reported by Eric Sunshine.
1720 2003-10-03 Akim Demaille <akim@epita.fr>
1722 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
1723 * bin/autoreconf.in (autoreconf_current_directory): Create the
1724 AUX_DIR if needed, for sake of automake --add-missing etc.
1725 Suggested by Alexandre Duret-Lutz.
1727 2003-10-03 Akim Demaille <akim@epita.fr>
1729 * configure.ac: Quotation and formatting changes.
1730 (EMACS): Don't set it if it is not recent enough to support
1734 2003-10-02 Akim Demaille <akim@epita.fr>
1736 * bin/ifnames.in (&scan_file): Skip C++ comments.
1739 2003-10-01 Pavel Roskin <proski@gnu.org>
1741 * doc/autoconf.texi (Particular Structure Checks):
1742 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
1744 2003-10-01 Akim Demaille <akim@epita.fr>
1748 2003-09-30 Paul Eggert <eggert@twinsun.com>
1750 * lib/Autom4te/XFile.pm: Use Errno.
1751 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
1752 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
1754 2003-09-30 Akim Demaille <akim@epita.fr>
1756 * config/announce-gen (&print_news_deltas): Extracted from...
1757 (&print_changelog_deltas): here.
1758 (&news_file): Rename as...
1761 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
1763 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
1764 have been created when invoking the compiler.
1765 * tests/fortran.at (GNU Fortran 77): Quote $G77.
1767 2003-09-29 Akim Demaille <akim@epita.fr>
1771 * config/mkinstalldirs: Upgrade.
1773 2003-09-28 Paul Eggert <eggert@twinsun.com>
1775 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
1776 Problem reported by Lars J. Aas in
1777 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
1778 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
1779 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
1780 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
1782 2003-09-26 Akim Demaille <akim@epita.fr>
1784 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
1785 directory for AC_CONFIG_COMMANDS' first argument exists.
1786 This makes valid the invocation of _AC_SRCPATH that follows.
1787 Reported by Eric Sunshine.
1788 * doc/autoconf.texi (Configuration Commands): Adjust.
1790 2003-09-26 Akim Demaille <akim@epita.fr>
1792 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
1793 Reported by Ralf Corsepius.
1795 2003-09-26 Akim Demaille <akim@epita.fr>
1797 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
1799 Actually, use AU_ALIAS.
1802 2003-09-26 Paul Eggert <eggert@twinsun.com>
1804 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
1805 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
1806 Problem reported by Eric Sunshine in:
1807 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
1809 2003-09-26 Akim Demaille <akim@epita.fr>
1811 The test suite are sometimes assigning timings incorrectly.
1812 Reported by Henk Krus.
1813 Diagnosed by Nicolas Joly.
1815 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
1817 Instead of making AT_help a sequence of assignments to grow
1818 $at_help_all, just make AT_help_all be the growing contents of
1819 $at_help_all, and make a single assignment in...
1821 (at_times_skip): Flip the meaning and rename as...
1823 (AT_INIT): When summarizing the test that ran, remove
1824 $at_times_file after use, and check it is present before trying to
1827 2003-09-25 Akim Demaille <akim@epita.fr>
1831 * bin/Makefile.am (edit): Handle '@configure_input@'.
1832 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
1833 (ifnames): chmod -w.
1834 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
1835 executables, not bin/ executables! Otherwise all the magic needed
1836 to find non installed files is turned off. This caused a failure
1837 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
1838 as found in its environment (sent by tests/autoreconf): pointing
1839 to bin/autom4te that could not find its files.
1840 * tests/mktests.sh: Force the replacement of generated files, for
1841 the sake of "mv" program that are interactive when overwriting a
1843 * config/install-sh: Upgrade from CVS Automake.
1845 2003-09-23 Paul Eggert <eggert@twinsun.com>
1847 * doc/autoconf.texi (Limitations of Builtins): Document test -h
1848 versus test -L issues.
1850 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
1851 Paul Eggert <eggert@twinsun.com>
1853 Trivial change to support GCC's configuration procedure.
1854 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
1855 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
1856 about inconsistency if the preprocessor is set to give errors for
1858 * doc/autoconf.texi (C Compiler Characteristics): Document this.
1860 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
1862 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
1863 and XFile.pm from Automake.
1864 * lib/Autom4te/XFile.pm: Update from Automake.
1866 2003-09-12 Akim Demaille <akim@epita.fr>
1870 2003-09-12 Akim Demaille <akim@epita.fr>
1872 * config/config.guess, config/config.sub, config/missing,
1873 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
1876 2003-09-12 Akim Demaille <akim@epita.fr>
1878 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
1881 2003-09-11 Akim Demaille <akim@epita.fr>
1883 * doc/autoconf.texi (Header Portability): linux/random.h.
1884 From Peter Hendrickson.
1886 2003-09-10 Akim Demaille <akim@epita.fr>
1888 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
1889 willing to edit the output files.
1891 2003-09-10 Akim Demaille <akim@epita.fr>
1893 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
1895 * tests/mktests.sh: Skip AC_FC_SRCEXT.
1896 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
1898 2003-09-09 Akim Demaille <akim@epita.fr>
1900 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
1901 Reported by Gary Vaughan.
1902 * bin/autom4te.in (handle_m4): Likewise.
1904 2003-09-09 Akim Demaille <akim@epita.fr>
1906 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
1909 2003-09-07 Paul Eggert <eggert@twinsun.com>
1911 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
1912 Improve the accuracy of the wording about obsolescence.
1913 From a suggestion by Ian Lance Taylor in
1914 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
1916 2003-09-05 Paul Eggert <eggert@twinsun.com>
1918 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
1919 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
1921 2003-09-04 Akim Demaille <akim@epita.fr>
1923 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
1926 2003-09-04 Akim Demaille <akim@epita.fr>
1928 * bin/autom4te.in: Use &fatal where more appropriate than &error.
1929 (freeze): When exiting, use $exit_code.
1930 * lib/autoconf/fortran.m4: Comment changes.
1932 2003-09-04 Akim Demaille <akim@epita.fr>
1934 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
1936 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
1938 Add support for newer Fortran dialects. The F77 interface is
1939 unchanged, and continues to support Fortran 77. New FC macros
1940 correspond to all the old F77 macros, with output variables FC,
1941 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
1942 available dialect, but older dialects can be specified. There are
1943 new macros AC_FC_SRCEXT to set the source extension, and
1944 AC_FC_FREEFORM to accept free-form source files.
1946 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
1948 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
1949 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
1950 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
1951 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
1952 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
1953 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
1954 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
1955 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
1956 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
1957 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
1958 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
1959 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
1960 AC_FC_SRCEXT, AC_FC_FREEFORM):
1962 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
1963 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
1964 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
1965 Rewrite in terms of the above.
1966 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
1967 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
1968 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
1969 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
1971 2003-09-02 Paul Eggert <eggert@twinsun.com>
1973 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
1974 Document problems with timestamp resolution that 'make', 'cp -p', and
1977 2003-08-27 Akim Demaille <akim@epita.fr>
1979 * tests/m4sugar.at (cross_warning): Make sure to enable the
1980 output, so that we can track spurious m4sugar output.
1981 * tests/local.at: Require 2.57.
1982 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
1983 are defaulted by AT_CHECK anyway.
1984 Use AT_CHECK_AUTOM4TE.
1985 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
1988 2003-08-27 Akim Demaille <akim@epita.fr>
1990 * bin/autoheader.in: Issue the "Using auxiliary..." message only
1991 when -Wobsolete is set.
1992 Set it on by default.
1993 Suggested by Klee Dienes.
1995 2003-08-27 Akim Demaille <akim@epita.fr>
1997 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
2001 2003-08-26 Akim Demaille <akim@epita.fr>
2003 * doc/autoconf.texi (Output): Make clear that one can run code
2006 2003-08-25 Akim Demaille <akim@epita.fr>
2008 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
2011 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
2013 * bin/autoreconf.in (parse_args): Do not pass --no-force to
2014 Automake versions prior to 1.8.
2016 2003-08-25 Akim Demaille <akim@epita.fr>
2018 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
2021 2003-08-24 Akim Demaille <akim@epita.fr>
2023 * configure.ac: Bump to 2.57c.
2025 2003-08-22 Akim Demaille <akim@epita.fr>
2029 * Makefile.cfg (local-checks-to-skip): New.
2030 * Makefile.maint (local-check): Rename as...
2031 (local-checks-available): this.
2034 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
2035 * configure.ac: Require Automake 1.7.6.
2037 2003-08-22 Akim Demaille <akim@epita.fr>
2039 Output stack traces in warnings.
2041 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
2042 Replace the former...
2043 (m4_warn): Pass the call stack to _m4_warn.
2044 * bin/autom4te.in: Adjust to output the call stack.
2045 * tests/m4sugar.at (m4@&t@_warn): Adjust.
2047 2003-08-22 Akim Demaille <akim@epita.fr>
2049 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
2050 * bin/autom4te.in: Adjust.
2052 2003-08-21 Akim Demaille <akim@epita.fr>
2054 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
2056 (&getopt): Adjust the note and verb channels, depending upon
2058 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
2059 * bin/autoupdate.in: Adjust.
2060 Use &verb, not &verbose.
2062 2003-08-21 Akim Demaille <akim@epita.fr>
2064 * bin/autoheader.in (&parse_args): Use &parse_warnings and
2066 ($help): Use Autom4te::ChannelDefs::usage.
2067 * bin/autoscan.in: Use Autom4te::ChannelDefs.
2068 * lib/Autom4te/General.pm: Don't export error: you don't own it.
2070 2003-08-21 Akim Demaille <akim@epita.fr>
2072 First stab at preserving warnings between calls to autom4te,
2073 including when the cache is used.
2075 There are still several issues: (i) there are too many runs of m4
2076 (one for include, one for warnings, and some more), (ii) warnings
2077 spreading on several lines are not handled gracefully, (iii) the
2078 code meant to have the call stack display for errors does not work
2079 (its handling should move from m4 to autom4te).
2081 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
2083 (@preselect): Add m4_warn.
2084 ($exit_status): Remove, use $exit_code.
2085 ($help): Use Autom4te::ChannelDefs::usage.
2086 (&handle_m4): No longer define the m4_warnings.
2087 At each run, extract and report the warnings.
2088 Always cache the result, including if the exit status is on
2089 failure, since if nothing changes, we should result in the same
2090 failure, hence we can use the cache.
2091 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2092 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
2094 (m4_warn): Redefine as a do-nothing: it is its invocation that
2095 matters, as warnings are now reported via traces.
2096 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
2097 the contents of m4_warn: make it _call_ m4_warn, so that tracing
2098 the latter reveals calls to the former.
2102 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
2104 2003-08-21 Akim Demaille <akim@epita.fr>
2106 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
2109 2003-08-21 Akim Demaille <akim@epita.fr>
2111 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
2113 * lib/Autom4te/ChannelDefs.pm: Doc typos.
2114 (&parse_warnings): Accept a list of warning requests.
2115 (&usage): Return a string, not a side effect.
2116 (cross): New warning category.
2118 2003-08-21 Akim Demaille <akim@epita.fr>
2120 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
2121 (&require_configure_ac): Accept an optional directory argument.
2122 ($configure_ac): Remove.
2123 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
2125 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
2126 * bin/autoscan.in: Adjust.
2128 2003-08-20 Akim Demaille <akim@epita.fr>
2130 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
2131 Reported by Alexandre Duret-Lutz.
2133 2003-08-20 Akim Demaille <akim@epita.fr>
2135 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
2136 * bin/autom4te: Adjust.
2137 In particular, be Autoconf tools are really silent when properly
2138 working, bind the verbosity of the 'note' channel to $verbose.
2139 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
2140 (&xsystem, &contents): Remove, since they are exported by...
2141 * lib/Autom4te/FileUtils.pm: this.
2143 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
2144 * lib/Autom4te/FileUtils.pm: here.
2146 2003-08-20 Akim Demaille <akim@epita.fr>
2148 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
2149 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
2152 2003-08-20 Akim Demaille <akim@epita.fr>
2154 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
2155 (autom4te-update): New.
2156 * Makefile.cfg (update): Bind autom4te-update.
2158 2003-08-19 Derek Price <derek@ximbiot.com>
2160 * lib/autotest/general.m4: Comment various HELP_* diversions.
2161 (PARSE_ARGS_BEGIN): New section for option parsing related
2163 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
2164 package specific options and associated help.
2166 2003-08-19 Akim Demaille <akim@epita.fr>
2168 * config/announce-gen, Makefile.cfg: New.
2169 * Makefile.am: Adjust.
2170 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
2172 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2174 * lib/autom4te.in (Automake-preselections): Preselect
2175 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
2178 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
2180 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
2181 (Autoconf-without-aclocal-m4): ... this new language.
2182 * doc/autoconf.texi (autom4te Invocation): Mention
2183 Autoconf-without-aclocal-m4.
2185 2003-08-18 Derek Price <derek@ximbiot.com>
2187 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
2188 RUN-IF-PASS optional arguments.
2190 2003-08-18 Derek Price <derek@ximbiot.com>
2192 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
2194 2003-08-16 Derek Price <derek@ximbiot.com>
2196 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
2197 STDOUT & STDERR arguments.
2199 2003-08-14 Derek Price <derek@ximbiot.com>
2201 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
2202 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
2203 shorter column three. Add DESCRIPTION to log file content.
2205 2003-08-13 Derek Price <derek@ximbiot.com>
2207 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
2210 2003-08-12 Derek Price <derek@ximbiot.com>
2212 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
2213 (AT_CHECK_NOESCAPE): Move core functionality to...
2214 (_AT_CHECK): ...this new macro.
2216 2003-08-07 Derek Price <derek@ximbiot.com>
2218 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
2219 (AT_CHECK_NOESCAPE): ...to this new macro.
2221 2003-07-31 Paul Eggert <eggert@twinsun.com>
2223 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
2224 in Bash 2.01. Problem reported by Brian Gough in
2225 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
2227 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
2229 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
2230 -lcrt1.o, for OS X. (trivial change)
2232 2003-07-07 Paul Eggert <eggert@twinsun.com>
2234 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
2235 inside '#ifndef __cplusplus'. Problem reported by
2238 2003-07-06 Bill Clarke <llib@computer.org>
2240 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
2241 'long', not 'int', for benefit of Sun's recent C++ compilers
2242 (trivial change). See:
2243 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
2244 (This really should be 'intptr_t', not 'long', but that would
2247 2003-06-25 Akim Demaille <akim@epita.fr>
2249 * lib/Makefile.am (autom4te.cfg): Make it read only.
2250 Depend on Makefile since it contains substitutions.
2252 * lib/autom4te.in (args): Add local.at? for Autotest args.
2253 This change was made on autom4te.cfg which is generated.
2254 Reported by Raja R. Harinath.
2256 2003-06-25 Akim Demaille <akim@epita.fr>
2258 * doc/autoconf.texi (Header Portability): sys/mount.h.
2259 From Gareth McCaughan.
2261 2003-06-23 Akim Demaille <akim@epita.fr>
2263 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
2264 not all of them. This fixes 1. the fact that when testing
2265 Autoconf there are many many config.log, 2. the incorrect use of
2266 top_srcdir to find config.log.
2267 Don't mix the detailed output of failed test with the summary of
2268 failures. Rather, append detailed log afterwards.
2270 2003-06-23 Akim Demaille <akim@epita.fr>
2272 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
2273 always run: output config.log on $at_group_log.
2275 2003-06-23 Akim Demaille <akim@epita.fr>
2277 * tests/torture.at (#define header templates): Don't use quotes in
2278 C++ comments as it puzzles Emacs' sh font-lock-mode.
2280 2003-06-23 Akim Demaille <akim@epita.fr>
2282 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
2283 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
2284 * tests/atspecific.m4: Rename as...
2285 * tests/local.at: This.
2286 * tests/suite.at: Move the globals into...
2287 * tests/local.at: here.
2288 * tests/Makefile.am: Adjust.
2289 * doc/autoconf.texi (testsuite Scripts): Adjust.
2291 2003-06-21 Kevin Ryde <user42@zip.com.au>
2293 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
2294 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
2295 ensuring we add -std1 for full-ANSI.
2297 * doc/autoconf.texi (hdrindex): New macro.
2298 Add index entries for portability of various standard header files.
2300 2003-06-20 Akim Demaille <akim@epita.fr>
2302 * configure.ac: Bump to 2.57b.
2304 2003-06-20 Akim Demaille <akim@epita.fr>
2308 2003-06-20 Akim Demaille <akim@epita.fr>
2310 * bin/autom4te.in: Don't rely on $HOME being defined.
2311 Reported by Marc Espie as PR/233.
2313 2003-06-20 Akim Demaille <akim@epita.fr>
2315 * lib/autotest/general.m4: Use at_times_file only if used.
2318 2003-06-20 Akim Demaille <akim@epita.fr>
2320 * config/config.guess, config/config.sub, config/elisp-comp,
2321 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
2322 Update from masters.
2324 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
2326 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
2327 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
2328 (TEST_SCRIPT): New diversion.
2329 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
2330 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
2331 (AT_INIT): Support for expected failures.
2333 2003-06-02 Akim Demaille <akim@epita.fr>
2335 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
2337 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
2338 Autoconf nor Automake.
2339 (&contents): New, from Automake.
2342 2003-05-28 Paul Eggert <eggert@twinsun.com>
2344 * NEWS, doc/autoconf.texi (Particular Functions),
2345 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
2346 is the inverse of localtime.
2348 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
2350 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
2351 (handle_exec_errors): New function. Work around $! being
2352 altered by WEXITSTATUS.
2353 (xqx, xsystem): Use handle_exec_errors.
2355 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
2357 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
2358 Do not call `_exit()', simply modify `$?'.
2359 (xsystem): Reset $! before running system, and check it afterward.
2360 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
2361 63 for version mismatches.
2363 2003-05-23 Akim Demaille <akim@epita.fr>
2365 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
2366 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
2367 the middle of a line).
2368 * lib/m4sugar/m4sugar.m4: Likewise.
2369 Remove useless spaces in comments.
2371 2003-05-23 Akim Demaille <akim@epita.fr>
2373 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
2374 exit 63, so that we (or Automake's "missing") can tell the
2375 difference with a plain failure.
2376 * doc/autoconf.texi (Notices): Adjust.
2378 2003-05-23 Akim Demaille <akim@epita.fr>
2380 * Makefile.am, bin/Makefile.am, config/Makefile.am,
2381 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
2382 White spaces cleanup.
2384 2003-05-22 Jim Meyering <jim@meyering.net>
2385 Paul Eggert <eggert@twinsun.com>
2387 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
2388 Remove `#include <stdlib.h>' from the list; we should never
2389 make confdefs.h include <stdlib.h> or <cstdlib>, because the
2390 resulting namespace pollution would cause other tests to fail.
2391 Configure scripts run with some older versions of g++ and HP's
2392 aCC would fail due to such an #include. Problems reported by
2393 Matthew Mueller in <http://bugs.debian.org/120704> and by
2395 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
2396 In the test, use the test declaration before including <stdlib.h>,
2397 as that's closer to how it'll be used.
2399 2003-05-23 Akim Demaille <akim@epita.fr>
2401 * doc/autoconf.texi (Header Portability): ucred.h.
2404 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2406 Overhaul Autotest's logging: generate separate log files
2407 in testsuite.dir/NNN/testsuite.log, and append them to
2408 testsuite.log instead of re-running the test verbosely.
2410 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
2411 file descriptor, write 0 to at_status_file instead of setting
2412 at_status=0, initialize some new variables (at_status_file,
2413 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
2414 to rerun the tests, instead append the at_group_log to the
2415 at_suite_log when a test fails.
2416 (AT_SETUP): pipe the test case's output into at_tee_pipe,
2417 with the AS_MESSAGE_LOG_FD redirected to stdout.
2418 (AT_CLEANUP): save the output status in $at_status_file
2419 and restore it, redirect the AS_MESSAGE_LOG_FD back to
2421 (AT_CHECK): since tests are run with a redirected stdout,
2422 and used to be re-run in verbose mode, turn some $at_verbose
2423 into echo, and don't redirect the output of testing stdout
2426 * lib/autotest/autoconf.texi (testsuite Scripts): Update
2427 the name of the debugging directory and information about
2430 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
2432 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
2435 2003-05-22 Akim Demaille <akim@epita.fr>
2437 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
2438 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
2439 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
2440 * lib/autoconf/status.m4: Fix and adjust copyright notices.
2442 2003-05-22 Akim Demaille <akim@epita.fr>
2444 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
2445 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
2446 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
2447 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
2448 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
2449 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
2450 * lib/autoconf/status.m4, lib/autoconf/types.m4,
2451 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
2452 * tests/atspecific.m4, tests/base.at, tests/compile.at,
2453 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
2454 * tests/tools.at, tests/torture.at:
2455 Whitespace clean up.
2456 Suggested by Jim Meyering.
2458 2003-05-22 Akim Demaille <akim@epita.fr>
2460 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
2461 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
2462 Reported by Jim Meyering.
2464 2003-05-22 Akim Demaille <akim@epita.fr>
2466 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
2467 Add AC_HELP_STRING to the obsolete macros section.
2469 Use '@.' for sentences that ended in a capital letter.
2472 2003-05-22 Akim Demaille <akim@epita.fr>
2474 * config/config.guess, config/config.sub, config/elisp-comp,
2475 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
2476 * config/texinfo.tex, doc/standards.texi: Update from masters.
2478 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
2480 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
2483 2003-05-21 Akim Demaille <akim@epita.fr>
2485 * bin/autoupdate.in ($m4): Fix quotation.
2486 Reported by Martin Mokrejs.
2488 2003-05-19 Paul Eggert <eggert@twinsun.com>
2490 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
2491 Remove non-ASCII characters.
2493 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
2495 * tests/semantics.at (AC_SEARCH_LIBS): New test.
2496 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
2497 AC_CHECK_HEADERS_NEW): New tests.
2499 2003-05-17 Akim Demaille <akim@epita.fr>
2501 * lib/autoconf/functions.m4: Use the default includes so that
2502 memcmp be declared before being tested.
2503 Reported by Sander Niemeijer.
2504 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
2505 * doc/autoconf.texi (Default Includes): Document
2506 AC_INCLUDES_DEFAULT.
2508 2003-05-17 Akim Demaille <akim@epita.fr>
2510 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
2511 * doc/autoconf.texi (Obsolete Macros): Adjust.
2512 Reported by Werner LEMBERG and Debian Bug 190886.
2514 2003-05-16 Akim Demaille <akim@epita.fr>
2516 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
2517 user name space clashes.
2518 Reported by Bruno Haible.
2520 2003-05-16 Akim Demaille <akim@epita.fr>
2522 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2523 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
2524 them uniform, and more robust to Perl special characters.
2525 Reported by Martin Mokrejs.
2527 2003-05-14 Akim Demaille <akim@epita.fr>
2529 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
2531 2003-05-14 Akim Demaille <akim@epita.fr>
2533 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
2536 2003-05-12 Akim Demaille <akim@epita.fr>
2538 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
2540 From Matthias Andree.
2542 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
2544 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
2547 2003-05-06 Akim Demaille <akim@epita.fr>
2549 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
2550 longer updates aclocal.m4 if useless, (ii) if a file m4_included
2551 by aclocal.m4 is changed it might require the importing of another
2552 m4 extension file, i.e., aclocal must be run.
2554 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
2555 (&parse_args): Use --force with aclocal if required and supported.
2556 (&autoreconf_current_directory): Use &run_aclocal.
2558 2003-05-06 Akim Demaille <akim@epita.fr>
2560 Lock autom4te's cache.
2562 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
2563 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
2564 argument instead of a file name, so that the request file remains
2565 open during the whole autom4te run.
2566 ($icache_file): New.
2567 (&freeze): Lock the $icache_file.
2569 2003-04-29 Derek Price <derek@ximbiot.com>
2571 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
2572 seperator with m4_append_uniq(). It doesn't work.
2573 (AT_CLEANUP): Add `;' to end of at_help_all.
2574 (AT_INIT): Allow --keywords to be specified more than once. When
2575 grepping $at_help_all for keywords, use the field and keyword
2576 seperators to ensure a complete keyword match. Alter at_prev handling
2577 to support the new --keywords behavior.
2579 2003-04-27 Karl Berry <karl@freefriends.org>
2581 * doc/autoconf.texi: Make the dir entries in the autoconf manual
2582 align better with others. I also made some of the individual
2583 entries on one line, for brevity and to make it easier for me to
2584 sort my dir-example file in the Texinfo distribution :).
2586 2003-04-12 Jim Meyering <jim@meyering.net>
2588 * NEWS: Mention the new macro.
2589 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
2590 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
2591 * tests/c.at: Test AC_C_RESTRICT.
2592 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
2594 2003-04-08 Akim Demaille <akim@epita.fr>
2596 * bin/ifnames.in: Skip C++ comments.
2599 2003-04-08 Akim Demaille <akim@epita.fr>
2601 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
2602 From Ilya Zakharevich.
2604 2003-04-08 Akim Demaille <akim@epita.fr>
2606 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
2609 2003-04-01 Derek Price <derek@ximbiot.com>
2611 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
2612 from Akim's checkin of 2003-03-29.
2614 2003-04-01 Derek Price <derek@ximbiot.com>
2616 * tests/torture.at (Configuring subdirectories): Add missing
2617 close-quote for Akim's change from 2003-03-28.
2619 2003-04-01 Akim Demaille <akim@epita.fr>
2621 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
2622 (AC, AT, MS): these.
2623 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
2626 * doc/Makefile.am (CLEANFILES): Adjust.
2627 (TEXI2DVI): Make it --batch.
2629 2003-03-31 Derek Price <derek@ximbiot.com>
2631 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
2632 which removed the main loop.
2633 Thanks to Akim Demaille.
2635 2003-03-29 Akim Demaille <akim@epita.fr>
2637 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
2639 From Ilya Zakharevich.
2641 2003-03-29 Akim Demaille <akim@epita.fr>
2643 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
2644 documentation to read is Autoconf's.
2645 Suggested by Paul Eggert.
2647 2003-03-28 Akim Demaille <akim@epita.fr>
2649 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
2650 reading the section "Present But Cannot Be Compiled" when the
2651 header causes problems.
2653 2003-03-28 Akim Demaille <akim@epita.fr>
2655 * tests/torture.at (Configuring subdirectories): Require aclocal
2656 1.4, otherwise the test fails, as it does support configure.ac.
2657 This fixes the "test 40 failed" bug reports.
2659 2003-03-28 Akim Demaille <akim@epita.fr>
2661 * doc/autoconf.texi (C Compiler): `#line' portability.
2662 From Paul Eggert and Nelson H. F. Beebe.
2664 2003-03-27 Derek Price <derek@ximbiot.com>
2666 * lib/autotest/general.m4: Eliminate main loop and reorganize test
2667 layout in order to allow scripting around test groups.
2669 2003-03-27 Derek Price <derek@ximbiot.com>
2671 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
2672 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
2673 use new diversions in preparation for accepting new arguments and
2674 allowing scripting around tests.
2675 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
2677 2003-03-26 Derek Price <derek@ximbiot.com>
2679 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
2680 obsolete AC_HELP_STRING.
2681 (AC_HELP_STRING): AU_DEFUN to...
2682 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
2683 * tests/m4sh.at (AS_HELP_STRING): New test.
2685 * tests/acgeneral.at: Regenerated.
2687 2003-03-26 Derek Price <derek@ximbiot.com>
2689 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
2690 sense. Verbosify the diversion definitions comment.
2692 2003-03-26 Derek Price <derek@ximbiot.com>
2694 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
2697 2003-03-21 Eric Siegerman <eric_97@pobox.com>
2699 * doc/autoconf.texi (Present But Cannot Be Compiled):
2700 Grammar fixes and minor rewording. (trivial change)
2702 2003-03-06 Paul Eggert <eggert@twinsun.com>
2704 Work around a problem noted by Nelson H. F. Beebe with coreutils
2705 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
2706 2002/05/09) rejects '#line 32768 "configure"' because the line
2708 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
2710 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
2711 * doc/autoconf.texi (Generating Sources): Document this.
2713 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
2715 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
2716 file name for the m4 program, when it has an "exe" file extension.
2717 DJGPP's error messages include the error code in brackets -
2718 remove the error code during normalization.
2720 2003-02-28 Akim Demaille <akim@epita.fr>
2722 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
2724 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
2726 * doc/autoconf.texi (Limitations of Make): Remove the section
2727 about `$<' in inference rules, it was a bogus interpretation of
2728 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
2729 Tru64 make in the "target lookup" section.
2730 (Automake): Automake 1.5+ no longer requires special tools to be
2731 present on the developer's host.
2733 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
2735 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
2736 to a shell that can handle redirection or quoting correctly.
2737 Override SHELL with the shell detected by configure.
2738 Use of $^O suggested by Tim van Holder.
2739 * bin/autom4te.in (BEGIN): Likewise.
2740 * bin/autoreconf.in (BEGIN): Likewise.
2741 * bin/autoscan.in (BEGIN): Likewise.
2742 * bin/autoupdate.in (BEGIN): Likewise.
2743 * bin/ifnames.in (BEGIN): Likewise.
2745 * bin/ifnames.in: Add final newline to help and version messages.
2747 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
2748 to cope with DOS-style absolute paths, when constructing
2751 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
2752 When constructing paths with IFS=:, quote the path. If we're
2753 constructing a DOS-style absolute path, we don't want to split it
2756 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
2759 2003-02-25 Pavel Roskin <proski@gnu.org>
2761 * bin/autoheader.in: Add missing newline when printing
2762 suggestion how change AC_DEFINE call.
2764 2003-02-24 Paul Eggert <eggert@twinsun.com>
2766 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
2767 2002-09-01 patch by replacing "test -n" with "test -z".
2768 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
2769 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
2771 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
2772 to fix a mismatch between example and discussion.
2774 2003-02-24 Kevin Ryde <user42@zip.com.au>
2776 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
2777 format starting with "-".
2779 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2781 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
2782 is not portable inside Makefile.
2784 2003-02-20 Akim Demaille <akim@epita.fr>
2786 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
2787 compiler says yeah, but preproc says nope, compiler is right.
2788 Conversely, prompt the reader to send a bug report to the
2789 maintainers of the package, not of Autoconf.
2791 2003-02-20 Klee Dienes <kdienes@apple.com>
2793 * bin/autoreconf.in (autoreconf_current_directory): Properly
2794 handle an empty aclocal.m4.
2796 2003-02-20 Akim Demaille <akim@epita.fr>
2798 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
2802 2002-12-23 Paul Eggert <eggert@twinsun.com>
2804 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
2805 innocuous variant befor including <limits.h> or <assert.h>. This
2806 works around a bug reported by Albert Chin: HP-UX 11i
2807 (and earlier versions) have a <limits.h> that declares
2808 gettimeofday and many other functions.
2810 2002-12-03 Paul Eggert <eggert@twinsun.com>
2814 * NEWS, configure.ac: Update version.
2816 * doc/fdl.texi: Upgrade to FDL version 1.2.
2818 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
2819 nontrivially in main's body, so that f's external declaration is
2820 not optimized away in AIX. This should fix the bug reported by
2822 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
2824 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
2825 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
2826 defined, to support freestanding compilers. This should fix the
2827 bug reported by Momchil Velkov in
2828 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
2830 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
2831 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
2832 obsolete AC_CHECK_TYPE. The missing empty arg was reported
2833 by Simon Josefsson in
2834 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
2836 * Makefile.maint (www-gnu): New macro.
2837 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
2838 the location has moved.
2840 2002-12-02 Martin Frydl <martin@systinet.com>
2842 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
2843 \(.*\) match is too long and there is something more to be checked.
2844 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
2846 2002-11-15 Akim Demaille <akim@epita.fr>
2850 * config/install-sh: chmod +x.
2852 * config/move-if-change: Indenting changes.
2853 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
2854 * configure.ac (AM_INIT_AUTOMAKE): here.
2857 2002-11-14 Akim Demaille <akim@epita.fr>
2861 * config/config.guess, config/config.sub, config/install-sh:
2862 Update from masters.
2864 2002-11-14 Akim Demaille <akim@epita.fr>
2866 * Makefile.maint: Sync with Bison, i.e.:
2867 (po-check): Scan .l and .y files instead of the
2868 .c and the .h files that they generate. This fixes the bug
2869 reported by Tim Van Holder in:
2870 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
2871 Look for N_ as well as for _. Try to avoid matching #define for
2875 2002-11-14 Akim Demaille <akim@epita.fr>
2877 * doc/autoconf.texi (C Compiler): Compiling several files at once.
2878 From Paul Eggert and Albert Chin-A-Young.
2880 2002-11-14 Akim Demaille <akim@epita.fr>
2882 * doc/autoconf.texi (C Compiler): Solitary backslashes.
2883 From Paul Eggert and Albert Chin-A-Young.
2885 2002-11-14 Kevin Ryde <user42@zip.com.au>
2887 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
2888 than assigning in main, to avoid HP cc +O3 optimizing it away.
2890 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
2892 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
2893 option. Process --recheck after parsing all options. Pass -q
2894 option to configure on --recheck.
2895 (AC_OUTPUT): Pass -q from configure to config.status.
2896 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
2897 arguments to record.
2898 * doc/autoconf.texi (config.status Invocation): Document
2899 config.status -q option.
2901 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
2903 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
2904 Makefile.in if Makefile.am exists.
2905 (output): Strip `.am' from Makefiles. Don't
2906 output AC_CONFIG_FILES if no Makefiles were found.
2908 2002-11-07 Akim Demaille <akim@epita.fr>
2910 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
2911 (local_updates): New.
2912 * Makefile.maint: Update, from CVS Bison.
2913 (local_updates): New.
2915 2002-11-06 Akim Demaille <akim@epita.fr>
2917 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
2918 declaration in extern "C" too.
2919 Reported by Roberto Bagnara.
2921 2002-11-06 Akim Demaille <akim@epita.fr>
2923 * tests/torture.at (Configuring subdirectories): Don't use grep
2925 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
2926 Reported by Ezra Peisach.
2928 2002-11-05 Akim Demaille <akim@epita.fr>
2930 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
2932 We _have_ to stop using the old compatibility scheme that tried to
2933 avoid useless backslashes because Libtool 1.4.3 contains a
2934 AC_DEFINE([error_t], [int],
2935 [Define to a type to use for \`error_t' if it is not
2936 otherwise available.])
2937 We _have_ to quote the single quote and backslashes with \. The
2938 old compatibility scheme saw that ` was backslashed, and therefore
2939 did not quote the single quote. Hence before this patch, Autoconf
2940 was not compatible with Libtool.
2942 2002-11-04 Paul Eggert <eggert@twinsun.com>
2944 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
2945 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
2946 LC_NAME, LC_PAPER, LC_TELEPHONE.
2947 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
2949 2002-11-04 Akim Demaille <akim@epita.fr>
2953 * Makefile.maint (update, cvs-update, po-update, do-po-update):
2955 * config/texinfo.tex: Update.
2957 2002-11-03 Akim Demaille <akim@epita.fr>
2959 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
2961 (&autoreconf): here.
2962 ($help, $make, &parse_args, &autoreconf_current_directory):
2964 * doc/autoconf.texi (autoreconf Invocation): Adjust.
2966 2002-10-31 Bruno Haible <bruno@clisp.org>
2968 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
2969 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
2970 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
2971 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
2972 to ac_cv_func_realloc_0_nonnull.
2973 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
2975 2002-10-31 Akim Demaille <akim@epita.fr>
2977 The test suite was no longer checking for trailing envvars and files.
2979 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
2980 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
2982 2002-10-31 Akim Demaille <akim@epita.fr>
2984 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
2985 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
2986 Make variable, not a shell variable.
2987 Suggested by Bruno Haible.
2989 2002-10-31 Akim Demaille <akim@epita.fr>
2991 * bin/autom4te.in (load_configuration): Reject #args out of any
2994 2002-10-31 Akim Demaille <akim@epita.fr>
2996 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
2997 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
2998 (_AC_RUN_IFELSE): Use it.
2999 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
3000 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
3001 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
3004 2002-10-30 Akim Demaille <akim@epita.fr>
3006 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
3007 * doc/autoconf.texi (autom4te Invocation): Adjust.
3008 Suggested by Tim van Holder.
3010 2002-10-29 Paul Eggert <eggert@twinsun.com>
3012 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
3013 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
3014 Problem reported by Bruno Haible.
3016 2002-10-29 Akim Demaille <akim@epita.fr>
3018 * doc/autoconf.texi (Header Templates): Put also in words what the
3019 pictures says to assist free style readers.
3020 (Customizing autom4te): s/--cache=/--cache /.
3022 2002-10-29 Akim Demaille <akim@epita.fr>
3024 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
3026 sparc_address_test returns void.
3027 Use it with an argument, as prototyped.
3030 2002-10-29 Akim Demaille <akim@epita.fr>
3032 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
3033 configure.in, not configure.ac.
3034 Reported by Bruno Haible.
3036 2002-10-29 Akim Demaille <akim@epita.fr>
3038 * tests/torture.at (Deep Package): New test.
3039 (Configuring subdirectories): Don't use a testSubDir as Autotest
3042 2002-10-29 Akim Demaille <akim@epita.fr>
3044 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
3045 * doc/autoconf.texi (Invoking autom4te): Rename as...
3046 (autom4te Invocation): this, for consistency with the other nodes.
3048 2002-10-29 Akim Demaille <akim@epita.fr>
3050 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
3051 Reported by Ralf Corsepius.
3053 2002-10-29 Akim Demaille <akim@epita.fr>
3055 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3056 characters is a back as an `obsolete' warning now.
3057 Reported by Ralf Corsepius.
3059 2002-10-28 Akim Demaille <akim@epita.fr>
3061 * configure.ac: Bump to 2.54c.
3063 2002-10-28 Akim Demaille <akim@epita.fr>
3067 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
3069 2002-10-28 Akim Demaille <akim@epita.fr>
3071 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
3072 m4 executable names, and different GNU M4 version.
3073 Reported by Ezra Peisach and Paul Jarc.
3075 2002-10-27 Akim Demaille <akim@epita.fr>
3077 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
3080 2002-10-27 Akim Demaille <akim@epita.fr>
3082 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
3083 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
3084 Die when a simple Fortran program cannot be compiled.
3085 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
3086 Issue a warning if no function is given.
3088 2002-10-27 Akim Demaille <akim@epita.fr>
3090 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
3091 Move the documentation of AC_TRY_RUN to...
3092 (Obsolete Macros): here.
3093 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
3094 (autoconf Invocation): Remove the duplicates with `invoking
3096 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
3097 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
3099 2002-10-27 Akim Demaille <akim@epita.fr>
3101 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
3102 and AC_LANG_FUNC_LINK_TRY.
3103 (Examining Libraries): Rename as...
3104 (Running the Linker): this.
3105 Document AC_LINK_IFELSE.
3106 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
3107 (Obsolete Macros): here.
3108 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
3109 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
3110 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
3111 * lib/autoconf/headers.m4 (AC_USG): Likewise.
3113 2002-10-27 Akim Demaille <akim@epita.fr>
3115 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
3117 More `check config.log' messages.
3119 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
3120 * doc/autoconf.texi (Printing Messages): Document it.
3121 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
3123 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
3124 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
3125 (_AC_COMPILER_OBJEXT): Likewise.
3126 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
3127 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
3129 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
3132 Deprecate macros with unusual interfaces.
3134 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
3135 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
3137 Document the new ones, and proper style.
3139 * doc/autoconf.texi (Generating Sources): New.
3140 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
3141 (Examining Declarations): Rename as...
3142 (Running the Preprocessor): this.
3143 Document AC_PREPROC_IFELSE.
3144 (Examining Syntax): Rename as...
3145 (Running the Compiler): this.
3146 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
3147 (Obsolete Macros): Move the definition of AC_TRY_CPP and
3148 AC_TRY_COMPILE here.
3150 2002-10-27 Akim Demaille <akim@epita.fr>
3152 Move sections around.
3154 * doc/autoconf.texi (Customizing autom4te): Remove a lost
3156 Reported by Burno Haible.
3157 (Language Choice): Now the first section of...
3158 (Writing Tests): this section.
3159 Make the introduction less C-centric.
3160 (Guidelines, Test Functions): Move to...
3161 (Writing Test Programs): this new section.
3162 (Test Programs): Merge into...
3165 2002-10-27 Akim Demaille <akim@epita.fr>
3167 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
3168 autom4te.in that resulted in the need for two `make' runs.
3170 2002-10-27 Akim Demaille <akim@epita.fr>
3172 * configure.ac: Bump to 2.54b.
3174 2002-10-25 Akim Demaille <akim@epita.fr>
3178 * Makefile.maint: Update from the Coreutils.
3179 (AMTAR): Remove, obsolete.
3180 (automake_repo): Update to redhat.com.
3182 Adjust to the fact that ansi2knr is now hosted by Automake.
3183 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
3184 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
3185 Update from masters.
3186 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
3187 autoscan.pre is not to be installed, and autoscan.list is not to
3189 (CLEANFILES): Add autoscan.list.
3190 (autoscan.list): Disable the cache.
3191 * bin/Makefile.am: Include freeze.mk.
3193 2002-10-25 Akim Demaille <akim@epita.fr>
3195 * bin/autom4te.in (&load_configuration): Take the file as
3197 (&parse_args): Handle -C, --cache.
3199 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
3200 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
3201 * doc/autoconf.texi (Invoking autom4te): Document --cache.
3202 Now a subsection of...
3203 (Using autom4te): This new section.
3204 (Customizing autom4te): New.
3205 (autom4te.cache): Adjust.
3207 2002-10-25 Akim Demaille <akim@epita.fr>
3209 * doc/autoconf.texi (Generic Headers): More information on how to
3210 use AC_CHECK_HEADERS.
3212 2002-10-25 Akim Demaille <akim@epita.fr>
3214 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
3217 2002-10-25 Akim Demaille <akim@epita.fr>
3219 * bin/autoscan.in (output): Output AC_PREREQ.
3220 (%needed_macros): Add AC_PREREQ so that configure.ac without one
3223 2002-10-23 Akim Demaille <akim@epita.fr>
3225 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
3228 2002-10-23 Akim Demaille <akim@epita.fr>
3230 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
3231 Reported by Peter Eisentraut.
3233 2002-10-23 Akim Demaille <akim@epita.fr>
3235 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
3238 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
3239 Eggert's recommandations.
3241 2002-10-22 Akim Demaille <akim@epita.fr>
3243 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
3244 Bison, by Paul Eggert.
3245 * doc/autoconf.texi (Particular Headers): Document it.
3247 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
3249 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
3250 `$ac_configure_args'.
3252 2002-10-22 Akim Demaille <akim@epita.fr>
3254 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
3255 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
3258 2002-10-22 Akim Demaille <akim@epita.fr>
3260 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
3262 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3263 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
3264 (_AC_CHECK_HEADER_NEW): Rename as...
3265 (AC_CHECK_HEADER): this.
3267 2002-10-22 Akim Demaille <akim@epita.fr>
3269 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
3270 words about HP-UX cmp: it was actually a user-written cmp.
3272 2002-10-22 Akim Demaille <akim@epita.fr>
3274 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
3276 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3277 Quote for Perl '' strings, not "".
3278 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
3281 2002-10-22 Akim Demaille <akim@epita.fr>
3283 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
3284 characters is a syntax warning now.
3285 (_AS_QUOTE): Accept $2 as list of characters to quote.
3286 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
3287 Quote for Perl, not sh.
3288 * bin/autoheader.in: When $debug, report the file which is
3290 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
3291 `@', to tickle Perl's lists.
3292 Reported by Carlos Velasco.
3294 2002-10-18 Akim Demaille <akim@epita.fr>
3296 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
3297 missing included files _are_ errors.
3298 Thanks to Alexandre Duret-Lutz.
3299 * tests/tools.at (autom4te cache): Adjust.
3300 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
3301 (AT_CHECK_M4SUGAR): Use it.
3302 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3304 * tests/tools.at (autom4te): Now it does exit 1.
3306 2002-10-17 Akim Demaille <akim@epita.fr>
3308 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
3309 Fixes the `AC_ARG_VAR' test failures.
3310 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
3311 * lib/freeze.mk (check-forbidden-patterns): New.
3312 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
3313 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
3314 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
3316 Reported months ago by H. Merijn Brand.
3318 2002-10-17 Akim Demaille <akim@epita.fr>
3320 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
3322 2002-10-16 Paul Eggert <eggert@twinsun.com>
3324 * Makefile.maint (wget_files): Remove ansi2knr.c.
3325 (ansi2knr.c-url_prefix): Remove.
3327 2002-10-16 Akim Demaille <akim@epita.fr>
3329 Because of caching, some files that no longer exist and are no
3330 longer required can still cause errors.
3331 Reported by Alexandre Duret-Lutz.
3333 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
3334 to frozen files in @ARGV, as @ARGV must remain being a list of
3335 files. Rather, at M4 call sites, use this...
3336 (&files_to_options): New function.
3337 (&freeze): Use &error.
3338 (&up_to_date): If a file that was included according to the cache
3339 is no longer there, then the output is out dated.
3340 (&main): Don't even check whether a file is up to date is anyway
3342 * tests/tools.at (autom4te cache): New.
3344 2002-10-16 Akim Demaille <akim@epita.fr>
3346 * bin/autoconf.as: Kill dead options.
3347 * bin/autoupdate.in (&parse_args): Kill old options.
3348 * bin/autoreconf.in (&parse_args): Remove dead options.
3350 (&autoreconf): Report the directories we enter *and leave*, so
3351 that error messages can be easily located, and use GNU Make
3352 format, so that Emacs' compile mode understands us.
3353 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
3354 if some file was changed instead of `print'.
3355 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
3356 (&parse_args): Remove the dead options.
3357 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
3358 autoheader's quiet mode.
3359 (AT_CHECK_AUTOUPDATE): Likewise.
3360 * tests/tools.at (autoupdate): Adjust.
3361 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3363 2002-10-11 Akim Demaille <akim@epita.fr>
3365 No longer use CPP to check for the existing of headers: use CC to
3366 check for compilability.
3368 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
3369 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
3370 (_AC_CHECK_HEADER_NEW): Rename as...
3371 (AC_CHECK_HEADER): this.
3373 * lib/autotest/general.m4 (AT_INIT): Include the failed test
3374 numbers in the Subject suggestion.
3376 2002-10-11 Akim Demaille <akim@epita.fr>
3378 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
3379 Suggest using AC_CHECK_DECLS instead.
3381 2002-10-11 Akim Demaille <akim@epita.fr>
3383 * tests/torture.at (AC_ARG_VAR): Have configure report the value
3386 2002-10-11 Akim Demaille <akim@epita.fr>
3388 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
3389 file name to enable parallel executions.
3390 From Sam Varshavchik.
3392 2002-10-08 Akim Demaille <akim@epita.fr>
3394 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
3395 aclocal invocation, as Gettext macros might not be visible to
3397 Instead of blindly running autopoint, scan configure.ac (not the
3398 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
3399 Reported by Paul D. Smith.
3401 2002-10-08 Paul Eggert <eggert@twinsun.com>
3403 Work around problems found when POSIXLY_CORRECT=1 is set.
3404 None of this seems to have anything to do with POSIX, really,
3405 but it's how Perl getopt works.
3406 * bin/autom4te.in (parse_args): Configure GetOpt with
3408 * doc/autoconf.texi (Invoking autom4te):
3409 --warning -> --warnings.
3410 * lib/autom4te.in: --warning -> --warnings.
3412 2002-09-28 Akim Demaille <akim@epita.fr>
3414 * doc/autoconf.texi (autom4te.cache): New section.
3416 2002-09-28 Akim Demaille <akim@epita.fr>
3418 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
3419 (Automake-preselections): Update.
3420 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
3422 2002-09-28 Akim Demaille <akim@epita.fr>
3424 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
3425 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
3426 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3427 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
3429 2002-09-28 Akim Demaille <akim@epita.fr>
3431 * tests/torture.at (Configuring subdirectories): Be robust to
3432 users who use config.site to require for a cache: in this case,
3433 the two last configure runs, using two different sets of
3434 arguments, trigger a legitimate error.
3436 2002-09-28 Akim Demaille <akim@epita.fr>
3438 * tests/m4sh.at (Functions Support, Functions and return Support):
3441 2002-09-28 Akim Demaille <akim@epita.fr>
3443 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
3444 autoheader are Perl programs.
3445 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
3446 (autom4te): Specify that the sources are in the $srcdir.
3447 * doc/autoconf.texi (Installation Directory Variables): Adjust.
3449 2002-09-28 Akim Demaille <akim@epita.fr>
3451 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
3452 (tm_zone): Move their rules to...
3453 * lib/autoconf/types.m4: here, using AN_ macros.
3454 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
3455 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
3456 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
3457 * lib/autoconf/programs.m4: here.
3458 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
3459 (ETAGS_FOR_AUTOCONF): New.
3462 2002-09-28 Akim Demaille <akim@epita.fr>
3464 * lib/autoconf/autoscan.m4: New file.
3465 * lib/autoconf/autoconf.m4: Include it.
3466 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
3467 that were listed in the original autoscan.list.
3468 * lib/autoconf/headers.m4: Similarly with headers.
3469 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
3470 (.m4.m4f): Don't pass --prepend-include, since that's done by
3471 tests/autom4te itself.
3472 * lib/autoscan/Makefile.am: Include freeze.mk.
3473 (autoscan.list): New target --this file is no longer a source.
3474 (autoscan.pre): New file.
3476 2002-09-28 Akim Demaille <akim@epita.fr>
3478 * bin/autoscan.in (@kinds): Make them singular.
3480 (&init_tables): When --debug, report the list of rules to ease
3481 tracking changes in autoscan.list.
3482 * lib/autoscan/autoscan.list (function): Strip comments, sort.
3484 2002-09-28 Akim Demaille <akim@epita.fr>
3486 * lib/autoscan/functions, lib/autoscan/headers,
3487 * lib/autoscan/identifiers, lib/autoscan/makevars,
3488 * lib/autoscan/programs: Merge into...
3489 * lib/autoscan/autoscan.list: this.
3490 * bin/autoscan.in (&init_tables): Adjust.
3492 2002-09-28 Akim Demaille <akim@epita.fr>
3494 * lib/autoscan/functions, lib/autoscan/headers,
3495 * lib/autoscan/identifiers, lib/autoscan/makevars,
3496 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
3497 `functions' line is now prefixed with `function:'.
3498 * bin/autoscan.in (&init_tables): Adjust.
3500 2002-09-28 Akim Demaille <akim@epita.fr>
3502 From now on, autoscan files must always map a macro name to a
3503 word: there is no `default' macro for autoscan.
3505 * bin/autoscan.in (&init_tables): Reject entries with no macro at
3507 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
3510 2002-09-28 Akim Demaille <akim@epita.fr>
3512 * bin/autoscan.in (%c_keywords): Remove.
3513 (&used): Keep only track of the words we might be interested in.
3514 (&output_kind): It is no longer needed to look for non active
3517 2002-09-27 Akim Demaille <akim@epita.fr>
3519 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
3520 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
3521 * lib/autoscan/functions: Adjust.
3522 * doc/autoconf.texi (Particular Functions): Adjust.
3524 2002-09-27 Akim Demaille <akim@epita.fr>
3526 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
3528 Thanks to Bill Moseley and Paul Eggert.
3529 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
3530 the tmpdir must be created.
3531 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
3532 dir be in the build tree, instead of $TMPDIR.
3534 2002-09-27 Akim Demaille <akim@epita.fr>
3536 * bin/autoscan.in: Improve the comments.
3537 (&parse_args): Drop obsolete undocumented options.
3538 (&output_kind): Output warnings.
3539 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
3540 (getwd): Trigger a warning.
3542 2002-09-26 Akim Demaille <akim@epita.fr>
3544 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
3545 Reported by Ralf Corsepius.
3546 * doc/autoconf.texi (autoreconf Invocation): Likewise.
3548 2002-09-26 Akim Demaille <akim@epita.fr>
3550 Single suffix rules and seperated dependencies are not portable.
3552 * doc/autoconf.texi (Installation Directory Variables): Update.
3553 (Limitations of Make): Some about `Single Suffix Rules and
3554 Separated Dependencies'.
3555 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3556 (ifnames, autoscan, autom4te): Un-factor into several rules.
3558 2002-09-25 Paul Eggert <eggert@twinsun.com>
3560 * BUGS (Interoperability bugs): New section. Mention libtool
3561 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
3563 2002-09-24 Paul Eggert <eggert@twinsun.com>
3565 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
3566 make handles suffix-rules differently from GNU make.
3568 * bin/Makefile.am (SUFFIXES, .in): Remove.
3569 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
3570 Move the body of the old .in rule here.
3572 2002-09-16 Akim Demaille <akim@epita.fr>
3574 i960 compilers create `b.out' files by default.
3575 Reported by Ralf Corsepius.
3577 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
3578 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
3580 2002-09-13 Paul Eggert <eggert@twinsun.com>
3582 * doc/autoconf.texi (Particular Headers): Remove obsolete
3583 reference to `struct timezone' in the description of
3586 2002-09-13 Akim Demaille <akim@epita.fr>
3590 * config/config.sub, config/config.guess: Update.
3591 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
3592 * Makefile.am: Adjust.
3594 2002-09-13 Akim Demaille <akim@epita.fr>
3596 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
3597 reading config.log when the compiler is rejected.
3598 Suggested by Guido Draheim.
3600 2002-09-13 Akim Demaille <akim@epita.fr>
3602 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
3603 (chdir_init) might hang when stat'ing mounted directories.
3604 Reported by Vance Shipley.
3606 2002-09-12 Akim Demaille <akim@epita.fr>
3608 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
3611 2002-09-12 Akim Demaille <akim@epita.fr>
3613 * doc/autoconf.texi (Defining Symbols): Present two different
3614 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
3615 difference between 1 argument calls, and 2-3 argument calls.
3617 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
3619 * doc/autoconf.texi: Review grammar and punctuation.
3621 2002-09-11 Paul Eggert <eggert@twinsun.com>
3623 * doc/autoconf.texi: Fix minor formatting, spelling, and
3625 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
3626 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
3629 2002-09-11 Akim Demaille <akim@epita.fr>
3631 * doc/autoconf.texi (Questions): Rename as...
3633 (Defining Directories): New.
3635 2002-09-09 Akim Demaille <akim@epita.fr>
3637 * doc/autoconf.texi (Making testsuite Scripts): Update.
3638 Suggested by Nishio Futoshi.
3640 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
3642 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
3643 plain `@' is wanted.
3645 2002-09-09 Akim Demaille <akim@epita.fr>
3647 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
3648 `duplicates', since the algorithm was too naive and could keep
3649 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
3650 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
3651 Reported by Ralf Corsepius.
3652 * tests/torture.at (Configuring subdirectories): Exercise these
3655 2002-09-09 Akim Demaille <akim@epita.fr>
3657 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
3658 looking for a replacement file.
3659 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
3660 directory is relative.
3661 * doc/autoconf.texi (Generic Functions): Clarify the replacement
3662 directory definition.
3663 Reported by Andreas Schwab and Jim Meyering.
3665 2002-09-06 Akim Demaille <akim@epita.fr>
3667 * doc/autoconf.texi (Setting Output Variables): Clarify what
3668 precious variables are.
3669 Suggested by Pontus Skoeld.
3671 2002-09-05 Akim Demaille <akim@epita.fr>
3673 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
3674 (ifnames, autoscan, autom4te): Since we don't only depend on
3675 configure.ac variables (such as VERSION etc.), but also on prefix
3676 and so forth, depend on Makefile, not configure.ac.
3677 Reported by Alexandre Duret-Lutz.
3678 * doc/autoconf.texi (Installation Directory Variables): Adjust.
3680 2002-09-05 Kevin Ryde <user42@zip.com.au>
3682 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
3683 doesn't seem to be confined to ia64, just say "some versions".
3685 2002-09-04 Akim Demaille <akim@epita.fr>
3687 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
3689 * Makefile.am (maintainer-clean-local): Remove.
3690 (MAINTAINERCLEANFILES): Remove COPYING.
3692 2002-09-03 Paul Eggert <eggert@twinsun.com>
3694 * doc/autoconf.texi (Configuration Commands): Remove obsolete
3695 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
3698 2002-09-03 Akim Demaille <akim@epita.fr>
3700 * configure.ac: Bump to 2.53d.
3701 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
3702 as of today, on Automake's team suggestion.
3704 2002-09-03 Akim Demaille <akim@epita.fr>
3708 2002-09-02 Akim Demaille <akim@epita.fr>
3710 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
3712 * configure.ac: Disable SITE_MACRO_DIR.
3714 2002-09-02 Jim Meyering <meyering@lucent.com>
3716 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
3717 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
3718 Also, tweak grammar: s/make sure to/be sure to/.
3720 2002-09-02 Paul Eggert <eggert@twinsun.com>
3722 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
3723 directory names are generally preferable to physical names.
3725 2002-09-02 Akim Demaille <akim@epita.fr>
3727 * lib/Autom4te/General.pm (&update_file): s/die/error/.
3728 Reported by Raja R. Harinath.
3729 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
3730 * bin/autoupdate.in: Use error instead of die.
3732 2002-09-01 Paul Eggert <eggert@twinsun.com>
3734 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
3735 ordinary shell concatenation rather than echo+tr+sed command that
3736 runs afoul of a long-line-related sed bug in Solaris 8.
3738 * bin/autoheader.in (parse_args): --warning -> --warnings.
3740 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
3741 stdout, as traditional "ls" does.
3742 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
3743 _AC_COMPILER_EXEEXT_O): Likewise.
3744 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
3746 * bin/autoconf.as: Add --prepend-include option. This patch was
3747 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
3748 but bin/autoconf.in is generated automatically from bin/autoconf.as.
3750 * bin/autoconf.in, configure: Regenerate.
3752 * doc/autoconf.texi (Special Shell Variables): Mention
3753 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
3755 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
3756 MAILPATH and set PS1, PS2, PS4 to default values, to work
3757 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
3758 For LC_ALL etc, first try to set to "C" as POSIX requires and as
3759 the Autoconf documentation specifies; fall back to "unset" only if
3760 this fails. Use a shell for-loop for this rather than an m4 loop,
3761 to shorten the output script.
3763 2002-08-30 Paul Eggert <eggert@twinsun.com>
3765 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
3766 1003.1-2001's requirements for CDPATH. Give a simpler workaround
3767 for the CDPATH problem. Document PWD.
3768 (Limitations of Builtins): Document the problem that "cd $foo" and
3769 "ls $foo" may refer to different directories in shells conforming
3770 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
3771 example, since the old example is now out of date.
3773 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
3774 FOO" and "ls FOO" talk about different directories; this catches
3775 problems when POSIX 1003.1-2001 "cd" fails due to symlink
3778 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
3779 of rolling our own unset.
3780 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
3781 in practice we needn't worry about CDPATH if unset doesn't work.
3783 * Makefile.in, aclocal.m4, bin/Makefile.in,
3784 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
3785 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
3786 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
3787 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
3788 tests/Makefile.in: Regenerate with Automake 1.6.3.
3790 * config/config.guess, config/config.sub, config/mkinstalldirs:
3793 * configure: Regenerate with self.
3795 2002-08-30 Kevin Ryde <user42@zip.com.au>
3797 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
3800 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3802 * bin/autom4te.in (Request::load): Correctly test for "do" read
3805 2002-08-29 Akim Demaille <akim@epita.fr>
3807 * lib/Autom4te/General.pm (&xqx): New.
3808 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
3809 hand, which is not portable.
3811 * bin/autom4te.in: Use them.
3812 Use &error instead of die.
3813 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
3816 2002-08-17 Paul Eggert <eggert@twinsun.com>
3818 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
3819 default list of compilers to try, since it was long ago superseded
3820 by the ksh fc builtin. Suggested by Steven G. Johnson.
3822 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
3824 * doc/autoconf.texi (Invoking autom4te): End the option table,
3825 fixing a bug introduced by the previous patch.
3826 (Limitations of Make): Add a 'target lookup' subentry in the
3827 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
3829 2002-07-29 Mark D. Roth <roth@feep.net>
3831 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
3832 options and use $AUTOM4TE_PATH.
3833 * doc/autoconf.texi: Remove documentation of autom4te
3834 --include-envvar and --site-macro-subdir options and document
3835 use of $AUTOM4TE_PATH.
3836 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
3837 arguments from each language section.
3839 2002-07-29 Paul Eggert <eggert@twinsun.com>
3841 * doc/install.texi: Include copyright symbol in copyright notice.
3843 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
3845 (AM_MAKEINFOFLAGS): New macro.
3846 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
3847 * Makefile.am (INSTALL): Use the new macros.
3848 Use -o rather than --output, since "missing" does not grok --output.
3850 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3852 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
3853 comments do not always work. Never trust the exit status of
3856 2002-07-24 Kevin Ryde <user42@zip.com.au>
3858 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
3859 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
3861 2002-07-23 Paul Eggert <eggert@twinsun.com>
3863 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
3864 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
3865 apparently treats PATH="nonexistent" as if it contained ".".
3866 Bug reported by Stefan `Sec' Zehl.
3868 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3870 * doc/autoconf.texi (Limitations of Make): Mention the special
3871 handling of the obj/ directory by BSD make.
3873 2002-07-20 Kevin Ryde <user42@zip.com.au>
3875 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
3878 2002-07-19 Akim Demaille <akim@epita.fr>
3880 * doc/autoconf.texi (Function Portability): `exit'.
3881 (Programming in M4sh): Ethymology of M4sh.
3883 2002-07-19 Akim Demaille <akim@epita.fr>
3885 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
3887 2002-07-18 Akim Demaille <akim@epita.fr>
3891 2002-07-18 Akim Demaille <akim@epita.fr>
3893 * config/config.guess, config/config.sub: Update.
3895 2002-07-18 Akim Demaille <akim@epita.fr>
3897 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
3900 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
3901 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
3902 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
3904 2002-07-18 Akim Demaille <akim@epita.fr>,
3905 Alexandre Duret-Lutz <duret_g@epita.fr>
3907 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
3908 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
3910 2002-07-17 Russ Allbery <rra@stanford.edu>
3912 * doc/autoconf.texi (Initializing configure): Clarify the
3913 description of the tarname default.
3915 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
3917 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
3918 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
3921 2002-07-17 Akim Demaille <akim@epita.fr>
3923 * lib/Autom4te/General.pm (find_file): Browse the directories in
3924 the order they are given.
3926 2002-07-17 Akim Demaille <akim@epita.fr>
3928 * tests/wrapsh.as, tests/wrappl.as: Merge into...
3929 * tests/wrapper.as: this.
3930 * tests/Makefile.am, configure.ac: Adjust.
3932 2002-07-17 Mark D. Roth <roth@feep.net>
3934 * configure.ac: Add --enable-site-macro-dir option.
3935 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
3936 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
3937 --site-macro-subdir options.
3938 * bin/autoconf.in: Add --prepend-include option.
3939 * bin/autoheader.in: Add --prepend-include option.
3940 * bin/autoreconf.in: Add --prepend-include option.
3941 * bin/autoscan.in: Add --prepend-include option.
3942 * bin/autoupdate.in: Add --prepend-include option.
3943 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
3944 macro directory, remove note that include path directories are
3945 used in reverse order, and document --prepend-include option.
3946 * lib/autom4te.in: Use --prepend-include instead of --include.
3947 * tests/wrapsh.in: Use --prepend-include instead of --include.
3949 2002-07-17 Akim Demaille <akim@epita.fr>
3951 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
3953 * doc/autoconf.texi (Initializing configure): Adjust.
3955 2002-07-17 Akim Demaille <akim@epita.fr>
3957 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
3958 (_AC_FUNC_MALLOC): New.
3959 (AC_FUNC_MALLOC): Use the latter.
3960 Define HAVE_MALLOC to 0 if broken.
3961 * doc/autoconf.texi (Particular Functions): Adjust.
3963 2002-07-16 Akim Demaille <akim@epita.fr>
3965 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
3966 * doc/autoconf.texi (C Compiler): Adjust.
3968 2002-07-09 Akim Demaille <akim@epita.fr>
3970 * doc/autoconf.texi: Properly set the ``header'' part.
3972 2002-07-09 Akim Demaille <akim@epita.fr>
3974 * doc/autoconf.texi (Systemology): Some about Darwin.
3976 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
3978 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3979 Don't use AC_REQUIRE in AU_DEFUN.
3981 2002-07-09 Art Haas <ahaas@neosoft.com>
3983 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
3985 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
3987 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3988 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
3989 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
3990 so that Emacs setups GNU style for perl-mode and cperl-mode.
3992 2002-06-27 Paul Eggert <eggert@twinsun.com>
3994 * config/install-sh: Quote $src. Prefer || to test's -o option,
3995 as per "Limitations of Builtins".
3996 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
3997 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
3999 * tests/mktests.sh: Use grep instead of fgrep, as per
4000 "Limitations of Builtins".
4002 2002-06-15 Paul Eggert <eggert@twinsun.com>
4004 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
4005 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
4006 so that we consistently test the just-built programs.
4007 * tests/wrappl.as: Likewise.
4009 2002-06-12 Paul Eggert <eggert@twinsun.com>
4011 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
4012 name, so that symlinks to 'autoconf' work properly. Bug reported
4014 * bin/autoheader.in (AUTOM4TE): Likewise.
4015 * bin/autoreconf.in (autoconf, autoheader): Likewise.
4016 * bin/autoscan.in (autom4te): Likewise.
4017 * bin/autoupdate.in (autom4te): Likewise.
4019 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
4020 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
4023 2002-06-11 Andreas Schwab <schwab@suse.de>
4025 * doc/autoconf.texi: Add more dir entries.
4027 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
4029 * bin/autom4te.in ($cache): Don't define using `$me', the name
4030 of the cache should not depend on the name under which autom4te
4033 2002-06-07 Akim Demaille <akim@epita.fr>
4035 * tests/tools.at (autoconf: forbidden tokens, basic)
4036 (autoconf: forbidden tokens, exceptions): Adjust to the change of
4037 words in autom4te.in.
4039 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
4041 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
4042 _AC_LANG_PROGRAM_C_F77_HOOKS.
4044 2002-06-07 Akim Demaille <akim@epita.fr>
4046 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
4048 (AC_REPLACE_FNMATCH): this.
4049 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
4050 AC_FUNC_FNMATCH_GNU.
4052 2002-06-07 Akim Demaille <akim@epita.fr>
4054 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
4055 Rosetta Stone for Unix.
4057 2002-06-07 Akim Demaille <akim@epita.fr>
4059 * bin/autom4te.in (warn_forbidden): When rejecting a token,
4060 suggest m4_pattern_allow.
4061 Suggested by Adam J. Richter.
4063 2002-06-07 Akim Demaille <akim@epita.fr>
4065 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
4066 ac_config_libobj_dir.
4067 (AC_CONFIG_LIBOBJ_DIR): New.
4068 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
4069 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
4070 Use ac_config_libobj_dir to find the replacement files.
4071 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
4072 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
4073 (AC_REPLACE_FNMATCH_GNU): these.
4074 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
4075 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
4076 * tests/mktests.sh (ac_exclude_list): Don't check
4077 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
4079 2002-06-06 Paul Eggert <eggert@twinsun.com>
4081 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
4084 * doc/autoconf.texi (Configuration Links): Likewise.
4085 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
4087 2002-06-05 Paul Eggert <eggert@twinsun.com>
4089 * config/config.guess, config/config.sub, config/texinfo.tex:
4090 Update from masters.
4092 2002-05-29 Paul Eggert <eggert@twinsun.com>
4094 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
4095 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4096 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
4098 * lib/autoconf/Makefile.am (check-local): Likewise.
4099 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
4100 * lib/autoconf/types.m4 (commentary only): Likewise.
4101 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
4102 * lib/autotest/Makefile.am (check-local): Likewise.
4103 * lib/m4sugar/Makefile.am (check-local): Likewise.
4104 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
4105 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
4107 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
4108 * doc/autoconf.texi (Particular Programs): Document them.
4109 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
4112 2002-05-27 Paul Eggert <eggert@twinsun.com>
4114 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
4115 * NEWS, doc/autoconf.texi (Particular Types): Document it.
4116 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
4117 instead of AC_MBSTATE_T, which never existed.
4119 2002-05-23 Akim Demaille <akim@epita.fr>
4121 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
4122 version of Autoconf that is discussed.
4124 2002-05-22 Paul Eggert <eggert@twinsun.com>
4126 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
4127 from the default list of compilers to try. Suggested by
4129 * NEWS: Document the above.
4130 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
4132 2002-05-17 Paul Eggert <eggert@twinsun.com>
4134 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
4135 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
4136 This improves on an earlier suggestion by H. Peter Anvin.
4138 2002-05-16 Paul Eggert <eggert@twinsun.com>
4140 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
4141 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
4142 Both macros now accept an optional source-dir arg.
4143 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
4145 * NEWS: Document this.
4146 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
4148 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
4149 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
4150 not for GNU extensions; this undoes part of the 2000-11-03 change,
4151 reverting to 2.13-compatible behavior.
4152 Add new optional argument DIR.
4153 (AC_FUNC_FNMATCH_GNU): New macro.
4155 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
4157 2002-05-08 Paul Eggert <eggert@twinsun.com>
4159 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
4160 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
4161 and it causes a 'test' syntax error if it fails.
4162 Bug reported by Stephen Gildea.
4164 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
4165 If prototypes are supported, use them to check this at compile-time,
4166 instead of trying to check it at run-time. If we must do a run-time
4167 check, assume that setvbuf is standard when cross-compiling, as
4168 nonstandard setvbuf occurs only on ancient and unlikely hosts.
4169 Bug reported by Paul D. Smith.
4171 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
4172 argument specifying location of getloadavg.c. This removes a
4173 FIXME. This idea was taken from Jim Meyering's implementation in
4175 * doc/autoconf.texi (Particular Functions): Document this.
4176 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
4177 that's what the code does; this fixes a bug reported by
4180 2002-05-03 Akim Demaille <akim@epita.fr>
4182 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
4183 autopoint instead of gettextize.
4184 ($uses_alocal): Rename as...
4185 ($uses_aclocal): this.
4186 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4187 Suggested by Bruno Haible.
4189 2002-05-03 Akim Demaille <akim@epita.fr>
4191 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
4193 2002-04-29 Paul Eggert <eggert@twinsun.com>
4195 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
4196 files to be 1 second older; just set them to be the same time.
4197 Also, sleep 1 second after the first aclocal, to work around
4198 problems with sub-second time stamps on the input files.
4200 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
4202 * doc/autoconf.texi: Mention "set -e -x" lossage
4203 under node "Limitations of Builtins".
4205 2002-04-29 Akim Demaille <akim@epita.fr>
4207 * doc/install.texi: Better wording for setting variables when
4209 From Christian Cornelssen.
4211 2002-04-29 Akim Demaille <akim@epita.fr>
4213 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
4214 of lack of $LINENO support, then the test will compare the $LINENO
4215 in testsuite vs. the lineno in the test file. This is wrong, of
4217 Be sure to protect it.
4218 Reported by Patrick Welche.
4220 2002-04-25 Akim Demaille <akim@epita.fr>
4222 * doc/autoconf.texi (Obsolete Macros): Typo.
4223 Reported by Vladimir Volovich.
4225 2002-04-25 Akim Demaille <akim@epita.fr>
4227 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
4228 than some of the input files, hence, on the second run of aclocal,
4229 if some of its input are younger, make them older.
4230 Suggested by Paul Eggert.
4232 2002-04-25 Akim Demaille <akim@epita.fr>
4234 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
4235 Thanks to Paul Eggert.
4237 2002-04-25 Akim Demaille <akim@epita.fr>
4239 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
4240 and ac_subst_vars be sh variables containing the list of
4241 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
4243 (_AC_INIT_PREPARE): Use them to log them.
4244 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
4245 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
4246 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
4247 _AC_SUBST_FILES and _AC_SUBST_VARS.
4248 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
4250 2002-04-24 Akim Demaille <akim@epita.fr>
4252 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
4253 autoheader, so that automake does not complain about a missing
4254 config.h.in that was to be created.
4256 2002-04-23 Akim Demaille <akim@epita.fr>
4258 * bin/autoheader.in (parse_args): --warning takes an argument.
4261 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
4263 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
4264 and bb.out when cleaning up.
4266 2002-04-22 Akim Demaille <akim@epita.fr>
4270 2002-04-22 Akim Demaille <akim@epita.fr>
4272 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
4274 2002-04-22 Akim Demaille <akim@epita.fr>
4276 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
4278 Reported by Gregory Giannoni.
4280 2002-04-22 Akim Demaille <akim@epita.fr>
4282 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
4283 Fixes false failures on Darwin.
4285 2002-04-21 Paul Eggert <eggert@twinsun.com>
4287 * TODO, bin/autoupdate.in, doc/autoconf.texi,
4288 lib/autoconf/general.m4, lib/autoconf/libs.m4,
4289 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
4290 tests/tools.at: Minor spelling and grammar fixes.
4292 2002-04-20 Paul Eggert <eggert@twinsun.com>
4294 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
4295 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
4296 * lib/autotest/general.m4 (AT_INIT): Likewise.
4297 * tests/atgeneral.m4 (AT_INIT): Likewise.
4299 2002-04-19 Paul Eggert <eggert@twinsun.com>
4301 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
4302 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
4303 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
4304 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4305 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
4306 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
4307 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
4308 Minor spelling and grammar fixes.
4310 * doc/autoconf.texi: Follow the outline suggested in the GNU
4311 Sample Texts sections of the Texinfo 4.2 manual. Most
4312 importantly, this makes sure that the copyright notices appear in
4313 all output formats. You probably need Texinfo 4.2 to generate
4316 Fix some bugs when using "$@" when there might be zero positional
4317 arguments in cases where this matters.
4319 * bin/autoconf.as: Rewrite so that the problem does not come up.
4320 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
4321 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
4322 * lib/autotest/general.m4 (AT_INIT): Likewise.
4324 * bin/autoheader.in: Use 'case' statement to work around problem.
4325 * bin/auto4mte.in: Likewise.
4326 * bin/autoreconf.in: Likewise.
4327 * bin/autoscan.in: Likewise.
4328 * bin/autoupdate.in: Likewise.
4329 * bin/ifnames.in: Likewise.
4331 * doc/autoconf.texi (Shell Substitutions): Document the problem.
4333 * lib/autotest/general.m4 (AT_INIT):
4334 Use Zsh alias to work around problem.
4335 * tests/atgeneral.m4 (AT_INIT): Likewise.
4337 * tests/c.at: We can't have zero arguments, so remove workaround
4338 that is not portable to Zsh.
4340 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4342 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
4343 from aclocal.m4 too.
4345 2002-04-12 Akim Demaille <akim@epita.fr>
4347 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
4349 2002-04-10 Akim Demaille <akim@epita.fr>
4351 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
4352 workaround for ${1+"$@"}.
4353 * doc/autoconf.texi (Shell Substitutions): Explain it.
4354 From Oliver Kiddle and Peter Stephenson.
4356 Have M4sh perform minimal shell sanitizing.
4358 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
4360 (_AS_PREPARE): this new macro.
4362 (AS_INIT): Invoke AS_SHELL_SANITIZE.
4363 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
4365 Adjust Autoconf and Autotest.
4367 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
4368 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
4369 * lib/autotest/general.m4 (AT_INIT): Likewise.
4370 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
4371 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
4374 Use this M4sh to generate Autoconf's shell scripts.
4376 * tests/wrapsh.as: New, precursor of wrapsh.in.
4377 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
4378 on Autotest and M4sh.
4379 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
4380 (wrapsh.in): New target.
4381 * bin/autoconf.as: New, precursor of autoconf.in.
4382 (autoconf.in): New target.
4384 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
4386 * doc/autoconf.texi (Limitations of Make): Mention the issue
4387 with indented comments in rules.
4389 2002-04-09 Andreas Schwab <schwab@suse.de>
4391 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
4392 ac_top_builddir when setting ac_abs_top_builddir.
4394 2002-04-06 Kevin Ryde <user42@zip.com.au>
4396 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
4397 (Portable Shell): Cross reference to Systemology.
4399 2002-04-05 Akim Demaille <akim@epita.fr>
4401 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
4402 directories when descending in a SUBDIRS.
4403 Reported by Ezra Peisach.
4405 2002-04-04 Andreas Schwab <schwab@suse.de>
4407 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
4408 contains no literal separators.
4410 2002-04-03 Akim Demaille <akim@epita.fr>
4412 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
4413 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
4414 Use dnl, not the KILL diversion.
4416 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
4417 (AC_CONFIG_LINKS): here.
4419 Don't use the KILL diversion, as it kills spurious output, which
4420 results in failures being hidden.
4421 Use m4_defn where appropriate.
4422 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
4423 after the second argument.
4425 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
4426 syntax, as it is provided by M4sugar.
4427 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
4429 2002-04-03 Andreas Schwab <schwab@suse.de>
4431 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
4432 expanded if $# <= 2.
4434 * bin/autoreconf.in (autoreconf): Run automake after rerunning
4437 2002-04-03 Akim Demaille <akim@epita.fr>
4439 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
4440 (_AC_COMPILER_EXEEXT_REJECT): New.
4441 Also recognize *.bb and *.bbg as compilation byproducts.
4442 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
4443 (_AC_COMPILER_OBJEXT): Use them.
4444 Fixes Debian #138666.
4446 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
4448 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
4450 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
4451 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
4452 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
4453 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
4455 (AC_C_INLINE): Same.
4456 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
4457 * doc/autoconf.texi, NEWS: Document.
4458 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
4461 2002-04-02 Akim Demaille <akim@epita.fr>
4463 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
4464 _AS_MKDIR_P_PREPARE.
4466 2002-03-28 Kevin Ryde <user42@zip.com.au>
4468 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
4469 to avoid versions of HP C which don't allow that.
4471 2002-03-27 Paul Eggert <eggert@twinsun.com>
4473 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
4474 (AS_SHELL_SANITIZE): Invoke it.
4475 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
4477 2002-03-26 Akim Demaille <akim@epita.fr>
4479 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
4481 2002-03-26 Akim Demaille <akim@epita.fr>
4483 * doc/autoconf.texi (Introduction): The GNATS base moved.
4485 2002-03-25 Paul Eggert <eggert@twinsun.com>
4487 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
4488 as POSIX requires, as it doesn't work with Zsh.
4489 * doc/autoconf.texi (Assignments): Document the problem.
4491 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4493 * doc/autoconf.texi (Limitations of Make): Mention more issue
4494 about VPATH, overriding of macros in sub-makes, and handling of
4497 2002-03-21 Paul Eggert <eggert@twinsun.com>
4499 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
4500 problem with here-document buffer boundaries.
4502 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
4503 when reinvoking the shell, to work around problems with installers
4504 who put strange things like "cd" commands in their environments.
4506 2002-03-19 Akim Demaille <akim@epita.fr>
4508 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
4511 2002-03-19 Akim Demaille <akim@epita.fr>
4513 * bin/autoscan.in (scan_file): Specify the location in `&used'
4517 2002-03-19 Akim Demaille <akim@epita.fr>
4519 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
4520 From Nishio Futoshi.
4522 2002-03-19 Akim Demaille <akim@epita.fr>
4524 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
4526 2002-03-18 Paul Eggert <eggert@twinsun.com>
4528 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
4529 (Limitations of Usual Tools): Add mkdir section.
4531 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
4532 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
4533 back on AS_DIRNAME to compute prefixes otherwise; this is
4534 roughly what mkinstalldirs does. That way, we need not have
4535 our own filename disassembler. The old disassembler did not
4536 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
4538 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
4539 Create at_test_all by a series of assignments,
4540 not by a single assignment of a long string. The latter causes ksh
4541 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
4542 presumably because of a buffer overrun.
4544 2002-03-14 Paul Eggert <eggert@twinsun.com>
4546 * lib/autotest/general.m4 (at_times_skip):
4547 Renamed from at_times. Now a boolean.
4548 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
4549 says 'times: not found'.
4551 2002-03-14 Akim Demaille <akim@epita.fr>
4553 * bin/autoreconf.in (&study_gettextize): New.
4554 (&autoreconf): Handle newest gettextize.
4555 Rerun aclocal if needed.
4556 Suggested by Andreas Schwab.
4558 2002-03-13 Akim Demaille <akim@epita.fr>
4560 * doc/autoconf.texi (Special Shell Variables): More about IFS.
4562 2002-03-13 Akim Demaille <akim@epita.fr>
4564 * doc/autoconf.texi (Header Portability): New.
4565 Add information about stdint.h and inttypes.h from Paul Eggert.
4567 2002-03-13 Akim Demaille <akim@epita.fr>
4569 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
4573 2002-03-12 Akim Demaille <akim@epita.fr>
4575 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
4578 2002-03-11 Andreas Schwab <schwab@suse.de>
4580 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
4581 does not do it if --with-lispdir is given.
4583 2002-03-08 Akim Demaille <akim@epita.fr>
4587 2002-03-08 Akim Demaille <akim@epita.fr>
4589 * doc/autoconf.texi (Subdirectories): Clarify that the
4590 subdirectory should exist.
4592 2002-03-08 Akim Demaille <akim@epita.fr>
4594 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
4596 2002-03-08 Akim Demaille <akim@epita.fr>
4598 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
4599 aliases the actual variables, and modifications of the former
4602 2002-03-08 Akim Demaille <akim@epita.fr>
4604 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
4605 because of C-c: have m4 output in tmp files, then mv them.
4607 2002-03-08 Akim Demaille <akim@epita.fr>
4609 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
4610 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
4611 * bin/ifnames.in: Copyright update.
4613 2002-03-08 Akim Demaille <akim@epita.fr>
4615 * doc/autoconf.texi (Invoking autom4te): New.
4617 2002-03-05 Akim Demaille <akim@epita.fr>
4619 * doc/autoconf.texi (Specifying Names): Clarification suggested by
4622 2002-03-05 Akim Demaille <akim@epita.fr>
4626 2002-03-04 Akim Demaille <akim@epita.fr>
4628 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
4629 * lib/autoconf/general.m4 (AC_INIT): More informative error
4632 2002-03-04 Akim Demaille <akim@epita.fr>
4634 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
4637 2002-03-04 Akim Demaille <akim@epita.fr>
4639 * doc/autoconf.texi (Transforming Names): Equality between target
4640 and host is irrelevant.
4641 (Specifying Names, Canonicalizing): Remove all references to the
4642 backward compatibility hooks. Rather, collect them all into...
4643 (Hosts and Cross-Compilation): this new section.
4644 * doc/install.texi (System Type): Ditto.
4645 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
4646 that `--host' implies cross-compilation.
4648 2002-03-04 Akim Demaille <akim@epita.fr>
4650 * doc/autoconf.texi (Evaluation Macros): New.
4651 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
4653 (_m4_foreach): Define the variant with immediate evaluation so
4654 that it contains exactly the items, not an expression which
4655 evaluation is the current item.
4656 (m4_re_string, m4_re_word): Don't over quote them.
4658 2002-03-04 Akim Demaille <akim@epita.fr>
4660 Instead of having stacking `shift's evaluated at the end, let
4661 `foreach' loops immediately evaluate them.
4663 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
4664 $*. This is the n-th time I change my mind, but hopefully this is
4667 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
4669 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
4670 it was only a hack for m4_text_wrap.
4671 (m4_car2): Remove, replaced by...
4673 (_m4_foreach): Adjust.
4674 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
4675 m4_bpatsubst for clarification.
4677 2002-03-04 Akim Demaille <akim@epita.fr>
4679 * doc/autoconf.texi (Changequote is Evil): New.
4681 2002-03-03 Kevin Ryde <user42@zip.com.au>
4683 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
4684 on old systems like SunOS.
4686 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
4688 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4689 lib/autoconf/functions.m4, lib/autoconf/general.m4,
4690 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
4691 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
4694 2002-02-28 Akim Demaille <akim@epita.fr>
4696 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
4699 2002-02-28 Kevin Ryde <user42@zip.com.au>
4701 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
4703 2002-02-25 Akim Demaille <akim@epita.fr>
4705 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
4708 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
4710 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
4711 translate \r\n to \n.
4713 2002-02-07 Akim Demaille <akim@epita.fr>
4717 2002-02-07 Akim Demaille <akim@epita.fr>
4719 Fix Autoconf PR/209.
4720 Also reported by Frank Denis.
4722 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
4724 2002-02-07 Akim Demaille <akim@epita.fr>
4726 Fix Autoconf PR/207:
4727 AC_PREFIX_PROGRAM fails with dashed program names
4729 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
4730 variable when looking for the prefix program.
4731 Now it also works for shell variables.
4733 2002-02-07 Akim Demaille <akim@epita.fr>
4735 * doc/autoconf.texi (Limitations of Builtins): More about
4738 2002-02-06 Akim Demaille <akim@epita.fr>
4740 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
4741 case/esac, some shells don't support it.
4742 Reported by Zack Weinberg.
4743 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
4745 2002-02-06 Akim Demaille <akim@epita.fr>
4747 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
4748 sure not to introduce newlines in at_groups.
4749 * lib/autotest/Makefile.am (autotest.m4f): Typo.
4751 2002-02-06 Akim Demaille <akim@epita.fr>
4753 * tests/torture.at (Configuring subdirectories): Skip if aclocal
4756 2002-02-05 Paul Eggert <eggert@twinsun.com>
4758 * doc/autoconf.texi (Specific Compiler Characteristics):
4759 Describe HP-UX cc bug workaround more accurately.
4760 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
4762 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
4763 cross-compilers, too. This undoes some of the most recent change
4766 2002-02-05 Akim Demaille <akim@epita.fr>
4768 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
4769 to make sure they are up to date when `check' is run.
4771 2002-02-05 Akim Demaille <akim@epita.fr>
4773 * doc/autoconf.texi (Making testsuite Scripts): Document
4776 2002-02-05 Akim Demaille <akim@epita.fr>
4778 * lib/freeze.mk: New.
4780 2002-02-05 Akim Demaille <akim@epita.fr>
4782 Implement `autom4te --freeze'.
4784 * bin/autom4te.in (&freeze): New.
4785 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
4786 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
4788 2002-02-05 Akim Demaille <akim@epita.fr>
4790 * bin/autom4te.in (&parse_args): Implement `frozen files are
4791 optional are the sum of the previous files on the command line'.
4792 Also, pass `--reload-state=' on them, so...
4794 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
4795 (M4sh): Rely on M4sugar.
4796 (Autotest, M4sh, M4sugar): Use frozen files.
4798 2002-01-31 Akim Demaille <akim@epita.fr>
4800 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
4801 * doc/autoconf.texi (Initializing configure): Adjust.
4803 2002-01-30 Akim Demaille <akim@epita.fr>
4805 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
4806 alphanumeric to `-' instead of `_'.
4808 2002-01-30 Akim Demaille <akim@epita.fr>
4810 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
4811 for plain code, the other for cross-compilation code. The latter
4812 is now run with GCC only.
4813 * doc/autoconf.texi (Compilers and Preprocessors): New.
4815 2002-01-30 Akim Demaille <akim@epita.fr>
4817 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
4819 * doc/autoconf.texi (Initializing configure): Explain how to
4820 change AC_INIT default values.
4822 2002-01-29 Akim Demaille <akim@epita.fr>
4824 * tests/torture.at (Configuring subdirectories): Use configure.in,
4825 so that aclocal 1.4 works.
4826 Reported by Alexandre Duret-Lutz and Larry Schmitt.
4828 2002-01-28 Akim Demaille <akim@epita.fr>
4830 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
4833 2002-01-28 Akim Demaille <akim@epita.fr>
4835 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
4836 AUTOTEST_PATH *after* it was set.
4837 Don't put `.' in the PATH: the user should be precise and `./' if
4838 needed. In addition, given that the test suite does some `cd', if
4839 `.' is in the path, the `tested programs' sections will report
4840 programs found in the test suite's directory, while during the
4841 tests (performed in their own directory), these programs are no
4842 longer visible. In other words, the results is confusing and
4844 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
4846 2002-01-24 Akim Demaille <akim@epita.fr>
4850 2002-01-24 Akim Demaille <akim@epita.fr>
4852 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
4853 * doc/autoconf.texi: Finally add Akim as an author.
4855 2002-01-24 Akim Demaille <akim@epita.fr>
4857 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
4858 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
4859 Bourne. Use /bin/sh.
4860 From Andreas Buening.
4862 2002-01-24 Akim Demaille <akim@epita.fr>
4864 * config/config.guess, config/config.sub, config/texinfo.tex:
4865 Update from masters.
4867 2002-01-24 Akim Demaille <akim@epita.fr>
4869 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
4870 * config/auxdir.m4, config/cond.m4, config/depend.m4,
4871 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
4872 * config/missing.m4, config/sanity.m4, config/select.m4,
4873 * config/strip.m4: Remove, to ease sync'ing with any version of
4876 2002-01-24 Akim Demaille <akim@epita.fr>
4878 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
4879 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
4880 Reported by Geir Ove Myhr.
4882 2002-01-21 Akim Demaille <akim@epita.fr>
4884 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
4886 2002-01-21 Akim Demaille <akim@epita.fr>
4888 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
4889 message on invalid options.
4890 * bin/autom4te.in (parse_args): Don't use
4891 Autoconf::General::getopt with non valid options.
4893 2002-01-17 Jim Meyering <meyering@lucent.com>
4895 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
4896 $ac_cv_exeext so we don't use an old, invalid, cached value.
4898 2002-01-11 Akim Demaille <akim@epita.fr>
4900 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
4902 * doc/autoconf.texi (Function Portability): Document the strnlen
4904 (Particular Functions): Document AC_FUNC_STRNLEN.
4905 * lib/autoscan/functions: Adjust.
4907 2002-01-06 Akim Demaille <akim@epita.fr>
4909 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
4910 package.m4, since is really depends upon configure.ac, not
4912 * doc/autoconf.texi (testsuite Scripts): Adjust.
4913 * tests/Makefile.am (package.m4): New.
4914 EXTRA_DIST it since its a source.
4916 2002-01-06 Akim Demaille <akim@epita.fr>
4918 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
4919 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
4920 and PACKAGE_BUGREPORT from here...
4921 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
4923 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
4924 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
4925 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
4926 * tests/tools.at (autoheader): Adjust.
4927 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
4929 2002-01-06 Akim Demaille <akim@epita.fr>
4931 * bin/autoscan.in (scan_file): Use `&used'.
4933 2002-01-03 Akim Demaille <akim@epita.fr>
4935 * doc/autoconf.texi (Output): Improved wording regarding use of
4939 2001-12-18 Kevin Ryde <user42@zip.com.au>
4941 * doc/autoconf.texi (Function Portability): Add notes on sscanf
4942 sometimes needing writable input.
4944 2001-12-17 Jim Meyering <meyering@lucent.com>
4946 * doc/autoconf.texi (New Macros): Tweak wording.
4948 2001-12-14 Akim Demaille <akim@epita.fr>
4950 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
4951 trailing files, don't apply `-rf' to files which might not be
4952 created by configure (core, core.*, and *.core), but just `rm -f'.
4953 Suggested by Jonathan Kamens.
4955 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
4957 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
4959 2001-12-14 Akim Demaille <akim@epita.fr>
4961 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
4963 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
4965 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
4966 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
4967 abs_srcdir, top_srcpath to abs_top_srcdir.
4968 (_AC_OUTPUT_FILES): Adjust.
4969 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
4970 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
4971 * tests/wrappl.in, tests/wrapsh.in: Adjust.
4973 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
4975 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
4976 C/Fortran linking on HP/UX, by extracting the Fortran library
4977 search path from the LPATH line in the $F77 -v output.
4979 2001-12-12 Kevin Ryde <user42@zip.com.au>
4981 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
4982 forbidden file descriptors table.
4984 2001-11-26 Akim Demaille <akim@epita.fr>
4986 * bin/autoscan.in (%c_keywords): Build it at top level.
4987 Map to 1 in order to simplify its uses.
4989 2001-11-26 Akim Demaille <akim@epita.fr>
4991 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
4992 Remove $filepath, useless.
4993 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
4994 variables, they are really part of the tokens.
4995 Split the input line on spaces and then look for tokens.
4996 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
4997 because of `lex$U.$(OBJEXT)'.
4998 (&scan_files): Use "@list" instead of join.
4999 * doc/Makefile.am (CLEANFILES): Add *.fns.
5001 2001-11-26 Akim Demaille <akim@epita.fr>
5003 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
5004 Remove, replaced by...
5005 * tests/wrappl.in: Be common for all the Perl executables.
5006 In particular autoscan and autoheader want -I.
5007 * configure.ac: Adjust.
5008 * lib/autoscan/headers: errno.h is portable.
5010 2001-11-26 Akim Demaille <akim@epita.fr>
5012 * bin/autoscan.in (used): New.
5015 2001-11-26 Akim Demaille <akim@epita.fr>
5017 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
5019 (&scan_sh_file): Remove a duplicate pattern.
5020 (&check_configure_ac): Use long options.
5021 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
5023 2001-11-26 Akim Demaille <akim@epita.fr>
5025 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
5026 Before, having a line containing the opening of a multi line
5027 comment made the whole line be ignored.
5029 2001-11-26 Akim Demaille <akim@epita.fr>
5031 * doc/autoconf.texi (Using an Autotest Test Suite): New.
5032 (testsuite Scripts): Be one of its subsection.
5033 (Autotest Logs): New.
5035 2001-11-26 Akim Demaille <akim@epita.fr>
5037 Test groups are now run two directories deeper.
5039 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
5040 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
5042 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
5043 top_srcdir, builddir and top_builddir.
5044 Use `at_*dir' relatively to the directory containing the
5045 suite, use `*dir' when relatively to the current group dir.
5047 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
5049 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
5050 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
5051 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
5054 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5056 * doc/autoconf.texi (Using System Type): Add an example of `case
5057 $host' usage so people quit using `case $target' everywhere.
5059 2001-11-22 Akim Demaille <akim@epita.fr>
5061 * doc/autoconf.texi (Installation Directory Variables): Englishoes
5062 spotted by Jim Meyering.
5064 2001-11-16 Paul Eggert <eggert@twinsun.com>
5066 This patch implements a `long double' suggestion by Oliver Kiddle.
5068 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
5069 static, to catch errors if the value isn't known at compile-time
5070 and the compiler supports dynamic arrays. Change its name from
5071 `_array_' to `test_array' to avoid potential name clashes.
5072 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
5073 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
5074 better than double. Catch a bug in GCC 2.95.2 x86.
5075 * doc/autoconf.texi (C Compiler): Document the above.
5078 2001-11-13 Akim Demaille <akim@epita.fr>
5080 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
5082 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
5084 2001-11-13 Akim Demaille <akim@epita.fr>
5086 * lib/autotest/general.m4 (AT_INIT): After having run the test
5087 group, go back to the initial directory, not to at_suite_dir.
5089 2001-11-13 Akim Demaille <akim@epita.fr>
5091 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
5092 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
5093 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
5095 (AT_CHECK_CONFIGURE): Use absolute paths.
5096 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
5097 The problem is still the old one: there is no means in M4 (that I
5098 know about) to create a defining macro, because there is no means
5099 to create `$1' etc., therefore, the defining macro ``swallows''
5100 all the arguments meant to the defined macro.
5102 2001-11-13 Akim Demaille <akim@epita.fr>
5104 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
5105 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
5107 * tests/aclocal.m4: Remove, as it is no longer used.
5109 2001-11-13 Akim Demaille <akim@epita.fr>
5111 * lib/autotest/general.m4: Change `tests?' into `groups?' in
5112 variable names when referring to a single test group, or to
5113 `suite' when referring to the whole test suite.
5114 `at_last_test' is removed: m4 compute at_format itself.
5115 (at_stdout, at_stder1, at_stderr): New variables.
5116 (AT_CHECK): Use them.
5118 2001-11-13 Akim Demaille <akim@epita.fr>
5120 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
5122 Create `testsuite.dir/003/run' instead of `testsuite.003'.
5123 Do it as soon as a test fails, don't wait till the end of the test
5125 Don't remove $as_me.[0-9]*, since these files no longer exist.
5127 2001-11-13 Akim Demaille <akim@epita.fr>
5129 * tests/tools.at: Use absolute paths, since we are no longer run
5132 2001-11-13 Akim Demaille <akim@epita.fr>
5134 Now that tests are running in their own private dir, there is no
5135 need to list the files to remove at the end of tests groups.
5137 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
5138 (AT_data_files, at_data_files): Remove.
5139 (AT_CLEANUP, AT_DATA): Simplify.
5141 Remove the group dir if !debug && !failed.
5142 * tests/atspecific.m4: Adjust.
5144 2001-11-13 Akim Demaille <akim@epita.fr>
5146 Start a new layout for Autotest: `testsuite' creates
5147 `testsuite.dir' in which the at-check-line etc. files are to be
5148 found, and `testsuite.dir/003' where the test group 3 is run.
5150 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
5151 at_check_line_file, at_format, at_test_normalized, at_group_dir
5153 Create the directories.
5154 Use absolute paths for at- files.
5157 2001-11-11 Michael Matz <matz@kde.org>
5159 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
5161 (m4_car): Properly quote arguments.
5163 2001-11-13 Akim Demaille <akim@epita.fr>
5165 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
5166 with stricter rules on LIBOBJS.
5168 2001-11-12 Paul Eggert <eggert@twinsun.com>
5170 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
5171 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
5174 2001-11-12 Akim Demaille <akim@epita.fr>
5176 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
5178 2001-11-12 Akim Demaille <akim@epita.fr>
5180 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
5181 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
5182 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5183 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
5184 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
5185 specify to what the macro should be defined (typically to 1).
5187 2001-11-12 Akim Demaille <akim@epita.fr>
5189 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
5192 2001-11-12 Akim Demaille <akim@epita.fr>
5194 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5195 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
5196 definition used by Automake where LEX is +/- "${missing} lex" and
5197 `missing' itself contains variables.
5199 2001-11-12 Akim Demaille <akim@epita.fr>
5201 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
5202 Now that M4sh pushes BODY, the comments were output at the end of
5205 2001-11-08 Akim Demaille <akim@epita.fr>
5207 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
5208 that we can trace macros from aclocal.m4.
5209 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
5210 obsoleted, and redirect to the former anyway.
5211 Reported by Ralf Corsepius.
5213 2001-11-08 Akim Demaille <akim@epita.fr>
5215 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
5216 processed only if present.
5217 * tests/torture.at (Configuring subdirectories): Use autoreconf
5218 instead of successive calls to autoconf.
5219 Add a nonexistent subdirectory to exercise the patch above.
5220 Reported by Ralf Corsepius.
5222 2001-11-08 Kevin Ryde <user42@zip.com.au>
5224 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
5225 doesn't accept .S files.
5227 2001-11-07 Akim Demaille <akim@epita.fr>
5229 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
5230 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
5231 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
5232 * bin/autom4te.in (warn_forbidden): New.
5233 (handle_output): Use it.
5234 Read m4_pattern_forbid with messages.
5236 2001-11-05 Akim Demaille <akim@epita.fr>
5238 * bin/autom4te.in (--normalize): Remove.
5239 * lib/autom4te.in: Adjust.
5241 2001-11-05 Akim Demaille <akim@epita.fr>
5243 * tests/Makefile.am (testsuite): Rename this target as...
5244 ($(TESTSUITE)): this.
5247 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
5249 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
5250 the --prefix option, also remove it's argument.
5252 2001-11-05 Akim Demaille <akim@epita.fr>
5254 * doc/autoconf.texi (testsuite Invocation): Update.
5255 (Writing testsuite.at): Update.
5257 2001-11-03 Akim Demaille <akim@epita.fr>
5259 * doc/autoconf.texi: s/@code/@command/ where appropriate.
5261 2001-11-03 Akim Demaille <akim@epita.fr>
5263 * lib/Autom4te/General.pm: (&catfile, &canonfile)
5264 (&file_name_is_absolute): New, wrappers around routines from
5266 Use and export them.
5267 (&find_configure_ac): Optionally take a directory where to look at.
5268 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
5270 Default @ARGV to `.', not find_configure_ac.
5271 (&autoreconf): Argument is a directory.
5272 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
5273 * doc/autoconf.texi (autoreconf Invocation): Update.
5275 2001-11-03 Akim Demaille <akim@epita.fr>
5277 * lib/Autom4te/General.pm (@export_vars, @export_subs)
5278 (@export_forward_subs): New.
5279 Add basename, dirname, and fileparse.
5281 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
5282 Don't look for aclocal flags if we already know aclocal is not
5284 Move aclocal.m4t only if it exists.
5285 Reported by Ezra Peisach.
5287 2001-11-03 Akim Demaille <akim@epita.fr>
5289 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
5290 passed on command line, defaulting to ./configure.ac if present.
5291 (&maybe_autoreconf, File::Find): Remove, unused.
5292 (&autoreconf): If autoconf is not used, don't try to trace.
5294 2001-11-02 Akim Demaille <akim@epita.fr>
5296 * configure.ac: Bump to 2.52g.
5298 2001-11-02 Akim Demaille <akim@epita.fr>
5302 2001-11-02 Akim Demaille <akim@epita.fr>
5304 * config/config.guess, config/config.sub, doc/standards.texi:
5305 * config/lispdir.m4: Update from masters.
5306 * configure.ac: Bump to 2.52f.
5308 2001-11-02 Akim Demaille <akim@epita.fr>
5310 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
5311 Don't run aclocal when aclocal.m4 is not from aclocal.
5313 Don't run libtoolize and gettextize if --install is not given.
5315 2001-11-01 Paul Eggert <eggert@twinsun.com>
5317 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
5318 be invoked before _AS_LINENO_PREPARE.
5319 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
5320 than character ranges.
5322 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
5323 invoking AS_BASENAME. Set the locale variables to 'C' if
5324 possible, as POSIX requires this to get the traditional
5326 * doc/autoconf.texi (Special Shell Variables): Describe the above.
5328 2001-10-31 Paul Eggert <eggert@twinsun.com>
5330 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
5331 with {}, as that triggers a bug in Bash 2.05.
5333 (_AS_LINENO_PREPARE): Use Sed rather than
5334 Awk. Fix the sed prepass to work even if there are multiple
5335 instances of $LINENO on the same line. Do not substitute for
5336 other variables like $LINENOT. Do not check file dates; such a
5337 check is unreliable on sufficiently fast machines, and removing
5338 the check makes the code simpler and more reliable. Check for
5339 output and chmod failures.
5341 * doc/autoconf.texi (Special Shell Variables): Document
5344 2001-10-31 Akim Demaille <akim@epita.fr>
5346 * tests/Makefile.am (atconfig): Remove this target, Automake
5349 2001-10-31 Akim Demaille <akim@epita.fr>
5351 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
5352 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
5353 provided, while it is optional.
5354 * configure.ac: Adjust.
5356 2001-10-26 Paul Eggert <eggert@twinsun.com>
5358 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
5359 lib/Autom4te/Struct.pm:
5360 Require Perl 5.005_03 instead of just 5.005, as some tests fail
5363 * doc/autoconf.texi (Special Shell Variables): Document some
5364 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
5366 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
5367 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
5368 eval $LINENO is not portable in practice.
5370 2001-10-24 Akim Demaille <akim@epita.fr>
5372 * lib/Autom4te/General.pm (backname): New.
5374 2001-10-24 Akim Demaille <akim@epita.fr>
5376 * m4/: Remove, merged into...
5379 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
5381 * doc/autoconf.texi (Shellology): Mention the problems with bash
5382 2.05's use of ANSI quoting in its `set' builtin.
5384 2001-10-22 Paul Eggert <eggert@twinsun.com>
5386 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
5387 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
5388 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
5389 POSIX decided to standardize on the int flavor of strerror_r.
5390 Always do char* test, as there's no reason not to.
5391 Assign to a char* var, to catch strerror_r that returns int*.
5393 * doc/autoconf.texi (Particular Functions):
5394 Document the above changes. Also, document the fact that
5395 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
5397 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
5399 2001-10-20 Akim Demaille <akim@epita.fr>
5401 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
5402 the executable was missing from the log.
5404 2001-10-20 Akim Demaille <akim@epita.fr>
5406 * lib/Autom4te/General.pm (&update_file): If destination is
5407 unchanged, remove the source.
5408 (&up_to_date_p): Don't be verbose, be debug.
5409 * bin/autoreconf.in: No longer support --m4dir.
5410 (&autoreconf): Display the full path of the configure.ac we are
5413 Be sure to honor --force with gettextize.
5415 * doc/autoconf.texi: Adjust.
5417 2001-10-20 Akim Demaille <akim@epita.fr>
5419 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
5421 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
5422 `intl' is already present, as it refuses unless --force.
5423 (&parse_args): Use -I, --include instead of the old Autoconf
5425 ($localdir, $autoconf_dir): Remove.
5427 (&maybe_autoreconf): New, to preserve $_ for File::Find.
5429 2001-10-19 Jens Petersen <petersen@redhat.com>
5431 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
5432 * doc/autoconf.texi (Particular Programs): Likewise.
5434 2001-10-19 Akim Demaille <akim@epita.fr>
5436 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
5437 file in @configure_input@.
5438 Don't mention `automatically' in addition to `generated'.
5439 * tests/torture.at (#define header templates): Adjust.
5441 2001-10-19 Akim Demaille <akim@epita.fr>
5443 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
5444 comment, explain how to install automatic mode selection.
5447 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
5449 * bin/autoreconf.in (autoreconf): Display the path to the
5450 configure.ac being studied.
5452 2001-10-18 Paul Eggert <eggert@twinsun.com>
5454 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
5455 long, to work around a bug in the HP C compiler version HP92453-01
5458 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
5459 (AS_BASENAME_EXPR): New macro.
5460 (AS_BASENAME_SED): Do not assume GNU sed semantics.
5461 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
5462 and fall back on 'sed' only if the other two fail. This makes
5463 AS_BASENAME act more like AS_DIRNAME.
5464 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
5465 contains white space.
5466 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
5467 Use AS_DIRNAME, since I think it's now DOS-friendly.
5468 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
5469 Allow "dirname //FOO" to return either / or //, as POSIX allows
5472 2001-10-10 Akim Demaille <akim@epita.fr>
5474 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
5475 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
5478 2001-10-10 Akim Demaille <akim@epita.fr>
5480 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
5482 (_AS_ECHO_N): AS_REQUIREs it.
5484 2001-10-10 Akim Demaille <akim@epita.fr>
5486 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
5487 (AC_INCLUDES_DEFAULT): Move to...
5488 * lib/autoconf/headers.m4: here.
5489 * lib/autoconf/types.m4: Comment changes.
5490 * doc/autoconf.texi: Specify where the default includes are used
5491 in the macro prototypes.
5493 2001-10-09 Akim Demaille <akim@epita.fr>
5495 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
5498 2001-10-08 Akim Demaille <akim@epita.fr>
5500 * bin/autoreconf.in (&autoreconf): Remove debugging code.
5501 (&parse_args): Pass verbosity/debugging options to subtools when
5502 --debug, not when --verbose.
5503 * lib/autom4te.in (Autoreconf-preselections): New.
5506 2001-10-08 Akim Demaille <akim@epita.fr>
5508 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
5510 2001-10-08 Akim Demaille <akim@epita.fr>
5512 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5513 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
5515 2001-10-08 Akim Demaille <akim@epita.fr>
5517 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
5518 (Syntax of the shell scripts): Don't.
5519 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
5520 bother with $force since...
5521 * lib/Autom4te/General.pm: does.
5523 2001-10-08 Akim Demaille <akim@epita.fr>
5525 * bin/autoreconf.in: Rewrite in Perl.
5526 * configure.ac: Adjust.
5527 * lib/Autom4te/General.pm (&up_to_date_p): New.
5528 * bin/autom4te.in (&up_to_date_p): Use it.
5530 (&up_to_date): this.
5532 2001-10-08 Akim Demaille <akim@epita.fr>
5534 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
5535 (m4_list_cmp): Use $0 to reinvoke yourself.
5536 (m4_patsubsts): New.
5537 (m4_strip, m4_version_unletter): Use it.
5538 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
5540 2001-10-08 Akim Demaille <akim@epita.fr>
5542 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
5543 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
5544 * lib/autoconf/types.m4, lib/autotest/general.m4,
5545 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
5546 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
5547 m4_bregexp, m4_bpatsubst, and m4_bmatch.
5548 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
5550 2001-10-08 Akim Demaille <akim@epita.fr>
5552 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
5554 2001-10-08 Akim Demaille <akim@epita.fr>
5556 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
5557 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
5558 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
5559 * tests/tools.at, tests/m4sh.at: Use it.
5560 * tests/m4sh.at: Don't rely on Autoconf macros.
5561 (DIRNAME_TEST): Also exercise the expr variant.
5562 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
5563 preferred M4sugar extension is now `.4s'.
5564 * tests/README: Remove.
5566 2001-10-08 Akim Demaille <akim@epita.fr>
5568 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
5569 (m4_provide_if): this.
5570 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
5571 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
5572 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
5573 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
5575 2001-10-08 Akim Demaille <akim@epita.fr>
5577 Use `add-log-current-defun-function' for ChangeLog creation.
5578 Suggested by Tom Tromey.
5580 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
5581 (autotest-mode): Adjust.
5582 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
5583 'comment-region onto `C-c ;'.
5584 Comments are `#', not `dnl'.
5585 (autoconf-current-defun): New.
5586 (autoconf-font-lock-keywords): Recognize `m4_defun'.
5588 2001-10-08 Akim Demaille <akim@epita.fr>
5590 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
5591 * lib/m4sugar/m4sh.m4: here.
5592 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
5593 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
5594 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
5595 include handle the m4_pattern_*, no longer push the
5596 BODY diversion nor set the /bin/sh line, AS_INIT does it.
5597 * lib/autotest/general.m4 (AT_INIT): Likewise.
5598 * tests/base.at: Adjust the tests to use AS_INIT.
5599 * tests/tools.at (AT_DATA_FORBIDDEN): New.
5600 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
5603 2001-10-07 Paul Eggert <eggert@twinsun.com>
5605 * doc/autoconf.texi (config.status Invocation):
5606 CONFIG_SHELL defaults to a shell that supports LINENO if available.
5608 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
5609 shell does not support LINENO, and if CONFIG_SHELL is unset or
5610 empty, and if we can find a shell that does support LINENO,
5611 then set CONFIG_SHELL to that shell and then re-execute
5612 ourselves with CONFIG_SHELL.
5614 2001-10-05 Paul Eggert <eggert@twinsun.com>
5616 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
5617 doesn't exist. Remove *.tmp, as a .tmp file is created during the
5618 build of $(TESTSUITE).
5620 2001-10-05 Akim Demaille <akim@epita.fr>
5622 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
5623 iff we are a bareword.
5624 Reported by Raja R Harinath.
5626 2001-10-05 Akim Demaille <akim@epita.fr>
5628 * tests/m4sh.at (LINENO): New.
5629 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
5630 PATH_SEPARATOR before using it.
5631 Fix the absolute path case/esac pattern.
5632 Provide $0 as fallback for as_myself.
5633 Reported by Raja R Harinath.
5635 2001-10-05 Akim Demaille <akim@epita.fr>
5637 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
5638 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
5640 2001-10-05 Akim Demaille <akim@epita.fr>
5642 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
5643 (AS_SHELL_SANITIZE): here. Use it.
5644 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
5647 2001-10-04 Akim Demaille <akim@epita.fr>
5649 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
5650 combination of Awk and sed to replace $LINENO.
5652 2001-10-02 Paul Eggert <eggert@twinsun.com>
5654 * doc/autoconf.texi (Limitations of Builtins): You can't use
5655 "source"; it's not portable. Remove confusing and
5656 somewhat-incorrect example involving "." and "/".
5658 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
5659 compatibility with POSIX shells.
5661 2001-10-02 Akim Demaille <akim@epita.fr>
5663 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
5664 instead of exec'ing to preserve $0 and $@.
5666 2001-10-01 Akim Demaille <akim@epita.fr>
5668 * tests/testsuite (AT_INIT) <at_pass_list>: New.
5669 Don't run twice the same test.
5671 2001-10-01 Akim Demaille <akim@epita.fr>
5673 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
5674 No longer output the list of tests.
5675 <--list>: New option.
5676 <--full-help>: Remove.
5677 Complete the short/long options duality.
5678 Various small adjustments.
5680 2001-10-01 Akim Demaille <akim@epita.fr>
5682 * doc/autoconf.texi: Use @kbd for user input.
5683 Always use `$' as shell prompt.
5685 2001-09-30 Paul Eggert <eggert@twinsun.com>
5687 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
5688 Don't use nested parenthesization. This patch was originally
5689 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
5690 but somehow it didn't get incorporated then.
5691 * doc/autoconf.texi (Limitations of Usual Tools):
5692 Clarify remark about sed and nested parenthesization.
5694 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
5695 Report an error if the size cannot be determined even though
5697 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5698 Check for `expr' arithmetic overflow, and for compilation failure,
5699 and invoke a new argument $4 if either is discovered.
5700 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
5701 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
5703 2001-09-28 Akim Demaille <akim@epita.fr>
5705 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
5706 * m4/lispdir.m4: New.
5707 * aclocal.m4, configure.ac: Adjust.
5709 2001-09-28 Akim Demaille <akim@epita.fr>
5711 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
5713 (AT_INIT): More the wrapped section to where it will be expanded.
5714 Output `AT_tested' only when existing.
5715 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
5717 2001-09-27 Akim Demaille <akim@epita.fr>
5719 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
5720 generates too many bug reports.
5722 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
5723 status when executing the ACTION-IF-FALSE.
5724 * tests/base.at (AC_TRY_*): Rename as...
5725 (AC_TRY_COMMAND): this.
5726 (AC_RUN_IFELSE): New.
5727 * tests/compile.at (Extensions, C keywords)
5728 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
5729 (Broken/missing compilers, AC_PROG_CPP with warnings)
5730 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
5731 * tests/c.at (Extensions, C keywords)
5732 (Broken/missing compilers, AC_PROG_CPP with warnings)
5733 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
5734 (AC_PROG_CPP requires AC_PROG_CC): here and...
5735 * tests/fortran.at (GNU Fortran 77): there.
5736 * doc/autoconf.texi (autoconf Invocation): Fix the example:
5737 AC_TRY_RUN is about compilation, not shell commands.
5738 (Test Programs): AC_TRY_RUN works as used to be advertised.
5740 2001-09-27 Akim Demaille <akim@epita.fr>
5742 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
5744 Be sure to detect when $LINENO always returns the same value.
5745 Look for the original script, basename($0) is certainly not
5747 Pass the CLI arguments to `$as_me.lineno'.
5749 2001-09-25 Akim Demaille <akim@epita.fr>
5751 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
5752 Be sure the close and reopen the LOG fd before and after using tee
5754 <at_tests_pattern>: Adjust to the new format of at_help_all.
5756 2001-09-23 Akim Demaille <akim@epita.fr>
5758 * bin/autom4te.in (parse_args): There can be several invocations
5761 2001-09-23 Akim Demaille <akim@epita.fr>
5763 * doc/autoconf.texi (Top): Wrap in @ifnottex.
5765 2001-09-23 Akim Demaille <akim@epita.fr>
5767 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
5768 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
5769 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
5770 builddir, buildpath, top_builddir, and top_buildpath.
5771 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
5772 the current directory.
5773 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
5774 variables *before* changing the current directory.
5775 Skip nonexistent dirs.
5776 * doc/autoconf.texi (Preset Output Variables): Document these
5779 * lib/autotest/general.m4: Do not reset AT_victims.
5780 Don't compute at_srcdir nor at_top_srcdir.
5782 * tests/tools.at: Hence use top_srcdir.
5784 * tests/Makefile.am, tests/autoconf, tests/autoheader,
5785 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
5787 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
5788 * tests/wrapsh.in, tests/autoupdate.in: New.
5789 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
5790 * configure.ac: Build the position independent wrappers.
5792 * man/Makefile.am: Now that test wrappers are position
5793 independent, use them and drop dark envvar magic.
5795 2001-09-23 Akim Demaille <akim@epita.fr>
5797 * doc/autoconf.texi (Common Shell Constructs): Rename as...
5798 (Programming in M4sh): this.
5799 Promote to @section.
5801 2001-09-23 Akim Demaille <akim@epita.fr>
5803 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
5804 Pass $at_debug_args to the rerun test suite.
5805 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
5806 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
5809 2001-09-23 Akim Demaille <akim@epita.fr>
5811 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
5813 2001-09-23 Akim Demaille <akim@epita.fr>
5815 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
5818 2001-09-23 Akim Demaille <akim@epita.fr>
5820 * lib/Autom4te/General.pm (&debug): New.
5821 * bin/autom4te.in ($language): Move to...
5823 Handle --language in languages.
5824 * lib/autom4te.in (Automake-selections, Autoheader-selections)
5825 (Autoscan-selections): New.
5828 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
5830 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
5831 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
5832 to match current versions from CVS Automake.
5834 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
5836 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
5839 2001-09-22 Akim Demaille <akim@epita.fr>
5841 * lib/autoconf/autotest.m4: Create `package.m4'.
5842 * tests/Makefile.am (package.m4): Remove.
5844 2001-09-22 Akim Demaille <akim@epita.fr>
5846 Rely on `$LINENO' when possible instead of `__oline__'.
5848 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
5849 `$LINENO' support replacement when not supported.
5850 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
5851 them explicitly to be sure they are not output before this section
5852 (via m4_require). Cosmetic only.
5853 * lib/autoconf/c.m4, lib/autoconf/general.m4,
5854 * lib/autoconf/programs.m4: Replace all the occurrences of
5855 `__oline__' with `$LINENO'.
5856 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
5858 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
5860 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
5861 character (u: -> ue) in a code comment.
5862 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
5865 2001-09-21 Akim Demaille <akim@epita.fr>
5867 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
5868 Suggested by Jim Meyering.
5870 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5872 * lib/autoconf/programs.m4: Use extensions listed in
5873 $ac_executable_extensions when looking for programs.
5875 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5877 * lib/autoconf/general.m4: Fix a small Englisho.
5878 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
5879 setting up ac_dir_suffix and ac_top_builddir.
5880 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
5882 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5884 * doc/autoconf.texi (File System Conventions): Clarify the use of
5886 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
5887 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
5888 be used instead of ':'.
5889 * lib/autotest/general.m4: Replace occurrences of ':' in
5890 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
5892 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5894 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
5895 arguments. Fixed a typo.
5897 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5899 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
5900 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
5902 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5904 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
5905 * bin/autoupdate.in: Ditto.
5906 * bin/autoheader.in: Reworded a few comments.
5907 * bin/autoconf.in: Reworded help text for a few options.
5908 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5909 * bin/autoscan.in, bin/autoupdate.in: Ditto.
5911 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
5913 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
5914 already have $file). Set output files to binary mode (helps avoid
5915 CR issues on DOSish systems).
5917 2001-09-19 Akim Demaille <akim@epita.fr>
5919 * lib/autotest/general.m4: Englishoes.
5920 From Tim Van Holder and Alexey Mahotkin.
5922 2001-09-18 Paul Eggert <eggert@twinsun.com>
5924 * doc/autoconf.texi (Common Shell Constructs): New node,
5925 documenting AS_DIRNAME.
5926 (Limitations of Usual Tools): Refer to it when discussing dirname.
5927 Also, update discussion of POSIX standard to reflect latest draft.
5929 * lib/autoconf/c.m4:
5930 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
5932 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
5933 Do not pass a first argument with leading '-'
5934 to expr, by parenthesizing initial integers that might be negative.
5936 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
5937 now merely checks whether it is an error to pass an argument
5940 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
5941 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
5942 whether it is a (compile-time) error to pass an argument to
5943 getpgrp. This simpler test supports the revised documentation,
5944 and is all that AC_FUNC_GETPGRP's users really need.
5946 2001-09-18 Akim Demaille <akim@epita.fr>
5948 * doc/autoconf.texi (Limitations of Make) <$<>: New.
5950 2001-09-18 Akim Demaille <akim@epita.fr>
5952 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
5954 * lib/autotest/general.m4 (AT_INIT): Adjust.
5956 2001-09-18 Paul Wagland <paul@wagland.net>
5958 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
5960 Add test for AS_BASENAME.
5961 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
5962 added test. It now correctly handles /1/2/3/, returning '3' not ''.
5963 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
5964 * tests/base.at: Fixed the expected responses. The old ones were
5966 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
5967 the documentation claims it should (and how it behaved in 2.13).
5969 2001-09-18 Akim Demaille <akim@epita.fr>
5971 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
5972 the AC_CONFIG_COMMANDS invocation.
5973 This also solves the name clash problems.
5974 Don't set the package's ID.
5975 * lib/m4sugar/Makefile.am (version.m4): Revamp.
5976 No longer to be shipped.
5977 (version.in): Remove.
5978 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
5979 * lib/autoconf/status.m4: Adjust.
5980 Use `m4_PACKAGE_STRING'.
5981 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
5982 the only optional argument is the name of the test suite.
5983 Expect `package.m4' to define the package signature.
5984 * lib/autom4te.in (Autotest): Add `package.m4?'.
5985 * tests/Makefile.am (package.m4): New.
5986 * tests/suite.at: ifnames is a victim.
5988 2001-09-18 Akim Demaille <akim@epita.fr>
5990 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
5991 AC_LIBSOURCE, AC_CONFIG_FILES.
5992 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
5993 program version string doesn't match the package's.
5994 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
5997 2001-09-17 Paul Eggert <eggert@twinsun.com>
5999 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6000 Allow expression to return any value that can fit into unsigned long
6001 (not int, as before). Check for output errors.
6003 2001-09-17 Bruno Haible <haible@ilog.fr>
6005 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
6006 Always include <stdio.h> and <stdlib.h>. Evaluate
6007 the expression in an extra function before these includes. Call
6008 fprintf "%d" only after ensuring the argument is of type 'int'.
6009 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
6011 2001-09-17 Paul Eggert <eggert@twinsun.com>
6013 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
6014 or CFLAGS=-O5. In that case, the linker has a relaxed view of
6015 fatal errors, and AC_CHECK_LIB causes it to include libraries even
6016 when they don't exist.
6018 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
6019 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
6022 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
6023 version with the version used by fileutils 4.1, except use
6024 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
6027 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
6029 2001-09-13 Akim Demaille <akim@epita.fr>
6031 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
6033 Reported by Gerrit P. Haase.
6035 2001-09-13 Akim Demaille <akim@epita.fr>
6037 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
6038 m4_defn'ing is valid.
6040 2001-09-13 Akim Demaille <akim@epita.fr>
6042 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
6043 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
6046 2001-09-13 Akim Demaille <akim@epita.fr>
6048 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
6050 (m4_re_escape): New.
6051 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
6052 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
6053 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
6055 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
6056 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
6057 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
6058 AT_tests_all for consistency.
6060 (AT_VICTIMS): Similar to AT_KEYWORDS.
6061 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
6063 2001-09-13 Akim Demaille <akim@epita.fr>
6065 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
6067 2001-09-13 Akim Demaille <akim@epita.fr>
6069 * lib/autotest/general.m4 (AT_INIT): Create and remove
6070 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
6071 test suites can cohabit.
6073 2001-09-13 Akim Demaille <akim@epita.fr>
6075 * tests/mktests.sh: Don't output banners for empty test files.
6077 2001-09-13 Akim Demaille <akim@epita.fr>
6079 Test suites can be run independently of configure.
6081 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
6082 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
6083 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
6085 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
6087 * lib/autotest/general.m4: Use ECHO_*.
6089 2001-09-13 Akim Demaille <akim@epita.fr>
6091 * bin/ifnames.in: Rewrite in Perl.
6092 * configure.ac: Don't look for AWK.
6093 * tests/tools.at (AWK portability): Remove.
6094 (Syntax of the shell scripts): Don't check ifnames.
6095 (AT_CHECK_PERL_SYNTAX): New.
6096 (Syntax of the Perl scripts): Check ifnames.
6097 * tests/ifnames: New.
6099 2001-09-13 Akim Demaille <akim@epita.fr>
6101 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
6103 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
6104 Remove all the other keywords.
6106 2001-09-10 Akim Demaille <akim@epita.fr>
6108 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
6109 SETUP: no longer used.
6110 Support -k, --keywords.
6111 <at_help>: Be `no', `short', or `long'.
6112 <at_help_all>: New variable.
6114 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
6115 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
6116 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
6117 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
6118 No longer fill the HELP diversion.
6119 (AT_CLEANUP): Use them.
6120 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
6121 (m4_list_append): Remove.
6123 Spread a few keywords in the Autoconf test suite.
6125 2001-09-10 Akim Demaille <akim@epita.fr>
6127 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
6128 PATH_SEPARATOR, let M4sh compute it.
6129 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
6130 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
6132 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
6133 Simplify when the path is not a literal.
6134 (AS_UNAME): Use it to report PATH.
6135 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
6136 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
6137 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
6138 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
6139 normalize the path, and to look for victims.
6140 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
6141 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
6143 2001-09-07 Akim Demaille <akim@epita.fr>
6145 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
6146 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
6147 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
6148 related variables into `at_package_*'.
6149 * lib/autotest/general.m4 (AT_VICTIMS): New.
6150 (AT_INIT): Adjust for stand-alone/embedded test suites.
6151 (AS_MESSAGE_LOG_FD): Define and use it.
6152 * tests/suite.at (AT_VICTIMS): Use it.
6153 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
6156 2001-09-07 Akim Demaille <akim@epita.fr>
6158 Move toward possibly stand-alone test suites.
6160 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
6161 in addition, it introduces useless differences in logs.
6162 (AT_INIT): Let atconfig and atlocal be both optional.
6163 Adjust PATH computation.
6164 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
6166 2001-09-07 Akim Demaille <akim@epita.fr>
6168 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
6171 2001-09-05 Akim Demaille <akim@epita.fr>
6173 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
6174 to avoid GCC warnings.
6177 2001-09-05 Akim Demaille <akim@epita.fr>
6179 * bin/autom4te.in: --language is -l, not -s.
6181 2001-09-05 Akim Demaille <akim@epita.fr>
6183 Be ready to handle filenames as stupid as `dnl.at', for if even
6184 the maintainer is dumb enough to do that...
6186 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
6187 excellence in M4 quotation: consider `__file__' is active.
6189 And BTW, when invoking m4, pass the --include in the right order:
6192 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
6195 2001-09-05 Akim Demaille <akim@epita.fr>
6197 * lib/Autom4te/XFile.pm: New lib file.
6198 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
6199 * bin/autoheader.in: Use it.
6201 2001-09-05 Akim Demaille <akim@epita.fr>
6203 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
6206 2001-09-05 Akim Demaille <akim@epita.fr>
6208 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
6209 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
6211 * bin/autoscan.in: Use `getopt' and `find_files' etc.
6212 Add -I, --include support.
6213 * doc/autoconf.texi (autoscan Invocation): Adjust.
6215 2001-09-05 Akim Demaille <akim@epita.fr>
6217 CVS GNU M4 doesn't like `undefine(undefined)'.
6219 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
6220 New, extracted from main.
6221 Use IO::File wherever possible.
6222 (input.m4): Be constant, use -I instead of hard coding $tmp.
6223 Therefore be a quoted heredoc.
6224 Don't invoke `_au_disable', since ac was not loaded, but just
6227 2001-08-31 Akim Demaille <akim@epita.fr>
6231 2001-08-31 Akim Demaille <akim@epita.fr>
6233 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
6235 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
6237 2001-08-31 Akim Demaille <akim@epita.fr>
6239 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
6240 serious problems handling heredocs in heredocs.
6241 Reported by Nicolas Joly.
6243 2001-08-31 Akim Demaille <akim@epita.fr>
6245 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
6246 (Making testsuite Scripts): Update.
6248 2001-08-31 Akim Demaille <akim@epita.fr>
6250 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
6252 2001-08-31 Akim Demaille <akim@epita.fr>
6254 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
6255 (testsuite Scripts): There is no such thing as `atconfig.in'.
6256 And actually one diagram is missing: test suite runtime.
6258 2001-08-31 Akim Demaille <akim@epita.fr>
6260 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
6263 2001-08-31 Akim Demaille <akim@epita.fr>
6265 * bin/autoupdate.in (@include): `installcheck' revealed the path
6266 to m4sugar was lacking!
6268 2001-08-31 Akim Demaille <akim@epita.fr>
6270 * man/Makefile.am (.x.1): We really have to pass
6271 autom4te_perllibdir.
6273 2001-08-31 Akim Demaille <akim@epita.fr>
6275 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
6276 debug scripts, in particular passing explicitly listed tests to
6279 2001-08-31 Akim Demaille <akim@epita.fr>
6281 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
6282 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
6283 Use directly autom4te, not autoconf.
6284 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
6286 2001-08-31 Akim Demaille <akim@epita.fr>
6288 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
6289 * bin/autoheader.in (%symbol): Strip arguments of macros.
6291 2001-08-31 Akim Demaille <akim@epita.fr>
6293 * doc/autoconf.texi: Catch up -I, --include changes.
6295 2001-08-31 Akim Demaille <akim@epita.fr>
6297 * bin/autom4te.in (&parse_args): Die on unknown languages.
6298 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
6300 Promote --include over --macrodir and other obsolete options.
6302 2001-08-31 Akim Demaille <akim@epita.fr>
6304 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
6305 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
6306 * bin/autom4te.in ($autoconf): Pass --force.
6307 `print $out' doesn't print `$_' but `$out'.
6308 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
6309 (autoheader): Pass --force since the test suite goes too fast for
6311 Adjust to the new autoheader messages.
6313 2001-08-31 Akim Demaille <akim@epita.fr>
6315 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
6316 Check the completeness of the #template.
6317 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
6318 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
6321 2001-08-31 Akim Demaille <akim@epita.fr>
6323 * lib/Autom4te/General.pm (&find_file, &update_file): New.
6324 * bin/autoupdate.in, bin/autoheader.in: Adjust.
6325 Drop AC_MACRODIR dead for real.
6326 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
6327 `autoheader: `config.hin' is created'.
6328 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
6330 2001-08-31 Akim Demaille <akim@epita.fr>
6332 * bin/autoheader.in: Rewrite in Perl.
6333 * tests/autoheader: Adjust.
6335 2001-08-31 Akim Demaille <akim@epita.fr>
6337 * bin/autoconf.in (--include, -I): New option.
6338 Map --localdir, --autoconf-dir onto it.
6339 Forward autom4te's options instead of interpreting them.
6340 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
6341 There is no such envvar since the inception of autom4te.cfg.
6342 * bin/autom4te.in (&parse_args): Uniquify `@include'.
6343 * bin/autoupdate.in: Adjust, and perform more control.
6344 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
6345 * tests/autoconf: Dittowise.
6347 2001-08-31 Akim Demaille <akim@epita.fr>
6349 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
6350 * bin/autom4te.in (&find_file): Support `FILE?' standing for
6352 Use -e, not -f, since /dev/null for instance is OK.
6353 (&parse_args): Adjust.
6354 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
6356 2001-08-31 Akim Demaille <akim@epita.fr>
6358 * configure.ac: Also find tested executables in bin.
6359 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
6360 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
6361 installed peer executables, only PATH is allowed to resolve it.
6362 Pass `autoconf_dir' via options, not via invisible envvars.
6363 * lib/Autom4te/General.pm (&find_peer): Remove.
6364 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
6365 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
6366 * man/Makefile.am: Let help2man rely on PATH instead of trying to
6367 find the executables for it.
6368 * tests/Makefile.am: Major cleanup. Too lazy to document...
6369 * tests/atlocal.in: Remove all the obscure envvar manipulations.
6371 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
6372 indeed related to running the test suite, while passing
6373 --autoconf-dir and others is related to running non installed
6374 Autoconf executables. So don't do that, leave it to...
6375 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
6376 * tests/autoscan: New.
6377 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
6378 refer to library files: rely on --language.
6380 2001-08-29 Akim Demaille <akim@epita.fr>
6382 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
6383 s/--set/--language/.
6385 2001-08-29 Akim Demaille <akim@epita.fr>
6387 * doc/autoconf.texi: Strip the @nodes.
6388 Suggested by Paul Eggert.
6389 (Initializing configure): Typo.
6391 2001-08-29 Akim Demaille <akim@epita.fr>
6393 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
6394 Suggested by Paul Eggert.
6396 2001-08-29 Akim Demaille <akim@epita.fr>
6398 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
6399 download in a tmp dir.
6401 2001-08-29 Akim Demaille <akim@epita.fr>
6403 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
6404 case insensitive OSes out there :(
6405 From Tim Van Holder.
6407 2001-08-29 Akim Demaille <akim@epita.fr>
6409 * lib/autom4te.in: New.
6410 * lib/Makefile.am (edit, autom4te.cfg): New.
6411 * bin/autom4te.in (BEGIN): Simplify.
6412 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
6413 (&load_configuration): New. Use it.
6414 (&parse_args): Support --mode, --set, and --melt.
6415 * bin/autoconf.in: Simplify and adjust.
6416 * tests/Makefile.am (AUTOMAKE): Use --set.
6417 * tests/atlocal.in: Adjust.
6418 * BUGS: distcheck and check are weak.
6420 2001-08-29 Akim Demaille <akim@epita.fr>
6422 * lib/autotest/general.m4: Use
6423 foo=`(command) 2>/dev/null`
6425 foo=`command` 2>/dev/null
6426 (at-devnull): Rename as...
6428 (--clean): Remove AT-* files too.
6429 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
6430 Reported by Nicolas Joly.
6432 2001-08-28 Akim Demaille <akim@epita.fr>
6434 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
6435 quotes inside single quotes.
6436 Reported by Nicolas Joly.
6438 2001-08-28 Kevin Ryde <user42@zip.com.au>
6440 * doc/autoconf.texi (Function Portability): Mention C right shifts.
6442 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
6444 * lib/autotest/general.m4: Reword some messages.
6445 (AT_INIT): Check for the `times' builtin before using it.
6446 Support test ranges as arguments to the testsuite.
6447 Have -e imply -d as the help text suggested.
6449 2001-08-27 Akim Demaille <akim@epita.fr>
6451 * Makefile.maint: Formatting changes.
6452 (do-po-update, po-update, cvs-update, update): New targets.
6455 2001-08-27 Akim Demaille <akim@epita.fr>
6457 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
6459 Pass it to debug-*.sh scripts.
6460 <AUTOTEST_PATH>: May contain absolute dir names.
6462 2001-08-27 Akim Demaille <akim@epita.fr>
6464 * lib/autotest/general.m4 (AT_INIT): Log the command line.
6465 Support `VAR=VAL' as arguments.
6466 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
6467 may be set via the command line.
6469 2001-08-27 Akim Demaille <akim@epita.fr>
6471 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
6472 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
6473 first the build dirs, then the src dirs.
6474 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
6476 2001-08-27 Akim Demaille <akim@epita.fr>
6478 * lib/autotest/general.m4 (AT_INIT): Output the definition of
6479 at_data_files earlier.
6480 (--clean, -c): New option.
6481 * tests/Makefile.am: Use this option.
6483 2001-08-27 Akim Demaille <akim@epita.fr>
6485 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
6486 `ac_top_builddir' to mimic Automake's vocabulary, which much more
6489 * doc/autoconf.texi (Configuration Actions): Document the vars
6490 available in commands.
6491 Emphasize the risks of collisions in init-cmds.
6493 2001-08-27 Akim Demaille <akim@epita.fr>
6495 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
6496 (Initializing configure): this new node.
6498 2001-08-27 Akim Demaille <akim@epita.fr>
6500 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
6502 2001-08-27 Akim Demaille <akim@epita.fr>
6504 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
6505 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
6507 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
6509 2001-08-27 Akim Demaille <akim@epita.fr>
6511 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
6513 * lib/autoconf/autoheader.m4: this new file.
6514 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
6515 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
6517 * lib/autoconf/autoupdate.m4: this new file.
6519 2001-08-27 Akim Demaille <akim@epita.fr>
6521 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
6522 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
6523 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
6525 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
6526 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
6528 2001-08-27 Akim Demaille <akim@epita.fr>
6530 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
6531 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
6532 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
6533 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
6534 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
6535 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
6536 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
6537 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
6538 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
6539 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
6540 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
6541 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
6542 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
6543 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
6544 (_AC_OUTPUT_SUBDIRS): Move to...
6545 * lib/autoconf/status.m4: this new file.
6546 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
6547 * tests/Makefile.am, tests/suite.at: Adjust.
6549 2001-08-27 Akim Demaille <akim@epita.fr>
6553 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
6554 (AMTAR): Help automake define it.
6555 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
6556 needed, 1.5 can have a macro and a target with the same name.
6557 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
6559 * m4/init.m4, m4/sanity.m4: Update.
6560 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
6561 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
6562 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
6563 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
6565 2001-08-27 Akim Demaille <akim@epita.fr>
6567 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
6569 * lib/autoconf/version.in: Remove.
6570 * lib/m4sugar/version.in: New.
6571 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
6573 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
6574 the name of the directory they're in, instead of the filename,
6575 since version.m4 is now in m4sugar, but m4_acversion must not be
6576 classified as an Autoconf macro.
6577 ($input_m4): Don't qualify the path to m4sugar.
6578 Rather, pass autoconf_dir to m4.
6579 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
6580 * tests/suite.at: Require 2.52c.
6582 2001-08-27 Akim Demaille <akim@epita.fr>
6584 testsuite.log should include config.log.
6586 * lib/autotest/autotest.m4: New.
6587 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
6588 * tests/suite.at : Adjust.
6589 (AT_INIT): Log config.log.
6590 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
6591 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
6592 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
6593 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
6594 of config.log on traps.
6595 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
6596 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
6598 Open the log as soon as possible.
6599 Use the same log introduction as configure's.
6601 2001-08-22 Paul Eggert <eggert@twinsun.com>
6603 * doc/autoconf.texi (Indices): New node.
6604 Move indices out of the top level menu and into this submenu.
6606 2001-08-22 Akim Demaille <akim@epita.fr>
6608 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6610 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
6612 2001-08-22 Akim Demaille <akim@epita.fr>
6614 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
6615 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
6616 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
6617 * lib/autoconf/programs.m4: here.
6618 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
6619 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
6620 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
6621 * lib/autoconf/programs.m4: here.
6622 (_AC_DECL_YYTEXT): Rename as...
6623 (_AC_PROG_LEX_YYTEXT_DECL): this.
6624 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
6625 * tests/Makefile.am, tests/suite.am: Adjust.
6627 2001-08-22 Akim Demaille <akim@epita.fr>
6629 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
6631 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
6633 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
6634 * lib/autoconf/functions.m4: here.
6635 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
6636 (AH_CHECK_LIB): Move to...
6637 * lib/autoconf/libs: this new file.
6638 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
6639 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
6640 * lib/autoconf/libs.m4: here.
6641 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
6643 2001-08-22 Akim Demaille <akim@epita.fr>
6645 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
6646 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
6647 (AC_SITE_LOAD): Better logging of config.site.
6649 2001-08-20 Akim Demaille <akim@epita.fr>
6651 * configure.ac (AT_CONFIG): Fix the path.
6652 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
6655 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
6657 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
6658 program with AC_LANG_PROGRAM before feeding it to
6659 AC_COMPILE_IFELSE. Cleanup grep usage.
6661 2001-08-20 Akim Demaille <akim@epita.fr>
6663 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
6664 * NEWS, README, README-alpha, TODO, tests/README: This package is
6665 `Autoconf', not `autoconf' (the executable).
6667 2001-08-20 Akim Demaille <akim@epita.fr>
6669 Info readers seem to need `Index' in the index node title :(
6671 * doc/autoconf.texi: Reverse the 2001-08-15 change which
6672 simplified index node names.
6674 2001-08-20 Akim Demaille <akim@epita.fr>
6676 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
6677 arguments are not literals.
6678 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
6679 Specify the output variables, and macros defined.
6681 2001-08-20 Akim Demaille <akim@epita.fr>
6683 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
6684 (Examining Syntax) <AC_TRY_COMPILE>
6685 (Examining Libraries) <AC_TRY_LINK>
6686 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
6688 Reported by Werner Lemberg.
6690 2001-08-20 Akim Demaille <akim@epita.fr>
6692 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
6693 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
6694 Load atlocal late enough to dump it in the log.
6695 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
6697 2001-08-20 Akim Demaille <akim@epita.fr>
6699 * tests/torture.at (Configuring subdirectories): New test.
6700 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
6702 * m4/atconfig.m4: Be sure the let $[0] be expandable.
6703 (top_srcdir): Fix its computation.
6705 2001-08-20 Akim Demaille <akim@epita.fr>
6707 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
6708 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
6710 Create `atconfig' automagically.
6711 Configure atlocal.in if present.
6712 * tests/atconfig.in: Remove.
6713 * tests/atlocal.in: New.
6714 * tests/Makefile.am: Adjust.
6716 2001-08-20 Akim Demaille <akim@epita.fr>
6718 Huh!?!?! There are still some user EOF tags used, which prevents
6719 their use in AC_CONFIG_COMMANDS for instance...
6721 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
6722 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
6723 `_CSEOF', or `_ATEOF', as appropriate.
6724 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
6725 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
6727 2001-08-20 Akim Demaille <akim@epita.fr>
6729 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
6730 * tests/semantics.at, tests/tools.at, tests/torture.at:
6731 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
6733 2001-08-20 Akim Demaille <akim@epita.fr>
6735 Autotest invokes M4sh's initialization.
6737 * lib/autotest/general.m4: Adjust the diversion names.
6738 (AT_INIT): Run AS_INIT.
6739 Use the BINSH diversion to invoke /bin/sh.
6740 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
6741 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
6743 2001-08-20 Akim Demaille <akim@epita.fr>
6745 Let M4sh have its own diversions.
6747 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
6748 (_m4_divert(NOTICE)): Rename as...
6749 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
6750 (_m4_divert(HEADER-COMMENT)): these.
6751 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
6752 (_m4_divert(NOTICE)): New, for Libtool.
6753 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
6754 long ago with `_m4_divert(GROW)'.
6755 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
6757 2001-08-20 Akim Demaille <akim@epita.fr>
6759 * tests/base.at, tests/compile.at, tests/foreign.at,
6760 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
6761 * tests/semantics.at, tests/suite.at, tests/tools.at,
6762 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
6764 2001-08-20 Akim Demaille <akim@epita.fr>
6766 * bin/autom4te.in (handle_output): Handle @__@.
6768 2001-08-20 Akim Demaille <akim@epita.fr>
6770 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
6771 * lib/autotest/general.m4: Adjust the license.
6773 2001-08-17 Paul Eggert <eggert@twinsun.com>
6775 * doc/autoconf.texi (Function Portability): Mention snprintf,
6776 following up on a suggestion by Kevin Ryde.
6778 2001-08-17 Akim Demaille <akim@epita.fr>
6780 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
6781 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
6783 2001-08-17 Akim Demaille <akim@epita.fr>
6785 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
6786 `$0.log' as for projects where testsuite is in src, we'd have
6787 testsuite.log created in src.
6789 2001-08-17 Akim Demaille <akim@epita.fr>
6791 * bin/autom4te.in (&parse_args): Recognize --normalize.
6793 2001-08-17 Akim Demaille <akim@epita.fr>
6795 Start implementing the AC_CHECK_HEADER transition scheme.
6797 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
6798 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
6799 (AC_CHECK_HEADER): Use them.
6801 2001-08-17 Akim Demaille <akim@epita.fr>
6803 * doc/autoconf.texi: Work around Texinfo buglets.
6804 (Transformation Rules): One example is enough, users are expected
6805 to have their brains on. And BTW, use DESTDIR.
6806 (dvar): New macro. Use it.
6808 2001-08-17 Akim Demaille <akim@epita.fr>
6810 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
6811 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
6812 looking for ChangeLogs.
6814 2001-08-17 Akim Demaille <akim@epita.fr>
6816 * bin/autom4te.in: --normalize is a new option.
6817 * bin/autoconf.in: Use it.
6819 2001-08-17 Akim Demaille <akim@epita.fr>
6821 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
6822 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
6824 2001-08-16 Paul Eggert <eggert@twinsun.com>
6826 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
6829 2001-08-15 Akim Demaille <akim@epita.fr>
6831 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
6834 2001-08-15 Akim Demaille <akim@epita.fr>
6836 * doc/autoconf.texi (pr): New index.
6837 (prindex, findex): Use, merge, and output them.
6838 (Environment Variable Index, Output Variable Index)
6839 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
6840 (Autotest Macro Index): Rename as...
6841 (Environment Variables, Output Variables,Preprocessor Symbols)
6842 (Autoconf Macros, M4 Macros, Autotest Macros): these.
6843 * doc/install.texi: Use @command.
6844 (Environment Variables): Rename as...
6845 (Defining Variables): this.
6847 2001-08-15 Akim Demaille <akim@epita.fr>
6849 * doc/autoconf.texi (Function Portability): sprintf's return
6853 2001-08-15 Akim Demaille <akim@epita.fr>
6855 * Makefile.maint (CVS): New.
6856 (local-check): Run changelog-check. last.
6857 (alpha): Don't depend upon local-check, since...
6858 (cvs-dist): depends upon it.
6860 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
6862 * tests/Makefile.am: Use a clean-local rule to remove
6863 autom4te.cache (it's a directory, not a file.
6864 * Makefile.am: Ditto (but maintainer-clean-local).
6866 2001-08-15 Akim Demaille <akim@epita.fr>
6868 * bin/autom4te.in (@m4_warning): New.
6869 (&handle_m4): Use it.
6870 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
6871 warnings are issued at each run.
6872 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
6875 2001-08-15 Akim Demaille <akim@epita.fr>
6877 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
6878 don't waste time running `autoupdate --version' works.
6879 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
6881 2001-08-13 Akim Demaille <akim@epita.fr>
6883 * doc/autoconf.texi (ma): Rename this index as...
6886 2001-08-13 Akim Demaille <akim@epita.fr>
6888 * Makefile.am: Remove dead code and dead comments.
6889 (pdf, html): New targets.
6890 * doc/autoconf.texi (Using Autotest): New chapter.
6891 * doc/Makefile.am (pdf): New targets.
6892 (CLEANFILES): Adjust.
6894 2001-08-13 Akim Demaille <akim@epita.fr>
6896 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
6897 duration of the test suite.
6899 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
6901 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
6902 endianness for comparison instead of relying on AT_CHECK_ENV.
6904 2001-08-11 Paul Eggert <eggert@twinsun.com>
6906 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
6907 to the INSTALL file.
6909 2001-08-11 Paul Eggert <eggert@twinsun.com>
6911 * NEWS: The autoconf manual now is distributed under the terms
6912 of the GNU Free Documentation License.
6914 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
6915 Add an appendix "Copying This Manual" for the FDL.
6917 * doc/fdl.texi: New file, from
6918 <http://www.gnu.org/licenses/fdl.texi>.
6920 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
6922 2001-08-10 Paul Eggert <eggert@twinsun.com>
6924 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
6925 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
6926 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
6927 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
6928 m4/sanity.m4, tests/README, tests/aclocal.m4,
6929 tests/atspecific.m4, tests/base.at, tests/compile.at,
6930 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
6931 tests/semantics.at, tests/suite.at, tests/tools.at,
6932 tests/torture.at: Add copyright notice.
6934 * tests/mktests.sh: Update year in copyright notice.
6936 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
6938 * tests/semantics.at (AC_C_BIGENDIAN): New test.
6940 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
6942 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
6943 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
6944 * doc/autoconf.texi (C Compiler Characteristics): Update
6945 documentation for AC_C_BIGENDIAN.
6947 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
6949 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
6950 magic values from an object file when cross-compiling.
6951 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
6953 2001-08-10 Akim Demaille <akim@epita.fr>
6955 * bin/autom4te.in (&handle_output): Don't use `grep' with side
6957 Suggested by Russ Allbery.
6959 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6961 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
6962 current $prefix to the sub-configures.
6964 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
6966 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
6967 extension (needed on BeOS). Reported by Guido van Rossum.
6969 2001-08-09 Akim Demaille <akim@epita.fr>
6971 * bin/autom4te.in ($icache): Load it only if older than autom4te.
6973 2001-08-07 Akim Demaille <akim@epita.fr>
6975 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
6977 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
6978 No need to remove the files before and after the each test, before
6979 each test and at the end of the suite is enough.
6980 Display only the children `times', not the shell's.
6981 If the test failed or was skipped, at-times is not available.
6983 2001-08-07 Akim Demaille <akim@epita.fr>
6985 Always produce testsuite.log, including when there are no
6986 failures. This helps getting information on skipped tests, and
6987 duration of the tests. Err, implement the latter btw.
6989 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
6990 Dump information on the first run of each test.
6991 (AT_CLEANUP): Create `at-times' containing the duration of the
6994 2001-08-07 Akim Demaille <akim@epita.fr>
6996 The use of `dumpstat' revealed that `len' was used although it
6997 should not. m4_text_wrap was using it, but in the Autoconf world
6998 where it is legal. Hence (i) test M4sh in its own world, not
6999 Autoconf's, and (ii), ahem, fix the bug :)
7001 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
7002 does not like `' instead of [].
7003 (AT_INIT): Forbid `^_?AT_'.
7004 And don't output such tokens.
7005 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
7006 `script.as', and `autom4te.cache'.
7007 Remove `empty' and `macro' which are no longer used.
7008 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
7009 * tests/m4sugar.at: Use it.
7010 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
7012 2001-08-07 Akim Demaille <akim@epita.fr>
7014 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
7016 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
7018 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
7020 2001-08-04 Akim Demaille <akim@epita.fr>
7022 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
7023 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
7025 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
7026 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
7027 (AC_F77_MAIN): Likewise.
7029 2001-08-04 Akim Demaille <akim@epita.fr>
7031 Don't rely on M4sugar outputting the patterns in files, since we
7032 might process the output _without_ running m4, hence without these
7035 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
7036 * bin/autom4te.in (@Request::includes): Remove, unused.
7037 (@Request::source): Rename as...
7038 (@Request::input): this.
7039 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
7040 (&handle_output): Fetch the patterns from the traces.
7041 `$forbidden' and `$allowed' are constant: use m//o.
7042 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
7043 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
7045 2001-08-04 Akim Demaille <akim@epita.fr>
7047 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
7048 autoconf', i.e., in addition to caching traces, cache the output.
7050 * bin/autom4te.in (Request::cache): Rename as...
7051 (Request::id): this.
7052 ($cache, $icache, $tcache, $ocache): New.
7053 (&handle_m4): Save M4 output in the cache instead of $tmp.
7054 (&handle_output): Adjust.
7055 (&up_to_date_p): Check that the output cache is up to date too.
7056 (top level): Run `&handle_m4' iff force or the cache is invalid.
7057 Run `&handle_output' if the output cache is more recent.
7059 2001-08-04 Akim Demaille <akim@epita.fr>
7061 * bin/autom4te.in ($force): New.
7062 (&parse_args, &print_usage): -f, --force is a new option.
7063 (&handle_output): CPP directives might have spaces after `#'.
7064 (&parse_args): The first file only can be frozen.
7066 2001-08-04 Akim Demaille <akim@epita.fr>
7068 Don't let autom4te compute the `include' traces several times:
7069 first check that the trace cache file is up to date, and then
7070 compare its timestamp with that of the output.
7072 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
7073 the preamble. Don't require 5.005 as Autom4te::General does it,
7074 and better yet (use `use', not `require'!).
7075 * lib/Autom4te/Struct.pm: Rename the last occurrences of
7076 Class::Struct as Autom4te::Struct.
7077 * lib/Autom4te/General.pm (File::stat): Use it.
7078 (&mtime): New, export it.
7079 * bin/autom4te.in: Use it.
7080 Declare `$req' is invalid if it is outdated.
7081 Don't declare it valid before saving it if something went wrong.
7083 2001-08-04 Akim Demaille <akim@epita.fr>
7085 Autom4te shall not encode Autoconf data, and preselecting traces
7086 must be proposed to the users.
7088 * bin/autom4te.in (@required_trace): Remove.
7090 (&parse_args, &print_usage): -p, --preselect is a new option.
7091 (&up_to_date_p): Adjust.
7092 * bin/autoconf.in: Preselect some Autoconf macros.
7094 2001-08-04 Akim Demaille <akim@epita.fr>
7096 * tests/tools.at (autoconf --trace: user macros): Check traces on
7097 macros invoked without arguments, and macros invoked with multiple
7100 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
7102 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
7105 2001-08-03 Akim Demaille <akim@epita.fr>
7107 * bin/autoconf.in ($@): Work around the usual sh bug.
7110 2001-08-03 Akim Demaille <akim@epita.fr>
7112 Clean up the handling of the M4 builtins tracing exception.
7114 * bin/autom4te.in (Request::request): Don't complete M4 builtins
7116 (@m4_builtins): Rename as...
7117 (@m4_builtin): this.
7118 (%m4_builtin_alternate_name): New.
7119 (&parse_args): Complete the trace requests with alternate names.
7120 (&handle_traces): Hence no longer do it here.
7121 (&trace_requests): Remove, unused.
7123 2001-08-03 Akim Demaille <akim@epita.fr>
7125 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
7128 2001-08-03 Akim Demaille <akim@epita.fr>
7130 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
7131 (m4_divert_pop): Dump the whole diversion stack when a diversion
7133 * bin/autom4te.in (&handle_output): Remember of the first
7134 occurrence of a possibly undefined macro, not the last.
7135 Complain about the possibly undefined macros in the same order as
7136 the appear in the output.
7137 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
7138 * tests/tools.at (autoconf: forbidden tokens, basic)
7139 (autoconf: forbidden tokens, exceptions): No longer sort
7140 autoconf's stderr, as it is now deterministic.
7141 Check that `dnl' is caught.
7143 2001-08-01 Akim Demaille <akim@epita.fr>
7145 * configure.ac: Bump to 2.52c.
7147 2001-08-01 Akim Demaille <akim@epita.fr>
7151 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
7153 2001-08-01 Akim Demaille <akim@epita.fr>
7157 2001-08-01 Akim Demaille <akim@epita.fr>
7159 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
7162 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
7163 `END', as `Autom4te::General::END' will be triggered.
7164 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
7165 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
7166 system to run `mv', `rm', and `cmp'.
7168 2001-08-01 Akim Demaille <akim@epita.fr>
7170 * lib/Autom4te/General.pm (&unique): New.
7171 * bin/autoscan.in (&output): Use it to issue trace requests once.
7173 2001-08-01 Akim Demaille <akim@epita.fr>
7175 * lib/Autom4te/General.pm: New.
7176 * bin/autom4te.in (Autom4te::General): Use it.
7177 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
7178 (&find_configure_ac, &find_slave): Remove.
7179 * bin/autoscan.in: Likewise.
7180 * bin/autoupdate.in: Likewise.
7182 2001-08-01 Akim Demaille <akim@epita.fr>
7184 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
7185 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
7186 * bin: here, new directory.
7187 * lib/Autoconf: Rename as...
7188 * lib/Autom4te: this, to please case insensitive junkie OSes.
7190 2001-08-01 Akim Demaille <akim@epita.fr>
7192 * autom4te.in ($m4): Handle the --nesting-limit.
7193 * autoconf.in (M4): Remove.
7195 2001-08-01 Akim Demaille <akim@epita.fr>
7197 * autoconf.in ($AWK): Remove, no longer used.
7198 * test/tools.at: Use AT_CHECK_AUTOCONF.
7199 (AWK portability): Remove, for autoconf no longer uses AWK.
7200 (Syntax of the Perl scripts): New.
7201 * configure.ac: autoconf no longer needs an AWK with a good
7203 Use a static test on AC_PACKAGE_VERSION.
7204 * autom4te.in (&up_to_date_p): Output depends on the arguments.
7205 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
7206 * tests/atconfig.in (PERL): New.
7208 2001-08-01 Akim Demaille <akim@epita.fr>
7210 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
7211 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
7212 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
7213 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
7214 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
7215 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
7216 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
7217 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
7218 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
7219 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
7220 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
7221 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
7222 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
7223 * lib/autoconf/c.m4: here, new file.
7225 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
7226 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
7227 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
7228 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
7229 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
7230 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
7231 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
7232 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
7233 (AC_F77_FUNC): Move to...
7234 * lib/autoconf/fortran.m4: here, new file.
7236 2001-08-01 Akim Demaille <akim@epita.fr>
7238 * acfunctions.m4: Rename as...
7239 * lib/autoconf/functions.m4: this.
7240 * acgeneral.m4: Rename as...
7241 * lib/autoconf/general.m4: this.
7242 * acheaders.m4: Rename as...
7243 * lib/autoconf/headers.m4: this.
7244 * aclang.m4: Rename as...
7245 * lib/autoconf/lang.m4: this.
7246 * acoldnames.m4: Rename as...
7247 * lib/autoconf/oldnames.m4: this.
7248 * acspecific.m4: Rename as...
7249 * lib/autoconf/specific.m4: this.
7250 * actypes.m4: Rename as...
7251 * lib/autoconf/types.m4: this.
7252 * autoconf.m4: Rename as...
7253 * lib/autoconf/autoconf.m4: this.
7255 * m4sugar.m4: Rename as...
7256 * lib/m4sugar/m4sugar.m4: this.
7257 * m4sh.m4: Rename as...
7258 * lib/m4sugar/m4sh.m4: this.
7260 * tests/atgeneral.m4: Rename as...
7261 * lib/autotest/general.m4: this.
7263 * acfunctions: Rename as...
7264 * lib/autoscan/functions: this.
7265 * acheaders: Rename as...
7266 * lib/autoscan/headers: this.
7267 * acidentifiers: Rename as...
7268 * lib/autoscan/identifiers: this.
7269 * aclibraries: Rename as...
7270 * lib/autoscan/libraries: this.
7271 * acmakevars: Rename as...
7272 * lib/autoscan/makevars: this.
7273 * acprograms: Rename as...
7274 * lib/autoscan/programs: this.
7276 2001-08-01 Akim Demaille <akim@epita.fr>
7278 * doc/autoconf.texi: Moving/deleting open files is not portable.
7279 Portability issues for `.' (source), and more information about sed.
7281 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
7283 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
7284 which has a special meaning and is not a reference to libibmil.a.
7285 Reported by Matteo Frigo.
7287 2001-07-25 Pavel Roskin <proski@gnu.org>
7289 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
7292 2001-07-25 Akim Demaille <akim@epita.fr>
7294 * autoconf.in: Try to define the variables before using them.
7295 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
7296 instead of `$perllibdir'.
7297 * tests/atconfig.in ($autom4te_perllibdir): Export it.
7299 2001-07-25 Akim Demaille <akim@epita.fr>
7301 * autoconf.in (ac_LF_and_DOT): Remove, unused.
7303 2001-07-24 Akim Demaille <akim@epita.fr>
7305 Let autoconf use autom4te for traces.
7307 * autoconf.in ($task, task trace): Remove, merely pass --trace to
7309 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
7310 (Because I found no way for autom4te to accept `-').
7311 * autom4te.in (&Request::request): Beware of M4 builtins.
7312 (END): Don't try to remove the content of an empty dir.
7313 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
7314 (&handle_output): Set a default value to `$forbidden'.
7315 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
7316 ($autoconf): Pass --debug and --verbose.
7317 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
7320 2001-07-24 Akim Demaille <akim@epita.fr>
7322 Let autoconf use autom4te to create configure.
7324 * autoconf.in ($automate): New var.
7325 (task script): Use autom4te.
7326 * autom4te.in (File::Spec): Use it.
7328 (&parse_args): --warning is -W, not -w.
7329 Find the top level files.
7330 (&handle_m4): Pass the warnings flags.
7331 Don't report verbosely m4's failures, unless requested.
7332 (&handle_output): Don't complain for forbidden tokens in comments.
7333 Be sure to report all the forbidden tokens within a single line.
7334 (&trace_format_to_m4): Preserve `$_'.
7335 (&handle_traces): Sort the output macros.
7336 (&up_to_date_p): Find the files before trying to get its time stamp.
7338 2001-07-24 Akim Demaille <akim@epita.fr>
7340 * Makefile.am: Ship, build and install Autom4te.
7342 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
7343 * configure.in: Require Perl.
7344 * man/autom4te.in: New.
7346 2001-07-19 Paul Eggert <eggert@twinsun.com>
7348 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
7349 example, rather than (exit 1); exit (which isn't portable).
7351 2001-07-18 Akim Demaille <akim@epita.fr>
7355 2001-07-18 Akim Demaille <akim@epita.fr>
7357 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
7358 was run, while they are needed also when it is expanded.
7359 Reported by Nicolas Joly.
7361 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
7362 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
7363 AC_F77_DUMMY_MAIN being expanded.
7365 2001-07-18 Akim Demaille <akim@epita.fr>
7367 * configure.in: Bump to 2.51a.
7369 2001-07-17 Akim Demaille <akim@epita.fr>
7373 2001-07-17 Akim Demaille <akim@epita.fr>
7375 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
7376 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
7378 2001-07-17 Akim Demaille <akim@epita.fr>
7380 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
7381 used. Well, then use the prototypes when you can, and runtime as
7383 Reported by Artur Frysiak
7385 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
7386 (AC_FUNC_GETPGRP): Use it.
7387 First try to compile with 0-ary or 1-ary calls.
7389 2001-07-17 Akim Demaille <akim@epita.fr>
7391 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
7395 2001-07-17 Akim Demaille <akim@epita.fr>
7397 * Makefile.maint: Sync. with cppi 1.10.
7399 2001-07-17 Akim Demaille <akim@epita.fr>
7401 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
7402 AC_F77_DUMMY_MAIN has been run.
7403 From Pavel Roskin and Steven G. Johnson.
7405 2001-07-17 Akim Demaille <akim@epita.fr>
7407 * configure.in: Rename as...
7408 * configure.ac: this.
7410 2001-07-17 Akim Demaille <akim@epita.fr>
7412 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
7415 * Makefile.maint (release-archive-dir): Rename as...
7416 (release_archive_dir): this, so that it can be specialized in
7419 2001-07-14 Akim Demaille <akim@epita.fr>
7421 * configure.in: Bump to 2.50d.
7423 2001-07-14 Akim Demaille <akim@epita.fr>
7426 * Makefile.maint (alpha): Typo.
7428 2001-07-14 Akim Demaille <akim@epita.fr>
7430 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
7432 2001-07-14 Akim Demaille <akim@epita.fr>
7434 * config/config.guess, config/config.sub, config/texinfo.tex
7435 * doc/standards.texi, doc/make-stds.texi: Update.
7437 2001-07-14 Akim Demaille <akim@epita.fr>
7439 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
7441 2001-07-14 Akim Demaille <akim@epita.fr>
7443 * Makefile.maint (maintainer-check): Rename as...
7444 (maintainer-distcheck): this.
7445 (changelog-check, static-check): New.
7448 2001-07-14 Kevin Ryde <user42@zip.com.au>
7450 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
7451 for CXX is g++, not gcc.
7453 2001-07-14 Akim Demaille <akim@epita.fr>
7455 * doc/autoconf.texi (Files): New subsection.
7457 2001-07-14 Akim Demaille <akim@epita.fr>
7459 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
7461 (Generic Compiler Characteristics): this.
7462 (C++ Compiler): New subsection.
7464 2001-07-14 Akim Demaille <akim@epita.fr>
7466 * autoscan.in: Use IO::File.
7467 Adjust all the routines to use it.
7468 ($log): New file (autoscan.log).
7469 (output): Dump detailed logs into $log, and a shortened version to
7471 (&scan_makefile): Refine the regexp catching tokens in the code.
7472 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
7473 and the `configure.ac' checking feature.
7475 2001-07-12 Akim Demaille <akim@epita.fr>
7477 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
7478 Reported by Michael Elizabeth Chastain.
7480 * autoconf.in: Refuse such AWK.
7481 * configure.in: Likewise.
7482 * Makefile.am (acversion.m4): Do not use move-if-change this file
7484 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
7486 2001-07-10 Jens Petersen <petersen@redhat.com>
7488 * autoscan.in (&scan_makefile): Improve programs regexp to parse
7489 things like "g++", "file.c" and "some-conf" as tokens.
7490 (&scan_file): Match C++ files extensions.
7491 If the filename extension is C++ then ask for c++.
7493 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
7495 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
7496 AC_TRY_LINK_FUNC, to check whether defining a dummy
7497 main-like routine is needed for linking with F77 libs.
7499 2001-07-05 Pavel Roskin <proski@gnu.org>
7501 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
7503 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
7506 2001-07-05 Akim Demaille <akim@epita.fr>
7508 * Makefile.am (move_if_change): New. Use it instead of `mv'.
7509 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
7511 Reported by Nicolas Joly.
7513 2001-07-04 Akim Demaille <akim@epita.fr>
7515 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
7517 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
7518 warnings from compilers.
7519 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
7520 for all the compilers, not only GNU. Hence move from here...
7521 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
7523 2001-07-04 Akim Demaille <akim@epita.fr>
7525 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
7526 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
7529 2001-07-04 Akim Demaille <akim@epita.fr>
7531 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
7532 the ``strings.h'' change claimed below.
7534 2001-07-04 Akim Demaille <akim@epita.fr>
7536 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
7538 2001-07-04 Akim Demaille <akim@epita.fr>
7540 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
7541 strings.h if usable with string.h.
7542 Suggested by Paul Eggert.
7544 2001-07-04 Akim Demaille <akim@epita.fr>
7546 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
7549 2001-07-03 Akim Demaille <akim@epita.fr>
7551 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
7554 2001-07-03 Akim Demaille <akim@epita.fr>
7556 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
7557 compiler, not the preprocessor.
7558 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
7559 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
7561 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
7562 earlier if there are.
7564 2001-07-03 Akim Demaille <akim@epita.fr>
7566 * autoscan.in ($initfile): Remove.
7567 (&find_file): Rename as...
7569 Immediately scan the current file, instead of gathering them, and
7570 later having them handled by &scan_files.
7571 (&scan_files): Merely invoke Find::File.
7574 2001-07-02 Akim Demaille <akim@epita.fr>
7576 * autoscan.in: Formatting changes, matching the invocation order.
7577 (File::Find): Use it instead of Perl 4's `find.pl'.
7578 (&wanted): Rename as...
7581 2001-07-01 Pavel Roskin <proski@gnu.org>
7583 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
7584 break in the argument to AC_TRY_LINK_FUNC.
7585 (AC_F77_MAIN): Remove conftest* after using break in the
7586 argument to AC_TRY_LINK.
7588 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
7590 Add alternate 'main' routine detection for linking C/C++ with Fortran,
7591 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
7593 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
7594 dummy alternate main is required even if the user provides her own
7596 (AC_F77_MAIN): New macro to detect whether it is possible to
7597 provide an alternate 'main' function name, using the 'main' from
7598 the Fortran libraries.
7599 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
7600 cross-language link tests can be performed successfully.
7601 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
7602 after $LIBS, for consistency; this should be the general rule since
7603 the user may want to link to Fortran libraries that require $FLIBS.
7604 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
7606 2001-06-29 Pavel Roskin <proski@gnu.org>
7608 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
7609 at-stdout and at-stderr instead of removing the newline
7610 from the echo output, which is not guaranteed to work.
7612 2001-06-28 Jens Petersen <petersen@redhat.com>
7614 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
7615 confdefs.h when non-zero.
7617 2001-06-28 Akim Demaille <akim@epita.fr>
7619 * configure.in: Bump to 2.50c.
7621 2001-06-26 Akim Demaille <akim@epita.fr>
7625 2001-06-26 Akim Demaille <akim@epita.fr>
7629 2001-06-25 Pavel Roskin <proski@gnu.org>
7631 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
7632 argument, AUTOCONF-FLAGS.
7633 * tests/mktests.sh (update_exclude_list): Add
7634 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
7635 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
7636 AC_FUNC_WAIT3 with "-W no-obsolete".
7638 2001-06-25 Akim Demaille <akim@epita.fr>
7640 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
7642 2001-06-25 Akim Demaille <akim@epita.fr>
7644 * autoscan.in (%macro): Now maps from word to list of macros.
7645 (&init_tables): Die when a word which is already handled by
7646 explicit macros is mapped to the default macro.
7647 (&print_unique): Remove, inlined in...
7648 (&output_kind): here.
7649 (File::Basename): Use it.
7650 (&output): Sort the CONFIG_FILES.
7651 * acheaders: Normalize.
7652 * acfunctions: Likewise.
7654 2001-06-25 Akim Demaille <akim@epita.fr>
7656 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
7657 characteristics in the logs.
7658 Suggested by Mo DeJong.
7660 2001-06-24 Akim Demaille <akim@epita.fr>
7662 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
7663 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
7664 * doc/autoconf.texi (Autoconf 2.13): New section.
7666 2001-06-24 Akim Demaille <akim@epita.fr>
7668 * autoconf.in (Task traces): Separate the error messages from the
7669 traces to improve robustness.
7671 2001-06-23 Akim Demaille <akim@epita.fr>
7673 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
7674 three as failures are unlikely, and speed matters.
7676 2001-06-23 Akim Demaille <akim@epita.fr>
7678 * doc/autoconf.texi (Redefined M4 Macros): New.
7680 2001-06-23 Akim Demaille <akim@epita.fr>
7682 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
7683 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
7686 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
7688 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
7689 config.status targets to after the evaluation of the INIT-CMDS.
7690 Double quote config.status targets (used to be single quoted).
7692 2001-06-23 Akim Demaille <akim@epita.fr>
7694 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
7695 Check the content of the created file.
7696 Check the ./config.status command line invocation.
7698 2001-06-23 Akim Demaille <akim@epita.fr>
7700 * tests/foreign.at (Libtool): Reject prehistoric versions.
7702 2001-06-23 Akim Demaille <akim@epita.fr>
7704 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
7705 preexisting files matching a.*.
7707 2001-06-23 Akim Demaille <akim@epita.fr>
7709 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
7711 * doc/autoconf.texi (AC_ARG_VAR): Update.
7713 2001-06-21 Akim Demaille <akim@epita.fr>
7715 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
7716 precious variables have changed.
7717 * tests/torture.at (AC_ARG_VAR): Adjust.
7719 2001-06-21 Akim Demaille <akim@epita.fr>
7721 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
7722 but some sed choke on multiple `;', and other tools (e.g.,
7723 Automake), include the separator themselves.
7725 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
7727 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
7729 * doc/autoconf.texi (Functions Portability): Rename as...
7730 (Function Portability): this.
7731 (Function Portability): Document potential problems with unlink().
7733 2001-06-19 Paul Eggert <eggert@twinsun.com>
7735 * NEWS, doc/autoconf.texi: Document quadrigraphs.
7737 2001-06-18 Akim Demaille <akim@epita.fr>
7739 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
7741 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
7743 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
7744 (_AC_FUNC_VFORK): this.
7745 Remove AC_DEFINEs and don't guess cross-compilation values.
7746 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
7747 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
7748 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
7750 Guess values if cross-compiling, but warn.
7751 * acfunctions: Add AC_FUNC_FORK.
7752 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
7753 and vfork appropriately.
7755 2001-06-18 Akim Demaille <akim@epita.fr>
7757 * doc/autoconf.texi (Functions Portability): New section.
7759 2001-06-18 Akim Demaille <akim@epita.fr>
7761 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
7763 Suggested by Andreas Schwab.
7765 2001-06-18 Akim Demaille <akim@epita.fr>
7767 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
7768 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
7769 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
7770 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
7771 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
7772 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
7773 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
7776 2001-06-18 Akim Demaille <akim@epita.fr>
7778 * doc/autoconf.texi (ms): New index.
7779 (Macro Index): Rename as...
7780 (Autoconf Macro Index): this.
7781 (M4 Macro Index): New appendix.
7782 (Programming in M4): New chapter.
7783 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
7784 (Quoting): Rename as...
7785 (M$ Quotation): this.
7786 Be part of `Programming in M4).
7788 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
7790 * tests/torture.at (AC_ARG_VAR): Set variables and export them
7791 in separate statements for compatibility with Tru64 v5.1.
7793 2001-06-17 Akim Demaille <akim@epita.fr>
7795 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
7796 current values of the precious variables, not the previously
7798 Pass precious variables which are set to config.status.
7799 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
7800 * tests/torture.at (AC_ARG_VAR): New.
7802 2001-06-15 Paul Eggert <eggert@twinsun.com>
7804 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
7805 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
7806 and explain why and how to replace them.
7807 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
7808 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
7810 2001-06-15 Akim Demaille <akim@epita.fr>
7812 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
7813 Reported by Bruno Haible.
7815 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
7816 (_AC_ARG_VAR_PRECIOUS): to here.
7818 2001-06-15 Pavel Roskin <proski@gnu.org>
7820 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
7821 an unused pointer use cast to this type and `if' statement to
7822 avoid warnings from the compiler.
7823 (AC_HEADER_TIME): Likewise.
7824 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
7825 in `if' statement to avoid warnings from the compiler. Declare
7826 ac_aggr static to avoid the need to initialize it.
7828 2001-06-14 Akim Demaille <akim@epita.fr>
7830 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
7833 2001-06-13 Akim Demaille <akim@epita.fr>
7835 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
7836 Suggested by Alexander Mai.
7838 2001-06-13 Akim Demaille <akim@epita.fr>
7840 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
7841 sys/types.h and sys/stat.h, and check for them.
7843 2001-06-13 Akim Demaille <akim@epita.fr>
7845 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
7848 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
7850 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
7851 succeeds and only try adding libdnet upon a failure.
7853 2001-06-12 Akim Demaille <akim@epita.fr>
7855 * autoscan.in (&output_kind): Output the comment only if it exists.
7856 (%kind_comment): Add entry for `programs'.
7857 (&output_programs): Use &output_kind.
7858 (&output_functions, &output_identifiers, &output_headers)
7859 (&output_programs): Inline, and remove.
7861 2001-06-12 Akim Demaille <akim@epita.fr>
7863 * autoscan.in (%kind_comment): New.
7865 (output_functions, output_identifiers, output_headers): Use it.
7867 2001-06-12 Akim Demaille <akim@epita.fr>
7869 * autoscan.in (&print_unique): Take `$kind' and `$word' as
7870 arguments, to factor indirections into `%macro' and `%used'.
7871 (%generic_macro): Fix a typo.
7873 2001-06-12 Akim Demaille <akim@epita.fr>
7876 * autoscan.in (@kinds): Add `libraries'.
7877 Use `@kinds' instead of hard coded lists.
7878 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
7879 Remove, replaced by...
7882 2001-06-12 Akim Demaille <akim@epita.fr>
7884 * autoscan.in (%functions_macros %headers_macros)
7885 (%identifiers_macros %programs_macros %makevars_macros): Remove,
7889 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
7891 * aclang.m4 (AC_NO_EXECUTABLES): Override
7892 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
7894 2001-06-11 Akim Demaille <akim@epita.fr>
7896 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
7898 Reported by Andreas Schwab.
7900 2001-06-11 Akim Demaille <akim@epita.fr>
7902 * Makefile.am, Makefile.maint: Typos.
7904 2001-06-09 Akim Demaille <akim@epita.fr>
7906 * doc/autoconf.texi (Here-Documents): New section, gathering
7907 documentation about here-documents.
7908 Use `href', not `uref', and other changes.
7910 2001-06-09 Akim Demaille <akim@epita.fr>
7912 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
7915 2001-06-09 Akim Demaille <akim@epita.fr>
7917 * doc/autoconf.texi (Limitations of Builtins): Complete the
7918 description of the here-docs penalties with Alexandre Oliva's
7921 2001-06-01 Paul Eggert <eggert@twinsun.com>
7923 * doc/autoconf.texi: Talk about here documents and speedups.
7924 Do not use "echo" on arbitrary strings.
7925 Spell "here-documents" consistently with the standard.
7927 2001-06-09 Akim Demaille <akim@epita.fr>
7929 * doc/autoconf.texi (Concept Index): Introduce it.
7930 Regenerate the menus.
7932 2001-06-09 Akim Demaille <akim@epita.fr>
7934 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
7935 * config/prev-version.txt: New.
7936 * config/move-if-change: New, for GNU libc.
7938 2001-06-06 Pavel Roskin <proski@gnu.org>
7940 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
7942 2001-06-06 Akim Demaille <akim@epita.fr>
7944 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
7945 properly when $1 is not a literal.
7946 Fixes PR Autoconf/187, reported by Bram Moolenaar.
7948 2001-06-06 Akim Demaille <akim@epita.fr>
7950 Invoking AC_COPYRIGHT before AC_INIT fails.
7952 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
7953 * acgeneral.m4 (_m4_divert(VERSION_FSF))
7954 (_m4_divert(VERSION_USER)): New.
7955 (AC_COPYRIGHT): $2 is the diversion to use.
7956 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
7957 (AC_INIT): Remove dead comments as now it's commutative.
7959 2001-06-06 Akim Demaille <akim@epita.fr>
7961 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
7964 2001-06-05 Akim Demaille <akim@epita.fr>
7966 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
7968 `*dir' variables cannot be NONE.
7969 Reported by Mark Kettenis.
7971 2001-06-05 Paul Eggert <eggert@twinsun.com>
7973 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
7975 2001-06-04 Akim Demaille <akim@epita.fr>
7977 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
7978 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
7979 (AC_TR_SH): Move as...
7980 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
7981 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
7983 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
7984 (_AS_TR_SH_PREPARE): New.
7985 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
7986 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
7988 2001-06-02 Akim Demaille <akim@epita.fr>
7990 * Makefile.am (.m4.m4f): Pass the options first.
7991 Fixes PR autoconf/182.
7993 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
7995 GNU getopt, when POSIXLY_CORRECT does not permute options and
7996 arguments. So pass the options first.
7997 Fixes PR autoconf/184.
7999 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
8000 (run_m4): Remove files.
8002 Update remainder of script to use them.
8003 (for warning in): Do not use a literal comma as it will not be
8006 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
8008 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
8009 Fortran compilers to check.
8010 (_AC_PROG_F77_V): Add '-###' as a possible option to print
8011 information on library and object files.
8012 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
8015 2001-06-02 Akim Demaille <akim@epita.fr>
8017 * autom4te.in (Request::@request): Declare with `vars', not `my',
8018 as it prevents updates via `do FILENAME'.
8020 2001-06-02 Akim Demaille <akim@epita.fr>
8022 * configure.in (standards_texi): Remove, dead code.
8024 2001-06-02 Akim Demaille <akim@epita.fr>
8028 2001-06-02 Pavel Roskin <proski@gnu.org>
8030 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
8031 for signals other than 0 - exit with code 1.
8032 * m4sh.m4 (AS_TMPDIR): Likewise.
8033 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
8034 * autoheader.in: Likewise.
8035 * autoreconf.in: Likewise.
8036 * tests/torture.at (Signal handling): New test for the above.
8038 2001-06-01 Akim Demaille <akim@epita.fr>
8040 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
8043 2001-05-31 Akim Demaille <akim@epita.fr>
8045 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
8046 Add copyright and comments.
8047 * acheaders: Add stdint.h.
8048 Suggested by Paul Eggert.
8050 2001-05-31 Akim Demaille <akim@epita.fr>
8052 * atgeneral.m4 (AT_INIT): Use $SHELL.
8053 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
8055 2001-05-31 Akim Demaille <akim@epita.fr>
8057 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
8059 From Paul Eggert and Lars Hecking.
8061 2001-05-31 Akim Demaille <akim@epita.fr>
8063 * tests/base.at: Adjust line numbers in error messages.
8065 2001-05-31 Akim Demaille <akim@epita.fr>
8067 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
8068 to emit the bangshe line.
8069 Reported by David Carter.
8071 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
8073 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
8074 Fortran (95) compilers to check.
8076 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
8078 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
8081 2001-05-23 Pavel Roskin <proski@gnu.org>
8083 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
8084 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
8085 (AC_PROG_CXXCPP): Likewise.
8087 2001-05-22 Akim Demaille <akim@epita.fr>
8089 * config: New directory.
8090 * configure.in: AC_CONFIG_AUX_DIR it.
8091 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
8093 2001-05-22 Akim Demaille <akim@epita.fr>
8095 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
8096 * autoupdate.in: Specify the Emacs mode.
8097 * acversion.m4.in: Rename as...
8098 * acversion.m4: this.
8099 * tests/Makefile.am (CLEANFILES): More garbage.
8101 2001-05-22 Akim Demaille <akim@epita.fr>
8103 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
8105 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
8108 2001-05-21 Akim Demaille <akim@epita.fr>
8110 * configure.in: Bump to 2.50a.
8114 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
8116 This file is part of GNU Autoconf.
8118 GNU Autoconf is free software; you can redistribute it and/or modify
8119 it under the terms of the GNU General Public License as published by
8120 the Free Software Foundation; either version 2, or (at your option)
8123 GNU Autoconf is distributed in the hope that it will be useful,
8124 but WITHOUT ANY WARRANTY; without even the implied warranty of
8125 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8126 GNU General Public License for more details.
8128 You should have received a copy of the GNU General Public License
8129 along with autoconf; see the file COPYING. If not, write to
8130 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
8131 Boston, MA 02111-1307, USA.