1 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
3 * doc/autoconf.texi: Use @acronym more consistently for acronyms
4 like BSD, GPL, LGPL. Fix minor English typos.
5 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
6 Mention that these macros are becoming obsolete.
7 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
8 Use more modern terminology for which standard is what.
9 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
11 (AC_PROG_CXX): Likewise.
12 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
13 Remove obsolete discussion about how to port to K&R.
14 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
15 the obsolescent AC_HEADER_STDC.
16 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
19 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
21 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
22 Remove stdin redirection from /dev/null to allow pipe to work.
24 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
26 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
27 Require that /lib/cpp include stdio.h correctly. Solaris 10's
28 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
31 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
33 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
34 HP-UX sed is 99 commands, not 100.
35 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
36 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
37 newline for portability.
38 * tests/torture.at (Torturing config.status): Also test 100
39 AC_SUBST_FILE invocations. Fix test to actually verify the
40 AC_CONFIG_FILES output.
41 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
42 command, label, and read-file `r' limits. Unify HP-UX spelling.
44 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
46 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
48 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
49 * tests/mktests.sh: Small shell portability fixes.
51 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
53 * doc/autoconf.texi (Caching Results): Fix the examples to use a
54 recommended quoting style and discard unwanted output.
56 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
58 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
59 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
60 cases, and to work around Tru64 expr bug.
62 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
64 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
65 expr bug that turns the result of a regex match into a number if
68 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
70 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
71 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
72 in section `Specific Compiler Characteristics'.
74 2006-03-04 Eric Blake <ebb9@byu.net>
76 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
79 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
81 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
82 order of variable initialization, so even the Solaris 2.6 shell
83 can create a config header correctly. Fixes lots of test suite
86 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
88 * doc/autoconf.texi (Text processing Macros): New node to
89 document the m4sugar macros m4_re_escape, m4_tolower,
90 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
92 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
94 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
95 XrmInitialize (0) -> XrmInitialize ().
96 Reported by Toshio Kuratomi.
98 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
100 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
101 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
102 * doc/autoconf.texi (Programming in M4sh): Adjusted.
103 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
104 both macros are defun'ed so that required macros are evaluated
107 * doc/autoconf.texi (Prerequisite Macros): State more precisely
108 where a required macro will be expanded.
109 (Coding Style): Another reason not to use `m4_define'.
111 2006-02-21 Eric Blake <ebb9@byu.net>
113 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
115 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
117 * doc/autoconf.texi (Looping constructs): New node, to
118 document m4_for, m4_foreach, m4_foreach_w, and mention
120 (Obsolete Macros): Document AC_FOREACH.
121 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
122 (m4_for): Fix to never loop (almost) endlessly, work correctly
123 with arithmetic expressions in arguments, a step of zero or
124 non-integer multiple of the interval, and avoid integer
126 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
129 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
131 Add basic support for Erlang, both for configuring Erlang/OTP
132 tools, and Erlang as a conf test language.
133 * lib/autoconf/erlang.m4: New file.
134 * lib/autoconf/autoconf.m4: Add erlang.m4.
135 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
136 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
137 * NEWS: Add short description of new macros.
138 * THANKS: Add Romain Lenglet.
140 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
142 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
143 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
145 2006-02-15 Eric Blake <ebb9@byu.net>
147 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
150 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
152 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
153 (_AS_CASE): Private helper macro.
154 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
155 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
156 Fix syntax of AS_IF description
157 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
158 for the AC_REQUIRE mess.
159 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
162 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
164 * doc/autoconf.texi: Minor style cleanup.
165 Be consistent about spaces after commas.
166 Insert [] where empty args look a bit funny.
167 Fix some "i.e." and "e.g." usages.
168 Try to avoid "X/Y" usages.
169 Don't be pedantic about "ISO C99"; just say C99.
170 Prefer GNU style for spaces in front of parens.
171 (Function Portability): Comment about C89 versus C99
172 signed integer division.
173 (Particular Headers): Use current gnulib style for dirent
176 2006-02-14 Stepan Kasal <kasal@ucw.cz>
177 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
179 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
180 macros without parameters.
181 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
182 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
183 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
185 (autoupdate): Updated to match AU_ALIAS fix.
187 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
188 and Paul Eggert <eggert@cs.ucla.edu>
190 * doc/autoconf.texi (Programming in M4sh): Document
191 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
193 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
195 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
196 (AS_BOURNE_COMPATIBLE): ..this.
197 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
199 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
201 * doc/install.texi (Defining Variables): Tighten up the
202 CONFIG_SHELL wording.
204 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
205 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
207 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
208 of (set -o) rather than testing whether (set -o posix) succeeds,
209 to work around a bug in the AIX 5.3 shell. Problem originally
210 reportd by Howard Chu for libtool.
212 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
214 * doc/autoconf.texi (Running the Compiler, Running the Linker):
215 Changes the macro arguments in summaries to match the
218 2006-02-04 Stepan Kasal <kasal@ucw.cz>
220 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
221 hint as ``a workaround for a bug.''
223 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
225 * bin/autoreconf.in: New option `--no-recursive'.
226 Improve wording for subpackages a bit.
227 * doc/autoconf.texi (autoreconf Invocation): Updated.
230 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
231 in environment of `configure', not the command line.
232 Reported by Howard Chu <hyc@highlandsun.com>.
234 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
236 * doc/autoconf.texi (Limitations of Builtins): Document the
237 problem with "trap -".
239 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
241 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
242 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
243 messages to differentiate Fortran and Fortran 77 tests.
244 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
245 AC_LANG_ASSERT, to allow use in mixed-language projects.
247 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
249 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
250 FOO" to "defined (FOO)".
251 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
252 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
253 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
254 * tests/tools.at (ifnames): Likewise.
256 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
258 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
259 * lib/Autom4te/General.pm (mktmpdir): Likewise.
260 (END): Improve error message a bit.
261 Reported by Bruce Korb <bkorb@gnu.org>.
263 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
265 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
266 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
268 2006-01-11 Stepan Kasal <kasal@ucw.cz>
270 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
271 requires sys/stream.h. Reported by Oliver Kiddle.
273 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
274 Stepan Kasal <kasal@ucw.cz>
276 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
277 before the removals of test dirs, use `find' to avoid modification
278 of symlinked directories.
280 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
282 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
283 Don't ignore the macro arguments.
285 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
287 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
288 declaration that works for MSVC.
290 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
292 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
293 Add `*.map' and `.inf' for Green Hills compiler.
294 Reported by Stefan Seefeld <stefan@codesourcery.com>.
296 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
297 correctly: pad with spaces after FIRST_PREFIX if necessary,
298 and compute string lenghts with `m4_qlen' instead of `m4_len'.
299 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
300 * tests/m4sh.at (AS_HELP_STRING): Test extended.
302 Reported by numerous people, numerous times.
304 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
306 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
307 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
308 * lib/autoconf/general.m4, lib/autoconf/status.m4:
309 * lib/autotest/general.m4, tests/local.at:
310 Update copyright year to 2006.
312 * Makefile.maint (sc_root_tests): Use recommend style s/a/b/ for
314 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
315 for file names, again. Reported by Noah Misch.
316 (Coding Style): Explain that s|a|b| is preferred for file names.
317 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
318 (AC_OUTPUT_MAKE_DEFS): Likewise.
319 * lib/autotest/general.m4 (AT_INIT): Likewise.
320 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
321 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
323 Fix Posix-conformance bugs re use of { command in sed scripts,
324 and improve the sed-related documentation a bit.
325 * doc/autoconf.texi (Installation Directory Variables): Use
326 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
327 rather than "sed" when talking about Sed in general.
328 (Particular Programs): Likewise.
329 (Coding Style): y is like s with respect to / and ,.
330 (Limitations of Usual Tools): Document the weird restrictions
331 that Posix has about { }. Use better quoting.
332 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
333 Rewrite to conform to Posix rules about { } in sed scripts.
334 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
335 * tests/foreign.at (Libtool): Likewise.
336 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
337 Use our own style advice re 's,a,b,' versus 's|a|b|'.
339 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 * lib/autoconf/status.m4: Fix typo.
343 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
344 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
345 `-def', for the benefit of Portland `pgf90 -Mipa'.
346 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
348 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
350 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
351 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
352 shell from zsh to bash.
354 2005-12-31 Stepan Kasal <kasal@ucw.cz>
356 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
357 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
359 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
361 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
362 parentheses in $(...). Problem reported by Eric Blake.
364 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
366 * doc/autoconf.texi (Limitations of Usual Tools):
367 Mention which characters can be escaped with \ in portable regular
368 expressions used in grep, sed, expr. Mention the leading ^ problem
369 with expr. Clean up some confusing wording. Mention which
370 grep options are portable.
372 2005-12-09 Stepan Kasal <kasal@ucw.cz>
374 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
376 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
378 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
379 patch, noted by Ralf Wildenhues.
381 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
383 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
384 posix' unconditionally, for pdksh in `native sh' emulation.
386 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
388 * doc/autoconf.texi (Shellology): Document eval $? problem
390 (Limitations of Builtins): Likewise.
392 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
394 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
395 CONFIG_SHELL in the environment of the configure rerun.
396 * doc/autoconf.texi (Here-Documents, config.status Invocation):
397 Suggest passing CONFIG_SHELL absolute, and in the environment
398 rather than as option.
400 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
402 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
403 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
404 Fix macro quoting. Fix output for n * 98 substituted variables.
406 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
408 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
409 `tmp' to avoid file removal race.
411 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
413 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
414 ac_clean_files and LIBOBJS.
416 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
418 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
419 Factor functionality to..
420 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
421 `AC_SUBST($1)' in the public version.
422 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
423 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
426 2005-11-01 Stepan Kasal <kasal@ucw.cz>
428 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
431 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
433 * NEWS: Move AH_HEADER mention to right place.
435 2005-10-27 Stepan Kasal <kasal@ucw.cz>
437 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
438 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
440 2005-10-25 Stepan Kasal <kasal@ucw.cz>
442 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
444 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
446 2005-10-24 Stepan Kasal <kasal@ucw.cz>
448 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
449 conftest.o, to see whether the compiler really obeys; rm the object
450 file before and after the test and register it with ac_clean_files.
451 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
453 2005-10-21 Stepan Kasal <kasal@ucw.cz>
455 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
456 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
457 code so that the most common case requires less forks.
459 2005-10-20 Stepan Kasal <kasal@ucw.cz>
461 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
462 not portable; thanks to Paul Eggert and Alexandre.
464 * NEWS: Fix an old typo.
466 2005-10-20 Jim Meyering <jim@meyering.net>
468 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
469 the latter'', in two places.
471 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
473 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
474 AC_LANG_PROGRAM, fixing a typo. Don't give details about
475 the inner workings of AC_LANG_FUNC_LINK_TRY.
476 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
477 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
478 by the function rather than ignoring it.
479 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
480 comparing its address. Intel's interprocedural optimization was
481 outsmarting the old heuristic. Problem reported by
484 2005-10-19 Stepan Kasal <kasal@ucw.cz>
486 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
488 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
490 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
491 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
493 2005-10-04 Stepan Kasal <kasal@ucw.cz>
495 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
496 before removing it (chmod -R u+rwx); there are three instances of this.
498 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
499 Stepan Kasal <kasal@ucw.cz>
501 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
502 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
503 make its content writable before removing it. Remove an errorneous
504 comment from the end, where the logs of the failed tests are copied
505 to the main log file.
507 2005-09-27 Stepan Kasal <kasal@ucw.cz>
509 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
510 in case the computer is too quick. Double quote the configure.ac
513 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
514 problems if the testsuite were running too fast.
516 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
518 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
519 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
520 (which belong to Xt, not X itself). See Debian bug 327655.
521 * NEWS: Mention this.
523 2005-09-07 Stepan Kasal <kasal@ucw.cz>
525 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
527 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
529 * config/move-if-change: Don't output "$2 is unchanged";
530 suggested by Ben Elliston. Handle weird characters correctly.
532 2005-09-06 Stepan Kasal <kasal@ucw.cz>
534 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
535 calls, so that the final expansion of this macro is shorter.
536 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
537 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
538 the cleanup there. Use AS_VAR_* macros, to be more general.
539 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
541 * lib/autoconf/general.m4: Use AS_IF where appropriate.
543 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
545 2005-09-01 Stepan Kasal <kasal@ucw.cz>
547 * doc/autoconf.texi (Configuration Headers): Add an index entry
550 2005-08-26 Pavel Roskin <proski@gnu.org>
552 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
553 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
556 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
558 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
559 The previous patch didn't work, so try a better one.
561 2005-08-26 Stepan Kasal <kasal@ucw.cz>
563 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
564 in the example. Reported by Bruno Haible.
565 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
566 "if $undefined_var;" succeeds with my shell.
568 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
569 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
570 but change the m4_divert_text to m4_divert_once.
572 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
574 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
575 Work around bug in Solaris /usr/xpg4/bin/awk.
576 The bug is present in at least Solaris 8 through 10.
578 2005-08-24 Stepan Kasal <kasal@ucw.cz>
580 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
581 some evil values and relying on the fact that $* concatenates the
582 parameters by the first character from IFS.
584 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
585 Stepan Kasal <kasal@ucw.cz>
587 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
588 first header appears, define AH_HEADER.
589 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
590 Update limitations about when to call AC_CONFIG_HEADERS.
591 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
592 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
593 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
594 ``Configuration Actions''; fix their index entries.
596 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
597 options correctly. Process N-M as M-N if M is smaller than N.
598 Process ranges correctly so that N-N will run only N.
599 Sort and uniquify the tests that will be run. If there is more
600 than one test, reinsert the banners for the tests.
601 * tests/autotest.at (Keywords): Unmark XFAIL.
603 2005-08-23 Stepan Kasal <kasal@ucw.cz>
605 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
606 before passing the macro name to AH_TEMPLATE.
608 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
609 now opens log after option processing; in particular, --version
610 and --help do not touch config.log.
612 * Makefile.maint: Revert the change from 2005-08-12.
614 2005-08-22 Stepan Kasal <kasal@ucw.cz>
616 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
618 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
620 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
622 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
623 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
626 * doc/autoconf.texi (Defining Symbols, Changed Results):
627 Prepend to LIBS, not append, in examples.
629 2005-08-16 Stepan Kasal <kasal@ucw.cz>
631 When building in place, set srcdir="."; suggested by Tim Van Holder.
633 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
634 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
635 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
636 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
637 does not mean "no --srcdir option".
639 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
641 * tests/autoscan.at (autoscan): New file.
642 * tests/suite.at: Use it.
643 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
644 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
646 * tests/autotest.at (Keywords): Test keywords combinations.
648 2005-08-12 Stepan Kasal <kasal@ucw.cz>
650 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
651 add "2>&1"; gzip 1.2.4 prints help on stderr.
653 2005-07-27 Stepan Kasal <kasal@ucw.cz>
655 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
656 was pushdef'ed twice while popped only once. Push it only once.
657 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
659 2005-07-26 Stepan Kasal <kasal@ucw.cz>
661 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
662 prefixed by mere "===", not "configure: === ".
664 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
666 * Makefile.maint: Update from Bison.
668 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
669 "<tab>" in comment, so that the point is understandable.
671 2005-07-25 Stepan Kasal <kasal@ucw.cz>
673 Rewrite substantial part of lib/autoconf/status.m4.
674 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
675 and CONFIG_COMMANDS are not processed in four separate loops.
676 Instead, there is one main loop. This alows that the common code
677 is expanded only once, thus config.status (and configure) is smaller.
679 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
680 the AC_LIST_FILES and cousins macros are no longer used.
682 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
683 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
684 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
685 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
686 contain the initialization, nor the for loop, nor the associated
687 commands; all these go to ...
688 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
689 _AC_OUTPUT_CONFIG_STATUS.
690 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
691 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
692 (_AC_OUTPUT_FILE): The creation of the sed script ...
693 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
694 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
695 _AC_OUTPUT_MAIN_LOOP.
696 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
697 _AC_CONFIG_COMMANDS): Use ...
698 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
699 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
700 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
701 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
702 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
703 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
705 (_AC_CONFIG_UNIQUE): Update.
706 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
708 (_AC_LIST_TAGS): ... new common macro.
709 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
710 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
711 (_AC_LIST_TAG_COMMANDS): ... new common macro.
712 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
713 this didn't belong to the `config commands' section.
714 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
715 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
716 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
717 to the `config commands' section either.
718 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
719 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
721 ... and many changes to the comments nearby.
723 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
724 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
725 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
726 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
727 (#define header templates): The comment at the top of the generated
728 header now includes the name(s) of the source file(s).
730 Several unrelated small changes:
732 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
733 parameter to AC_DIAGNOSE.
734 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
735 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
736 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
737 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
739 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
740 in AC_OUTPUT doesn't double-quote it either.
741 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
744 2005-07-10 Stepan Kasal <kasal@ucw.cz>
746 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
747 versions of Portland Group compiler produce single- and double-quoted
748 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
749 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
751 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
753 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
754 This is a corrected version of yesterday's patch.
756 2005-07-07 Stepan Kasal <kasal@ucw.cz>
758 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
759 path, too; insert a "===" to emphasize the line.
761 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
762 ac_cv_build_alias to ac_build_alias.
763 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
765 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
766 change eliminates it. Problem reported by Alexandre Duret-Lutz.
767 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
768 (AC_ARG_VAR): ... here.
769 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
772 Keep a list of all precious variables and process them with one simple
773 for loop, instead of expanding all commands, or, OTOH, complicated
774 processing of output of "set".
775 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
776 variable names in new macro...
777 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
778 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
779 a loop to assign all ac_env_* and ac_cv_env_* variables.
780 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
782 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
783 its value to shell variable ac_precious_vars and call
784 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
785 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
786 _AC_ARG_VAR_VALIDATE.
788 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
789 and the AC_SUBSTs ...
792 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
793 the ac_subst_files section in config.log.
795 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
797 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
799 * NEWS: New macro AC_C_TYPEOF.
800 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
801 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
802 * tests/c.at (C keywords): Test AC_C_TYPEOF.
804 Fix problems reported by Nicolas Joly.
805 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
806 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
807 They are generated by the Tru64 v5.1B shell.
809 2005-07-05 Stepan Kasal <kasal@ucw.cz>
811 Fix my changes from 2005-07-01; reported by Noah Misch.
812 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
813 description, the macro now accepts only a single tag.
814 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
816 Fix cases when the varsions of Autoconf and Autotest don't match.
817 Reported by Noah Misch.
818 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
819 at_top_builddir, for compatibility with older autotest.
820 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
821 is not set, use at_top_builddir, for compatibility with older
822 versions of autoconf.
824 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
826 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
827 Problem reported by Patrick Welche.
829 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
831 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
832 sed substitution command, so that we allow | in program prefixes
833 and program suffixes. (& is a problem anyway; we're not fixing
835 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
836 configure_input, top_builddir, srcdir, etc.
837 * lib/autotest/general.m4 (AT_INIT): Likewise, for
838 PATH_SEPARATOR in AUTOTEST_PATH.
840 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
842 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
843 for loop over config.site files using `set', to allow
844 directory names containing IFS characters.
846 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
848 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
849 directories with weird names. Apparently some people like living
850 on the edge. However, improve the test that "pwd" actually does
851 report a name for the working directory.
852 * NEWS: Remove the claim that we test for funny chars in dir names.
854 2005-07-01 Stepan Kasal <kasal@ucw.cz>
856 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
858 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
859 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
860 Now accept a single tag, not whitespace separated list.
861 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
863 2005-06-30 Stepan Kasal <kasal@ucw.cz>
865 * doc/autoconf.texi (Configuration Headers): Change the explanation
866 about #include <config.h>.
867 (Generic Functions): Mention the Gnulib project.
868 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
870 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
871 document to output the default config_* lists to config.status.
872 Don't recognize option --file, if the functionality is not there.
873 Likewise for --header; moreover, recognize --he and --h as shortcuts
874 for --help in that case.
876 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
877 matches the order of execution. No code changed.
879 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
881 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
882 single-quoted -cmdline argument in Portland Group compiler.
883 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
885 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
887 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
889 2005-06-29 Stepan Kasal <kasal@ucw.cz>
891 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
892 descriptors to child processes; reported by Norman Gray.
894 2005-06-29 Stepan Kasal <kasal@ucw.cz>
896 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
898 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
899 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
901 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
902 the directory specific variables; but don't call it for configure_input.
904 2005-06-28 Derek Price <derek@ximbiot.com>
906 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
909 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
911 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
912 directory have inherent problems with special characters like spaces,
913 due to limitations in Make syntax. Problem reported by Alexandre
915 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
916 Also, fix Tru64 porting problem with shell patterns,
917 reported by Ralf Wildenhues.
919 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
921 * doc/autoconf.texi (Subdirectories): Fix markup typos.
923 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
925 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
927 Fix some more shell quoting problems. Prompted by a bug report
928 from Justace Clutter.
929 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
930 variable into diagnostic. Make the diagnostic an error, not a warning,
931 because we really don't support spaces and suchlike in dir names.
932 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
933 Don't worry about backslashes in srcdir; it can't happen now.
934 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
935 Simplify ac_optarg handling.
936 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
938 2005-06-22 Stepan Kasal <kasal@ucw.cz>
940 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
941 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
942 * tests/atlocal.in: Propagate $EGREP and $SED.
943 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
944 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
946 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
947 that '\|' is not allowed in BREs; recommend using newline separated
948 list of patterns instead of multiple -e options.
950 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
952 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
954 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
956 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
958 2005-06-21 Stepan Kasal <kasal@ucw.cz>
960 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
961 b, t, r, w commands require single space, while : cannot have any.
962 (Special Shell Variables): Fix sed code this in the example.
963 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
964 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
966 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
967 expand to the empty list. Don't use two pairs of m4_changequote,
970 2005-06-20 Derek Price <derek@ximbiot.com>
972 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
974 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
976 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
978 Don't mention Solaris versions so much, if a
979 problem is common to all extant versions of Solaris. Say "SunOS
980 4" instead of "SunOS" for SunOS 4.
981 (awk): Mention more of the limitations of traditional Awk.
982 (cat): Don't talk about cat -v.
984 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
986 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
987 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
988 but the implementation is entirely different and is designed
989 to be compatible with glibc strverscmp.
990 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
992 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
993 on Mac OS X 10.4 reported by Peter O'Gorman in:
994 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
995 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
996 Use shell builtins rather than 'expr', to work around expr bug.
998 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
1000 * doc/autoconf.texi: "filesystem" -> "file system".
1001 "behaviour" -> "behavior".
1002 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
1003 * lib/autoconf/general.m4: Omit blank after ":" sed command,
1005 * lib/m4sugar/m4sh.m4: Likewise.
1006 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
1007 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
1009 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
1010 (.x.1): Ignore the time stamp in the .TH line when deciding whether
1011 to update the man page. That way, we don't have to check in new
1012 man pages every month.
1014 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
1015 quotes and backslashes. Patch from Derek Price.
1017 2005-06-10 Derek Price <derek@ximbiot.com>
1019 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
1022 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
1024 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
1025 -u, since it outputs chatter if the input files are the same.
1026 Problem reported by Ralf Menzel.
1028 2005-06-08 Derek Price <derek@ximbiot.com>
1030 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
1031 renaming them since they are about to be redefined anyhow.
1033 2005-06-08 Derek Price <derek@ximbiot.com>
1035 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
1036 redefined M4 macros to this node. Document m4_include & m4_sinclude.
1037 Move m4_undefine to alphabetical order.
1039 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
1041 * README: Recommend GNU M4 1.4.3 or later.
1042 * doc/autoconf.texi (Introduction): Likewise.
1043 Reword to avoid some formatting glitches.
1044 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
1045 Clarify explanation of HP compiler bug.
1046 Redo example output tp match current CVS snapshot.
1047 Use @example.org in email addresses when the examples
1048 might get inadvertently cut-and-pasted into user code.
1049 Remove example of autom4te usage that doesn't seem to work now.
1050 Use modern AC_INIT (except when the example is meant to be
1051 shown with Autoconf 2.13).
1052 Update ksh info for Solaris 9 and later.
1054 Modernize description of Automake versions a bit.
1055 Don't claim a future version of Autoconf is near.
1056 * doc/install.texi: Reword to avoid some formatting glitches.
1058 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1060 * doc/autoconf.texi: Add [] to examples, so that the manual
1061 follows its own advice about quoting better.
1062 Reword to avoid some formatting glitches.
1063 * doc/installt.exi: Reword to avoid some formatting glitches.
1065 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1066 Tru64 ksh pattern matching bug. Reported against Libtool by
1067 Albert Chin <libtool@mlists.thewrittenword.com> and
1068 Nicolas Joly <njoly@pasteur.fr>.
1070 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1072 m4_cdr of one-member list was [[]] (one-member list containing an
1073 empty string) instead of [] (an empty list. Callers were skewed to
1074 match this misbehaviour. As a consequence of this:
1075 - m4_foreach([x], [], [foo]) expanded to `foo', while
1076 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
1077 This bug has been fixed:
1079 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
1080 expand to an empty string; print error msg if called without
1082 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
1083 misbehaviour; handle [] and [[]] correctly.
1085 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1087 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
1088 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
1089 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
1091 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
1093 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
1094 swallow records with more than 99 fields.
1095 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
1096 parse the long line.
1098 2005-06-04 Stepan Kasal <kasal@ucw.cz>
1100 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
1101 swallow literals longer than 399. Reported by Ralf Wildenhues.
1102 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
1103 to workaround this limitation.
1105 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
1107 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
1108 to gfortran, and make these the first two compiler names
1109 checked (following the general autoconf preference for gcc).
1111 2005-06-03 Stepan Kasal <kasal@ucw.cz>
1113 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
1114 (DISTCLEANFILES): Remove $(check_SCRIPTS).
1115 (testsuite): Make sure autotest.m4f is up-to-date before using it.
1117 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1119 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
1120 expression of unbounded size when processing the --list
1121 option. This runs afoul of a limit of 399 bytes per regular
1122 expression on AIX. Problem reported by Ralf Wildenhues.
1124 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1126 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
1127 * doc/autoconf.texi (Particular Headers): Reword example
1128 for multiline stdbool replacement.
1129 (Setting Output Variables): Reword text a bit. Don't
1130 give all the details about |#_!!_#|.
1131 Reword description of line replacement.
1133 2005-05-31 Dan Manthey <dan_manthey@partech.com>
1135 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
1136 now contain newlines, and substituted files must be referenced on
1137 a line alone; the sed scripts to substitute them are now very
1139 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
1140 commands can be put in a sed script portably.
1141 * doc/autoconf.texi (Setting Output Variables): Document above
1142 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
1143 use of multiline substitution.
1144 * tests/torture.at: No longer expect substitution of newline to fail.
1146 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1148 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
1149 From Ralf Menzel (trivial change).
1151 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
1153 * tests/local.at: Don't attempt to check for negated character
1154 classes in shell scripts. The test was too brittle.
1156 2005-05-25 Stepan Kasal <kasal@ucw.cz>
1158 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
1159 * doc/autoconf.texi (Limitations of Builtins): Document this
1162 2005-05-24 Stepan Kasal <kasal@ucw.cz>
1164 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
1165 common code; used in many places in the tree.
1166 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
1167 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
1169 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
1171 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
1172 messages when ac_unique_file is not found.
1173 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
1174 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
1175 commands, for consistency with AC_MSG_ERROR and such.
1177 * bin/autoconf.as: Make more use of "shift 2" in option processing.
1179 * bin/Makefile.am: Merge the two rules for creating scripts.
1181 2005-05-23 Stepan Kasal <kasal@ucw.cz>
1183 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
1184 obsolete; it was never documented.
1185 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
1187 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1189 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
1190 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
1191 (ac_top_builddir): ... this ...
1192 (ac_top_build_prefix): ... to this; the old name is also kept, for
1193 backward compatibility.
1194 (ac_top_builddir_sub): New variable, without the trailing slash,
1196 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
1197 * doc/autoconf.texi (Configuration Actions): Rename
1198 ac_top_builddir to ac_top_build_prefix.
1199 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
1200 at_top_builddir to at_top_build_prefix.
1201 * lib/autotest/general.m4 (AT_INIT): Likewise.
1203 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1205 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
1208 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1210 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
1211 argument to m4_foreach. I guess it was necessary in the past,
1212 but I think it's a no-op now.
1214 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1216 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
1217 ``cat <<_ACEOF'' commands to one.
1218 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
1219 * lib/autoconf/status.m4: On various places, use expr instead of
1221 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
1222 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
1223 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
1225 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
1226 the wrong patterns between ``case'' and ``esac.'' The previous
1227 code had false positives.
1229 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1231 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
1233 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
1236 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
1238 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
1239 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
1240 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
1241 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
1242 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
1243 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
1244 config/config.guess, config/config.sub, config/elisp-comp,
1245 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
1246 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
1247 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
1248 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
1249 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
1250 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
1251 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
1252 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
1253 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
1254 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
1255 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
1256 lib/autoconf/general.m4, lib/autoconf/headers.m4,
1257 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1258 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
1259 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1260 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
1261 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
1262 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
1263 lib/autotest/general.m4, lib/emacs/Makefile.am,
1264 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
1265 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
1266 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
1267 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
1268 tests/compile.at, tests/foreign.at, tests/fortran.at,
1269 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
1270 tests/semantics.at, tests/suite.at, tests/tools.at,
1271 tests/torture.at, tests/wrapper.as:
1272 Update FSF postal mail address.
1274 2005-05-13 Stepan Kasal <kasal@ucw.cz>
1276 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
1278 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
1279 enough arguments, similarly as in m4_bpatsubsts.
1281 2005-05-12 Stepan Kasal <kasal@ucw.cz>
1283 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
1286 2005-05-11 Stepan Kasal <kasal@ucw.cz>
1288 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
1289 for absolute directory names in one loop.
1290 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
1291 abbreviations of --version and --debug.
1293 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
1295 * doc/autoconf.texi (Autoconf Language): Be more precise about
1296 quoting rules. Problems noted by Stepan Kasal.
1297 Also, throughout this document, be more careful about white space.
1298 "blank", "white space", and "space" all have different meanings
1299 and we should be careful to say what we mean.
1301 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1303 Fix C++ related problems reported by Werner Lemberg.
1304 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
1305 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
1306 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
1307 avoid problems with C++ and throw.
1308 * tests/compile.at: .cpp, not .cc.
1310 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
1312 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1314 * doc/autoconf.texi (Generic Functions): Typos.
1316 2005-05-02 Gary V. Vaughan <gary@gnu.org>
1318 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
1319 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
1320 set by latest automake.
1322 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1324 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
1325 outputs 0 on GNU/Linux these days.
1327 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
1329 * doc/autoconf.texi (Autoconf Language): Add more description
1330 about quoting heuristics.
1331 (Limitations of Builtins): Describe "set -" problems.
1333 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1335 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
1338 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
1339 by AC_DEFINE; it was a mistake.
1340 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
1342 2005-04-25 Stepan Kasal <kasal@ucw.cz>
1344 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
1346 2005-04-22 Stepan Kasal <kasal@ucw.cz>
1348 * doc/autoconf.texi (External Software): Quadrigraphs are not
1349 processed correctly in AS_HELP_STRING; avoid this in the examples.
1350 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
1351 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
1352 comment and reduce m4_default([foo], []) to [foo].
1353 (m4_strip): Update the explanation.
1355 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
1357 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
1358 Remove core.conftest.* too; it's generated by Tru64 5.1.
1359 Problem reported by Jennis Pruett.
1360 * lib/autoconf/functions.m4
1361 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1362 Don't bother to remove core files; AC_RUN_IFELSE should do that
1365 2005-04-19 Stepan Kasal <kasal@ucw.cz>
1367 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
1369 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
1371 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
1372 Report from Horst Wente.
1374 2005-04-15 Stepan Kasal <kasal@ucw.cz>
1376 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
1379 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
1381 * doc/autoconf.texi (External Software, Package Options): Add
1382 examples showing how to implement --with-* and --enable-* options.
1384 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
1386 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
1387 as well as configure.in. Problem reported by Gregorio Guidi.
1389 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
1391 * doc/autoconf.texi (Particular Functions): Use gnulib's current
1392 pattern for alloca snippet.
1394 2005-04-04 Stepan Kasal <kasal@ucw.cz>
1396 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
1398 2005-04-01 Stepan Kasal <kasal@ucw.cz>
1400 * doc/autoconf.texi (Generic Programs): Fix a typo.
1402 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
1404 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
1405 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
1407 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1409 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
1410 Merge `-z option' as well for the benefit of Solaris link flags. Pass
1411 whole-archive (-zallextract, -zdefaultextract) options in the hope of
1412 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
1413 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
1415 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
1417 * NEWS: The configure command now warns you if you attempt to use
1418 a directory whose name contains a special character like space,
1420 * doc/autoconf.texi (Installation Directory Variables): Allow
1421 "," in file names. Do not use \@; it's not a portable regexp.
1422 * bin/Makefile.am (edit): Likewise.
1423 * lib/Makefile.am (edit): Likewise.
1424 * tests/Makefile.am (edit): Likewise.
1425 * tests/semantics.at: Likewise.
1426 * tests/torture.at: Likewise.
1427 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
1428 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
1429 * doc/autoconf.texi (File System Conventions): Warn about
1430 unportable file names.
1431 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
1433 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
1434 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
1435 ac_pwd, and quote srcdir.
1436 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
1438 * doc/autoconf.texi: Fix some systematic formatting problems.
1439 ".)" needs a following @: if not at the end of a sentence, and
1440 similarly for "!)". "etc." should be preceded by a comma.
1441 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
1443 2005-03-22 Bruno Haible <bruno@clisp.org>
1445 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
1446 argument is often called 'build-aux'.
1448 2005-03-07 Stepan Kasal <kasal@ucw.cz>
1450 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
1451 macro AC_TRY_LINK is obsolete.
1452 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
1455 2005-02-24 Stepan Kasal <kasal@ucw.cz>
1457 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
1458 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
1459 from a Common Lisp's `cl'.
1460 (AC_PROG_CXX): Behave according to the documentation: don't
1461 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
1462 make the variable CCC precious; use `cl.exe', not `cl'.
1464 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1465 Alexandre Duret-Lutz <adl@gnu.org>
1467 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
1468 /dev/null, as "configure" shouldn't read stdin, and this insulates
1469 us from problems (e.g., when testing for "cl"). Also, do this
1470 redirection before invoking "hostname" or "uname", and keep the
1471 original input stream available via...
1472 (AS_ORIGINAL_STDIN_FD): ... this new macro.
1473 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
1474 bother with "</dev/null" since it's now done at the top of
1476 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
1477 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1478 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1479 * doc/autoconf.texi (File Descriptor Macros): New section.
1480 (Printing Messages): Mention it.
1481 * tests/base.at (Input/Output): New test.
1483 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1485 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
1486 newline if neither \c nor -n work, as that would output two
1487 newlines. Prefer -n to \c. Reported by Stepan Kasal.
1489 2005-02-12 Stepan Kasal <kasal@ucw.cz>
1491 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
1492 This causes that any required macros inside will get before the if.
1493 * doc/autoconf.texi (autom4te.cache): A typo.
1495 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
1497 Undo previous change, except keep the change to
1498 lib/autoconf/programs.m4 that replaced grep with shell
1499 pattern-matching. This is because net-snmp configure reads stdin.
1500 Reported by Noah Misch.
1502 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
1504 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
1505 from /dev/null, as "configure" shouldn't read stdin, and this
1506 insulates us from problems (e.g., when testing for "cl").
1507 Suggested by Alexandre Duret-Lutz. Also, do this redirection
1508 before invoking "hostname" or "uname".
1509 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1510 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
1511 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
1512 "</dev/null" since it's now done at the top of 'configure'.
1513 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1514 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1515 Also, replace grep with shell pattern-matching, to save a process.
1517 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
1519 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1520 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
1521 avoid thinking that Allegro Common Lisp's "cl" command is a C++
1524 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
1526 * doc/autoconf.texi (Limitations of Usual Tools): Document that
1527 grep -q isn't portable. Improve grep -s explanation.
1528 Problem reported by Dan Manthey.
1530 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
1532 * doc/autoconf.texi (Special Shell Variables): Clarify
1533 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
1535 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
1537 * doc/autoconf.texi: Use @acronym for DJGPP.
1538 Fix some @code's that should have been @env's, and vice versa.
1539 Sort environment variable names.
1540 Mention that shells no longer inherit IFS.
1541 Don't recommend PATH_SEPARATOR=';' so strongly.
1542 Mention that $RANDOM might expand to the empty string.
1543 "symlink" and "soft link" -> "symbolic link".
1544 Improve mktemp description (reported by Bruno Haible).
1546 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
1548 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
1549 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
1551 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
1554 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
1556 * NEWS: Mention AT_COPYRIGHT.
1558 * tests/local.at (AT_CMP): Use diff directly on input files rather
1561 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
1562 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
1564 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1565 and Paul Eggert <eggert@cs.ucla.edu>
1567 * tests/autotest.at (Empty test suite): New test.
1568 * tests/torture.at (Substitute and define special characters)
1569 (Substitute a 2000-byte string, Define to a 2000-byte string)
1570 (Substitute a newline, Define a newline): New tests.
1572 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1574 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
1575 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
1576 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
1577 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
1578 (Standard regular expressions): New test.
1579 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
1580 excess test name quoting.
1581 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
1582 CPPFLAGS to `configure' instead of setting it in `configure'.
1584 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
1585 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
1588 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
1589 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
1591 * tests/local.at (AT_CMP): New macro.
1592 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
1593 (AC_SAVE_STATE): Move environment grep...
1594 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
1595 (AT_CONFIG_CMP): New macro.
1596 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
1597 * tests/c.at (Extensions): Do not exit early.
1598 * tests/atlocal.in: Inherit $GREP.
1600 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
1601 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
1603 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
1604 (AC_COPYRIGHT): Factor header comment portion out and move into...
1605 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
1606 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
1607 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
1609 * tests/local.at: Add Autoconf test suite copyright notice.
1610 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
1612 2005-02-04 Bruno Haible <bruno@clisp.org>
1613 and Paul Eggert <eggert@cs.ucla.edu>
1615 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
1617 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1619 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
1620 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
1622 Try not to generated lines of unlimited length, as POSIX places a
1623 2047-byte limit on line length of portable text files.
1624 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
1625 Use newline as a separator, not space.
1626 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
1627 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
1630 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1632 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
1633 as_func_*. Add test to check whether positional parameters
1634 are restored after function return.
1636 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1638 * doc/autoconf.texi (Special Shell Variables): Mention _,
1639 BIN_SH, DUALCASE. Say that variables other than "status" are safe
1640 if they contain a lower-case letter. The DUALCASE problem was
1641 reported by Ralf Wildenhues.
1643 * bin/autoconf.as: Don't exit with status 0 after write failure
1644 with --help or --version.
1645 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
1646 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
1648 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1650 * doc/autoconf.texi (Limitations of Usual Tools):
1651 Unicos 9 sed limitations.
1652 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
1653 to get the option-enhanced interface on older Crays. Try ftn for
1654 Fortran 95 (newer Crays).
1656 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
1658 * man/Makefile.am (.x.1): Go back to the simple solution, but take
1659 care to echo the commands, so the user knows what's going on.
1660 Modified from a suggestion by Stepan Kasal.
1662 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
1663 with a cross reference. Derived from a suggestion by Bruce Korb.
1665 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
1667 * doc/autoconf.texi (config.status Invocation): Warn about
1668 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
1669 * doc/install.texi (Defining Variables): Likewise.
1670 Based on a proposed patch by Ralf Wildenhues.
1672 * man/Makefile.am (.x.1): Make sure the required generated files
1673 are up to date. Problem and original solution proposed by Stepan Kasal.
1674 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
1675 implicit-man-prerequisites): New rules, used by the above.
1677 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1678 * config/config.guess, config/config.sub, config/install-sh: Likewise.
1679 * config/missing, config/texinfo.tex: Likewise.
1681 2005-01-29 Stepan Kasal <kasal@ucw.cz>
1683 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
1684 Update the long comment explaining it.
1686 m4_require no longer writes an ``is required by'' line to the
1687 execution stack. It contains only one bit of non-redundant
1688 information: that the macro was required, not called. And even
1689 this bit is useless in most situations: have you ever met a macro
1690 which both calls and requires the same macro?
1692 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
1693 (_m4_defun_pro_outer): ... only via this macro, for the outermost
1695 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
1696 (m4_expansion_stack_pop): Remove the misplaced comment.
1697 (m4_require): Don't put the ``is required by'' line to the
1698 execution stack; slightly improve the out-of-a-defun error message.
1699 (_m4_divert_grow): New macro, counter for the temporary diversions.
1700 (_m4_require_call): Use it.
1701 * tests/m4sugar.at (m4_require): Expect output without the
1702 ``is required by'' messages.
1704 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1706 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
1707 rather than x for expr.
1709 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
1711 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
1712 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1713 * lib/autotest/general.m4 (AT_INIT): Likewise.
1714 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
1715 * tests/mktests.sh: Likewise.
1717 2005-01-27 Akim Demaille <akim@epita.fr>
1719 Have autoheader honor --force.
1721 * doc/make-stds.texi, doc/standards.texi: Update from masters.
1722 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
1723 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
1724 from masters, so that FileUtils.pm's update_file provide --force
1726 * bin/autoheader.in: Pass $force to update_file so that
1727 config.h.in is always recreated when --force.
1729 2005-01-24 Stepan Kasal <kasal@ucw.cz>
1731 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
1733 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
1735 * doc/autoconf.texi (Limitations of Builtins): Clarify that
1736 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
1738 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1740 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
1741 Warn about newline stripping in `` and $(). Update Solaris
1743 (Limitations of Builtins): Use expr "X...", not expr "x...", as
1744 X insulates us from future changes to Posix.
1745 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
1748 2005-01-19 Stepan Kasal <kasal@ucw.cz>
1750 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
1751 you cannot use AC_DEFINE to define macros containing `[' or `]'.
1753 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
1755 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
1756 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
1757 bug-tar mailing list.
1759 2005-01-05 Stepan Kasal <kasal@ucw.cz>
1761 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
1763 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
1765 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
1766 ulongval to be static, to avoid unwanted GCC warning. Problem
1767 reported by Michael Jennings via Daniel Reed; see
1768 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
1770 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1772 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
1773 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
1774 datadir, infodir, and mandir. Adjust argument parsing code.
1775 (_AC_INIT_HELP): Update help text.
1776 * doc/autoconf.texi (Installation Directory Variables): Document
1779 2005-01-04 Noah Misch <noah@cs.caltech.edu>
1781 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
1782 not seem to work, assume it does set $(MAKE).
1783 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
1785 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1787 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
1789 2005-01-03 Stepan Kasal <kasal@ucw.cz>
1791 A cleanup of the diversion support in m4sugar.
1793 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
1794 (_m4_divert_n_stack): New macro; the expansion is
1795 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
1797 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
1798 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
1799 stored in _m4_divert_diversion or _m4_divert_dump.
1800 (m4_divert_pop): When the parameter is given, compare the symbolic
1801 name with the last diversion pushed on the stack. Previously, the
1802 current diversion was compared with the numeric value of the
1803 diversion given as the parameter.
1804 (m4_require): If the macro hasn't been expanded yet, call ...
1805 (_m4_require_call): this new macro.
1807 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1809 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
1810 Workarounds for documented `case' limitations.
1812 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
1814 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
1815 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
1817 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
1819 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
1820 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
1821 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
1823 Patch from Roger Leigh (with some minor changes) as follows:
1824 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
1825 Resurrect AC_PROG_CC_STDC.
1826 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
1827 AC_PROG_CC_C89, AC_PROG_CC_C99.
1828 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
1829 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
1830 AC_PROG_CC_C99): New macros.
1831 (AC_PROG_CC_STDC): Use them.
1832 (_AC_PROG_CC_STDC): Remove.
1833 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
1834 * THANKS: Add Roger Leigh.
1836 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1838 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
1839 signals that the package uses Automake; a `Makefile.am' is typical but
1840 not essential. Reported by Magnus Therning.
1841 * tests/torture.at (autoreconf.): New banner.
1842 (autoreconf and non-AC configure): Rename to `Non-Autoconf
1844 (autoreconf an empty directory): Rename to `Empty directory'.
1845 (Unusual Automake input files): New test.
1847 2004-12-30 Noah Misch <noah@cs.caltech.edu>
1849 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
1850 (AT_SETUP): Clear AT_capture_files.
1851 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
1852 (AT_KEYWORDS): Fix comment typo.
1853 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
1854 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
1855 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
1857 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
1859 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
1860 If the variable to set is already set, set ac_cv_path_$1
1861 to the preset value so caller can assume ac_cv_path_$1
1862 is available. (trivial change)
1864 2004-12-27 Noah Misch <noah@cs.caltech.edu>
1866 * BUGS (Minor Problems): Warn about makefile limitations.
1867 * Makefile.am: Find and update `INSTALL' in $(srcdir).
1868 * man/Makefile.am: Find and update manual pages in $(srcdir).
1870 2004-12-24 Eric Blake <ebb9@byu.net>
1872 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
1873 shells in subshell, to avoid noise from ash. (trivial change)
1875 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1877 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1878 problems with SunOS ksh and backslash escaping, Bourne shells and
1879 closing brackets (both within character classes). Bug reported
1880 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
1881 <read>: New entry. Mention non-availability of -r.
1883 2004-12-21 Akim Demaille <akim@epita.fr>
1885 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
1886 avoid cluttering displayed messages. Rather, prepend srcdir where
1887 AT_LINE is used for log files.
1889 2004-12-21 Stepan Kasal <kasal@ucw.cz>
1891 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
1892 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
1893 no longer part of the macro, quote the occurrence of ``$tmp''.
1894 * doc/autoconf.texi (Forbidden Patterns): Typo.
1896 2004-12-21 Akim Demaille <akim@epita.fr>
1898 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
1899 separated from the test title by forcing a white space.
1901 2004-12-21 Akim Demaille <akim@epita.fr>
1903 Enable Emacs navigation within testsuite.log files.
1905 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
1906 use the compilation mode.
1907 (AT_LINE): Point to the srcdir.
1909 2004-12-19 Noah Misch <noah@cs.caltech.edu>
1911 * tests/Makefile.am (installcheck-local): Use $(bindir).
1912 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
1913 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
1914 Makefile.am scheme Autoconf now uses.
1916 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1918 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
1919 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
1921 2004-12-18 Noah Misch <noah@cs.caltech.edu>
1923 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
1924 (_AT_CHECK): Use it.
1925 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
1926 (AS_ESCAPE): Fix comment.
1927 * tests/autotest.at: Adjust section banner comments.
1928 (AT_CHECK_AT): Accept STATUS and STDERR.
1929 (AT_CHECK_AT_TEST): Likewise.
1930 (Invalid brace-enclosed parameter expansion)
1931 (Multiline command from M4 expansion)
1932 (Double-M4-quoted command): New tests.
1934 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
1936 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
1938 2004-12-17 Akim Demaille <akim@epita.fr>
1940 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
1942 Suggested by Alexandre Duret-Lutz.
1943 * doc/autoconf.texi (Setting Output Variables): Catch up.
1945 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1947 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
1949 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1951 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
1952 remove the comment which said we cannot.
1954 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1956 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
1957 Reini Urban and Paul Eggert for reporting the dependencies.
1959 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
1960 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
1961 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
1963 2004-12-17 Stepan Kasal <kasal@ucw.cz>
1965 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
1966 so that eg. ``autoscan --help'' doesn't truncate it.
1968 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
1970 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
1971 generated conftest files.
1973 2004-12-13 Noah Misch <noah@cs.caltech.edu>
1975 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
1976 tracing on commands with possibly-escaped newlines.
1977 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
1978 discontinued behavior and its implications.
1979 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
1980 (BSx641-newline in command, BS-BS-newline in command)
1981 (BSx640-newline in command, Newline-CODE-BS-newline in command)
1982 (Single-quote-BS-newline in command)
1983 (Single-quote-newline-BS-newline in command): New tests.
1985 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1987 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
1988 on platforms where it works.
1989 (_AS_TEST_PREPARE): Test for ``test -x''.
1990 (_AS_BROKEN_TEST_PREPARE): Nuke.
1992 2004-12-13 Stepan Kasal <kasal@ucw.cz>
1994 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
1995 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
1996 give only 4-letter prefix to AS_TMPDIR, comment fixed.
1997 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
1998 create the temporary directory.
1999 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2001 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
2003 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
2006 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
2008 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2010 2004-12-11 Noah Misch <noah@cs.caltech.edu>
2012 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
2013 to avoid using a negated character class. Reported by Nicolas Joly.
2014 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2016 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
2018 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
2019 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
2020 Don't depend on .x file explicitly, since "make" does that for us.
2021 Suggested by Stepan Kasal.
2023 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
2025 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
2026 ifnames): Factor common code. And they said it couldn't be done!
2028 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2030 * bin/.cvsignore: Add autoconf.in.
2031 * tests/.cvsignore: Add wrapper.in.
2032 * lib/autotest/general.m4: Escape '$' in case pattern.
2034 2004-12-09 Noah Misch <noah@cs.caltech.edu>
2036 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
2038 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
2040 * tests/autotest.at: New file.
2041 * tests/suite.at: Include it.
2042 * tests/Makefile.am: Distribute it.
2044 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
2045 shell tracing on a command that could contain multiple lines.
2046 * doc/autoconf.text: Document that fact and its implications.
2047 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
2048 * tests/autotest.at (Multiline backquote command substitution,
2049 Multiline parameter expansion, Literal multiline command,
2050 Multiline parenthetical command substitution): Remove XFAIL.
2052 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2054 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
2055 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2057 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2059 * configure.ac (test suite): Cease to generate wrapper scripts.
2060 * configure: Regenerate.
2061 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
2062 (m4f_dependencies): Adjust accordingly.
2063 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
2064 (wrapper.in): Generate it in the build directory.
2065 (MAINTAINERCLEANFILES): Delete wrapper.in.
2066 (CLEANFILES): Add wrapper.in.
2067 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
2068 the output. Replace each $as_me with a @wrap_program@.
2069 * tests/wrapper.in: Delete it; we always build it.
2071 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
2072 (EXTRA_DIST): Remove autoconf.in.
2073 (CLEANFILES): Add autoconf.in.
2074 (autoconf): Find autoconf.in in the build directory.
2075 * bin/autoconf.in: Delete it; we always build it.
2077 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2079 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
2080 PATH members so as to not prepend an empty element. Move a comment.
2081 * Makefile.am (SUBDIRS): Build in `tests' last.
2082 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
2084 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
2086 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
2087 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
2088 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
2089 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2091 2004-12-07 Stepan Kasal <kasal@ucw.cz>
2093 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
2096 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2098 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
2099 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
2100 * doc/autoconf.texi (Particular Functions): Mention new behavior.
2102 2004-12-03 Stepan Kasal <kasal@ucw.cz>
2104 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
2105 out the common code to ...
2106 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
2107 value of the #define--default to 1, iff the macro was called
2108 with exactly one parameter.
2110 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
2112 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
2113 "char c = '\200';" rather than "char c = 0x80;" as the
2114 latter doesn't conform to the strict C standard due to
2115 overflow on signed char hosts.
2117 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
2118 to -qlanglvl=ansi. We don't want to disable extensions.
2120 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
2122 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
2123 (Using Autotest, testsuite Scripts, Writing testsuite.at):
2124 Reword slightly to avoid some English-language problems noted
2125 by Ralf Wildenhues in:
2126 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2128 2004-11-29 Stepan Kasal <kasal@ucw.cz>
2130 * NEWS: Add ^L above each release.
2132 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
2134 Fix documentation problems reported by Russ Boylan in
2135 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
2136 along with some nearby cruft.
2137 * doc/autoconf.texi (Libtool): Libtool can be used without
2138 Automake (not without Autoconf).
2139 (Introduction): Mention lists.gnu.org.
2140 * BUGS: Don't mention bugs.gnu.org.
2141 Remove mention of ancient libtool compatibility problem.
2142 * NEWS: Mention that bugs.gnu.org is kaput.
2143 * README: Likewise. Mention where mailing list archives can be found.
2145 2004-11-28 Stepan Kasal <kasal@ucw.cz>
2147 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
2148 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2150 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
2152 * doc/autoconf.texi (Pretty Help Strings): Go back to
2153 single-quoting assignments to cache variables.
2155 2004-11-23 Stepan Kasal <kasal@ucw.cz>
2157 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
2158 with the examples; fix the bug in MY_ARG_WITH example reported
2159 by Alexandre Duret-Lutz.
2160 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
2161 expansion of $1 in the comment emitted to configure.
2163 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2165 * doc/autoconf.texi (Pretty Help Strings): Fix typo
2166 in my editing of the previous patch. Problem reported
2167 by Alexandre Duret-Lutz.
2169 2004-11-22 Stepan Kasal <kasal@ucw.cz>
2171 * doc/autoconf.texi (Autoconf Language): Explain that
2172 ``descriptions'' may not be double quotes.
2173 (Quotation Rule Of Thumb): Likewise.
2174 (Pretty Help Strings): Likewise; remove the wrong comment;
2175 simplify the examples and improve their quoting.
2177 2004-11-13 Stepan Kasal <kasal@ucw.cz>
2179 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
2180 the $1_found variable, don't test whether the file is executable;
2181 Both things are checked ...
2182 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
2183 the former ``test -f''.
2184 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
2186 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2188 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
2191 2004-11-10 Derek R. Price <derek@ximbiot.com>
2193 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
2194 limitations. Reorder paragraphs for clarity.
2196 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
2198 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
2199 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
2200 variants", "Unix", and some related minor wording fixups.
2202 (Shellology, Special Shell Variables): Document that the Zsh
2203 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
2204 to Alexandre Duret-Lutz for this info.
2206 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
2208 * doc/autoconf.texi (One-Shot Macros): New node.
2210 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
2212 * doc/autoconf.texi (Function Portability): Fix misdescription
2213 of putenv. Problem reported by Michael Wardle.
2215 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
2217 * doc/autoconf.texi (auindex): New macro.
2218 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
2219 Problem reported by Stepan Kasal.
2221 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
2223 Fix problems reported by Andreas Buening in:
2224 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
2225 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
2227 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
2228 readable; it's not true in OS/2-emx.
2230 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
2232 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
2233 "/usr/include", clear ac_x_includes instead of leaving it as "no"
2234 (trivial change). Problem and patch reported by Andrew Church in:
2235 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
2237 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
2239 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
2240 three args in examples. Problem reported by Frederik Fouvry in:
2241 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
2242 Also, fix some minor spacing and punctuation bugs.
2244 2004-09-02 Akim Demaille <akim@epita.fr>
2246 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
2247 "case" to restore ordering.
2248 Reported by Stepan Kasal.
2250 2004-08-26 Akim Demaille <akim@epita.fr>
2252 * doc/autoconf.texi: Minor typos and stylos.
2254 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2256 * configure.ac (AC_INIT): Bump to 2.59c.
2258 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2262 * README: Add advice about m4 1.4.2.
2264 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
2265 texinfo.tex for now (done by hand now).
2266 * Makefile.maint (wget_files, cvs_files):
2267 Remove ansi2knr.c; nobody uses it.
2268 (ansi2knr.c-url_prefix): Remove.
2269 (cvs-update): Fix test for failure. I don't know why it ever
2272 * doc/autoconf.texi: Update URLs, some of which went stale.
2273 Use @uref rather than @href.
2275 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
2276 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
2278 * config/config.guess, config/config.sub, config/elisp-comp,
2279 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
2280 doc/fdl.texi, doc/standards.texi: Sync with master copy.
2282 * NEWS, TODO, configure.ac, bin/autoscan.in,
2283 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
2284 doc/install.texi, lib/Autom4te/Configure_ac.pm,
2285 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
2286 lib/autoconf/programs.m4, lib/autoconf/status.m4,
2287 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
2288 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
2289 tests/tools.at, tests/torture.at:
2290 Use "file name" rather than "filename" or "path",
2291 to be consistent with the terminology of the GNU coding standards.
2293 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2295 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
2296 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
2297 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
2298 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
2300 More fixes to support spaces in the name of the build directory.
2301 This isn't a complete fix but it's an improvement.
2303 * bin/autoconf.as (autom4te_options): New var.
2304 Use it instead of appending to AUTOM4TE, so that we can allow
2305 spaces in the build directory's absolute name.
2306 * bin/autoheader.in ($autoconf): Allow spaces in file names.
2307 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
2308 AT_CHECK_NOESCAPE): Likewise.
2309 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
2310 main program): Likewise.
2312 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
2314 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
2315 From Ralf Corsepius in:
2316 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
2318 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2320 * doc/autoconf.texi (Function Portability): Document isinf and
2321 and isnan. From a suggestion by Kevin Ryde.
2323 * lib/Autom4te/General.pm (END): Return correct exit status even
2324 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
2326 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2328 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
2329 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
2330 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
2332 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2334 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
2335 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
2336 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
2337 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
2338 * lib/autom4te.in (Automake-preselections): Preselect
2339 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
2341 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
2343 * lib/autom4te.in (Automake-preselections): Preselect
2344 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
2347 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
2349 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
2351 * doc/autoconf.texi (Shellology): Mention BIN_SH.
2352 Document problem with "`""`" in pdksh POSIX mode.
2354 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
2356 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
2357 with pdksh, too. Problem reported by Patrick Welche via
2359 * doc/autoconf.texi (Shellology): Note that set -o posix is
2360 useful for pkdsh, too.
2362 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
2364 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
2365 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
2366 Don't fail if ENV or BASH_ENV is readonly.
2367 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
2368 etc. are read only. Problem reported by Ludovic Courtes.
2370 2004-06-23 Noah Misch <noah@cs.caltech.edu>
2372 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
2373 zsh, disable GLOB_SUBST to avoid backslash handling problems.
2376 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
2378 * doc/autoconf.texi (File System Conventions): Warn about
2379 names like "aux". Problem reported by Eric Blake.
2381 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
2382 by zero instead of array size, so that we can use any arithmetic
2383 constant expression (instead of requiring an integer constant
2384 expression). This allows us to test expressions like DBL_MAX <
2385 LDBL_MAX, which didn't conform to the C standard using the old
2387 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
2388 now that we can do floating-point tests at compile time.
2390 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
2392 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
2393 and LDBL_EPSILON, as the resulting expression isn't an
2394 integer constant expression and violates the C standard.
2395 Problem reported by Nelson H. F. Beebe. Also, check
2396 for "L" suffix, and check that long double doesn't have
2397 worse range or precision than double, that mixed-mode
2398 arithmetic doesn't generate a diagnostic, that double
2399 constants fit in long double.
2401 2004-06-03 Kevin Ryde <user42@zip.com.au>
2403 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
2404 malloc(0) and realloc(NULL,size).
2406 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
2409 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2411 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
2412 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
2415 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
2417 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
2418 can be rewritten using if-then-else. Suggested by Bruno Haible.
2420 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
2422 * doc/autoconf.texi (testsuite Scripts): Fix typo.
2423 Problem reported by Stepan Kasal.
2425 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
2427 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
2428 change). Patch reported by Ralf Wildenhues in
2429 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
2431 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
2432 function F exists if the compiler and linker let you compile an
2433 expression like (F != 0). Recent versions of GCC optimize away
2434 the reference to F in that case, since every function address must
2435 be nonzero, so the link succeeds even if F does not exist.
2436 Problem reported by Manu in
2437 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
2439 * doc/autoconf.texi (Systemology): Standardize on the spelling of
2440 "Unix". Many uses changed.
2441 (Limitations of Builtins): Explain better why the ! command isn't
2444 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
2446 * lib/autom4te.in (Automake-preselections): Preselect
2447 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2449 2004-05-19 Kevin Ryde <user42@zip.com.au>
2451 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
2452 referencing AC_FUNC_STRERROR_R.
2454 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
2455 note pessimistic assumption when cross compiling.
2457 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2459 * doc/autoconf.texi (Limitations of Make): Note that BSD make
2460 (until 2004) invoked subcommands with sh -e, contra POSIX.
2461 Reported by Kevin Ryde.
2463 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
2465 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
2466 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
2467 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
2468 `test -f " /usr/bin/grep"', which _always_ failed.
2469 (AC_PROG_SED): Ditto bogus PATH fix.
2470 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
2471 requires that grep correctly supports _multiple_ `-e' options, rather
2472 than stating only that grep should accept `-e'.
2474 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
2476 Port to C99, which requires that 'exit' be declared.
2478 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
2479 to ensure that stdlib.h is included.
2480 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
2481 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
2482 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2483 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2484 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2485 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
2486 when using 'exit' in a test; C99 requires that 'exit' be declared.
2488 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
2490 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
2491 now prefers 'grep' implementations that accept -e.
2492 (Limitations of Usual Tools): Describe problems of traditional
2493 egrep and fgrep with long input lines, and of traditional grep
2495 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
2496 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
2497 All callers changed. Append /usr/xpg4/bin to the PATH, for
2499 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
2500 the user with complaints about multiple -e options.
2501 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
2502 Define it with AC_PROG_GREP.
2503 * configure.ac (AC_PROG_GREP): Add.
2504 * lib/freeze.mk (GREP): New macro.
2506 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
2508 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
2509 a possible candidate only after all others fail, rather than
2510 consulting it first. This improves backward compatibility by
2511 better reflecting the way shell selection occurred in previous
2512 versions of Autoconf, and should help to avoid triggering latent
2513 problems in other packages, such as the one in Automake where zsh
2514 is not handled robustly:
2515 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
2516 Although it is not Autoconf's responsibility to work around
2517 problems in Automake, it nevertheless makes sense to avoid
2518 introducing unnecessary incompatibilites.
2520 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
2521 Gary V. Vaughan <gary@gnu.org>
2523 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
2524 how deeply nested we are when a suitable tool is found, set the
2525 ac_path_TOOL_found flag.
2526 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
2527 nested we are in this macro. Break out of all 3 nested loops if
2528 ac_path_TOOL_found is set.
2530 2004-04-21 Gary V. Vaughan <gary@gnu.org>
2532 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
2533 of the _AS_PATH_WALK loop too if GNU flavor is found.
2535 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
2537 * doc/autoconf.texi (Limitations of Make): Update documentation
2538 for `$<'. New entry `Long lines', based on a report from Simon
2539 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
2540 paragraph about DJGPP, based on a mail from Richard Dawe.
2542 2004-04-20 Paul Eggert <eggert@twinsun.com>
2544 * tests/c.at (C keywords): Don't assume that GCC supports
2545 "restrict" and "inline", as sufficiently-old GCC versions do not
2546 (also, GCC configured to be in pedantic C89 mode does not).
2547 Problem reported by Sumit Pandya in:
2548 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
2550 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
2551 consider -g to work if it generates warnings when plain compiles
2552 don't. Problem reported by Braden McDaniel in:
2553 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
2555 * doc/autoconf.texi (Slashes): New section, to document a problem
2556 reported by Jim Meyering in:
2557 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
2559 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
2560 linker output files before linking, to work around IRIX 6 linker bug.
2561 Problem reported by Rainer Orth in:
2562 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
2564 2004-04-20 Gary V. Vaughan <gary@gnu.org>
2566 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
2567 best tool so far counter rely on the tool path variable name to
2568 avoid checks for one tool being affected by the results of running
2569 the length check on a previous tool.
2571 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
2572 match expression argument, as different greps have different
2573 regular expression flavours.
2574 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
2576 (AC_PROG_EGREP): Pass 'EGREP$'.
2577 (AC_PROG_GREP): Pass 'GREP$'.
2579 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
2581 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
2582 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2584 2004-03-29 Paul Eggert <eggert@twinsun.com>
2586 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
2587 Types, Specific Compiler Characteristics, System Services,
2588 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
2589 etc. consistently instead of 'long', 'short', 'unsigned' etc.
2590 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
2591 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
2593 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
2594 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
2595 AC_TYPE_OFF_T): Likewise.
2596 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
2599 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
2600 pacify libtool 1.5.2. Fix quoting problems in sed command.
2602 2004-03-28 Paul Eggert <eggert@twinsun.com>
2604 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
2605 now defines HAVE_DECL_TZNAME if it is declared, when
2606 HAVE_STRUCT_TM_TM_ZONE is not defined.
2607 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
2608 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
2611 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
2613 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
2614 superfluous backslashing of quotes (") in sed expressions;
2615 thanks to Paul Eggert.
2617 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
2619 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
2620 Fortran compiler is ifort, also added pghpf; thanks to Nelson
2621 H. F. Beebe for the bug report.
2623 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
2625 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
2626 quoted -cmdline argument in Portland Group compiler (bug
2627 reported by Jeffrey J. Barteet).
2629 2004-03-25 Kevin Ryde <user42@zip.com.au>
2631 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
2632 (Run Time): ... here, where it's now mentioned.
2634 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2636 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
2637 inherits from language Autoconf-without-aclocal-m4.
2638 (Customizing autom4te): Adjust example; the cache must now be
2639 disabled for language Autoconf-without-aclocal-m4.
2641 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
2642 Nathanael Nerode <neroden@twcny.rr.com>
2644 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
2645 AC_CHECK_TOOLS): Warn if a cross-tool is found without
2647 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2648 AC_CHECK_TARGET_TOOLS): New macros.
2649 * doc/autoconf.texi (Generic Programs): Document
2650 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2651 AC_CHECK_TARGET_TOOLS, and warn for future changes
2652 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
2654 (Specifying Names): Document the reason for these future
2656 * tests/mktests.sh: Do not generate tests for the
2658 * NEWS: Document these changes.
2660 * doc/autoconf.texi: Avoid macros with unbraced arguments,
2661 they make TeX hang up.
2663 2004-03-15 Paul Eggert <eggert@bogus.example.com>
2665 * NEWS: New macro AC_CHECK_ALIGNOF.
2666 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
2667 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
2668 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
2670 (AC_CHECK_ALIGNOF): New macro.
2671 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
2672 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
2675 2004-03-03 Paul Eggert <eggert@twinsun.com>
2677 * bin/Makefile.am (edit): Don't use $< in a context where
2678 POSIX doesn't require support for it. Use $@.in instead.
2679 Problem reported by Anthony N. Frasso in
2680 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
2681 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2683 2004-02-23 Gary V. Vaughan <gary@gnu.org>
2685 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
2686 from the next generation of Libtool.
2687 * lib/autom4te.in (Autoreconf-preselections): Ditto.
2689 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2691 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
2692 is not always thread-safe. Report from Nathanael Nerode.
2694 2004-02-18 Paul Eggert <eggert@twinsun.com>
2696 Fix a dependencies problem, stemming from a Autoconf 2.59 build
2697 problem on QNX reported by Stephen Rasku in
2698 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
2700 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
2701 $(m4sh_m4f_dependencies); this removes a FIXME.
2702 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
2703 (MAINTAINERCLEANFILES): Split into pieces,
2704 one per related section. Add $(srcdir)/wrapper.in.
2706 2004-02-09 Paul Eggert <eggert@twinsun.com>
2708 * doc/autoconf.texi (Setting Output Variables): Emphasize that
2709 AC_SUBST provides no portable way to escape literal newlines.
2711 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
2712 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
2713 Darwin uses -lcrt2.o and there's little point to cataloging all
2714 the system variants. Partial fix reported by Andreas Waechter in:
2715 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
2716 for bug reported by Nelson H. F. Beebe in:
2717 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2719 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
2721 * doc/autoconf.texi (AU_DEFUN): Fix English,
2722 suggested by Paul Eggert.
2723 * lib/autoconf/autoupdate.m4: Correct reference to
2724 acobsolete.m4, suggested by Alexandre Duret-Lutz.
2726 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
2728 * bin/autoupdate.in: Define __file__ so that warnings
2729 refer to the correct file.
2730 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
2731 the behavior of the third argument.
2732 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
2733 correctly the behavior of the third argument. Document
2734 what the three macros that AU_DEFUN defines do. Fix
2735 warning message when the third argument includes $0
2736 (reported by Alexandre Duret-Lutz).
2738 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2739 Eric Sunshine <sunshine@sunshineco.com>
2740 Paul Eggert <eggert@twinsun.com>
2742 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
2743 (AS_INIT): Output shell initialization there. Removed optional
2744 parameter. Expand _AS_SHELL_FN_SPY.
2745 (AS_INIT_WITH_SHELL_FN): Removed.
2746 (_AS_SHELL_FN_SPY): New macro.
2747 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
2749 (AS_SHELL_SANITIZE): Remove loop to find better shell
2750 and documentation for the parameter.
2751 (_AS_DETECT_BETTER_SHELL): Move it here.
2752 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
2753 (_AS_RUN): Move it here, support testing with eval.
2754 (AS_REQUIRE_SHELL_FN): Require shell functions when
2756 (_AS_LINENO_WORKS): Put around braces, we do not
2757 trigger the bash bug anymore.
2758 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
2759 use AS_INIT_WITH_SHELL_FN.
2760 * bin/autoconf.in, tests/wrapper.in: Regenerated.
2762 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2764 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
2765 * doc/autoconf.texi: Don't say that the third parameter
2767 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
2768 (AU_DEFUN): Honor the third parameter, create autoupdate
2769 macros with AU_DEFINE.
2770 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
2771 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
2772 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2773 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
2774 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
2775 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
2776 AC_XENIX_DIR): Likewise.
2777 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
2778 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
2779 * lib/autoconf/status.m4: Remove FIXME.
2780 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
2781 that the macro is not present anymore in the updated
2783 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
2786 2004-01-28 Paul Eggert <eggert@twinsun.com>
2788 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
2790 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
2791 2003 (except 1997) to the list of copyright years. This undoes
2792 the 2003-05-22 change, which removed the older years from the list.
2793 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
2795 2004-01-27 Gary V. Vaughan <gary@gnu.org>
2796 Albert Chin-A-Young <china@thewrittenword.com>
2798 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
2799 grep or ggrep program in PATH that accepts as long lines as
2801 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
2803 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
2804 egrep and fgrep respectively if $GREP -E/-F don't work.
2805 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
2806 _AC_PROG_GREP, and AC_PROG_SED.
2807 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
2808 longest input length accepted by a command.
2809 (AC_PROG_SED): Use it.
2810 * doc/autoconf.texi (Particular Programs): Document the changes.
2813 2004-01-27 Paul Eggert <eggert@twinsun.com>
2815 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
2816 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2817 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
2818 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
2820 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
2821 bin/autoconf.in, config/Makefile.in, config/config.guess,
2822 config/config.sub, config/install-sh, config/mdate-sh,
2823 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
2824 lib/Makefile.in, lib/Autom4te/Makefile.in,
2825 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
2826 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
2827 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
2828 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
2829 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
2830 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
2831 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
2832 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
2833 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
2834 tests/actypes.at: Regenerate and/or sync with original
2837 2004-01-26 Paul Eggert <eggert@twinsun.com>
2839 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
2840 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
2841 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
2842 not <inttypes.h>. Problem reported by Tim Mooney in
2843 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
2844 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
2847 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
2848 otherwise "make check" fails because it forbids cmp (I guess
2849 because cmp treats files as binary on DOS-like systems).
2851 * tests/mktests.sh: Update copyright date to 2004, since some tests
2852 have changed in 2004.
2854 2004-01-23 Gary V. Vaughan <gary@gnu.org>
2856 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
2857 non-truncating sed or gsed program in PATH.
2858 * tests/acprograms.at: Add it.
2859 * doc/autoconf.texi (Particular Programs): Document it.
2862 2004-01-15 Paul Eggert <eggert@twinsun.com>
2864 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
2865 -std1 disables some useful extensions on Tru64. Problem reported
2867 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
2869 2004-01-14 Paul Eggert <eggert@twinsun.com>
2871 * doc/autoconf.texi (Programming in M4sh): Document that
2872 AS_MKDIR_P succeeds if the destination is a symbolic link
2873 to an existing directory.
2874 (Limitations of Usual Tools): Note that mkdir -p might not
2875 succeed on symlinks to directories.
2877 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
2879 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
2880 * bin/autoheader.in: Grammar fix in message.
2881 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
2882 Test for dir before calling mkdir -p. (trivial changes)
2884 2004-01-13 Eric Blake <ebb9@byu.net>
2886 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
2887 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
2889 2004-01-10 Jim Meyering <jim@meyering.net>
2891 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
2893 2004-01-09 Paul Eggert <eggert@twinsun.com>
2895 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
2896 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
2897 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
2898 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
2899 AC_COMPILE_IFELSE, since we now assume our caller invokes
2900 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
2901 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
2902 of AC_RUN_IFELSE; this avoids the warning mentioned above.
2903 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
2905 2004-01-07 Paul Eggert <eggert@twinsun.com>
2907 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
2908 `"'...'"`, as it's confusing (and I suspect it may not work on
2909 some platforms). The code was incorrect anyway, as it assumed
2910 that \$ evaluated to itself in that context. Reported by
2911 Alexandre Duret-Lutz.
2913 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
2915 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
2916 and _LT_AC_TAGCONFIG.
2918 2004-01-06 Paul Eggert <eggert@twinsun.com>
2920 * doc/autoconf.texi (One Macro Call): Fix an incorrect
2921 example, and add more examples. Reported by Eric Sunshine.
2923 2004-01-05 Paul Eggert <eggert@twinsun.com>
2925 * doc/autoconf.texi (Limitations of Usual Tools):
2926 Remove warning against "rm -fr" introduced yesterday; it
2929 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
2930 autoscan, autoupdate, ifnames): Don't use chmod -w.
2931 * lib/Makefile.am (autom4te.cfg): Likewise.
2932 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
2935 2004-01-04 Paul Eggert <eggert@twinsun.com>
2936 Paolo Bonzini <bonzini@gnu.org>
2938 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
2939 by doing lineno substitution only on lines containing "$LINENO".
2941 2004-01-04 Paul Eggert <eggert@twinsun.com>
2943 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
2944 Use "rm -f" to remove conftest.sed, not plain "rm".
2945 Bug reported by David Relson in
2946 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
2948 * Makefile.am (autom4te-update):
2949 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
2950 * Makefile.maint (my-distcheck, do-po-update): Likewise.
2951 * doc/autoconf.texi (Guidelines): Likewise.
2952 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
2953 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
2954 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
2955 * lib/autotest/general.m4 (AT_INIT): Likewise.
2956 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
2957 * tests/Makefile.am (clean-local): Likewise.
2958 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
2960 * doc/autoconf.texi (Limitations of Usual Tools):
2961 Warn against "rm -fr".
2963 2004-01-03 Paul Eggert <eggert@twinsun.com>
2965 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
2966 -c -o might not work. From a suggestion by Kevin Ryde.
2967 (C Compiler, Generating Sources, Limitations
2968 of Usual Tools, Limitations of Make, Making testsuite Scripts):
2969 Don't put '-o' after non-options, as POSIX doesn't allow this.
2970 Mention that cc's name might be gcc or c89 or whatever.
2972 2004-01-04 Kevin Ryde <user42@zip.com.au>
2974 * doc/autoconf.texi: Add various further index entries.
2976 2003-12-29 Paul Eggert <eggert@twinsun.com>
2978 * bin/autoreconf.in (autoreconf_current_directory):
2979 Fix typo: mkdir without umask arg.
2981 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
2983 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
2984 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
2985 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
2986 explanation clearer.
2988 2003-12-24 Andreas Schwab <schwab@suse.de>
2990 * doc/autoconf.texi (Default Includes): Fix misspelling of
2991 AC_INCLUDES_DEFAULT.
2993 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
2995 * configure.ac: Test if sh -n works.
2996 * configure: Regenerate.
2997 * tests/atlocal.in: Store the result here.
2998 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
2999 tools.at, looking in atlocal's ac_cv_sh_n_works instead
3000 of explicitly testing.
3001 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
3002 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
3003 * tests/tools.at (Syntax of the shell scripts): Simplify
3004 using AT_CHECK_SHELL_SYNTAX.
3005 (Syntax of the Perl scripts): Remove definition of
3006 AT_CHECK_PERL_SYNTAX.
3008 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3010 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
3011 stderr to /dev/null.
3012 * bin/autoconf.in: Regenerate.
3013 * bin/wrapper.in: Regenerate.
3015 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
3017 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
3018 Extracted from AS_SHELL_SANITIZE.
3019 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
3021 (AS_SHELL_SANITIZE): Move reinvocation code from
3022 _AS_LINENO_WORKS, use it to find out if shell
3024 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
3026 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
3027 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
3029 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
3030 * bin/autoconf.in: Regenerate.
3031 * tests/wrapper.in: Regenerate.
3032 * tests/tools.at: Test the syntax of tests/autoconf
3033 and tests/testsuite.
3035 2003-11-24 Akim Demaille <akim@epita.fr>
3037 * config/announce-gen (&print_locations, &print_signatures)
3040 No longer rely on Gnus to inline the list of signatures: compute
3043 2003-11-24 Akim Demaille <akim@epita.fr>
3045 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
3046 override some files.
3047 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
3048 From Debian Autoconf 2.58.
3050 2003-11-24 Akim Demaille <akim@epita.fr>
3052 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
3054 From Debian Autoconf 2.58.
3056 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3058 * TODO: Remove already done things. Update the part about finding
3059 tools for the target.
3061 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3063 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
3064 Make wording more consistent.
3065 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3066 Explain the transition better.
3067 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
3068 the transition better.
3070 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3072 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
3073 parameter of AU_DEFUN.
3074 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
3075 (AU_DEFUN): Remove the third parameter, it was not used.
3076 Use AC_DEFUN directly, not AU_DEFINE.
3077 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
3078 the expanded body, consistently with other macros such as AC_USG.
3080 2003-11-17 Paul Eggert <eggert@twinsun.com>
3082 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
3083 into the initial confdefs.h, to work around a bug in NextStep 3.3
3084 patch 3 reported by Eric Sunshine.
3086 2003-11-15 Kevin Ryde <user42@zip.com.au>
3088 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
3089 than $target since the latter is not usual, add guidelines on when to
3090 use or not use the system type.
3092 2003-11-12 Derek Price <derek@ximbiot.com>
3094 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
3095 typo misrepaired by an auto-spellcheck.
3097 2003-11-12 Akim Demaille <akim@epita.fr>
3099 * bin/autoreconf.in (&parse_args): Don't call automake with
3100 --force-missing unless it actually supports it.
3101 From Debian #219336.
3103 2003-11-12 Akim Demaille <akim@epita.fr>
3105 * configure.ac: Bump to 2.59a.
3108 2003-11-06 Akim Demaille <akim@epita.fr>
3112 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
3114 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
3115 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
3116 and ac_abs_top_srcdir are absolute paths.
3117 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
3119 2003-11-05 Akim Demaille <akim@epita.fr>
3121 * configure.ac: Bump to 2.58a.
3123 2003-11-05 Kevin Ryde <user42@zip.com.au>
3125 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
3126 it provokes a warning from makeinfo about looking like a cross
3127 reference in info output.
3129 * doc/autoconf.texi (Function Portability): Add notes on signal
3130 handler return type, as per AC_TYPE_SIGNAL.
3132 2003-11-04 Akim Demaille <akim@epita.fr>
3135 * doc/standards.texi: Update from master.
3137 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
3139 2003-11-04 Akim Demaille <akim@epita.fr>
3141 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
3142 computing the absolute path to d1 in the source hierarchy: it may
3143 not exist at all. So don't cd into it.
3144 From Alexandre Duret-Lutz.
3145 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
3147 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
3148 From Paul Eggert, but named after Perl's IO::Spec->catfile.
3149 * doc/autoconf.texi (Programming in M4sh): Document.
3150 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
3152 2003-11-03 Pavel Roskin <proski@gnu.org>
3154 * doc/autoconf.texi (Generic Structure Checks): Describe
3155 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
3157 2003-10-31 Akim Demaille <akim@epita.fr>
3159 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
3161 * doc/autoconf.texi (Language Choice): Document.
3162 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
3163 the current language is Fortran.
3165 2003-10-31 Akim Demaille <akim@epita.fr>
3167 * bin/autom4te.in (&freeze): Use a less likely warning separator
3168 than `\n\n', so that `\n\n\n' is valid in warnings.
3169 Reported by Steve Huston.
3171 2003-10-28 Akim Demaille <akim@epita.fr>
3173 * Makefile.cfg (local_updates, executable-update): Tweak to be
3174 robust to parallel makes.
3175 Suggested by Alexandre Duret-Lutz.
3177 2003-10-27 Akim Demaille <akim@epita.fr>
3179 * Makefile.cfg (executable-update): New.
3180 (local_updates): Call it.
3182 2003-10-27 Akim Demaille <akim@epita.fr>
3184 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
3185 Don't remove core.* as it may remove valid user files.
3186 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
3187 (AC_FUNC_UTIME_NULL): Likewise.
3189 2003-10-23 Akim Demaille <akim@epita.fr>
3192 * config/config.guess, config/config.sub: Upgrade from masters.
3194 2003-10-23 Akim Demaille <akim@epita.fr>
3196 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
3197 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
3200 2003-10-23 Akim Demaille <akim@epita.fr>
3202 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
3203 Don't forget to remove conftest.err.
3205 2003-10-23 Akim Demaille <akim@epita.fr>
3207 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
3208 same object file in $LIBOBJS.
3209 Reported by Alexandre Duret-Lutz & Derek Robert Price.
3210 * doc/autoconf.texi (Generic Functions): Adjust.
3212 2003-10-20 Paul Eggert <eggert@twinsun.com>
3214 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
3215 Use 'eval', so that the resulting configure scripts work even if
3216 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
3218 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3220 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
3221 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
3222 (_AC_LINK_IFELSE): Check the werror flag.
3223 * doc/autoconf.texi (Generic Compiler Characteristics): Document
3227 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3229 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
3230 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
3231 override AC_LINK_IFELSE.
3233 2003-10-15 Paul Eggert <eggert@twinsun.com>
3235 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
3236 pdksh 5.2.14. Bug reported by Ralf Corsepius.
3237 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
3238 Mention /usr/dt/bin/dtksh on Solaris.
3239 (Shell Substitutions): Warn about $((...)).
3240 (Parentheses): New section.
3242 2003-10-15 Kevin Ryde <user42@zip.com.au>
3244 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
3245 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
3247 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
3249 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
3252 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
3254 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
3255 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
3257 2003-10-10 Andreas Schwab <schwab@suse.de>
3259 * bin/autoheader.in: Avoid empty first line in --version and
3261 * bin/ifnames.in: Likewise.
3263 2003-10-09 Paul Eggert <eggert@twinsun.com>
3265 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
3266 Issue a more-informative diagnostic.
3267 Problems reported by Eric Sunshine.
3269 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3271 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
3272 -mGLOB_options_string stuff for Intel ifc, which can cause
3273 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
3274 pattern-matching instead of grep.
3276 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3278 * doc/autoconf.texi: Document new FC Fortran macros.
3280 2003-10-08 Gary V. Vaughan <gary@gnu.org>
3282 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
3283 that future autopoint/aclocal/automake/autoreconf will be able
3284 to trace to find where to install local m4 macros.
3285 * doc/autoconf.texi (Input): Document it.
3288 2003-10-06 Gary V. Vaughan <gary@gnu.org>
3290 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
3291 -lcrtbegin.o to list of ignored flags and fix underquoting of
3294 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
3296 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
3297 cache variable instead of $G77 to decide whether to include -O2,
3298 since $G77 is specific to Fortran 77.
3300 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3302 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
3303 free" flag. Re-order flags tested into rough order of popularity.
3305 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3307 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
3308 arguments so that it can be used with syntax identical to
3309 AC_PROG_F77, and so that we can more easily decide to
3310 remove/deprecate the DIALECT optional argument in the future if it
3312 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
3313 non-freeform-supporting compilers. Document freeform flags.
3315 2003-10-03 Akim Demaille <akim@epita.fr>
3317 * configure.ac: Look for emacs, not macs.
3318 Reported by Eric Sunshine.
3320 2003-10-03 Akim Demaille <akim@epita.fr>
3322 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
3323 * bin/autoreconf.in (autoreconf_current_directory): Create the
3324 AUX_DIR if needed, for sake of automake --add-missing etc.
3325 Suggested by Alexandre Duret-Lutz.
3327 2003-10-03 Akim Demaille <akim@epita.fr>
3329 * configure.ac: Quotation and formatting changes.
3330 (EMACS): Don't set it if it is not recent enough to support
3334 2003-10-02 Akim Demaille <akim@epita.fr>
3336 * bin/ifnames.in (&scan_file): Skip C++ comments.
3339 2003-10-01 Pavel Roskin <proski@gnu.org>
3341 * doc/autoconf.texi (Particular Structure Checks):
3342 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
3344 2003-10-01 Akim Demaille <akim@epita.fr>
3348 2003-09-30 Paul Eggert <eggert@twinsun.com>
3350 * lib/Autom4te/XFile.pm: Use Errno.
3351 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
3352 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
3354 2003-09-30 Akim Demaille <akim@epita.fr>
3356 * config/announce-gen (&print_news_deltas): Extracted from...
3357 (&print_changelog_deltas): here.
3358 (&news_file): Rename as...
3361 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
3363 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
3364 have been created when invoking the compiler.
3365 * tests/fortran.at (GNU Fortran 77): Quote $G77.
3367 2003-09-29 Akim Demaille <akim@epita.fr>
3371 * config/mkinstalldirs: Upgrade.
3373 2003-09-28 Paul Eggert <eggert@twinsun.com>
3375 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
3376 Problem reported by Lars J. Aas in
3377 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
3378 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
3379 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
3380 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
3382 2003-09-26 Akim Demaille <akim@epita.fr>
3384 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
3385 directory for AC_CONFIG_COMMANDS' first argument exists.
3386 This makes valid the invocation of _AC_SRCPATH that follows.
3387 Reported by Eric Sunshine.
3388 * doc/autoconf.texi (Configuration Commands): Adjust.
3390 2003-09-26 Akim Demaille <akim@epita.fr>
3392 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
3393 Reported by Ralf Corsepius.
3395 2003-09-26 Akim Demaille <akim@epita.fr>
3397 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
3399 Actually, use AU_ALIAS.
3402 2003-09-26 Paul Eggert <eggert@twinsun.com>
3404 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
3405 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
3406 Problem reported by Eric Sunshine in:
3407 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
3409 2003-09-26 Akim Demaille <akim@epita.fr>
3411 The test suite are sometimes assigning timings incorrectly.
3412 Reported by Henk Krus.
3413 Diagnosed by Nicolas Joly.
3415 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
3417 Instead of making AT_help a sequence of assignments to grow
3418 $at_help_all, just make AT_help_all be the growing contents of
3419 $at_help_all, and make a single assignment in...
3421 (at_times_skip): Flip the meaning and rename as...
3423 (AT_INIT): When summarizing the test that ran, remove
3424 $at_times_file after use, and check it is present before trying to
3427 2003-09-25 Akim Demaille <akim@epita.fr>
3431 * bin/Makefile.am (edit): Handle '@configure_input@'.
3432 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
3433 (ifnames): chmod -w.
3434 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
3435 executables, not bin/ executables! Otherwise all the magic needed
3436 to find non installed files is turned off. This caused a failure
3437 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
3438 as found in its environment (sent by tests/autoreconf): pointing
3439 to bin/autom4te that could not find its files.
3440 * tests/mktests.sh: Force the replacement of generated files, for
3441 the sake of "mv" program that are interactive when overwriting a
3443 * config/install-sh: Upgrade from CVS Automake.
3445 2003-09-23 Paul Eggert <eggert@twinsun.com>
3447 * doc/autoconf.texi (Limitations of Builtins): Document test -h
3448 versus test -L issues.
3450 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
3451 Paul Eggert <eggert@twinsun.com>
3453 Trivial change to support GCC's configuration procedure.
3454 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
3455 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
3456 about inconsistency if the preprocessor is set to give errors for
3458 * doc/autoconf.texi (C Compiler Characteristics): Document this.
3460 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
3462 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
3463 and XFile.pm from Automake.
3464 * lib/Autom4te/XFile.pm: Update from Automake.
3466 2003-09-12 Akim Demaille <akim@epita.fr>
3470 2003-09-12 Akim Demaille <akim@epita.fr>
3472 * config/config.guess, config/config.sub, config/missing,
3473 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
3476 2003-09-12 Akim Demaille <akim@epita.fr>
3478 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
3481 2003-09-11 Akim Demaille <akim@epita.fr>
3483 * doc/autoconf.texi (Header Portability): linux/random.h.
3484 From Peter Hendrickson.
3486 2003-09-10 Akim Demaille <akim@epita.fr>
3488 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
3489 willing to edit the output files.
3491 2003-09-10 Akim Demaille <akim@epita.fr>
3493 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
3495 * tests/mktests.sh: Skip AC_FC_SRCEXT.
3496 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
3498 2003-09-09 Akim Demaille <akim@epita.fr>
3500 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
3501 Reported by Gary Vaughan.
3502 * bin/autom4te.in (handle_m4): Likewise.
3504 2003-09-09 Akim Demaille <akim@epita.fr>
3506 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
3509 2003-09-07 Paul Eggert <eggert@twinsun.com>
3511 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
3512 Improve the accuracy of the wording about obsolescence.
3513 From a suggestion by Ian Lance Taylor in
3514 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
3516 2003-09-05 Paul Eggert <eggert@twinsun.com>
3518 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
3519 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
3521 2003-09-04 Akim Demaille <akim@epita.fr>
3523 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
3526 2003-09-04 Akim Demaille <akim@epita.fr>
3528 * bin/autom4te.in: Use &fatal where more appropriate than &error.
3529 (freeze): When exiting, use $exit_code.
3530 * lib/autoconf/fortran.m4: Comment changes.
3532 2003-09-04 Akim Demaille <akim@epita.fr>
3534 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
3536 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
3538 Add support for newer Fortran dialects. The F77 interface is
3539 unchanged, and continues to support Fortran 77. New FC macros
3540 correspond to all the old F77 macros, with output variables FC,
3541 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
3542 available dialect, but older dialects can be specified. There are
3543 new macros AC_FC_SRCEXT to set the source extension, and
3544 AC_FC_FREEFORM to accept free-form source files.
3546 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
3548 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
3549 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
3550 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
3551 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
3552 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
3553 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
3554 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
3555 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
3556 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
3557 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
3558 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
3559 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
3560 AC_FC_SRCEXT, AC_FC_FREEFORM):
3562 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
3563 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
3564 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
3565 Rewrite in terms of the above.
3566 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
3567 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
3568 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
3569 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
3571 2003-09-02 Paul Eggert <eggert@twinsun.com>
3573 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
3574 Document problems with timestamp resolution that 'make', 'cp -p', and
3577 2003-08-27 Akim Demaille <akim@epita.fr>
3579 * tests/m4sugar.at (cross_warning): Make sure to enable the
3580 output, so that we can track spurious m4sugar output.
3581 * tests/local.at: Require 2.57.
3582 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
3583 are defaulted by AT_CHECK anyway.
3584 Use AT_CHECK_AUTOM4TE.
3585 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
3588 2003-08-27 Akim Demaille <akim@epita.fr>
3590 * bin/autoheader.in: Issue the "Using auxiliary..." message only
3591 when -Wobsolete is set.
3592 Set it on by default.
3593 Suggested by Klee Dienes.
3595 2003-08-27 Akim Demaille <akim@epita.fr>
3597 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
3601 2003-08-26 Akim Demaille <akim@epita.fr>
3603 * doc/autoconf.texi (Output): Make clear that one can run code
3606 2003-08-25 Akim Demaille <akim@epita.fr>
3608 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
3611 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
3613 * bin/autoreconf.in (parse_args): Do not pass --no-force to
3614 Automake versions prior to 1.8.
3616 2003-08-25 Akim Demaille <akim@epita.fr>
3618 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
3621 2003-08-24 Akim Demaille <akim@epita.fr>
3623 * configure.ac: Bump to 2.57c.
3625 2003-08-22 Akim Demaille <akim@epita.fr>
3629 * Makefile.cfg (local-checks-to-skip): New.
3630 * Makefile.maint (local-check): Rename as...
3631 (local-checks-available): this.
3634 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
3635 * configure.ac: Require Automake 1.7.6.
3637 2003-08-22 Akim Demaille <akim@epita.fr>
3639 Output stack traces in warnings.
3641 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
3642 Replace the former...
3643 (m4_warn): Pass the call stack to _m4_warn.
3644 * bin/autom4te.in: Adjust to output the call stack.
3645 * tests/m4sugar.at (m4@&t@_warn): Adjust.
3647 2003-08-22 Akim Demaille <akim@epita.fr>
3649 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
3650 * bin/autom4te.in: Adjust.
3652 2003-08-21 Akim Demaille <akim@epita.fr>
3654 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
3656 (&getopt): Adjust the note and verb channels, depending upon
3658 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
3659 * bin/autoupdate.in: Adjust.
3660 Use &verb, not &verbose.
3662 2003-08-21 Akim Demaille <akim@epita.fr>
3664 * bin/autoheader.in (&parse_args): Use &parse_warnings and
3666 ($help): Use Autom4te::ChannelDefs::usage.
3667 * bin/autoscan.in: Use Autom4te::ChannelDefs.
3668 * lib/Autom4te/General.pm: Don't export error: you don't own it.
3670 2003-08-21 Akim Demaille <akim@epita.fr>
3672 First stab at preserving warnings between calls to autom4te,
3673 including when the cache is used.
3675 There are still several issues: (i) there are too many runs of m4
3676 (one for include, one for warnings, and some more), (ii) warnings
3677 spreading on several lines are not handled gracefully, (iii) the
3678 code meant to have the call stack display for errors does not work
3679 (its handling should move from m4 to autom4te).
3681 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
3683 (@preselect): Add m4_warn.
3684 ($exit_status): Remove, use $exit_code.
3685 ($help): Use Autom4te::ChannelDefs::usage.
3686 (&handle_m4): No longer define the m4_warnings.
3687 At each run, extract and report the warnings.
3688 Always cache the result, including if the exit status is on
3689 failure, since if nothing changes, we should result in the same
3690 failure, hence we can use the cache.
3691 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
3692 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
3694 (m4_warn): Redefine as a do-nothing: it is its invocation that
3695 matters, as warnings are now reported via traces.
3696 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
3697 the contents of m4_warn: make it _call_ m4_warn, so that tracing
3698 the latter reveals calls to the former.
3702 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
3704 2003-08-21 Akim Demaille <akim@epita.fr>
3706 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
3709 2003-08-21 Akim Demaille <akim@epita.fr>
3711 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
3713 * lib/Autom4te/ChannelDefs.pm: Doc typos.
3714 (&parse_warnings): Accept a list of warning requests.
3715 (&usage): Return a string, not a side effect.
3716 (cross): New warning category.
3718 2003-08-21 Akim Demaille <akim@epita.fr>
3720 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
3721 (&require_configure_ac): Accept an optional directory argument.
3722 ($configure_ac): Remove.
3723 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
3725 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
3726 * bin/autoscan.in: Adjust.
3728 2003-08-20 Akim Demaille <akim@epita.fr>
3730 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
3731 Reported by Alexandre Duret-Lutz.
3733 2003-08-20 Akim Demaille <akim@epita.fr>
3735 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
3736 * bin/autom4te: Adjust.
3737 In particular, be Autoconf tools are really silent when properly
3738 working, bind the verbosity of the 'note' channel to $verbose.
3739 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
3740 (&xsystem, &contents): Remove, since they are exported by...
3741 * lib/Autom4te/FileUtils.pm: this.
3743 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
3744 * lib/Autom4te/FileUtils.pm: here.
3746 2003-08-20 Akim Demaille <akim@epita.fr>
3748 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
3749 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
3752 2003-08-20 Akim Demaille <akim@epita.fr>
3754 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
3755 (autom4te-update): New.
3756 * Makefile.cfg (update): Bind autom4te-update.
3758 2003-08-19 Derek Price <derek@ximbiot.com>
3760 * lib/autotest/general.m4: Comment various HELP_* diversions.
3761 (PARSE_ARGS_BEGIN): New section for option parsing related
3763 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
3764 package specific options and associated help.
3766 2003-08-19 Akim Demaille <akim@epita.fr>
3768 * config/announce-gen, Makefile.cfg: New.
3769 * Makefile.am: Adjust.
3770 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
3772 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3774 * lib/autom4te.in (Automake-preselections): Preselect
3775 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
3778 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3780 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
3781 (Autoconf-without-aclocal-m4): ... this new language.
3782 * doc/autoconf.texi (autom4te Invocation): Mention
3783 Autoconf-without-aclocal-m4.
3785 2003-08-18 Derek Price <derek@ximbiot.com>
3787 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
3788 RUN-IF-PASS optional arguments.
3790 2003-08-18 Derek Price <derek@ximbiot.com>
3792 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
3794 2003-08-16 Derek Price <derek@ximbiot.com>
3796 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
3797 STDOUT & STDERR arguments.
3799 2003-08-14 Derek Price <derek@ximbiot.com>
3801 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
3802 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
3803 shorter column three. Add DESCRIPTION to log file content.
3805 2003-08-13 Derek Price <derek@ximbiot.com>
3807 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
3810 2003-08-12 Derek Price <derek@ximbiot.com>
3812 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
3813 (AT_CHECK_NOESCAPE): Move core functionality to...
3814 (_AT_CHECK): ...this new macro.
3816 2003-08-07 Derek Price <derek@ximbiot.com>
3818 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
3819 (AT_CHECK_NOESCAPE): ...to this new macro.
3821 2003-07-31 Paul Eggert <eggert@twinsun.com>
3823 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
3824 in Bash 2.01. Problem reported by Brian Gough in
3825 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
3827 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
3829 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
3830 -lcrt1.o, for OS X. (trivial change)
3832 2003-07-07 Paul Eggert <eggert@twinsun.com>
3834 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
3835 inside '#ifndef __cplusplus'. Problem reported by
3838 2003-07-06 Bill Clarke <llib@computer.org>
3840 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
3841 'long', not 'int', for benefit of Sun's recent C++ compilers
3842 (trivial change). See:
3843 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
3844 (This really should be 'intptr_t', not 'long', but that would
3847 2003-06-25 Akim Demaille <akim@epita.fr>
3849 * lib/Makefile.am (autom4te.cfg): Make it read only.
3850 Depend on Makefile since it contains substitutions.
3852 * lib/autom4te.in (args): Add local.at? for Autotest args.
3853 This change was made on autom4te.cfg which is generated.
3854 Reported by Raja R. Harinath.
3856 2003-06-25 Akim Demaille <akim@epita.fr>
3858 * doc/autoconf.texi (Header Portability): sys/mount.h.
3859 From Gareth McCaughan.
3861 2003-06-23 Akim Demaille <akim@epita.fr>
3863 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
3864 not all of them. This fixes 1. the fact that when testing
3865 Autoconf there are many many config.log, 2. the incorrect use of
3866 top_srcdir to find config.log.
3867 Don't mix the detailed output of failed test with the summary of
3868 failures. Rather, append detailed log afterwards.
3870 2003-06-23 Akim Demaille <akim@epita.fr>
3872 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
3873 always run: output config.log on $at_group_log.
3875 2003-06-23 Akim Demaille <akim@epita.fr>
3877 * tests/torture.at (#define header templates): Don't use quotes in
3878 C++ comments as it puzzles Emacs' sh font-lock-mode.
3880 2003-06-23 Akim Demaille <akim@epita.fr>
3882 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
3883 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
3884 * tests/atspecific.m4: Rename as...
3885 * tests/local.at: This.
3886 * tests/suite.at: Move the globals into...
3887 * tests/local.at: here.
3888 * tests/Makefile.am: Adjust.
3889 * doc/autoconf.texi (testsuite Scripts): Adjust.
3891 2003-06-21 Kevin Ryde <user42@zip.com.au>
3893 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
3894 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
3895 ensuring we add -std1 for full-ANSI.
3897 * doc/autoconf.texi (hdrindex): New macro.
3898 Add index entries for portability of various standard header files.
3900 2003-06-20 Akim Demaille <akim@epita.fr>
3902 * configure.ac: Bump to 2.57b.
3904 2003-06-20 Akim Demaille <akim@epita.fr>
3908 2003-06-20 Akim Demaille <akim@epita.fr>
3910 * bin/autom4te.in: Don't rely on $HOME being defined.
3911 Reported by Marc Espie as PR/233.
3913 2003-06-20 Akim Demaille <akim@epita.fr>
3915 * lib/autotest/general.m4: Use at_times_file only if used.
3918 2003-06-20 Akim Demaille <akim@epita.fr>
3920 * config/config.guess, config/config.sub, config/elisp-comp,
3921 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
3922 Update from masters.
3924 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
3926 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
3927 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
3928 (TEST_SCRIPT): New diversion.
3929 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
3930 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
3931 (AT_INIT): Support for expected failures.
3933 2003-06-02 Akim Demaille <akim@epita.fr>
3935 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
3937 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
3938 Autoconf nor Automake.
3939 (&contents): New, from Automake.
3942 2003-05-28 Paul Eggert <eggert@twinsun.com>
3944 * NEWS, doc/autoconf.texi (Particular Functions),
3945 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
3946 is the inverse of localtime.
3948 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
3950 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
3951 (handle_exec_errors): New function. Work around $! being
3952 altered by WEXITSTATUS.
3953 (xqx, xsystem): Use handle_exec_errors.
3955 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
3957 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
3958 Do not call `_exit()', simply modify `$?'.
3959 (xsystem): Reset $! before running system, and check it afterward.
3960 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
3961 63 for version mismatches.
3963 2003-05-23 Akim Demaille <akim@epita.fr>
3965 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
3966 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
3967 the middle of a line).
3968 * lib/m4sugar/m4sugar.m4: Likewise.
3969 Remove useless spaces in comments.
3971 2003-05-23 Akim Demaille <akim@epita.fr>
3973 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
3974 exit 63, so that we (or Automake's "missing") can tell the
3975 difference with a plain failure.
3976 * doc/autoconf.texi (Notices): Adjust.
3978 2003-05-23 Akim Demaille <akim@epita.fr>
3980 * Makefile.am, bin/Makefile.am, config/Makefile.am,
3981 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
3982 White spaces cleanup.
3984 2003-05-22 Jim Meyering <jim@meyering.net>
3985 Paul Eggert <eggert@twinsun.com>
3987 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
3988 Remove `#include <stdlib.h>' from the list; we should never
3989 make confdefs.h include <stdlib.h> or <cstdlib>, because the
3990 resulting namespace pollution would cause other tests to fail.
3991 Configure scripts run with some older versions of g++ and HP's
3992 aCC would fail due to such an #include. Problems reported by
3993 Matthew Mueller in <http://bugs.debian.org/120704> and by
3995 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
3996 In the test, use the test declaration before including <stdlib.h>,
3997 as that's closer to how it'll be used.
3999 2003-05-23 Akim Demaille <akim@epita.fr>
4001 * doc/autoconf.texi (Header Portability): ucred.h.
4004 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4006 Overhaul Autotest's logging: generate separate log files
4007 in testsuite.dir/NNN/testsuite.log, and append them to
4008 testsuite.log instead of re-running the test verbosely.
4010 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
4011 file descriptor, write 0 to at_status_file instead of setting
4012 at_status=0, initialize some new variables (at_status_file,
4013 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
4014 to rerun the tests, instead append the at_group_log to the
4015 at_suite_log when a test fails.
4016 (AT_SETUP): pipe the test case's output into at_tee_pipe,
4017 with the AS_MESSAGE_LOG_FD redirected to stdout.
4018 (AT_CLEANUP): save the output status in $at_status_file
4019 and restore it, redirect the AS_MESSAGE_LOG_FD back to
4021 (AT_CHECK): since tests are run with a redirected stdout,
4022 and used to be re-run in verbose mode, turn some $at_verbose
4023 into echo, and don't redirect the output of testing stdout
4026 * lib/autotest/autoconf.texi (testsuite Scripts): Update
4027 the name of the debugging directory and information about
4030 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4032 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
4035 2003-05-22 Akim Demaille <akim@epita.fr>
4037 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
4038 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
4039 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
4040 * lib/autoconf/status.m4: Fix and adjust copyright notices.
4042 2003-05-22 Akim Demaille <akim@epita.fr>
4044 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
4045 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
4046 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4047 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
4048 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4049 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4050 * lib/autoconf/status.m4, lib/autoconf/types.m4,
4051 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
4052 * tests/atspecific.m4, tests/base.at, tests/compile.at,
4053 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
4054 * tests/tools.at, tests/torture.at:
4055 Whitespace clean up.
4056 Suggested by Jim Meyering.
4058 2003-05-22 Akim Demaille <akim@epita.fr>
4060 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
4061 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
4062 Reported by Jim Meyering.
4064 2003-05-22 Akim Demaille <akim@epita.fr>
4066 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
4067 Add AC_HELP_STRING to the obsolete macros section.
4069 Use '@.' for sentences that ended in a capital letter.
4072 2003-05-22 Akim Demaille <akim@epita.fr>
4074 * config/config.guess, config/config.sub, config/elisp-comp,
4075 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
4076 * config/texinfo.tex, doc/standards.texi: Update from masters.
4078 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
4080 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
4083 2003-05-21 Akim Demaille <akim@epita.fr>
4085 * bin/autoupdate.in ($m4): Fix quotation.
4086 Reported by Martin Mokrejs.
4088 2003-05-19 Paul Eggert <eggert@twinsun.com>
4090 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
4091 Remove non-ASCII characters.
4093 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
4095 * tests/semantics.at (AC_SEARCH_LIBS): New test.
4096 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
4097 AC_CHECK_HEADERS_NEW): New tests.
4099 2003-05-17 Akim Demaille <akim@epita.fr>
4101 * lib/autoconf/functions.m4: Use the default includes so that
4102 memcmp be declared before being tested.
4103 Reported by Sander Niemeijer.
4104 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
4105 * doc/autoconf.texi (Default Includes): Document
4106 AC_INCLUDES_DEFAULT.
4108 2003-05-17 Akim Demaille <akim@epita.fr>
4110 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
4111 * doc/autoconf.texi (Obsolete Macros): Adjust.
4112 Reported by Werner LEMBERG and Debian Bug 190886.
4114 2003-05-16 Akim Demaille <akim@epita.fr>
4116 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
4117 user name space clashes.
4118 Reported by Bruno Haible.
4120 2003-05-16 Akim Demaille <akim@epita.fr>
4122 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4123 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
4124 them uniform, and more robust to Perl special characters.
4125 Reported by Martin Mokrejs.
4127 2003-05-14 Akim Demaille <akim@epita.fr>
4129 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
4131 2003-05-14 Akim Demaille <akim@epita.fr>
4133 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
4136 2003-05-12 Akim Demaille <akim@epita.fr>
4138 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
4140 From Matthias Andree.
4142 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
4144 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
4147 2003-05-06 Akim Demaille <akim@epita.fr>
4149 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
4150 longer updates aclocal.m4 if useless, (ii) if a file m4_included
4151 by aclocal.m4 is changed it might require the importing of another
4152 m4 extension file, i.e., aclocal must be run.
4154 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
4155 (&parse_args): Use --force with aclocal if required and supported.
4156 (&autoreconf_current_directory): Use &run_aclocal.
4158 2003-05-06 Akim Demaille <akim@epita.fr>
4160 Lock autom4te's cache.
4162 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
4163 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
4164 argument instead of a file name, so that the request file remains
4165 open during the whole autom4te run.
4166 ($icache_file): New.
4167 (&freeze): Lock the $icache_file.
4169 2003-04-29 Derek Price <derek@ximbiot.com>
4171 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
4172 seperator with m4_append_uniq(). It doesn't work.
4173 (AT_CLEANUP): Add `;' to end of at_help_all.
4174 (AT_INIT): Allow --keywords to be specified more than once. When
4175 grepping $at_help_all for keywords, use the field and keyword
4176 seperators to ensure a complete keyword match. Alter at_prev handling
4177 to support the new --keywords behavior.
4179 2003-04-27 Karl Berry <karl@freefriends.org>
4181 * doc/autoconf.texi: Make the dir entries in the autoconf manual
4182 align better with others. I also made some of the individual
4183 entries on one line, for brevity and to make it easier for me to
4184 sort my dir-example file in the Texinfo distribution :).
4186 2003-04-12 Jim Meyering <jim@meyering.net>
4188 * NEWS: Mention the new macro.
4189 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
4190 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
4191 * tests/c.at: Test AC_C_RESTRICT.
4192 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
4194 2003-04-08 Akim Demaille <akim@epita.fr>
4196 * bin/ifnames.in: Skip C++ comments.
4199 2003-04-08 Akim Demaille <akim@epita.fr>
4201 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
4202 From Ilya Zakharevich.
4204 2003-04-08 Akim Demaille <akim@epita.fr>
4206 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
4209 2003-04-01 Derek Price <derek@ximbiot.com>
4211 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
4212 from Akim's checkin of 2003-03-29.
4214 2003-04-01 Derek Price <derek@ximbiot.com>
4216 * tests/torture.at (Configuring subdirectories): Add missing
4217 close-quote for Akim's change from 2003-03-28.
4219 2003-04-01 Akim Demaille <akim@epita.fr>
4221 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
4222 (AC, AT, MS): these.
4223 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
4226 * doc/Makefile.am (CLEANFILES): Adjust.
4227 (TEXI2DVI): Make it --batch.
4229 2003-03-31 Derek Price <derek@ximbiot.com>
4231 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
4232 which removed the main loop.
4233 Thanks to Akim Demaille.
4235 2003-03-29 Akim Demaille <akim@epita.fr>
4237 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
4239 From Ilya Zakharevich.
4241 2003-03-29 Akim Demaille <akim@epita.fr>
4243 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
4244 documentation to read is Autoconf's.
4245 Suggested by Paul Eggert.
4247 2003-03-28 Akim Demaille <akim@epita.fr>
4249 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
4250 reading the section "Present But Cannot Be Compiled" when the
4251 header causes problems.
4253 2003-03-28 Akim Demaille <akim@epita.fr>
4255 * tests/torture.at (Configuring subdirectories): Require aclocal
4256 1.4, otherwise the test fails, as it does support configure.ac.
4257 This fixes the "test 40 failed" bug reports.
4259 2003-03-28 Akim Demaille <akim@epita.fr>
4261 * doc/autoconf.texi (C Compiler): `#line' portability.
4262 From Paul Eggert and Nelson H. F. Beebe.
4264 2003-03-27 Derek Price <derek@ximbiot.com>
4266 * lib/autotest/general.m4: Eliminate main loop and reorganize test
4267 layout in order to allow scripting around test groups.
4269 2003-03-27 Derek Price <derek@ximbiot.com>
4271 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
4272 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
4273 use new diversions in preparation for accepting new arguments and
4274 allowing scripting around tests.
4275 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
4277 2003-03-26 Derek Price <derek@ximbiot.com>
4279 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
4280 obsolete AC_HELP_STRING.
4281 (AC_HELP_STRING): AU_DEFUN to...
4282 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
4283 * tests/m4sh.at (AS_HELP_STRING): New test.
4285 * tests/acgeneral.at: Regenerated.
4287 2003-03-26 Derek Price <derek@ximbiot.com>
4289 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
4290 sense. Verbosify the diversion definitions comment.
4292 2003-03-26 Derek Price <derek@ximbiot.com>
4294 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
4297 2003-03-21 Eric Siegerman <eric_97@pobox.com>
4299 * doc/autoconf.texi (Present But Cannot Be Compiled):
4300 Grammar fixes and minor rewording. (trivial change)
4302 2003-03-06 Paul Eggert <eggert@twinsun.com>
4304 Work around a problem noted by Nelson H. F. Beebe with coreutils
4305 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
4306 2002/05/09) rejects '#line 32768 "configure"' because the line
4308 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
4310 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
4311 * doc/autoconf.texi (Generating Sources): Document this.
4313 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
4315 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
4316 file name for the m4 program, when it has an "exe" file extension.
4317 DJGPP's error messages include the error code in brackets -
4318 remove the error code during normalization.
4320 2003-02-28 Akim Demaille <akim@epita.fr>
4322 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
4324 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
4326 * doc/autoconf.texi (Limitations of Make): Remove the section
4327 about `$<' in inference rules, it was a bogus interpretation of
4328 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
4329 Tru64 make in the "target lookup" section.
4330 (Automake): Automake 1.5+ no longer requires special tools to be
4331 present on the developer's host.
4333 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
4335 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
4336 to a shell that can handle redirection or quoting correctly.
4337 Override SHELL with the shell detected by configure.
4338 Use of $^O suggested by Tim van Holder.
4339 * bin/autom4te.in (BEGIN): Likewise.
4340 * bin/autoreconf.in (BEGIN): Likewise.
4341 * bin/autoscan.in (BEGIN): Likewise.
4342 * bin/autoupdate.in (BEGIN): Likewise.
4343 * bin/ifnames.in (BEGIN): Likewise.
4345 * bin/ifnames.in: Add final newline to help and version messages.
4347 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
4348 to cope with DOS-style absolute paths, when constructing
4351 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
4352 When constructing paths with IFS=:, quote the path. If we're
4353 constructing a DOS-style absolute path, we don't want to split it
4356 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
4359 2003-02-25 Pavel Roskin <proski@gnu.org>
4361 * bin/autoheader.in: Add missing newline when printing
4362 suggestion how change AC_DEFINE call.
4364 2003-02-24 Paul Eggert <eggert@twinsun.com>
4366 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
4367 2002-09-01 patch by replacing "test -n" with "test -z".
4368 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
4369 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
4371 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
4372 to fix a mismatch between example and discussion.
4374 2003-02-24 Kevin Ryde <user42@zip.com.au>
4376 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
4377 format starting with "-".
4379 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4381 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
4382 is not portable inside Makefile.
4384 2003-02-20 Akim Demaille <akim@epita.fr>
4386 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
4387 compiler says yeah, but preproc says nope, compiler is right.
4388 Conversely, prompt the reader to send a bug report to the
4389 maintainers of the package, not of Autoconf.
4391 2003-02-20 Klee Dienes <kdienes@apple.com>
4393 * bin/autoreconf.in (autoreconf_current_directory): Properly
4394 handle an empty aclocal.m4.
4396 2003-02-20 Akim Demaille <akim@epita.fr>
4398 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
4402 2002-12-23 Paul Eggert <eggert@twinsun.com>
4404 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
4405 innocuous variant befor including <limits.h> or <assert.h>. This
4406 works around a bug reported by Albert Chin: HP-UX 11i
4407 (and earlier versions) have a <limits.h> that declares
4408 gettimeofday and many other functions.
4410 2002-12-03 Paul Eggert <eggert@twinsun.com>
4414 * NEWS, configure.ac: Update version.
4416 * doc/fdl.texi: Upgrade to FDL version 1.2.
4418 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
4419 nontrivially in main's body, so that f's external declaration is
4420 not optimized away in AIX. This should fix the bug reported by
4422 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
4424 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
4425 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
4426 defined, to support freestanding compilers. This should fix the
4427 bug reported by Momchil Velkov in
4428 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
4430 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
4431 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
4432 obsolete AC_CHECK_TYPE. The missing empty arg was reported
4433 by Simon Josefsson in
4434 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
4436 * Makefile.maint (www-gnu): New macro.
4437 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
4438 the location has moved.
4440 2002-12-02 Martin Frydl <martin@systinet.com>
4442 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
4443 \(.*\) match is too long and there is something more to be checked.
4444 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
4446 2002-11-15 Akim Demaille <akim@epita.fr>
4450 * config/install-sh: chmod +x.
4452 * config/move-if-change: Indenting changes.
4453 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
4454 * configure.ac (AM_INIT_AUTOMAKE): here.
4457 2002-11-14 Akim Demaille <akim@epita.fr>
4461 * config/config.guess, config/config.sub, config/install-sh:
4462 Update from masters.
4464 2002-11-14 Akim Demaille <akim@epita.fr>
4466 * Makefile.maint: Sync with Bison, i.e.:
4467 (po-check): Scan .l and .y files instead of the
4468 .c and the .h files that they generate. This fixes the bug
4469 reported by Tim Van Holder in:
4470 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
4471 Look for N_ as well as for _. Try to avoid matching #define for
4475 2002-11-14 Akim Demaille <akim@epita.fr>
4477 * doc/autoconf.texi (C Compiler): Compiling several files at once.
4478 From Paul Eggert and Albert Chin-A-Young.
4480 2002-11-14 Akim Demaille <akim@epita.fr>
4482 * doc/autoconf.texi (C Compiler): Solitary backslashes.
4483 From Paul Eggert and Albert Chin-A-Young.
4485 2002-11-14 Kevin Ryde <user42@zip.com.au>
4487 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
4488 than assigning in main, to avoid HP cc +O3 optimizing it away.
4490 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
4492 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
4493 option. Process --recheck after parsing all options. Pass -q
4494 option to configure on --recheck.
4495 (AC_OUTPUT): Pass -q from configure to config.status.
4496 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
4497 arguments to record.
4498 * doc/autoconf.texi (config.status Invocation): Document
4499 config.status -q option.
4501 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
4503 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
4504 Makefile.in if Makefile.am exists.
4505 (output): Strip `.am' from Makefiles. Don't
4506 output AC_CONFIG_FILES if no Makefiles were found.
4508 2002-11-07 Akim Demaille <akim@epita.fr>
4510 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
4511 (local_updates): New.
4512 * Makefile.maint: Update, from CVS Bison.
4513 (local_updates): New.
4515 2002-11-06 Akim Demaille <akim@epita.fr>
4517 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
4518 declaration in extern "C" too.
4519 Reported by Roberto Bagnara.
4521 2002-11-06 Akim Demaille <akim@epita.fr>
4523 * tests/torture.at (Configuring subdirectories): Don't use grep
4525 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
4526 Reported by Ezra Peisach.
4528 2002-11-05 Akim Demaille <akim@epita.fr>
4530 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
4532 We _have_ to stop using the old compatibility scheme that tried to
4533 avoid useless backslashes because Libtool 1.4.3 contains a
4534 AC_DEFINE([error_t], [int],
4535 [Define to a type to use for \`error_t' if it is not
4536 otherwise available.])
4537 We _have_ to quote the single quote and backslashes with \. The
4538 old compatibility scheme saw that ` was backslashed, and therefore
4539 did not quote the single quote. Hence before this patch, Autoconf
4540 was not compatible with Libtool.
4542 2002-11-04 Paul Eggert <eggert@twinsun.com>
4544 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
4545 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
4546 LC_NAME, LC_PAPER, LC_TELEPHONE.
4547 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
4549 2002-11-04 Akim Demaille <akim@epita.fr>
4553 * Makefile.maint (update, cvs-update, po-update, do-po-update):
4555 * config/texinfo.tex: Update.
4557 2002-11-03 Akim Demaille <akim@epita.fr>
4559 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
4561 (&autoreconf): here.
4562 ($help, $make, &parse_args, &autoreconf_current_directory):
4564 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4566 2002-10-31 Bruno Haible <bruno@clisp.org>
4568 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
4569 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
4570 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
4571 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
4572 to ac_cv_func_realloc_0_nonnull.
4573 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
4575 2002-10-31 Akim Demaille <akim@epita.fr>
4577 The test suite was no longer checking for trailing envvars and files.
4579 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
4580 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
4582 2002-10-31 Akim Demaille <akim@epita.fr>
4584 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
4585 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
4586 Make variable, not a shell variable.
4587 Suggested by Bruno Haible.
4589 2002-10-31 Akim Demaille <akim@epita.fr>
4591 * bin/autom4te.in (load_configuration): Reject #args out of any
4594 2002-10-31 Akim Demaille <akim@epita.fr>
4596 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
4597 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
4598 (_AC_RUN_IFELSE): Use it.
4599 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
4600 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
4601 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
4604 2002-10-30 Akim Demaille <akim@epita.fr>
4606 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
4607 * doc/autoconf.texi (autom4te Invocation): Adjust.
4608 Suggested by Tim van Holder.
4610 2002-10-29 Paul Eggert <eggert@twinsun.com>
4612 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
4613 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
4614 Problem reported by Bruno Haible.
4616 2002-10-29 Akim Demaille <akim@epita.fr>
4618 * doc/autoconf.texi (Header Templates): Put also in words what the
4619 pictures says to assist free style readers.
4620 (Customizing autom4te): s/--cache=/--cache /.
4622 2002-10-29 Akim Demaille <akim@epita.fr>
4624 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
4626 sparc_address_test returns void.
4627 Use it with an argument, as prototyped.
4630 2002-10-29 Akim Demaille <akim@epita.fr>
4632 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
4633 configure.in, not configure.ac.
4634 Reported by Bruno Haible.
4636 2002-10-29 Akim Demaille <akim@epita.fr>
4638 * tests/torture.at (Deep Package): New test.
4639 (Configuring subdirectories): Don't use a testSubDir as Autotest
4642 2002-10-29 Akim Demaille <akim@epita.fr>
4644 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
4645 * doc/autoconf.texi (Invoking autom4te): Rename as...
4646 (autom4te Invocation): this, for consistency with the other nodes.
4648 2002-10-29 Akim Demaille <akim@epita.fr>
4650 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
4651 Reported by Ralf Corsepius.
4653 2002-10-29 Akim Demaille <akim@epita.fr>
4655 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4656 characters is a back as an `obsolete' warning now.
4657 Reported by Ralf Corsepius.
4659 2002-10-28 Akim Demaille <akim@epita.fr>
4661 * configure.ac: Bump to 2.54c.
4663 2002-10-28 Akim Demaille <akim@epita.fr>
4667 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
4669 2002-10-28 Akim Demaille <akim@epita.fr>
4671 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
4672 m4 executable names, and different GNU M4 version.
4673 Reported by Ezra Peisach and Paul Jarc.
4675 2002-10-27 Akim Demaille <akim@epita.fr>
4677 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
4680 2002-10-27 Akim Demaille <akim@epita.fr>
4682 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
4683 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
4684 Die when a simple Fortran program cannot be compiled.
4685 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
4686 Issue a warning if no function is given.
4688 2002-10-27 Akim Demaille <akim@epita.fr>
4690 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
4691 Move the documentation of AC_TRY_RUN to...
4692 (Obsolete Macros): here.
4693 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
4694 (autoconf Invocation): Remove the duplicates with `invoking
4696 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
4697 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4699 2002-10-27 Akim Demaille <akim@epita.fr>
4701 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
4702 and AC_LANG_FUNC_LINK_TRY.
4703 (Examining Libraries): Rename as...
4704 (Running the Linker): this.
4705 Document AC_LINK_IFELSE.
4706 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
4707 (Obsolete Macros): here.
4708 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
4709 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
4710 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
4711 * lib/autoconf/headers.m4 (AC_USG): Likewise.
4713 2002-10-27 Akim Demaille <akim@epita.fr>
4715 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
4717 More `check config.log' messages.
4719 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
4720 * doc/autoconf.texi (Printing Messages): Document it.
4721 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
4723 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
4724 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
4725 (_AC_COMPILER_OBJEXT): Likewise.
4726 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
4727 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
4729 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
4732 Deprecate macros with unusual interfaces.
4734 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
4735 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
4737 Document the new ones, and proper style.
4739 * doc/autoconf.texi (Generating Sources): New.
4740 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
4741 (Examining Declarations): Rename as...
4742 (Running the Preprocessor): this.
4743 Document AC_PREPROC_IFELSE.
4744 (Examining Syntax): Rename as...
4745 (Running the Compiler): this.
4746 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
4747 (Obsolete Macros): Move the definition of AC_TRY_CPP and
4748 AC_TRY_COMPILE here.
4750 2002-10-27 Akim Demaille <akim@epita.fr>
4752 Move sections around.
4754 * doc/autoconf.texi (Customizing autom4te): Remove a lost
4756 Reported by Burno Haible.
4757 (Language Choice): Now the first section of...
4758 (Writing Tests): this section.
4759 Make the introduction less C-centric.
4760 (Guidelines, Test Functions): Move to...
4761 (Writing Test Programs): this new section.
4762 (Test Programs): Merge into...
4765 2002-10-27 Akim Demaille <akim@epita.fr>
4767 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
4768 autom4te.in that resulted in the need for two `make' runs.
4770 2002-10-27 Akim Demaille <akim@epita.fr>
4772 * configure.ac: Bump to 2.54b.
4774 2002-10-25 Akim Demaille <akim@epita.fr>
4778 * Makefile.maint: Update from the Coreutils.
4779 (AMTAR): Remove, obsolete.
4780 (automake_repo): Update to redhat.com.
4782 Adjust to the fact that ansi2knr is now hosted by Automake.
4783 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
4784 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
4785 Update from masters.
4786 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
4787 autoscan.pre is not to be installed, and autoscan.list is not to
4789 (CLEANFILES): Add autoscan.list.
4790 (autoscan.list): Disable the cache.
4791 * bin/Makefile.am: Include freeze.mk.
4793 2002-10-25 Akim Demaille <akim@epita.fr>
4795 * bin/autom4te.in (&load_configuration): Take the file as
4797 (&parse_args): Handle -C, --cache.
4799 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
4800 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
4801 * doc/autoconf.texi (Invoking autom4te): Document --cache.
4802 Now a subsection of...
4803 (Using autom4te): This new section.
4804 (Customizing autom4te): New.
4805 (autom4te.cache): Adjust.
4807 2002-10-25 Akim Demaille <akim@epita.fr>
4809 * doc/autoconf.texi (Generic Headers): More information on how to
4810 use AC_CHECK_HEADERS.
4812 2002-10-25 Akim Demaille <akim@epita.fr>
4814 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
4817 2002-10-25 Akim Demaille <akim@epita.fr>
4819 * bin/autoscan.in (output): Output AC_PREREQ.
4820 (%needed_macros): Add AC_PREREQ so that configure.ac without one
4823 2002-10-23 Akim Demaille <akim@epita.fr>
4825 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
4828 2002-10-23 Akim Demaille <akim@epita.fr>
4830 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
4831 Reported by Peter Eisentraut.
4833 2002-10-23 Akim Demaille <akim@epita.fr>
4835 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
4838 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
4839 Eggert's recommandations.
4841 2002-10-22 Akim Demaille <akim@epita.fr>
4843 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
4844 Bison, by Paul Eggert.
4845 * doc/autoconf.texi (Particular Headers): Document it.
4847 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
4849 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
4850 `$ac_configure_args'.
4852 2002-10-22 Akim Demaille <akim@epita.fr>
4854 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
4855 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
4858 2002-10-22 Akim Demaille <akim@epita.fr>
4860 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
4862 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4863 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
4864 (_AC_CHECK_HEADER_NEW): Rename as...
4865 (AC_CHECK_HEADER): this.
4867 2002-10-22 Akim Demaille <akim@epita.fr>
4869 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
4870 words about HP-UX cmp: it was actually a user-written cmp.
4872 2002-10-22 Akim Demaille <akim@epita.fr>
4874 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
4876 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4877 Quote for Perl '' strings, not "".
4878 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
4881 2002-10-22 Akim Demaille <akim@epita.fr>
4883 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4884 characters is a syntax warning now.
4885 (_AS_QUOTE): Accept $2 as list of characters to quote.
4886 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
4887 Quote for Perl, not sh.
4888 * bin/autoheader.in: When $debug, report the file which is
4890 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
4891 `@', to tickle Perl's lists.
4892 Reported by Carlos Velasco.
4894 2002-10-18 Akim Demaille <akim@epita.fr>
4896 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
4897 missing included files _are_ errors.
4898 Thanks to Alexandre Duret-Lutz.
4899 * tests/tools.at (autom4te cache): Adjust.
4900 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
4901 (AT_CHECK_M4SUGAR): Use it.
4902 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
4904 * tests/tools.at (autom4te): Now it does exit 1.
4906 2002-10-17 Akim Demaille <akim@epita.fr>
4908 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
4909 Fixes the `AC_ARG_VAR' test failures.
4910 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
4911 * lib/freeze.mk (check-forbidden-patterns): New.
4912 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
4913 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
4914 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
4916 Reported months ago by H. Merijn Brand.
4918 2002-10-17 Akim Demaille <akim@epita.fr>
4920 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
4922 2002-10-16 Paul Eggert <eggert@twinsun.com>
4924 * Makefile.maint (wget_files): Remove ansi2knr.c.
4925 (ansi2knr.c-url_prefix): Remove.
4927 2002-10-16 Akim Demaille <akim@epita.fr>
4929 Because of caching, some files that no longer exist and are no
4930 longer required can still cause errors.
4931 Reported by Alexandre Duret-Lutz.
4933 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
4934 to frozen files in @ARGV, as @ARGV must remain being a list of
4935 files. Rather, at M4 call sites, use this...
4936 (&files_to_options): New function.
4937 (&freeze): Use &error.
4938 (&up_to_date): If a file that was included according to the cache
4939 is no longer there, then the output is out dated.
4940 (&main): Don't even check whether a file is up to date is anyway
4942 * tests/tools.at (autom4te cache): New.
4944 2002-10-16 Akim Demaille <akim@epita.fr>
4946 * bin/autoconf.as: Kill dead options.
4947 * bin/autoupdate.in (&parse_args): Kill old options.
4948 * bin/autoreconf.in (&parse_args): Remove dead options.
4950 (&autoreconf): Report the directories we enter *and leave*, so
4951 that error messages can be easily located, and use GNU Make
4952 format, so that Emacs' compile mode understands us.
4953 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
4954 if some file was changed instead of `print'.
4955 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
4956 (&parse_args): Remove the dead options.
4957 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
4958 autoheader's quiet mode.
4959 (AT_CHECK_AUTOUPDATE): Likewise.
4960 * tests/tools.at (autoupdate): Adjust.
4961 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
4963 2002-10-11 Akim Demaille <akim@epita.fr>
4965 No longer use CPP to check for the existing of headers: use CC to
4966 check for compilability.
4968 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
4969 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
4970 (_AC_CHECK_HEADER_NEW): Rename as...
4971 (AC_CHECK_HEADER): this.
4973 * lib/autotest/general.m4 (AT_INIT): Include the failed test
4974 numbers in the Subject suggestion.
4976 2002-10-11 Akim Demaille <akim@epita.fr>
4978 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
4979 Suggest using AC_CHECK_DECLS instead.
4981 2002-10-11 Akim Demaille <akim@epita.fr>
4983 * tests/torture.at (AC_ARG_VAR): Have configure report the value
4986 2002-10-11 Akim Demaille <akim@epita.fr>
4988 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
4989 file name to enable parallel executions.
4990 From Sam Varshavchik.
4992 2002-10-08 Akim Demaille <akim@epita.fr>
4994 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
4995 aclocal invocation, as Gettext macros might not be visible to
4997 Instead of blindly running autopoint, scan configure.ac (not the
4998 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
4999 Reported by Paul D. Smith.
5001 2002-10-08 Paul Eggert <eggert@twinsun.com>
5003 Work around problems found when POSIXLY_CORRECT=1 is set.
5004 None of this seems to have anything to do with POSIX, really,
5005 but it's how Perl getopt works.
5006 * bin/autom4te.in (parse_args): Configure GetOpt with
5008 * doc/autoconf.texi (Invoking autom4te):
5009 --warning -> --warnings.
5010 * lib/autom4te.in: --warning -> --warnings.
5012 2002-09-28 Akim Demaille <akim@epita.fr>
5014 * doc/autoconf.texi (autom4te.cache): New section.
5016 2002-09-28 Akim Demaille <akim@epita.fr>
5018 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
5019 (Automake-preselections): Update.
5020 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
5022 2002-09-28 Akim Demaille <akim@epita.fr>
5024 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
5025 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
5026 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5027 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
5029 2002-09-28 Akim Demaille <akim@epita.fr>
5031 * tests/torture.at (Configuring subdirectories): Be robust to
5032 users who use config.site to require for a cache: in this case,
5033 the two last configure runs, using two different sets of
5034 arguments, trigger a legitimate error.
5036 2002-09-28 Akim Demaille <akim@epita.fr>
5038 * tests/m4sh.at (Functions Support, Functions and return Support):
5041 2002-09-28 Akim Demaille <akim@epita.fr>
5043 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
5044 autoheader are Perl programs.
5045 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
5046 (autom4te): Specify that the sources are in the $srcdir.
5047 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5049 2002-09-28 Akim Demaille <akim@epita.fr>
5051 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
5052 (tm_zone): Move their rules to...
5053 * lib/autoconf/types.m4: here, using AN_ macros.
5054 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
5055 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
5056 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
5057 * lib/autoconf/programs.m4: here.
5058 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
5059 (ETAGS_FOR_AUTOCONF): New.
5062 2002-09-28 Akim Demaille <akim@epita.fr>
5064 * lib/autoconf/autoscan.m4: New file.
5065 * lib/autoconf/autoconf.m4: Include it.
5066 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
5067 that were listed in the original autoscan.list.
5068 * lib/autoconf/headers.m4: Similarly with headers.
5069 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
5070 (.m4.m4f): Don't pass --prepend-include, since that's done by
5071 tests/autom4te itself.
5072 * lib/autoscan/Makefile.am: Include freeze.mk.
5073 (autoscan.list): New target --this file is no longer a source.
5074 (autoscan.pre): New file.
5076 2002-09-28 Akim Demaille <akim@epita.fr>
5078 * bin/autoscan.in (@kinds): Make them singular.
5080 (&init_tables): When --debug, report the list of rules to ease
5081 tracking changes in autoscan.list.
5082 * lib/autoscan/autoscan.list (function): Strip comments, sort.
5084 2002-09-28 Akim Demaille <akim@epita.fr>
5086 * lib/autoscan/functions, lib/autoscan/headers,
5087 * lib/autoscan/identifiers, lib/autoscan/makevars,
5088 * lib/autoscan/programs: Merge into...
5089 * lib/autoscan/autoscan.list: this.
5090 * bin/autoscan.in (&init_tables): Adjust.
5092 2002-09-28 Akim Demaille <akim@epita.fr>
5094 * lib/autoscan/functions, lib/autoscan/headers,
5095 * lib/autoscan/identifiers, lib/autoscan/makevars,
5096 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
5097 `functions' line is now prefixed with `function:'.
5098 * bin/autoscan.in (&init_tables): Adjust.
5100 2002-09-28 Akim Demaille <akim@epita.fr>
5102 From now on, autoscan files must always map a macro name to a
5103 word: there is no `default' macro for autoscan.
5105 * bin/autoscan.in (&init_tables): Reject entries with no macro at
5107 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
5110 2002-09-28 Akim Demaille <akim@epita.fr>
5112 * bin/autoscan.in (%c_keywords): Remove.
5113 (&used): Keep only track of the words we might be interested in.
5114 (&output_kind): It is no longer needed to look for non active
5117 2002-09-27 Akim Demaille <akim@epita.fr>
5119 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
5120 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
5121 * lib/autoscan/functions: Adjust.
5122 * doc/autoconf.texi (Particular Functions): Adjust.
5124 2002-09-27 Akim Demaille <akim@epita.fr>
5126 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
5128 Thanks to Bill Moseley and Paul Eggert.
5129 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
5130 the tmpdir must be created.
5131 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
5132 dir be in the build tree, instead of $TMPDIR.
5134 2002-09-27 Akim Demaille <akim@epita.fr>
5136 * bin/autoscan.in: Improve the comments.
5137 (&parse_args): Drop obsolete undocumented options.
5138 (&output_kind): Output warnings.
5139 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
5140 (getwd): Trigger a warning.
5142 2002-09-26 Akim Demaille <akim@epita.fr>
5144 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
5145 Reported by Ralf Corsepius.
5146 * doc/autoconf.texi (autoreconf Invocation): Likewise.
5148 2002-09-26 Akim Demaille <akim@epita.fr>
5150 Single suffix rules and seperated dependencies are not portable.
5152 * doc/autoconf.texi (Installation Directory Variables): Update.
5153 (Limitations of Make): Some about `Single Suffix Rules and
5154 Separated Dependencies'.
5155 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5156 (ifnames, autoscan, autom4te): Un-factor into several rules.
5158 2002-09-25 Paul Eggert <eggert@twinsun.com>
5160 * BUGS (Interoperability bugs): New section. Mention libtool
5161 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
5163 2002-09-24 Paul Eggert <eggert@twinsun.com>
5165 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
5166 make handles suffix-rules differently from GNU make.
5168 * bin/Makefile.am (SUFFIXES, .in): Remove.
5169 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
5170 Move the body of the old .in rule here.
5172 2002-09-16 Akim Demaille <akim@epita.fr>
5174 i960 compilers create `b.out' files by default.
5175 Reported by Ralf Corsepius.
5177 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
5178 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
5180 2002-09-13 Paul Eggert <eggert@twinsun.com>
5182 * doc/autoconf.texi (Particular Headers): Remove obsolete
5183 reference to `struct timezone' in the description of
5186 2002-09-13 Akim Demaille <akim@epita.fr>
5190 * config/config.sub, config/config.guess: Update.
5191 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
5192 * Makefile.am: Adjust.
5194 2002-09-13 Akim Demaille <akim@epita.fr>
5196 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
5197 reading config.log when the compiler is rejected.
5198 Suggested by Guido Draheim.
5200 2002-09-13 Akim Demaille <akim@epita.fr>
5202 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
5203 (chdir_init) might hang when stat'ing mounted directories.
5204 Reported by Vance Shipley.
5206 2002-09-12 Akim Demaille <akim@epita.fr>
5208 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
5211 2002-09-12 Akim Demaille <akim@epita.fr>
5213 * doc/autoconf.texi (Defining Symbols): Present two different
5214 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
5215 difference between 1 argument calls, and 2-3 argument calls.
5217 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
5219 * doc/autoconf.texi: Review grammar and punctuation.
5221 2002-09-11 Paul Eggert <eggert@twinsun.com>
5223 * doc/autoconf.texi: Fix minor formatting, spelling, and
5225 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
5226 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
5229 2002-09-11 Akim Demaille <akim@epita.fr>
5231 * doc/autoconf.texi (Questions): Rename as...
5233 (Defining Directories): New.
5235 2002-09-09 Akim Demaille <akim@epita.fr>
5237 * doc/autoconf.texi (Making testsuite Scripts): Update.
5238 Suggested by Nishio Futoshi.
5240 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
5242 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
5243 plain `@' is wanted.
5245 2002-09-09 Akim Demaille <akim@epita.fr>
5247 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
5248 `duplicates', since the algorithm was too naive and could keep
5249 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
5250 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
5251 Reported by Ralf Corsepius.
5252 * tests/torture.at (Configuring subdirectories): Exercise these
5255 2002-09-09 Akim Demaille <akim@epita.fr>
5257 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
5258 looking for a replacement file.
5259 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
5260 directory is relative.
5261 * doc/autoconf.texi (Generic Functions): Clarify the replacement
5262 directory definition.
5263 Reported by Andreas Schwab and Jim Meyering.
5265 2002-09-06 Akim Demaille <akim@epita.fr>
5267 * doc/autoconf.texi (Setting Output Variables): Clarify what
5268 precious variables are.
5269 Suggested by Pontus Skoeld.
5271 2002-09-05 Akim Demaille <akim@epita.fr>
5273 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5274 (ifnames, autoscan, autom4te): Since we don't only depend on
5275 configure.ac variables (such as VERSION etc.), but also on prefix
5276 and so forth, depend on Makefile, not configure.ac.
5277 Reported by Alexandre Duret-Lutz.
5278 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5280 2002-09-05 Kevin Ryde <user42@zip.com.au>
5282 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
5283 doesn't seem to be confined to ia64, just say "some versions".
5285 2002-09-04 Akim Demaille <akim@epita.fr>
5287 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
5289 * Makefile.am (maintainer-clean-local): Remove.
5290 (MAINTAINERCLEANFILES): Remove COPYING.
5292 2002-09-03 Paul Eggert <eggert@twinsun.com>
5294 * doc/autoconf.texi (Configuration Commands): Remove obsolete
5295 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
5298 2002-09-03 Akim Demaille <akim@epita.fr>
5300 * configure.ac: Bump to 2.53d.
5301 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
5302 as of today, on Automake's team suggestion.
5304 2002-09-03 Akim Demaille <akim@epita.fr>
5308 2002-09-02 Akim Demaille <akim@epita.fr>
5310 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
5312 * configure.ac: Disable SITE_MACRO_DIR.
5314 2002-09-02 Jim Meyering <meyering@lucent.com>
5316 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
5317 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
5318 Also, tweak grammar: s/make sure to/be sure to/.
5320 2002-09-02 Paul Eggert <eggert@twinsun.com>
5322 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
5323 directory names are generally preferable to physical names.
5325 2002-09-02 Akim Demaille <akim@epita.fr>
5327 * lib/Autom4te/General.pm (&update_file): s/die/error/.
5328 Reported by Raja R. Harinath.
5329 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
5330 * bin/autoupdate.in: Use error instead of die.
5332 2002-09-01 Paul Eggert <eggert@twinsun.com>
5334 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
5335 ordinary shell concatenation rather than echo+tr+sed command that
5336 runs afoul of a long-line-related sed bug in Solaris 8.
5338 * bin/autoheader.in (parse_args): --warning -> --warnings.
5340 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
5341 stdout, as traditional "ls" does.
5342 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
5343 _AC_COMPILER_EXEEXT_O): Likewise.
5344 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
5346 * bin/autoconf.as: Add --prepend-include option. This patch was
5347 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
5348 but bin/autoconf.in is generated automatically from bin/autoconf.as.
5350 * bin/autoconf.in, configure: Regenerate.
5352 * doc/autoconf.texi (Special Shell Variables): Mention
5353 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
5355 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
5356 MAILPATH and set PS1, PS2, PS4 to default values, to work
5357 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
5358 For LC_ALL etc, first try to set to "C" as POSIX requires and as
5359 the Autoconf documentation specifies; fall back to "unset" only if
5360 this fails. Use a shell for-loop for this rather than an m4 loop,
5361 to shorten the output script.
5363 2002-08-30 Paul Eggert <eggert@twinsun.com>
5365 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
5366 1003.1-2001's requirements for CDPATH. Give a simpler workaround
5367 for the CDPATH problem. Document PWD.
5368 (Limitations of Builtins): Document the problem that "cd $foo" and
5369 "ls $foo" may refer to different directories in shells conforming
5370 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
5371 example, since the old example is now out of date.
5373 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
5374 FOO" and "ls FOO" talk about different directories; this catches
5375 problems when POSIX 1003.1-2001 "cd" fails due to symlink
5378 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
5379 of rolling our own unset.
5380 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
5381 in practice we needn't worry about CDPATH if unset doesn't work.
5383 * Makefile.in, aclocal.m4, bin/Makefile.in,
5384 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
5385 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
5386 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
5387 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
5388 tests/Makefile.in: Regenerate with Automake 1.6.3.
5390 * config/config.guess, config/config.sub, config/mkinstalldirs:
5393 * configure: Regenerate with self.
5395 2002-08-30 Kevin Ryde <user42@zip.com.au>
5397 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
5400 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5402 * bin/autom4te.in (Request::load): Correctly test for "do" read
5405 2002-08-29 Akim Demaille <akim@epita.fr>
5407 * lib/Autom4te/General.pm (&xqx): New.
5408 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
5409 hand, which is not portable.
5411 * bin/autom4te.in: Use them.
5412 Use &error instead of die.
5413 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5416 2002-08-17 Paul Eggert <eggert@twinsun.com>
5418 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
5419 default list of compilers to try, since it was long ago superseded
5420 by the ksh fc builtin. Suggested by Steven G. Johnson.
5422 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
5424 * doc/autoconf.texi (Invoking autom4te): End the option table,
5425 fixing a bug introduced by the previous patch.
5426 (Limitations of Make): Add a 'target lookup' subentry in the
5427 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
5429 2002-07-29 Mark D. Roth <roth@feep.net>
5431 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
5432 options and use $AUTOM4TE_PATH.
5433 * doc/autoconf.texi: Remove documentation of autom4te
5434 --include-envvar and --site-macro-subdir options and document
5435 use of $AUTOM4TE_PATH.
5436 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
5437 arguments from each language section.
5439 2002-07-29 Paul Eggert <eggert@twinsun.com>
5441 * doc/install.texi: Include copyright symbol in copyright notice.
5443 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
5445 (AM_MAKEINFOFLAGS): New macro.
5446 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
5447 * Makefile.am (INSTALL): Use the new macros.
5448 Use -o rather than --output, since "missing" does not grok --output.
5450 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5452 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
5453 comments do not always work. Never trust the exit status of
5456 2002-07-24 Kevin Ryde <user42@zip.com.au>
5458 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
5459 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
5461 2002-07-23 Paul Eggert <eggert@twinsun.com>
5463 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
5464 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
5465 apparently treats PATH="nonexistent" as if it contained ".".
5466 Bug reported by Stefan `Sec' Zehl.
5468 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5470 * doc/autoconf.texi (Limitations of Make): Mention the special
5471 handling of the obj/ directory by BSD make.
5473 2002-07-20 Kevin Ryde <user42@zip.com.au>
5475 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
5478 2002-07-19 Akim Demaille <akim@epita.fr>
5480 * doc/autoconf.texi (Function Portability): `exit'.
5481 (Programming in M4sh): Ethymology of M4sh.
5483 2002-07-19 Akim Demaille <akim@epita.fr>
5485 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
5487 2002-07-18 Akim Demaille <akim@epita.fr>
5491 2002-07-18 Akim Demaille <akim@epita.fr>
5493 * config/config.guess, config/config.sub: Update.
5495 2002-07-18 Akim Demaille <akim@epita.fr>
5497 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
5500 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
5501 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
5502 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
5504 2002-07-18 Akim Demaille <akim@epita.fr>,
5505 Alexandre Duret-Lutz <duret_g@epita.fr>
5507 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
5508 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
5510 2002-07-17 Russ Allbery <rra@stanford.edu>
5512 * doc/autoconf.texi (Initializing configure): Clarify the
5513 description of the tarname default.
5515 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
5517 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
5518 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
5521 2002-07-17 Akim Demaille <akim@epita.fr>
5523 * lib/Autom4te/General.pm (find_file): Browse the directories in
5524 the order they are given.
5526 2002-07-17 Akim Demaille <akim@epita.fr>
5528 * tests/wrapsh.as, tests/wrappl.as: Merge into...
5529 * tests/wrapper.as: this.
5530 * tests/Makefile.am, configure.ac: Adjust.
5532 2002-07-17 Mark D. Roth <roth@feep.net>
5534 * configure.ac: Add --enable-site-macro-dir option.
5535 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
5536 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
5537 --site-macro-subdir options.
5538 * bin/autoconf.in: Add --prepend-include option.
5539 * bin/autoheader.in: Add --prepend-include option.
5540 * bin/autoreconf.in: Add --prepend-include option.
5541 * bin/autoscan.in: Add --prepend-include option.
5542 * bin/autoupdate.in: Add --prepend-include option.
5543 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
5544 macro directory, remove note that include path directories are
5545 used in reverse order, and document --prepend-include option.
5546 * lib/autom4te.in: Use --prepend-include instead of --include.
5547 * tests/wrapsh.in: Use --prepend-include instead of --include.
5549 2002-07-17 Akim Demaille <akim@epita.fr>
5551 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
5553 * doc/autoconf.texi (Initializing configure): Adjust.
5555 2002-07-17 Akim Demaille <akim@epita.fr>
5557 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
5558 (_AC_FUNC_MALLOC): New.
5559 (AC_FUNC_MALLOC): Use the latter.
5560 Define HAVE_MALLOC to 0 if broken.
5561 * doc/autoconf.texi (Particular Functions): Adjust.
5563 2002-07-16 Akim Demaille <akim@epita.fr>
5565 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
5566 * doc/autoconf.texi (C Compiler): Adjust.
5568 2002-07-09 Akim Demaille <akim@epita.fr>
5570 * doc/autoconf.texi: Properly set the ``header'' part.
5572 2002-07-09 Akim Demaille <akim@epita.fr>
5574 * doc/autoconf.texi (Systemology): Some about Darwin.
5576 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5578 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5579 Don't use AC_REQUIRE in AU_DEFUN.
5581 2002-07-09 Art Haas <ahaas@neosoft.com>
5583 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
5585 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
5587 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5588 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
5589 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
5590 so that Emacs setups GNU style for perl-mode and cperl-mode.
5592 2002-06-27 Paul Eggert <eggert@twinsun.com>
5594 * config/install-sh: Quote $src. Prefer || to test's -o option,
5595 as per "Limitations of Builtins".
5596 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
5597 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5599 * tests/mktests.sh: Use grep instead of fgrep, as per
5600 "Limitations of Builtins".
5602 2002-06-15 Paul Eggert <eggert@twinsun.com>
5604 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
5605 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
5606 so that we consistently test the just-built programs.
5607 * tests/wrappl.as: Likewise.
5609 2002-06-12 Paul Eggert <eggert@twinsun.com>
5611 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
5612 name, so that symlinks to 'autoconf' work properly. Bug reported
5614 * bin/autoheader.in (AUTOM4TE): Likewise.
5615 * bin/autoreconf.in (autoconf, autoheader): Likewise.
5616 * bin/autoscan.in (autom4te): Likewise.
5617 * bin/autoupdate.in (autom4te): Likewise.
5619 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
5620 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
5623 2002-06-11 Andreas Schwab <schwab@suse.de>
5625 * doc/autoconf.texi: Add more dir entries.
5627 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
5629 * bin/autom4te.in ($cache): Don't define using `$me', the name
5630 of the cache should not depend on the name under which autom4te
5633 2002-06-07 Akim Demaille <akim@epita.fr>
5635 * tests/tools.at (autoconf: forbidden tokens, basic)
5636 (autoconf: forbidden tokens, exceptions): Adjust to the change of
5637 words in autom4te.in.
5639 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
5641 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
5642 _AC_LANG_PROGRAM_C_F77_HOOKS.
5644 2002-06-07 Akim Demaille <akim@epita.fr>
5646 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
5648 (AC_REPLACE_FNMATCH): this.
5649 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
5650 AC_FUNC_FNMATCH_GNU.
5652 2002-06-07 Akim Demaille <akim@epita.fr>
5654 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
5655 Rosetta Stone for Unix.
5657 2002-06-07 Akim Demaille <akim@epita.fr>
5659 * bin/autom4te.in (warn_forbidden): When rejecting a token,
5660 suggest m4_pattern_allow.
5661 Suggested by Adam J. Richter.
5663 2002-06-07 Akim Demaille <akim@epita.fr>
5665 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5666 ac_config_libobj_dir.
5667 (AC_CONFIG_LIBOBJ_DIR): New.
5668 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
5669 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
5670 Use ac_config_libobj_dir to find the replacement files.
5671 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
5672 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
5673 (AC_REPLACE_FNMATCH_GNU): these.
5674 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
5675 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
5676 * tests/mktests.sh (ac_exclude_list): Don't check
5677 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
5679 2002-06-06 Paul Eggert <eggert@twinsun.com>
5681 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
5684 * doc/autoconf.texi (Configuration Links): Likewise.
5685 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
5687 2002-06-05 Paul Eggert <eggert@twinsun.com>
5689 * config/config.guess, config/config.sub, config/texinfo.tex:
5690 Update from masters.
5692 2002-05-29 Paul Eggert <eggert@twinsun.com>
5694 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
5695 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5696 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
5698 * lib/autoconf/Makefile.am (check-local): Likewise.
5699 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
5700 * lib/autoconf/types.m4 (commentary only): Likewise.
5701 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
5702 * lib/autotest/Makefile.am (check-local): Likewise.
5703 * lib/m4sugar/Makefile.am (check-local): Likewise.
5704 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
5705 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
5707 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
5708 * doc/autoconf.texi (Particular Programs): Document them.
5709 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
5712 2002-05-27 Paul Eggert <eggert@twinsun.com>
5714 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
5715 * NEWS, doc/autoconf.texi (Particular Types): Document it.
5716 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
5717 instead of AC_MBSTATE_T, which never existed.
5719 2002-05-23 Akim Demaille <akim@epita.fr>
5721 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
5722 version of Autoconf that is discussed.
5724 2002-05-22 Paul Eggert <eggert@twinsun.com>
5726 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
5727 from the default list of compilers to try. Suggested by
5729 * NEWS: Document the above.
5730 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
5732 2002-05-17 Paul Eggert <eggert@twinsun.com>
5734 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
5735 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
5736 This improves on an earlier suggestion by H. Peter Anvin.
5738 2002-05-16 Paul Eggert <eggert@twinsun.com>
5740 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
5741 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
5742 Both macros now accept an optional source-dir arg.
5743 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
5745 * NEWS: Document this.
5746 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
5748 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
5749 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
5750 not for GNU extensions; this undoes part of the 2000-11-03 change,
5751 reverting to 2.13-compatible behavior.
5752 Add new optional argument DIR.
5753 (AC_FUNC_FNMATCH_GNU): New macro.
5755 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
5757 2002-05-08 Paul Eggert <eggert@twinsun.com>
5759 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
5760 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
5761 and it causes a 'test' syntax error if it fails.
5762 Bug reported by Stephen Gildea.
5764 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
5765 If prototypes are supported, use them to check this at compile-time,
5766 instead of trying to check it at run-time. If we must do a run-time
5767 check, assume that setvbuf is standard when cross-compiling, as
5768 nonstandard setvbuf occurs only on ancient and unlikely hosts.
5769 Bug reported by Paul D. Smith.
5771 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
5772 argument specifying location of getloadavg.c. This removes a
5773 FIXME. This idea was taken from Jim Meyering's implementation in
5775 * doc/autoconf.texi (Particular Functions): Document this.
5776 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
5777 that's what the code does; this fixes a bug reported by
5780 2002-05-03 Akim Demaille <akim@epita.fr>
5782 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
5783 autopoint instead of gettextize.
5784 ($uses_alocal): Rename as...
5785 ($uses_aclocal): this.
5786 * doc/autoconf.texi (autoreconf Invocation): Adjust.
5787 Suggested by Bruno Haible.
5789 2002-05-03 Akim Demaille <akim@epita.fr>
5791 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
5793 2002-04-29 Paul Eggert <eggert@twinsun.com>
5795 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
5796 files to be 1 second older; just set them to be the same time.
5797 Also, sleep 1 second after the first aclocal, to work around
5798 problems with sub-second time stamps on the input files.
5800 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
5802 * doc/autoconf.texi: Mention "set -e -x" lossage
5803 under node "Limitations of Builtins".
5805 2002-04-29 Akim Demaille <akim@epita.fr>
5807 * doc/install.texi: Better wording for setting variables when
5809 From Christian Cornelssen.
5811 2002-04-29 Akim Demaille <akim@epita.fr>
5813 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
5814 of lack of $LINENO support, then the test will compare the $LINENO
5815 in testsuite vs. the lineno in the test file. This is wrong, of
5817 Be sure to protect it.
5818 Reported by Patrick Welche.
5820 2002-04-25 Akim Demaille <akim@epita.fr>
5822 * doc/autoconf.texi (Obsolete Macros): Typo.
5823 Reported by Vladimir Volovich.
5825 2002-04-25 Akim Demaille <akim@epita.fr>
5827 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
5828 than some of the input files, hence, on the second run of aclocal,
5829 if some of its input are younger, make them older.
5830 Suggested by Paul Eggert.
5832 2002-04-25 Akim Demaille <akim@epita.fr>
5834 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
5835 Thanks to Paul Eggert.
5837 2002-04-25 Akim Demaille <akim@epita.fr>
5839 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
5840 and ac_subst_vars be sh variables containing the list of
5841 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
5843 (_AC_INIT_PREPARE): Use them to log them.
5844 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
5845 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
5846 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
5847 _AC_SUBST_FILES and _AC_SUBST_VARS.
5848 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
5850 2002-04-24 Akim Demaille <akim@epita.fr>
5852 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
5853 autoheader, so that automake does not complain about a missing
5854 config.h.in that was to be created.
5856 2002-04-23 Akim Demaille <akim@epita.fr>
5858 * bin/autoheader.in (parse_args): --warning takes an argument.
5861 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
5863 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
5864 and bb.out when cleaning up.
5866 2002-04-22 Akim Demaille <akim@epita.fr>
5870 2002-04-22 Akim Demaille <akim@epita.fr>
5872 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
5874 2002-04-22 Akim Demaille <akim@epita.fr>
5876 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
5878 Reported by Gregory Giannoni.
5880 2002-04-22 Akim Demaille <akim@epita.fr>
5882 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
5883 Fixes false failures on Darwin.
5885 2002-04-21 Paul Eggert <eggert@twinsun.com>
5887 * TODO, bin/autoupdate.in, doc/autoconf.texi,
5888 lib/autoconf/general.m4, lib/autoconf/libs.m4,
5889 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
5890 tests/tools.at: Minor spelling and grammar fixes.
5892 2002-04-20 Paul Eggert <eggert@twinsun.com>
5894 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
5895 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
5896 * lib/autotest/general.m4 (AT_INIT): Likewise.
5897 * tests/atgeneral.m4 (AT_INIT): Likewise.
5899 2002-04-19 Paul Eggert <eggert@twinsun.com>
5901 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
5902 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
5903 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
5904 lib/autoconf/functions.m4, lib/autoconf/general.m4,
5905 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
5906 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
5907 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
5908 Minor spelling and grammar fixes.
5910 * doc/autoconf.texi: Follow the outline suggested in the GNU
5911 Sample Texts sections of the Texinfo 4.2 manual. Most
5912 importantly, this makes sure that the copyright notices appear in
5913 all output formats. You probably need Texinfo 4.2 to generate
5916 Fix some bugs when using "$@" when there might be zero positional
5917 arguments in cases where this matters.
5919 * bin/autoconf.as: Rewrite so that the problem does not come up.
5920 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
5921 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
5922 * lib/autotest/general.m4 (AT_INIT): Likewise.
5924 * bin/autoheader.in: Use 'case' statement to work around problem.
5925 * bin/auto4mte.in: Likewise.
5926 * bin/autoreconf.in: Likewise.
5927 * bin/autoscan.in: Likewise.
5928 * bin/autoupdate.in: Likewise.
5929 * bin/ifnames.in: Likewise.
5931 * doc/autoconf.texi (Shell Substitutions): Document the problem.
5933 * lib/autotest/general.m4 (AT_INIT):
5934 Use Zsh alias to work around problem.
5935 * tests/atgeneral.m4 (AT_INIT): Likewise.
5937 * tests/c.at: We can't have zero arguments, so remove workaround
5938 that is not portable to Zsh.
5940 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
5942 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
5943 from aclocal.m4 too.
5945 2002-04-12 Akim Demaille <akim@epita.fr>
5947 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
5949 2002-04-10 Akim Demaille <akim@epita.fr>
5951 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
5952 workaround for ${1+"$@"}.
5953 * doc/autoconf.texi (Shell Substitutions): Explain it.
5954 From Oliver Kiddle and Peter Stephenson.
5956 Have M4sh perform minimal shell sanitizing.
5958 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
5960 (_AS_PREPARE): this new macro.
5962 (AS_INIT): Invoke AS_SHELL_SANITIZE.
5963 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
5965 Adjust Autoconf and Autotest.
5967 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
5968 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
5969 * lib/autotest/general.m4 (AT_INIT): Likewise.
5970 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
5971 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
5974 Use this M4sh to generate Autoconf's shell scripts.
5976 * tests/wrapsh.as: New, precursor of wrapsh.in.
5977 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
5978 on Autotest and M4sh.
5979 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
5980 (wrapsh.in): New target.
5981 * bin/autoconf.as: New, precursor of autoconf.in.
5982 (autoconf.in): New target.
5984 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5986 * doc/autoconf.texi (Limitations of Make): Mention the issue
5987 with indented comments in rules.
5989 2002-04-09 Andreas Schwab <schwab@suse.de>
5991 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
5992 ac_top_builddir when setting ac_abs_top_builddir.
5994 2002-04-06 Kevin Ryde <user42@zip.com.au>
5996 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
5997 (Portable Shell): Cross reference to Systemology.
5999 2002-04-05 Akim Demaille <akim@epita.fr>
6001 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
6002 directories when descending in a SUBDIRS.
6003 Reported by Ezra Peisach.
6005 2002-04-04 Andreas Schwab <schwab@suse.de>
6007 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
6008 contains no literal separators.
6010 2002-04-03 Akim Demaille <akim@epita.fr>
6012 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
6013 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
6014 Use dnl, not the KILL diversion.
6016 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
6017 (AC_CONFIG_LINKS): here.
6019 Don't use the KILL diversion, as it kills spurious output, which
6020 results in failures being hidden.
6021 Use m4_defn where appropriate.
6022 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
6023 after the second argument.
6025 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
6026 syntax, as it is provided by M4sugar.
6027 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
6029 2002-04-03 Andreas Schwab <schwab@suse.de>
6031 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
6032 expanded if $# <= 2.
6034 * bin/autoreconf.in (autoreconf): Run automake after rerunning
6037 2002-04-03 Akim Demaille <akim@epita.fr>
6039 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
6040 (_AC_COMPILER_EXEEXT_REJECT): New.
6041 Also recognize *.bb and *.bbg as compilation byproducts.
6042 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
6043 (_AC_COMPILER_OBJEXT): Use them.
6044 Fixes Debian #138666.
6046 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
6048 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
6050 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
6051 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
6052 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
6053 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
6055 (AC_C_INLINE): Same.
6056 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
6057 * doc/autoconf.texi, NEWS: Document.
6058 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
6061 2002-04-02 Akim Demaille <akim@epita.fr>
6063 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
6064 _AS_MKDIR_P_PREPARE.
6066 2002-03-28 Kevin Ryde <user42@zip.com.au>
6068 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
6069 to avoid versions of HP C which don't allow that.
6071 2002-03-27 Paul Eggert <eggert@twinsun.com>
6073 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
6074 (AS_SHELL_SANITIZE): Invoke it.
6075 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
6077 2002-03-26 Akim Demaille <akim@epita.fr>
6079 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
6081 2002-03-26 Akim Demaille <akim@epita.fr>
6083 * doc/autoconf.texi (Introduction): The GNATS base moved.
6085 2002-03-25 Paul Eggert <eggert@twinsun.com>
6087 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
6088 as POSIX requires, as it doesn't work with Zsh.
6089 * doc/autoconf.texi (Assignments): Document the problem.
6091 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6093 * doc/autoconf.texi (Limitations of Make): Mention more issue
6094 about VPATH, overriding of macros in sub-makes, and handling of
6097 2002-03-21 Paul Eggert <eggert@twinsun.com>
6099 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
6100 problem with here-document buffer boundaries.
6102 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
6103 when reinvoking the shell, to work around problems with installers
6104 who put strange things like "cd" commands in their environments.
6106 2002-03-19 Akim Demaille <akim@epita.fr>
6108 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
6111 2002-03-19 Akim Demaille <akim@epita.fr>
6113 * bin/autoscan.in (scan_file): Specify the location in `&used'
6117 2002-03-19 Akim Demaille <akim@epita.fr>
6119 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
6120 From Nishio Futoshi.
6122 2002-03-19 Akim Demaille <akim@epita.fr>
6124 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
6126 2002-03-18 Paul Eggert <eggert@twinsun.com>
6128 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
6129 (Limitations of Usual Tools): Add mkdir section.
6131 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
6132 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
6133 back on AS_DIRNAME to compute prefixes otherwise; this is
6134 roughly what mkinstalldirs does. That way, we need not have
6135 our own filename disassembler. The old disassembler did not
6136 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
6138 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
6139 Create at_test_all by a series of assignments,
6140 not by a single assignment of a long string. The latter causes ksh
6141 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
6142 presumably because of a buffer overrun.
6144 2002-03-14 Paul Eggert <eggert@twinsun.com>
6146 * lib/autotest/general.m4 (at_times_skip):
6147 Renamed from at_times. Now a boolean.
6148 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
6149 says 'times: not found'.
6151 2002-03-14 Akim Demaille <akim@epita.fr>
6153 * bin/autoreconf.in (&study_gettextize): New.
6154 (&autoreconf): Handle newest gettextize.
6155 Rerun aclocal if needed.
6156 Suggested by Andreas Schwab.
6158 2002-03-13 Akim Demaille <akim@epita.fr>
6160 * doc/autoconf.texi (Special Shell Variables): More about IFS.
6162 2002-03-13 Akim Demaille <akim@epita.fr>
6164 * doc/autoconf.texi (Header Portability): New.
6165 Add information about stdint.h and inttypes.h from Paul Eggert.
6167 2002-03-13 Akim Demaille <akim@epita.fr>
6169 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
6173 2002-03-12 Akim Demaille <akim@epita.fr>
6175 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
6178 2002-03-11 Andreas Schwab <schwab@suse.de>
6180 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
6181 does not do it if --with-lispdir is given.
6183 2002-03-08 Akim Demaille <akim@epita.fr>
6187 2002-03-08 Akim Demaille <akim@epita.fr>
6189 * doc/autoconf.texi (Subdirectories): Clarify that the
6190 subdirectory should exist.
6192 2002-03-08 Akim Demaille <akim@epita.fr>
6194 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
6196 2002-03-08 Akim Demaille <akim@epita.fr>
6198 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
6199 aliases the actual variables, and modifications of the former
6202 2002-03-08 Akim Demaille <akim@epita.fr>
6204 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
6205 because of C-c: have m4 output in tmp files, then mv them.
6207 2002-03-08 Akim Demaille <akim@epita.fr>
6209 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
6210 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6211 * bin/ifnames.in: Copyright update.
6213 2002-03-08 Akim Demaille <akim@epita.fr>
6215 * doc/autoconf.texi (Invoking autom4te): New.
6217 2002-03-05 Akim Demaille <akim@epita.fr>
6219 * doc/autoconf.texi (Specifying Names): Clarification suggested by
6222 2002-03-05 Akim Demaille <akim@epita.fr>
6226 2002-03-04 Akim Demaille <akim@epita.fr>
6228 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
6229 * lib/autoconf/general.m4 (AC_INIT): More informative error
6232 2002-03-04 Akim Demaille <akim@epita.fr>
6234 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
6237 2002-03-04 Akim Demaille <akim@epita.fr>
6239 * doc/autoconf.texi (Transforming Names): Equality between target
6240 and host is irrelevant.
6241 (Specifying Names, Canonicalizing): Remove all references to the
6242 backward compatibility hooks. Rather, collect them all into...
6243 (Hosts and Cross-Compilation): this new section.
6244 * doc/install.texi (System Type): Ditto.
6245 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
6246 that `--host' implies cross-compilation.
6248 2002-03-04 Akim Demaille <akim@epita.fr>
6250 * doc/autoconf.texi (Evaluation Macros): New.
6251 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
6253 (_m4_foreach): Define the variant with immediate evaluation so
6254 that it contains exactly the items, not an expression which
6255 evaluation is the current item.
6256 (m4_re_string, m4_re_word): Don't over quote them.
6258 2002-03-04 Akim Demaille <akim@epita.fr>
6260 Instead of having stacking `shift's evaluated at the end, let
6261 `foreach' loops immediately evaluate them.
6263 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
6264 $*. This is the n-th time I change my mind, but hopefully this is
6267 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
6269 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
6270 it was only a hack for m4_text_wrap.
6271 (m4_car2): Remove, replaced by...
6273 (_m4_foreach): Adjust.
6274 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
6275 m4_bpatsubst for clarification.
6277 2002-03-04 Akim Demaille <akim@epita.fr>
6279 * doc/autoconf.texi (Changequote is Evil): New.
6281 2002-03-03 Kevin Ryde <user42@zip.com.au>
6283 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
6284 on old systems like SunOS.
6286 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
6288 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6289 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6290 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
6291 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
6294 2002-02-28 Akim Demaille <akim@epita.fr>
6296 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
6299 2002-02-28 Kevin Ryde <user42@zip.com.au>
6301 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
6303 2002-02-25 Akim Demaille <akim@epita.fr>
6305 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
6308 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
6310 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
6311 translate \r\n to \n.
6313 2002-02-07 Akim Demaille <akim@epita.fr>
6317 2002-02-07 Akim Demaille <akim@epita.fr>
6319 Fix Autoconf PR/209.
6320 Also reported by Frank Denis.
6322 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
6324 2002-02-07 Akim Demaille <akim@epita.fr>
6326 Fix Autoconf PR/207:
6327 AC_PREFIX_PROGRAM fails with dashed program names
6329 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
6330 variable when looking for the prefix program.
6331 Now it also works for shell variables.
6333 2002-02-07 Akim Demaille <akim@epita.fr>
6335 * doc/autoconf.texi (Limitations of Builtins): More about
6338 2002-02-06 Akim Demaille <akim@epita.fr>
6340 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
6341 case/esac, some shells don't support it.
6342 Reported by Zack Weinberg.
6343 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
6345 2002-02-06 Akim Demaille <akim@epita.fr>
6347 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
6348 sure not to introduce newlines in at_groups.
6349 * lib/autotest/Makefile.am (autotest.m4f): Typo.
6351 2002-02-06 Akim Demaille <akim@epita.fr>
6353 * tests/torture.at (Configuring subdirectories): Skip if aclocal
6356 2002-02-05 Paul Eggert <eggert@twinsun.com>
6358 * doc/autoconf.texi (Specific Compiler Characteristics):
6359 Describe HP-UX cc bug workaround more accurately.
6360 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
6362 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
6363 cross-compilers, too. This undoes some of the most recent change
6366 2002-02-05 Akim Demaille <akim@epita.fr>
6368 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
6369 to make sure they are up to date when `check' is run.
6371 2002-02-05 Akim Demaille <akim@epita.fr>
6373 * doc/autoconf.texi (Making testsuite Scripts): Document
6376 2002-02-05 Akim Demaille <akim@epita.fr>
6378 * lib/freeze.mk: New.
6380 2002-02-05 Akim Demaille <akim@epita.fr>
6382 Implement `autom4te --freeze'.
6384 * bin/autom4te.in (&freeze): New.
6385 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
6386 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
6388 2002-02-05 Akim Demaille <akim@epita.fr>
6390 * bin/autom4te.in (&parse_args): Implement `frozen files are
6391 optional are the sum of the previous files on the command line'.
6392 Also, pass `--reload-state=' on them, so...
6394 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
6395 (M4sh): Rely on M4sugar.
6396 (Autotest, M4sh, M4sugar): Use frozen files.
6398 2002-01-31 Akim Demaille <akim@epita.fr>
6400 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
6401 * doc/autoconf.texi (Initializing configure): Adjust.
6403 2002-01-30 Akim Demaille <akim@epita.fr>
6405 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
6406 alphanumeric to `-' instead of `_'.
6408 2002-01-30 Akim Demaille <akim@epita.fr>
6410 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
6411 for plain code, the other for cross-compilation code. The latter
6412 is now run with GCC only.
6413 * doc/autoconf.texi (Compilers and Preprocessors): New.
6415 2002-01-30 Akim Demaille <akim@epita.fr>
6417 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
6419 * doc/autoconf.texi (Initializing configure): Explain how to
6420 change AC_INIT default values.
6422 2002-01-29 Akim Demaille <akim@epita.fr>
6424 * tests/torture.at (Configuring subdirectories): Use configure.in,
6425 so that aclocal 1.4 works.
6426 Reported by Alexandre Duret-Lutz and Larry Schmitt.
6428 2002-01-28 Akim Demaille <akim@epita.fr>
6430 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
6433 2002-01-28 Akim Demaille <akim@epita.fr>
6435 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
6436 AUTOTEST_PATH *after* it was set.
6437 Don't put `.' in the PATH: the user should be precise and `./' if
6438 needed. In addition, given that the test suite does some `cd', if
6439 `.' is in the path, the `tested programs' sections will report
6440 programs found in the test suite's directory, while during the
6441 tests (performed in their own directory), these programs are no
6442 longer visible. In other words, the results is confusing and
6444 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
6446 2002-01-24 Akim Demaille <akim@epita.fr>
6450 2002-01-24 Akim Demaille <akim@epita.fr>
6452 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
6453 * doc/autoconf.texi: Finally add Akim as an author.
6455 2002-01-24 Akim Demaille <akim@epita.fr>
6457 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
6458 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
6459 Bourne. Use /bin/sh.
6460 From Andreas Buening.
6462 2002-01-24 Akim Demaille <akim@epita.fr>
6464 * config/config.guess, config/config.sub, config/texinfo.tex:
6465 Update from masters.
6467 2002-01-24 Akim Demaille <akim@epita.fr>
6469 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
6470 * config/auxdir.m4, config/cond.m4, config/depend.m4,
6471 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
6472 * config/missing.m4, config/sanity.m4, config/select.m4,
6473 * config/strip.m4: Remove, to ease sync'ing with any version of
6476 2002-01-24 Akim Demaille <akim@epita.fr>
6478 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
6479 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
6480 Reported by Geir Ove Myhr.
6482 2002-01-21 Akim Demaille <akim@epita.fr>
6484 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
6486 2002-01-21 Akim Demaille <akim@epita.fr>
6488 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
6489 message on invalid options.
6490 * bin/autom4te.in (parse_args): Don't use
6491 Autoconf::General::getopt with non valid options.
6493 2002-01-17 Jim Meyering <meyering@lucent.com>
6495 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
6496 $ac_cv_exeext so we don't use an old, invalid, cached value.
6498 2002-01-11 Akim Demaille <akim@epita.fr>
6500 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
6502 * doc/autoconf.texi (Function Portability): Document the strnlen
6504 (Particular Functions): Document AC_FUNC_STRNLEN.
6505 * lib/autoscan/functions: Adjust.
6507 2002-01-06 Akim Demaille <akim@epita.fr>
6509 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
6510 package.m4, since is really depends upon configure.ac, not
6512 * doc/autoconf.texi (testsuite Scripts): Adjust.
6513 * tests/Makefile.am (package.m4): New.
6514 EXTRA_DIST it since its a source.
6516 2002-01-06 Akim Demaille <akim@epita.fr>
6518 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
6519 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
6520 and PACKAGE_BUGREPORT from here...
6521 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
6523 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
6524 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
6525 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
6526 * tests/tools.at (autoheader): Adjust.
6527 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
6529 2002-01-06 Akim Demaille <akim@epita.fr>
6531 * bin/autoscan.in (scan_file): Use `&used'.
6533 2002-01-03 Akim Demaille <akim@epita.fr>
6535 * doc/autoconf.texi (Output): Improved wording regarding use of
6539 2001-12-18 Kevin Ryde <user42@zip.com.au>
6541 * doc/autoconf.texi (Function Portability): Add notes on sscanf
6542 sometimes needing writable input.
6544 2001-12-17 Jim Meyering <meyering@lucent.com>
6546 * doc/autoconf.texi (New Macros): Tweak wording.
6548 2001-12-14 Akim Demaille <akim@epita.fr>
6550 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
6551 trailing files, don't apply `-rf' to files which might not be
6552 created by configure (core, core.*, and *.core), but just `rm -f'.
6553 Suggested by Jonathan Kamens.
6555 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
6557 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
6559 2001-12-14 Akim Demaille <akim@epita.fr>
6561 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
6563 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
6565 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
6566 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
6567 abs_srcdir, top_srcpath to abs_top_srcdir.
6568 (_AC_OUTPUT_FILES): Adjust.
6569 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
6570 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
6571 * tests/wrappl.in, tests/wrapsh.in: Adjust.
6573 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
6575 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
6576 C/Fortran linking on HP/UX, by extracting the Fortran library
6577 search path from the LPATH line in the $F77 -v output.
6579 2001-12-12 Kevin Ryde <user42@zip.com.au>
6581 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
6582 forbidden file descriptors table.
6584 2001-11-26 Akim Demaille <akim@epita.fr>
6586 * bin/autoscan.in (%c_keywords): Build it at top level.
6587 Map to 1 in order to simplify its uses.
6589 2001-11-26 Akim Demaille <akim@epita.fr>
6591 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
6592 Remove $filepath, useless.
6593 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
6594 variables, they are really part of the tokens.
6595 Split the input line on spaces and then look for tokens.
6596 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
6597 because of `lex$U.$(OBJEXT)'.
6598 (&scan_files): Use "@list" instead of join.
6599 * doc/Makefile.am (CLEANFILES): Add *.fns.
6601 2001-11-26 Akim Demaille <akim@epita.fr>
6603 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
6604 Remove, replaced by...
6605 * tests/wrappl.in: Be common for all the Perl executables.
6606 In particular autoscan and autoheader want -I.
6607 * configure.ac: Adjust.
6608 * lib/autoscan/headers: errno.h is portable.
6610 2001-11-26 Akim Demaille <akim@epita.fr>
6612 * bin/autoscan.in (used): New.
6615 2001-11-26 Akim Demaille <akim@epita.fr>
6617 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
6619 (&scan_sh_file): Remove a duplicate pattern.
6620 (&check_configure_ac): Use long options.
6621 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
6623 2001-11-26 Akim Demaille <akim@epita.fr>
6625 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
6626 Before, having a line containing the opening of a multi line
6627 comment made the whole line be ignored.
6629 2001-11-26 Akim Demaille <akim@epita.fr>
6631 * doc/autoconf.texi (Using an Autotest Test Suite): New.
6632 (testsuite Scripts): Be one of its subsection.
6633 (Autotest Logs): New.
6635 2001-11-26 Akim Demaille <akim@epita.fr>
6637 Test groups are now run two directories deeper.
6639 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
6640 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
6642 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
6643 top_srcdir, builddir and top_builddir.
6644 Use `at_*dir' relatively to the directory containing the
6645 suite, use `*dir' when relatively to the current group dir.
6647 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
6649 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
6650 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
6651 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
6654 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6656 * doc/autoconf.texi (Using System Type): Add an example of `case
6657 $host' usage so people quit using `case $target' everywhere.
6659 2001-11-22 Akim Demaille <akim@epita.fr>
6661 * doc/autoconf.texi (Installation Directory Variables): Englishoes
6662 spotted by Jim Meyering.
6664 2001-11-16 Paul Eggert <eggert@twinsun.com>
6666 This patch implements a `long double' suggestion by Oliver Kiddle.
6668 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
6669 static, to catch errors if the value isn't known at compile-time
6670 and the compiler supports dynamic arrays. Change its name from
6671 `_array_' to `test_array' to avoid potential name clashes.
6672 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
6673 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
6674 better than double. Catch a bug in GCC 2.95.2 x86.
6675 * doc/autoconf.texi (C Compiler): Document the above.
6678 2001-11-13 Akim Demaille <akim@epita.fr>
6680 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
6682 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
6684 2001-11-13 Akim Demaille <akim@epita.fr>
6686 * lib/autotest/general.m4 (AT_INIT): After having run the test
6687 group, go back to the initial directory, not to at_suite_dir.
6689 2001-11-13 Akim Demaille <akim@epita.fr>
6691 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
6692 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
6693 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
6695 (AT_CHECK_CONFIGURE): Use absolute paths.
6696 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
6697 The problem is still the old one: there is no means in M4 (that I
6698 know about) to create a defining macro, because there is no means
6699 to create `$1' etc., therefore, the defining macro ``swallows''
6700 all the arguments meant to the defined macro.
6702 2001-11-13 Akim Demaille <akim@epita.fr>
6704 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
6705 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
6707 * tests/aclocal.m4: Remove, as it is no longer used.
6709 2001-11-13 Akim Demaille <akim@epita.fr>
6711 * lib/autotest/general.m4: Change `tests?' into `groups?' in
6712 variable names when referring to a single test group, or to
6713 `suite' when referring to the whole test suite.
6714 `at_last_test' is removed: m4 compute at_format itself.
6715 (at_stdout, at_stder1, at_stderr): New variables.
6716 (AT_CHECK): Use them.
6718 2001-11-13 Akim Demaille <akim@epita.fr>
6720 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
6722 Create `testsuite.dir/003/run' instead of `testsuite.003'.
6723 Do it as soon as a test fails, don't wait till the end of the test
6725 Don't remove $as_me.[0-9]*, since these files no longer exist.
6727 2001-11-13 Akim Demaille <akim@epita.fr>
6729 * tests/tools.at: Use absolute paths, since we are no longer run
6732 2001-11-13 Akim Demaille <akim@epita.fr>
6734 Now that tests are running in their own private dir, there is no
6735 need to list the files to remove at the end of tests groups.
6737 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
6738 (AT_data_files, at_data_files): Remove.
6739 (AT_CLEANUP, AT_DATA): Simplify.
6741 Remove the group dir if !debug && !failed.
6742 * tests/atspecific.m4: Adjust.
6744 2001-11-13 Akim Demaille <akim@epita.fr>
6746 Start a new layout for Autotest: `testsuite' creates
6747 `testsuite.dir' in which the at-check-line etc. files are to be
6748 found, and `testsuite.dir/003' where the test group 3 is run.
6750 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
6751 at_check_line_file, at_format, at_test_normalized, at_group_dir
6753 Create the directories.
6754 Use absolute paths for at- files.
6757 2001-11-11 Michael Matz <matz@kde.org>
6759 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
6761 (m4_car): Properly quote arguments.
6763 2001-11-13 Akim Demaille <akim@epita.fr>
6765 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
6766 with stricter rules on LIBOBJS.
6768 2001-11-12 Paul Eggert <eggert@twinsun.com>
6770 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
6771 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
6774 2001-11-12 Akim Demaille <akim@epita.fr>
6776 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
6778 2001-11-12 Akim Demaille <akim@epita.fr>
6780 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6781 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
6782 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
6783 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
6784 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
6785 specify to what the macro should be defined (typically to 1).
6787 2001-11-12 Akim Demaille <akim@epita.fr>
6789 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
6792 2001-11-12 Akim Demaille <akim@epita.fr>
6794 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
6795 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
6796 definition used by Automake where LEX is +/- "${missing} lex" and
6797 `missing' itself contains variables.
6799 2001-11-12 Akim Demaille <akim@epita.fr>
6801 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
6802 Now that M4sh pushes BODY, the comments were output at the end of
6805 2001-11-08 Akim Demaille <akim@epita.fr>
6807 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
6808 that we can trace macros from aclocal.m4.
6809 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
6810 obsoleted, and redirect to the former anyway.
6811 Reported by Ralf Corsepius.
6813 2001-11-08 Akim Demaille <akim@epita.fr>
6815 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
6816 processed only if present.
6817 * tests/torture.at (Configuring subdirectories): Use autoreconf
6818 instead of successive calls to autoconf.
6819 Add a nonexistent subdirectory to exercise the patch above.
6820 Reported by Ralf Corsepius.
6822 2001-11-08 Kevin Ryde <user42@zip.com.au>
6824 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
6825 doesn't accept .S files.
6827 2001-11-07 Akim Demaille <akim@epita.fr>
6829 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
6830 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
6831 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
6832 * bin/autom4te.in (warn_forbidden): New.
6833 (handle_output): Use it.
6834 Read m4_pattern_forbid with messages.
6836 2001-11-05 Akim Demaille <akim@epita.fr>
6838 * bin/autom4te.in (--normalize): Remove.
6839 * lib/autom4te.in: Adjust.
6841 2001-11-05 Akim Demaille <akim@epita.fr>
6843 * tests/Makefile.am (testsuite): Rename this target as...
6844 ($(TESTSUITE)): this.
6847 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
6849 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
6850 the --prefix option, also remove it's argument.
6852 2001-11-05 Akim Demaille <akim@epita.fr>
6854 * doc/autoconf.texi (testsuite Invocation): Update.
6855 (Writing testsuite.at): Update.
6857 2001-11-03 Akim Demaille <akim@epita.fr>
6859 * doc/autoconf.texi: s/@code/@command/ where appropriate.
6861 2001-11-03 Akim Demaille <akim@epita.fr>
6863 * lib/Autom4te/General.pm: (&catfile, &canonfile)
6864 (&file_name_is_absolute): New, wrappers around routines from
6866 Use and export them.
6867 (&find_configure_ac): Optionally take a directory where to look at.
6868 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
6870 Default @ARGV to `.', not find_configure_ac.
6871 (&autoreconf): Argument is a directory.
6872 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
6873 * doc/autoconf.texi (autoreconf Invocation): Update.
6875 2001-11-03 Akim Demaille <akim@epita.fr>
6877 * lib/Autom4te/General.pm (@export_vars, @export_subs)
6878 (@export_forward_subs): New.
6879 Add basename, dirname, and fileparse.
6881 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
6882 Don't look for aclocal flags if we already know aclocal is not
6884 Move aclocal.m4t only if it exists.
6885 Reported by Ezra Peisach.
6887 2001-11-03 Akim Demaille <akim@epita.fr>
6889 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
6890 passed on command line, defaulting to ./configure.ac if present.
6891 (&maybe_autoreconf, File::Find): Remove, unused.
6892 (&autoreconf): If autoconf is not used, don't try to trace.
6894 2001-11-02 Akim Demaille <akim@epita.fr>
6896 * configure.ac: Bump to 2.52g.
6898 2001-11-02 Akim Demaille <akim@epita.fr>
6902 2001-11-02 Akim Demaille <akim@epita.fr>
6904 * config/config.guess, config/config.sub, doc/standards.texi:
6905 * config/lispdir.m4: Update from masters.
6906 * configure.ac: Bump to 2.52f.
6908 2001-11-02 Akim Demaille <akim@epita.fr>
6910 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
6911 Don't run aclocal when aclocal.m4 is not from aclocal.
6913 Don't run libtoolize and gettextize if --install is not given.
6915 2001-11-01 Paul Eggert <eggert@twinsun.com>
6917 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
6918 be invoked before _AS_LINENO_PREPARE.
6919 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
6920 than character ranges.
6922 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
6923 invoking AS_BASENAME. Set the locale variables to 'C' if
6924 possible, as POSIX requires this to get the traditional
6926 * doc/autoconf.texi (Special Shell Variables): Describe the above.
6928 2001-10-31 Paul Eggert <eggert@twinsun.com>
6930 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
6931 with {}, as that triggers a bug in Bash 2.05.
6933 (_AS_LINENO_PREPARE): Use Sed rather than
6934 Awk. Fix the sed prepass to work even if there are multiple
6935 instances of $LINENO on the same line. Do not substitute for
6936 other variables like $LINENOT. Do not check file dates; such a
6937 check is unreliable on sufficiently fast machines, and removing
6938 the check makes the code simpler and more reliable. Check for
6939 output and chmod failures.
6941 * doc/autoconf.texi (Special Shell Variables): Document
6944 2001-10-31 Akim Demaille <akim@epita.fr>
6946 * tests/Makefile.am (atconfig): Remove this target, Automake
6949 2001-10-31 Akim Demaille <akim@epita.fr>
6951 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
6952 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
6953 provided, while it is optional.
6954 * configure.ac: Adjust.
6956 2001-10-26 Paul Eggert <eggert@twinsun.com>
6958 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
6959 lib/Autom4te/Struct.pm:
6960 Require Perl 5.005_03 instead of just 5.005, as some tests fail
6963 * doc/autoconf.texi (Special Shell Variables): Document some
6964 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
6966 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
6967 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
6968 eval $LINENO is not portable in practice.
6970 2001-10-24 Akim Demaille <akim@epita.fr>
6972 * lib/Autom4te/General.pm (backname): New.
6974 2001-10-24 Akim Demaille <akim@epita.fr>
6976 * m4/: Remove, merged into...
6979 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
6981 * doc/autoconf.texi (Shellology): Mention the problems with bash
6982 2.05's use of ANSI quoting in its `set' builtin.
6984 2001-10-22 Paul Eggert <eggert@twinsun.com>
6986 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
6987 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
6988 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
6989 POSIX decided to standardize on the int flavor of strerror_r.
6990 Always do char* test, as there's no reason not to.
6991 Assign to a char* var, to catch strerror_r that returns int*.
6993 * doc/autoconf.texi (Particular Functions):
6994 Document the above changes. Also, document the fact that
6995 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
6997 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
6999 2001-10-20 Akim Demaille <akim@epita.fr>
7001 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
7002 the executable was missing from the log.
7004 2001-10-20 Akim Demaille <akim@epita.fr>
7006 * lib/Autom4te/General.pm (&update_file): If destination is
7007 unchanged, remove the source.
7008 (&up_to_date_p): Don't be verbose, be debug.
7009 * bin/autoreconf.in: No longer support --m4dir.
7010 (&autoreconf): Display the full path of the configure.ac we are
7013 Be sure to honor --force with gettextize.
7015 * doc/autoconf.texi: Adjust.
7017 2001-10-20 Akim Demaille <akim@epita.fr>
7019 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
7021 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
7022 `intl' is already present, as it refuses unless --force.
7023 (&parse_args): Use -I, --include instead of the old Autoconf
7025 ($localdir, $autoconf_dir): Remove.
7027 (&maybe_autoreconf): New, to preserve $_ for File::Find.
7029 2001-10-19 Jens Petersen <petersen@redhat.com>
7031 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
7032 * doc/autoconf.texi (Particular Programs): Likewise.
7034 2001-10-19 Akim Demaille <akim@epita.fr>
7036 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
7037 file in @configure_input@.
7038 Don't mention `automatically' in addition to `generated'.
7039 * tests/torture.at (#define header templates): Adjust.
7041 2001-10-19 Akim Demaille <akim@epita.fr>
7043 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
7044 comment, explain how to install automatic mode selection.
7047 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
7049 * bin/autoreconf.in (autoreconf): Display the path to the
7050 configure.ac being studied.
7052 2001-10-18 Paul Eggert <eggert@twinsun.com>
7054 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
7055 long, to work around a bug in the HP C compiler version HP92453-01
7058 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
7059 (AS_BASENAME_EXPR): New macro.
7060 (AS_BASENAME_SED): Do not assume GNU sed semantics.
7061 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
7062 and fall back on 'sed' only if the other two fail. This makes
7063 AS_BASENAME act more like AS_DIRNAME.
7064 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
7065 contains white space.
7066 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
7067 Use AS_DIRNAME, since I think it's now DOS-friendly.
7068 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
7069 Allow "dirname //FOO" to return either / or //, as POSIX allows
7072 2001-10-10 Akim Demaille <akim@epita.fr>
7074 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
7075 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
7078 2001-10-10 Akim Demaille <akim@epita.fr>
7080 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
7082 (_AS_ECHO_N): AS_REQUIREs it.
7084 2001-10-10 Akim Demaille <akim@epita.fr>
7086 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
7087 (AC_INCLUDES_DEFAULT): Move to...
7088 * lib/autoconf/headers.m4: here.
7089 * lib/autoconf/types.m4: Comment changes.
7090 * doc/autoconf.texi: Specify where the default includes are used
7091 in the macro prototypes.
7093 2001-10-09 Akim Demaille <akim@epita.fr>
7095 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
7098 2001-10-08 Akim Demaille <akim@epita.fr>
7100 * bin/autoreconf.in (&autoreconf): Remove debugging code.
7101 (&parse_args): Pass verbosity/debugging options to subtools when
7102 --debug, not when --verbose.
7103 * lib/autom4te.in (Autoreconf-preselections): New.
7106 2001-10-08 Akim Demaille <akim@epita.fr>
7108 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
7110 2001-10-08 Akim Demaille <akim@epita.fr>
7112 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7113 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
7115 2001-10-08 Akim Demaille <akim@epita.fr>
7117 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
7118 (Syntax of the shell scripts): Don't.
7119 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
7120 bother with $force since...
7121 * lib/Autom4te/General.pm: does.
7123 2001-10-08 Akim Demaille <akim@epita.fr>
7125 * bin/autoreconf.in: Rewrite in Perl.
7126 * configure.ac: Adjust.
7127 * lib/Autom4te/General.pm (&up_to_date_p): New.
7128 * bin/autom4te.in (&up_to_date_p): Use it.
7130 (&up_to_date): this.
7132 2001-10-08 Akim Demaille <akim@epita.fr>
7134 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
7135 (m4_list_cmp): Use $0 to reinvoke yourself.
7136 (m4_patsubsts): New.
7137 (m4_strip, m4_version_unletter): Use it.
7138 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
7140 2001-10-08 Akim Demaille <akim@epita.fr>
7142 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
7143 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
7144 * lib/autoconf/types.m4, lib/autotest/general.m4,
7145 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
7146 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
7147 m4_bregexp, m4_bpatsubst, and m4_bmatch.
7148 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
7150 2001-10-08 Akim Demaille <akim@epita.fr>
7152 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
7154 2001-10-08 Akim Demaille <akim@epita.fr>
7156 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
7157 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
7158 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
7159 * tests/tools.at, tests/m4sh.at: Use it.
7160 * tests/m4sh.at: Don't rely on Autoconf macros.
7161 (DIRNAME_TEST): Also exercise the expr variant.
7162 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
7163 preferred M4sugar extension is now `.4s'.
7164 * tests/README: Remove.
7166 2001-10-08 Akim Demaille <akim@epita.fr>
7168 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
7169 (m4_provide_if): this.
7170 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
7171 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
7172 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
7173 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
7175 2001-10-08 Akim Demaille <akim@epita.fr>
7177 Use `add-log-current-defun-function' for ChangeLog creation.
7178 Suggested by Tom Tromey.
7180 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
7181 (autotest-mode): Adjust.
7182 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
7183 'comment-region onto `C-c ;'.
7184 Comments are `#', not `dnl'.
7185 (autoconf-current-defun): New.
7186 (autoconf-font-lock-keywords): Recognize `m4_defun'.
7188 2001-10-08 Akim Demaille <akim@epita.fr>
7190 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
7191 * lib/m4sugar/m4sh.m4: here.
7192 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
7193 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
7194 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
7195 include handle the m4_pattern_*, no longer push the
7196 BODY diversion nor set the /bin/sh line, AS_INIT does it.
7197 * lib/autotest/general.m4 (AT_INIT): Likewise.
7198 * tests/base.at: Adjust the tests to use AS_INIT.
7199 * tests/tools.at (AT_DATA_FORBIDDEN): New.
7200 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
7203 2001-10-07 Paul Eggert <eggert@twinsun.com>
7205 * doc/autoconf.texi (config.status Invocation):
7206 CONFIG_SHELL defaults to a shell that supports LINENO if available.
7208 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
7209 shell does not support LINENO, and if CONFIG_SHELL is unset or
7210 empty, and if we can find a shell that does support LINENO,
7211 then set CONFIG_SHELL to that shell and then re-execute
7212 ourselves with CONFIG_SHELL.
7214 2001-10-05 Paul Eggert <eggert@twinsun.com>
7216 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
7217 doesn't exist. Remove *.tmp, as a .tmp file is created during the
7218 build of $(TESTSUITE).
7220 2001-10-05 Akim Demaille <akim@epita.fr>
7222 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
7223 iff we are a bareword.
7224 Reported by Raja R Harinath.
7226 2001-10-05 Akim Demaille <akim@epita.fr>
7228 * tests/m4sh.at (LINENO): New.
7229 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
7230 PATH_SEPARATOR before using it.
7231 Fix the absolute path case/esac pattern.
7232 Provide $0 as fallback for as_myself.
7233 Reported by Raja R Harinath.
7235 2001-10-05 Akim Demaille <akim@epita.fr>
7237 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
7238 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
7240 2001-10-05 Akim Demaille <akim@epita.fr>
7242 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
7243 (AS_SHELL_SANITIZE): here. Use it.
7244 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
7247 2001-10-04 Akim Demaille <akim@epita.fr>
7249 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
7250 combination of Awk and sed to replace $LINENO.
7252 2001-10-02 Paul Eggert <eggert@twinsun.com>
7254 * doc/autoconf.texi (Limitations of Builtins): You can't use
7255 "source"; it's not portable. Remove confusing and
7256 somewhat-incorrect example involving "." and "/".
7258 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
7259 compatibility with POSIX shells.
7261 2001-10-02 Akim Demaille <akim@epita.fr>
7263 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
7264 instead of exec'ing to preserve $0 and $@.
7266 2001-10-01 Akim Demaille <akim@epita.fr>
7268 * tests/testsuite (AT_INIT) <at_pass_list>: New.
7269 Don't run twice the same test.
7271 2001-10-01 Akim Demaille <akim@epita.fr>
7273 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
7274 No longer output the list of tests.
7275 <--list>: New option.
7276 <--full-help>: Remove.
7277 Complete the short/long options duality.
7278 Various small adjustments.
7280 2001-10-01 Akim Demaille <akim@epita.fr>
7282 * doc/autoconf.texi: Use @kbd for user input.
7283 Always use `$' as shell prompt.
7285 2001-09-30 Paul Eggert <eggert@twinsun.com>
7287 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
7288 Don't use nested parenthesization. This patch was originally
7289 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
7290 but somehow it didn't get incorporated then.
7291 * doc/autoconf.texi (Limitations of Usual Tools):
7292 Clarify remark about sed and nested parenthesization.
7294 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
7295 Report an error if the size cannot be determined even though
7297 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7298 Check for `expr' arithmetic overflow, and for compilation failure,
7299 and invoke a new argument $4 if either is discovered.
7300 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
7301 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
7303 2001-09-28 Akim Demaille <akim@epita.fr>
7305 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
7306 * m4/lispdir.m4: New.
7307 * aclocal.m4, configure.ac: Adjust.
7309 2001-09-28 Akim Demaille <akim@epita.fr>
7311 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
7313 (AT_INIT): More the wrapped section to where it will be expanded.
7314 Output `AT_tested' only when existing.
7315 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
7317 2001-09-27 Akim Demaille <akim@epita.fr>
7319 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
7320 generates too many bug reports.
7322 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
7323 status when executing the ACTION-IF-FALSE.
7324 * tests/base.at (AC_TRY_*): Rename as...
7325 (AC_TRY_COMMAND): this.
7326 (AC_RUN_IFELSE): New.
7327 * tests/compile.at (Extensions, C keywords)
7328 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
7329 (Broken/missing compilers, AC_PROG_CPP with warnings)
7330 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
7331 * tests/c.at (Extensions, C keywords)
7332 (Broken/missing compilers, AC_PROG_CPP with warnings)
7333 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
7334 (AC_PROG_CPP requires AC_PROG_CC): here and...
7335 * tests/fortran.at (GNU Fortran 77): there.
7336 * doc/autoconf.texi (autoconf Invocation): Fix the example:
7337 AC_TRY_RUN is about compilation, not shell commands.
7338 (Test Programs): AC_TRY_RUN works as used to be advertised.
7340 2001-09-27 Akim Demaille <akim@epita.fr>
7342 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
7344 Be sure to detect when $LINENO always returns the same value.
7345 Look for the original script, basename($0) is certainly not
7347 Pass the CLI arguments to `$as_me.lineno'.
7349 2001-09-25 Akim Demaille <akim@epita.fr>
7351 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
7352 Be sure the close and reopen the LOG fd before and after using tee
7354 <at_tests_pattern>: Adjust to the new format of at_help_all.
7356 2001-09-23 Akim Demaille <akim@epita.fr>
7358 * bin/autom4te.in (parse_args): There can be several invocations
7361 2001-09-23 Akim Demaille <akim@epita.fr>
7363 * doc/autoconf.texi (Top): Wrap in @ifnottex.
7365 2001-09-23 Akim Demaille <akim@epita.fr>
7367 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
7368 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
7369 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
7370 builddir, buildpath, top_builddir, and top_buildpath.
7371 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
7372 the current directory.
7373 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
7374 variables *before* changing the current directory.
7375 Skip nonexistent dirs.
7376 * doc/autoconf.texi (Preset Output Variables): Document these
7379 * lib/autotest/general.m4: Do not reset AT_victims.
7380 Don't compute at_srcdir nor at_top_srcdir.
7382 * tests/tools.at: Hence use top_srcdir.
7384 * tests/Makefile.am, tests/autoconf, tests/autoheader,
7385 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
7387 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
7388 * tests/wrapsh.in, tests/autoupdate.in: New.
7389 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
7390 * configure.ac: Build the position independent wrappers.
7392 * man/Makefile.am: Now that test wrappers are position
7393 independent, use them and drop dark envvar magic.
7395 2001-09-23 Akim Demaille <akim@epita.fr>
7397 * doc/autoconf.texi (Common Shell Constructs): Rename as...
7398 (Programming in M4sh): this.
7399 Promote to @section.
7401 2001-09-23 Akim Demaille <akim@epita.fr>
7403 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
7404 Pass $at_debug_args to the rerun test suite.
7405 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
7406 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
7409 2001-09-23 Akim Demaille <akim@epita.fr>
7411 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
7413 2001-09-23 Akim Demaille <akim@epita.fr>
7415 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
7418 2001-09-23 Akim Demaille <akim@epita.fr>
7420 * lib/Autom4te/General.pm (&debug): New.
7421 * bin/autom4te.in ($language): Move to...
7423 Handle --language in languages.
7424 * lib/autom4te.in (Automake-selections, Autoheader-selections)
7425 (Autoscan-selections): New.
7428 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
7430 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
7431 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
7432 to match current versions from CVS Automake.
7434 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
7436 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
7439 2001-09-22 Akim Demaille <akim@epita.fr>
7441 * lib/autoconf/autotest.m4: Create `package.m4'.
7442 * tests/Makefile.am (package.m4): Remove.
7444 2001-09-22 Akim Demaille <akim@epita.fr>
7446 Rely on `$LINENO' when possible instead of `__oline__'.
7448 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
7449 `$LINENO' support replacement when not supported.
7450 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
7451 them explicitly to be sure they are not output before this section
7452 (via m4_require). Cosmetic only.
7453 * lib/autoconf/c.m4, lib/autoconf/general.m4,
7454 * lib/autoconf/programs.m4: Replace all the occurrences of
7455 `__oline__' with `$LINENO'.
7456 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
7458 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
7460 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
7461 character (u: -> ue) in a code comment.
7462 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
7465 2001-09-21 Akim Demaille <akim@epita.fr>
7467 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
7468 Suggested by Jim Meyering.
7470 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7472 * lib/autoconf/programs.m4: Use extensions listed in
7473 $ac_executable_extensions when looking for programs.
7475 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7477 * lib/autoconf/general.m4: Fix a small Englisho.
7478 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
7479 setting up ac_dir_suffix and ac_top_builddir.
7480 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
7482 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7484 * doc/autoconf.texi (File System Conventions): Clarify the use of
7486 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
7487 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
7488 be used instead of ':'.
7489 * lib/autotest/general.m4: Replace occurrences of ':' in
7490 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
7492 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7494 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
7495 arguments. Fixed a typo.
7497 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7499 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
7500 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
7502 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7504 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
7505 * bin/autoupdate.in: Ditto.
7506 * bin/autoheader.in: Reworded a few comments.
7507 * bin/autoconf.in: Reworded help text for a few options.
7508 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7509 * bin/autoscan.in, bin/autoupdate.in: Ditto.
7511 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7513 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
7514 already have $file). Set output files to binary mode (helps avoid
7515 CR issues on DOSish systems).
7517 2001-09-19 Akim Demaille <akim@epita.fr>
7519 * lib/autotest/general.m4: Englishoes.
7520 From Tim Van Holder and Alexey Mahotkin.
7522 2001-09-18 Paul Eggert <eggert@twinsun.com>
7524 * doc/autoconf.texi (Common Shell Constructs): New node,
7525 documenting AS_DIRNAME.
7526 (Limitations of Usual Tools): Refer to it when discussing dirname.
7527 Also, update discussion of POSIX standard to reflect latest draft.
7529 * lib/autoconf/c.m4:
7530 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
7532 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7533 Do not pass a first argument with leading '-'
7534 to expr, by parenthesizing initial integers that might be negative.
7536 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
7537 now merely checks whether it is an error to pass an argument
7540 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
7541 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
7542 whether it is a (compile-time) error to pass an argument to
7543 getpgrp. This simpler test supports the revised documentation,
7544 and is all that AC_FUNC_GETPGRP's users really need.
7546 2001-09-18 Akim Demaille <akim@epita.fr>
7548 * doc/autoconf.texi (Limitations of Make) <$<>: New.
7550 2001-09-18 Akim Demaille <akim@epita.fr>
7552 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
7554 * lib/autotest/general.m4 (AT_INIT): Adjust.
7556 2001-09-18 Paul Wagland <paul@wagland.net>
7558 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
7560 Add test for AS_BASENAME.
7561 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
7562 added test. It now correctly handles /1/2/3/, returning '3' not ''.
7563 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
7564 * tests/base.at: Fixed the expected responses. The old ones were
7566 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
7567 the documentation claims it should (and how it behaved in 2.13).
7569 2001-09-18 Akim Demaille <akim@epita.fr>
7571 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
7572 the AC_CONFIG_COMMANDS invocation.
7573 This also solves the name clash problems.
7574 Don't set the package's ID.
7575 * lib/m4sugar/Makefile.am (version.m4): Revamp.
7576 No longer to be shipped.
7577 (version.in): Remove.
7578 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
7579 * lib/autoconf/status.m4: Adjust.
7580 Use `m4_PACKAGE_STRING'.
7581 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
7582 the only optional argument is the name of the test suite.
7583 Expect `package.m4' to define the package signature.
7584 * lib/autom4te.in (Autotest): Add `package.m4?'.
7585 * tests/Makefile.am (package.m4): New.
7586 * tests/suite.at: ifnames is a victim.
7588 2001-09-18 Akim Demaille <akim@epita.fr>
7590 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
7591 AC_LIBSOURCE, AC_CONFIG_FILES.
7592 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
7593 program version string doesn't match the package's.
7594 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
7597 2001-09-17 Paul Eggert <eggert@twinsun.com>
7599 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7600 Allow expression to return any value that can fit into unsigned long
7601 (not int, as before). Check for output errors.
7603 2001-09-17 Bruno Haible <haible@ilog.fr>
7605 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7606 Always include <stdio.h> and <stdlib.h>. Evaluate
7607 the expression in an extra function before these includes. Call
7608 fprintf "%d" only after ensuring the argument is of type 'int'.
7609 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
7611 2001-09-17 Paul Eggert <eggert@twinsun.com>
7613 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
7614 or CFLAGS=-O5. In that case, the linker has a relaxed view of
7615 fatal errors, and AC_CHECK_LIB causes it to include libraries even
7616 when they don't exist.
7618 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
7619 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
7622 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
7623 version with the version used by fileutils 4.1, except use
7624 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
7627 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
7629 2001-09-13 Akim Demaille <akim@epita.fr>
7631 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
7633 Reported by Gerrit P. Haase.
7635 2001-09-13 Akim Demaille <akim@epita.fr>
7637 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
7638 m4_defn'ing is valid.
7640 2001-09-13 Akim Demaille <akim@epita.fr>
7642 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
7643 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
7646 2001-09-13 Akim Demaille <akim@epita.fr>
7648 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
7650 (m4_re_escape): New.
7651 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
7652 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
7653 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
7655 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
7656 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
7657 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
7658 AT_tests_all for consistency.
7660 (AT_VICTIMS): Similar to AT_KEYWORDS.
7661 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
7663 2001-09-13 Akim Demaille <akim@epita.fr>
7665 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
7667 2001-09-13 Akim Demaille <akim@epita.fr>
7669 * lib/autotest/general.m4 (AT_INIT): Create and remove
7670 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
7671 test suites can cohabit.
7673 2001-09-13 Akim Demaille <akim@epita.fr>
7675 * tests/mktests.sh: Don't output banners for empty test files.
7677 2001-09-13 Akim Demaille <akim@epita.fr>
7679 Test suites can be run independently of configure.
7681 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
7682 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
7683 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
7685 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
7687 * lib/autotest/general.m4: Use ECHO_*.
7689 2001-09-13 Akim Demaille <akim@epita.fr>
7691 * bin/ifnames.in: Rewrite in Perl.
7692 * configure.ac: Don't look for AWK.
7693 * tests/tools.at (AWK portability): Remove.
7694 (Syntax of the shell scripts): Don't check ifnames.
7695 (AT_CHECK_PERL_SYNTAX): New.
7696 (Syntax of the Perl scripts): Check ifnames.
7697 * tests/ifnames: New.
7699 2001-09-13 Akim Demaille <akim@epita.fr>
7701 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
7703 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
7704 Remove all the other keywords.
7706 2001-09-10 Akim Demaille <akim@epita.fr>
7708 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
7709 SETUP: no longer used.
7710 Support -k, --keywords.
7711 <at_help>: Be `no', `short', or `long'.
7712 <at_help_all>: New variable.
7714 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
7715 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
7716 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
7717 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
7718 No longer fill the HELP diversion.
7719 (AT_CLEANUP): Use them.
7720 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
7721 (m4_list_append): Remove.
7723 Spread a few keywords in the Autoconf test suite.
7725 2001-09-10 Akim Demaille <akim@epita.fr>
7727 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
7728 PATH_SEPARATOR, let M4sh compute it.
7729 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
7730 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
7732 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
7733 Simplify when the path is not a literal.
7734 (AS_UNAME): Use it to report PATH.
7735 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
7736 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
7737 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
7738 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
7739 normalize the path, and to look for victims.
7740 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
7741 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
7743 2001-09-07 Akim Demaille <akim@epita.fr>
7745 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
7746 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
7747 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
7748 related variables into `at_package_*'.
7749 * lib/autotest/general.m4 (AT_VICTIMS): New.
7750 (AT_INIT): Adjust for stand-alone/embedded test suites.
7751 (AS_MESSAGE_LOG_FD): Define and use it.
7752 * tests/suite.at (AT_VICTIMS): Use it.
7753 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
7756 2001-09-07 Akim Demaille <akim@epita.fr>
7758 Move toward possibly stand-alone test suites.
7760 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
7761 in addition, it introduces useless differences in logs.
7762 (AT_INIT): Let atconfig and atlocal be both optional.
7763 Adjust PATH computation.
7764 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
7766 2001-09-07 Akim Demaille <akim@epita.fr>
7768 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
7771 2001-09-05 Akim Demaille <akim@epita.fr>
7773 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
7774 to avoid GCC warnings.
7777 2001-09-05 Akim Demaille <akim@epita.fr>
7779 * bin/autom4te.in: --language is -l, not -s.
7781 2001-09-05 Akim Demaille <akim@epita.fr>
7783 Be ready to handle filenames as stupid as `dnl.at', for if even
7784 the maintainer is dumb enough to do that...
7786 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
7787 excellence in M4 quotation: consider `__file__' is active.
7789 And BTW, when invoking m4, pass the --include in the right order:
7792 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
7795 2001-09-05 Akim Demaille <akim@epita.fr>
7797 * lib/Autom4te/XFile.pm: New lib file.
7798 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
7799 * bin/autoheader.in: Use it.
7801 2001-09-05 Akim Demaille <akim@epita.fr>
7803 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
7806 2001-09-05 Akim Demaille <akim@epita.fr>
7808 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
7809 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
7811 * bin/autoscan.in: Use `getopt' and `find_files' etc.
7812 Add -I, --include support.
7813 * doc/autoconf.texi (autoscan Invocation): Adjust.
7815 2001-09-05 Akim Demaille <akim@epita.fr>
7817 CVS GNU M4 doesn't like `undefine(undefined)'.
7819 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
7820 New, extracted from main.
7821 Use IO::File wherever possible.
7822 (input.m4): Be constant, use -I instead of hard coding $tmp.
7823 Therefore be a quoted heredoc.
7824 Don't invoke `_au_disable', since ac was not loaded, but just
7827 2001-08-31 Akim Demaille <akim@epita.fr>
7831 2001-08-31 Akim Demaille <akim@epita.fr>
7833 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
7835 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
7837 2001-08-31 Akim Demaille <akim@epita.fr>
7839 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
7840 serious problems handling heredocs in heredocs.
7841 Reported by Nicolas Joly.
7843 2001-08-31 Akim Demaille <akim@epita.fr>
7845 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
7846 (Making testsuite Scripts): Update.
7848 2001-08-31 Akim Demaille <akim@epita.fr>
7850 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
7852 2001-08-31 Akim Demaille <akim@epita.fr>
7854 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
7855 (testsuite Scripts): There is no such thing as `atconfig.in'.
7856 And actually one diagram is missing: test suite runtime.
7858 2001-08-31 Akim Demaille <akim@epita.fr>
7860 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
7863 2001-08-31 Akim Demaille <akim@epita.fr>
7865 * bin/autoupdate.in (@include): `installcheck' revealed the path
7866 to m4sugar was lacking!
7868 2001-08-31 Akim Demaille <akim@epita.fr>
7870 * man/Makefile.am (.x.1): We really have to pass
7871 autom4te_perllibdir.
7873 2001-08-31 Akim Demaille <akim@epita.fr>
7875 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
7876 debug scripts, in particular passing explicitly listed tests to
7879 2001-08-31 Akim Demaille <akim@epita.fr>
7881 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
7882 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
7883 Use directly autom4te, not autoconf.
7884 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
7886 2001-08-31 Akim Demaille <akim@epita.fr>
7888 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
7889 * bin/autoheader.in (%symbol): Strip arguments of macros.
7891 2001-08-31 Akim Demaille <akim@epita.fr>
7893 * doc/autoconf.texi: Catch up -I, --include changes.
7895 2001-08-31 Akim Demaille <akim@epita.fr>
7897 * bin/autom4te.in (&parse_args): Die on unknown languages.
7898 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
7900 Promote --include over --macrodir and other obsolete options.
7902 2001-08-31 Akim Demaille <akim@epita.fr>
7904 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
7905 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
7906 * bin/autom4te.in ($autoconf): Pass --force.
7907 `print $out' doesn't print `$_' but `$out'.
7908 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
7909 (autoheader): Pass --force since the test suite goes too fast for
7911 Adjust to the new autoheader messages.
7913 2001-08-31 Akim Demaille <akim@epita.fr>
7915 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
7916 Check the completeness of the #template.
7917 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
7918 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
7921 2001-08-31 Akim Demaille <akim@epita.fr>
7923 * lib/Autom4te/General.pm (&find_file, &update_file): New.
7924 * bin/autoupdate.in, bin/autoheader.in: Adjust.
7925 Drop AC_MACRODIR dead for real.
7926 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
7927 `autoheader: `config.hin' is created'.
7928 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
7930 2001-08-31 Akim Demaille <akim@epita.fr>
7932 * bin/autoheader.in: Rewrite in Perl.
7933 * tests/autoheader: Adjust.
7935 2001-08-31 Akim Demaille <akim@epita.fr>
7937 * bin/autoconf.in (--include, -I): New option.
7938 Map --localdir, --autoconf-dir onto it.
7939 Forward autom4te's options instead of interpreting them.
7940 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
7941 There is no such envvar since the inception of autom4te.cfg.
7942 * bin/autom4te.in (&parse_args): Uniquify `@include'.
7943 * bin/autoupdate.in: Adjust, and perform more control.
7944 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
7945 * tests/autoconf: Dittowise.
7947 2001-08-31 Akim Demaille <akim@epita.fr>
7949 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
7950 * bin/autom4te.in (&find_file): Support `FILE?' standing for
7952 Use -e, not -f, since /dev/null for instance is OK.
7953 (&parse_args): Adjust.
7954 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
7956 2001-08-31 Akim Demaille <akim@epita.fr>
7958 * configure.ac: Also find tested executables in bin.
7959 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
7960 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
7961 installed peer executables, only PATH is allowed to resolve it.
7962 Pass `autoconf_dir' via options, not via invisible envvars.
7963 * lib/Autom4te/General.pm (&find_peer): Remove.
7964 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
7965 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
7966 * man/Makefile.am: Let help2man rely on PATH instead of trying to
7967 find the executables for it.
7968 * tests/Makefile.am: Major cleanup. Too lazy to document...
7969 * tests/atlocal.in: Remove all the obscure envvar manipulations.
7971 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
7972 indeed related to running the test suite, while passing
7973 --autoconf-dir and others is related to running non installed
7974 Autoconf executables. So don't do that, leave it to...
7975 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
7976 * tests/autoscan: New.
7977 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
7978 refer to library files: rely on --language.
7980 2001-08-29 Akim Demaille <akim@epita.fr>
7982 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
7983 s/--set/--language/.
7985 2001-08-29 Akim Demaille <akim@epita.fr>
7987 * doc/autoconf.texi: Strip the @nodes.
7988 Suggested by Paul Eggert.
7989 (Initializing configure): Typo.
7991 2001-08-29 Akim Demaille <akim@epita.fr>
7993 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
7994 Suggested by Paul Eggert.
7996 2001-08-29 Akim Demaille <akim@epita.fr>
7998 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
7999 download in a tmp dir.
8001 2001-08-29 Akim Demaille <akim@epita.fr>
8003 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
8004 case insensitive OSes out there :(
8005 From Tim Van Holder.
8007 2001-08-29 Akim Demaille <akim@epita.fr>
8009 * lib/autom4te.in: New.
8010 * lib/Makefile.am (edit, autom4te.cfg): New.
8011 * bin/autom4te.in (BEGIN): Simplify.
8012 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
8013 (&load_configuration): New. Use it.
8014 (&parse_args): Support --mode, --set, and --melt.
8015 * bin/autoconf.in: Simplify and adjust.
8016 * tests/Makefile.am (AUTOMAKE): Use --set.
8017 * tests/atlocal.in: Adjust.
8018 * BUGS: distcheck and check are weak.
8020 2001-08-29 Akim Demaille <akim@epita.fr>
8022 * lib/autotest/general.m4: Use
8023 foo=`(command) 2>/dev/null`
8025 foo=`command` 2>/dev/null
8026 (at-devnull): Rename as...
8028 (--clean): Remove AT-* files too.
8029 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
8030 Reported by Nicolas Joly.
8032 2001-08-28 Akim Demaille <akim@epita.fr>
8034 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
8035 quotes inside single quotes.
8036 Reported by Nicolas Joly.
8038 2001-08-28 Kevin Ryde <user42@zip.com.au>
8040 * doc/autoconf.texi (Function Portability): Mention C right shifts.
8042 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
8044 * lib/autotest/general.m4: Reword some messages.
8045 (AT_INIT): Check for the `times' builtin before using it.
8046 Support test ranges as arguments to the testsuite.
8047 Have -e imply -d as the help text suggested.
8049 2001-08-27 Akim Demaille <akim@epita.fr>
8051 * Makefile.maint: Formatting changes.
8052 (do-po-update, po-update, cvs-update, update): New targets.
8055 2001-08-27 Akim Demaille <akim@epita.fr>
8057 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
8059 Pass it to debug-*.sh scripts.
8060 <AUTOTEST_PATH>: May contain absolute dir names.
8062 2001-08-27 Akim Demaille <akim@epita.fr>
8064 * lib/autotest/general.m4 (AT_INIT): Log the command line.
8065 Support `VAR=VAL' as arguments.
8066 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
8067 may be set via the command line.
8069 2001-08-27 Akim Demaille <akim@epita.fr>
8071 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
8072 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
8073 first the build dirs, then the src dirs.
8074 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
8076 2001-08-27 Akim Demaille <akim@epita.fr>
8078 * lib/autotest/general.m4 (AT_INIT): Output the definition of
8079 at_data_files earlier.
8080 (--clean, -c): New option.
8081 * tests/Makefile.am: Use this option.
8083 2001-08-27 Akim Demaille <akim@epita.fr>
8085 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
8086 `ac_top_builddir' to mimic Automake's vocabulary, which much more
8089 * doc/autoconf.texi (Configuration Actions): Document the vars
8090 available in commands.
8091 Emphasize the risks of collisions in init-cmds.
8093 2001-08-27 Akim Demaille <akim@epita.fr>
8095 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
8096 (Initializing configure): this new node.
8098 2001-08-27 Akim Demaille <akim@epita.fr>
8100 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
8102 2001-08-27 Akim Demaille <akim@epita.fr>
8104 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
8105 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
8107 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
8109 2001-08-27 Akim Demaille <akim@epita.fr>
8111 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
8113 * lib/autoconf/autoheader.m4: this new file.
8114 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
8115 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
8117 * lib/autoconf/autoupdate.m4: this new file.
8119 2001-08-27 Akim Demaille <akim@epita.fr>
8121 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
8122 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
8123 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
8125 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
8126 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
8128 2001-08-27 Akim Demaille <akim@epita.fr>
8130 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
8131 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
8132 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
8133 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
8134 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
8135 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
8136 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
8137 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
8138 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
8139 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
8140 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
8141 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
8142 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
8143 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
8144 (_AC_OUTPUT_SUBDIRS): Move to...
8145 * lib/autoconf/status.m4: this new file.
8146 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
8147 * tests/Makefile.am, tests/suite.at: Adjust.
8149 2001-08-27 Akim Demaille <akim@epita.fr>
8153 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
8154 (AMTAR): Help automake define it.
8155 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
8156 needed, 1.5 can have a macro and a target with the same name.
8157 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
8159 * m4/init.m4, m4/sanity.m4: Update.
8160 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
8161 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
8162 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
8163 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
8165 2001-08-27 Akim Demaille <akim@epita.fr>
8167 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
8169 * lib/autoconf/version.in: Remove.
8170 * lib/m4sugar/version.in: New.
8171 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
8173 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
8174 the name of the directory they're in, instead of the filename,
8175 since version.m4 is now in m4sugar, but m4_acversion must not be
8176 classified as an Autoconf macro.
8177 ($input_m4): Don't qualify the path to m4sugar.
8178 Rather, pass autoconf_dir to m4.
8179 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
8180 * tests/suite.at: Require 2.52c.
8182 2001-08-27 Akim Demaille <akim@epita.fr>
8184 testsuite.log should include config.log.
8186 * lib/autotest/autotest.m4: New.
8187 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
8188 * tests/suite.at : Adjust.
8189 (AT_INIT): Log config.log.
8190 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
8191 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
8192 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
8193 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
8194 of config.log on traps.
8195 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
8196 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
8198 Open the log as soon as possible.
8199 Use the same log introduction as configure's.
8201 2001-08-22 Paul Eggert <eggert@twinsun.com>
8203 * doc/autoconf.texi (Indices): New node.
8204 Move indices out of the top level menu and into this submenu.
8206 2001-08-22 Akim Demaille <akim@epita.fr>
8208 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8210 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
8212 2001-08-22 Akim Demaille <akim@epita.fr>
8214 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
8215 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
8216 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
8217 * lib/autoconf/programs.m4: here.
8218 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
8219 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
8220 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
8221 * lib/autoconf/programs.m4: here.
8222 (_AC_DECL_YYTEXT): Rename as...
8223 (_AC_PROG_LEX_YYTEXT_DECL): this.
8224 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
8225 * tests/Makefile.am, tests/suite.am: Adjust.
8227 2001-08-22 Akim Demaille <akim@epita.fr>
8229 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
8231 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
8233 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
8234 * lib/autoconf/functions.m4: here.
8235 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
8236 (AH_CHECK_LIB): Move to...
8237 * lib/autoconf/libs: this new file.
8238 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
8239 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
8240 * lib/autoconf/libs.m4: here.
8241 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
8243 2001-08-22 Akim Demaille <akim@epita.fr>
8245 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
8246 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
8247 (AC_SITE_LOAD): Better logging of config.site.
8249 2001-08-20 Akim Demaille <akim@epita.fr>
8251 * configure.ac (AT_CONFIG): Fix the path.
8252 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
8255 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
8257 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
8258 program with AC_LANG_PROGRAM before feeding it to
8259 AC_COMPILE_IFELSE. Cleanup grep usage.
8261 2001-08-20 Akim Demaille <akim@epita.fr>
8263 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
8264 * NEWS, README, README-alpha, TODO, tests/README: This package is
8265 `Autoconf', not `autoconf' (the executable).
8267 2001-08-20 Akim Demaille <akim@epita.fr>
8269 Info readers seem to need `Index' in the index node title :(
8271 * doc/autoconf.texi: Reverse the 2001-08-15 change which
8272 simplified index node names.
8274 2001-08-20 Akim Demaille <akim@epita.fr>
8276 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
8277 arguments are not literals.
8278 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
8279 Specify the output variables, and macros defined.
8281 2001-08-20 Akim Demaille <akim@epita.fr>
8283 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
8284 (Examining Syntax) <AC_TRY_COMPILE>
8285 (Examining Libraries) <AC_TRY_LINK>
8286 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
8288 Reported by Werner Lemberg.
8290 2001-08-20 Akim Demaille <akim@epita.fr>
8292 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
8293 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
8294 Load atlocal late enough to dump it in the log.
8295 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
8297 2001-08-20 Akim Demaille <akim@epita.fr>
8299 * tests/torture.at (Configuring subdirectories): New test.
8300 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
8302 * m4/atconfig.m4: Be sure the let $[0] be expandable.
8303 (top_srcdir): Fix its computation.
8305 2001-08-20 Akim Demaille <akim@epita.fr>
8307 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
8308 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
8310 Create `atconfig' automagically.
8311 Configure atlocal.in if present.
8312 * tests/atconfig.in: Remove.
8313 * tests/atlocal.in: New.
8314 * tests/Makefile.am: Adjust.
8316 2001-08-20 Akim Demaille <akim@epita.fr>
8318 Huh!?!?! There are still some user EOF tags used, which prevents
8319 their use in AC_CONFIG_COMMANDS for instance...
8321 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
8322 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
8323 `_CSEOF', or `_ATEOF', as appropriate.
8324 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
8325 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
8327 2001-08-20 Akim Demaille <akim@epita.fr>
8329 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
8330 * tests/semantics.at, tests/tools.at, tests/torture.at:
8331 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
8333 2001-08-20 Akim Demaille <akim@epita.fr>
8335 Autotest invokes M4sh's initialization.
8337 * lib/autotest/general.m4: Adjust the diversion names.
8338 (AT_INIT): Run AS_INIT.
8339 Use the BINSH diversion to invoke /bin/sh.
8340 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
8341 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
8343 2001-08-20 Akim Demaille <akim@epita.fr>
8345 Let M4sh have its own diversions.
8347 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
8348 (_m4_divert(NOTICE)): Rename as...
8349 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
8350 (_m4_divert(HEADER-COMMENT)): these.
8351 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
8352 (_m4_divert(NOTICE)): New, for Libtool.
8353 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
8354 long ago with `_m4_divert(GROW)'.
8355 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
8357 2001-08-20 Akim Demaille <akim@epita.fr>
8359 * tests/base.at, tests/compile.at, tests/foreign.at,
8360 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
8361 * tests/semantics.at, tests/suite.at, tests/tools.at,
8362 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
8364 2001-08-20 Akim Demaille <akim@epita.fr>
8366 * bin/autom4te.in (handle_output): Handle @__@.
8368 2001-08-20 Akim Demaille <akim@epita.fr>
8370 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
8371 * lib/autotest/general.m4: Adjust the license.
8373 2001-08-17 Paul Eggert <eggert@twinsun.com>
8375 * doc/autoconf.texi (Function Portability): Mention snprintf,
8376 following up on a suggestion by Kevin Ryde.
8378 2001-08-17 Akim Demaille <akim@epita.fr>
8380 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
8381 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
8383 2001-08-17 Akim Demaille <akim@epita.fr>
8385 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
8386 `$0.log' as for projects where testsuite is in src, we'd have
8387 testsuite.log created in src.
8389 2001-08-17 Akim Demaille <akim@epita.fr>
8391 * bin/autom4te.in (&parse_args): Recognize --normalize.
8393 2001-08-17 Akim Demaille <akim@epita.fr>
8395 Start implementing the AC_CHECK_HEADER transition scheme.
8397 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
8398 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
8399 (AC_CHECK_HEADER): Use them.
8401 2001-08-17 Akim Demaille <akim@epita.fr>
8403 * doc/autoconf.texi: Work around Texinfo buglets.
8404 (Transformation Rules): One example is enough, users are expected
8405 to have their brains on. And BTW, use DESTDIR.
8406 (dvar): New macro. Use it.
8408 2001-08-17 Akim Demaille <akim@epita.fr>
8410 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
8411 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
8412 looking for ChangeLogs.
8414 2001-08-17 Akim Demaille <akim@epita.fr>
8416 * bin/autom4te.in: --normalize is a new option.
8417 * bin/autoconf.in: Use it.
8419 2001-08-17 Akim Demaille <akim@epita.fr>
8421 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
8422 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
8424 2001-08-16 Paul Eggert <eggert@twinsun.com>
8426 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
8429 2001-08-15 Akim Demaille <akim@epita.fr>
8431 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
8434 2001-08-15 Akim Demaille <akim@epita.fr>
8436 * doc/autoconf.texi (pr): New index.
8437 (prindex, findex): Use, merge, and output them.
8438 (Environment Variable Index, Output Variable Index)
8439 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
8440 (Autotest Macro Index): Rename as...
8441 (Environment Variables, Output Variables,Preprocessor Symbols)
8442 (Autoconf Macros, M4 Macros, Autotest Macros): these.
8443 * doc/install.texi: Use @command.
8444 (Environment Variables): Rename as...
8445 (Defining Variables): this.
8447 2001-08-15 Akim Demaille <akim@epita.fr>
8449 * doc/autoconf.texi (Function Portability): sprintf's return
8453 2001-08-15 Akim Demaille <akim@epita.fr>
8455 * Makefile.maint (CVS): New.
8456 (local-check): Run changelog-check. last.
8457 (alpha): Don't depend upon local-check, since...
8458 (cvs-dist): depends upon it.
8460 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
8462 * tests/Makefile.am: Use a clean-local rule to remove
8463 autom4te.cache (it's a directory, not a file.
8464 * Makefile.am: Ditto (but maintainer-clean-local).
8466 2001-08-15 Akim Demaille <akim@epita.fr>
8468 * bin/autom4te.in (@m4_warning): New.
8469 (&handle_m4): Use it.
8470 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
8471 warnings are issued at each run.
8472 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
8475 2001-08-15 Akim Demaille <akim@epita.fr>
8477 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
8478 don't waste time running `autoupdate --version' works.
8479 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
8481 2001-08-13 Akim Demaille <akim@epita.fr>
8483 * doc/autoconf.texi (ma): Rename this index as...
8486 2001-08-13 Akim Demaille <akim@epita.fr>
8488 * Makefile.am: Remove dead code and dead comments.
8489 (pdf, html): New targets.
8490 * doc/autoconf.texi (Using Autotest): New chapter.
8491 * doc/Makefile.am (pdf): New targets.
8492 (CLEANFILES): Adjust.
8494 2001-08-13 Akim Demaille <akim@epita.fr>
8496 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
8497 duration of the test suite.
8499 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8501 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
8502 endianness for comparison instead of relying on AT_CHECK_ENV.
8504 2001-08-11 Paul Eggert <eggert@twinsun.com>
8506 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
8507 to the INSTALL file.
8509 2001-08-11 Paul Eggert <eggert@twinsun.com>
8511 * NEWS: The autoconf manual now is distributed under the terms
8512 of the GNU Free Documentation License.
8514 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
8515 Add an appendix "Copying This Manual" for the FDL.
8517 * doc/fdl.texi: New file, from
8518 <http://www.gnu.org/licenses/fdl.texi>.
8520 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
8522 2001-08-10 Paul Eggert <eggert@twinsun.com>
8524 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
8525 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
8526 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
8527 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
8528 m4/sanity.m4, tests/README, tests/aclocal.m4,
8529 tests/atspecific.m4, tests/base.at, tests/compile.at,
8530 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
8531 tests/semantics.at, tests/suite.at, tests/tools.at,
8532 tests/torture.at: Add copyright notice.
8534 * tests/mktests.sh: Update year in copyright notice.
8536 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8538 * tests/semantics.at (AC_C_BIGENDIAN): New test.
8540 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8542 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
8543 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
8544 * doc/autoconf.texi (C Compiler Characteristics): Update
8545 documentation for AC_C_BIGENDIAN.
8547 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8549 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
8550 magic values from an object file when cross-compiling.
8551 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
8553 2001-08-10 Akim Demaille <akim@epita.fr>
8555 * bin/autom4te.in (&handle_output): Don't use `grep' with side
8557 Suggested by Russ Allbery.
8559 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8561 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
8562 current $prefix to the sub-configures.
8564 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
8566 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
8567 extension (needed on BeOS). Reported by Guido van Rossum.
8569 2001-08-09 Akim Demaille <akim@epita.fr>
8571 * bin/autom4te.in ($icache): Load it only if older than autom4te.
8573 2001-08-07 Akim Demaille <akim@epita.fr>
8575 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
8577 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
8578 No need to remove the files before and after the each test, before
8579 each test and at the end of the suite is enough.
8580 Display only the children `times', not the shell's.
8581 If the test failed or was skipped, at-times is not available.
8583 2001-08-07 Akim Demaille <akim@epita.fr>
8585 Always produce testsuite.log, including when there are no
8586 failures. This helps getting information on skipped tests, and
8587 duration of the tests. Err, implement the latter btw.
8589 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
8590 Dump information on the first run of each test.
8591 (AT_CLEANUP): Create `at-times' containing the duration of the
8594 2001-08-07 Akim Demaille <akim@epita.fr>
8596 The use of `dumpstat' revealed that `len' was used although it
8597 should not. m4_text_wrap was using it, but in the Autoconf world
8598 where it is legal. Hence (i) test M4sh in its own world, not
8599 Autoconf's, and (ii), ahem, fix the bug :)
8601 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
8602 does not like `' instead of [].
8603 (AT_INIT): Forbid `^_?AT_'.
8604 And don't output such tokens.
8605 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
8606 `script.as', and `autom4te.cache'.
8607 Remove `empty' and `macro' which are no longer used.
8608 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
8609 * tests/m4sugar.at: Use it.
8610 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
8612 2001-08-07 Akim Demaille <akim@epita.fr>
8614 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
8616 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
8618 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
8620 2001-08-04 Akim Demaille <akim@epita.fr>
8622 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
8623 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
8625 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
8626 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
8627 (AC_F77_MAIN): Likewise.
8629 2001-08-04 Akim Demaille <akim@epita.fr>
8631 Don't rely on M4sugar outputting the patterns in files, since we
8632 might process the output _without_ running m4, hence without these
8635 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
8636 * bin/autom4te.in (@Request::includes): Remove, unused.
8637 (@Request::source): Rename as...
8638 (@Request::input): this.
8639 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
8640 (&handle_output): Fetch the patterns from the traces.
8641 `$forbidden' and `$allowed' are constant: use m//o.
8642 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
8643 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
8645 2001-08-04 Akim Demaille <akim@epita.fr>
8647 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
8648 autoconf', i.e., in addition to caching traces, cache the output.
8650 * bin/autom4te.in (Request::cache): Rename as...
8651 (Request::id): this.
8652 ($cache, $icache, $tcache, $ocache): New.
8653 (&handle_m4): Save M4 output in the cache instead of $tmp.
8654 (&handle_output): Adjust.
8655 (&up_to_date_p): Check that the output cache is up to date too.
8656 (top level): Run `&handle_m4' iff force or the cache is invalid.
8657 Run `&handle_output' if the output cache is more recent.
8659 2001-08-04 Akim Demaille <akim@epita.fr>
8661 * bin/autom4te.in ($force): New.
8662 (&parse_args, &print_usage): -f, --force is a new option.
8663 (&handle_output): CPP directives might have spaces after `#'.
8664 (&parse_args): The first file only can be frozen.
8666 2001-08-04 Akim Demaille <akim@epita.fr>
8668 Don't let autom4te compute the `include' traces several times:
8669 first check that the trace cache file is up to date, and then
8670 compare its timestamp with that of the output.
8672 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
8673 the preamble. Don't require 5.005 as Autom4te::General does it,
8674 and better yet (use `use', not `require'!).
8675 * lib/Autom4te/Struct.pm: Rename the last occurrences of
8676 Class::Struct as Autom4te::Struct.
8677 * lib/Autom4te/General.pm (File::stat): Use it.
8678 (&mtime): New, export it.
8679 * bin/autom4te.in: Use it.
8680 Declare `$req' is invalid if it is outdated.
8681 Don't declare it valid before saving it if something went wrong.
8683 2001-08-04 Akim Demaille <akim@epita.fr>
8685 Autom4te shall not encode Autoconf data, and preselecting traces
8686 must be proposed to the users.
8688 * bin/autom4te.in (@required_trace): Remove.
8690 (&parse_args, &print_usage): -p, --preselect is a new option.
8691 (&up_to_date_p): Adjust.
8692 * bin/autoconf.in: Preselect some Autoconf macros.
8694 2001-08-04 Akim Demaille <akim@epita.fr>
8696 * tests/tools.at (autoconf --trace: user macros): Check traces on
8697 macros invoked without arguments, and macros invoked with multiple
8700 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
8702 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
8705 2001-08-03 Akim Demaille <akim@epita.fr>
8707 * bin/autoconf.in ($@): Work around the usual sh bug.
8710 2001-08-03 Akim Demaille <akim@epita.fr>
8712 Clean up the handling of the M4 builtins tracing exception.
8714 * bin/autom4te.in (Request::request): Don't complete M4 builtins
8716 (@m4_builtins): Rename as...
8717 (@m4_builtin): this.
8718 (%m4_builtin_alternate_name): New.
8719 (&parse_args): Complete the trace requests with alternate names.
8720 (&handle_traces): Hence no longer do it here.
8721 (&trace_requests): Remove, unused.
8723 2001-08-03 Akim Demaille <akim@epita.fr>
8725 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
8728 2001-08-03 Akim Demaille <akim@epita.fr>
8730 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
8731 (m4_divert_pop): Dump the whole diversion stack when a diversion
8733 * bin/autom4te.in (&handle_output): Remember of the first
8734 occurrence of a possibly undefined macro, not the last.
8735 Complain about the possibly undefined macros in the same order as
8736 the appear in the output.
8737 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
8738 * tests/tools.at (autoconf: forbidden tokens, basic)
8739 (autoconf: forbidden tokens, exceptions): No longer sort
8740 autoconf's stderr, as it is now deterministic.
8741 Check that `dnl' is caught.
8743 2001-08-01 Akim Demaille <akim@epita.fr>
8745 * configure.ac: Bump to 2.52c.
8747 2001-08-01 Akim Demaille <akim@epita.fr>
8751 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
8753 2001-08-01 Akim Demaille <akim@epita.fr>
8757 2001-08-01 Akim Demaille <akim@epita.fr>
8759 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
8762 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
8763 `END', as `Autom4te::General::END' will be triggered.
8764 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
8765 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
8766 system to run `mv', `rm', and `cmp'.
8768 2001-08-01 Akim Demaille <akim@epita.fr>
8770 * lib/Autom4te/General.pm (&unique): New.
8771 * bin/autoscan.in (&output): Use it to issue trace requests once.
8773 2001-08-01 Akim Demaille <akim@epita.fr>
8775 * lib/Autom4te/General.pm: New.
8776 * bin/autom4te.in (Autom4te::General): Use it.
8777 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
8778 (&find_configure_ac, &find_slave): Remove.
8779 * bin/autoscan.in: Likewise.
8780 * bin/autoupdate.in: Likewise.
8782 2001-08-01 Akim Demaille <akim@epita.fr>
8784 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
8785 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
8786 * bin: here, new directory.
8787 * lib/Autoconf: Rename as...
8788 * lib/Autom4te: this, to please case insensitive junkie OSes.
8790 2001-08-01 Akim Demaille <akim@epita.fr>
8792 * autom4te.in ($m4): Handle the --nesting-limit.
8793 * autoconf.in (M4): Remove.
8795 2001-08-01 Akim Demaille <akim@epita.fr>
8797 * autoconf.in ($AWK): Remove, no longer used.
8798 * test/tools.at: Use AT_CHECK_AUTOCONF.
8799 (AWK portability): Remove, for autoconf no longer uses AWK.
8800 (Syntax of the Perl scripts): New.
8801 * configure.ac: autoconf no longer needs an AWK with a good
8803 Use a static test on AC_PACKAGE_VERSION.
8804 * autom4te.in (&up_to_date_p): Output depends on the arguments.
8805 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
8806 * tests/atconfig.in (PERL): New.
8808 2001-08-01 Akim Demaille <akim@epita.fr>
8810 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
8811 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
8812 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
8813 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
8814 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
8815 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
8816 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
8817 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
8818 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
8819 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
8820 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
8821 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
8822 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
8823 * lib/autoconf/c.m4: here, new file.
8825 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
8826 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
8827 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
8828 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
8829 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
8830 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
8831 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
8832 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
8833 (AC_F77_FUNC): Move to...
8834 * lib/autoconf/fortran.m4: here, new file.
8836 2001-08-01 Akim Demaille <akim@epita.fr>
8838 * acfunctions.m4: Rename as...
8839 * lib/autoconf/functions.m4: this.
8840 * acgeneral.m4: Rename as...
8841 * lib/autoconf/general.m4: this.
8842 * acheaders.m4: Rename as...
8843 * lib/autoconf/headers.m4: this.
8844 * aclang.m4: Rename as...
8845 * lib/autoconf/lang.m4: this.
8846 * acoldnames.m4: Rename as...
8847 * lib/autoconf/oldnames.m4: this.
8848 * acspecific.m4: Rename as...
8849 * lib/autoconf/specific.m4: this.
8850 * actypes.m4: Rename as...
8851 * lib/autoconf/types.m4: this.
8852 * autoconf.m4: Rename as...
8853 * lib/autoconf/autoconf.m4: this.
8855 * m4sugar.m4: Rename as...
8856 * lib/m4sugar/m4sugar.m4: this.
8857 * m4sh.m4: Rename as...
8858 * lib/m4sugar/m4sh.m4: this.
8860 * tests/atgeneral.m4: Rename as...
8861 * lib/autotest/general.m4: this.
8863 * acfunctions: Rename as...
8864 * lib/autoscan/functions: this.
8865 * acheaders: Rename as...
8866 * lib/autoscan/headers: this.
8867 * acidentifiers: Rename as...
8868 * lib/autoscan/identifiers: this.
8869 * aclibraries: Rename as...
8870 * lib/autoscan/libraries: this.
8871 * acmakevars: Rename as...
8872 * lib/autoscan/makevars: this.
8873 * acprograms: Rename as...
8874 * lib/autoscan/programs: this.
8876 2001-08-01 Akim Demaille <akim@epita.fr>
8878 * doc/autoconf.texi: Moving/deleting open files is not portable.
8879 Portability issues for `.' (source), and more information about sed.
8881 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
8883 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
8884 which has a special meaning and is not a reference to libibmil.a.
8885 Reported by Matteo Frigo.
8887 2001-07-25 Pavel Roskin <proski@gnu.org>
8889 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
8892 2001-07-25 Akim Demaille <akim@epita.fr>
8894 * autoconf.in: Try to define the variables before using them.
8895 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
8896 instead of `$perllibdir'.
8897 * tests/atconfig.in ($autom4te_perllibdir): Export it.
8899 2001-07-25 Akim Demaille <akim@epita.fr>
8901 * autoconf.in (ac_LF_and_DOT): Remove, unused.
8903 2001-07-24 Akim Demaille <akim@epita.fr>
8905 Let autoconf use autom4te for traces.
8907 * autoconf.in ($task, task trace): Remove, merely pass --trace to
8909 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
8910 (Because I found no way for autom4te to accept `-').
8911 * autom4te.in (&Request::request): Beware of M4 builtins.
8912 (END): Don't try to remove the content of an empty dir.
8913 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
8914 (&handle_output): Set a default value to `$forbidden'.
8915 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
8916 ($autoconf): Pass --debug and --verbose.
8917 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
8920 2001-07-24 Akim Demaille <akim@epita.fr>
8922 Let autoconf use autom4te to create configure.
8924 * autoconf.in ($automate): New var.
8925 (task script): Use autom4te.
8926 * autom4te.in (File::Spec): Use it.
8928 (&parse_args): --warning is -W, not -w.
8929 Find the top level files.
8930 (&handle_m4): Pass the warnings flags.
8931 Don't report verbosely m4's failures, unless requested.
8932 (&handle_output): Don't complain for forbidden tokens in comments.
8933 Be sure to report all the forbidden tokens within a single line.
8934 (&trace_format_to_m4): Preserve `$_'.
8935 (&handle_traces): Sort the output macros.
8936 (&up_to_date_p): Find the files before trying to get its time stamp.
8938 2001-07-24 Akim Demaille <akim@epita.fr>
8940 * Makefile.am: Ship, build and install Autom4te.
8942 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
8943 * configure.in: Require Perl.
8944 * man/autom4te.in: New.
8946 2001-07-19 Paul Eggert <eggert@twinsun.com>
8948 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
8949 example, rather than (exit 1); exit (which isn't portable).
8951 2001-07-18 Akim Demaille <akim@epita.fr>
8955 2001-07-18 Akim Demaille <akim@epita.fr>
8957 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
8958 was run, while they are needed also when it is expanded.
8959 Reported by Nicolas Joly.
8961 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
8962 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
8963 AC_F77_DUMMY_MAIN being expanded.
8965 2001-07-18 Akim Demaille <akim@epita.fr>
8967 * configure.in: Bump to 2.51a.
8969 2001-07-17 Akim Demaille <akim@epita.fr>
8973 2001-07-17 Akim Demaille <akim@epita.fr>
8975 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
8976 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
8978 2001-07-17 Akim Demaille <akim@epita.fr>
8980 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
8981 used. Well, then use the prototypes when you can, and runtime as
8983 Reported by Artur Frysiak
8985 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
8986 (AC_FUNC_GETPGRP): Use it.
8987 First try to compile with 0-ary or 1-ary calls.
8989 2001-07-17 Akim Demaille <akim@epita.fr>
8991 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
8995 2001-07-17 Akim Demaille <akim@epita.fr>
8997 * Makefile.maint: Sync. with cppi 1.10.
8999 2001-07-17 Akim Demaille <akim@epita.fr>
9001 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
9002 AC_F77_DUMMY_MAIN has been run.
9003 From Pavel Roskin and Steven G. Johnson.
9005 2001-07-17 Akim Demaille <akim@epita.fr>
9007 * configure.in: Rename as...
9008 * configure.ac: this.
9010 2001-07-17 Akim Demaille <akim@epita.fr>
9012 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
9015 * Makefile.maint (release-archive-dir): Rename as...
9016 (release_archive_dir): this, so that it can be specialized in
9019 2001-07-14 Akim Demaille <akim@epita.fr>
9021 * configure.in: Bump to 2.50d.
9023 2001-07-14 Akim Demaille <akim@epita.fr>
9026 * Makefile.maint (alpha): Typo.
9028 2001-07-14 Akim Demaille <akim@epita.fr>
9030 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
9032 2001-07-14 Akim Demaille <akim@epita.fr>
9034 * config/config.guess, config/config.sub, config/texinfo.tex
9035 * doc/standards.texi, doc/make-stds.texi: Update.
9037 2001-07-14 Akim Demaille <akim@epita.fr>
9039 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
9041 2001-07-14 Akim Demaille <akim@epita.fr>
9043 * Makefile.maint (maintainer-check): Rename as...
9044 (maintainer-distcheck): this.
9045 (changelog-check, static-check): New.
9048 2001-07-14 Kevin Ryde <user42@zip.com.au>
9050 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
9051 for CXX is g++, not gcc.
9053 2001-07-14 Akim Demaille <akim@epita.fr>
9055 * doc/autoconf.texi (Files): New subsection.
9057 2001-07-14 Akim Demaille <akim@epita.fr>
9059 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
9061 (Generic Compiler Characteristics): this.
9062 (C++ Compiler): New subsection.
9064 2001-07-14 Akim Demaille <akim@epita.fr>
9066 * autoscan.in: Use IO::File.
9067 Adjust all the routines to use it.
9068 ($log): New file (autoscan.log).
9069 (output): Dump detailed logs into $log, and a shortened version to
9071 (&scan_makefile): Refine the regexp catching tokens in the code.
9072 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
9073 and the `configure.ac' checking feature.
9075 2001-07-12 Akim Demaille <akim@epita.fr>
9077 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
9078 Reported by Michael Elizabeth Chastain.
9080 * autoconf.in: Refuse such AWK.
9081 * configure.in: Likewise.
9082 * Makefile.am (acversion.m4): Do not use move-if-change this file
9084 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
9086 2001-07-10 Jens Petersen <petersen@redhat.com>
9088 * autoscan.in (&scan_makefile): Improve programs regexp to parse
9089 things like "g++", "file.c" and "some-conf" as tokens.
9090 (&scan_file): Match C++ files extensions.
9091 If the filename extension is C++ then ask for c++.
9093 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
9095 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
9096 AC_TRY_LINK_FUNC, to check whether defining a dummy
9097 main-like routine is needed for linking with F77 libs.
9099 2001-07-05 Pavel Roskin <proski@gnu.org>
9101 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
9103 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
9106 2001-07-05 Akim Demaille <akim@epita.fr>
9108 * Makefile.am (move_if_change): New. Use it instead of `mv'.
9109 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
9111 Reported by Nicolas Joly.
9113 2001-07-04 Akim Demaille <akim@epita.fr>
9115 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
9117 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
9118 warnings from compilers.
9119 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
9120 for all the compilers, not only GNU. Hence move from here...
9121 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
9123 2001-07-04 Akim Demaille <akim@epita.fr>
9125 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
9126 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
9129 2001-07-04 Akim Demaille <akim@epita.fr>
9131 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
9132 the ``strings.h'' change claimed below.
9134 2001-07-04 Akim Demaille <akim@epita.fr>
9136 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
9138 2001-07-04 Akim Demaille <akim@epita.fr>
9140 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9141 strings.h if usable with string.h.
9142 Suggested by Paul Eggert.
9144 2001-07-04 Akim Demaille <akim@epita.fr>
9146 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
9149 2001-07-03 Akim Demaille <akim@epita.fr>
9151 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
9154 2001-07-03 Akim Demaille <akim@epita.fr>
9156 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
9157 compiler, not the preprocessor.
9158 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
9159 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
9161 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
9162 earlier if there are.
9164 2001-07-03 Akim Demaille <akim@epita.fr>
9166 * autoscan.in ($initfile): Remove.
9167 (&find_file): Rename as...
9169 Immediately scan the current file, instead of gathering them, and
9170 later having them handled by &scan_files.
9171 (&scan_files): Merely invoke Find::File.
9174 2001-07-02 Akim Demaille <akim@epita.fr>
9176 * autoscan.in: Formatting changes, matching the invocation order.
9177 (File::Find): Use it instead of Perl 4's `find.pl'.
9178 (&wanted): Rename as...
9181 2001-07-01 Pavel Roskin <proski@gnu.org>
9183 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
9184 break in the argument to AC_TRY_LINK_FUNC.
9185 (AC_F77_MAIN): Remove conftest* after using break in the
9186 argument to AC_TRY_LINK.
9188 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
9190 Add alternate 'main' routine detection for linking C/C++ with Fortran,
9191 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
9193 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
9194 dummy alternate main is required even if the user provides her own
9196 (AC_F77_MAIN): New macro to detect whether it is possible to
9197 provide an alternate 'main' function name, using the 'main' from
9198 the Fortran libraries.
9199 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
9200 cross-language link tests can be performed successfully.
9201 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
9202 after $LIBS, for consistency; this should be the general rule since
9203 the user may want to link to Fortran libraries that require $FLIBS.
9204 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
9206 2001-06-29 Pavel Roskin <proski@gnu.org>
9208 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
9209 at-stdout and at-stderr instead of removing the newline
9210 from the echo output, which is not guaranteed to work.
9212 2001-06-28 Jens Petersen <petersen@redhat.com>
9214 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
9215 confdefs.h when non-zero.
9217 2001-06-28 Akim Demaille <akim@epita.fr>
9219 * configure.in: Bump to 2.50c.
9221 2001-06-26 Akim Demaille <akim@epita.fr>
9225 2001-06-26 Akim Demaille <akim@epita.fr>
9229 2001-06-25 Pavel Roskin <proski@gnu.org>
9231 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
9232 argument, AUTOCONF-FLAGS.
9233 * tests/mktests.sh (update_exclude_list): Add
9234 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
9235 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
9236 AC_FUNC_WAIT3 with "-W no-obsolete".
9238 2001-06-25 Akim Demaille <akim@epita.fr>
9240 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
9242 2001-06-25 Akim Demaille <akim@epita.fr>
9244 * autoscan.in (%macro): Now maps from word to list of macros.
9245 (&init_tables): Die when a word which is already handled by
9246 explicit macros is mapped to the default macro.
9247 (&print_unique): Remove, inlined in...
9248 (&output_kind): here.
9249 (File::Basename): Use it.
9250 (&output): Sort the CONFIG_FILES.
9251 * acheaders: Normalize.
9252 * acfunctions: Likewise.
9254 2001-06-25 Akim Demaille <akim@epita.fr>
9256 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
9257 characteristics in the logs.
9258 Suggested by Mo DeJong.
9260 2001-06-24 Akim Demaille <akim@epita.fr>
9262 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
9263 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
9264 * doc/autoconf.texi (Autoconf 2.13): New section.
9266 2001-06-24 Akim Demaille <akim@epita.fr>
9268 * autoconf.in (Task traces): Separate the error messages from the
9269 traces to improve robustness.
9271 2001-06-23 Akim Demaille <akim@epita.fr>
9273 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
9274 three as failures are unlikely, and speed matters.
9276 2001-06-23 Akim Demaille <akim@epita.fr>
9278 * doc/autoconf.texi (Redefined M4 Macros): New.
9280 2001-06-23 Akim Demaille <akim@epita.fr>
9282 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
9283 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
9286 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
9288 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
9289 config.status targets to after the evaluation of the INIT-CMDS.
9290 Double quote config.status targets (used to be single quoted).
9292 2001-06-23 Akim Demaille <akim@epita.fr>
9294 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
9295 Check the content of the created file.
9296 Check the ./config.status command line invocation.
9298 2001-06-23 Akim Demaille <akim@epita.fr>
9300 * tests/foreign.at (Libtool): Reject prehistoric versions.
9302 2001-06-23 Akim Demaille <akim@epita.fr>
9304 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
9305 preexisting files matching a.*.
9307 2001-06-23 Akim Demaille <akim@epita.fr>
9309 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
9311 * doc/autoconf.texi (AC_ARG_VAR): Update.
9313 2001-06-21 Akim Demaille <akim@epita.fr>
9315 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
9316 precious variables have changed.
9317 * tests/torture.at (AC_ARG_VAR): Adjust.
9319 2001-06-21 Akim Demaille <akim@epita.fr>
9321 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
9322 but some sed choke on multiple `;', and other tools (e.g.,
9323 Automake), include the separator themselves.
9325 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
9327 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
9329 * doc/autoconf.texi (Functions Portability): Rename as...
9330 (Function Portability): this.
9331 (Function Portability): Document potential problems with unlink().
9333 2001-06-19 Paul Eggert <eggert@twinsun.com>
9335 * NEWS, doc/autoconf.texi: Document quadrigraphs.
9337 2001-06-18 Akim Demaille <akim@epita.fr>
9339 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
9341 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
9343 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
9344 (_AC_FUNC_VFORK): this.
9345 Remove AC_DEFINEs and don't guess cross-compilation values.
9346 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
9347 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
9348 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
9350 Guess values if cross-compiling, but warn.
9351 * acfunctions: Add AC_FUNC_FORK.
9352 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
9353 and vfork appropriately.
9355 2001-06-18 Akim Demaille <akim@epita.fr>
9357 * doc/autoconf.texi (Functions Portability): New section.
9359 2001-06-18 Akim Demaille <akim@epita.fr>
9361 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
9363 Suggested by Andreas Schwab.
9365 2001-06-18 Akim Demaille <akim@epita.fr>
9367 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
9368 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
9369 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
9370 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
9371 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
9372 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
9373 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
9376 2001-06-18 Akim Demaille <akim@epita.fr>
9378 * doc/autoconf.texi (ms): New index.
9379 (Macro Index): Rename as...
9380 (Autoconf Macro Index): this.
9381 (M4 Macro Index): New appendix.
9382 (Programming in M4): New chapter.
9383 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
9384 (Quoting): Rename as...
9385 (M$ Quotation): this.
9386 Be part of `Programming in M4).
9388 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
9390 * tests/torture.at (AC_ARG_VAR): Set variables and export them
9391 in separate statements for compatibility with Tru64 v5.1.
9393 2001-06-17 Akim Demaille <akim@epita.fr>
9395 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
9396 current values of the precious variables, not the previously
9398 Pass precious variables which are set to config.status.
9399 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
9400 * tests/torture.at (AC_ARG_VAR): New.
9402 2001-06-15 Paul Eggert <eggert@twinsun.com>
9404 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
9405 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
9406 and explain why and how to replace them.
9407 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
9408 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
9410 2001-06-15 Akim Demaille <akim@epita.fr>
9412 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
9413 Reported by Bruno Haible.
9415 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
9416 (_AC_ARG_VAR_PRECIOUS): to here.
9418 2001-06-15 Pavel Roskin <proski@gnu.org>
9420 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
9421 an unused pointer use cast to this type and `if' statement to
9422 avoid warnings from the compiler.
9423 (AC_HEADER_TIME): Likewise.
9424 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
9425 in `if' statement to avoid warnings from the compiler. Declare
9426 ac_aggr static to avoid the need to initialize it.
9428 2001-06-14 Akim Demaille <akim@epita.fr>
9430 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
9433 2001-06-13 Akim Demaille <akim@epita.fr>
9435 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
9436 Suggested by Alexander Mai.
9438 2001-06-13 Akim Demaille <akim@epita.fr>
9440 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
9441 sys/types.h and sys/stat.h, and check for them.
9443 2001-06-13 Akim Demaille <akim@epita.fr>
9445 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
9448 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9450 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
9451 succeeds and only try adding libdnet upon a failure.
9453 2001-06-12 Akim Demaille <akim@epita.fr>
9455 * autoscan.in (&output_kind): Output the comment only if it exists.
9456 (%kind_comment): Add entry for `programs'.
9457 (&output_programs): Use &output_kind.
9458 (&output_functions, &output_identifiers, &output_headers)
9459 (&output_programs): Inline, and remove.
9461 2001-06-12 Akim Demaille <akim@epita.fr>
9463 * autoscan.in (%kind_comment): New.
9465 (output_functions, output_identifiers, output_headers): Use it.
9467 2001-06-12 Akim Demaille <akim@epita.fr>
9469 * autoscan.in (&print_unique): Take `$kind' and `$word' as
9470 arguments, to factor indirections into `%macro' and `%used'.
9471 (%generic_macro): Fix a typo.
9473 2001-06-12 Akim Demaille <akim@epita.fr>
9476 * autoscan.in (@kinds): Add `libraries'.
9477 Use `@kinds' instead of hard coded lists.
9478 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
9479 Remove, replaced by...
9482 2001-06-12 Akim Demaille <akim@epita.fr>
9484 * autoscan.in (%functions_macros %headers_macros)
9485 (%identifiers_macros %programs_macros %makevars_macros): Remove,
9489 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
9491 * aclang.m4 (AC_NO_EXECUTABLES): Override
9492 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
9494 2001-06-11 Akim Demaille <akim@epita.fr>
9496 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
9498 Reported by Andreas Schwab.
9500 2001-06-11 Akim Demaille <akim@epita.fr>
9502 * Makefile.am, Makefile.maint: Typos.
9504 2001-06-09 Akim Demaille <akim@epita.fr>
9506 * doc/autoconf.texi (Here-Documents): New section, gathering
9507 documentation about here-documents.
9508 Use `href', not `uref', and other changes.
9510 2001-06-09 Akim Demaille <akim@epita.fr>
9512 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
9515 2001-06-09 Akim Demaille <akim@epita.fr>
9517 * doc/autoconf.texi (Limitations of Builtins): Complete the
9518 description of the here-docs penalties with Alexandre Oliva's
9521 2001-06-01 Paul Eggert <eggert@twinsun.com>
9523 * doc/autoconf.texi: Talk about here documents and speedups.
9524 Do not use "echo" on arbitrary strings.
9525 Spell "here-documents" consistently with the standard.
9527 2001-06-09 Akim Demaille <akim@epita.fr>
9529 * doc/autoconf.texi (Concept Index): Introduce it.
9530 Regenerate the menus.
9532 2001-06-09 Akim Demaille <akim@epita.fr>
9534 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
9535 * config/prev-version.txt: New.
9536 * config/move-if-change: New, for GNU libc.
9538 2001-06-06 Pavel Roskin <proski@gnu.org>
9540 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
9542 2001-06-06 Akim Demaille <akim@epita.fr>
9544 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
9545 properly when $1 is not a literal.
9546 Fixes PR Autoconf/187, reported by Bram Moolenaar.
9548 2001-06-06 Akim Demaille <akim@epita.fr>
9550 Invoking AC_COPYRIGHT before AC_INIT fails.
9552 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
9553 * acgeneral.m4 (_m4_divert(VERSION_FSF))
9554 (_m4_divert(VERSION_USER)): New.
9555 (AC_COPYRIGHT): $2 is the diversion to use.
9556 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
9557 (AC_INIT): Remove dead comments as now it's commutative.
9559 2001-06-06 Akim Demaille <akim@epita.fr>
9561 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
9564 2001-06-05 Akim Demaille <akim@epita.fr>
9566 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
9568 `*dir' variables cannot be NONE.
9569 Reported by Mark Kettenis.
9571 2001-06-05 Paul Eggert <eggert@twinsun.com>
9573 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
9575 2001-06-04 Akim Demaille <akim@epita.fr>
9577 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
9578 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
9579 (AC_TR_SH): Move as...
9580 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
9581 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
9583 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
9584 (_AS_TR_SH_PREPARE): New.
9585 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
9586 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
9588 2001-06-02 Akim Demaille <akim@epita.fr>
9590 * Makefile.am (.m4.m4f): Pass the options first.
9591 Fixes PR autoconf/182.
9593 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
9595 GNU getopt, when POSIXLY_CORRECT does not permute options and
9596 arguments. So pass the options first.
9597 Fixes PR autoconf/184.
9599 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
9600 (run_m4): Remove files.
9602 Update remainder of script to use them.
9603 (for warning in): Do not use a literal comma as it will not be
9606 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
9608 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
9609 Fortran compilers to check.
9610 (_AC_PROG_F77_V): Add '-###' as a possible option to print
9611 information on library and object files.
9612 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
9615 2001-06-02 Akim Demaille <akim@epita.fr>
9617 * autom4te.in (Request::@request): Declare with `vars', not `my',
9618 as it prevents updates via `do FILENAME'.
9620 2001-06-02 Akim Demaille <akim@epita.fr>
9622 * configure.in (standards_texi): Remove, dead code.
9624 2001-06-02 Akim Demaille <akim@epita.fr>
9628 2001-06-02 Pavel Roskin <proski@gnu.org>
9630 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
9631 for signals other than 0 - exit with code 1.
9632 * m4sh.m4 (AS_TMPDIR): Likewise.
9633 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
9634 * autoheader.in: Likewise.
9635 * autoreconf.in: Likewise.
9636 * tests/torture.at (Signal handling): New test for the above.
9638 2001-06-01 Akim Demaille <akim@epita.fr>
9640 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
9643 2001-05-31 Akim Demaille <akim@epita.fr>
9645 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
9646 Add copyright and comments.
9647 * acheaders: Add stdint.h.
9648 Suggested by Paul Eggert.
9650 2001-05-31 Akim Demaille <akim@epita.fr>
9652 * atgeneral.m4 (AT_INIT): Use $SHELL.
9653 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
9655 2001-05-31 Akim Demaille <akim@epita.fr>
9657 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9659 From Paul Eggert and Lars Hecking.
9661 2001-05-31 Akim Demaille <akim@epita.fr>
9663 * tests/base.at: Adjust line numbers in error messages.
9665 2001-05-31 Akim Demaille <akim@epita.fr>
9667 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
9668 to emit the bangshe line.
9669 Reported by David Carter.
9671 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
9673 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
9674 Fortran (95) compilers to check.
9676 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
9678 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
9681 2001-05-23 Pavel Roskin <proski@gnu.org>
9683 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
9684 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
9685 (AC_PROG_CXXCPP): Likewise.
9687 2001-05-22 Akim Demaille <akim@epita.fr>
9689 * config: New directory.
9690 * configure.in: AC_CONFIG_AUX_DIR it.
9691 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
9693 2001-05-22 Akim Demaille <akim@epita.fr>
9695 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
9696 * autoupdate.in: Specify the Emacs mode.
9697 * acversion.m4.in: Rename as...
9698 * acversion.m4: this.
9699 * tests/Makefile.am (CLEANFILES): More garbage.
9701 2001-05-22 Akim Demaille <akim@epita.fr>
9703 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
9705 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
9708 2001-05-21 Akim Demaille <akim@epita.fr>
9710 * configure.in: Bump to 2.50a.
9714 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9716 This file is part of GNU Autoconf.
9718 GNU Autoconf is free software; you can redistribute it and/or modify
9719 it under the terms of the GNU General Public License as published by
9720 the Free Software Foundation; either version 2, or (at your option)
9723 GNU Autoconf is distributed in the hope that it will be useful,
9724 but WITHOUT ANY WARRANTY; without even the implied warranty of
9725 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9726 GNU General Public License for more details.
9728 You should have received a copy of the GNU General Public License
9729 along with autoconf; see the file COPYING. If not, write to
9730 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
9731 Boston, MA 02110-1301, USA.