1 2006-03-30 Paul Eggert <eggert@cs.ucla.edu>
3 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools):
4 Tighten up the basename/dirname wording.
6 2006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8 * Makefile.maint (sc_texi_notab): New check: do not use TABs
9 in texinfo files outside of verbatim environments.
10 (syntax-check-rules): Update.
11 * doc/autoconf.texi (Configuration Headers): Conform to it.
13 2006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change)
15 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for
16 aclocal cannot be given on the command line.
18 2006-03-29 Paul Eggert <eggert@cs.ucla.edu>
20 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME.
21 Give an example for AS_DIRNAME instead of referring to Posix..
22 (File System Conventions): Put discussion of // versus / here, and
24 (Limitations of Usual Tools): Add basename. Remove verbiage
25 after dirname, since it got moved to the above sections.
26 All this was inspired by a patch proposed earlier by Eric Blake.
28 2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
30 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
31 `$0' to protect against spaces.
32 * lib/autotest/general.m4 (AT_INIT): Likewise.
33 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
36 2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
38 * bin/autoscan.in: The value of find_configure_ac should be
39 checked for existence, so we don't barf over a nonexisting
40 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>.
42 2006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
44 * bin/autoupdate.in: Fix some typos.
46 2006-03-21 Stepan Kasal <kasal@ucw.cz>
48 * doc/autoconf.texi (Installation Directory Variables): Fix typo.
50 2006-03-21 Stepan Kasal <kasal@ucw.cz>
52 * lib/autoscan/autoscan.list: Refreshed.
54 2006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
56 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C
57 and Erlang related variables.
59 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC)
60 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C))
61 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C))
62 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C))
63 (AC_LANG_BOOL_COMPILE_TRY(Objective C))
64 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C))
65 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC)
66 (_AC_PROG_OBJC_G): New macros.
67 (_AC_ARG_VAR_CPPFLAGS): Adjusted.
68 * doc/autoconf.texi (Objective C Compiler): New node.
69 (Preset Output Variables): Document OBJCFLAGS.
70 (Language Choice): Document `Objective C' language.
71 (Fortran Compiler): Fix typo.
73 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>.
75 2006-03-20 Stepan Kasal <kasal@ucw.cz>
77 * doc/autoconf.texi (Default Includes): Fix typo
78 s/AC_HEADERS_STDC/AC_HEADER_STDC/
79 (Limitations of Usual Tools): s/unwriteable/unwritable/
80 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT):
81 Fix typos in the comments.
83 2006-03-17 Stepan Kasal <kasal@ucw.cz>
85 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS):
86 Factor out the warning to...
87 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'.
88 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning.
89 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
91 2006-03-17 Stepan Kasal <kasal@ucw.cz>
93 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special
94 case `ac_delim' when writing the sed script.
96 2006-03-17 Stepan Kasal <kasal@ucw.cz>
98 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4,
100 (AS_SHELL_SANITIZE): ... here.
101 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say
104 2006-03-17 Stepan Kasal <kasal@ucw.cz>
106 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of
108 (_AC_PATH_PROG): Store the result to VARIABLE.
109 (AC_PATH_PROG): No need to set VARIABLE again.
111 2006-03-17 Stepan Kasal <kasal@ucw.cz>
113 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests:
114 the first one is usual AT_CHECK_MACRO test, the second one checks
115 that the same works when cross-compiling.
116 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct):
117 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it.
119 2006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend
122 the directory `/usr/bin/posix' in the shell search, to prefer
123 the Posix shell not only in subsequent spawns as with `$BIN_SH'
126 * doc/autoconf.texi (contents): To fix texi2html output, hide
127 `@setcontentsaftertitlepage' for HTML.
128 (Writing Autoconf Macros): Likewise, insert space after `@c'.
129 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to
132 2006-03-16 Stepan Kasal <kasal@ucw.cz>
134 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH
136 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set.
137 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation
138 why IFS is restored so late; thank you, Ralf, for reminding us.
140 2006-03-15 Stepan Kasal <kasal@ucw.cz>
142 * doc/autoconf.texi (Pretty Help Strings): No need to use cached
143 variables in the examples.
145 2006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org>
147 * doc/autoconf.texi (several sections): Cleaned up documentation for
150 2006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
152 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine
153 failure condition for `$(cmd)' style command substitutions.
154 (Parenthetical command substition, Multiline parenthetical
155 command substition): Use it.
157 * doc/autoconf.texi (Special Shell Variables): Missing word.
158 Reported by Keith Marshall <keith.marshall@total.com>.
160 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset
161 IFS even in case of empty `$PATH'.
163 2006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
165 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize
166 `expr' away if there is nothing to do.
167 < --keywords >: Simplify and robustify argument handling.
168 Revert erroneous comment from 2005-08-23. Extend to allow
169 keyword negation with `!'.
170 Update help message. Remove broken code to prevent running
171 tests multiple times.
172 * doc/autoconf.texi (testsuite Invocation) < --keywords >:
173 Update and fix the documentation accordingly.
174 * tests/autotest.at (Keywords): Renamed to..
175 (Keywords and ranges): .. this. Extended to make sure negated
176 keywords, keywords taken from AT_SETUP arguments, and numeric
177 test ranges work, and that matching is case-insensitive.
179 2006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
181 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to
182 allow to pass unnamed structs even in C++.
183 (AC_CHECK_SIZEOF): Likewise.
184 Also fix quoting error in `AC_MSG_FAILURE' arguments.
185 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF
186 struct): New tests for unnamed structs, each both native and
189 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining
190 a structure inside a cast, for C++ conformance.
191 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise.
192 Also fix quoting error in `AC_MSG_FAILURE' arguments.
194 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99
195 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of
196 trying to execute the command `no'.
198 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not
199 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are
202 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace
203 example. Do not emphasize `$%', it is hardly new and special.
204 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>.
206 * doc/autoconf.texi (Limitations of Usual Tools): Document
207 OpenBSD and traditional `grep' failure to handle multiple
208 patterns separated by newlines.
210 2006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org>
212 * doc/autoconf.texi (several sections): Add documentation for macros
215 2006-03-10 Eric Blake <ebb9@byu.net>
217 * doc/autoconf.texi (Obsolete Macros): Fix wording of
220 2006-03-10 Paul Eggert <eggert@cs.ucla.edu>
222 * doc/autoconf.texi: Use @acronym more consistently for acronyms
223 like BSD, GPL, LGPL. Fix minor English typos.
224 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL):
225 Mention that these macros are becoming obsolete.
226 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE):
227 Use more modern terminology for which standard is what.
228 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs
230 (AC_PROG_CXX): Likewise.
231 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS):
232 Remove obsolete discussion about how to port to K&R.
233 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than
234 the obsolescent AC_HEADER_STDC.
235 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs
238 2006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
240 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
241 Remove stdin redirection from /dev/null to allow pipe to work.
243 2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
245 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC):
246 Require that /lib/cpp include stdio.h correctly. Solaris 10's
247 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by
250 2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
252 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
253 HP-UX sed is 99 commands, not 100.
254 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an
255 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by
256 newline for portability.
257 * tests/torture.at (Torturing config.status): Also test 100
258 AC_SUBST_FILE invocations. Fix test to actually verify the
259 AC_CONFIG_FILES output.
260 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX
261 command, label, and read-file `r' limits. Unify HP-UX spelling.
263 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in
265 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of
267 (autoconfdir, $(AUTOCONF_FILES)): Likewise.
268 * tests/mktests.sh: Small shell portability fixes.
270 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
272 * doc/autoconf.texi (Caching Results): Fix the examples to use a
273 recommended quoting style and discard unwanted output.
275 2006-03-05 Paul Eggert <eggert@cs.ucla.edu>
277 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro.
278 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test
279 cases, and to work around Tru64 expr bug.
281 2006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
283 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64
284 expr bug that turns the result of a regex match into a number if
287 2006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
289 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around
290 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented
291 in section `Specific Compiler Characteristics'.
293 2006-03-04 Eric Blake <ebb9@byu.net>
295 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
298 2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
300 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct
301 order of variable initialization, so even the Solaris 2.6 shell
302 can create a config header correctly. Fixes lots of test suite
305 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
307 * doc/autoconf.texi (Text processing Macros): New node to
308 document the m4sugar macros m4_re_escape, m4_tolower,
309 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq.
311 2006-02-22 Paul Eggert <eggert@cs.ucla.edu>
313 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo:
314 XrmInitialize (0) -> XrmInitialize ().
315 Reported by Toshio Kuratomi.
317 2006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
319 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one
320 test, as in `if tests; then cmd1; elif ...; else ...; fi'.
321 * doc/autoconf.texi (Programming in M4sh): Adjusted.
322 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure
323 both macros are defun'ed so that required macros are evaluated
326 * doc/autoconf.texi (Prerequisite Macros): State more precisely
327 where a required macro will be expanded.
328 (Coding Style): Another reason not to use `m4_define'.
330 2006-02-21 Eric Blake <ebb9@byu.net>
332 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization.
334 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
336 * doc/autoconf.texi (Looping constructs): New node, to
337 document m4_for, m4_foreach, m4_foreach_w, and mention
339 (Obsolete Macros): Document AC_FOREACH.
340 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment.
341 (m4_for): Fix to never loop (almost) endlessly, work correctly
342 with arithmetic expressions in arguments, a step of zero or
343 non-integer multiple of the interval, and avoid integer
345 * tests/m4sugar.at: New test for m4_for, m4_foreach, and
348 2006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org>
350 Add basic support for Erlang, both for configuring Erlang/OTP
351 tools, and Erlang as a conf test language.
352 * lib/autoconf/erlang.m4: New file.
353 * lib/autoconf/autoconf.m4: Add erlang.m4.
354 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise.
355 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise.
356 * NEWS: Add short description of new macros.
357 * THANKS: Add Romain Lenglet.
359 2006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
361 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
362 native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
364 2006-02-15 Eric Blake <ebb9@byu.net>
366 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
369 2006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
371 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro.
372 (_AS_CASE): Private helper macro.
373 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE.
374 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE.
375 Fix syntax of AS_IF description
376 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds
377 for the AC_REQUIRE mess.
378 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and
381 2006-02-14 Paul Eggert <eggert@cs.ucla.edu>
383 * doc/autoconf.texi: Minor style cleanup.
384 Be consistent about spaces after commas.
385 Insert [] where empty args look a bit funny.
386 Fix some "i.e." and "e.g." usages.
387 Try to avoid "X/Y" usages.
388 Don't be pedantic about "ISO C99"; just say C99.
389 Prefer GNU style for spaces in front of parens.
390 (Function Portability): Comment about C89 versus C99
391 signed integer division.
392 (Particular Headers): Use current gnulib style for dirent
395 2006-02-14 Stepan Kasal <kasal@ucw.cz>
396 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
398 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of
399 macros without parameters.
400 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise.
401 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS.
402 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS
404 (autoupdate): Updated to match AU_ALIAS fix.
406 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
407 and Paul Eggert <eggert@cs.ucla.edu>
409 * doc/autoconf.texi (Programming in M4sh): Document
410 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE.
412 2006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
414 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to..
415 (AS_BOURNE_COMPATIBLE): ..this.
416 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers.
418 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
420 * doc/install.texi (Defining Variables): Tighten up the
421 CONFIG_SHELL wording.
423 2006-02-12 Paul Eggert <eggert@cs.ucla.edu>
424 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
426 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output
427 of (set -o) rather than testing whether (set -o posix) succeeds,
428 to work around a bug in the AIX 5.3 shell. Problem originally
429 reportd by Howard Chu for libtool.
431 2006-02-10 J.T. Conklin <jtc@acorntoolworks.com>
433 * doc/autoconf.texi (Running the Compiler, Running the Linker):
434 Changes the macro arguments in summaries to match the
437 2006-02-04 Stepan Kasal <kasal@ucw.cz>
439 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL'
440 hint as ``a workaround for a bug.''
442 2006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
444 * bin/autoreconf.in: New option `--no-recursive'.
445 Improve wording for subpackages a bit.
446 * doc/autoconf.texi (autoreconf Invocation): Updated.
449 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL'
450 in environment of `configure', not the command line.
451 Reported by Howard Chu <hyc@highlandsun.com>.
453 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
455 * doc/autoconf.texi (Limitations of Builtins): Document the
456 problem with "trap -".
458 2006-01-23 Steven G. Johnson <stevenj@fftw.org>
460 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN):
461 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check
462 messages to differentiate Fortran and Fortran 77 tests.
463 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of
464 AC_LANG_ASSERT, to allow use in mixed-language projects.
466 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
468 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined
469 FOO" to "defined (FOO)".
470 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise.
471 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise.
472 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise.
473 * tests/tools.at (ifnames): Likewise.
475 2006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
477 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp.
478 * lib/Autom4te/General.pm (mktmpdir): Likewise.
479 (END): Improve error message a bit.
480 Reported by Bruce Korb <bkorb@gnu.org>.
482 2006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
484 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
485 `-LIST:' and `-LNO:', for PathScale 2.3 compilers.
487 2006-01-11 Stepan Kasal <kasal@ucw.cz>
489 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h
490 requires sys/stream.h. Reported by Oliver Kiddle.
492 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
493 Stepan Kasal <kasal@ucw.cz>
495 * lib/autotest/general.m4 (AT_INIT): When ensuring writability
496 before the removals of test dirs, use `find' to avoid modification
497 of symlinked directories.
499 2006-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
501 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN):
502 Don't ignore the macro arguments.
504 2006-01-11 David Thompson <dthompsn@vizsolutions.com>
506 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit'
507 declaration that works for MSVC.
509 2006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
511 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT):
512 Add `*.map' and `.inf' for Green Hills compiler.
513 Reported by Stefan Seefeld <stefan@codesourcery.com>.
515 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs
516 correctly: pad with spaces after FIRST_PREFIX if necessary,
517 and compute string lenghts with `m4_qlen' instead of `m4_len'.
518 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated.
519 * tests/m4sh.at (AS_HELP_STRING): Test extended.
521 Reported by numerous people, numerous times.
523 2006-01-05 Paul Eggert <eggert@cs.ucla.edu>
525 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in
526 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in:
527 * lib/autoconf/general.m4, lib/autoconf/status.m4:
528 * lib/autotest/general.m4, tests/local.at:
529 Update copyright year to 2006.
531 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for
533 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b|
534 for file names, again. Reported by Noah Misch.
535 (Coding Style): Explain that s|a|b| is preferred for file names.
536 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/.
537 (AC_OUTPUT_MAKE_DEFS): Likewise.
538 * lib/autotest/general.m4 (AT_INIT): Likewise.
539 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise.
540 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise.
542 Fix Posix-conformance bugs re use of { command in sed scripts,
543 and improve the sed-related documentation a bit.
544 * doc/autoconf.texi (Installation Directory Variables): Use
545 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed"
546 rather than "sed" when talking about Sed in general.
547 (Particular Programs): Likewise.
548 (Coding Style): y is like s with respect to / and ,.
549 (Limitations of Usual Tools): Document the weird restrictions
550 that Posix has about { }. Use better quoting.
551 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER):
552 Rewrite to conform to Posix rules about { } in sed scripts.
553 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise.
554 * tests/foreign.at (Libtool): Likewise.
555 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS):
556 Use our own style advice re 's,a,b,' versus 's|a|b|'.
558 2006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
560 * lib/autoconf/status.m4: Fix typo.
562 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
563 singly- or doubly-quoted arguments to `-cmdline', `-ignore',
564 `-def', for the benefit of Portland `pgf90 -Mipa'.
565 Reported by Christopher Hulbert <cchgroupmail@gmail.com>.
567 2006-01-04 Paul Eggert <eggert@cs.ucla.edu>
569 * doc/autoconf.texi: Update copyright (and other) dates to 2006.
570 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default
571 shell from zsh to bash.
573 2005-12-31 Stepan Kasal <kasal@ucw.cz>
575 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR;
576 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov.
578 2005-12-29 Paul Eggert <eggert@cs.ucla.edu>
580 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced
581 parentheses in $(...). Problem reported by Eric Blake.
583 2005-12-12 Paul Eggert <eggert@cs.ucla.edu>
585 * doc/autoconf.texi (Limitations of Usual Tools):
586 Mention which characters can be escaped with \ in portable regular
587 expressions used in grep, sed, expr. Mention the leading ^ problem
588 with expr. Clean up some confusing wording. Mention which
589 grep options are portable.
591 2005-12-09 Stepan Kasal <kasal@ucw.cz>
593 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment.
595 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
597 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous
598 patch, noted by Ralf Wildenhues.
600 2005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
602 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o
603 posix' unconditionally, for pdksh in `native sh' emulation.
605 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
607 * doc/autoconf.texi (Shellology): Document eval $? problem
609 (Limitations of Builtins): Likewise.
611 2005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
613 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass
614 CONFIG_SHELL in the environment of the configure rerun.
615 * doc/autoconf.texi (Here-Documents, config.status Invocation):
616 Suggest passing CONFIG_SHELL absolute, and in the environment
617 rather than as option.
619 2005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
621 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE):
622 Fix quoting of output line (triggered for many AC_SUBST_FILEs).
623 Fix macro quoting. Fix output for n * 98 substituted variables.
625 2005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
627 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize
628 `tmp' to avoid file removal race.
630 2005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
632 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
633 ac_clean_files and LIBOBJS.
635 2005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
637 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG):
638 Factor functionality to..
639 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only
640 `AC_SUBST($1)' in the public version.
641 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL)
642 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and
645 2005-11-01 Stepan Kasal <kasal@ucw.cz>
647 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3
650 2005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
652 * NEWS: Move AH_HEADER mention to right place.
654 2005-10-27 Stepan Kasal <kasal@ucw.cz>
656 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2"
657 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
659 2005-10-25 Stepan Kasal <kasal@ucw.cz>
661 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only
663 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
665 2005-10-24 Stepan Kasal <kasal@ucw.cz>
667 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of
668 conftest.o, to see whether the compiler really obeys; rm the object
669 file before and after the test and register it with ac_clean_files.
670 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise.
672 2005-10-21 Stepan Kasal <kasal@ucw.cz>
674 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining,
675 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the
676 code so that the most common case requires less forks.
678 2005-10-20 Stepan Kasal <kasal@ucw.cz>
680 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
681 not portable; thanks to Paul Eggert and Alexandre.
683 * NEWS: Fix an old typo.
685 2005-10-20 Jim Meyering <jim@meyering.net>
687 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
688 the latter'', in two places.
690 2005-10-19 Paul Eggert <eggert@cs.ucla.edu>
692 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
693 AC_LANG_PROGRAM, fixing a typo. Don't give details about
694 the inner workings of AC_LANG_FUNC_LINK_TRY.
695 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match
696 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned
697 by the function rather than ignoring it.
698 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply
699 comparing its address. Intel's interprocedural optimization was
700 outsmarting the old heuristic. Problem reported by
703 2005-10-19 Stepan Kasal <kasal@ucw.cz>
705 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment.
707 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
709 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro.
710 (m4_map, m4_map_sep): Use it. Handle the empty list correctly.
712 2005-10-04 Stepan Kasal <kasal@ucw.cz>
714 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable
715 before removing it (chmod -R u+rwx); there are three instances of this.
717 2005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
718 Stepan Kasal <kasal@ucw.cz>
720 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses.
721 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists,
722 make its content writable before removing it. Remove an errorneous
723 comment from the end, where the logs of the failed tests are copied
724 to the main log file.
726 2005-09-27 Stepan Kasal <kasal@ucw.cz>
728 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader,
729 in case the computer is too quick. Double quote the configure.ac
732 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent
733 problems if the testsuite were running too fast.
735 2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
737 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
738 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
739 (which belong to Xt, not X itself). See Debian bug 327655.
740 * NEWS: Mention this.
742 2005-09-07 Stepan Kasal <kasal@ucw.cz>
744 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment.
746 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
748 * config/move-if-change: Don't output "$2 is unchanged";
749 suggested by Ben Elliston. Handle weird characters correctly.
751 2005-09-06 Stepan Kasal <kasal@ucw.cz>
753 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE
754 calls, so that the final expansion of this macro is shorter.
755 Create the conftest.$ac_ext outside the `for' loop, to speed the run.
756 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip
757 the cleanup there. Use AS_VAR_* macros, to be more general.
758 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup.
760 * lib/autoconf/general.m4: Use AS_IF where appropriate.
762 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default.
764 2005-09-01 Stepan Kasal <kasal@ucw.cz>
766 * doc/autoconf.texi (Configuration Headers): Add an index entry
769 2005-08-26 Pavel Roskin <proski@gnu.org>
771 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable
772 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when
775 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
777 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
778 The previous patch didn't work, so try a better one.
780 2005-08-26 Stepan Kasal <kasal@ucw.cz>
782 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting
783 in the example. Reported by Bruno Haible.
784 <AS_TR_SH>: Likewise. Also modify the example to be more convincing:
785 "if $undefined_var;" succeeds with my shell.
787 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST,
788 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE;
789 but change the m4_divert_text to m4_divert_once.
791 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
793 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE):
794 Work around bug in Solaris /usr/xpg4/bin/awk.
795 The bug is present in at least Solaris 8 through 10.
797 2005-08-24 Stepan Kasal <kasal@ucw.cz>
799 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting
800 some evil values and relying on the fact that $* concatenates the
801 parameters by the first character from IFS.
803 2005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>,
804 Stepan Kasal <kasal@ucw.cz>
806 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the
807 first header appears, define AH_HEADER.
808 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER.
809 Update limitations about when to call AC_CONFIG_HEADERS.
810 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE
811 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain
812 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not
813 ``Configuration Actions''; fix their index entries.
815 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords
816 options correctly. Process N-M as M-N if M is smaller than N.
817 Process ranges correctly so that N-N will run only N.
818 Sort and uniquify the tests that will be run. If there is more
819 than one test, reinsert the banners for the tests.
820 * tests/autotest.at (Keywords): Unmark XFAIL.
822 2005-08-23 Stepan Kasal <kasal@ucw.cz>
824 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list
825 before passing the macro name to AH_TEMPLATE.
827 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status
828 now opens log after option processing; in particular, --version
829 and --help do not touch config.log.
831 * Makefile.maint: Revert the change from 2005-08-12.
833 2005-08-22 Stepan Kasal <kasal@ucw.cz>
835 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out
837 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros.
839 2005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
841 * doc/autoconf.texi (Using Autotest, testsuite Scripts)
842 (Autotest Logs, Writing testsuite.at, testsuite Invocation):
845 * doc/autoconf.texi (Defining Symbols, Changed Results):
846 Prepend to LIBS, not append, in examples.
848 2005-08-16 Stepan Kasal <kasal@ucw.cz>
850 When building in place, set srcdir="."; suggested by Tim Van Holder.
852 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize
853 build in place, we need ac_pwd, and thus have to AC_REQUIRE ...
854 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them.
855 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="."
856 does not mean "no --srcdir option".
858 2005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
860 * tests/autoscan.at (autoscan): New file.
861 * tests/suite.at: Use it.
862 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it.
863 Reported against Libtool by Gideon Go <gideon.go@gmail.com>.
865 * tests/autotest.at (Keywords): Test keywords combinations.
867 2005-08-12 Stepan Kasal <kasal@ucw.cz>
869 * Makefile.maint (GZIP_ENV): When checking the help text of gzip,
870 add "2>&1"; gzip 1.2.4 prints help on stderr.
872 2005-07-27 Stepan Kasal <kasal@ucw.cz>
874 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason
875 was pushdef'ed twice while popped only once. Push it only once.
876 (_AT_CHECK): Cosmetic changes to the "case $at_status" command.
878 2005-07-26 Stepan Kasal <kasal@ucw.cz>
880 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now
881 prefixed by mere "===", not "configure: === ".
883 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
885 * Makefile.maint: Update from Bison.
887 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to
888 "<tab>" in comment, so that the point is understandable.
890 2005-07-25 Stepan Kasal <kasal@ucw.cz>
892 Rewrite substantial part of lib/autoconf/status.m4.
893 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS,
894 and CONFIG_COMMANDS are not processed in four separate loops.
895 Instead, there is one main loop. This alows that the common code
896 is expanded only once, thus config.status (and configure) is smaller.
898 The registration mechnism in AC_CONFIG_FILES and cousins also changed;
899 the AC_LIST_FILES and cousins macros are no longer used.
901 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
902 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ...
903 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK,
904 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer
905 contain the initialization, nor the for loop, nor the associated
906 commands; all these go to ...
907 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from
908 _AC_OUTPUT_CONFIG_STATUS.
909 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN):
910 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP.
911 (_AC_OUTPUT_FILE): The creation of the sed script ...
912 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ...
913 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from
914 _AC_OUTPUT_MAIN_LOOP.
915 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS,
916 _AC_CONFIG_COMMANDS): Use ...
917 (_AC_CONFIG_FOOS): ... this new macro, which uses these ...
918 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros.
919 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK,
920 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed.
921 (_AC_CONFIG_DEPENDENCY): Update, it uses these ...
922 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON):
924 (_AC_CONFIG_UNIQUE): Update.
925 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS):
927 (_AC_LIST_TAGS): ... new common macro.
928 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS,
929 AC_LIST_COMMAND_COMMANDS): Replaced by this ...
930 (_AC_LIST_TAG_COMMANDS): ... new common macro.
931 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section;
932 this didn't belong to the `config commands' section.
933 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend.
934 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE,
935 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong
936 to the `config commands' section either.
937 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS.
938 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend.
940 ... and many changes to the comments nearby.
942 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day,
943 set ac_subdirs_all='_AC_LIST_SUBDIRS'.
944 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
945 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed.
946 (#define header templates): The comment at the top of the generated
947 header now includes the name(s) of the source file(s).
949 Several unrelated small changes:
951 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first
952 parameter to AC_DIAGNOSE.
953 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise.
954 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages
955 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES.
956 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent
958 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code
959 in AC_OUTPUT doesn't double-quote it either.
960 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the
963 2005-07-10 Stepan Kasal <kasal@ucw.cz>
965 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
966 versions of Portland Group compiler produce single- and double-quoted
967 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org>
968 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
970 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
972 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
973 This is a corrected version of yesterday's patch.
975 2005-07-07 Stepan Kasal <kasal@ucw.cz>
977 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full
978 path, too; insert a "===" to emphasize the line.
980 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename
981 ac_cv_build_alias to ac_build_alias.
982 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify.
984 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this
985 change eliminates it. Problem reported by Alexandre Duret-Lutz.
986 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ...
987 (AC_ARG_VAR): ... here.
988 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and
991 Keep a list of all precious variables and process them with one simple
992 for loop, instead of expanding all commands, or, OTOH, complicated
993 processing of output of "set".
994 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the
995 variable names in new macro...
996 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars.
997 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS
998 a loop to assign all ac_env_* and ac_cv_env_* variables.
999 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert
1001 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign
1002 its value to shell variable ac_precious_vars and call
1003 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE.
1004 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call
1005 _AC_ARG_VAR_VALIDATE.
1007 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C)
1008 and the AC_SUBSTs ...
1009 (AC_INIT): ... here.
1011 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of
1012 the ac_subst_files section in config.log.
1014 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change.
1016 2005-07-06 Paul Eggert <eggert@cs.ucla.edu>
1018 * NEWS: New macro AC_C_TYPEOF.
1019 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF.
1020 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro.
1021 * tests/c.at (C keywords): Test AC_C_TYPEOF.
1023 Fix problems reported by Nicolas Joly.
1024 * tests/base.at (Input/Output): Ignore 'loading site script' chatter.
1025 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too.
1026 They are generated by the Tru64 v5.1B shell.
1028 2005-07-05 Stepan Kasal <kasal@ucw.cz>
1030 Fix my changes from 2005-07-01; reported by Noah Misch.
1031 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
1032 description, the macro now accepts only a single tag.
1033 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
1035 Fix cases when the varsions of Autoconf and Autotest don't match.
1036 Reported by Noah Misch.
1037 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
1038 at_top_builddir, for compatibility with older autotest.
1039 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
1040 is not set, use at_top_builddir, for compatibility with older
1041 versions of autoconf.
1043 2005-07-04 Paul Eggert <eggert@cs.ucla.edu>
1045 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048.
1046 Problem reported by Patrick Welche.
1048 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1050 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in
1051 sed substitution command, so that we allow | in program prefixes
1052 and program suffixes. (& is a problem anyway; we're not fixing
1054 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for
1055 configure_input, top_builddir, srcdir, etc.
1056 * lib/autotest/general.m4 (AT_INIT): Likewise, for
1057 PATH_SEPARATOR in AUTOTEST_PATH.
1059 2005-07-02 Alexandre Duret-Lutz <adl@gnu.org>
1061 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the
1062 for loop over config.site files using `set', to allow
1063 directory names containing IFS characters.
1065 2005-07-01 Paul Eggert <eggert@cs.ucla.edu>
1067 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for
1068 directories with weird names. Apparently some people like living
1069 on the edge. However, improve the test that "pwd" actually does
1070 report a name for the working directory.
1071 * NEWS: Remove the claim that we test for funny chars in dir names.
1073 2005-07-01 Stepan Kasal <kasal@ucw.cz>
1075 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
1077 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
1078 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
1079 Now accept a single tag, not whitespace separated list.
1080 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
1082 2005-06-30 Stepan Kasal <kasal@ucw.cz>
1084 * doc/autoconf.texi (Configuration Headers): Change the explanation
1085 about #include <config.h>.
1086 (Generic Functions): Mention the Gnulib project.
1087 (Limitations of Usual Tools) <sed>: Another minor rephrasing.
1089 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here
1090 document to output the default config_* lists to config.status.
1091 Don't recognize option --file, if the functionality is not there.
1092 Likewise for --header; moreover, recognize --he and --h as shortcuts
1093 for --help in that case.
1095 * lib/autoconf/status.m4: Fix the order of the "sections", so that it
1096 matches the order of execution. No code changed.
1098 2005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1100 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
1101 single-quoted -cmdline argument in Portland Group compiler.
1102 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
1104 2005-06-30 Alexandre Duret-Lutz <adl@gnu.org>
1106 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE.
1108 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1110 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file
1111 descriptors to child processes; reported by Norman Gray.
1113 2005-06-29 Stepan Kasal <kasal@ucw.cz>
1115 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS.
1117 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced
1118 instead of AC_SUBST; proposed by Alexandre Duret-Lutz.
1119 (AC_SUBST): Call it.
1120 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for
1121 the directory specific variables; but don't call it for configure_input.
1123 2005-06-28 Derek Price <derek@ximbiot.com>
1125 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent
1128 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1130 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working
1131 directory have inherent problems with special characters like spaces,
1132 due to limitations in Make syntax. Problem reported by Alexandre
1134 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above.
1135 Also, fix Tru64 porting problem with shell patterns,
1136 reported by Ralf Wildenhues.
1138 2005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1140 * doc/autoconf.texi (Subdirectories): Fix markup typos.
1142 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
1144 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly.
1146 Fix some more shell quoting problems. Prompted by a bug report
1147 from Justace Clutter.
1148 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid
1149 variable into diagnostic. Make the diagnostic an error, not a warning,
1150 because we really don't support spaces and suchlike in dir names.
1151 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file.
1152 Don't worry about backslashes in srcdir; it can't happen now.
1153 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg.
1154 Simplify ac_optarg handling.
1155 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes.
1157 2005-06-22 Stepan Kasal <kasal@ucw.cz>
1159 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel.
1160 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED.
1161 * tests/atlocal.in: Propagate $EGREP and $SED.
1162 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E.
1163 (AT_CONFIG_CMP): Use sed instead of grep plumbing.
1165 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention
1166 that '\|' is not allowed in BREs; recommend using newline separated
1167 list of patterns instead of multiple -e options.
1169 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment.
1171 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2.
1173 2005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1175 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo.
1177 2005-06-21 Stepan Kasal <kasal@ucw.cz>
1179 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that
1180 b, t, r, w commands require single space, while : cannot have any.
1181 (Special Shell Variables): Fix sed code this in the example.
1182 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo.
1183 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description.
1185 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty,
1186 expand to the empty list. Don't use two pairs of m4_changequote,
1189 2005-06-20 Derek Price <derek@ximbiot.com>
1191 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious.
1193 2005-06-17 Paul Eggert <eggert@cs.ucla.edu>
1195 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk.
1196 * doc/autoconf.texi:
1197 Don't mention Solaris versions so much, if a
1198 problem is common to all extant versions of Solaris. Say "SunOS
1199 4" instead of "SunOS" for SunOS 4.
1200 (awk): Mention more of the limitations of traditional Awk.
1201 (cat): Don't talk about cat -v.
1203 2005-06-16 Paul Eggert <eggert@cs.ucla.edu>
1205 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro.
1206 (AS_VERSION_COMPARE): New macro. The API is taken from CVS,
1207 but the implementation is entirely different and is designed
1208 to be compatible with glibc strverscmp.
1209 * tests/m4sh.at (AS_VERSION_COMPARE): New test.
1211 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug
1212 on Mac OS X 10.4 reported by Peter O'Gorman in:
1213 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html
1214 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT):
1215 Use shell builtins rather than 'expr', to work around expr bug.
1217 2005-06-10 Paul Eggert <eggert@cs.ucla.edu>
1219 * doc/autoconf.texi: "filesystem" -> "file system".
1220 "behaviour" -> "behavior".
1221 Warn about \(...\)* in Solaris sed (written by Ralf Menzel).
1222 * lib/autoconf/general.m4: Omit blank after ":" sed command,
1224 * lib/m4sugar/m4sh.m4: Likewise.
1225 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem
1226 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal.
1228 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t.
1229 (.x.1): Ignore the time stamp in the .TH line when deciding whether
1230 to update the man page. That way, we don't have to check in new
1231 man pages every month.
1233 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains
1234 quotes and backslashes. Patch from Derek Price.
1236 2005-06-10 Derek Price <derek@ximbiot.com>
1238 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP &
1241 2005-06-08 Paul Eggert <eggert@cs.ucla.edu>
1243 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff
1244 -u, since it outputs chatter if the input files are the same.
1245 Problem reported by Ralf Menzel.
1247 2005-06-08 Derek Price <derek@ximbiot.com>
1249 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than
1250 renaming them since they are about to be redefined anyhow.
1252 2005-06-08 Derek Price <derek@ximbiot.com>
1254 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most
1255 redefined M4 macros to this node. Document m4_include & m4_sinclude.
1256 Move m4_undefine to alphabetical order.
1258 2005-06-07 Paul Eggert <eggert@cs.ucla.edu>
1260 * README: Recommend GNU M4 1.4.3 or later.
1261 * doc/autoconf.texi (Introduction): Likewise.
1262 Reword to avoid some formatting glitches.
1263 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days.
1264 Clarify explanation of HP compiler bug.
1265 Redo example output tp match current CVS snapshot.
1266 Use @example.org in email addresses when the examples
1267 might get inadvertently cut-and-pasted into user code.
1268 Remove example of autom4te usage that doesn't seem to work now.
1269 Use modern AC_INIT (except when the example is meant to be
1270 shown with Autoconf 2.13).
1271 Update ksh info for Solaris 9 and later.
1273 Modernize description of Automake versions a bit.
1274 Don't claim a future version of Autoconf is near.
1275 * doc/install.texi: Reword to avoid some formatting glitches.
1277 2005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1279 * doc/autoconf.texi: Add [] to examples, so that the manual
1280 follows its own advice about quoting better.
1281 Reword to avoid some formatting glitches.
1282 * doc/installt.exi: Reword to avoid some formatting glitches.
1284 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
1285 Tru64 ksh pattern matching bug. Reported against Libtool by
1286 Albert Chin <libtool@mlists.thewrittenword.com> and
1287 Nicolas Joly <njoly@pasteur.fr>.
1289 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1291 m4_cdr of one-member list was [[]] (one-member list containing an
1292 empty string) instead of [] (an empty list. Callers were skewed to
1293 match this misbehaviour. As a consequence of this:
1294 - m4_foreach([x], [], [foo]) expanded to `foo', while
1295 - the expansion of m4_foreach([x], [[]], [foo]) was empty.
1296 This bug has been fixed:
1298 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given,
1299 expand to an empty string; print error msg if called without
1301 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous
1302 misbehaviour; handle [] and [[]] correctly.
1304 2005-06-06 Stepan Kasal <kasal@ucw.cz>
1306 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines.
1307 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed
1308 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT.
1310 2005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change)
1312 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot
1313 swallow records with more than 99 fields.
1314 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to
1315 parse the long line.
1317 2005-06-04 Stepan Kasal <kasal@ucw.cz>
1319 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot
1320 swallow literals longer than 399. Reported by Ralf Wildenhues.
1321 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin,
1322 to workaround this limitation.
1324 2005-06-03 Steven G. Johnson <stevenj@alum.mit.edu>
1326 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition
1327 to gfortran, and make these the first two compiler names
1328 checked (following the general autoconf preference for gcc).
1330 2005-06-03 Stepan Kasal <kasal@ucw.cz>
1332 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers).
1333 (DISTCLEANFILES): Remove $(check_SCRIPTS).
1334 (testsuite): Make sure autotest.m4f is up-to-date before using it.
1336 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1338 * lib/autotest/general.m4 (AT_INIT): Don't create a regular
1339 expression of unbounded size when processing the --list
1340 option. This runs afoul of a limit of 399 bytes per regular
1341 expression on AIX. Problem reported by Ralf Wildenhues.
1343 2005-06-01 Paul Eggert <eggert@cs.ucla.edu>
1345 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE.
1346 * doc/autoconf.texi (Particular Headers): Reword example
1347 for multiline stdbool replacement.
1348 (Setting Output Variables): Reword text a bit. Don't
1349 give all the details about |#_!!_#|.
1350 Reword description of line replacement.
1352 2005-05-31 Dan Manthey <dan_manthey@partech.com>
1354 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may
1355 now contain newlines, and substituted files must be referenced on
1356 a line alone; the sed scripts to substitute them are now very
1358 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many
1359 commands can be put in a sed script portably.
1360 * doc/autoconf.texi (Setting Output Variables): Document above
1361 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple
1362 use of multiline substitution.
1363 * tests/torture.at: No longer expect substitution of newline to fail.
1365 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1367 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics.
1368 From Ralf Menzel (trivial change).
1370 2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
1372 * tests/local.at: Don't attempt to check for negated character
1373 classes in shell scripts. The test was too brittle.
1375 2005-05-25 Stepan Kasal <kasal@ucw.cz>
1377 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
1378 * doc/autoconf.texi (Limitations of Builtins): Document this
1381 2005-05-24 Stepan Kasal <kasal@ucw.cz>
1383 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
1384 common code; used in many places in the tree.
1385 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1.
1386 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change.
1388 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval.
1390 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error
1391 messages when ac_unique_file is not found.
1392 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end.
1393 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo
1394 commands, for consistency with AC_MSG_ERROR and such.
1396 * bin/autoconf.as: Make more use of "shift 2" in option processing.
1398 * bin/Makefile.am: Merge the two rules for creating scripts.
1400 2005-05-23 Stepan Kasal <kasal@ucw.cz>
1402 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make
1403 obsolete; it was never documented.
1404 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead.
1406 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1408 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow.
1409 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ...
1410 (ac_top_builddir): ... this ...
1411 (ac_top_build_prefix): ... to this; the old name is also kept, for
1412 backward compatibility.
1413 (ac_top_builddir_sub): New variable, without the trailing slash,
1415 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/
1416 * doc/autoconf.texi (Configuration Actions): Rename
1417 ac_top_builddir to ac_top_build_prefix.
1418 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename
1419 at_top_builddir to at_top_build_prefix.
1420 * lib/autotest/general.m4 (AT_INIT): Likewise.
1422 2005-05-20 Stepan Kasal <kasal@ucw.cz>
1424 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init
1427 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1429 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second
1430 argument to m4_foreach. I guess it was necessary in the past,
1431 but I think it's a no-op now.
1433 2005-05-17 Stepan Kasal <kasal@ucw.cz>
1435 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive
1436 ``cat <<_ACEOF'' commands to one.
1437 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.''
1438 * lib/autoconf/status.m4: On various places, use expr instead of
1440 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST):
1441 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code.
1442 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from
1444 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for
1445 the wrong patterns between ``case'' and ``esac.'' The previous
1446 code had false positives.
1448 2005-05-14 Alexandre Duret-Lutz <adl@gnu.org>
1450 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR},
1452 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>:
1455 2005-05-13 Paul Eggert <eggert@cs.ucla.edu>
1457 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1,
1458 ChangeLog.2, GNUmakefile, HACKING, Makefile.am, Makefile.cfg,
1459 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac,
1460 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in,
1461 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in,
1462 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am,
1463 config/config.guess, config/config.sub, config/elisp-comp,
1464 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex,
1465 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in,
1466 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm,
1467 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm,
1468 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm,
1469 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm,
1470 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am,
1471 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4,
1472 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4,
1473 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4,
1474 lib/autoconf/fortran.m4, lib/autoconf/functions.m4,
1475 lib/autoconf/general.m4, lib/autoconf/headers.m4,
1476 lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1477 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4,
1478 lib/autoconf/specific.m4, lib/autoconf/status.m4,
1479 lib/autoconf/types.m4, lib/autoscan/Makefile.am,
1480 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre,
1481 lib/autotest/Makefile.am, lib/autotest/autotest.m4,
1482 lib/autotest/general.m4, lib/emacs/Makefile.am,
1483 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el,
1484 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4,
1485 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am,
1486 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at,
1487 tests/compile.at, tests/foreign.at, tests/fortran.at,
1488 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
1489 tests/semantics.at, tests/suite.at, tests/tools.at,
1490 tests/torture.at, tests/wrapper.as:
1491 Update FSF postal mail address.
1493 2005-05-13 Stepan Kasal <kasal@ucw.cz>
1495 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken
1497 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get
1498 enough arguments, similarly as in m4_bpatsubsts.
1500 2005-05-12 Stepan Kasal <kasal@ucw.cz>
1502 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation
1505 2005-05-11 Stepan Kasal <kasal@ucw.cz>
1507 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check
1508 for absolute directory names in one loop.
1509 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle
1510 abbreviations of --version and --debug.
1512 2005-05-10 Paul Eggert <eggert@cs.ucla.edu>
1514 * doc/autoconf.texi (Autoconf Language): Be more precise about
1515 quoting rules. Problems noted by Stepan Kasal.
1516 Also, throughout this document, be more careful about white space.
1517 "blank", "white space", and "space" all have different meanings
1518 and we should be careful to say what we mean.
1520 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1522 Fix C++ related problems reported by Werner Lemberg.
1523 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension.
1524 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc.
1525 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to
1526 avoid problems with C++ and throw.
1527 * tests/compile.at: .cpp, not .cc.
1529 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change.
1531 2005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1533 * doc/autoconf.texi (Generic Functions): Typos.
1535 2005-05-02 Gary V. Vaughan <gary@gnu.org>
1537 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each
1538 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as
1539 set by latest automake.
1541 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1543 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''"
1544 outputs 0 on GNU/Linux these days.
1546 2005-04-29 Paul Eggert <eggert@cs.ucla.edu>
1548 * doc/autoconf.texi (Autoconf Language): Add more description
1549 about quoting heuristics.
1550 (Limitations of Builtins): Describe "set -" problems.
1552 2005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1554 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space,
1557 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED
1558 by AC_DEFINE; it was a mistake.
1559 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>.
1561 2005-04-25 Stepan Kasal <kasal@ucw.cz>
1563 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization.
1565 2005-04-22 Stepan Kasal <kasal@ucw.cz>
1567 * doc/autoconf.texi (External Software): Quadrigraphs are not
1568 processed correctly in AS_HELP_STRING; avoid this in the examples.
1569 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs.
1570 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the
1571 comment and reduce m4_default([foo], []) to [foo].
1572 (m4_strip): Update the explanation.
1574 2005-04-19 Paul Eggert <eggert@cs.ucla.edu>
1576 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE):
1577 Remove core.conftest.* too; it's generated by Tru64 5.1.
1578 Problem reported by Jennis Pruett.
1579 * lib/autoconf/functions.m4
1580 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL):
1581 Don't bother to remove core files; AC_RUN_IFELSE should do that
1584 2005-04-19 Stepan Kasal <kasal@ucw.cz>
1586 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too.
1588 2005-04-19 Alexandre Duret-Lutz <adl@gnu.org>
1590 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir.
1591 Report from Horst Wente.
1593 2005-04-15 Stepan Kasal <kasal@ucw.cz>
1595 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in
1598 2005-04-14 Gregorio Guidi <greg_g@gentoo.org>
1600 * doc/autoconf.texi (External Software, Package Options): Add
1601 examples showing how to implement --with-* and --enable-* options.
1603 2005-04-13 Paul Eggert <eggert@cs.ucla.edu>
1605 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac
1606 as well as configure.in. Problem reported by Gregorio Guidi.
1608 2005-04-10 Paul Eggert <eggert@cs.ucla.edu>
1610 * doc/autoconf.texi (Particular Functions): Use gnulib's current
1611 pattern for alloca snippet.
1613 2005-04-04 Stepan Kasal <kasal@ucw.cz>
1615 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo.
1617 2005-04-01 Stepan Kasal <kasal@ucw.cz>
1619 * doc/autoconf.texi (Generic Programs): Fix a typo.
1621 2005-04-01 Paul Eggert <eggert@cs.ucla.edu>
1623 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s"
1624 fails if %s isn't supported. Problem reported by Ralf Wildenhues.
1626 2005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1628 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
1629 Merge `-z option' as well for the benefit of Solaris link flags. Pass
1630 whole-archive (-zallextract, -zdefaultextract) options in the hope of
1631 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported
1632 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
1634 2005-03-22 Paul Eggert <eggert@cs.ucla.edu>
1636 * NEWS: The configure command now warns you if you attempt to use
1637 a directory whose name contains a special character like space,
1639 * doc/autoconf.texi (Installation Directory Variables): Allow
1640 "," in file names. Do not use \@; it's not a portable regexp.
1641 * bin/Makefile.am (edit): Likewise.
1642 * lib/Makefile.am (edit): Likewise.
1643 * tests/Makefile.am (edit): Likewise.
1644 * tests/semantics.at: Likewise.
1645 * tests/torture.at: Likewise.
1646 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise.
1647 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise.
1648 * doc/autoconf.texi (File System Conventions): Warn about
1649 unportable file names.
1650 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro.
1652 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd.
1653 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate
1654 ac_pwd, and quote srcdir.
1655 * lib/autotest/general.m4 (AT_INIT): Quote file name args.
1657 * doc/autoconf.texi: Fix some systematic formatting problems.
1658 ".)" needs a following @: if not at the end of a sentence, and
1659 similarly for "!)". "etc." should be preceded by a comma.
1660 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date.
1662 2005-03-22 Bruno Haible <bruno@clisp.org>
1664 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's
1665 argument is often called 'build-aux'.
1667 2005-03-07 Stepan Kasal <kasal@ucw.cz>
1669 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
1670 macro AC_TRY_LINK is obsolete.
1671 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to
1674 2005-02-24 Stepan Kasal <kasal@ucw.cz>
1676 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip
1677 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler
1678 from a Common Lisp's `cl'.
1679 (AC_PROG_CXX): Behave according to the documentation: don't
1680 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC;
1681 make the variable CCC precious; use `cl.exe', not `cl'.
1683 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1684 Alexandre Duret-Lutz <adl@gnu.org>
1686 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from
1687 /dev/null, as "configure" shouldn't read stdin, and this insulates
1688 us from problems (e.g., when testing for "cl"). Also, do this
1689 redirection before invoking "hostname" or "uname", and keep the
1690 original input stream available via...
1691 (AS_ORIGINAL_STDIN_FD): ... this new macro.
1692 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't
1693 bother with "</dev/null" since it's now done at the top of
1695 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise.
1696 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1697 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1698 * doc/autoconf.texi (File Descriptor Macros): New section.
1699 (Printing Messages): Mention it.
1700 * tests/base.at (Input/Output): New test.
1702 2005-02-23 Paul Eggert <eggert@cs.ucla.edu>
1704 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to
1705 newline if neither \c nor -n work, as that would output two
1706 newlines. Prefer -n to \c. Reported by Stepan Kasal.
1708 2005-02-12 Stepan Kasal <kasal@ucw.cz>
1710 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define.
1711 This causes that any required macros inside will get before the if.
1712 * doc/autoconf.texi (autom4te.cache): A typo.
1714 2005-02-12 Paul Eggert <eggert@cs.ucla.edu>
1716 Undo previous change, except keep the change to
1717 lib/autoconf/programs.m4 that replaced grep with shell
1718 pattern-matching. This is because net-snmp configure reads stdin.
1719 Reported by Noah Misch.
1721 2005-02-11 Paul Eggert <eggert@cs.ucla.edu>
1723 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin
1724 from /dev/null, as "configure" shouldn't read stdin, and this
1725 insulates us from problems (e.g., when testing for "cl").
1726 Suggested by Alexandre Duret-Lutz. Also, do this redirection
1727 before invoking "hostname" or "uname".
1728 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1729 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed.
1730 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with
1731 "</dev/null" since it's now done at the top of 'configure'.
1732 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise.
1733 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise.
1734 Also, replace grep with shell pattern-matching, to save a process.
1736 2005-02-10 Paul Eggert <eggert@cs.ucla.edu>
1738 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
1739 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to
1740 avoid thinking that Allegro Common Lisp's "cl" command is a C++
1743 2005-02-09 Paul Eggert <eggert@cs.ucla.edu>
1745 * doc/autoconf.texi (Limitations of Usual Tools): Document that
1746 grep -q isn't portable. Improve grep -s explanation.
1747 Problem reported by Dan Manthey.
1749 2005-02-08 Paul Eggert <eggert@cs.ucla.edu>
1751 * doc/autoconf.texi (Special Shell Variables): Clarify
1752 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan.
1754 2005-02-07 Paul Eggert <eggert@cs.ucla.edu>
1756 * doc/autoconf.texi: Use @acronym for DJGPP.
1757 Fix some @code's that should have been @env's, and vice versa.
1758 Sort environment variable names.
1759 Mention that shells no longer inherit IFS.
1760 Don't recommend PATH_SEPARATOR=';' so strongly.
1761 Mention that $RANDOM might expand to the empty string.
1762 "symlink" and "soft link" -> "symbolic link".
1763 Improve mktemp description (reported by Bruno Haible).
1765 2005-02-05 Paul Eggert <eggert@cs.ucla.edu>
1767 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg.
1768 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING):
1770 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS):
1773 2005-02-04 Paul Eggert <eggert@cs.ucla.edu>
1775 * NEWS: Mention AT_COPYRIGHT.
1777 * tests/local.at (AT_CMP): Use diff directly on input files rather
1780 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in
1781 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8).
1783 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1784 and Paul Eggert <eggert@cs.ucla.edu>
1786 * tests/autotest.at (Empty test suite): New test.
1787 * tests/torture.at (Substitute and define special characters)
1788 (Substitute a 2000-byte string, Define to a 2000-byte string)
1789 (Substitute a newline, Define a newline): New tests.
1791 2005-02-04 Noah Misch <noah@cs.caltech.edu>
1793 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04.
1794 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords.
1795 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED.
1796 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros.
1797 (Standard regular expressions): New test.
1798 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip
1799 excess test name quoting.
1800 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass
1801 CPPFLAGS to `configure' instead of setting it in `configure'.
1803 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not
1804 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name
1807 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT):
1808 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/.
1810 * tests/local.at (AT_CMP): New macro.
1811 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP.
1812 (AC_SAVE_STATE): Move environment grep...
1813 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP.
1814 (AT_CONFIG_CMP): New macro.
1815 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results.
1816 * tests/c.at (Extensions): Do not exit early.
1817 * tests/atlocal.in: Inherit $GREP.
1819 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro.
1820 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it.
1822 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005.
1823 (AC_COPYRIGHT): Factor header comment portion out and move into...
1824 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This.
1825 * lib/autotest/general.at (AT_COPYRIGHT): New macro.
1826 (AT_INIT): Add Autotest copyright notice. Display copyright notices in
1828 * tests/local.at: Add Autoconf test suite copyright notice.
1829 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT.
1831 2005-02-04 Bruno Haible <bruno@clisp.org>
1832 and Paul Eggert <eggert@cs.ucla.edu>
1834 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry.
1836 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1838 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too;
1839 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below.
1841 Try not to generated lines of unlimited length, as POSIX places a
1842 2047-byte limit on line length of portable text files.
1843 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE):
1844 Use newline as a separator, not space.
1845 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise.
1846 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not
1849 2005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1851 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to
1852 as_func_*. Add test to check whether positional parameters
1853 are restored after function return.
1855 2005-02-02 Paul Eggert <eggert@cs.ucla.edu>
1857 * doc/autoconf.texi (Special Shell Variables): Mention _,
1858 BIN_SH, DUALCASE. Say that variables other than "status" are safe
1859 if they contain a lower-case letter. The DUALCASE problem was
1860 reported by Ralf Wildenhues.
1862 * bin/autoconf.as: Don't exit with status 0 after write failure
1863 with --help or --version.
1864 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise.
1865 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
1867 2005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1869 * doc/autoconf.texi (Limitations of Usual Tools):
1870 Unicos 9 sed limitations.
1871 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77
1872 to get the option-enhanced interface on older Crays. Try ftn for
1873 Fortran 95 (newer Crays).
1875 2005-02-01 Paul Eggert <eggert@cs.ucla.edu>
1877 * man/Makefile.am (.x.1): Go back to the simple solution, but take
1878 care to echo the commands, so the user knows what's going on.
1879 Modified from a suggestion by Stepan Kasal.
1881 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint,
1882 with a cross reference. Derived from a suggestion by Bruce Korb.
1884 2005-01-31 Paul Eggert <eggert@cs.ucla.edu>
1886 * doc/autoconf.texi (config.status Invocation): Warn about
1887 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'.
1888 * doc/install.texi (Defining Variables): Likewise.
1889 Based on a proposed patch by Ralf Wildenhues.
1891 * man/Makefile.am (.x.1): Make sure the required generated files
1892 are up to date. Problem and original solution proposed by Stepan Kasal.
1893 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq),
1894 implicit-man-prerequisites): New rules, used by the above.
1896 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib.
1897 * config/config.guess, config/config.sub, config/install-sh: Likewise.
1898 * config/missing, config/texinfo.tex: Likewise.
1900 2005-01-29 Stepan Kasal <kasal@ucw.cz>
1902 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE).
1903 Update the long comment explaining it.
1905 m4_require no longer writes an ``is required by'' line to the
1906 execution stack. It contains only one bit of non-redundant
1907 information: that the macro was required, not called. And even
1908 this bit is useless in most situations: have you ever met a macro
1909 which both calls and requires the same macro?
1911 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion...
1912 (_m4_defun_pro_outer): ... only via this macro, for the outermost
1914 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily.
1915 (m4_expansion_stack_pop): Remove the misplaced comment.
1916 (m4_require): Don't put the ``is required by'' line to the
1917 execution stack; slightly improve the out-of-a-defun error message.
1918 (_m4_divert_grow): New macro, counter for the temporary diversions.
1919 (_m4_require_call): Use it.
1920 * tests/m4sugar.at (m4_require): Expect output without the
1921 ``is required by'' messages.
1923 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1925 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X
1926 rather than x for expr.
1928 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when
1930 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise.
1931 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
1932 * lib/autotest/general.m4 (AT_INIT): Likewise.
1933 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise.
1934 * tests/mktests.sh: Likewise.
1936 2005-01-27 Akim Demaille <akim@epita.fr>
1938 Have autoheader honor --force.
1940 * doc/make-stds.texi, doc/standards.texi: Update from masters.
1941 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm
1942 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update
1943 from masters, so that FileUtils.pm's update_file provide --force
1945 * bin/autoheader.in: Pass $force to update_file so that
1946 config.h.in is always recreated when --force.
1948 2005-01-24 Stepan Kasal <kasal@ucw.cz>
1950 * doc/autoconf.texi (Introduction): Update Peter Simons' address.
1952 2005-01-21 Paul Eggert <eggert@cs.ucla.edu>
1954 * doc/autoconf.texi (Limitations of Builtins): Clarify that
1955 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal.
1957 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1959 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement.
1960 Warn about newline stripping in `` and $(). Update Solaris
1962 (Limitations of Builtins): Use expr "X...", not expr "x...", as
1963 X insulates us from future changes to Posix.
1964 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline
1967 2005-01-19 Stepan Kasal <kasal@ucw.cz>
1969 * doc/autoconf.texi (Defining Symbols): Delete the false comment that
1970 you cannot use AC_DEFINE to define macros containing `[' or `]'.
1972 2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
1974 * doc/autoconf.texi (Limitations of Usual Tools): Document bug
1975 in Solaris 8 join. Problem reported by Tomohiro Suzuki on
1976 bug-tar mailing list.
1978 2005-01-05 Stepan Kasal <kasal@ucw.cz>
1980 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation.
1982 2005-01-05 Paul Eggert <eggert@cs.ucla.edu>
1984 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and
1985 ulongval to be static, to avoid unwanted GCC warning. Problem
1986 reported by Michael Jennings via Daniel Reed; see
1987 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>.
1989 2005-01-05 Alexandre Duret-Lutz <adl@gnu.org>
1991 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir,
1992 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update
1993 datadir, infodir, and mandir. Adjust argument parsing code.
1994 (_AC_INIT_HELP): Update help text.
1995 * doc/autoconf.texi (Installation Directory Variables): Document
1998 2005-01-04 Noah Misch <noah@cs.caltech.edu>
2000 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does
2001 not seem to work, assume it does set $(MAKE).
2002 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update.
2004 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2006 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting.
2008 2005-01-03 Stepan Kasal <kasal@ucw.cz>
2010 A cleanup of the diversion support in m4sugar.
2012 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description.
2013 (_m4_divert_n_stack): New macro; the expansion is
2014 <newline>m4_divert_stack, if m4_divert_stack is defined, and void
2016 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it.
2017 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word
2018 stored in _m4_divert_diversion or _m4_divert_dump.
2019 (m4_divert_pop): When the parameter is given, compare the symbolic
2020 name with the last diversion pushed on the stack. Previously, the
2021 current diversion was compared with the numeric value of the
2022 diversion given as the parameter.
2023 (m4_require): If the macro hasn't been expanded yet, call ...
2024 (_m4_require_call): this new macro.
2026 2005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2028 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE):
2029 Workarounds for documented `case' limitations.
2031 2005-01-03 Paul Eggert <eggert@cs.ucla.edu>
2033 * doc/autoconf.texi (Limitations of Usual Tools): Warn about
2034 sed 'command1;command2'. Problem reported by Ralf Wildenhues.
2036 2005-01-02 Paul Eggert <eggert@cs.ucla.edu>
2038 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in,
2039 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
2040 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005.
2042 Patch from Roger Leigh (with some minor changes) as follows:
2043 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99.
2044 Resurrect AC_PROG_CC_STDC.
2045 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC,
2046 AC_PROG_CC_C89, AC_PROG_CC_C99.
2047 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete.
2048 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89,
2049 AC_PROG_CC_C99): New macros.
2050 (AC_PROG_CC_STDC): Use them.
2051 (_AC_PROG_CC_STDC): Remove.
2052 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc.
2053 * THANKS: Add Roger Leigh.
2055 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2057 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE
2058 signals that the package uses Automake; a `Makefile.am' is typical but
2059 not essential. Reported by Magnus Therning.
2060 * tests/torture.at (autoreconf.): New banner.
2061 (autoreconf and non-AC configure): Rename to `Non-Autoconf
2063 (autoreconf an empty directory): Rename to `Empty directory'.
2064 (Unusual Automake input files): New test.
2066 2004-12-30 Noah Misch <noah@cs.caltech.edu>
2068 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro.
2069 (AT_SETUP): Clear AT_capture_files.
2070 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment.
2071 (AT_KEYWORDS): Fix comment typo.
2072 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE.
2073 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE.
2074 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE.
2076 2004-12-29 Albert Chin-A-Young <china@thewrittenword.com>
2078 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH):
2079 If the variable to set is already set, set ac_cv_path_$1
2080 to the preset value so caller can assume ac_cv_path_$1
2081 is available. (trivial change)
2083 2004-12-27 Noah Misch <noah@cs.caltech.edu>
2085 * BUGS (Minor Problems): Warn about makefile limitations.
2086 * Makefile.am: Find and update `INSTALL' in $(srcdir).
2087 * man/Makefile.am: Find and update manual pages in $(srcdir).
2089 2004-12-24 Eric Blake <ebb9@byu.net>
2091 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate
2092 shells in subshell, to avoid noise from ash. (trivial change)
2094 2004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2096 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention
2097 problems with SunOS ksh and backslash escaping, Bourne shells and
2098 closing brackets (both within character classes). Bug reported
2099 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>.
2100 <read>: New entry. Mention non-availability of -r.
2102 2004-12-21 Akim Demaille <akim@epita.fr>
2104 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
2105 avoid cluttering displayed messages. Rather, prepend srcdir where
2106 AT_LINE is used for log files.
2108 2004-12-21 Stepan Kasal <kasal@ucw.cz>
2110 * lib/autoconf/status.m4: Quote ``$tmp'' in many places.
2111 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are
2112 no longer part of the macro, quote the occurrence of ``$tmp''.
2113 * doc/autoconf.texi (Forbidden Patterns): Typo.
2115 2004-12-21 Akim Demaille <akim@epita.fr>
2117 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are
2118 separated from the test title by forcing a white space.
2120 2004-12-21 Akim Demaille <akim@epita.fr>
2122 Enable Emacs navigation within testsuite.log files.
2124 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to
2125 use the compilation mode.
2126 (AT_LINE): Point to the srcdir.
2128 2004-12-19 Noah Misch <noah@cs.caltech.edu>
2130 * tests/Makefile.am (installcheck-local): Use $(bindir).
2131 (check-local, installcheck-local): Pass TESTSUITEFLAGS.
2132 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same
2133 Makefile.am scheme Autoconf now uses.
2135 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2137 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros.
2138 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta.
2140 2004-12-18 Noah Misch <noah@cs.caltech.edu>
2142 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro.
2143 (_AT_CHECK): Use it.
2144 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove.
2145 (AS_ESCAPE): Fix comment.
2146 * tests/autotest.at: Adjust section banner comments.
2147 (AT_CHECK_AT): Accept STATUS and STDERR.
2148 (AT_CHECK_AT_TEST): Likewise.
2149 (Invalid brace-enclosed parameter expansion)
2150 (Multiline command from M4 expansion)
2151 (Double-M4-quoted command): New tests.
2153 2004-12-17 Paul Eggert <eggert@cs.ucla.edu>
2155 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2.
2157 2004-12-17 Akim Demaille <akim@epita.fr>
2159 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to
2161 Suggested by Alexandre Duret-Lutz.
2162 * doc/autoconf.texi (Setting Output Variables): Catch up.
2164 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2166 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment.
2168 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2170 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2,
2171 remove the comment which said we cannot.
2173 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2175 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase,
2176 Reini Urban and Paul Eggert for reporting the dependencies.
2178 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro.
2179 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it.
2180 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex.
2182 2004-12-17 Stepan Kasal <kasal@ucw.cz>
2184 * bin/autoscan.in: Open autoscan.log only after ``parse_args'';
2185 so that eg. ``autoscan --help'' doesn't truncate it.
2187 2004-12-15 Nicolas Joly <njoly@pasteur.fr>
2189 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove
2190 generated conftest files.
2192 2004-12-13 Noah Misch <noah@cs.caltech.edu>
2194 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell
2195 tracing on commands with possibly-escaped newlines.
2196 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the
2197 discontinued behavior and its implications.
2198 * tests/autotest.at (BS-newline in command, ^BS-newline in command)
2199 (BSx641-newline in command, BS-BS-newline in command)
2200 (BSx640-newline in command, Newline-CODE-BS-newline in command)
2201 (Single-quote-BS-newline in command)
2202 (Single-quote-newline-BS-newline in command): New tests.
2204 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2206 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x
2207 on platforms where it works.
2208 (_AS_TEST_PREPARE): Test for ``test -x''.
2209 (_AS_BROKEN_TEST_PREPARE): Nuke.
2211 2004-12-13 Stepan Kasal <kasal@ucw.cz>
2213 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ...
2214 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here;
2215 give only 4-letter prefix to AS_TMPDIR, comment fixed.
2216 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't
2217 create the temporary directory.
2218 (_AC_FEATURE_CHECK_LENGTH): Work in current directory.
2220 2004-12-12 Kelley Cook <kcook@gcc.gnu.org>
2222 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found.
2225 2004-12-12 Alexandre Duret-Lutz <adl@gnu.org>
2227 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo.
2229 2004-12-11 Noah Misch <noah@cs.caltech.edu>
2231 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern
2232 to avoid using a negated character class. Reported by Nicolas Joly.
2233 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs.
2235 2004-12-10 Paul Eggert <eggert@cs.ucla.edu>
2237 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1,
2238 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1):
2239 Don't depend on .x file explicitly, since "make" does that for us.
2240 Suggested by Stepan Kasal.
2242 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES.
2244 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate,
2245 ifnames): Factor common code. And they said it couldn't be done!
2247 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2249 * bin/.cvsignore: Add autoconf.in.
2250 * tests/.cvsignore: Add wrapper.in.
2251 * lib/autotest/general.m4: Escape '$' in case pattern.
2253 2004-12-09 Noah Misch <noah@cs.caltech.edu>
2255 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes.
2257 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'.
2259 * tests/autotest.at: New file.
2260 * tests/suite.at: Include it.
2261 * tests/Makefile.am: Distribute it.
2263 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable
2264 shell tracing on a command that could contain multiple lines.
2265 * doc/autoconf.text: Document that fact and its implications.
2266 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro.
2267 * tests/autotest.at (Multiline backquote command substitution,
2268 Multiline parameter expansion, Literal multiline command,
2269 Multiline parenthetical command substitution): Remove XFAIL.
2271 2004-12-09 Paul Eggert <eggert@cs.ucla.edu>
2273 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB
2274 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal.
2276 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2278 * configure.ac (test suite): Cease to generate wrapper scripts.
2279 * configure: Regenerate.
2280 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly.
2281 (m4f_dependencies): Adjust accordingly.
2282 * tests/Makefile.am (Wrappers): Generate wrapper scripts.
2283 (wrapper.in): Generate it in the build directory.
2284 (MAINTAINERCLEANFILES): Delete wrapper.in.
2285 (CLEANFILES): Add wrapper.in.
2286 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in
2287 the output. Replace each $as_me with a @wrap_program@.
2288 * tests/wrapper.in: Delete it; we always build it.
2290 * bin/Makefile.am (autoconf.in): Generate it in the build directory.
2291 (EXTRA_DIST): Remove autoconf.in.
2292 (CLEANFILES): Add autoconf.in.
2293 (autoconf): Find autoconf.in in the build directory.
2294 * bin/autoconf.in: Delete it; we always build it.
2296 2004-12-08 Noah Misch <noah@cs.caltech.edu>
2298 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join
2299 PATH members so as to not prepend an empty element. Move a comment.
2300 * Makefile.am (SUBDIRS): Build in `tests' last.
2301 * tests/Makefile.am (installcheck-local): Add check-local dependencies.
2303 2004-12-08 Paul Eggert <eggert@cs.ucla.edu>
2305 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles
2306 the spaces inside $ls_command. Problem reported by Loulou Pouchet in
2307 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>.
2308 Don't use "set - x"; plain "set x" is enough, and simplifies debugging.
2310 2004-12-07 Stepan Kasal <kasal@ucw.cz>
2312 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous
2315 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2317 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before
2318 looking elsewhere for getmntent. Problem reported by Mark D. Baushke.
2319 * doc/autoconf.texi (Particular Functions): Mention new behavior.
2321 2004-12-03 Stepan Kasal <kasal@ucw.cz>
2323 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor
2324 out the common code to ...
2325 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the
2326 value of the #define--default to 1, iff the macro was called
2327 with exactly one parameter.
2329 2004-12-02 Paul Eggert <eggert@cs.ucla.edu>
2331 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use
2332 "char c = '\200';" rather than "char c = 0x80;" as the
2333 latter doesn't conform to the strict C standard due to
2334 overflow on signed char hosts.
2336 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89
2337 to -qlanglvl=ansi. We don't want to disable extensions.
2339 2004-11-29 Paul Eggert <eggert@cs.ucla.edu>
2341 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}.
2342 (Using Autotest, testsuite Scripts, Writing testsuite.at):
2343 Reword slightly to avoid some English-language problems noted
2344 by Ralf Wildenhues in:
2345 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html
2347 2004-11-29 Stepan Kasal <kasal@ucw.cz>
2349 * NEWS: Add ^L above each release.
2351 2004-11-28 Paul Eggert <eggert@cs.ucla.edu>
2353 Fix documentation problems reported by Russ Boylan in
2354 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>,
2355 along with some nearby cruft.
2356 * doc/autoconf.texi (Libtool): Libtool can be used without
2357 Automake (not without Autoconf).
2358 (Introduction): Mention lists.gnu.org.
2359 * BUGS: Don't mention bugs.gnu.org.
2360 Remove mention of ancient libtool compatibility problem.
2361 * NEWS: Mention that bugs.gnu.org is kaput.
2362 * README: Likewise. Mention where mailing list archives can be found.
2364 2004-11-28 Stepan Kasal <kasal@ucw.cz>
2366 * HACKING: Refer to "coreutils", not "File, Shell or Text utils".
2367 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment.
2369 2004-11-26 Paul Eggert <eggert@cs.ucla.edu>
2371 * doc/autoconf.texi (Pretty Help Strings): Go back to
2372 single-quoting assignments to cache variables.
2374 2004-11-23 Stepan Kasal <kasal@ucw.cz>
2376 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues
2377 with the examples; fix the bug in MY_ARG_WITH example reported
2378 by Alexandre Duret-Lutz.
2379 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable
2380 expansion of $1 in the comment emitted to configure.
2382 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2384 * doc/autoconf.texi (Pretty Help Strings): Fix typo
2385 in my editing of the previous patch. Problem reported
2386 by Alexandre Duret-Lutz.
2388 2004-11-22 Stepan Kasal <kasal@ucw.cz>
2390 * doc/autoconf.texi (Autoconf Language): Explain that
2391 ``descriptions'' may not be double quotes.
2392 (Quotation Rule Of Thumb): Likewise.
2393 (Pretty Help Strings): Likewise; remove the wrong comment;
2394 simplify the examples and improve their quoting.
2396 2004-11-13 Stepan Kasal <kasal@ucw.cz>
2398 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check
2399 the $1_found variable, don't test whether the file is executable;
2400 Both things are checked ...
2401 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces
2402 the former ``test -f''.
2403 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo.
2405 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2407 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r;
2410 2004-11-10 Derek R. Price <derek@ximbiot.com>
2412 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r'
2413 limitations. Reorder paragraphs for clarity.
2415 2004-10-11 Paul Eggert <eggert@cs.ucla.edu>
2417 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed
2418 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS
2419 variants", "Unix", and some related minor wording fixups.
2421 (Shellology, Special Shell Variables): Document that the Zsh
2422 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks
2423 to Alexandre Duret-Lutz for this info.
2425 2004-10-10 Alexandre Duret-Lutz <adl@gnu.org>
2427 * doc/autoconf.texi (One-Shot Macros): New node.
2429 2004-09-28 Paul Eggert <eggert@cs.ucla.edu>
2431 * doc/autoconf.texi (Function Portability): Fix misdescription
2432 of putenv. Problem reported by Michael Wardle.
2434 2004-09-22 Paul Eggert <eggert@cs.ucla.edu>
2436 * doc/autoconf.texi (auindex): New macro.
2437 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN.
2438 Problem reported by Stepan Kasal.
2440 2004-09-05 Paul Eggert <eggert@cs.ucla.edu>
2442 Fix problems reported by Andreas Buening in:
2443 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html
2444 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh
2446 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is
2447 readable; it's not true in OS/2-emx.
2449 2004-09-04 Paul Eggert <eggert@cs.ucla.edu>
2451 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns
2452 "/usr/include", clear ac_x_includes instead of leaving it as "no"
2453 (trivial change). Problem and patch reported by Andrew Church in:
2454 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html
2456 2004-09-03 Paul Eggert <eggert@cs.ucla.edu>
2458 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED
2459 three args in examples. Problem reported by Frederik Fouvry in:
2460 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html
2461 Also, fix some minor spacing and punctuation bugs.
2463 2004-09-02 Akim Demaille <akim@epita.fr>
2465 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and
2466 "case" to restore ordering.
2467 Reported by Stepan Kasal.
2469 2004-08-26 Akim Demaille <akim@epita.fr>
2471 * doc/autoconf.texi: Minor typos and stylos.
2473 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2475 * configure.ac (AC_INIT): Bump to 2.59c.
2477 2004-08-20 Paul Eggert <eggert@cs.ucla.edu>
2481 * README: Add advice about m4 1.4.2.
2483 * Makefile.cfg (wget_files): Remove config.guess, config.sub,
2484 texinfo.tex for now (done by hand now).
2485 * Makefile.maint (wget_files, cvs_files):
2486 Remove ansi2knr.c; nobody uses it.
2487 (ansi2knr.c-url_prefix): Remove.
2488 (cvs-update): Fix test for failure. I don't know why it ever
2491 * doc/autoconf.texi: Update URLs, some of which went stale.
2492 Use @uref rather than @href.
2494 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure
2495 handle "--" as per POSIX. Suggested by Paul Pogonyshev.
2497 * config/config.guess, config/config.sub, config/elisp-comp,
2498 config/install-sh, config/mkinstalldirs, config/texinfo.tex,
2499 doc/fdl.texi, doc/standards.texi: Sync with master copy.
2501 * NEWS, TODO, configure.ac, bin/autoscan.in,
2502 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi,
2503 doc/install.texi, lib/Autom4te/Configure_ac.pm,
2504 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4,
2505 lib/autoconf/programs.m4, lib/autoconf/status.m4,
2506 lib/autotest/general.m4, lib/m4sugar/m4sh.m4,
2507 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at,
2508 tests/tools.at, tests/torture.at:
2509 Use "file name" rather than "filename" or "path",
2510 to be consistent with the terminology of the GNU coding standards.
2512 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2514 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C),
2515 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with
2516 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in
2517 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>.
2519 More fixes to support spaces in the name of the build directory.
2520 This isn't a complete fix but it's an improvement.
2522 * bin/autoconf.as (autom4te_options): New var.
2523 Use it instead of appending to AUTOM4TE, so that we can allow
2524 spaces in the build directory's absolute name.
2525 * bin/autoheader.in ($autoconf): Allow spaces in file names.
2526 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK,
2527 AT_CHECK_NOESCAPE): Likewise.
2528 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir,
2529 main program): Likewise.
2531 2004-08-18 Paul Eggert <eggert@cs.ucla.edu>
2533 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses.
2534 From Ralf Corsepius in:
2535 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html
2537 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2539 * doc/autoconf.texi (Function Portability): Document isinf and
2540 and isnan. From a suggestion by Kevin Ryde.
2542 * lib/Autom4te/General.pm (END): Return correct exit status even
2543 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503.
2545 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2547 * tests/torture.at (Deep Package): Use configure.in, not configure.ac,
2548 for compatibility with Automake 1.4. Reported by J C Fitzgerald in
2549 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>.
2551 2004-08-04 Alexandre Duret-Lutz <adl@gnu.org>
2553 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro.
2554 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess.
2555 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh.
2556 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE.
2557 * lib/autom4te.in (Automake-preselections): Preselect
2558 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it.
2560 2004-08-02 Alexandre Duret-Lutz <adl@gnu.org>
2562 * lib/autom4te.in (Automake-preselections): Preselect
2563 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will
2566 2004-07-29 Paul Eggert <eggert@cs.ucla.edu>
2568 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for
2570 * doc/autoconf.texi (Shellology): Mention BIN_SH.
2571 Document problem with "`""`" in pdksh POSIX mode.
2573 2004-07-27 Paul Eggert <eggert@cs.ucla.edu>
2575 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix"
2576 with pdksh, too. Problem reported by Patrick Welche via
2578 * doc/autoconf.texi (Shellology): Note that set -o posix is
2579 useful for pkdsh, too.
2581 2004-06-24 Paul Eggert <eggert@cs.ucla.edu>
2583 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require
2584 _AS_UNSET_PREPARE, so that we can use $as_unset directly.
2585 Don't fail if ENV or BASH_ENV is readonly.
2586 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL,
2587 etc. are read only. Problem reported by Ludovic Courtes.
2589 2004-06-23 Noah Misch <noah@cs.caltech.edu>
2591 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is
2592 zsh, disable GLOB_SUBST to avoid backslash handling problems.
2595 2004-06-04 Paul Eggert <eggert@cs.ucla.edu>
2597 * doc/autoconf.texi (File System Conventions): Warn about
2598 names like "aux". Problem reported by Eric Blake.
2600 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division
2601 by zero instead of array size, so that we can use any arithmetic
2602 constant expression (instead of requiring an integer constant
2603 expression). This allows us to test expressions like DBL_MAX <
2604 LDBL_MAX, which didn't conform to the C standard using the old
2606 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON,
2607 now that we can do floating-point tests at compile time.
2609 2004-06-02 Paul Eggert <eggert@cs.ucla.edu>
2611 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX
2612 and LDBL_EPSILON, as the resulting expression isn't an
2613 integer constant expression and violates the C standard.
2614 Problem reported by Nelson H. F. Beebe. Also, check
2615 for "L" suffix, and check that long double doesn't have
2616 worse range or precision than double, that mixed-mode
2617 arithmetic doesn't generate a diagnostic, that double
2618 constants fit in long double.
2620 2004-06-03 Kevin Ryde <user42@zip.com.au>
2622 * doc/autoconf.texi (Function Portability): Add notes on free(NULL),
2623 malloc(0) and realloc(NULL,size).
2625 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by
2628 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2630 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug
2631 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported
2634 2004-05-26 Paul Eggert <eggert@cs.ucla.edu>
2636 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND
2637 can be rewritten using if-then-else. Suggested by Bruno Haible.
2639 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
2641 * doc/autoconf.texi (testsuite Scripts): Fix typo.
2642 Problem reported by Stepan Kasal.
2644 2004-05-24 Paul Eggert <eggert@cs.ucla.edu>
2646 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial
2647 change). Patch reported by Ralf Wildenhues in
2648 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>.
2650 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a
2651 function F exists if the compiler and linker let you compile an
2652 expression like (F != 0). Recent versions of GCC optimize away
2653 the reference to F in that case, since every function address must
2654 be nonzero, so the link succeeds even if F does not exist.
2655 Problem reported by Manu in
2656 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>.
2658 * doc/autoconf.texi (Systemology): Standardize on the spelling of
2659 "Unix". Many uses changed.
2660 (Limitations of Builtins): Explain better why the ! command isn't
2663 2004-05-22 Alexandre Duret-Lutz <adl@gnu.org>
2665 * lib/autom4te.in (Automake-preselections): Preselect
2666 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS.
2668 2004-05-19 Kevin Ryde <user42@zip.com.au>
2670 * doc/autoconf.texi (Function Portability): Add strerror_r, cross
2671 referencing AC_FUNC_STRERROR_R.
2673 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID,
2674 note pessimistic assumption when cross compiling.
2676 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2678 * doc/autoconf.texi (Limitations of Make): Note that BSD make
2679 (until 2004) invoked subcommands with sh -e, contra POSIX.
2680 Reported by Kevin Ryde.
2682 2004-05-10 Eric Sunshine <sunshine@sunshineco.com>
2684 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to
2685 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e.
2686 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as
2687 `test -f " /usr/bin/grep"', which _always_ failed.
2688 (AC_PROG_SED): Ditto bogus PATH fix.
2689 * autoconf.texi (AC_PROG_GREP): Properly document that this macro
2690 requires that grep correctly supports _multiple_ `-e' options, rather
2691 than stating only that grep should accept `-e'.
2693 2004-05-03 Paul Eggert <eggert@cs.ucla.edu>
2695 Port to C99, which requires that 'exit' be declared.
2697 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT
2698 to ensure that stdlib.h is included.
2699 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP,
2700 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK,
2701 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise.
2702 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
2703 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise.
2704 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h>
2705 when using 'exit' in a test; C99 requires that 'exit' be declared.
2707 2004-05-02 Paul Eggert <eggert@cs.ucla.edu>
2709 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP
2710 now prefers 'grep' implementations that accept -e.
2711 (Limitations of Usual Tools): Describe problems of traditional
2712 egrep and fgrep with long input lines, and of traditional grep
2714 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too.
2715 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell.
2716 All callers changed. Append /usr/xpg4/bin to the PATH, for
2718 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother
2719 the user with complaints about multiple -e options.
2720 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep.
2721 Define it with AC_PROG_GREP.
2722 * configure.ac (AC_PROG_GREP): Add.
2723 * lib/freeze.mk (GREP): New macro.
2725 2004-05-02 Eric Sunshine <sunshine@sunshineco.com>
2727 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as
2728 a possible candidate only after all others fail, rather than
2729 consulting it first. This improves backward compatibility by
2730 better reflecting the way shell selection occurred in previous
2731 versions of Autoconf, and should help to avoid triggering latent
2732 problems in other packages, such as the one in Automake where zsh
2733 is not handled robustly:
2734 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html
2735 Although it is not Autoconf's responsibility to work around
2736 problems in Automake, it nevertheless makes sense to avoid
2737 introducing unnecessary incompatibilites.
2739 2004-04-22 Albert Chin-A-Young <china@thewrittenword.com>,
2740 Gary V. Vaughan <gary@gnu.org>
2742 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess
2743 how deeply nested we are when a suitable tool is found, set the
2744 ac_path_TOOL_found flag.
2745 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply
2746 nested we are in this macro. Break out of all 3 nested loops if
2747 ac_path_TOOL_found is set.
2749 2004-04-21 Gary V. Vaughan <gary@gnu.org>
2751 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out
2752 of the _AS_PATH_WALK loop too if GNU flavor is found.
2754 2004-04-21 Alexandre Duret-Lutz <adl@gnu.org>
2756 * doc/autoconf.texi (Limitations of Make): Update documentation
2757 for `$<'. New entry `Long lines', based on a report from Simon
2758 Josefsson. Augment the documentation for SHELL = @SHELL@ with a
2759 paragraph about DJGPP, based on a mail from Richard Dawe.
2761 2004-04-20 Paul Eggert <eggert@twinsun.com>
2763 * tests/c.at (C keywords): Don't assume that GCC supports
2764 "restrict" and "inline", as sufficiently-old GCC versions do not
2765 (also, GCC configured to be in pedantic C89 mode does not).
2766 Problem reported by Sumit Pandya in:
2767 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html
2769 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't
2770 consider -g to work if it generates warnings when plain compiles
2771 don't. Problem reported by Braden McDaniel in:
2772 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html
2774 * doc/autoconf.texi (Slashes): New section, to document a problem
2775 reported by Jim Meyering in:
2776 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html
2778 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential
2779 linker output files before linking, to work around IRIX 6 linker bug.
2780 Problem reported by Rainer Orth in:
2781 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html
2783 2004-04-20 Gary V. Vaughan <gary@gnu.org>
2785 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the
2786 best tool so far counter rely on the tool path variable name to
2787 avoid checks for one tool being affected by the results of running
2788 the length check on a previous tool.
2790 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional
2791 match expression argument, as different greps have different
2792 regular expression flavours.
2793 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as
2795 (AC_PROG_EGREP): Pass 'EGREP$'.
2796 (AC_PROG_GREP): Pass 'GREP$'.
2798 2004-04-20 Albert Chin-A-Young <china@thewrittenword.com>
2800 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable
2801 is `ac_cv_path_GREP', not `oc_cv_path_GREP'.
2803 2004-03-29 Paul Eggert <eggert@twinsun.com>
2805 * doc/autoconf.texi (Particular Headers, Particular Types, Generic
2806 Types, Specific Compiler Characteristics, System Services,
2807 Obsolete Macros): Use 'long int', 'short int', 'unsigned int'
2808 etc. consistently instead of 'long', 'short', 'unsigned' etc.
2809 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise.
2810 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES):
2812 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise.
2813 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T,
2814 AC_TYPE_OFF_T): Likewise.
2815 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility):
2818 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to
2819 pacify libtool 1.5.2. Fix quoting problems in sed command.
2821 2004-03-28 Paul Eggert <eggert@twinsun.com>
2823 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE
2824 now defines HAVE_DECL_TZNAME if it is declared, when
2825 HAVE_STRUCT_TM_TM_ZONE is not defined.
2826 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this.
2827 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing
2830 2004-03-28 Steven G. Johnson <stevenj@fftw.org>
2832 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected
2833 superfluous backslashing of quotes (") in sed expressions;
2834 thanks to Paul Eggert.
2836 2004-03-26 Steven G. Johnson <stevenj@alum.mit.edu>
2838 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel
2839 Fortran compiler is ifort, also added pghpf; thanks to Nelson
2840 H. F. Beebe for the bug report.
2842 2004-03-26 Steven G. Johnson <stevenj@fftw.org>
2844 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for
2845 quoted -cmdline argument in Portland Group compiler (bug
2846 reported by Jeffrey J. Barteet).
2848 2004-03-25 Kevin Ryde <user42@zip.com.au>
2850 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to
2851 (Run Time): ... here, where it's now mentioned.
2853 2004-03-19 Alexandre Duret-Lutz <adl@gnu.org>
2855 * doc/autoconf.texi (autom4te Invocation): Language Autoconf
2856 inherits from language Autoconf-without-aclocal-m4.
2857 (Customizing autom4te): Adjust example; the cache must now be
2858 disabled for language Autoconf-without-aclocal-m4.
2860 2004-03-16 Paolo Bonzini <bonzini@gnu.org>
2861 Nathanael Nerode <neroden@twcny.rr.com>
2863 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL,
2864 AC_CHECK_TOOLS): Warn if a cross-tool is found without
2866 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2867 AC_CHECK_TARGET_TOOLS): New macros.
2868 * doc/autoconf.texi (Generic Programs): Document
2869 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL,
2870 AC_CHECK_TARGET_TOOLS, and warn for future changes
2871 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and
2873 (Specifying Names): Document the reason for these future
2875 * tests/mktests.sh: Do not generate tests for the
2877 * NEWS: Document these changes.
2879 * doc/autoconf.texi: Avoid macros with unbraced arguments,
2880 they make TeX hang up.
2882 2004-03-15 Paul Eggert <eggert@bogus.example.com>
2884 * NEWS: New macro AC_CHECK_ALIGNOF.
2885 * doc/autoconf.texi (Generic Compiler Characteristics): Document it.
2886 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than
2887 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a
2889 (AC_CHECK_ALIGNOF): New macro.
2890 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF.
2891 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to
2894 2004-03-03 Paul Eggert <eggert@twinsun.com>
2896 * bin/Makefile.am (edit): Don't use $< in a context where
2897 POSIX doesn't require support for it. Use $@.in instead.
2898 Problem reported by Anthony N. Frasso in
2899 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>.
2900 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment.
2902 2004-02-23 Gary V. Vaughan <gary@gnu.org>
2904 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT
2905 from the next generation of Libtool.
2906 * lib/autom4te.in (Autoreconf-preselections): Ditto.
2908 2004-02-20 Alexandre Duret-Lutz <adl@gnu.org>
2910 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p'
2911 is not always thread-safe. Report from Nathanael Nerode.
2913 2004-02-18 Paul Eggert <eggert@twinsun.com>
2915 Fix a dependencies problem, stemming from a Autoconf 2.59 build
2916 problem on QNX reported by Stephen Rasku in
2917 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>.
2919 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on
2920 $(m4sh_m4f_dependencies); this removes a FIXME.
2921 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise.
2922 (MAINTAINERCLEANFILES): Split into pieces,
2923 one per related section. Add $(srcdir)/wrapper.in.
2925 2004-02-09 Paul Eggert <eggert@twinsun.com>
2927 * doc/autoconf.texi (Setting Output Variables): Emphasize that
2928 AC_SUBST provides no portable way to escape literal newlines.
2930 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all
2931 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o.
2932 Darwin uses -lcrt2.o and there's little point to cataloging all
2933 the system variants. Partial fix reported by Andreas Waechter in:
2934 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html
2935 for bug reported by Nelson H. F. Beebe in:
2936 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html
2938 2004-02-04 Paolo Bonzini <bonzini@gnu.org>
2940 * doc/autoconf.texi (AU_DEFUN): Fix English,
2941 suggested by Paul Eggert.
2942 * lib/autoconf/autoupdate.m4: Correct reference to
2943 acobsolete.m4, suggested by Alexandre Duret-Lutz.
2945 2004-02-02 Paolo Bonzini <bonzini@gnu.org>
2947 * bin/autoupdate.in: Define __file__ so that warnings
2948 refer to the correct file.
2949 * doc/autoconf.texi (AU_DEFUN): Describe more correctly
2950 the behavior of the third argument.
2951 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more
2952 correctly the behavior of the third argument. Document
2953 what the three macros that AU_DEFUN defines do. Fix
2954 warning message when the third argument includes $0
2955 (reported by Alexandre Duret-Lutz).
2957 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2958 Eric Sunshine <sunshine@sunshineco.com>
2959 Paul Eggert <eggert@twinsun.com>
2961 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion.
2962 (AS_INIT): Output shell initialization there. Removed optional
2963 parameter. Expand _AS_SHELL_FN_SPY.
2964 (AS_INIT_WITH_SHELL_FN): Removed.
2965 (_AS_SHELL_FN_SPY): New macro.
2966 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New
2968 (AS_SHELL_SANITIZE): Remove loop to find better shell
2969 and documentation for the parameter.
2970 (_AS_DETECT_BETTER_SHELL): Move it here.
2971 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat.
2972 (_AS_RUN): Move it here, support testing with eval.
2973 (AS_REQUIRE_SHELL_FN): Require shell functions when
2975 (_AS_LINENO_WORKS): Put around braces, we do not
2976 trigger the bash bug anymore.
2977 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not
2978 use AS_INIT_WITH_SHELL_FN.
2979 * bin/autoconf.in, tests/wrapper.in: Regenerated.
2981 2004-01-30 Paolo Bonzini <bonzini@gnu.org>
2983 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN.
2984 * doc/autoconf.texi: Don't say that the third parameter
2986 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro.
2987 (AU_DEFUN): Honor the third parameter, create autoupdate
2988 macros with AU_DEFINE.
2989 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
2990 AC_DIR_HEADER): Use AU_DEFUN's third parameter.
2991 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise.
2992 * lib/autoconf/programs.m4 (AC_RSH): Likewise.
2993 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG,
2994 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32,
2995 AC_XENIX_DIR): Likewise.
2996 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS,
2997 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise.
2998 * lib/autoconf/status.m4: Remove FIXME.
2999 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check
3000 that the macro is not present anymore in the updated
3002 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr
3005 2004-01-28 Paul Eggert <eggert@twinsun.com>
3007 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to
3009 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh
3010 2003 (except 1997) to the list of copyright years. This undoes
3011 the 2003-05-22 change, which removed the older years from the list.
3012 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004.
3014 2004-01-27 Gary V. Vaughan <gary@gnu.org>
3015 Albert Chin-A-Young <china@thewrittenword.com>
3017 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a
3018 grep or ggrep program in PATH that accepts as long lines as
3020 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of
3022 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available
3023 egrep and fgrep respectively if $GREP -E/-F don't work.
3024 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of
3025 _AC_PROG_GREP, and AC_PROG_SED.
3026 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the
3027 longest input length accepted by a command.
3028 (AC_PROG_SED): Use it.
3029 * doc/autoconf.texi (Particular Programs): Document the changes.
3032 2004-01-27 Paul Eggert <eggert@twinsun.com>
3034 * bin/autoconf.as ($version): Update copyright from 2003 to 2004.
3035 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
3036 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise.
3037 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise.
3039 * Makefile.in, aclocal.m4, configure, bin/Makefile.in,
3040 bin/autoconf.in, config/Makefile.in, config/config.guess,
3041 config/config.sub, config/install-sh, config/mdate-sh,
3042 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in,
3043 lib/Makefile.in, lib/Autom4te/Makefile.in,
3044 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in,
3045 lib/autotest/Makefile.in, lib/emacs/Makefile.in,
3046 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1,
3047 man/autoheader.1, man/autom4te.1, man/autoreconf.1,
3048 man/autoscan.1, man/autoupdate.1, man/config.guess.1,
3049 man/config.sub.1, man/ifnames.1, tests/Makefile.in,
3050 tests/acc.at, tests/acfortran.at, tests/acfunctions.at,
3051 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at,
3052 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at,
3053 tests/actypes.at: Regenerate and/or sync with original
3056 2004-01-26 Paul Eggert <eggert@twinsun.com>
3058 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if
3059 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with
3060 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but
3061 not <inttypes.h>. Problem reported by Tim Mooney in
3062 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>.
3063 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS):
3066 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed;
3067 otherwise "make check" fails because it forbids cmp (I guess
3068 because cmp treats files as binary on DOS-like systems).
3070 * tests/mktests.sh: Update copyright date to 2004, since some tests
3071 have changed in 2004.
3073 2004-01-23 Gary V. Vaughan <gary@gnu.org>
3075 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a
3076 non-truncating sed or gsed program in PATH.
3077 * tests/acprograms.at: Add it.
3078 * doc/autoconf.texi (Particular Programs): Document it.
3081 2004-01-15 Paul Eggert <eggert@twinsun.com>
3083 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since
3084 -std1 disables some useful extensions on Tru64. Problem reported
3086 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>.
3088 2004-01-14 Paul Eggert <eggert@twinsun.com>
3090 * doc/autoconf.texi (Programming in M4sh): Document that
3091 AS_MKDIR_P succeeds if the destination is a symbolic link
3092 to an existing directory.
3093 (Limitations of Usual Tools): Note that mkdir -p might not
3094 succeed on symlinks to directories.
3096 2004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU>
3098 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment.
3099 * bin/autoheader.in: Grammar fix in message.
3100 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P):
3101 Test for dir before calling mkdir -p. (trivial changes)
3103 2004-01-13 Eric Blake <ebb9@byu.net>
3105 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and
3106 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change)
3108 2004-01-10 Jim Meyering <jim@meyering.net>
3110 * doc/autoconf.texi (Running the Preprocessor): Correct grammar.
3112 2004-01-09 Paul Eggert <eggert@twinsun.com>
3114 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning
3115 with `autoconf -Wall,error'. Bug reported by Eric Blake in:
3116 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html
3117 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not
3118 AC_COMPILE_IFELSE, since we now assume our caller invokes
3119 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN.
3120 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead
3121 of AC_RUN_IFELSE; this avoids the warning mentioned above.
3122 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE.
3124 2004-01-07 Paul Eggert <eggert@twinsun.com>
3126 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
3127 `"'...'"`, as it's confusing (and I suspect it may not work on
3128 some platforms). The code was incorrect anyway, as it assumed
3129 that \$ evaluated to itself in that context. Reported by
3130 Alexandre Duret-Lutz.
3132 2004-01-07 Alexandre Duret-Lutz <adl@gnu.org>
3134 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
3135 and _LT_AC_TAGCONFIG.
3137 2004-01-06 Paul Eggert <eggert@twinsun.com>
3139 * doc/autoconf.texi (One Macro Call): Fix an incorrect
3140 example, and add more examples. Reported by Eric Sunshine.
3142 2004-01-05 Paul Eggert <eggert@twinsun.com>
3144 * doc/autoconf.texi (Limitations of Usual Tools):
3145 Remove warning against "rm -fr" introduced yesterday; it
3148 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
3149 autoscan, autoupdate, ifnames): Don't use chmod -w.
3150 * lib/Makefile.am (autom4te.cfg): Likewise.
3151 * doc/autoconf.texi (Limitations of Usual Tools): Warn against
3154 2004-01-04 Paul Eggert <eggert@twinsun.com>
3155 Paolo Bonzini <bonzini@gnu.org>
3157 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts
3158 by doing lineno substitution only on lines containing "$LINENO".
3160 2004-01-04 Paul Eggert <eggert@twinsun.com>
3162 * lib/autoconf/general.m4 (AC_ARG_PROGRAM):
3163 Use "rm -f" to remove conftest.sed, not plain "rm".
3164 Bug reported by David Relson in
3165 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>.
3167 * Makefile.am (autom4te-update):
3168 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires.
3169 * Makefile.maint (my-distcheck, do-po-update): Likewise.
3170 * doc/autoconf.texi (Guidelines): Likewise.
3171 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise.
3172 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise.
3173 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise.
3174 * lib/autotest/general.m4 (AT_INIT): Likewise.
3175 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
3176 * tests/Makefile.am (clean-local): Likewise.
3177 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS,
3179 * doc/autoconf.texi (Limitations of Usual Tools):
3180 Warn against "rm -fr".
3182 2004-01-03 Paul Eggert <eggert@twinsun.com>
3184 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc
3185 -c -o might not work. From a suggestion by Kevin Ryde.
3186 (C Compiler, Generating Sources, Limitations
3187 of Usual Tools, Limitations of Make, Making testsuite Scripts):
3188 Don't put '-o' after non-options, as POSIX doesn't allow this.
3189 Mention that cc's name might be gcc or c89 or whatever.
3191 2004-01-04 Kevin Ryde <user42@zip.com.au>
3193 * doc/autoconf.texi: Add various further index entries.
3195 2003-12-29 Paul Eggert <eggert@twinsun.com>
3197 * bin/autoreconf.in (autoreconf_current_directory):
3198 Fix typo: mkdir without umask arg.
3200 2003-12-27 Alexandre Duret-Lutz <adl@gnu.org>
3202 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>:
3203 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by
3204 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make
3205 explanation clearer.
3207 2003-12-24 Andreas Schwab <schwab@suse.de>
3209 * doc/autoconf.texi (Default Includes): Fix misspelling of
3210 AC_INCLUDES_DEFAULT.
3212 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3214 * configure.ac: Test if sh -n works.
3215 * configure: Regenerate.
3216 * tests/atlocal.in: Store the result here.
3217 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
3218 tools.at, looking in atlocal's ac_cv_sh_n_works instead
3219 of explicitly testing.
3220 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
3221 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
3222 * tests/tools.at (Syntax of the shell scripts): Simplify
3223 using AT_CHECK_SHELL_SYNTAX.
3224 (Syntax of the Perl scripts): Remove definition of
3225 AT_CHECK_PERL_SYNTAX.
3227 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3229 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
3230 stderr to /dev/null.
3231 * bin/autoconf.in: Regenerate.
3232 * bin/wrapper.in: Regenerate.
3234 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
3236 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
3237 Extracted from AS_SHELL_SANITIZE.
3238 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
3240 (AS_SHELL_SANITIZE): Move reinvocation code from
3241 _AS_LINENO_WORKS, use it to find out if shell
3243 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
3245 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
3246 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
3248 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
3249 * bin/autoconf.in: Regenerate.
3250 * tests/wrapper.in: Regenerate.
3251 * tests/tools.at: Test the syntax of tests/autoconf
3252 and tests/testsuite.
3254 2003-11-24 Akim Demaille <akim@epita.fr>
3256 * config/announce-gen (&print_locations, &print_signatures)
3259 No longer rely on Gnus to inline the list of signatures: compute
3262 2003-11-24 Akim Demaille <akim@epita.fr>
3264 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
3265 override some files.
3266 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
3267 From Debian Autoconf 2.58.
3269 2003-11-24 Akim Demaille <akim@epita.fr>
3271 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
3273 From Debian Autoconf 2.58.
3275 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3277 * TODO: Remove already done things. Update the part about finding
3278 tools for the target.
3280 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3282 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
3283 Make wording more consistent.
3284 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
3285 Explain the transition better.
3286 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
3287 the transition better.
3289 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3291 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
3292 parameter of AU_DEFUN.
3293 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
3294 (AU_DEFUN): Remove the third parameter, it was not used.
3295 Use AC_DEFUN directly, not AU_DEFINE.
3296 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
3297 the expanded body, consistently with other macros such as AC_USG.
3299 2003-11-17 Paul Eggert <eggert@twinsun.com>
3301 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
3302 into the initial confdefs.h, to work around a bug in NextStep 3.3
3303 patch 3 reported by Eric Sunshine.
3305 2003-11-15 Kevin Ryde <user42@zip.com.au>
3307 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
3308 than $target since the latter is not usual, add guidelines on when to
3309 use or not use the system type.
3311 2003-11-12 Derek Price <derek@ximbiot.com>
3313 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
3314 typo misrepaired by an auto-spellcheck.
3316 2003-11-12 Akim Demaille <akim@epita.fr>
3318 * bin/autoreconf.in (&parse_args): Don't call automake with
3319 --force-missing unless it actually supports it.
3320 From Debian #219336.
3322 2003-11-12 Akim Demaille <akim@epita.fr>
3324 * configure.ac: Bump to 2.59a.
3327 2003-11-06 Akim Demaille <akim@epita.fr>
3331 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
3333 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
3334 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
3335 and ac_abs_top_srcdir are absolute paths.
3336 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
3338 2003-11-05 Akim Demaille <akim@epita.fr>
3340 * configure.ac: Bump to 2.58a.
3342 2003-11-05 Kevin Ryde <user42@zip.com.au>
3344 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
3345 it provokes a warning from makeinfo about looking like a cross
3346 reference in info output.
3348 * doc/autoconf.texi (Function Portability): Add notes on signal
3349 handler return type, as per AC_TYPE_SIGNAL.
3351 2003-11-04 Akim Demaille <akim@epita.fr>
3354 * doc/standards.texi: Update from master.
3356 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
3358 2003-11-04 Akim Demaille <akim@epita.fr>
3360 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
3361 computing the absolute path to d1 in the source hierarchy: it may
3362 not exist at all. So don't cd into it.
3363 From Alexandre Duret-Lutz.
3364 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
3366 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
3367 From Paul Eggert, but named after Perl's IO::Spec->catfile.
3368 * doc/autoconf.texi (Programming in M4sh): Document.
3369 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
3371 2003-11-03 Pavel Roskin <proski@gnu.org>
3373 * doc/autoconf.texi (Generic Structure Checks): Describe
3374 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
3376 2003-10-31 Akim Demaille <akim@epita.fr>
3378 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
3380 * doc/autoconf.texi (Language Choice): Document.
3381 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
3382 the current language is Fortran.
3384 2003-10-31 Akim Demaille <akim@epita.fr>
3386 * bin/autom4te.in (&freeze): Use a less likely warning separator
3387 than `\n\n', so that `\n\n\n' is valid in warnings.
3388 Reported by Steve Huston.
3390 2003-10-28 Akim Demaille <akim@epita.fr>
3392 * Makefile.cfg (local_updates, executable-update): Tweak to be
3393 robust to parallel makes.
3394 Suggested by Alexandre Duret-Lutz.
3396 2003-10-27 Akim Demaille <akim@epita.fr>
3398 * Makefile.cfg (executable-update): New.
3399 (local_updates): Call it.
3401 2003-10-27 Akim Demaille <akim@epita.fr>
3403 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
3404 Don't remove core.* as it may remove valid user files.
3405 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
3406 (AC_FUNC_UTIME_NULL): Likewise.
3408 2003-10-23 Akim Demaille <akim@epita.fr>
3411 * config/config.guess, config/config.sub: Upgrade from masters.
3413 2003-10-23 Akim Demaille <akim@epita.fr>
3415 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
3416 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
3419 2003-10-23 Akim Demaille <akim@epita.fr>
3421 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
3422 Don't forget to remove conftest.err.
3424 2003-10-23 Akim Demaille <akim@epita.fr>
3426 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
3427 same object file in $LIBOBJS.
3428 Reported by Alexandre Duret-Lutz & Derek Robert Price.
3429 * doc/autoconf.texi (Generic Functions): Adjust.
3431 2003-10-20 Paul Eggert <eggert@twinsun.com>
3433 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
3434 Use 'eval', so that the resulting configure scripts work even if
3435 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
3437 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3439 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
3440 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
3441 (_AC_LINK_IFELSE): Check the werror flag.
3442 * doc/autoconf.texi (Generic Compiler Characteristics): Document
3446 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
3448 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
3449 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
3450 override AC_LINK_IFELSE.
3452 2003-10-15 Paul Eggert <eggert@twinsun.com>
3454 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
3455 pdksh 5.2.14. Bug reported by Ralf Corsepius.
3456 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
3457 Mention /usr/dt/bin/dtksh on Solaris.
3458 (Shell Substitutions): Warn about $((...)).
3459 (Parentheses): New section.
3461 2003-10-15 Kevin Ryde <user42@zip.com.au>
3463 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
3464 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
3466 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
3468 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
3471 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
3473 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
3474 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
3476 2003-10-10 Andreas Schwab <schwab@suse.de>
3478 * bin/autoheader.in: Avoid empty first line in --version and
3480 * bin/ifnames.in: Likewise.
3482 2003-10-09 Paul Eggert <eggert@twinsun.com>
3484 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
3485 Issue a more-informative diagnostic.
3486 Problems reported by Eric Sunshine.
3488 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3490 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
3491 -mGLOB_options_string stuff for Intel ifc, which can cause
3492 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
3493 pattern-matching instead of grep.
3495 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
3497 * doc/autoconf.texi: Document new FC Fortran macros.
3499 2003-10-08 Gary V. Vaughan <gary@gnu.org>
3501 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
3502 that future autopoint/aclocal/automake/autoreconf will be able
3503 to trace to find where to install local m4 macros.
3504 * doc/autoconf.texi (Input): Document it.
3507 2003-10-06 Gary V. Vaughan <gary@gnu.org>
3509 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
3510 -lcrtbegin.o to list of ignored flags and fix underquoting of
3513 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
3515 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
3516 cache variable instead of $G77 to decide whether to include -O2,
3517 since $G77 is specific to Fortran 77.
3519 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3521 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
3522 free" flag. Re-order flags tested into rough order of popularity.
3524 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
3526 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
3527 arguments so that it can be used with syntax identical to
3528 AC_PROG_F77, and so that we can more easily decide to
3529 remove/deprecate the DIALECT optional argument in the future if it
3531 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
3532 non-freeform-supporting compilers. Document freeform flags.
3534 2003-10-03 Akim Demaille <akim@epita.fr>
3536 * configure.ac: Look for emacs, not macs.
3537 Reported by Eric Sunshine.
3539 2003-10-03 Akim Demaille <akim@epita.fr>
3541 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
3542 * bin/autoreconf.in (autoreconf_current_directory): Create the
3543 AUX_DIR if needed, for sake of automake --add-missing etc.
3544 Suggested by Alexandre Duret-Lutz.
3546 2003-10-03 Akim Demaille <akim@epita.fr>
3548 * configure.ac: Quotation and formatting changes.
3549 (EMACS): Don't set it if it is not recent enough to support
3553 2003-10-02 Akim Demaille <akim@epita.fr>
3555 * bin/ifnames.in (&scan_file): Skip C++ comments.
3558 2003-10-01 Pavel Roskin <proski@gnu.org>
3560 * doc/autoconf.texi (Particular Structure Checks):
3561 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
3563 2003-10-01 Akim Demaille <akim@epita.fr>
3567 2003-09-30 Paul Eggert <eggert@twinsun.com>
3569 * lib/Autom4te/XFile.pm: Use Errno.
3570 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
3571 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
3573 2003-09-30 Akim Demaille <akim@epita.fr>
3575 * config/announce-gen (&print_news_deltas): Extracted from...
3576 (&print_changelog_deltas): here.
3577 (&news_file): Rename as...
3580 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
3582 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
3583 have been created when invoking the compiler.
3584 * tests/fortran.at (GNU Fortran 77): Quote $G77.
3586 2003-09-29 Akim Demaille <akim@epita.fr>
3590 * config/mkinstalldirs: Upgrade.
3592 2003-09-28 Paul Eggert <eggert@twinsun.com>
3594 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
3595 Problem reported by Lars J. Aas in
3596 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
3597 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
3598 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
3599 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
3601 2003-09-26 Akim Demaille <akim@epita.fr>
3603 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
3604 directory for AC_CONFIG_COMMANDS' first argument exists.
3605 This makes valid the invocation of _AC_SRCPATH that follows.
3606 Reported by Eric Sunshine.
3607 * doc/autoconf.texi (Configuration Commands): Adjust.
3609 2003-09-26 Akim Demaille <akim@epita.fr>
3611 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
3612 Reported by Ralf Corsepius.
3614 2003-09-26 Akim Demaille <akim@epita.fr>
3616 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
3618 Actually, use AU_ALIAS.
3621 2003-09-26 Paul Eggert <eggert@twinsun.com>
3623 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
3624 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
3625 Problem reported by Eric Sunshine in:
3626 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
3628 2003-09-26 Akim Demaille <akim@epita.fr>
3630 The test suite are sometimes assigning timings incorrectly.
3631 Reported by Henk Krus.
3632 Diagnosed by Nicolas Joly.
3634 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
3636 Instead of making AT_help a sequence of assignments to grow
3637 $at_help_all, just make AT_help_all be the growing contents of
3638 $at_help_all, and make a single assignment in...
3640 (at_times_skip): Flip the meaning and rename as...
3642 (AT_INIT): When summarizing the test that ran, remove
3643 $at_times_file after use, and check it is present before trying to
3646 2003-09-25 Akim Demaille <akim@epita.fr>
3650 * bin/Makefile.am (edit): Handle '@configure_input@'.
3651 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
3652 (ifnames): chmod -w.
3653 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
3654 executables, not bin/ executables! Otherwise all the magic needed
3655 to find non installed files is turned off. This caused a failure
3656 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
3657 as found in its environment (sent by tests/autoreconf): pointing
3658 to bin/autom4te that could not find its files.
3659 * tests/mktests.sh: Force the replacement of generated files, for
3660 the sake of "mv" program that are interactive when overwriting a
3662 * config/install-sh: Upgrade from CVS Automake.
3664 2003-09-23 Paul Eggert <eggert@twinsun.com>
3666 * doc/autoconf.texi (Limitations of Builtins): Document test -h
3667 versus test -L issues.
3669 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
3670 Paul Eggert <eggert@twinsun.com>
3672 Trivial change to support GCC's configuration procedure.
3673 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
3674 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
3675 about inconsistency if the preprocessor is set to give errors for
3677 * doc/autoconf.texi (C Compiler Characteristics): Document this.
3679 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
3681 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
3682 and XFile.pm from Automake.
3683 * lib/Autom4te/XFile.pm: Update from Automake.
3685 2003-09-12 Akim Demaille <akim@epita.fr>
3689 2003-09-12 Akim Demaille <akim@epita.fr>
3691 * config/config.guess, config/config.sub, config/missing,
3692 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
3695 2003-09-12 Akim Demaille <akim@epita.fr>
3697 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
3700 2003-09-11 Akim Demaille <akim@epita.fr>
3702 * doc/autoconf.texi (Header Portability): linux/random.h.
3703 From Peter Hendrickson.
3705 2003-09-10 Akim Demaille <akim@epita.fr>
3707 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
3708 willing to edit the output files.
3710 2003-09-10 Akim Demaille <akim@epita.fr>
3712 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
3714 * tests/mktests.sh: Skip AC_FC_SRCEXT.
3715 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
3717 2003-09-09 Akim Demaille <akim@epita.fr>
3719 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
3720 Reported by Gary Vaughan.
3721 * bin/autom4te.in (handle_m4): Likewise.
3723 2003-09-09 Akim Demaille <akim@epita.fr>
3725 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
3728 2003-09-07 Paul Eggert <eggert@twinsun.com>
3730 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
3731 Improve the accuracy of the wording about obsolescence.
3732 From a suggestion by Ian Lance Taylor in
3733 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
3735 2003-09-05 Paul Eggert <eggert@twinsun.com>
3737 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
3738 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
3740 2003-09-04 Akim Demaille <akim@epita.fr>
3742 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
3745 2003-09-04 Akim Demaille <akim@epita.fr>
3747 * bin/autom4te.in: Use &fatal where more appropriate than &error.
3748 (freeze): When exiting, use $exit_code.
3749 * lib/autoconf/fortran.m4: Comment changes.
3751 2003-09-04 Akim Demaille <akim@epita.fr>
3753 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
3755 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
3757 Add support for newer Fortran dialects. The F77 interface is
3758 unchanged, and continues to support Fortran 77. New FC macros
3759 correspond to all the old F77 macros, with output variables FC,
3760 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
3761 available dialect, but older dialects can be specified. There are
3762 new macros AC_FC_SRCEXT to set the source extension, and
3763 AC_FC_FREEFORM to accept free-form source files.
3765 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
3767 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
3768 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
3769 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
3770 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
3771 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
3772 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
3773 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
3774 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
3775 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
3776 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
3777 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
3778 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
3779 AC_FC_SRCEXT, AC_FC_FREEFORM):
3781 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
3782 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
3783 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
3784 Rewrite in terms of the above.
3785 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
3786 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
3787 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
3788 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
3790 2003-09-02 Paul Eggert <eggert@twinsun.com>
3792 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
3793 Document problems with timestamp resolution that 'make', 'cp -p', and
3796 2003-08-27 Akim Demaille <akim@epita.fr>
3798 * tests/m4sugar.at (cross_warning): Make sure to enable the
3799 output, so that we can track spurious m4sugar output.
3800 * tests/local.at: Require 2.57.
3801 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
3802 are defaulted by AT_CHECK anyway.
3803 Use AT_CHECK_AUTOM4TE.
3804 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
3807 2003-08-27 Akim Demaille <akim@epita.fr>
3809 * bin/autoheader.in: Issue the "Using auxiliary..." message only
3810 when -Wobsolete is set.
3811 Set it on by default.
3812 Suggested by Klee Dienes.
3814 2003-08-27 Akim Demaille <akim@epita.fr>
3816 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
3820 2003-08-26 Akim Demaille <akim@epita.fr>
3822 * doc/autoconf.texi (Output): Make clear that one can run code
3825 2003-08-25 Akim Demaille <akim@epita.fr>
3827 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
3830 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
3832 * bin/autoreconf.in (parse_args): Do not pass --no-force to
3833 Automake versions prior to 1.8.
3835 2003-08-25 Akim Demaille <akim@epita.fr>
3837 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
3840 2003-08-24 Akim Demaille <akim@epita.fr>
3842 * configure.ac: Bump to 2.57c.
3844 2003-08-22 Akim Demaille <akim@epita.fr>
3848 * Makefile.cfg (local-checks-to-skip): New.
3849 * Makefile.maint (local-check): Rename as...
3850 (local-checks-available): this.
3853 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
3854 * configure.ac: Require Automake 1.7.6.
3856 2003-08-22 Akim Demaille <akim@epita.fr>
3858 Output stack traces in warnings.
3860 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
3861 Replace the former...
3862 (m4_warn): Pass the call stack to _m4_warn.
3863 * bin/autom4te.in: Adjust to output the call stack.
3864 * tests/m4sugar.at (m4@&t@_warn): Adjust.
3866 2003-08-22 Akim Demaille <akim@epita.fr>
3868 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
3869 * bin/autom4te.in: Adjust.
3871 2003-08-21 Akim Demaille <akim@epita.fr>
3873 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
3875 (&getopt): Adjust the note and verb channels, depending upon
3877 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
3878 * bin/autoupdate.in: Adjust.
3879 Use &verb, not &verbose.
3881 2003-08-21 Akim Demaille <akim@epita.fr>
3883 * bin/autoheader.in (&parse_args): Use &parse_warnings and
3885 ($help): Use Autom4te::ChannelDefs::usage.
3886 * bin/autoscan.in: Use Autom4te::ChannelDefs.
3887 * lib/Autom4te/General.pm: Don't export error: you don't own it.
3889 2003-08-21 Akim Demaille <akim@epita.fr>
3891 First stab at preserving warnings between calls to autom4te,
3892 including when the cache is used.
3894 There are still several issues: (i) there are too many runs of m4
3895 (one for include, one for warnings, and some more), (ii) warnings
3896 spreading on several lines are not handled gracefully, (iii) the
3897 code meant to have the call stack display for errors does not work
3898 (its handling should move from m4 to autom4te).
3900 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
3902 (@preselect): Add m4_warn.
3903 ($exit_status): Remove, use $exit_code.
3904 ($help): Use Autom4te::ChannelDefs::usage.
3905 (&handle_m4): No longer define the m4_warnings.
3906 At each run, extract and report the warnings.
3907 Always cache the result, including if the exit status is on
3908 failure, since if nothing changes, we should result in the same
3909 failure, hence we can use the cache.
3910 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
3911 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
3913 (m4_warn): Redefine as a do-nothing: it is its invocation that
3914 matters, as warnings are now reported via traces.
3915 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
3916 the contents of m4_warn: make it _call_ m4_warn, so that tracing
3917 the latter reveals calls to the former.
3921 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
3923 2003-08-21 Akim Demaille <akim@epita.fr>
3925 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
3928 2003-08-21 Akim Demaille <akim@epita.fr>
3930 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
3932 * lib/Autom4te/ChannelDefs.pm: Doc typos.
3933 (&parse_warnings): Accept a list of warning requests.
3934 (&usage): Return a string, not a side effect.
3935 (cross): New warning category.
3937 2003-08-21 Akim Demaille <akim@epita.fr>
3939 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
3940 (&require_configure_ac): Accept an optional directory argument.
3941 ($configure_ac): Remove.
3942 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
3944 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
3945 * bin/autoscan.in: Adjust.
3947 2003-08-20 Akim Demaille <akim@epita.fr>
3949 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
3950 Reported by Alexandre Duret-Lutz.
3952 2003-08-20 Akim Demaille <akim@epita.fr>
3954 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
3955 * bin/autom4te: Adjust.
3956 In particular, be Autoconf tools are really silent when properly
3957 working, bind the verbosity of the 'note' channel to $verbose.
3958 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
3959 (&xsystem, &contents): Remove, since they are exported by...
3960 * lib/Autom4te/FileUtils.pm: this.
3962 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
3963 * lib/Autom4te/FileUtils.pm: here.
3965 2003-08-20 Akim Demaille <akim@epita.fr>
3967 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
3968 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
3971 2003-08-20 Akim Demaille <akim@epita.fr>
3973 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
3974 (autom4te-update): New.
3975 * Makefile.cfg (update): Bind autom4te-update.
3977 2003-08-19 Derek Price <derek@ximbiot.com>
3979 * lib/autotest/general.m4: Comment various HELP_* diversions.
3980 (PARSE_ARGS_BEGIN): New section for option parsing related
3982 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
3983 package specific options and associated help.
3985 2003-08-19 Akim Demaille <akim@epita.fr>
3987 * config/announce-gen, Makefile.cfg: New.
3988 * Makefile.am: Adjust.
3989 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
3991 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3993 * lib/autom4te.in (Automake-preselections): Preselect
3994 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
3997 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
3999 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
4000 (Autoconf-without-aclocal-m4): ... this new language.
4001 * doc/autoconf.texi (autom4te Invocation): Mention
4002 Autoconf-without-aclocal-m4.
4004 2003-08-18 Derek Price <derek@ximbiot.com>
4006 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
4007 RUN-IF-PASS optional arguments.
4009 2003-08-18 Derek Price <derek@ximbiot.com>
4011 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
4013 2003-08-16 Derek Price <derek@ximbiot.com>
4015 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
4016 STDOUT & STDERR arguments.
4018 2003-08-14 Derek Price <derek@ximbiot.com>
4020 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
4021 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
4022 shorter column three. Add DESCRIPTION to log file content.
4024 2003-08-13 Derek Price <derek@ximbiot.com>
4026 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
4029 2003-08-12 Derek Price <derek@ximbiot.com>
4031 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
4032 (AT_CHECK_NOESCAPE): Move core functionality to...
4033 (_AT_CHECK): ...this new macro.
4035 2003-08-07 Derek Price <derek@ximbiot.com>
4037 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
4038 (AT_CHECK_NOESCAPE): ...to this new macro.
4040 2003-07-31 Paul Eggert <eggert@twinsun.com>
4042 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
4043 in Bash 2.01. Problem reported by Brian Gough in
4044 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
4046 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
4048 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
4049 -lcrt1.o, for OS X. (trivial change)
4051 2003-07-07 Paul Eggert <eggert@twinsun.com>
4053 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
4054 inside '#ifndef __cplusplus'. Problem reported by
4057 2003-07-06 Bill Clarke <llib@computer.org>
4059 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
4060 'long', not 'int', for benefit of Sun's recent C++ compilers
4061 (trivial change). See:
4062 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
4063 (This really should be 'intptr_t', not 'long', but that would
4066 2003-06-25 Akim Demaille <akim@epita.fr>
4068 * lib/Makefile.am (autom4te.cfg): Make it read only.
4069 Depend on Makefile since it contains substitutions.
4071 * lib/autom4te.in (args): Add local.at? for Autotest args.
4072 This change was made on autom4te.cfg which is generated.
4073 Reported by Raja R. Harinath.
4075 2003-06-25 Akim Demaille <akim@epita.fr>
4077 * doc/autoconf.texi (Header Portability): sys/mount.h.
4078 From Gareth McCaughan.
4080 2003-06-23 Akim Demaille <akim@epita.fr>
4082 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
4083 not all of them. This fixes 1. the fact that when testing
4084 Autoconf there are many many config.log, 2. the incorrect use of
4085 top_srcdir to find config.log.
4086 Don't mix the detailed output of failed test with the summary of
4087 failures. Rather, append detailed log afterwards.
4089 2003-06-23 Akim Demaille <akim@epita.fr>
4091 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
4092 always run: output config.log on $at_group_log.
4094 2003-06-23 Akim Demaille <akim@epita.fr>
4096 * tests/torture.at (#define header templates): Don't use quotes in
4097 C++ comments as it puzzles Emacs' sh font-lock-mode.
4099 2003-06-23 Akim Demaille <akim@epita.fr>
4101 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
4102 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
4103 * tests/atspecific.m4: Rename as...
4104 * tests/local.at: This.
4105 * tests/suite.at: Move the globals into...
4106 * tests/local.at: here.
4107 * tests/Makefile.am: Adjust.
4108 * doc/autoconf.texi (testsuite Scripts): Adjust.
4110 2003-06-21 Kevin Ryde <user42@zip.com.au>
4112 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
4113 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
4114 ensuring we add -std1 for full-ANSI.
4116 * doc/autoconf.texi (hdrindex): New macro.
4117 Add index entries for portability of various standard header files.
4119 2003-06-20 Akim Demaille <akim@epita.fr>
4121 * configure.ac: Bump to 2.57b.
4123 2003-06-20 Akim Demaille <akim@epita.fr>
4127 2003-06-20 Akim Demaille <akim@epita.fr>
4129 * bin/autom4te.in: Don't rely on $HOME being defined.
4130 Reported by Marc Espie as PR/233.
4132 2003-06-20 Akim Demaille <akim@epita.fr>
4134 * lib/autotest/general.m4: Use at_times_file only if used.
4137 2003-06-20 Akim Demaille <akim@epita.fr>
4139 * config/config.guess, config/config.sub, config/elisp-comp,
4140 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
4141 Update from masters.
4143 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
4145 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
4146 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
4147 (TEST_SCRIPT): New diversion.
4148 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
4149 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
4150 (AT_INIT): Support for expected failures.
4152 2003-06-02 Akim Demaille <akim@epita.fr>
4154 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
4156 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
4157 Autoconf nor Automake.
4158 (&contents): New, from Automake.
4161 2003-05-28 Paul Eggert <eggert@twinsun.com>
4163 * NEWS, doc/autoconf.texi (Particular Functions),
4164 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
4165 is the inverse of localtime.
4167 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
4169 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
4170 (handle_exec_errors): New function. Work around $! being
4171 altered by WEXITSTATUS.
4172 (xqx, xsystem): Use handle_exec_errors.
4174 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
4176 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
4177 Do not call `_exit()', simply modify `$?'.
4178 (xsystem): Reset $! before running system, and check it afterward.
4179 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
4180 63 for version mismatches.
4182 2003-05-23 Akim Demaille <akim@epita.fr>
4184 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
4185 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
4186 the middle of a line).
4187 * lib/m4sugar/m4sugar.m4: Likewise.
4188 Remove useless spaces in comments.
4190 2003-05-23 Akim Demaille <akim@epita.fr>
4192 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
4193 exit 63, so that we (or Automake's "missing") can tell the
4194 difference with a plain failure.
4195 * doc/autoconf.texi (Notices): Adjust.
4197 2003-05-23 Akim Demaille <akim@epita.fr>
4199 * Makefile.am, bin/Makefile.am, config/Makefile.am,
4200 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
4201 White spaces cleanup.
4203 2003-05-22 Jim Meyering <jim@meyering.net>
4204 Paul Eggert <eggert@twinsun.com>
4206 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
4207 Remove `#include <stdlib.h>' from the list; we should never
4208 make confdefs.h include <stdlib.h> or <cstdlib>, because the
4209 resulting namespace pollution would cause other tests to fail.
4210 Configure scripts run with some older versions of g++ and HP's
4211 aCC would fail due to such an #include. Problems reported by
4212 Matthew Mueller in <http://bugs.debian.org/120704> and by
4214 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
4215 In the test, use the test declaration before including <stdlib.h>,
4216 as that's closer to how it'll be used.
4218 2003-05-23 Akim Demaille <akim@epita.fr>
4220 * doc/autoconf.texi (Header Portability): ucred.h.
4223 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4225 Overhaul Autotest's logging: generate separate log files
4226 in testsuite.dir/NNN/testsuite.log, and append them to
4227 testsuite.log instead of re-running the test verbosely.
4229 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
4230 file descriptor, write 0 to at_status_file instead of setting
4231 at_status=0, initialize some new variables (at_status_file,
4232 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
4233 to rerun the tests, instead append the at_group_log to the
4234 at_suite_log when a test fails.
4235 (AT_SETUP): pipe the test case's output into at_tee_pipe,
4236 with the AS_MESSAGE_LOG_FD redirected to stdout.
4237 (AT_CLEANUP): save the output status in $at_status_file
4238 and restore it, redirect the AS_MESSAGE_LOG_FD back to
4240 (AT_CHECK): since tests are run with a redirected stdout,
4241 and used to be re-run in verbose mode, turn some $at_verbose
4242 into echo, and don't redirect the output of testing stdout
4245 * lib/autotest/autoconf.texi (testsuite Scripts): Update
4246 the name of the debugging directory and information about
4249 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
4251 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd
4254 2003-05-22 Akim Demaille <akim@epita.fr>
4256 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
4257 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
4258 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
4259 * lib/autoconf/status.m4: Fix and adjust copyright notices.
4261 2003-05-22 Akim Demaille <akim@epita.fr>
4263 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
4264 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
4265 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
4266 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
4267 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
4268 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
4269 * lib/autoconf/status.m4, lib/autoconf/types.m4,
4270 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
4271 * tests/atspecific.m4, tests/base.at, tests/compile.at,
4272 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
4273 * tests/tools.at, tests/torture.at:
4274 Whitespace clean up.
4275 Suggested by Jim Meyering.
4277 2003-05-22 Akim Demaille <akim@epita.fr>
4279 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
4280 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
4281 Reported by Jim Meyering.
4283 2003-05-22 Akim Demaille <akim@epita.fr>
4285 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
4286 Add AC_HELP_STRING to the obsolete macros section.
4288 Use '@.' for sentences that ended in a capital letter.
4291 2003-05-22 Akim Demaille <akim@epita.fr>
4293 * config/config.guess, config/config.sub, config/elisp-comp,
4294 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
4295 * config/texinfo.tex, doc/standards.texi: Update from masters.
4297 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
4299 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
4302 2003-05-21 Akim Demaille <akim@epita.fr>
4304 * bin/autoupdate.in ($m4): Fix quotation.
4305 Reported by Martin Mokrejs.
4307 2003-05-19 Paul Eggert <eggert@twinsun.com>
4309 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
4310 Remove non-ASCII characters.
4312 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
4314 * tests/semantics.at (AC_SEARCH_LIBS): New test.
4315 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
4316 AC_CHECK_HEADERS_NEW): New tests.
4318 2003-05-17 Akim Demaille <akim@epita.fr>
4320 * lib/autoconf/functions.m4: Use the default includes so that
4321 memcmp be declared before being tested.
4322 Reported by Sander Niemeijer.
4323 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
4324 * doc/autoconf.texi (Default Includes): Document
4325 AC_INCLUDES_DEFAULT.
4327 2003-05-17 Akim Demaille <akim@epita.fr>
4329 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
4330 * doc/autoconf.texi (Obsolete Macros): Adjust.
4331 Reported by Werner LEMBERG and Debian Bug 190886.
4333 2003-05-16 Akim Demaille <akim@epita.fr>
4335 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
4336 user name space clashes.
4337 Reported by Bruno Haible.
4339 2003-05-16 Akim Demaille <akim@epita.fr>
4341 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4342 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
4343 them uniform, and more robust to Perl special characters.
4344 Reported by Martin Mokrejs.
4346 2003-05-14 Akim Demaille <akim@epita.fr>
4348 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
4350 2003-05-14 Akim Demaille <akim@epita.fr>
4352 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
4355 2003-05-12 Akim Demaille <akim@epita.fr>
4357 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
4359 From Matthias Andree.
4361 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
4363 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
4366 2003-05-06 Akim Demaille <akim@epita.fr>
4368 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
4369 longer updates aclocal.m4 if useless, (ii) if a file m4_included
4370 by aclocal.m4 is changed it might require the importing of another
4371 m4 extension file, i.e., aclocal must be run.
4373 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
4374 (&parse_args): Use --force with aclocal if required and supported.
4375 (&autoreconf_current_directory): Use &run_aclocal.
4377 2003-05-06 Akim Demaille <akim@epita.fr>
4379 Lock autom4te's cache.
4381 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
4382 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
4383 argument instead of a file name, so that the request file remains
4384 open during the whole autom4te run.
4385 ($icache_file): New.
4386 (&freeze): Lock the $icache_file.
4388 2003-04-29 Derek Price <derek@ximbiot.com>
4390 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
4391 seperator with m4_append_uniq(). It doesn't work.
4392 (AT_CLEANUP): Add `;' to end of at_help_all.
4393 (AT_INIT): Allow --keywords to be specified more than once. When
4394 grepping $at_help_all for keywords, use the field and keyword
4395 seperators to ensure a complete keyword match. Alter at_prev handling
4396 to support the new --keywords behavior.
4398 2003-04-27 Karl Berry <karl@freefriends.org>
4400 * doc/autoconf.texi: Make the dir entries in the autoconf manual
4401 align better with others. I also made some of the individual
4402 entries on one line, for brevity and to make it easier for me to
4403 sort my dir-example file in the Texinfo distribution :).
4405 2003-04-12 Jim Meyering <jim@meyering.net>
4407 * NEWS: Mention the new macro.
4408 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
4409 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
4410 * tests/c.at: Test AC_C_RESTRICT.
4411 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
4413 2003-04-08 Akim Demaille <akim@epita.fr>
4415 * bin/ifnames.in: Skip C++ comments.
4418 2003-04-08 Akim Demaille <akim@epita.fr>
4420 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
4421 From Ilya Zakharevich.
4423 2003-04-08 Akim Demaille <akim@epita.fr>
4425 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
4428 2003-04-01 Derek Price <derek@ximbiot.com>
4430 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
4431 from Akim's checkin of 2003-03-29.
4433 2003-04-01 Derek Price <derek@ximbiot.com>
4435 * tests/torture.at (Configuring subdirectories): Add missing
4436 close-quote for Akim's change from 2003-03-28.
4438 2003-04-01 Akim Demaille <akim@epita.fr>
4440 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
4441 (AC, AT, MS): these.
4442 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
4445 * doc/Makefile.am (CLEANFILES): Adjust.
4446 (TEXI2DVI): Make it --batch.
4448 2003-03-31 Derek Price <derek@ximbiot.com>
4450 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
4451 which removed the main loop.
4452 Thanks to Akim Demaille.
4454 2003-03-29 Akim Demaille <akim@epita.fr>
4456 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
4458 From Ilya Zakharevich.
4460 2003-03-29 Akim Demaille <akim@epita.fr>
4462 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
4463 documentation to read is Autoconf's.
4464 Suggested by Paul Eggert.
4466 2003-03-28 Akim Demaille <akim@epita.fr>
4468 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
4469 reading the section "Present But Cannot Be Compiled" when the
4470 header causes problems.
4472 2003-03-28 Akim Demaille <akim@epita.fr>
4474 * tests/torture.at (Configuring subdirectories): Require aclocal
4475 1.4, otherwise the test fails, as it does support configure.ac.
4476 This fixes the "test 40 failed" bug reports.
4478 2003-03-28 Akim Demaille <akim@epita.fr>
4480 * doc/autoconf.texi (C Compiler): `#line' portability.
4481 From Paul Eggert and Nelson H. F. Beebe.
4483 2003-03-27 Derek Price <derek@ximbiot.com>
4485 * lib/autotest/general.m4: Eliminate main loop and reorganize test
4486 layout in order to allow scripting around test groups.
4488 2003-03-27 Derek Price <derek@ximbiot.com>
4490 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
4491 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
4492 use new diversions in preparation for accepting new arguments and
4493 allowing scripting around tests.
4494 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
4496 2003-03-26 Derek Price <derek@ximbiot.com>
4498 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
4499 obsolete AC_HELP_STRING.
4500 (AC_HELP_STRING): AU_DEFUN to...
4501 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
4502 * tests/m4sh.at (AS_HELP_STRING): New test.
4504 * tests/acgeneral.at: Regenerated.
4506 2003-03-26 Derek Price <derek@ximbiot.com>
4508 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
4509 sense. Verbosify the diversion definitions comment.
4511 2003-03-26 Derek Price <derek@ximbiot.com>
4513 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
4516 2003-03-21 Eric Siegerman <eric_97@pobox.com>
4518 * doc/autoconf.texi (Present But Cannot Be Compiled):
4519 Grammar fixes and minor rewording. (trivial change)
4521 2003-03-06 Paul Eggert <eggert@twinsun.com>
4523 Work around a problem noted by Nelson H. F. Beebe with coreutils
4524 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
4525 2002/05/09) rejects '#line 32768 "configure"' because the line
4527 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
4529 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
4530 * doc/autoconf.texi (Generating Sources): Document this.
4532 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
4534 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
4535 file name for the m4 program, when it has an "exe" file extension.
4536 DJGPP's error messages include the error code in brackets -
4537 remove the error code during normalization.
4539 2003-02-28 Akim Demaille <akim@epita.fr>
4541 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
4543 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
4545 * doc/autoconf.texi (Limitations of Make): Remove the section
4546 about `$<' in inference rules, it was a bogus interpretation of
4547 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
4548 Tru64 make in the "target lookup" section.
4549 (Automake): Automake 1.5+ no longer requires special tools to be
4550 present on the developer's host.
4552 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
4554 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
4555 to a shell that can handle redirection or quoting correctly.
4556 Override SHELL with the shell detected by configure.
4557 Use of $^O suggested by Tim van Holder.
4558 * bin/autom4te.in (BEGIN): Likewise.
4559 * bin/autoreconf.in (BEGIN): Likewise.
4560 * bin/autoscan.in (BEGIN): Likewise.
4561 * bin/autoupdate.in (BEGIN): Likewise.
4562 * bin/ifnames.in (BEGIN): Likewise.
4564 * bin/ifnames.in: Add final newline to help and version messages.
4566 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
4567 to cope with DOS-style absolute paths, when constructing
4570 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
4571 When constructing paths with IFS=:, quote the path. If we're
4572 constructing a DOS-style absolute path, we don't want to split it
4575 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
4578 2003-02-25 Pavel Roskin <proski@gnu.org>
4580 * bin/autoheader.in: Add missing newline when printing
4581 suggestion how change AC_DEFINE call.
4583 2003-02-24 Paul Eggert <eggert@twinsun.com>
4585 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
4586 2002-09-01 patch by replacing "test -n" with "test -z".
4587 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
4588 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
4590 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
4591 to fix a mismatch between example and discussion.
4593 2003-02-24 Kevin Ryde <user42@zip.com.au>
4595 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
4596 format starting with "-".
4598 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
4600 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
4601 is not portable inside Makefile.
4603 2003-02-20 Akim Demaille <akim@epita.fr>
4605 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
4606 compiler says yeah, but preproc says nope, compiler is right.
4607 Conversely, prompt the reader to send a bug report to the
4608 maintainers of the package, not of Autoconf.
4610 2003-02-20 Klee Dienes <kdienes@apple.com>
4612 * bin/autoreconf.in (autoreconf_current_directory): Properly
4613 handle an empty aclocal.m4.
4615 2003-02-20 Akim Demaille <akim@epita.fr>
4617 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
4621 2002-12-23 Paul Eggert <eggert@twinsun.com>
4623 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
4624 innocuous variant befor including <limits.h> or <assert.h>. This
4625 works around a bug reported by Albert Chin: HP-UX 11i
4626 (and earlier versions) have a <limits.h> that declares
4627 gettimeofday and many other functions.
4629 2002-12-03 Paul Eggert <eggert@twinsun.com>
4633 * NEWS, configure.ac: Update version.
4635 * doc/fdl.texi: Upgrade to FDL version 1.2.
4637 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
4638 nontrivially in main's body, so that f's external declaration is
4639 not optimized away in AIX. This should fix the bug reported by
4641 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
4643 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
4644 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
4645 defined, to support freestanding compilers. This should fix the
4646 bug reported by Momchil Velkov in
4647 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
4649 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
4650 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
4651 obsolete AC_CHECK_TYPE. The missing empty arg was reported
4652 by Simon Josefsson in
4653 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
4655 * Makefile.maint (www-gnu): New macro.
4656 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
4657 the location has moved.
4659 2002-12-02 Martin Frydl <martin@systinet.com>
4661 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
4662 \(.*\) match is too long and there is something more to be checked.
4663 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
4665 2002-11-15 Akim Demaille <akim@epita.fr>
4669 * config/install-sh: chmod +x.
4671 * config/move-if-change: Indenting changes.
4672 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
4673 * configure.ac (AM_INIT_AUTOMAKE): here.
4676 2002-11-14 Akim Demaille <akim@epita.fr>
4680 * config/config.guess, config/config.sub, config/install-sh:
4681 Update from masters.
4683 2002-11-14 Akim Demaille <akim@epita.fr>
4685 * Makefile.maint: Sync with Bison, i.e.:
4686 (po-check): Scan .l and .y files instead of the
4687 .c and the .h files that they generate. This fixes the bug
4688 reported by Tim Van Holder in:
4689 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
4690 Look for N_ as well as for _. Try to avoid matching #define for
4694 2002-11-14 Akim Demaille <akim@epita.fr>
4696 * doc/autoconf.texi (C Compiler): Compiling several files at once.
4697 From Paul Eggert and Albert Chin-A-Young.
4699 2002-11-14 Akim Demaille <akim@epita.fr>
4701 * doc/autoconf.texi (C Compiler): Solitary backslashes.
4702 From Paul Eggert and Albert Chin-A-Young.
4704 2002-11-14 Kevin Ryde <user42@zip.com.au>
4706 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
4707 than assigning in main, to avoid HP cc +O3 optimizing it away.
4709 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
4711 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
4712 option. Process --recheck after parsing all options. Pass -q
4713 option to configure on --recheck.
4714 (AC_OUTPUT): Pass -q from configure to config.status.
4715 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
4716 arguments to record.
4717 * doc/autoconf.texi (config.status Invocation): Document
4718 config.status -q option.
4720 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
4722 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
4723 Makefile.in if Makefile.am exists.
4724 (output): Strip `.am' from Makefiles. Don't
4725 output AC_CONFIG_FILES if no Makefiles were found.
4727 2002-11-07 Akim Demaille <akim@epita.fr>
4729 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
4730 (local_updates): New.
4731 * Makefile.maint: Update, from CVS Bison.
4732 (local_updates): New.
4734 2002-11-06 Akim Demaille <akim@epita.fr>
4736 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
4737 declaration in extern "C" too.
4738 Reported by Roberto Bagnara.
4740 2002-11-06 Akim Demaille <akim@epita.fr>
4742 * tests/torture.at (Configuring subdirectories): Don't use grep
4744 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
4745 Reported by Ezra Peisach.
4747 2002-11-05 Akim Demaille <akim@epita.fr>
4749 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
4751 We _have_ to stop using the old compatibility scheme that tried to
4752 avoid useless backslashes because Libtool 1.4.3 contains a
4753 AC_DEFINE([error_t], [int],
4754 [Define to a type to use for \`error_t' if it is not
4755 otherwise available.])
4756 We _have_ to quote the single quote and backslashes with \. The
4757 old compatibility scheme saw that ` was backslashed, and therefore
4758 did not quote the single quote. Hence before this patch, Autoconf
4759 was not compatible with Libtool.
4761 2002-11-04 Paul Eggert <eggert@twinsun.com>
4763 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
4764 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
4765 LC_NAME, LC_PAPER, LC_TELEPHONE.
4766 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
4768 2002-11-04 Akim Demaille <akim@epita.fr>
4772 * Makefile.maint (update, cvs-update, po-update, do-po-update):
4774 * config/texinfo.tex: Update.
4776 2002-11-03 Akim Demaille <akim@epita.fr>
4778 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
4780 (&autoreconf): here.
4781 ($help, $make, &parse_args, &autoreconf_current_directory):
4783 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4785 2002-10-31 Bruno Haible <bruno@clisp.org>
4787 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
4788 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
4789 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
4790 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
4791 to ac_cv_func_realloc_0_nonnull.
4792 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
4794 2002-10-31 Akim Demaille <akim@epita.fr>
4796 The test suite was no longer checking for trailing envvars and files.
4798 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
4799 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
4801 2002-10-31 Akim Demaille <akim@epita.fr>
4803 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
4804 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
4805 Make variable, not a shell variable.
4806 Suggested by Bruno Haible.
4808 2002-10-31 Akim Demaille <akim@epita.fr>
4810 * bin/autom4te.in (load_configuration): Reject #args out of any
4813 2002-10-31 Akim Demaille <akim@epita.fr>
4815 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
4816 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
4817 (_AC_RUN_IFELSE): Use it.
4818 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
4819 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
4820 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
4823 2002-10-30 Akim Demaille <akim@epita.fr>
4825 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
4826 * doc/autoconf.texi (autom4te Invocation): Adjust.
4827 Suggested by Tim van Holder.
4829 2002-10-29 Paul Eggert <eggert@twinsun.com>
4831 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
4832 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
4833 Problem reported by Bruno Haible.
4835 2002-10-29 Akim Demaille <akim@epita.fr>
4837 * doc/autoconf.texi (Header Templates): Put also in words what the
4838 pictures says to assist free style readers.
4839 (Customizing autom4te): s/--cache=/--cache /.
4841 2002-10-29 Akim Demaille <akim@epita.fr>
4843 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
4845 sparc_address_test returns void.
4846 Use it with an argument, as prototyped.
4849 2002-10-29 Akim Demaille <akim@epita.fr>
4851 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
4852 configure.in, not configure.ac.
4853 Reported by Bruno Haible.
4855 2002-10-29 Akim Demaille <akim@epita.fr>
4857 * tests/torture.at (Deep Package): New test.
4858 (Configuring subdirectories): Don't use a testSubDir as Autotest
4861 2002-10-29 Akim Demaille <akim@epita.fr>
4863 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
4864 * doc/autoconf.texi (Invoking autom4te): Rename as...
4865 (autom4te Invocation): this, for consistency with the other nodes.
4867 2002-10-29 Akim Demaille <akim@epita.fr>
4869 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
4870 Reported by Ralf Corsepius.
4872 2002-10-29 Akim Demaille <akim@epita.fr>
4874 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
4875 characters is a back as an `obsolete' warning now.
4876 Reported by Ralf Corsepius.
4878 2002-10-28 Akim Demaille <akim@epita.fr>
4880 * configure.ac: Bump to 2.54c.
4882 2002-10-28 Akim Demaille <akim@epita.fr>
4886 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
4888 2002-10-28 Akim Demaille <akim@epita.fr>
4890 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
4891 m4 executable names, and different GNU M4 version.
4892 Reported by Ezra Peisach and Paul Jarc.
4894 2002-10-27 Akim Demaille <akim@epita.fr>
4896 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
4899 2002-10-27 Akim Demaille <akim@epita.fr>
4901 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
4902 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
4903 Die when a simple Fortran program cannot be compiled.
4904 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
4905 Issue a warning if no function is given.
4907 2002-10-27 Akim Demaille <akim@epita.fr>
4909 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
4910 Move the documentation of AC_TRY_RUN to...
4911 (Obsolete Macros): here.
4912 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
4913 (autoconf Invocation): Remove the duplicates with `invoking
4915 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
4916 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
4918 2002-10-27 Akim Demaille <akim@epita.fr>
4920 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
4921 and AC_LANG_FUNC_LINK_TRY.
4922 (Examining Libraries): Rename as...
4923 (Running the Linker): this.
4924 Document AC_LINK_IFELSE.
4925 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
4926 (Obsolete Macros): here.
4927 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
4928 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
4929 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
4930 * lib/autoconf/headers.m4 (AC_USG): Likewise.
4932 2002-10-27 Akim Demaille <akim@epita.fr>
4934 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
4936 More `check config.log' messages.
4938 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
4939 * doc/autoconf.texi (Printing Messages): Document it.
4940 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
4942 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
4943 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
4944 (_AC_COMPILER_OBJEXT): Likewise.
4945 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
4946 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
4948 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
4951 Deprecate macros with unusual interfaces.
4953 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
4954 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
4956 Document the new ones, and proper style.
4958 * doc/autoconf.texi (Generating Sources): New.
4959 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
4960 (Examining Declarations): Rename as...
4961 (Running the Preprocessor): this.
4962 Document AC_PREPROC_IFELSE.
4963 (Examining Syntax): Rename as...
4964 (Running the Compiler): this.
4965 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
4966 (Obsolete Macros): Move the definition of AC_TRY_CPP and
4967 AC_TRY_COMPILE here.
4969 2002-10-27 Akim Demaille <akim@epita.fr>
4971 Move sections around.
4973 * doc/autoconf.texi (Customizing autom4te): Remove a lost
4975 Reported by Burno Haible.
4976 (Language Choice): Now the first section of...
4977 (Writing Tests): this section.
4978 Make the introduction less C-centric.
4979 (Guidelines, Test Functions): Move to...
4980 (Writing Test Programs): this new section.
4981 (Test Programs): Merge into...
4984 2002-10-27 Akim Demaille <akim@epita.fr>
4986 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
4987 autom4te.in that resulted in the need for two `make' runs.
4989 2002-10-27 Akim Demaille <akim@epita.fr>
4991 * configure.ac: Bump to 2.54b.
4993 2002-10-25 Akim Demaille <akim@epita.fr>
4997 * Makefile.maint: Update from the Coreutils.
4998 (AMTAR): Remove, obsolete.
4999 (automake_repo): Update to redhat.com.
5001 Adjust to the fact that ansi2knr is now hosted by Automake.
5002 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
5003 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
5004 Update from masters.
5005 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
5006 autoscan.pre is not to be installed, and autoscan.list is not to
5008 (CLEANFILES): Add autoscan.list.
5009 (autoscan.list): Disable the cache.
5010 * bin/Makefile.am: Include freeze.mk.
5012 2002-10-25 Akim Demaille <akim@epita.fr>
5014 * bin/autom4te.in (&load_configuration): Take the file as
5016 (&parse_args): Handle -C, --cache.
5018 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
5019 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
5020 * doc/autoconf.texi (Invoking autom4te): Document --cache.
5021 Now a subsection of...
5022 (Using autom4te): This new section.
5023 (Customizing autom4te): New.
5024 (autom4te.cache): Adjust.
5026 2002-10-25 Akim Demaille <akim@epita.fr>
5028 * doc/autoconf.texi (Generic Headers): More information on how to
5029 use AC_CHECK_HEADERS.
5031 2002-10-25 Akim Demaille <akim@epita.fr>
5033 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
5036 2002-10-25 Akim Demaille <akim@epita.fr>
5038 * bin/autoscan.in (output): Output AC_PREREQ.
5039 (%needed_macros): Add AC_PREREQ so that configure.ac without one
5042 2002-10-23 Akim Demaille <akim@epita.fr>
5044 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
5047 2002-10-23 Akim Demaille <akim@epita.fr>
5049 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
5050 Reported by Peter Eisentraut.
5052 2002-10-23 Akim Demaille <akim@epita.fr>
5054 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
5057 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
5058 Eggert's recommandations.
5060 2002-10-22 Akim Demaille <akim@epita.fr>
5062 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
5063 Bison, by Paul Eggert.
5064 * doc/autoconf.texi (Particular Headers): Document it.
5066 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
5068 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
5069 `$ac_configure_args'.
5071 2002-10-22 Akim Demaille <akim@epita.fr>
5073 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
5074 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
5077 2002-10-22 Akim Demaille <akim@epita.fr>
5079 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
5081 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5082 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
5083 (_AC_CHECK_HEADER_NEW): Rename as...
5084 (AC_CHECK_HEADER): this.
5086 2002-10-22 Akim Demaille <akim@epita.fr>
5088 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
5089 words about HP-UX cmp: it was actually a user-written cmp.
5091 2002-10-22 Akim Demaille <akim@epita.fr>
5093 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
5095 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5096 Quote for Perl '' strings, not "".
5097 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
5100 2002-10-22 Akim Demaille <akim@epita.fr>
5102 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
5103 characters is a syntax warning now.
5104 (_AS_QUOTE): Accept $2 as list of characters to quote.
5105 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
5106 Quote for Perl, not sh.
5107 * bin/autoheader.in: When $debug, report the file which is
5109 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
5110 `@', to tickle Perl's lists.
5111 Reported by Carlos Velasco.
5113 2002-10-18 Akim Demaille <akim@epita.fr>
5115 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
5116 missing included files _are_ errors.
5117 Thanks to Alexandre Duret-Lutz.
5118 * tests/tools.at (autom4te cache): Adjust.
5119 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
5120 (AT_CHECK_M4SUGAR): Use it.
5121 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5123 * tests/tools.at (autom4te): Now it does exit 1.
5125 2002-10-17 Akim Demaille <akim@epita.fr>
5127 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
5128 Fixes the `AC_ARG_VAR' test failures.
5129 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
5130 * lib/freeze.mk (check-forbidden-patterns): New.
5131 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
5132 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
5133 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
5135 Reported months ago by H. Merijn Brand.
5137 2002-10-17 Akim Demaille <akim@epita.fr>
5139 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
5141 2002-10-16 Paul Eggert <eggert@twinsun.com>
5143 * Makefile.maint (wget_files): Remove ansi2knr.c.
5144 (ansi2knr.c-url_prefix): Remove.
5146 2002-10-16 Akim Demaille <akim@epita.fr>
5148 Because of caching, some files that no longer exist and are no
5149 longer required can still cause errors.
5150 Reported by Alexandre Duret-Lutz.
5152 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
5153 to frozen files in @ARGV, as @ARGV must remain being a list of
5154 files. Rather, at M4 call sites, use this...
5155 (&files_to_options): New function.
5156 (&freeze): Use &error.
5157 (&up_to_date): If a file that was included according to the cache
5158 is no longer there, then the output is out dated.
5159 (&main): Don't even check whether a file is up to date is anyway
5161 * tests/tools.at (autom4te cache): New.
5163 2002-10-16 Akim Demaille <akim@epita.fr>
5165 * bin/autoconf.as: Kill dead options.
5166 * bin/autoupdate.in (&parse_args): Kill old options.
5167 * bin/autoreconf.in (&parse_args): Remove dead options.
5169 (&autoreconf): Report the directories we enter *and leave*, so
5170 that error messages can be easily located, and use GNU Make
5171 format, so that Emacs' compile mode understands us.
5172 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
5173 if some file was changed instead of `print'.
5174 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
5175 (&parse_args): Remove the dead options.
5176 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
5177 autoheader's quiet mode.
5178 (AT_CHECK_AUTOUPDATE): Likewise.
5179 * tests/tools.at (autoupdate): Adjust.
5180 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5182 2002-10-11 Akim Demaille <akim@epita.fr>
5184 No longer use CPP to check for the existing of headers: use CC to
5185 check for compilability.
5187 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
5188 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
5189 (_AC_CHECK_HEADER_NEW): Rename as...
5190 (AC_CHECK_HEADER): this.
5192 * lib/autotest/general.m4 (AT_INIT): Include the failed test
5193 numbers in the Subject suggestion.
5195 2002-10-11 Akim Demaille <akim@epita.fr>
5197 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
5198 Suggest using AC_CHECK_DECLS instead.
5200 2002-10-11 Akim Demaille <akim@epita.fr>
5202 * tests/torture.at (AC_ARG_VAR): Have configure report the value
5205 2002-10-11 Akim Demaille <akim@epita.fr>
5207 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
5208 file name to enable parallel executions.
5209 From Sam Varshavchik.
5211 2002-10-08 Akim Demaille <akim@epita.fr>
5213 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
5214 aclocal invocation, as Gettext macros might not be visible to
5216 Instead of blindly running autopoint, scan configure.ac (not the
5217 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
5218 Reported by Paul D. Smith.
5220 2002-10-08 Paul Eggert <eggert@twinsun.com>
5222 Work around problems found when POSIXLY_CORRECT=1 is set.
5223 None of this seems to have anything to do with POSIX, really,
5224 but it's how Perl getopt works.
5225 * bin/autom4te.in (parse_args): Configure GetOpt with
5227 * doc/autoconf.texi (Invoking autom4te):
5228 --warning -> --warnings.
5229 * lib/autom4te.in: --warning -> --warnings.
5231 2002-09-28 Akim Demaille <akim@epita.fr>
5233 * doc/autoconf.texi (autom4te.cache): New section.
5235 2002-09-28 Akim Demaille <akim@epita.fr>
5237 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
5238 (Automake-preselections): Update.
5239 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
5241 2002-09-28 Akim Demaille <akim@epita.fr>
5243 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
5244 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
5245 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
5246 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
5248 2002-09-28 Akim Demaille <akim@epita.fr>
5250 * tests/torture.at (Configuring subdirectories): Be robust to
5251 users who use config.site to require for a cache: in this case,
5252 the two last configure runs, using two different sets of
5253 arguments, trigger a legitimate error.
5255 2002-09-28 Akim Demaille <akim@epita.fr>
5257 * tests/m4sh.at (Functions Support, Functions and return Support):
5260 2002-09-28 Akim Demaille <akim@epita.fr>
5262 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
5263 autoheader are Perl programs.
5264 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
5265 (autom4te): Specify that the sources are in the $srcdir.
5266 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5268 2002-09-28 Akim Demaille <akim@epita.fr>
5270 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
5271 (tm_zone): Move their rules to...
5272 * lib/autoconf/types.m4: here, using AN_ macros.
5273 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
5274 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
5275 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
5276 * lib/autoconf/programs.m4: here.
5277 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
5278 (ETAGS_FOR_AUTOCONF): New.
5281 2002-09-28 Akim Demaille <akim@epita.fr>
5283 * lib/autoconf/autoscan.m4: New file.
5284 * lib/autoconf/autoconf.m4: Include it.
5285 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
5286 that were listed in the original autoscan.list.
5287 * lib/autoconf/headers.m4: Similarly with headers.
5288 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
5289 (.m4.m4f): Don't pass --prepend-include, since that's done by
5290 tests/autom4te itself.
5291 * lib/autoscan/Makefile.am: Include freeze.mk.
5292 (autoscan.list): New target --this file is no longer a source.
5293 (autoscan.pre): New file.
5295 2002-09-28 Akim Demaille <akim@epita.fr>
5297 * bin/autoscan.in (@kinds): Make them singular.
5299 (&init_tables): When --debug, report the list of rules to ease
5300 tracking changes in autoscan.list.
5301 * lib/autoscan/autoscan.list (function): Strip comments, sort.
5303 2002-09-28 Akim Demaille <akim@epita.fr>
5305 * lib/autoscan/functions, lib/autoscan/headers,
5306 * lib/autoscan/identifiers, lib/autoscan/makevars,
5307 * lib/autoscan/programs: Merge into...
5308 * lib/autoscan/autoscan.list: this.
5309 * bin/autoscan.in (&init_tables): Adjust.
5311 2002-09-28 Akim Demaille <akim@epita.fr>
5313 * lib/autoscan/functions, lib/autoscan/headers,
5314 * lib/autoscan/identifiers, lib/autoscan/makevars,
5315 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
5316 `functions' line is now prefixed with `function:'.
5317 * bin/autoscan.in (&init_tables): Adjust.
5319 2002-09-28 Akim Demaille <akim@epita.fr>
5321 From now on, autoscan files must always map a macro name to a
5322 word: there is no `default' macro for autoscan.
5324 * bin/autoscan.in (&init_tables): Reject entries with no macro at
5326 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
5329 2002-09-28 Akim Demaille <akim@epita.fr>
5331 * bin/autoscan.in (%c_keywords): Remove.
5332 (&used): Keep only track of the words we might be interested in.
5333 (&output_kind): It is no longer needed to look for non active
5336 2002-09-27 Akim Demaille <akim@epita.fr>
5338 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
5339 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
5340 * lib/autoscan/functions: Adjust.
5341 * doc/autoconf.texi (Particular Functions): Adjust.
5343 2002-09-27 Akim Demaille <akim@epita.fr>
5345 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
5347 Thanks to Bill Moseley and Paul Eggert.
5348 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
5349 the tmpdir must be created.
5350 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
5351 dir be in the build tree, instead of $TMPDIR.
5353 2002-09-27 Akim Demaille <akim@epita.fr>
5355 * bin/autoscan.in: Improve the comments.
5356 (&parse_args): Drop obsolete undocumented options.
5357 (&output_kind): Output warnings.
5358 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
5359 (getwd): Trigger a warning.
5361 2002-09-26 Akim Demaille <akim@epita.fr>
5363 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
5364 Reported by Ralf Corsepius.
5365 * doc/autoconf.texi (autoreconf Invocation): Likewise.
5367 2002-09-26 Akim Demaille <akim@epita.fr>
5369 Single suffix rules and seperated dependencies are not portable.
5371 * doc/autoconf.texi (Installation Directory Variables): Update.
5372 (Limitations of Make): Some about `Single Suffix Rules and
5373 Separated Dependencies'.
5374 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5375 (ifnames, autoscan, autom4te): Un-factor into several rules.
5377 2002-09-25 Paul Eggert <eggert@twinsun.com>
5379 * BUGS (Interoperability bugs): New section. Mention libtool
5380 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
5382 2002-09-24 Paul Eggert <eggert@twinsun.com>
5384 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
5385 make handles suffix-rules differently from GNU make.
5387 * bin/Makefile.am (SUFFIXES, .in): Remove.
5388 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
5389 Move the body of the old .in rule here.
5391 2002-09-16 Akim Demaille <akim@epita.fr>
5393 i960 compilers create `b.out' files by default.
5394 Reported by Ralf Corsepius.
5396 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
5397 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
5399 2002-09-13 Paul Eggert <eggert@twinsun.com>
5401 * doc/autoconf.texi (Particular Headers): Remove obsolete
5402 reference to `struct timezone' in the description of
5405 2002-09-13 Akim Demaille <akim@epita.fr>
5409 * config/config.sub, config/config.guess: Update.
5410 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
5411 * Makefile.am: Adjust.
5413 2002-09-13 Akim Demaille <akim@epita.fr>
5415 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
5416 reading config.log when the compiler is rejected.
5417 Suggested by Guido Draheim.
5419 2002-09-13 Akim Demaille <akim@epita.fr>
5421 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
5422 (chdir_init) might hang when stat'ing mounted directories.
5423 Reported by Vance Shipley.
5425 2002-09-12 Akim Demaille <akim@epita.fr>
5427 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
5430 2002-09-12 Akim Demaille <akim@epita.fr>
5432 * doc/autoconf.texi (Defining Symbols): Present two different
5433 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
5434 difference between 1 argument calls, and 2-3 argument calls.
5436 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
5438 * doc/autoconf.texi: Review grammar and punctuation.
5440 2002-09-11 Paul Eggert <eggert@twinsun.com>
5442 * doc/autoconf.texi: Fix minor formatting, spelling, and
5444 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
5445 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
5448 2002-09-11 Akim Demaille <akim@epita.fr>
5450 * doc/autoconf.texi (Questions): Rename as...
5452 (Defining Directories): New.
5454 2002-09-09 Akim Demaille <akim@epita.fr>
5456 * doc/autoconf.texi (Making testsuite Scripts): Update.
5457 Suggested by Nishio Futoshi.
5459 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
5461 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
5462 plain `@' is wanted.
5464 2002-09-09 Akim Demaille <akim@epita.fr>
5466 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
5467 `duplicates', since the algorithm was too naive and could keep
5468 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
5469 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
5470 Reported by Ralf Corsepius.
5471 * tests/torture.at (Configuring subdirectories): Exercise these
5474 2002-09-09 Akim Demaille <akim@epita.fr>
5476 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
5477 looking for a replacement file.
5478 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
5479 directory is relative.
5480 * doc/autoconf.texi (Generic Functions): Clarify the replacement
5481 directory definition.
5482 Reported by Andreas Schwab and Jim Meyering.
5484 2002-09-06 Akim Demaille <akim@epita.fr>
5486 * doc/autoconf.texi (Setting Output Variables): Clarify what
5487 precious variables are.
5488 Suggested by Pontus Skoeld.
5490 2002-09-05 Akim Demaille <akim@epita.fr>
5492 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
5493 (ifnames, autoscan, autom4te): Since we don't only depend on
5494 configure.ac variables (such as VERSION etc.), but also on prefix
5495 and so forth, depend on Makefile, not configure.ac.
5496 Reported by Alexandre Duret-Lutz.
5497 * doc/autoconf.texi (Installation Directory Variables): Adjust.
5499 2002-09-05 Kevin Ryde <user42@zip.com.au>
5501 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
5502 doesn't seem to be confined to ia64, just say "some versions".
5504 2002-09-04 Akim Demaille <akim@epita.fr>
5506 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
5508 * Makefile.am (maintainer-clean-local): Remove.
5509 (MAINTAINERCLEANFILES): Remove COPYING.
5511 2002-09-03 Paul Eggert <eggert@twinsun.com>
5513 * doc/autoconf.texi (Configuration Commands): Remove obsolete
5514 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
5517 2002-09-03 Akim Demaille <akim@epita.fr>
5519 * configure.ac: Bump to 2.53d.
5520 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
5521 as of today, on Automake's team suggestion.
5523 2002-09-03 Akim Demaille <akim@epita.fr>
5527 2002-09-02 Akim Demaille <akim@epita.fr>
5529 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
5531 * configure.ac: Disable SITE_MACRO_DIR.
5533 2002-09-02 Jim Meyering <meyering@lucent.com>
5535 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
5536 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
5537 Also, tweak grammar: s/make sure to/be sure to/.
5539 2002-09-02 Paul Eggert <eggert@twinsun.com>
5541 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
5542 directory names are generally preferable to physical names.
5544 2002-09-02 Akim Demaille <akim@epita.fr>
5546 * lib/Autom4te/General.pm (&update_file): s/die/error/.
5547 Reported by Raja R. Harinath.
5548 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
5549 * bin/autoupdate.in: Use error instead of die.
5551 2002-09-01 Paul Eggert <eggert@twinsun.com>
5553 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
5554 ordinary shell concatenation rather than echo+tr+sed command that
5555 runs afoul of a long-line-related sed bug in Solaris 8.
5557 * bin/autoheader.in (parse_args): --warning -> --warnings.
5559 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
5560 stdout, as traditional "ls" does.
5561 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
5562 _AC_COMPILER_EXEEXT_O): Likewise.
5563 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
5565 * bin/autoconf.as: Add --prepend-include option. This patch was
5566 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
5567 but bin/autoconf.in is generated automatically from bin/autoconf.as.
5569 * bin/autoconf.in, configure: Regenerate.
5571 * doc/autoconf.texi (Special Shell Variables): Mention
5572 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
5574 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
5575 MAILPATH and set PS1, PS2, PS4 to default values, to work
5576 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
5577 For LC_ALL etc, first try to set to "C" as POSIX requires and as
5578 the Autoconf documentation specifies; fall back to "unset" only if
5579 this fails. Use a shell for-loop for this rather than an m4 loop,
5580 to shorten the output script.
5582 2002-08-30 Paul Eggert <eggert@twinsun.com>
5584 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
5585 1003.1-2001's requirements for CDPATH. Give a simpler workaround
5586 for the CDPATH problem. Document PWD.
5587 (Limitations of Builtins): Document the problem that "cd $foo" and
5588 "ls $foo" may refer to different directories in shells conforming
5589 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
5590 example, since the old example is now out of date.
5592 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
5593 FOO" and "ls FOO" talk about different directories; this catches
5594 problems when POSIX 1003.1-2001 "cd" fails due to symlink
5597 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
5598 of rolling our own unset.
5599 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
5600 in practice we needn't worry about CDPATH if unset doesn't work.
5602 * Makefile.in, aclocal.m4, bin/Makefile.in,
5603 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
5604 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
5605 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
5606 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
5607 tests/Makefile.in: Regenerate with Automake 1.6.3.
5609 * config/config.guess, config/config.sub, config/mkinstalldirs:
5612 * configure: Regenerate with self.
5614 2002-08-30 Kevin Ryde <user42@zip.com.au>
5616 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
5619 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5621 * bin/autom4te.in (Request::load): Correctly test for "do" read
5624 2002-08-29 Akim Demaille <akim@epita.fr>
5626 * lib/Autom4te/General.pm (&xqx): New.
5627 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
5628 hand, which is not portable.
5630 * bin/autom4te.in: Use them.
5631 Use &error instead of die.
5632 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
5635 2002-08-17 Paul Eggert <eggert@twinsun.com>
5637 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
5638 default list of compilers to try, since it was long ago superseded
5639 by the ksh fc builtin. Suggested by Steven G. Johnson.
5641 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
5643 * doc/autoconf.texi (Invoking autom4te): End the option table,
5644 fixing a bug introduced by the previous patch.
5645 (Limitations of Make): Add a 'target lookup' subentry in the
5646 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
5648 2002-07-29 Mark D. Roth <roth@feep.net>
5650 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
5651 options and use $AUTOM4TE_PATH.
5652 * doc/autoconf.texi: Remove documentation of autom4te
5653 --include-envvar and --site-macro-subdir options and document
5654 use of $AUTOM4TE_PATH.
5655 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
5656 arguments from each language section.
5658 2002-07-29 Paul Eggert <eggert@twinsun.com>
5660 * doc/install.texi: Include copyright symbol in copyright notice.
5662 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
5664 (AM_MAKEINFOFLAGS): New macro.
5665 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
5666 * Makefile.am (INSTALL): Use the new macros.
5667 Use -o rather than --output, since "missing" does not grok --output.
5669 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
5671 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
5672 comments do not always work. Never trust the exit status of
5675 2002-07-24 Kevin Ryde <user42@zip.com.au>
5677 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
5678 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
5680 2002-07-23 Paul Eggert <eggert@twinsun.com>
5682 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
5683 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
5684 apparently treats PATH="nonexistent" as if it contained ".".
5685 Bug reported by Stefan `Sec' Zehl.
5687 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
5689 * doc/autoconf.texi (Limitations of Make): Mention the special
5690 handling of the obj/ directory by BSD make.
5692 2002-07-20 Kevin Ryde <user42@zip.com.au>
5694 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
5697 2002-07-19 Akim Demaille <akim@epita.fr>
5699 * doc/autoconf.texi (Function Portability): `exit'.
5700 (Programming in M4sh): Ethymology of M4sh.
5702 2002-07-19 Akim Demaille <akim@epita.fr>
5704 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
5706 2002-07-18 Akim Demaille <akim@epita.fr>
5710 2002-07-18 Akim Demaille <akim@epita.fr>
5712 * config/config.guess, config/config.sub: Update.
5714 2002-07-18 Akim Demaille <akim@epita.fr>
5716 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
5719 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
5720 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
5721 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
5723 2002-07-18 Akim Demaille <akim@epita.fr>,
5724 Alexandre Duret-Lutz <duret_g@epita.fr>
5726 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
5727 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
5729 2002-07-17 Russ Allbery <rra@stanford.edu>
5731 * doc/autoconf.texi (Initializing configure): Clarify the
5732 description of the tarname default.
5734 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
5736 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
5737 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
5740 2002-07-17 Akim Demaille <akim@epita.fr>
5742 * lib/Autom4te/General.pm (find_file): Browse the directories in
5743 the order they are given.
5745 2002-07-17 Akim Demaille <akim@epita.fr>
5747 * tests/wrapsh.as, tests/wrappl.as: Merge into...
5748 * tests/wrapper.as: this.
5749 * tests/Makefile.am, configure.ac: Adjust.
5751 2002-07-17 Mark D. Roth <roth@feep.net>
5753 * configure.ac: Add --enable-site-macro-dir option.
5754 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
5755 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
5756 --site-macro-subdir options.
5757 * bin/autoconf.in: Add --prepend-include option.
5758 * bin/autoheader.in: Add --prepend-include option.
5759 * bin/autoreconf.in: Add --prepend-include option.
5760 * bin/autoscan.in: Add --prepend-include option.
5761 * bin/autoupdate.in: Add --prepend-include option.
5762 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
5763 macro directory, remove note that include path directories are
5764 used in reverse order, and document --prepend-include option.
5765 * lib/autom4te.in: Use --prepend-include instead of --include.
5766 * tests/wrapsh.in: Use --prepend-include instead of --include.
5768 2002-07-17 Akim Demaille <akim@epita.fr>
5770 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
5772 * doc/autoconf.texi (Initializing configure): Adjust.
5774 2002-07-17 Akim Demaille <akim@epita.fr>
5776 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
5777 (_AC_FUNC_MALLOC): New.
5778 (AC_FUNC_MALLOC): Use the latter.
5779 Define HAVE_MALLOC to 0 if broken.
5780 * doc/autoconf.texi (Particular Functions): Adjust.
5782 2002-07-16 Akim Demaille <akim@epita.fr>
5784 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
5785 * doc/autoconf.texi (C Compiler): Adjust.
5787 2002-07-09 Akim Demaille <akim@epita.fr>
5789 * doc/autoconf.texi: Properly set the ``header'' part.
5791 2002-07-09 Akim Demaille <akim@epita.fr>
5793 * doc/autoconf.texi (Systemology): Some about Darwin.
5795 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
5797 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
5798 Don't use AC_REQUIRE in AU_DEFUN.
5800 2002-07-09 Art Haas <ahaas@neosoft.com>
5802 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
5804 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
5806 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
5807 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
5808 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
5809 so that Emacs setups GNU style for perl-mode and cperl-mode.
5811 2002-06-27 Paul Eggert <eggert@twinsun.com>
5813 * config/install-sh: Quote $src. Prefer || to test's -o option,
5814 as per "Limitations of Builtins".
5815 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
5816 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
5818 * tests/mktests.sh: Use grep instead of fgrep, as per
5819 "Limitations of Builtins".
5821 2002-06-15 Paul Eggert <eggert@twinsun.com>
5823 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
5824 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
5825 so that we consistently test the just-built programs.
5826 * tests/wrappl.as: Likewise.
5828 2002-06-12 Paul Eggert <eggert@twinsun.com>
5830 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
5831 name, so that symlinks to 'autoconf' work properly. Bug reported
5833 * bin/autoheader.in (AUTOM4TE): Likewise.
5834 * bin/autoreconf.in (autoconf, autoheader): Likewise.
5835 * bin/autoscan.in (autom4te): Likewise.
5836 * bin/autoupdate.in (autom4te): Likewise.
5838 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
5839 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
5842 2002-06-11 Andreas Schwab <schwab@suse.de>
5844 * doc/autoconf.texi: Add more dir entries.
5846 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
5848 * bin/autom4te.in ($cache): Don't define using `$me', the name
5849 of the cache should not depend on the name under which autom4te
5852 2002-06-07 Akim Demaille <akim@epita.fr>
5854 * tests/tools.at (autoconf: forbidden tokens, basic)
5855 (autoconf: forbidden tokens, exceptions): Adjust to the change of
5856 words in autom4te.in.
5858 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
5860 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
5861 _AC_LANG_PROGRAM_C_F77_HOOKS.
5863 2002-06-07 Akim Demaille <akim@epita.fr>
5865 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
5867 (AC_REPLACE_FNMATCH): this.
5868 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
5869 AC_FUNC_FNMATCH_GNU.
5871 2002-06-07 Akim Demaille <akim@epita.fr>
5873 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
5874 Rosetta Stone for Unix.
5876 2002-06-07 Akim Demaille <akim@epita.fr>
5878 * bin/autom4te.in (warn_forbidden): When rejecting a token,
5879 suggest m4_pattern_allow.
5880 Suggested by Adam J. Richter.
5882 2002-06-07 Akim Demaille <akim@epita.fr>
5884 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
5885 ac_config_libobj_dir.
5886 (AC_CONFIG_LIBOBJ_DIR): New.
5887 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
5888 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
5889 Use ac_config_libobj_dir to find the replacement files.
5890 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
5891 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
5892 (AC_REPLACE_FNMATCH_GNU): these.
5893 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
5894 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
5895 * tests/mktests.sh (ac_exclude_list): Don't check
5896 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
5898 2002-06-06 Paul Eggert <eggert@twinsun.com>
5900 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
5903 * doc/autoconf.texi (Configuration Links): Likewise.
5904 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
5906 2002-06-05 Paul Eggert <eggert@twinsun.com>
5908 * config/config.guess, config/config.sub, config/texinfo.tex:
5909 Update from masters.
5911 2002-05-29 Paul Eggert <eggert@twinsun.com>
5913 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
5914 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
5915 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
5917 * lib/autoconf/Makefile.am (check-local): Likewise.
5918 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
5919 * lib/autoconf/types.m4 (commentary only): Likewise.
5920 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
5921 * lib/autotest/Makefile.am (check-local): Likewise.
5922 * lib/m4sugar/Makefile.am (check-local): Likewise.
5923 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
5924 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
5926 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
5927 * doc/autoconf.texi (Particular Programs): Document them.
5928 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
5931 2002-05-27 Paul Eggert <eggert@twinsun.com>
5933 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
5934 * NEWS, doc/autoconf.texi (Particular Types): Document it.
5935 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
5936 instead of AC_MBSTATE_T, which never existed.
5938 2002-05-23 Akim Demaille <akim@epita.fr>
5940 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
5941 version of Autoconf that is discussed.
5943 2002-05-22 Paul Eggert <eggert@twinsun.com>
5945 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
5946 from the default list of compilers to try. Suggested by
5948 * NEWS: Document the above.
5949 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
5951 2002-05-17 Paul Eggert <eggert@twinsun.com>
5953 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
5954 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
5955 This improves on an earlier suggestion by H. Peter Anvin.
5957 2002-05-16 Paul Eggert <eggert@twinsun.com>
5959 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
5960 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
5961 Both macros now accept an optional source-dir arg.
5962 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
5964 * NEWS: Document this.
5965 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
5967 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
5968 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
5969 not for GNU extensions; this undoes part of the 2000-11-03 change,
5970 reverting to 2.13-compatible behavior.
5971 Add new optional argument DIR.
5972 (AC_FUNC_FNMATCH_GNU): New macro.
5974 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
5976 2002-05-08 Paul Eggert <eggert@twinsun.com>
5978 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
5979 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
5980 and it causes a 'test' syntax error if it fails.
5981 Bug reported by Stephen Gildea.
5983 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
5984 If prototypes are supported, use them to check this at compile-time,
5985 instead of trying to check it at run-time. If we must do a run-time
5986 check, assume that setvbuf is standard when cross-compiling, as
5987 nonstandard setvbuf occurs only on ancient and unlikely hosts.
5988 Bug reported by Paul D. Smith.
5990 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
5991 argument specifying location of getloadavg.c. This removes a
5992 FIXME. This idea was taken from Jim Meyering's implementation in
5994 * doc/autoconf.texi (Particular Functions): Document this.
5995 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
5996 that's what the code does; this fixes a bug reported by
5999 2002-05-03 Akim Demaille <akim@epita.fr>
6001 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
6002 autopoint instead of gettextize.
6003 ($uses_alocal): Rename as...
6004 ($uses_aclocal): this.
6005 * doc/autoconf.texi (autoreconf Invocation): Adjust.
6006 Suggested by Bruno Haible.
6008 2002-05-03 Akim Demaille <akim@epita.fr>
6010 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
6012 2002-04-29 Paul Eggert <eggert@twinsun.com>
6014 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
6015 files to be 1 second older; just set them to be the same time.
6016 Also, sleep 1 second after the first aclocal, to work around
6017 problems with sub-second time stamps on the input files.
6019 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
6021 * doc/autoconf.texi: Mention "set -e -x" lossage
6022 under node "Limitations of Builtins".
6024 2002-04-29 Akim Demaille <akim@epita.fr>
6026 * doc/install.texi: Better wording for setting variables when
6028 From Christian Cornelssen.
6030 2002-04-29 Akim Demaille <akim@epita.fr>
6032 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
6033 of lack of $LINENO support, then the test will compare the $LINENO
6034 in testsuite vs. the lineno in the test file. This is wrong, of
6036 Be sure to protect it.
6037 Reported by Patrick Welche.
6039 2002-04-25 Akim Demaille <akim@epita.fr>
6041 * doc/autoconf.texi (Obsolete Macros): Typo.
6042 Reported by Vladimir Volovich.
6044 2002-04-25 Akim Demaille <akim@epita.fr>
6046 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
6047 than some of the input files, hence, on the second run of aclocal,
6048 if some of its input are younger, make them older.
6049 Suggested by Paul Eggert.
6051 2002-04-25 Akim Demaille <akim@epita.fr>
6053 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
6054 Thanks to Paul Eggert.
6056 2002-04-25 Akim Demaille <akim@epita.fr>
6058 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
6059 and ac_subst_vars be sh variables containing the list of
6060 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
6062 (_AC_INIT_PREPARE): Use them to log them.
6063 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
6064 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
6065 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
6066 _AC_SUBST_FILES and _AC_SUBST_VARS.
6067 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
6069 2002-04-24 Akim Demaille <akim@epita.fr>
6071 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
6072 autoheader, so that automake does not complain about a missing
6073 config.h.in that was to be created.
6075 2002-04-23 Akim Demaille <akim@epita.fr>
6077 * bin/autoheader.in (parse_args): --warning takes an argument.
6080 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
6082 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
6083 and bb.out when cleaning up.
6085 2002-04-22 Akim Demaille <akim@epita.fr>
6089 2002-04-22 Akim Demaille <akim@epita.fr>
6091 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
6093 2002-04-22 Akim Demaille <akim@epita.fr>
6095 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
6097 Reported by Gregory Giannoni.
6099 2002-04-22 Akim Demaille <akim@epita.fr>
6101 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
6102 Fixes false failures on Darwin.
6104 2002-04-21 Paul Eggert <eggert@twinsun.com>
6106 * TODO, bin/autoupdate.in, doc/autoconf.texi,
6107 lib/autoconf/general.m4, lib/autoconf/libs.m4,
6108 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
6109 tests/tools.at: Minor spelling and grammar fixes.
6111 2002-04-20 Paul Eggert <eggert@twinsun.com>
6113 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
6114 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
6115 * lib/autotest/general.m4 (AT_INIT): Likewise.
6116 * tests/atgeneral.m4 (AT_INIT): Likewise.
6118 2002-04-19 Paul Eggert <eggert@twinsun.com>
6120 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
6121 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
6122 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
6123 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6124 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
6125 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
6126 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
6127 Minor spelling and grammar fixes.
6129 * doc/autoconf.texi: Follow the outline suggested in the GNU
6130 Sample Texts sections of the Texinfo 4.2 manual. Most
6131 importantly, this makes sure that the copyright notices appear in
6132 all output formats. You probably need Texinfo 4.2 to generate
6135 Fix some bugs when using "$@" when there might be zero positional
6136 arguments in cases where this matters.
6138 * bin/autoconf.as: Rewrite so that the problem does not come up.
6139 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
6140 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
6141 * lib/autotest/general.m4 (AT_INIT): Likewise.
6143 * bin/autoheader.in: Use 'case' statement to work around problem.
6144 * bin/auto4mte.in: Likewise.
6145 * bin/autoreconf.in: Likewise.
6146 * bin/autoscan.in: Likewise.
6147 * bin/autoupdate.in: Likewise.
6148 * bin/ifnames.in: Likewise.
6150 * doc/autoconf.texi (Shell Substitutions): Document the problem.
6152 * lib/autotest/general.m4 (AT_INIT):
6153 Use Zsh alias to work around problem.
6154 * tests/atgeneral.m4 (AT_INIT): Likewise.
6156 * tests/c.at: We can't have zero arguments, so remove workaround
6157 that is not portable to Zsh.
6159 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
6161 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
6162 from aclocal.m4 too.
6164 2002-04-12 Akim Demaille <akim@epita.fr>
6166 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
6168 2002-04-10 Akim Demaille <akim@epita.fr>
6170 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
6171 workaround for ${1+"$@"}.
6172 * doc/autoconf.texi (Shell Substitutions): Explain it.
6173 From Oliver Kiddle and Peter Stephenson.
6175 Have M4sh perform minimal shell sanitizing.
6177 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
6179 (_AS_PREPARE): this new macro.
6181 (AS_INIT): Invoke AS_SHELL_SANITIZE.
6182 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
6184 Adjust Autoconf and Autotest.
6186 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
6187 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
6188 * lib/autotest/general.m4 (AT_INIT): Likewise.
6189 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
6190 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
6193 Use this M4sh to generate Autoconf's shell scripts.
6195 * tests/wrapsh.as: New, precursor of wrapsh.in.
6196 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
6197 on Autotest and M4sh.
6198 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
6199 (wrapsh.in): New target.
6200 * bin/autoconf.as: New, precursor of autoconf.in.
6201 (autoconf.in): New target.
6203 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
6205 * doc/autoconf.texi (Limitations of Make): Mention the issue
6206 with indented comments in rules.
6208 2002-04-09 Andreas Schwab <schwab@suse.de>
6210 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
6211 ac_top_builddir when setting ac_abs_top_builddir.
6213 2002-04-06 Kevin Ryde <user42@zip.com.au>
6215 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
6216 (Portable Shell): Cross reference to Systemology.
6218 2002-04-05 Akim Demaille <akim@epita.fr>
6220 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
6221 directories when descending in a SUBDIRS.
6222 Reported by Ezra Peisach.
6224 2002-04-04 Andreas Schwab <schwab@suse.de>
6226 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
6227 contains no literal separators.
6229 2002-04-03 Akim Demaille <akim@epita.fr>
6231 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
6232 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
6233 Use dnl, not the KILL diversion.
6235 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
6236 (AC_CONFIG_LINKS): here.
6238 Don't use the KILL diversion, as it kills spurious output, which
6239 results in failures being hidden.
6240 Use m4_defn where appropriate.
6241 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
6242 after the second argument.
6244 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
6245 syntax, as it is provided by M4sugar.
6246 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
6248 2002-04-03 Andreas Schwab <schwab@suse.de>
6250 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
6251 expanded if $# <= 2.
6253 * bin/autoreconf.in (autoreconf): Run automake after rerunning
6256 2002-04-03 Akim Demaille <akim@epita.fr>
6258 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
6259 (_AC_COMPILER_EXEEXT_REJECT): New.
6260 Also recognize *.bb and *.bbg as compilation byproducts.
6261 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
6262 (_AC_COMPILER_OBJEXT): Use them.
6263 Fixes Debian #138666.
6265 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
6267 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
6269 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
6270 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
6271 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
6272 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
6274 (AC_C_INLINE): Same.
6275 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
6276 * doc/autoconf.texi, NEWS: Document.
6277 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
6280 2002-04-02 Akim Demaille <akim@epita.fr>
6282 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
6283 _AS_MKDIR_P_PREPARE.
6285 2002-03-28 Kevin Ryde <user42@zip.com.au>
6287 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
6288 to avoid versions of HP C which don't allow that.
6290 2002-03-27 Paul Eggert <eggert@twinsun.com>
6292 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
6293 (AS_SHELL_SANITIZE): Invoke it.
6294 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
6296 2002-03-26 Akim Demaille <akim@epita.fr>
6298 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
6300 2002-03-26 Akim Demaille <akim@epita.fr>
6302 * doc/autoconf.texi (Introduction): The GNATS base moved.
6304 2002-03-25 Paul Eggert <eggert@twinsun.com>
6306 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
6307 as POSIX requires, as it doesn't work with Zsh.
6308 * doc/autoconf.texi (Assignments): Document the problem.
6310 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
6312 * doc/autoconf.texi (Limitations of Make): Mention more issue
6313 about VPATH, overriding of macros in sub-makes, and handling of
6316 2002-03-21 Paul Eggert <eggert@twinsun.com>
6318 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
6319 problem with here-document buffer boundaries.
6321 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
6322 when reinvoking the shell, to work around problems with installers
6323 who put strange things like "cd" commands in their environments.
6325 2002-03-19 Akim Demaille <akim@epita.fr>
6327 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
6330 2002-03-19 Akim Demaille <akim@epita.fr>
6332 * bin/autoscan.in (scan_file): Specify the location in `&used'
6336 2002-03-19 Akim Demaille <akim@epita.fr>
6338 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
6339 From Nishio Futoshi.
6341 2002-03-19 Akim Demaille <akim@epita.fr>
6343 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
6345 2002-03-18 Paul Eggert <eggert@twinsun.com>
6347 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
6348 (Limitations of Usual Tools): Add mkdir section.
6350 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
6351 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
6352 back on AS_DIRNAME to compute prefixes otherwise; this is
6353 roughly what mkinstalldirs does. That way, we need not have
6354 our own filename disassembler. The old disassembler did not
6355 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
6357 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
6358 Create at_test_all by a series of assignments,
6359 not by a single assignment of a long string. The latter causes ksh
6360 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
6361 presumably because of a buffer overrun.
6363 2002-03-14 Paul Eggert <eggert@twinsun.com>
6365 * lib/autotest/general.m4 (at_times_skip):
6366 Renamed from at_times. Now a boolean.
6367 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
6368 says 'times: not found'.
6370 2002-03-14 Akim Demaille <akim@epita.fr>
6372 * bin/autoreconf.in (&study_gettextize): New.
6373 (&autoreconf): Handle newest gettextize.
6374 Rerun aclocal if needed.
6375 Suggested by Andreas Schwab.
6377 2002-03-13 Akim Demaille <akim@epita.fr>
6379 * doc/autoconf.texi (Special Shell Variables): More about IFS.
6381 2002-03-13 Akim Demaille <akim@epita.fr>
6383 * doc/autoconf.texi (Header Portability): New.
6384 Add information about stdint.h and inttypes.h from Paul Eggert.
6386 2002-03-13 Akim Demaille <akim@epita.fr>
6388 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
6392 2002-03-12 Akim Demaille <akim@epita.fr>
6394 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
6397 2002-03-11 Andreas Schwab <schwab@suse.de>
6399 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
6400 does not do it if --with-lispdir is given.
6402 2002-03-08 Akim Demaille <akim@epita.fr>
6406 2002-03-08 Akim Demaille <akim@epita.fr>
6408 * doc/autoconf.texi (Subdirectories): Clarify that the
6409 subdirectory should exist.
6411 2002-03-08 Akim Demaille <akim@epita.fr>
6413 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
6415 2002-03-08 Akim Demaille <akim@epita.fr>
6417 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
6418 aliases the actual variables, and modifications of the former
6421 2002-03-08 Akim Demaille <akim@epita.fr>
6423 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
6424 because of C-c: have m4 output in tmp files, then mv them.
6426 2002-03-08 Akim Demaille <akim@epita.fr>
6428 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
6429 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
6430 * bin/ifnames.in: Copyright update.
6432 2002-03-08 Akim Demaille <akim@epita.fr>
6434 * doc/autoconf.texi (Invoking autom4te): New.
6436 2002-03-05 Akim Demaille <akim@epita.fr>
6438 * doc/autoconf.texi (Specifying Names): Clarification suggested by
6441 2002-03-05 Akim Demaille <akim@epita.fr>
6445 2002-03-04 Akim Demaille <akim@epita.fr>
6447 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
6448 * lib/autoconf/general.m4 (AC_INIT): More informative error
6451 2002-03-04 Akim Demaille <akim@epita.fr>
6453 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
6456 2002-03-04 Akim Demaille <akim@epita.fr>
6458 * doc/autoconf.texi (Transforming Names): Equality between target
6459 and host is irrelevant.
6460 (Specifying Names, Canonicalizing): Remove all references to the
6461 backward compatibility hooks. Rather, collect them all into...
6462 (Hosts and Cross-Compilation): this new section.
6463 * doc/install.texi (System Type): Ditto.
6464 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
6465 that `--host' implies cross-compilation.
6467 2002-03-04 Akim Demaille <akim@epita.fr>
6469 * doc/autoconf.texi (Evaluation Macros): New.
6470 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
6472 (_m4_foreach): Define the variant with immediate evaluation so
6473 that it contains exactly the items, not an expression which
6474 evaluation is the current item.
6475 (m4_re_string, m4_re_word): Don't over quote them.
6477 2002-03-04 Akim Demaille <akim@epita.fr>
6479 Instead of having stacking `shift's evaluated at the end, let
6480 `foreach' loops immediately evaluate them.
6482 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
6483 $*. This is the n-th time I change my mind, but hopefully this is
6486 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
6488 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
6489 it was only a hack for m4_text_wrap.
6490 (m4_car2): Remove, replaced by...
6492 (_m4_foreach): Adjust.
6493 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
6494 m4_bpatsubst for clarification.
6496 2002-03-04 Akim Demaille <akim@epita.fr>
6498 * doc/autoconf.texi (Changequote is Evil): New.
6500 2002-03-03 Kevin Ryde <user42@zip.com.au>
6502 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
6503 on old systems like SunOS.
6505 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
6507 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
6508 lib/autoconf/functions.m4, lib/autoconf/general.m4,
6509 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
6510 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
6513 2002-02-28 Akim Demaille <akim@epita.fr>
6515 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
6518 2002-02-28 Kevin Ryde <user42@zip.com.au>
6520 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
6522 2002-02-25 Akim Demaille <akim@epita.fr>
6524 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
6527 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
6529 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
6530 translate \r\n to \n.
6532 2002-02-07 Akim Demaille <akim@epita.fr>
6536 2002-02-07 Akim Demaille <akim@epita.fr>
6538 Fix Autoconf PR/209.
6539 Also reported by Frank Denis.
6541 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
6543 2002-02-07 Akim Demaille <akim@epita.fr>
6545 Fix Autoconf PR/207:
6546 AC_PREFIX_PROGRAM fails with dashed program names
6548 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
6549 variable when looking for the prefix program.
6550 Now it also works for shell variables.
6552 2002-02-07 Akim Demaille <akim@epita.fr>
6554 * doc/autoconf.texi (Limitations of Builtins): More about
6557 2002-02-06 Akim Demaille <akim@epita.fr>
6559 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
6560 case/esac, some shells don't support it.
6561 Reported by Zack Weinberg.
6562 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
6564 2002-02-06 Akim Demaille <akim@epita.fr>
6566 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
6567 sure not to introduce newlines in at_groups.
6568 * lib/autotest/Makefile.am (autotest.m4f): Typo.
6570 2002-02-06 Akim Demaille <akim@epita.fr>
6572 * tests/torture.at (Configuring subdirectories): Skip if aclocal
6575 2002-02-05 Paul Eggert <eggert@twinsun.com>
6577 * doc/autoconf.texi (Specific Compiler Characteristics):
6578 Describe HP-UX cc bug workaround more accurately.
6579 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
6581 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
6582 cross-compilers, too. This undoes some of the most recent change
6585 2002-02-05 Akim Demaille <akim@epita.fr>
6587 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
6588 to make sure they are up to date when `check' is run.
6590 2002-02-05 Akim Demaille <akim@epita.fr>
6592 * doc/autoconf.texi (Making testsuite Scripts): Document
6595 2002-02-05 Akim Demaille <akim@epita.fr>
6597 * lib/freeze.mk: New.
6599 2002-02-05 Akim Demaille <akim@epita.fr>
6601 Implement `autom4te --freeze'.
6603 * bin/autom4te.in (&freeze): New.
6604 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
6605 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
6607 2002-02-05 Akim Demaille <akim@epita.fr>
6609 * bin/autom4te.in (&parse_args): Implement `frozen files are
6610 optional are the sum of the previous files on the command line'.
6611 Also, pass `--reload-state=' on them, so...
6613 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
6614 (M4sh): Rely on M4sugar.
6615 (Autotest, M4sh, M4sugar): Use frozen files.
6617 2002-01-31 Akim Demaille <akim@epita.fr>
6619 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
6620 * doc/autoconf.texi (Initializing configure): Adjust.
6622 2002-01-30 Akim Demaille <akim@epita.fr>
6624 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
6625 alphanumeric to `-' instead of `_'.
6627 2002-01-30 Akim Demaille <akim@epita.fr>
6629 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
6630 for plain code, the other for cross-compilation code. The latter
6631 is now run with GCC only.
6632 * doc/autoconf.texi (Compilers and Preprocessors): New.
6634 2002-01-30 Akim Demaille <akim@epita.fr>
6636 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
6638 * doc/autoconf.texi (Initializing configure): Explain how to
6639 change AC_INIT default values.
6641 2002-01-29 Akim Demaille <akim@epita.fr>
6643 * tests/torture.at (Configuring subdirectories): Use configure.in,
6644 so that aclocal 1.4 works.
6645 Reported by Alexandre Duret-Lutz and Larry Schmitt.
6647 2002-01-28 Akim Demaille <akim@epita.fr>
6649 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
6652 2002-01-28 Akim Demaille <akim@epita.fr>
6654 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
6655 AUTOTEST_PATH *after* it was set.
6656 Don't put `.' in the PATH: the user should be precise and `./' if
6657 needed. In addition, given that the test suite does some `cd', if
6658 `.' is in the path, the `tested programs' sections will report
6659 programs found in the test suite's directory, while during the
6660 tests (performed in their own directory), these programs are no
6661 longer visible. In other words, the results is confusing and
6663 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
6665 2002-01-24 Akim Demaille <akim@epita.fr>
6669 2002-01-24 Akim Demaille <akim@epita.fr>
6671 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
6672 * doc/autoconf.texi: Finally add Akim as an author.
6674 2002-01-24 Akim Demaille <akim@epita.fr>
6676 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
6677 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
6678 Bourne. Use /bin/sh.
6679 From Andreas Buening.
6681 2002-01-24 Akim Demaille <akim@epita.fr>
6683 * config/config.guess, config/config.sub, config/texinfo.tex:
6684 Update from masters.
6686 2002-01-24 Akim Demaille <akim@epita.fr>
6688 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
6689 * config/auxdir.m4, config/cond.m4, config/depend.m4,
6690 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
6691 * config/missing.m4, config/sanity.m4, config/select.m4,
6692 * config/strip.m4: Remove, to ease sync'ing with any version of
6695 2002-01-24 Akim Demaille <akim@epita.fr>
6697 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
6698 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
6699 Reported by Geir Ove Myhr.
6701 2002-01-21 Akim Demaille <akim@epita.fr>
6703 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
6705 2002-01-21 Akim Demaille <akim@epita.fr>
6707 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
6708 message on invalid options.
6709 * bin/autom4te.in (parse_args): Don't use
6710 Autoconf::General::getopt with non valid options.
6712 2002-01-17 Jim Meyering <meyering@lucent.com>
6714 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
6715 $ac_cv_exeext so we don't use an old, invalid, cached value.
6717 2002-01-11 Akim Demaille <akim@epita.fr>
6719 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
6721 * doc/autoconf.texi (Function Portability): Document the strnlen
6723 (Particular Functions): Document AC_FUNC_STRNLEN.
6724 * lib/autoscan/functions: Adjust.
6726 2002-01-06 Akim Demaille <akim@epita.fr>
6728 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
6729 package.m4, since is really depends upon configure.ac, not
6731 * doc/autoconf.texi (testsuite Scripts): Adjust.
6732 * tests/Makefile.am (package.m4): New.
6733 EXTRA_DIST it since its a source.
6735 2002-01-06 Akim Demaille <akim@epita.fr>
6737 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
6738 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
6739 and PACKAGE_BUGREPORT from here...
6740 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
6742 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
6743 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
6744 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
6745 * tests/tools.at (autoheader): Adjust.
6746 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
6748 2002-01-06 Akim Demaille <akim@epita.fr>
6750 * bin/autoscan.in (scan_file): Use `&used'.
6752 2002-01-03 Akim Demaille <akim@epita.fr>
6754 * doc/autoconf.texi (Output): Improved wording regarding use of
6758 2001-12-18 Kevin Ryde <user42@zip.com.au>
6760 * doc/autoconf.texi (Function Portability): Add notes on sscanf
6761 sometimes needing writable input.
6763 2001-12-17 Jim Meyering <meyering@lucent.com>
6765 * doc/autoconf.texi (New Macros): Tweak wording.
6767 2001-12-14 Akim Demaille <akim@epita.fr>
6769 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
6770 trailing files, don't apply `-rf' to files which might not be
6771 created by configure (core, core.*, and *.core), but just `rm -f'.
6772 Suggested by Jonathan Kamens.
6774 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
6776 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
6778 2001-12-14 Akim Demaille <akim@epita.fr>
6780 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
6782 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
6784 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
6785 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
6786 abs_srcdir, top_srcpath to abs_top_srcdir.
6787 (_AC_OUTPUT_FILES): Adjust.
6788 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
6789 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
6790 * tests/wrappl.in, tests/wrapsh.in: Adjust.
6792 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
6794 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
6795 C/Fortran linking on HP/UX, by extracting the Fortran library
6796 search path from the LPATH line in the $F77 -v output.
6798 2001-12-12 Kevin Ryde <user42@zip.com.au>
6800 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
6801 forbidden file descriptors table.
6803 2001-11-26 Akim Demaille <akim@epita.fr>
6805 * bin/autoscan.in (%c_keywords): Build it at top level.
6806 Map to 1 in order to simplify its uses.
6808 2001-11-26 Akim Demaille <akim@epita.fr>
6810 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
6811 Remove $filepath, useless.
6812 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
6813 variables, they are really part of the tokens.
6814 Split the input line on spaces and then look for tokens.
6815 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
6816 because of `lex$U.$(OBJEXT)'.
6817 (&scan_files): Use "@list" instead of join.
6818 * doc/Makefile.am (CLEANFILES): Add *.fns.
6820 2001-11-26 Akim Demaille <akim@epita.fr>
6822 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
6823 Remove, replaced by...
6824 * tests/wrappl.in: Be common for all the Perl executables.
6825 In particular autoscan and autoheader want -I.
6826 * configure.ac: Adjust.
6827 * lib/autoscan/headers: errno.h is portable.
6829 2001-11-26 Akim Demaille <akim@epita.fr>
6831 * bin/autoscan.in (used): New.
6834 2001-11-26 Akim Demaille <akim@epita.fr>
6836 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
6838 (&scan_sh_file): Remove a duplicate pattern.
6839 (&check_configure_ac): Use long options.
6840 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
6842 2001-11-26 Akim Demaille <akim@epita.fr>
6844 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
6845 Before, having a line containing the opening of a multi line
6846 comment made the whole line be ignored.
6848 2001-11-26 Akim Demaille <akim@epita.fr>
6850 * doc/autoconf.texi (Using an Autotest Test Suite): New.
6851 (testsuite Scripts): Be one of its subsection.
6852 (Autotest Logs): New.
6854 2001-11-26 Akim Demaille <akim@epita.fr>
6856 Test groups are now run two directories deeper.
6858 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
6859 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
6861 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
6862 top_srcdir, builddir and top_builddir.
6863 Use `at_*dir' relatively to the directory containing the
6864 suite, use `*dir' when relatively to the current group dir.
6866 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
6868 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
6869 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
6870 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
6873 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
6875 * doc/autoconf.texi (Using System Type): Add an example of `case
6876 $host' usage so people quit using `case $target' everywhere.
6878 2001-11-22 Akim Demaille <akim@epita.fr>
6880 * doc/autoconf.texi (Installation Directory Variables): Englishoes
6881 spotted by Jim Meyering.
6883 2001-11-16 Paul Eggert <eggert@twinsun.com>
6885 This patch implements a `long double' suggestion by Oliver Kiddle.
6887 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
6888 static, to catch errors if the value isn't known at compile-time
6889 and the compiler supports dynamic arrays. Change its name from
6890 `_array_' to `test_array' to avoid potential name clashes.
6891 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
6892 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
6893 better than double. Catch a bug in GCC 2.95.2 x86.
6894 * doc/autoconf.texi (C Compiler): Document the above.
6897 2001-11-13 Akim Demaille <akim@epita.fr>
6899 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
6901 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
6903 2001-11-13 Akim Demaille <akim@epita.fr>
6905 * lib/autotest/general.m4 (AT_INIT): After having run the test
6906 group, go back to the initial directory, not to at_suite_dir.
6908 2001-11-13 Akim Demaille <akim@epita.fr>
6910 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
6911 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
6912 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
6914 (AT_CHECK_CONFIGURE): Use absolute paths.
6915 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
6916 The problem is still the old one: there is no means in M4 (that I
6917 know about) to create a defining macro, because there is no means
6918 to create `$1' etc., therefore, the defining macro ``swallows''
6919 all the arguments meant to the defined macro.
6921 2001-11-13 Akim Demaille <akim@epita.fr>
6923 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
6924 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
6926 * tests/aclocal.m4: Remove, as it is no longer used.
6928 2001-11-13 Akim Demaille <akim@epita.fr>
6930 * lib/autotest/general.m4: Change `tests?' into `groups?' in
6931 variable names when referring to a single test group, or to
6932 `suite' when referring to the whole test suite.
6933 `at_last_test' is removed: m4 compute at_format itself.
6934 (at_stdout, at_stder1, at_stderr): New variables.
6935 (AT_CHECK): Use them.
6937 2001-11-13 Akim Demaille <akim@epita.fr>
6939 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
6941 Create `testsuite.dir/003/run' instead of `testsuite.003'.
6942 Do it as soon as a test fails, don't wait till the end of the test
6944 Don't remove $as_me.[0-9]*, since these files no longer exist.
6946 2001-11-13 Akim Demaille <akim@epita.fr>
6948 * tests/tools.at: Use absolute paths, since we are no longer run
6951 2001-11-13 Akim Demaille <akim@epita.fr>
6953 Now that tests are running in their own private dir, there is no
6954 need to list the files to remove at the end of tests groups.
6956 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
6957 (AT_data_files, at_data_files): Remove.
6958 (AT_CLEANUP, AT_DATA): Simplify.
6960 Remove the group dir if !debug && !failed.
6961 * tests/atspecific.m4: Adjust.
6963 2001-11-13 Akim Demaille <akim@epita.fr>
6965 Start a new layout for Autotest: `testsuite' creates
6966 `testsuite.dir' in which the at-check-line etc. files are to be
6967 found, and `testsuite.dir/003' where the test group 3 is run.
6969 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
6970 at_check_line_file, at_format, at_test_normalized, at_group_dir
6972 Create the directories.
6973 Use absolute paths for at- files.
6976 2001-11-11 Michael Matz <matz@kde.org>
6978 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
6980 (m4_car): Properly quote arguments.
6982 2001-11-13 Akim Demaille <akim@epita.fr>
6984 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
6985 with stricter rules on LIBOBJS.
6987 2001-11-12 Paul Eggert <eggert@twinsun.com>
6989 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
6990 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
6993 2001-11-12 Akim Demaille <akim@epita.fr>
6995 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
6997 2001-11-12 Akim Demaille <akim@epita.fr>
6999 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
7000 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
7001 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
7002 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
7003 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
7004 specify to what the macro should be defined (typically to 1).
7006 2001-11-12 Akim Demaille <akim@epita.fr>
7008 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
7011 2001-11-12 Akim Demaille <akim@epita.fr>
7013 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
7014 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
7015 definition used by Automake where LEX is +/- "${missing} lex" and
7016 `missing' itself contains variables.
7018 2001-11-12 Akim Demaille <akim@epita.fr>
7020 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
7021 Now that M4sh pushes BODY, the comments were output at the end of
7024 2001-11-08 Akim Demaille <akim@epita.fr>
7026 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
7027 that we can trace macros from aclocal.m4.
7028 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
7029 obsoleted, and redirect to the former anyway.
7030 Reported by Ralf Corsepius.
7032 2001-11-08 Akim Demaille <akim@epita.fr>
7034 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
7035 processed only if present.
7036 * tests/torture.at (Configuring subdirectories): Use autoreconf
7037 instead of successive calls to autoconf.
7038 Add a nonexistent subdirectory to exercise the patch above.
7039 Reported by Ralf Corsepius.
7041 2001-11-08 Kevin Ryde <user42@zip.com.au>
7043 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
7044 doesn't accept .S files.
7046 2001-11-07 Akim Demaille <akim@epita.fr>
7048 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
7049 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
7050 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
7051 * bin/autom4te.in (warn_forbidden): New.
7052 (handle_output): Use it.
7053 Read m4_pattern_forbid with messages.
7055 2001-11-05 Akim Demaille <akim@epita.fr>
7057 * bin/autom4te.in (--normalize): Remove.
7058 * lib/autom4te.in: Adjust.
7060 2001-11-05 Akim Demaille <akim@epita.fr>
7062 * tests/Makefile.am (testsuite): Rename this target as...
7063 ($(TESTSUITE)): this.
7066 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
7068 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
7069 the --prefix option, also remove it's argument.
7071 2001-11-05 Akim Demaille <akim@epita.fr>
7073 * doc/autoconf.texi (testsuite Invocation): Update.
7074 (Writing testsuite.at): Update.
7076 2001-11-03 Akim Demaille <akim@epita.fr>
7078 * doc/autoconf.texi: s/@code/@command/ where appropriate.
7080 2001-11-03 Akim Demaille <akim@epita.fr>
7082 * lib/Autom4te/General.pm: (&catfile, &canonfile)
7083 (&file_name_is_absolute): New, wrappers around routines from
7085 Use and export them.
7086 (&find_configure_ac): Optionally take a directory where to look at.
7087 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
7089 Default @ARGV to `.', not find_configure_ac.
7090 (&autoreconf): Argument is a directory.
7091 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
7092 * doc/autoconf.texi (autoreconf Invocation): Update.
7094 2001-11-03 Akim Demaille <akim@epita.fr>
7096 * lib/Autom4te/General.pm (@export_vars, @export_subs)
7097 (@export_forward_subs): New.
7098 Add basename, dirname, and fileparse.
7100 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
7101 Don't look for aclocal flags if we already know aclocal is not
7103 Move aclocal.m4t only if it exists.
7104 Reported by Ezra Peisach.
7106 2001-11-03 Akim Demaille <akim@epita.fr>
7108 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
7109 passed on command line, defaulting to ./configure.ac if present.
7110 (&maybe_autoreconf, File::Find): Remove, unused.
7111 (&autoreconf): If autoconf is not used, don't try to trace.
7113 2001-11-02 Akim Demaille <akim@epita.fr>
7115 * configure.ac: Bump to 2.52g.
7117 2001-11-02 Akim Demaille <akim@epita.fr>
7121 2001-11-02 Akim Demaille <akim@epita.fr>
7123 * config/config.guess, config/config.sub, doc/standards.texi:
7124 * config/lispdir.m4: Update from masters.
7125 * configure.ac: Bump to 2.52f.
7127 2001-11-02 Akim Demaille <akim@epita.fr>
7129 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
7130 Don't run aclocal when aclocal.m4 is not from aclocal.
7132 Don't run libtoolize and gettextize if --install is not given.
7134 2001-11-01 Paul Eggert <eggert@twinsun.com>
7136 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
7137 be invoked before _AS_LINENO_PREPARE.
7138 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
7139 than character ranges.
7141 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
7142 invoking AS_BASENAME. Set the locale variables to 'C' if
7143 possible, as POSIX requires this to get the traditional
7145 * doc/autoconf.texi (Special Shell Variables): Describe the above.
7147 2001-10-31 Paul Eggert <eggert@twinsun.com>
7149 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
7150 with {}, as that triggers a bug in Bash 2.05.
7152 (_AS_LINENO_PREPARE): Use Sed rather than
7153 Awk. Fix the sed prepass to work even if there are multiple
7154 instances of $LINENO on the same line. Do not substitute for
7155 other variables like $LINENOT. Do not check file dates; such a
7156 check is unreliable on sufficiently fast machines, and removing
7157 the check makes the code simpler and more reliable. Check for
7158 output and chmod failures.
7160 * doc/autoconf.texi (Special Shell Variables): Document
7163 2001-10-31 Akim Demaille <akim@epita.fr>
7165 * tests/Makefile.am (atconfig): Remove this target, Automake
7168 2001-10-31 Akim Demaille <akim@epita.fr>
7170 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
7171 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
7172 provided, while it is optional.
7173 * configure.ac: Adjust.
7175 2001-10-26 Paul Eggert <eggert@twinsun.com>
7177 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
7178 lib/Autom4te/Struct.pm:
7179 Require Perl 5.005_03 instead of just 5.005, as some tests fail
7182 * doc/autoconf.texi (Special Shell Variables): Document some
7183 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
7185 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
7186 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
7187 eval $LINENO is not portable in practice.
7189 2001-10-24 Akim Demaille <akim@epita.fr>
7191 * lib/Autom4te/General.pm (backname): New.
7193 2001-10-24 Akim Demaille <akim@epita.fr>
7195 * m4/: Remove, merged into...
7198 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
7200 * doc/autoconf.texi (Shellology): Mention the problems with bash
7201 2.05's use of ANSI quoting in its `set' builtin.
7203 2001-10-22 Paul Eggert <eggert@twinsun.com>
7205 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
7206 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
7207 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
7208 POSIX decided to standardize on the int flavor of strerror_r.
7209 Always do char* test, as there's no reason not to.
7210 Assign to a char* var, to catch strerror_r that returns int*.
7212 * doc/autoconf.texi (Particular Functions):
7213 Document the above changes. Also, document the fact that
7214 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
7216 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
7218 2001-10-20 Akim Demaille <akim@epita.fr>
7220 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
7221 the executable was missing from the log.
7223 2001-10-20 Akim Demaille <akim@epita.fr>
7225 * lib/Autom4te/General.pm (&update_file): If destination is
7226 unchanged, remove the source.
7227 (&up_to_date_p): Don't be verbose, be debug.
7228 * bin/autoreconf.in: No longer support --m4dir.
7229 (&autoreconf): Display the full path of the configure.ac we are
7232 Be sure to honor --force with gettextize.
7234 * doc/autoconf.texi: Adjust.
7236 2001-10-20 Akim Demaille <akim@epita.fr>
7238 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
7240 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
7241 `intl' is already present, as it refuses unless --force.
7242 (&parse_args): Use -I, --include instead of the old Autoconf
7244 ($localdir, $autoconf_dir): Remove.
7246 (&maybe_autoreconf): New, to preserve $_ for File::Find.
7248 2001-10-19 Jens Petersen <petersen@redhat.com>
7250 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
7251 * doc/autoconf.texi (Particular Programs): Likewise.
7253 2001-10-19 Akim Demaille <akim@epita.fr>
7255 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
7256 file in @configure_input@.
7257 Don't mention `automatically' in addition to `generated'.
7258 * tests/torture.at (#define header templates): Adjust.
7260 2001-10-19 Akim Demaille <akim@epita.fr>
7262 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
7263 comment, explain how to install automatic mode selection.
7266 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
7268 * bin/autoreconf.in (autoreconf): Display the path to the
7269 configure.ac being studied.
7271 2001-10-18 Paul Eggert <eggert@twinsun.com>
7273 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
7274 long, to work around a bug in the HP C compiler version HP92453-01
7277 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
7278 (AS_BASENAME_EXPR): New macro.
7279 (AS_BASENAME_SED): Do not assume GNU sed semantics.
7280 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
7281 and fall back on 'sed' only if the other two fail. This makes
7282 AS_BASENAME act more like AS_DIRNAME.
7283 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
7284 contains white space.
7285 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
7286 Use AS_DIRNAME, since I think it's now DOS-friendly.
7287 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
7288 Allow "dirname //FOO" to return either / or //, as POSIX allows
7291 2001-10-10 Akim Demaille <akim@epita.fr>
7293 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
7294 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
7297 2001-10-10 Akim Demaille <akim@epita.fr>
7299 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
7301 (_AS_ECHO_N): AS_REQUIREs it.
7303 2001-10-10 Akim Demaille <akim@epita.fr>
7305 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
7306 (AC_INCLUDES_DEFAULT): Move to...
7307 * lib/autoconf/headers.m4: here.
7308 * lib/autoconf/types.m4: Comment changes.
7309 * doc/autoconf.texi: Specify where the default includes are used
7310 in the macro prototypes.
7312 2001-10-09 Akim Demaille <akim@epita.fr>
7314 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
7317 2001-10-08 Akim Demaille <akim@epita.fr>
7319 * bin/autoreconf.in (&autoreconf): Remove debugging code.
7320 (&parse_args): Pass verbosity/debugging options to subtools when
7321 --debug, not when --verbose.
7322 * lib/autom4te.in (Autoreconf-preselections): New.
7325 2001-10-08 Akim Demaille <akim@epita.fr>
7327 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
7329 2001-10-08 Akim Demaille <akim@epita.fr>
7331 * doc/autoconf.texi (autoreconf Invocation): Adjust.
7332 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
7334 2001-10-08 Akim Demaille <akim@epita.fr>
7336 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
7337 (Syntax of the shell scripts): Don't.
7338 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
7339 bother with $force since...
7340 * lib/Autom4te/General.pm: does.
7342 2001-10-08 Akim Demaille <akim@epita.fr>
7344 * bin/autoreconf.in: Rewrite in Perl.
7345 * configure.ac: Adjust.
7346 * lib/Autom4te/General.pm (&up_to_date_p): New.
7347 * bin/autom4te.in (&up_to_date_p): Use it.
7349 (&up_to_date): this.
7351 2001-10-08 Akim Demaille <akim@epita.fr>
7353 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
7354 (m4_list_cmp): Use $0 to reinvoke yourself.
7355 (m4_patsubsts): New.
7356 (m4_strip, m4_version_unletter): Use it.
7357 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
7359 2001-10-08 Akim Demaille <akim@epita.fr>
7361 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
7362 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
7363 * lib/autoconf/types.m4, lib/autotest/general.m4,
7364 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
7365 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
7366 m4_bregexp, m4_bpatsubst, and m4_bmatch.
7367 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
7369 2001-10-08 Akim Demaille <akim@epita.fr>
7371 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
7373 2001-10-08 Akim Demaille <akim@epita.fr>
7375 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
7376 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
7377 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
7378 * tests/tools.at, tests/m4sh.at: Use it.
7379 * tests/m4sh.at: Don't rely on Autoconf macros.
7380 (DIRNAME_TEST): Also exercise the expr variant.
7381 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
7382 preferred M4sugar extension is now `.4s'.
7383 * tests/README: Remove.
7385 2001-10-08 Akim Demaille <akim@epita.fr>
7387 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
7388 (m4_provide_if): this.
7389 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
7390 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
7391 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
7392 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
7394 2001-10-08 Akim Demaille <akim@epita.fr>
7396 Use `add-log-current-defun-function' for ChangeLog creation.
7397 Suggested by Tom Tromey.
7399 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
7400 (autotest-mode): Adjust.
7401 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
7402 'comment-region onto `C-c ;'.
7403 Comments are `#', not `dnl'.
7404 (autoconf-current-defun): New.
7405 (autoconf-font-lock-keywords): Recognize `m4_defun'.
7407 2001-10-08 Akim Demaille <akim@epita.fr>
7409 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
7410 * lib/m4sugar/m4sh.m4: here.
7411 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
7412 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
7413 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
7414 include handle the m4_pattern_*, no longer push the
7415 BODY diversion nor set the /bin/sh line, AS_INIT does it.
7416 * lib/autotest/general.m4 (AT_INIT): Likewise.
7417 * tests/base.at: Adjust the tests to use AS_INIT.
7418 * tests/tools.at (AT_DATA_FORBIDDEN): New.
7419 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
7422 2001-10-07 Paul Eggert <eggert@twinsun.com>
7424 * doc/autoconf.texi (config.status Invocation):
7425 CONFIG_SHELL defaults to a shell that supports LINENO if available.
7427 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
7428 shell does not support LINENO, and if CONFIG_SHELL is unset or
7429 empty, and if we can find a shell that does support LINENO,
7430 then set CONFIG_SHELL to that shell and then re-execute
7431 ourselves with CONFIG_SHELL.
7433 2001-10-05 Paul Eggert <eggert@twinsun.com>
7435 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
7436 doesn't exist. Remove *.tmp, as a .tmp file is created during the
7437 build of $(TESTSUITE).
7439 2001-10-05 Akim Demaille <akim@epita.fr>
7441 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
7442 iff we are a bareword.
7443 Reported by Raja R Harinath.
7445 2001-10-05 Akim Demaille <akim@epita.fr>
7447 * tests/m4sh.at (LINENO): New.
7448 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
7449 PATH_SEPARATOR before using it.
7450 Fix the absolute path case/esac pattern.
7451 Provide $0 as fallback for as_myself.
7452 Reported by Raja R Harinath.
7454 2001-10-05 Akim Demaille <akim@epita.fr>
7456 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
7457 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
7459 2001-10-05 Akim Demaille <akim@epita.fr>
7461 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
7462 (AS_SHELL_SANITIZE): here. Use it.
7463 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
7466 2001-10-04 Akim Demaille <akim@epita.fr>
7468 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
7469 combination of Awk and sed to replace $LINENO.
7471 2001-10-02 Paul Eggert <eggert@twinsun.com>
7473 * doc/autoconf.texi (Limitations of Builtins): You can't use
7474 "source"; it's not portable. Remove confusing and
7475 somewhat-incorrect example involving "." and "/".
7477 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
7478 compatibility with POSIX shells.
7480 2001-10-02 Akim Demaille <akim@epita.fr>
7482 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
7483 instead of exec'ing to preserve $0 and $@.
7485 2001-10-01 Akim Demaille <akim@epita.fr>
7487 * tests/testsuite (AT_INIT) <at_pass_list>: New.
7488 Don't run twice the same test.
7490 2001-10-01 Akim Demaille <akim@epita.fr>
7492 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
7493 No longer output the list of tests.
7494 <--list>: New option.
7495 <--full-help>: Remove.
7496 Complete the short/long options duality.
7497 Various small adjustments.
7499 2001-10-01 Akim Demaille <akim@epita.fr>
7501 * doc/autoconf.texi: Use @kbd for user input.
7502 Always use `$' as shell prompt.
7504 2001-09-30 Paul Eggert <eggert@twinsun.com>
7506 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
7507 Don't use nested parenthesization. This patch was originally
7508 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
7509 but somehow it didn't get incorporated then.
7510 * doc/autoconf.texi (Limitations of Usual Tools):
7511 Clarify remark about sed and nested parenthesization.
7513 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
7514 Report an error if the size cannot be determined even though
7516 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7517 Check for `expr' arithmetic overflow, and for compilation failure,
7518 and invoke a new argument $4 if either is discovered.
7519 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
7520 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
7522 2001-09-28 Akim Demaille <akim@epita.fr>
7524 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
7525 * m4/lispdir.m4: New.
7526 * aclocal.m4, configure.ac: Adjust.
7528 2001-09-28 Akim Demaille <akim@epita.fr>
7530 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
7532 (AT_INIT): More the wrapped section to where it will be expanded.
7533 Output `AT_tested' only when existing.
7534 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
7536 2001-09-27 Akim Demaille <akim@epita.fr>
7538 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
7539 generates too many bug reports.
7541 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
7542 status when executing the ACTION-IF-FALSE.
7543 * tests/base.at (AC_TRY_*): Rename as...
7544 (AC_TRY_COMMAND): this.
7545 (AC_RUN_IFELSE): New.
7546 * tests/compile.at (Extensions, C keywords)
7547 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
7548 (Broken/missing compilers, AC_PROG_CPP with warnings)
7549 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
7550 * tests/c.at (Extensions, C keywords)
7551 (Broken/missing compilers, AC_PROG_CPP with warnings)
7552 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
7553 (AC_PROG_CPP requires AC_PROG_CC): here and...
7554 * tests/fortran.at (GNU Fortran 77): there.
7555 * doc/autoconf.texi (autoconf Invocation): Fix the example:
7556 AC_TRY_RUN is about compilation, not shell commands.
7557 (Test Programs): AC_TRY_RUN works as used to be advertised.
7559 2001-09-27 Akim Demaille <akim@epita.fr>
7561 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
7563 Be sure to detect when $LINENO always returns the same value.
7564 Look for the original script, basename($0) is certainly not
7566 Pass the CLI arguments to `$as_me.lineno'.
7568 2001-09-25 Akim Demaille <akim@epita.fr>
7570 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
7571 Be sure the close and reopen the LOG fd before and after using tee
7573 <at_tests_pattern>: Adjust to the new format of at_help_all.
7575 2001-09-23 Akim Demaille <akim@epita.fr>
7577 * bin/autom4te.in (parse_args): There can be several invocations
7580 2001-09-23 Akim Demaille <akim@epita.fr>
7582 * doc/autoconf.texi (Top): Wrap in @ifnottex.
7584 2001-09-23 Akim Demaille <akim@epita.fr>
7586 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
7587 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
7588 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
7589 builddir, buildpath, top_builddir, and top_buildpath.
7590 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
7591 the current directory.
7592 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
7593 variables *before* changing the current directory.
7594 Skip nonexistent dirs.
7595 * doc/autoconf.texi (Preset Output Variables): Document these
7598 * lib/autotest/general.m4: Do not reset AT_victims.
7599 Don't compute at_srcdir nor at_top_srcdir.
7601 * tests/tools.at: Hence use top_srcdir.
7603 * tests/Makefile.am, tests/autoconf, tests/autoheader,
7604 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
7606 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
7607 * tests/wrapsh.in, tests/autoupdate.in: New.
7608 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
7609 * configure.ac: Build the position independent wrappers.
7611 * man/Makefile.am: Now that test wrappers are position
7612 independent, use them and drop dark envvar magic.
7614 2001-09-23 Akim Demaille <akim@epita.fr>
7616 * doc/autoconf.texi (Common Shell Constructs): Rename as...
7617 (Programming in M4sh): this.
7618 Promote to @section.
7620 2001-09-23 Akim Demaille <akim@epita.fr>
7622 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
7623 Pass $at_debug_args to the rerun test suite.
7624 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
7625 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
7628 2001-09-23 Akim Demaille <akim@epita.fr>
7630 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
7632 2001-09-23 Akim Demaille <akim@epita.fr>
7634 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
7637 2001-09-23 Akim Demaille <akim@epita.fr>
7639 * lib/Autom4te/General.pm (&debug): New.
7640 * bin/autom4te.in ($language): Move to...
7642 Handle --language in languages.
7643 * lib/autom4te.in (Automake-selections, Autoheader-selections)
7644 (Autoscan-selections): New.
7647 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
7649 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
7650 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
7651 to match current versions from CVS Automake.
7653 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
7655 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
7658 2001-09-22 Akim Demaille <akim@epita.fr>
7660 * lib/autoconf/autotest.m4: Create `package.m4'.
7661 * tests/Makefile.am (package.m4): Remove.
7663 2001-09-22 Akim Demaille <akim@epita.fr>
7665 Rely on `$LINENO' when possible instead of `__oline__'.
7667 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
7668 `$LINENO' support replacement when not supported.
7669 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
7670 them explicitly to be sure they are not output before this section
7671 (via m4_require). Cosmetic only.
7672 * lib/autoconf/c.m4, lib/autoconf/general.m4,
7673 * lib/autoconf/programs.m4: Replace all the occurrences of
7674 `__oline__' with `$LINENO'.
7675 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
7677 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
7679 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
7680 character (u: -> ue) in a code comment.
7681 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
7684 2001-09-21 Akim Demaille <akim@epita.fr>
7686 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
7687 Suggested by Jim Meyering.
7689 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7691 * lib/autoconf/programs.m4: Use extensions listed in
7692 $ac_executable_extensions when looking for programs.
7694 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7696 * lib/autoconf/general.m4: Fix a small Englisho.
7697 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
7698 setting up ac_dir_suffix and ac_top_builddir.
7699 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
7701 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7703 * doc/autoconf.texi (File System Conventions): Clarify the use of
7705 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
7706 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
7707 be used instead of ':'.
7708 * lib/autotest/general.m4: Replace occurrences of ':' in
7709 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
7711 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7713 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
7714 arguments. Fixed a typo.
7716 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7718 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
7719 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
7721 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7723 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
7724 * bin/autoupdate.in: Ditto.
7725 * bin/autoheader.in: Reworded a few comments.
7726 * bin/autoconf.in: Reworded help text for a few options.
7727 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
7728 * bin/autoscan.in, bin/autoupdate.in: Ditto.
7730 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
7732 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
7733 already have $file). Set output files to binary mode (helps avoid
7734 CR issues on DOSish systems).
7736 2001-09-19 Akim Demaille <akim@epita.fr>
7738 * lib/autotest/general.m4: Englishoes.
7739 From Tim Van Holder and Alexey Mahotkin.
7741 2001-09-18 Paul Eggert <eggert@twinsun.com>
7743 * doc/autoconf.texi (Common Shell Constructs): New node,
7744 documenting AS_DIRNAME.
7745 (Limitations of Usual Tools): Refer to it when discussing dirname.
7746 Also, update discussion of POSIX standard to reflect latest draft.
7748 * lib/autoconf/c.m4:
7749 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
7751 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
7752 Do not pass a first argument with leading '-'
7753 to expr, by parenthesizing initial integers that might be negative.
7755 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
7756 now merely checks whether it is an error to pass an argument
7759 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
7760 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
7761 whether it is a (compile-time) error to pass an argument to
7762 getpgrp. This simpler test supports the revised documentation,
7763 and is all that AC_FUNC_GETPGRP's users really need.
7765 2001-09-18 Akim Demaille <akim@epita.fr>
7767 * doc/autoconf.texi (Limitations of Make) <$<>: New.
7769 2001-09-18 Akim Demaille <akim@epita.fr>
7771 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
7773 * lib/autotest/general.m4 (AT_INIT): Adjust.
7775 2001-09-18 Paul Wagland <paul@wagland.net>
7777 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
7779 Add test for AS_BASENAME.
7780 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
7781 added test. It now correctly handles /1/2/3/, returning '3' not ''.
7782 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
7783 * tests/base.at: Fixed the expected responses. The old ones were
7785 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
7786 the documentation claims it should (and how it behaved in 2.13).
7788 2001-09-18 Akim Demaille <akim@epita.fr>
7790 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
7791 the AC_CONFIG_COMMANDS invocation.
7792 This also solves the name clash problems.
7793 Don't set the package's ID.
7794 * lib/m4sugar/Makefile.am (version.m4): Revamp.
7795 No longer to be shipped.
7796 (version.in): Remove.
7797 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
7798 * lib/autoconf/status.m4: Adjust.
7799 Use `m4_PACKAGE_STRING'.
7800 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
7801 the only optional argument is the name of the test suite.
7802 Expect `package.m4' to define the package signature.
7803 * lib/autom4te.in (Autotest): Add `package.m4?'.
7804 * tests/Makefile.am (package.m4): New.
7805 * tests/suite.at: ifnames is a victim.
7807 2001-09-18 Akim Demaille <akim@epita.fr>
7809 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
7810 AC_LIBSOURCE, AC_CONFIG_FILES.
7811 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
7812 program version string doesn't match the package's.
7813 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
7816 2001-09-17 Paul Eggert <eggert@twinsun.com>
7818 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7819 Allow expression to return any value that can fit into unsigned long
7820 (not int, as before). Check for output errors.
7822 2001-09-17 Bruno Haible <haible@ilog.fr>
7824 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
7825 Always include <stdio.h> and <stdlib.h>. Evaluate
7826 the expression in an extra function before these includes. Call
7827 fprintf "%d" only after ensuring the argument is of type 'int'.
7828 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
7830 2001-09-17 Paul Eggert <eggert@twinsun.com>
7832 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
7833 or CFLAGS=-O5. In that case, the linker has a relaxed view of
7834 fatal errors, and AC_CHECK_LIB causes it to include libraries even
7835 when they don't exist.
7837 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
7838 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
7841 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
7842 version with the version used by fileutils 4.1, except use
7843 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
7846 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
7848 2001-09-13 Akim Demaille <akim@epita.fr>
7850 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
7852 Reported by Gerrit P. Haase.
7854 2001-09-13 Akim Demaille <akim@epita.fr>
7856 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
7857 m4_defn'ing is valid.
7859 2001-09-13 Akim Demaille <akim@epita.fr>
7861 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
7862 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
7865 2001-09-13 Akim Demaille <akim@epita.fr>
7867 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
7869 (m4_re_escape): New.
7870 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
7871 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
7872 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
7874 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
7875 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
7876 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
7877 AT_tests_all for consistency.
7879 (AT_VICTIMS): Similar to AT_KEYWORDS.
7880 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
7882 2001-09-13 Akim Demaille <akim@epita.fr>
7884 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
7886 2001-09-13 Akim Demaille <akim@epita.fr>
7888 * lib/autotest/general.m4 (AT_INIT): Create and remove
7889 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
7890 test suites can cohabit.
7892 2001-09-13 Akim Demaille <akim@epita.fr>
7894 * tests/mktests.sh: Don't output banners for empty test files.
7896 2001-09-13 Akim Demaille <akim@epita.fr>
7898 Test suites can be run independently of configure.
7900 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
7901 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
7902 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
7904 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
7906 * lib/autotest/general.m4: Use ECHO_*.
7908 2001-09-13 Akim Demaille <akim@epita.fr>
7910 * bin/ifnames.in: Rewrite in Perl.
7911 * configure.ac: Don't look for AWK.
7912 * tests/tools.at (AWK portability): Remove.
7913 (Syntax of the shell scripts): Don't check ifnames.
7914 (AT_CHECK_PERL_SYNTAX): New.
7915 (Syntax of the Perl scripts): Check ifnames.
7916 * tests/ifnames: New.
7918 2001-09-13 Akim Demaille <akim@epita.fr>
7920 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
7922 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
7923 Remove all the other keywords.
7925 2001-09-10 Akim Demaille <akim@epita.fr>
7927 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
7928 SETUP: no longer used.
7929 Support -k, --keywords.
7930 <at_help>: Be `no', `short', or `long'.
7931 <at_help_all>: New variable.
7933 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
7934 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
7935 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
7936 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
7937 No longer fill the HELP diversion.
7938 (AT_CLEANUP): Use them.
7939 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
7940 (m4_list_append): Remove.
7942 Spread a few keywords in the Autoconf test suite.
7944 2001-09-10 Akim Demaille <akim@epita.fr>
7946 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
7947 PATH_SEPARATOR, let M4sh compute it.
7948 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
7949 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
7951 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
7952 Simplify when the path is not a literal.
7953 (AS_UNAME): Use it to report PATH.
7954 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
7955 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
7956 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
7957 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
7958 normalize the path, and to look for victims.
7959 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
7960 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
7962 2001-09-07 Akim Demaille <akim@epita.fr>
7964 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
7965 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
7966 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
7967 related variables into `at_package_*'.
7968 * lib/autotest/general.m4 (AT_VICTIMS): New.
7969 (AT_INIT): Adjust for stand-alone/embedded test suites.
7970 (AS_MESSAGE_LOG_FD): Define and use it.
7971 * tests/suite.at (AT_VICTIMS): Use it.
7972 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
7975 2001-09-07 Akim Demaille <akim@epita.fr>
7977 Move toward possibly stand-alone test suites.
7979 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
7980 in addition, it introduces useless differences in logs.
7981 (AT_INIT): Let atconfig and atlocal be both optional.
7982 Adjust PATH computation.
7983 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
7985 2001-09-07 Akim Demaille <akim@epita.fr>
7987 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
7990 2001-09-05 Akim Demaille <akim@epita.fr>
7992 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
7993 to avoid GCC warnings.
7996 2001-09-05 Akim Demaille <akim@epita.fr>
7998 * bin/autom4te.in: --language is -l, not -s.
8000 2001-09-05 Akim Demaille <akim@epita.fr>
8002 Be ready to handle filenames as stupid as `dnl.at', for if even
8003 the maintainer is dumb enough to do that...
8005 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
8006 excellence in M4 quotation: consider `__file__' is active.
8008 And BTW, when invoking m4, pass the --include in the right order:
8011 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
8014 2001-09-05 Akim Demaille <akim@epita.fr>
8016 * lib/Autom4te/XFile.pm: New lib file.
8017 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
8018 * bin/autoheader.in: Use it.
8020 2001-09-05 Akim Demaille <akim@epita.fr>
8022 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
8025 2001-09-05 Akim Demaille <akim@epita.fr>
8027 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
8028 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
8030 * bin/autoscan.in: Use `getopt' and `find_files' etc.
8031 Add -I, --include support.
8032 * doc/autoconf.texi (autoscan Invocation): Adjust.
8034 2001-09-05 Akim Demaille <akim@epita.fr>
8036 CVS GNU M4 doesn't like `undefine(undefined)'.
8038 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
8039 New, extracted from main.
8040 Use IO::File wherever possible.
8041 (input.m4): Be constant, use -I instead of hard coding $tmp.
8042 Therefore be a quoted heredoc.
8043 Don't invoke `_au_disable', since ac was not loaded, but just
8046 2001-08-31 Akim Demaille <akim@epita.fr>
8050 2001-08-31 Akim Demaille <akim@epita.fr>
8052 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
8054 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
8056 2001-08-31 Akim Demaille <akim@epita.fr>
8058 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
8059 serious problems handling heredocs in heredocs.
8060 Reported by Nicolas Joly.
8062 2001-08-31 Akim Demaille <akim@epita.fr>
8064 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
8065 (Making testsuite Scripts): Update.
8067 2001-08-31 Akim Demaille <akim@epita.fr>
8069 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
8071 2001-08-31 Akim Demaille <akim@epita.fr>
8073 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
8074 (testsuite Scripts): There is no such thing as `atconfig.in'.
8075 And actually one diagram is missing: test suite runtime.
8077 2001-08-31 Akim Demaille <akim@epita.fr>
8079 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
8082 2001-08-31 Akim Demaille <akim@epita.fr>
8084 * bin/autoupdate.in (@include): `installcheck' revealed the path
8085 to m4sugar was lacking!
8087 2001-08-31 Akim Demaille <akim@epita.fr>
8089 * man/Makefile.am (.x.1): We really have to pass
8090 autom4te_perllibdir.
8092 2001-08-31 Akim Demaille <akim@epita.fr>
8094 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
8095 debug scripts, in particular passing explicitly listed tests to
8098 2001-08-31 Akim Demaille <akim@epita.fr>
8100 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
8101 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
8102 Use directly autom4te, not autoconf.
8103 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
8105 2001-08-31 Akim Demaille <akim@epita.fr>
8107 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
8108 * bin/autoheader.in (%symbol): Strip arguments of macros.
8110 2001-08-31 Akim Demaille <akim@epita.fr>
8112 * doc/autoconf.texi: Catch up -I, --include changes.
8114 2001-08-31 Akim Demaille <akim@epita.fr>
8116 * bin/autom4te.in (&parse_args): Die on unknown languages.
8117 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
8119 Promote --include over --macrodir and other obsolete options.
8121 2001-08-31 Akim Demaille <akim@epita.fr>
8123 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
8124 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
8125 * bin/autom4te.in ($autoconf): Pass --force.
8126 `print $out' doesn't print `$_' but `$out'.
8127 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
8128 (autoheader): Pass --force since the test suite goes too fast for
8130 Adjust to the new autoheader messages.
8132 2001-08-31 Akim Demaille <akim@epita.fr>
8134 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
8135 Check the completeness of the #template.
8136 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
8137 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
8140 2001-08-31 Akim Demaille <akim@epita.fr>
8142 * lib/Autom4te/General.pm (&find_file, &update_file): New.
8143 * bin/autoupdate.in, bin/autoheader.in: Adjust.
8144 Drop AC_MACRODIR dead for real.
8145 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
8146 `autoheader: `config.hin' is created'.
8147 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
8149 2001-08-31 Akim Demaille <akim@epita.fr>
8151 * bin/autoheader.in: Rewrite in Perl.
8152 * tests/autoheader: Adjust.
8154 2001-08-31 Akim Demaille <akim@epita.fr>
8156 * bin/autoconf.in (--include, -I): New option.
8157 Map --localdir, --autoconf-dir onto it.
8158 Forward autom4te's options instead of interpreting them.
8159 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
8160 There is no such envvar since the inception of autom4te.cfg.
8161 * bin/autom4te.in (&parse_args): Uniquify `@include'.
8162 * bin/autoupdate.in: Adjust, and perform more control.
8163 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
8164 * tests/autoconf: Dittowise.
8166 2001-08-31 Akim Demaille <akim@epita.fr>
8168 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
8169 * bin/autom4te.in (&find_file): Support `FILE?' standing for
8171 Use -e, not -f, since /dev/null for instance is OK.
8172 (&parse_args): Adjust.
8173 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
8175 2001-08-31 Akim Demaille <akim@epita.fr>
8177 * configure.ac: Also find tested executables in bin.
8178 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
8179 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
8180 installed peer executables, only PATH is allowed to resolve it.
8181 Pass `autoconf_dir' via options, not via invisible envvars.
8182 * lib/Autom4te/General.pm (&find_peer): Remove.
8183 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
8184 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
8185 * man/Makefile.am: Let help2man rely on PATH instead of trying to
8186 find the executables for it.
8187 * tests/Makefile.am: Major cleanup. Too lazy to document...
8188 * tests/atlocal.in: Remove all the obscure envvar manipulations.
8190 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
8191 indeed related to running the test suite, while passing
8192 --autoconf-dir and others is related to running non installed
8193 Autoconf executables. So don't do that, leave it to...
8194 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
8195 * tests/autoscan: New.
8196 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
8197 refer to library files: rely on --language.
8199 2001-08-29 Akim Demaille <akim@epita.fr>
8201 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
8202 s/--set/--language/.
8204 2001-08-29 Akim Demaille <akim@epita.fr>
8206 * doc/autoconf.texi: Strip the @nodes.
8207 Suggested by Paul Eggert.
8208 (Initializing configure): Typo.
8210 2001-08-29 Akim Demaille <akim@epita.fr>
8212 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
8213 Suggested by Paul Eggert.
8215 2001-08-29 Akim Demaille <akim@epita.fr>
8217 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
8218 download in a tmp dir.
8220 2001-08-29 Akim Demaille <akim@epita.fr>
8222 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
8223 case insensitive OSes out there :(
8224 From Tim Van Holder.
8226 2001-08-29 Akim Demaille <akim@epita.fr>
8228 * lib/autom4te.in: New.
8229 * lib/Makefile.am (edit, autom4te.cfg): New.
8230 * bin/autom4te.in (BEGIN): Simplify.
8231 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
8232 (&load_configuration): New. Use it.
8233 (&parse_args): Support --mode, --set, and --melt.
8234 * bin/autoconf.in: Simplify and adjust.
8235 * tests/Makefile.am (AUTOMAKE): Use --set.
8236 * tests/atlocal.in: Adjust.
8237 * BUGS: distcheck and check are weak.
8239 2001-08-29 Akim Demaille <akim@epita.fr>
8241 * lib/autotest/general.m4: Use
8242 foo=`(command) 2>/dev/null`
8244 foo=`command` 2>/dev/null
8245 (at-devnull): Rename as...
8247 (--clean): Remove AT-* files too.
8248 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
8249 Reported by Nicolas Joly.
8251 2001-08-28 Akim Demaille <akim@epita.fr>
8253 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
8254 quotes inside single quotes.
8255 Reported by Nicolas Joly.
8257 2001-08-28 Kevin Ryde <user42@zip.com.au>
8259 * doc/autoconf.texi (Function Portability): Mention C right shifts.
8261 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
8263 * lib/autotest/general.m4: Reword some messages.
8264 (AT_INIT): Check for the `times' builtin before using it.
8265 Support test ranges as arguments to the testsuite.
8266 Have -e imply -d as the help text suggested.
8268 2001-08-27 Akim Demaille <akim@epita.fr>
8270 * Makefile.maint: Formatting changes.
8271 (do-po-update, po-update, cvs-update, update): New targets.
8274 2001-08-27 Akim Demaille <akim@epita.fr>
8276 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
8278 Pass it to debug-*.sh scripts.
8279 <AUTOTEST_PATH>: May contain absolute dir names.
8281 2001-08-27 Akim Demaille <akim@epita.fr>
8283 * lib/autotest/general.m4 (AT_INIT): Log the command line.
8284 Support `VAR=VAL' as arguments.
8285 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
8286 may be set via the command line.
8288 2001-08-27 Akim Demaille <akim@epita.fr>
8290 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
8291 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
8292 first the build dirs, then the src dirs.
8293 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
8295 2001-08-27 Akim Demaille <akim@epita.fr>
8297 * lib/autotest/general.m4 (AT_INIT): Output the definition of
8298 at_data_files earlier.
8299 (--clean, -c): New option.
8300 * tests/Makefile.am: Use this option.
8302 2001-08-27 Akim Demaille <akim@epita.fr>
8304 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
8305 `ac_top_builddir' to mimic Automake's vocabulary, which much more
8308 * doc/autoconf.texi (Configuration Actions): Document the vars
8309 available in commands.
8310 Emphasize the risks of collisions in init-cmds.
8312 2001-08-27 Akim Demaille <akim@epita.fr>
8314 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
8315 (Initializing configure): this new node.
8317 2001-08-27 Akim Demaille <akim@epita.fr>
8319 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
8321 2001-08-27 Akim Demaille <akim@epita.fr>
8323 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
8324 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
8326 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
8328 2001-08-27 Akim Demaille <akim@epita.fr>
8330 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
8332 * lib/autoconf/autoheader.m4: this new file.
8333 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
8334 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
8336 * lib/autoconf/autoupdate.m4: this new file.
8338 2001-08-27 Akim Demaille <akim@epita.fr>
8340 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
8341 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
8342 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
8344 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
8345 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
8347 2001-08-27 Akim Demaille <akim@epita.fr>
8349 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
8350 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
8351 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
8352 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
8353 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
8354 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
8355 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
8356 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
8357 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
8358 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
8359 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
8360 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
8361 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
8362 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
8363 (_AC_OUTPUT_SUBDIRS): Move to...
8364 * lib/autoconf/status.m4: this new file.
8365 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
8366 * tests/Makefile.am, tests/suite.at: Adjust.
8368 2001-08-27 Akim Demaille <akim@epita.fr>
8372 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
8373 (AMTAR): Help automake define it.
8374 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
8375 needed, 1.5 can have a macro and a target with the same name.
8376 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
8378 * m4/init.m4, m4/sanity.m4: Update.
8379 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
8380 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
8381 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
8382 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
8384 2001-08-27 Akim Demaille <akim@epita.fr>
8386 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
8388 * lib/autoconf/version.in: Remove.
8389 * lib/m4sugar/version.in: New.
8390 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
8392 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
8393 the name of the directory they're in, instead of the filename,
8394 since version.m4 is now in m4sugar, but m4_acversion must not be
8395 classified as an Autoconf macro.
8396 ($input_m4): Don't qualify the path to m4sugar.
8397 Rather, pass autoconf_dir to m4.
8398 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
8399 * tests/suite.at: Require 2.52c.
8401 2001-08-27 Akim Demaille <akim@epita.fr>
8403 testsuite.log should include config.log.
8405 * lib/autotest/autotest.m4: New.
8406 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
8407 * tests/suite.at : Adjust.
8408 (AT_INIT): Log config.log.
8409 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
8410 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
8411 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
8412 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
8413 of config.log on traps.
8414 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
8415 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
8417 Open the log as soon as possible.
8418 Use the same log introduction as configure's.
8420 2001-08-22 Paul Eggert <eggert@twinsun.com>
8422 * doc/autoconf.texi (Indices): New node.
8423 Move indices out of the top level menu and into this submenu.
8425 2001-08-22 Akim Demaille <akim@epita.fr>
8427 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
8429 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
8431 2001-08-22 Akim Demaille <akim@epita.fr>
8433 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
8434 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
8435 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
8436 * lib/autoconf/programs.m4: here.
8437 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
8438 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
8439 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
8440 * lib/autoconf/programs.m4: here.
8441 (_AC_DECL_YYTEXT): Rename as...
8442 (_AC_PROG_LEX_YYTEXT_DECL): this.
8443 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
8444 * tests/Makefile.am, tests/suite.am: Adjust.
8446 2001-08-22 Akim Demaille <akim@epita.fr>
8448 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
8450 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
8452 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
8453 * lib/autoconf/functions.m4: here.
8454 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
8455 (AH_CHECK_LIB): Move to...
8456 * lib/autoconf/libs: this new file.
8457 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
8458 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
8459 * lib/autoconf/libs.m4: here.
8460 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
8462 2001-08-22 Akim Demaille <akim@epita.fr>
8464 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
8465 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
8466 (AC_SITE_LOAD): Better logging of config.site.
8468 2001-08-20 Akim Demaille <akim@epita.fr>
8470 * configure.ac (AT_CONFIG): Fix the path.
8471 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
8474 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
8476 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
8477 program with AC_LANG_PROGRAM before feeding it to
8478 AC_COMPILE_IFELSE. Cleanup grep usage.
8480 2001-08-20 Akim Demaille <akim@epita.fr>
8482 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
8483 * NEWS, README, README-alpha, TODO, tests/README: This package is
8484 `Autoconf', not `autoconf' (the executable).
8486 2001-08-20 Akim Demaille <akim@epita.fr>
8488 Info readers seem to need `Index' in the index node title :(
8490 * doc/autoconf.texi: Reverse the 2001-08-15 change which
8491 simplified index node names.
8493 2001-08-20 Akim Demaille <akim@epita.fr>
8495 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
8496 arguments are not literals.
8497 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
8498 Specify the output variables, and macros defined.
8500 2001-08-20 Akim Demaille <akim@epita.fr>
8502 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
8503 (Examining Syntax) <AC_TRY_COMPILE>
8504 (Examining Libraries) <AC_TRY_LINK>
8505 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
8507 Reported by Werner Lemberg.
8509 2001-08-20 Akim Demaille <akim@epita.fr>
8511 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
8512 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
8513 Load atlocal late enough to dump it in the log.
8514 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
8516 2001-08-20 Akim Demaille <akim@epita.fr>
8518 * tests/torture.at (Configuring subdirectories): New test.
8519 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
8521 * m4/atconfig.m4: Be sure the let $[0] be expandable.
8522 (top_srcdir): Fix its computation.
8524 2001-08-20 Akim Demaille <akim@epita.fr>
8526 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
8527 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
8529 Create `atconfig' automagically.
8530 Configure atlocal.in if present.
8531 * tests/atconfig.in: Remove.
8532 * tests/atlocal.in: New.
8533 * tests/Makefile.am: Adjust.
8535 2001-08-20 Akim Demaille <akim@epita.fr>
8537 Huh!?!?! There are still some user EOF tags used, which prevents
8538 their use in AC_CONFIG_COMMANDS for instance...
8540 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
8541 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
8542 `_CSEOF', or `_ATEOF', as appropriate.
8543 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
8544 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
8546 2001-08-20 Akim Demaille <akim@epita.fr>
8548 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
8549 * tests/semantics.at, tests/tools.at, tests/torture.at:
8550 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
8552 2001-08-20 Akim Demaille <akim@epita.fr>
8554 Autotest invokes M4sh's initialization.
8556 * lib/autotest/general.m4: Adjust the diversion names.
8557 (AT_INIT): Run AS_INIT.
8558 Use the BINSH diversion to invoke /bin/sh.
8559 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
8560 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
8562 2001-08-20 Akim Demaille <akim@epita.fr>
8564 Let M4sh have its own diversions.
8566 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
8567 (_m4_divert(NOTICE)): Rename as...
8568 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
8569 (_m4_divert(HEADER-COMMENT)): these.
8570 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
8571 (_m4_divert(NOTICE)): New, for Libtool.
8572 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
8573 long ago with `_m4_divert(GROW)'.
8574 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
8576 2001-08-20 Akim Demaille <akim@epita.fr>
8578 * tests/base.at, tests/compile.at, tests/foreign.at,
8579 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
8580 * tests/semantics.at, tests/suite.at, tests/tools.at,
8581 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
8583 2001-08-20 Akim Demaille <akim@epita.fr>
8585 * bin/autom4te.in (handle_output): Handle @__@.
8587 2001-08-20 Akim Demaille <akim@epita.fr>
8589 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
8590 * lib/autotest/general.m4: Adjust the license.
8592 2001-08-17 Paul Eggert <eggert@twinsun.com>
8594 * doc/autoconf.texi (Function Portability): Mention snprintf,
8595 following up on a suggestion by Kevin Ryde.
8597 2001-08-17 Akim Demaille <akim@epita.fr>
8599 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
8600 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
8602 2001-08-17 Akim Demaille <akim@epita.fr>
8604 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
8605 `$0.log' as for projects where testsuite is in src, we'd have
8606 testsuite.log created in src.
8608 2001-08-17 Akim Demaille <akim@epita.fr>
8610 * bin/autom4te.in (&parse_args): Recognize --normalize.
8612 2001-08-17 Akim Demaille <akim@epita.fr>
8614 Start implementing the AC_CHECK_HEADER transition scheme.
8616 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
8617 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
8618 (AC_CHECK_HEADER): Use them.
8620 2001-08-17 Akim Demaille <akim@epita.fr>
8622 * doc/autoconf.texi: Work around Texinfo buglets.
8623 (Transformation Rules): One example is enough, users are expected
8624 to have their brains on. And BTW, use DESTDIR.
8625 (dvar): New macro. Use it.
8627 2001-08-17 Akim Demaille <akim@epita.fr>
8629 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
8630 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
8631 looking for ChangeLogs.
8633 2001-08-17 Akim Demaille <akim@epita.fr>
8635 * bin/autom4te.in: --normalize is a new option.
8636 * bin/autoconf.in: Use it.
8638 2001-08-17 Akim Demaille <akim@epita.fr>
8640 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
8641 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
8643 2001-08-16 Paul Eggert <eggert@twinsun.com>
8645 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
8648 2001-08-15 Akim Demaille <akim@epita.fr>
8650 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
8653 2001-08-15 Akim Demaille <akim@epita.fr>
8655 * doc/autoconf.texi (pr): New index.
8656 (prindex, findex): Use, merge, and output them.
8657 (Environment Variable Index, Output Variable Index)
8658 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
8659 (Autotest Macro Index): Rename as...
8660 (Environment Variables, Output Variables,Preprocessor Symbols)
8661 (Autoconf Macros, M4 Macros, Autotest Macros): these.
8662 * doc/install.texi: Use @command.
8663 (Environment Variables): Rename as...
8664 (Defining Variables): this.
8666 2001-08-15 Akim Demaille <akim@epita.fr>
8668 * doc/autoconf.texi (Function Portability): sprintf's return
8672 2001-08-15 Akim Demaille <akim@epita.fr>
8674 * Makefile.maint (CVS): New.
8675 (local-check): Run changelog-check. last.
8676 (alpha): Don't depend upon local-check, since...
8677 (cvs-dist): depends upon it.
8679 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
8681 * tests/Makefile.am: Use a clean-local rule to remove
8682 autom4te.cache (it's a directory, not a file.
8683 * Makefile.am: Ditto (but maintainer-clean-local).
8685 2001-08-15 Akim Demaille <akim@epita.fr>
8687 * bin/autom4te.in (@m4_warning): New.
8688 (&handle_m4): Use it.
8689 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
8690 warnings are issued at each run.
8691 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
8694 2001-08-15 Akim Demaille <akim@epita.fr>
8696 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
8697 don't waste time running `autoupdate --version' works.
8698 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
8700 2001-08-13 Akim Demaille <akim@epita.fr>
8702 * doc/autoconf.texi (ma): Rename this index as...
8705 2001-08-13 Akim Demaille <akim@epita.fr>
8707 * Makefile.am: Remove dead code and dead comments.
8708 (pdf, html): New targets.
8709 * doc/autoconf.texi (Using Autotest): New chapter.
8710 * doc/Makefile.am (pdf): New targets.
8711 (CLEANFILES): Adjust.
8713 2001-08-13 Akim Demaille <akim@epita.fr>
8715 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
8716 duration of the test suite.
8718 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8720 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
8721 endianness for comparison instead of relying on AT_CHECK_ENV.
8723 2001-08-11 Paul Eggert <eggert@twinsun.com>
8725 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
8726 to the INSTALL file.
8728 2001-08-11 Paul Eggert <eggert@twinsun.com>
8730 * NEWS: The autoconf manual now is distributed under the terms
8731 of the GNU Free Documentation License.
8733 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
8734 Add an appendix "Copying This Manual" for the FDL.
8736 * doc/fdl.texi: New file, from
8737 <http://www.gnu.org/licenses/fdl.texi>.
8739 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
8741 2001-08-10 Paul Eggert <eggert@twinsun.com>
8743 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
8744 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
8745 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
8746 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
8747 m4/sanity.m4, tests/README, tests/aclocal.m4,
8748 tests/atspecific.m4, tests/base.at, tests/compile.at,
8749 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
8750 tests/semantics.at, tests/suite.at, tests/tools.at,
8751 tests/torture.at: Add copyright notice.
8753 * tests/mktests.sh: Update year in copyright notice.
8755 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
8757 * tests/semantics.at (AC_C_BIGENDIAN): New test.
8759 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8761 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
8762 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
8763 * doc/autoconf.texi (C Compiler Characteristics): Update
8764 documentation for AC_C_BIGENDIAN.
8766 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
8768 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
8769 magic values from an object file when cross-compiling.
8770 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
8772 2001-08-10 Akim Demaille <akim@epita.fr>
8774 * bin/autom4te.in (&handle_output): Don't use `grep' with side
8776 Suggested by Russ Allbery.
8778 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8780 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
8781 current $prefix to the sub-configures.
8783 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
8785 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
8786 extension (needed on BeOS). Reported by Guido van Rossum.
8788 2001-08-09 Akim Demaille <akim@epita.fr>
8790 * bin/autom4te.in ($icache): Load it only if older than autom4te.
8792 2001-08-07 Akim Demaille <akim@epita.fr>
8794 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
8796 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
8797 No need to remove the files before and after the each test, before
8798 each test and at the end of the suite is enough.
8799 Display only the children `times', not the shell's.
8800 If the test failed or was skipped, at-times is not available.
8802 2001-08-07 Akim Demaille <akim@epita.fr>
8804 Always produce testsuite.log, including when there are no
8805 failures. This helps getting information on skipped tests, and
8806 duration of the tests. Err, implement the latter btw.
8808 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
8809 Dump information on the first run of each test.
8810 (AT_CLEANUP): Create `at-times' containing the duration of the
8813 2001-08-07 Akim Demaille <akim@epita.fr>
8815 The use of `dumpstat' revealed that `len' was used although it
8816 should not. m4_text_wrap was using it, but in the Autoconf world
8817 where it is legal. Hence (i) test M4sh in its own world, not
8818 Autoconf's, and (ii), ahem, fix the bug :)
8820 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
8821 does not like `' instead of [].
8822 (AT_INIT): Forbid `^_?AT_'.
8823 And don't output such tokens.
8824 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
8825 `script.as', and `autom4te.cache'.
8826 Remove `empty' and `macro' which are no longer used.
8827 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
8828 * tests/m4sugar.at: Use it.
8829 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
8831 2001-08-07 Akim Demaille <akim@epita.fr>
8833 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
8835 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
8837 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
8839 2001-08-04 Akim Demaille <akim@epita.fr>
8841 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
8842 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
8844 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
8845 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
8846 (AC_F77_MAIN): Likewise.
8848 2001-08-04 Akim Demaille <akim@epita.fr>
8850 Don't rely on M4sugar outputting the patterns in files, since we
8851 might process the output _without_ running m4, hence without these
8854 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
8855 * bin/autom4te.in (@Request::includes): Remove, unused.
8856 (@Request::source): Rename as...
8857 (@Request::input): this.
8858 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
8859 (&handle_output): Fetch the patterns from the traces.
8860 `$forbidden' and `$allowed' are constant: use m//o.
8861 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
8862 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
8864 2001-08-04 Akim Demaille <akim@epita.fr>
8866 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
8867 autoconf', i.e., in addition to caching traces, cache the output.
8869 * bin/autom4te.in (Request::cache): Rename as...
8870 (Request::id): this.
8871 ($cache, $icache, $tcache, $ocache): New.
8872 (&handle_m4): Save M4 output in the cache instead of $tmp.
8873 (&handle_output): Adjust.
8874 (&up_to_date_p): Check that the output cache is up to date too.
8875 (top level): Run `&handle_m4' iff force or the cache is invalid.
8876 Run `&handle_output' if the output cache is more recent.
8878 2001-08-04 Akim Demaille <akim@epita.fr>
8880 * bin/autom4te.in ($force): New.
8881 (&parse_args, &print_usage): -f, --force is a new option.
8882 (&handle_output): CPP directives might have spaces after `#'.
8883 (&parse_args): The first file only can be frozen.
8885 2001-08-04 Akim Demaille <akim@epita.fr>
8887 Don't let autom4te compute the `include' traces several times:
8888 first check that the trace cache file is up to date, and then
8889 compare its timestamp with that of the output.
8891 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
8892 the preamble. Don't require 5.005 as Autom4te::General does it,
8893 and better yet (use `use', not `require'!).
8894 * lib/Autom4te/Struct.pm: Rename the last occurrences of
8895 Class::Struct as Autom4te::Struct.
8896 * lib/Autom4te/General.pm (File::stat): Use it.
8897 (&mtime): New, export it.
8898 * bin/autom4te.in: Use it.
8899 Declare `$req' is invalid if it is outdated.
8900 Don't declare it valid before saving it if something went wrong.
8902 2001-08-04 Akim Demaille <akim@epita.fr>
8904 Autom4te shall not encode Autoconf data, and preselecting traces
8905 must be proposed to the users.
8907 * bin/autom4te.in (@required_trace): Remove.
8909 (&parse_args, &print_usage): -p, --preselect is a new option.
8910 (&up_to_date_p): Adjust.
8911 * bin/autoconf.in: Preselect some Autoconf macros.
8913 2001-08-04 Akim Demaille <akim@epita.fr>
8915 * tests/tools.at (autoconf --trace: user macros): Check traces on
8916 macros invoked without arguments, and macros invoked with multiple
8919 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
8921 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
8924 2001-08-03 Akim Demaille <akim@epita.fr>
8926 * bin/autoconf.in ($@): Work around the usual sh bug.
8929 2001-08-03 Akim Demaille <akim@epita.fr>
8931 Clean up the handling of the M4 builtins tracing exception.
8933 * bin/autom4te.in (Request::request): Don't complete M4 builtins
8935 (@m4_builtins): Rename as...
8936 (@m4_builtin): this.
8937 (%m4_builtin_alternate_name): New.
8938 (&parse_args): Complete the trace requests with alternate names.
8939 (&handle_traces): Hence no longer do it here.
8940 (&trace_requests): Remove, unused.
8942 2001-08-03 Akim Demaille <akim@epita.fr>
8944 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
8947 2001-08-03 Akim Demaille <akim@epita.fr>
8949 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
8950 (m4_divert_pop): Dump the whole diversion stack when a diversion
8952 * bin/autom4te.in (&handle_output): Remember of the first
8953 occurrence of a possibly undefined macro, not the last.
8954 Complain about the possibly undefined macros in the same order as
8955 the appear in the output.
8956 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
8957 * tests/tools.at (autoconf: forbidden tokens, basic)
8958 (autoconf: forbidden tokens, exceptions): No longer sort
8959 autoconf's stderr, as it is now deterministic.
8960 Check that `dnl' is caught.
8962 2001-08-01 Akim Demaille <akim@epita.fr>
8964 * configure.ac: Bump to 2.52c.
8966 2001-08-01 Akim Demaille <akim@epita.fr>
8970 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
8972 2001-08-01 Akim Demaille <akim@epita.fr>
8976 2001-08-01 Akim Demaille <akim@epita.fr>
8978 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
8981 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
8982 `END', as `Autom4te::General::END' will be triggered.
8983 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
8984 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
8985 system to run `mv', `rm', and `cmp'.
8987 2001-08-01 Akim Demaille <akim@epita.fr>
8989 * lib/Autom4te/General.pm (&unique): New.
8990 * bin/autoscan.in (&output): Use it to issue trace requests once.
8992 2001-08-01 Akim Demaille <akim@epita.fr>
8994 * lib/Autom4te/General.pm: New.
8995 * bin/autom4te.in (Autom4te::General): Use it.
8996 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
8997 (&find_configure_ac, &find_slave): Remove.
8998 * bin/autoscan.in: Likewise.
8999 * bin/autoupdate.in: Likewise.
9001 2001-08-01 Akim Demaille <akim@epita.fr>
9003 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
9004 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
9005 * bin: here, new directory.
9006 * lib/Autoconf: Rename as...
9007 * lib/Autom4te: this, to please case insensitive junkie OSes.
9009 2001-08-01 Akim Demaille <akim@epita.fr>
9011 * autom4te.in ($m4): Handle the --nesting-limit.
9012 * autoconf.in (M4): Remove.
9014 2001-08-01 Akim Demaille <akim@epita.fr>
9016 * autoconf.in ($AWK): Remove, no longer used.
9017 * test/tools.at: Use AT_CHECK_AUTOCONF.
9018 (AWK portability): Remove, for autoconf no longer uses AWK.
9019 (Syntax of the Perl scripts): New.
9020 * configure.ac: autoconf no longer needs an AWK with a good
9022 Use a static test on AC_PACKAGE_VERSION.
9023 * autom4te.in (&up_to_date_p): Output depends on the arguments.
9024 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
9025 * tests/atconfig.in (PERL): New.
9027 2001-08-01 Akim Demaille <akim@epita.fr>
9029 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
9030 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
9031 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
9032 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
9033 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
9034 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
9035 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
9036 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
9037 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
9038 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
9039 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
9040 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
9041 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
9042 * lib/autoconf/c.m4: here, new file.
9044 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
9045 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
9046 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
9047 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
9048 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
9049 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
9050 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
9051 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
9052 (AC_F77_FUNC): Move to...
9053 * lib/autoconf/fortran.m4: here, new file.
9055 2001-08-01 Akim Demaille <akim@epita.fr>
9057 * acfunctions.m4: Rename as...
9058 * lib/autoconf/functions.m4: this.
9059 * acgeneral.m4: Rename as...
9060 * lib/autoconf/general.m4: this.
9061 * acheaders.m4: Rename as...
9062 * lib/autoconf/headers.m4: this.
9063 * aclang.m4: Rename as...
9064 * lib/autoconf/lang.m4: this.
9065 * acoldnames.m4: Rename as...
9066 * lib/autoconf/oldnames.m4: this.
9067 * acspecific.m4: Rename as...
9068 * lib/autoconf/specific.m4: this.
9069 * actypes.m4: Rename as...
9070 * lib/autoconf/types.m4: this.
9071 * autoconf.m4: Rename as...
9072 * lib/autoconf/autoconf.m4: this.
9074 * m4sugar.m4: Rename as...
9075 * lib/m4sugar/m4sugar.m4: this.
9076 * m4sh.m4: Rename as...
9077 * lib/m4sugar/m4sh.m4: this.
9079 * tests/atgeneral.m4: Rename as...
9080 * lib/autotest/general.m4: this.
9082 * acfunctions: Rename as...
9083 * lib/autoscan/functions: this.
9084 * acheaders: Rename as...
9085 * lib/autoscan/headers: this.
9086 * acidentifiers: Rename as...
9087 * lib/autoscan/identifiers: this.
9088 * aclibraries: Rename as...
9089 * lib/autoscan/libraries: this.
9090 * acmakevars: Rename as...
9091 * lib/autoscan/makevars: this.
9092 * acprograms: Rename as...
9093 * lib/autoscan/programs: this.
9095 2001-08-01 Akim Demaille <akim@epita.fr>
9097 * doc/autoconf.texi: Moving/deleting open files is not portable.
9098 Portability issues for `.' (source), and more information about sed.
9100 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
9102 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
9103 which has a special meaning and is not a reference to libibmil.a.
9104 Reported by Matteo Frigo.
9106 2001-07-25 Pavel Roskin <proski@gnu.org>
9108 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
9111 2001-07-25 Akim Demaille <akim@epita.fr>
9113 * autoconf.in: Try to define the variables before using them.
9114 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
9115 instead of `$perllibdir'.
9116 * tests/atconfig.in ($autom4te_perllibdir): Export it.
9118 2001-07-25 Akim Demaille <akim@epita.fr>
9120 * autoconf.in (ac_LF_and_DOT): Remove, unused.
9122 2001-07-24 Akim Demaille <akim@epita.fr>
9124 Let autoconf use autom4te for traces.
9126 * autoconf.in ($task, task trace): Remove, merely pass --trace to
9128 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
9129 (Because I found no way for autom4te to accept `-').
9130 * autom4te.in (&Request::request): Beware of M4 builtins.
9131 (END): Don't try to remove the content of an empty dir.
9132 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
9133 (&handle_output): Set a default value to `$forbidden'.
9134 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
9135 ($autoconf): Pass --debug and --verbose.
9136 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
9139 2001-07-24 Akim Demaille <akim@epita.fr>
9141 Let autoconf use autom4te to create configure.
9143 * autoconf.in ($automate): New var.
9144 (task script): Use autom4te.
9145 * autom4te.in (File::Spec): Use it.
9147 (&parse_args): --warning is -W, not -w.
9148 Find the top level files.
9149 (&handle_m4): Pass the warnings flags.
9150 Don't report verbosely m4's failures, unless requested.
9151 (&handle_output): Don't complain for forbidden tokens in comments.
9152 Be sure to report all the forbidden tokens within a single line.
9153 (&trace_format_to_m4): Preserve `$_'.
9154 (&handle_traces): Sort the output macros.
9155 (&up_to_date_p): Find the files before trying to get its time stamp.
9157 2001-07-24 Akim Demaille <akim@epita.fr>
9159 * Makefile.am: Ship, build and install Autom4te.
9161 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
9162 * configure.in: Require Perl.
9163 * man/autom4te.in: New.
9165 2001-07-19 Paul Eggert <eggert@twinsun.com>
9167 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
9168 example, rather than (exit 1); exit (which isn't portable).
9170 2001-07-18 Akim Demaille <akim@epita.fr>
9174 2001-07-18 Akim Demaille <akim@epita.fr>
9176 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
9177 was run, while they are needed also when it is expanded.
9178 Reported by Nicolas Joly.
9180 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
9181 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
9182 AC_F77_DUMMY_MAIN being expanded.
9184 2001-07-18 Akim Demaille <akim@epita.fr>
9186 * configure.in: Bump to 2.51a.
9188 2001-07-17 Akim Demaille <akim@epita.fr>
9192 2001-07-17 Akim Demaille <akim@epita.fr>
9194 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
9195 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
9197 2001-07-17 Akim Demaille <akim@epita.fr>
9199 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
9200 used. Well, then use the prototypes when you can, and runtime as
9202 Reported by Artur Frysiak
9204 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
9205 (AC_FUNC_GETPGRP): Use it.
9206 First try to compile with 0-ary or 1-ary calls.
9208 2001-07-17 Akim Demaille <akim@epita.fr>
9210 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
9214 2001-07-17 Akim Demaille <akim@epita.fr>
9216 * Makefile.maint: Sync. with cppi 1.10.
9218 2001-07-17 Akim Demaille <akim@epita.fr>
9220 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
9221 AC_F77_DUMMY_MAIN has been run.
9222 From Pavel Roskin and Steven G. Johnson.
9224 2001-07-17 Akim Demaille <akim@epita.fr>
9226 * configure.in: Rename as...
9227 * configure.ac: this.
9229 2001-07-17 Akim Demaille <akim@epita.fr>
9231 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
9234 * Makefile.maint (release-archive-dir): Rename as...
9235 (release_archive_dir): this, so that it can be specialized in
9238 2001-07-14 Akim Demaille <akim@epita.fr>
9240 * configure.in: Bump to 2.50d.
9242 2001-07-14 Akim Demaille <akim@epita.fr>
9245 * Makefile.maint (alpha): Typo.
9247 2001-07-14 Akim Demaille <akim@epita.fr>
9249 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
9251 2001-07-14 Akim Demaille <akim@epita.fr>
9253 * config/config.guess, config/config.sub, config/texinfo.tex
9254 * doc/standards.texi, doc/make-stds.texi: Update.
9256 2001-07-14 Akim Demaille <akim@epita.fr>
9258 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
9260 2001-07-14 Akim Demaille <akim@epita.fr>
9262 * Makefile.maint (maintainer-check): Rename as...
9263 (maintainer-distcheck): this.
9264 (changelog-check, static-check): New.
9267 2001-07-14 Kevin Ryde <user42@zip.com.au>
9269 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
9270 for CXX is g++, not gcc.
9272 2001-07-14 Akim Demaille <akim@epita.fr>
9274 * doc/autoconf.texi (Files): New subsection.
9276 2001-07-14 Akim Demaille <akim@epita.fr>
9278 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
9280 (Generic Compiler Characteristics): this.
9281 (C++ Compiler): New subsection.
9283 2001-07-14 Akim Demaille <akim@epita.fr>
9285 * autoscan.in: Use IO::File.
9286 Adjust all the routines to use it.
9287 ($log): New file (autoscan.log).
9288 (output): Dump detailed logs into $log, and a shortened version to
9290 (&scan_makefile): Refine the regexp catching tokens in the code.
9291 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
9292 and the `configure.ac' checking feature.
9294 2001-07-12 Akim Demaille <akim@epita.fr>
9296 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
9297 Reported by Michael Elizabeth Chastain.
9299 * autoconf.in: Refuse such AWK.
9300 * configure.in: Likewise.
9301 * Makefile.am (acversion.m4): Do not use move-if-change this file
9303 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
9305 2001-07-10 Jens Petersen <petersen@redhat.com>
9307 * autoscan.in (&scan_makefile): Improve programs regexp to parse
9308 things like "g++", "file.c" and "some-conf" as tokens.
9309 (&scan_file): Match C++ files extensions.
9310 If the filename extension is C++ then ask for c++.
9312 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
9314 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
9315 AC_TRY_LINK_FUNC, to check whether defining a dummy
9316 main-like routine is needed for linking with F77 libs.
9318 2001-07-05 Pavel Roskin <proski@gnu.org>
9320 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
9322 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
9325 2001-07-05 Akim Demaille <akim@epita.fr>
9327 * Makefile.am (move_if_change): New. Use it instead of `mv'.
9328 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
9330 Reported by Nicolas Joly.
9332 2001-07-04 Akim Demaille <akim@epita.fr>
9334 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
9336 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
9337 warnings from compilers.
9338 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
9339 for all the compilers, not only GNU. Hence move from here...
9340 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
9342 2001-07-04 Akim Demaille <akim@epita.fr>
9344 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
9345 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
9348 2001-07-04 Akim Demaille <akim@epita.fr>
9350 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
9351 the ``strings.h'' change claimed below.
9353 2001-07-04 Akim Demaille <akim@epita.fr>
9355 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
9357 2001-07-04 Akim Demaille <akim@epita.fr>
9359 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9360 strings.h if usable with string.h.
9361 Suggested by Paul Eggert.
9363 2001-07-04 Akim Demaille <akim@epita.fr>
9365 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
9368 2001-07-03 Akim Demaille <akim@epita.fr>
9370 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
9373 2001-07-03 Akim Demaille <akim@epita.fr>
9375 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
9376 compiler, not the preprocessor.
9377 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
9378 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
9380 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
9381 earlier if there are.
9383 2001-07-03 Akim Demaille <akim@epita.fr>
9385 * autoscan.in ($initfile): Remove.
9386 (&find_file): Rename as...
9388 Immediately scan the current file, instead of gathering them, and
9389 later having them handled by &scan_files.
9390 (&scan_files): Merely invoke Find::File.
9393 2001-07-02 Akim Demaille <akim@epita.fr>
9395 * autoscan.in: Formatting changes, matching the invocation order.
9396 (File::Find): Use it instead of Perl 4's `find.pl'.
9397 (&wanted): Rename as...
9400 2001-07-01 Pavel Roskin <proski@gnu.org>
9402 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
9403 break in the argument to AC_TRY_LINK_FUNC.
9404 (AC_F77_MAIN): Remove conftest* after using break in the
9405 argument to AC_TRY_LINK.
9407 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
9409 Add alternate 'main' routine detection for linking C/C++ with Fortran,
9410 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
9412 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
9413 dummy alternate main is required even if the user provides her own
9415 (AC_F77_MAIN): New macro to detect whether it is possible to
9416 provide an alternate 'main' function name, using the 'main' from
9417 the Fortran libraries.
9418 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
9419 cross-language link tests can be performed successfully.
9420 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
9421 after $LIBS, for consistency; this should be the general rule since
9422 the user may want to link to Fortran libraries that require $FLIBS.
9423 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
9425 2001-06-29 Pavel Roskin <proski@gnu.org>
9427 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
9428 at-stdout and at-stderr instead of removing the newline
9429 from the echo output, which is not guaranteed to work.
9431 2001-06-28 Jens Petersen <petersen@redhat.com>
9433 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
9434 confdefs.h when non-zero.
9436 2001-06-28 Akim Demaille <akim@epita.fr>
9438 * configure.in: Bump to 2.50c.
9440 2001-06-26 Akim Demaille <akim@epita.fr>
9444 2001-06-26 Akim Demaille <akim@epita.fr>
9448 2001-06-25 Pavel Roskin <proski@gnu.org>
9450 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
9451 argument, AUTOCONF-FLAGS.
9452 * tests/mktests.sh (update_exclude_list): Add
9453 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
9454 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
9455 AC_FUNC_WAIT3 with "-W no-obsolete".
9457 2001-06-25 Akim Demaille <akim@epita.fr>
9459 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
9461 2001-06-25 Akim Demaille <akim@epita.fr>
9463 * autoscan.in (%macro): Now maps from word to list of macros.
9464 (&init_tables): Die when a word which is already handled by
9465 explicit macros is mapped to the default macro.
9466 (&print_unique): Remove, inlined in...
9467 (&output_kind): here.
9468 (File::Basename): Use it.
9469 (&output): Sort the CONFIG_FILES.
9470 * acheaders: Normalize.
9471 * acfunctions: Likewise.
9473 2001-06-25 Akim Demaille <akim@epita.fr>
9475 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
9476 characteristics in the logs.
9477 Suggested by Mo DeJong.
9479 2001-06-24 Akim Demaille <akim@epita.fr>
9481 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
9482 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
9483 * doc/autoconf.texi (Autoconf 2.13): New section.
9485 2001-06-24 Akim Demaille <akim@epita.fr>
9487 * autoconf.in (Task traces): Separate the error messages from the
9488 traces to improve robustness.
9490 2001-06-23 Akim Demaille <akim@epita.fr>
9492 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
9493 three as failures are unlikely, and speed matters.
9495 2001-06-23 Akim Demaille <akim@epita.fr>
9497 * doc/autoconf.texi (Redefined M4 Macros): New.
9499 2001-06-23 Akim Demaille <akim@epita.fr>
9501 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
9502 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
9505 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
9507 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
9508 config.status targets to after the evaluation of the INIT-CMDS.
9509 Double quote config.status targets (used to be single quoted).
9511 2001-06-23 Akim Demaille <akim@epita.fr>
9513 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
9514 Check the content of the created file.
9515 Check the ./config.status command line invocation.
9517 2001-06-23 Akim Demaille <akim@epita.fr>
9519 * tests/foreign.at (Libtool): Reject prehistoric versions.
9521 2001-06-23 Akim Demaille <akim@epita.fr>
9523 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
9524 preexisting files matching a.*.
9526 2001-06-23 Akim Demaille <akim@epita.fr>
9528 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
9530 * doc/autoconf.texi (AC_ARG_VAR): Update.
9532 2001-06-21 Akim Demaille <akim@epita.fr>
9534 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
9535 precious variables have changed.
9536 * tests/torture.at (AC_ARG_VAR): Adjust.
9538 2001-06-21 Akim Demaille <akim@epita.fr>
9540 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
9541 but some sed choke on multiple `;', and other tools (e.g.,
9542 Automake), include the separator themselves.
9544 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
9546 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
9548 * doc/autoconf.texi (Functions Portability): Rename as...
9549 (Function Portability): this.
9550 (Function Portability): Document potential problems with unlink().
9552 2001-06-19 Paul Eggert <eggert@twinsun.com>
9554 * NEWS, doc/autoconf.texi: Document quadrigraphs.
9556 2001-06-18 Akim Demaille <akim@epita.fr>
9558 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
9560 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
9562 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
9563 (_AC_FUNC_VFORK): this.
9564 Remove AC_DEFINEs and don't guess cross-compilation values.
9565 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
9566 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
9567 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
9569 Guess values if cross-compiling, but warn.
9570 * acfunctions: Add AC_FUNC_FORK.
9571 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
9572 and vfork appropriately.
9574 2001-06-18 Akim Demaille <akim@epita.fr>
9576 * doc/autoconf.texi (Functions Portability): New section.
9578 2001-06-18 Akim Demaille <akim@epita.fr>
9580 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
9582 Suggested by Andreas Schwab.
9584 2001-06-18 Akim Demaille <akim@epita.fr>
9586 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
9587 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
9588 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
9589 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
9590 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
9591 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
9592 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
9595 2001-06-18 Akim Demaille <akim@epita.fr>
9597 * doc/autoconf.texi (ms): New index.
9598 (Macro Index): Rename as...
9599 (Autoconf Macro Index): this.
9600 (M4 Macro Index): New appendix.
9601 (Programming in M4): New chapter.
9602 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
9603 (Quoting): Rename as...
9604 (M$ Quotation): this.
9605 Be part of `Programming in M4).
9607 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
9609 * tests/torture.at (AC_ARG_VAR): Set variables and export them
9610 in separate statements for compatibility with Tru64 v5.1.
9612 2001-06-17 Akim Demaille <akim@epita.fr>
9614 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
9615 current values of the precious variables, not the previously
9617 Pass precious variables which are set to config.status.
9618 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
9619 * tests/torture.at (AC_ARG_VAR): New.
9621 2001-06-15 Paul Eggert <eggert@twinsun.com>
9623 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
9624 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
9625 and explain why and how to replace them.
9626 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
9627 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
9629 2001-06-15 Akim Demaille <akim@epita.fr>
9631 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
9632 Reported by Bruno Haible.
9634 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
9635 (_AC_ARG_VAR_PRECIOUS): to here.
9637 2001-06-15 Pavel Roskin <proski@gnu.org>
9639 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
9640 an unused pointer use cast to this type and `if' statement to
9641 avoid warnings from the compiler.
9642 (AC_HEADER_TIME): Likewise.
9643 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
9644 in `if' statement to avoid warnings from the compiler. Declare
9645 ac_aggr static to avoid the need to initialize it.
9647 2001-06-14 Akim Demaille <akim@epita.fr>
9649 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
9652 2001-06-13 Akim Demaille <akim@epita.fr>
9654 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
9655 Suggested by Alexander Mai.
9657 2001-06-13 Akim Demaille <akim@epita.fr>
9659 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
9660 sys/types.h and sys/stat.h, and check for them.
9662 2001-06-13 Akim Demaille <akim@epita.fr>
9664 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
9667 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
9669 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
9670 succeeds and only try adding libdnet upon a failure.
9672 2001-06-12 Akim Demaille <akim@epita.fr>
9674 * autoscan.in (&output_kind): Output the comment only if it exists.
9675 (%kind_comment): Add entry for `programs'.
9676 (&output_programs): Use &output_kind.
9677 (&output_functions, &output_identifiers, &output_headers)
9678 (&output_programs): Inline, and remove.
9680 2001-06-12 Akim Demaille <akim@epita.fr>
9682 * autoscan.in (%kind_comment): New.
9684 (output_functions, output_identifiers, output_headers): Use it.
9686 2001-06-12 Akim Demaille <akim@epita.fr>
9688 * autoscan.in (&print_unique): Take `$kind' and `$word' as
9689 arguments, to factor indirections into `%macro' and `%used'.
9690 (%generic_macro): Fix a typo.
9692 2001-06-12 Akim Demaille <akim@epita.fr>
9695 * autoscan.in (@kinds): Add `libraries'.
9696 Use `@kinds' instead of hard coded lists.
9697 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
9698 Remove, replaced by...
9701 2001-06-12 Akim Demaille <akim@epita.fr>
9703 * autoscan.in (%functions_macros %headers_macros)
9704 (%identifiers_macros %programs_macros %makevars_macros): Remove,
9708 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
9710 * aclang.m4 (AC_NO_EXECUTABLES): Override
9711 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
9713 2001-06-11 Akim Demaille <akim@epita.fr>
9715 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
9717 Reported by Andreas Schwab.
9719 2001-06-11 Akim Demaille <akim@epita.fr>
9721 * Makefile.am, Makefile.maint: Typos.
9723 2001-06-09 Akim Demaille <akim@epita.fr>
9725 * doc/autoconf.texi (Here-Documents): New section, gathering
9726 documentation about here-documents.
9727 Use `href', not `uref', and other changes.
9729 2001-06-09 Akim Demaille <akim@epita.fr>
9731 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
9734 2001-06-09 Akim Demaille <akim@epita.fr>
9736 * doc/autoconf.texi (Limitations of Builtins): Complete the
9737 description of the here-docs penalties with Alexandre Oliva's
9740 2001-06-01 Paul Eggert <eggert@twinsun.com>
9742 * doc/autoconf.texi: Talk about here documents and speedups.
9743 Do not use "echo" on arbitrary strings.
9744 Spell "here-documents" consistently with the standard.
9746 2001-06-09 Akim Demaille <akim@epita.fr>
9748 * doc/autoconf.texi (Concept Index): Introduce it.
9749 Regenerate the menus.
9751 2001-06-09 Akim Demaille <akim@epita.fr>
9753 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
9754 * config/prev-version.txt: New.
9755 * config/move-if-change: New, for GNU libc.
9757 2001-06-06 Pavel Roskin <proski@gnu.org>
9759 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
9761 2001-06-06 Akim Demaille <akim@epita.fr>
9763 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
9764 properly when $1 is not a literal.
9765 Fixes PR Autoconf/187, reported by Bram Moolenaar.
9767 2001-06-06 Akim Demaille <akim@epita.fr>
9769 Invoking AC_COPYRIGHT before AC_INIT fails.
9771 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
9772 * acgeneral.m4 (_m4_divert(VERSION_FSF))
9773 (_m4_divert(VERSION_USER)): New.
9774 (AC_COPYRIGHT): $2 is the diversion to use.
9775 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
9776 (AC_INIT): Remove dead comments as now it's commutative.
9778 2001-06-06 Akim Demaille <akim@epita.fr>
9780 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
9783 2001-06-05 Akim Demaille <akim@epita.fr>
9785 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
9787 `*dir' variables cannot be NONE.
9788 Reported by Mark Kettenis.
9790 2001-06-05 Paul Eggert <eggert@twinsun.com>
9792 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
9794 2001-06-04 Akim Demaille <akim@epita.fr>
9796 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
9797 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
9798 (AC_TR_SH): Move as...
9799 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
9800 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
9802 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
9803 (_AS_TR_SH_PREPARE): New.
9804 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
9805 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
9807 2001-06-02 Akim Demaille <akim@epita.fr>
9809 * Makefile.am (.m4.m4f): Pass the options first.
9810 Fixes PR autoconf/182.
9812 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
9814 GNU getopt, when POSIXLY_CORRECT does not permute options and
9815 arguments. So pass the options first.
9816 Fixes PR autoconf/184.
9818 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
9819 (run_m4): Remove files.
9821 Update remainder of script to use them.
9822 (for warning in): Do not use a literal comma as it will not be
9825 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
9827 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
9828 Fortran compilers to check.
9829 (_AC_PROG_F77_V): Add '-###' as a possible option to print
9830 information on library and object files.
9831 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
9834 2001-06-02 Akim Demaille <akim@epita.fr>
9836 * autom4te.in (Request::@request): Declare with `vars', not `my',
9837 as it prevents updates via `do FILENAME'.
9839 2001-06-02 Akim Demaille <akim@epita.fr>
9841 * configure.in (standards_texi): Remove, dead code.
9843 2001-06-02 Akim Demaille <akim@epita.fr>
9847 2001-06-02 Pavel Roskin <proski@gnu.org>
9849 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
9850 for signals other than 0 - exit with code 1.
9851 * m4sh.m4 (AS_TMPDIR): Likewise.
9852 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
9853 * autoheader.in: Likewise.
9854 * autoreconf.in: Likewise.
9855 * tests/torture.at (Signal handling): New test for the above.
9857 2001-06-01 Akim Demaille <akim@epita.fr>
9859 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
9862 2001-05-31 Akim Demaille <akim@epita.fr>
9864 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
9865 Add copyright and comments.
9866 * acheaders: Add stdint.h.
9867 Suggested by Paul Eggert.
9869 2001-05-31 Akim Demaille <akim@epita.fr>
9871 * atgeneral.m4 (AT_INIT): Use $SHELL.
9872 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
9874 2001-05-31 Akim Demaille <akim@epita.fr>
9876 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
9878 From Paul Eggert and Lars Hecking.
9880 2001-05-31 Akim Demaille <akim@epita.fr>
9882 * tests/base.at: Adjust line numbers in error messages.
9884 2001-05-31 Akim Demaille <akim@epita.fr>
9886 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
9887 to emit the bangshe line.
9888 Reported by David Carter.
9890 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
9892 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
9893 Fortran (95) compilers to check.
9895 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
9897 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
9900 2001-05-23 Pavel Roskin <proski@gnu.org>
9902 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
9903 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
9904 (AC_PROG_CXXCPP): Likewise.
9906 2001-05-22 Akim Demaille <akim@epita.fr>
9908 * config: New directory.
9909 * configure.in: AC_CONFIG_AUX_DIR it.
9910 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
9912 2001-05-22 Akim Demaille <akim@epita.fr>
9914 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
9915 * autoupdate.in: Specify the Emacs mode.
9916 * acversion.m4.in: Rename as...
9917 * acversion.m4: this.
9918 * tests/Makefile.am (CLEANFILES): More garbage.
9920 2001-05-22 Akim Demaille <akim@epita.fr>
9922 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
9924 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
9927 2001-05-21 Akim Demaille <akim@epita.fr>
9929 * configure.in: Bump to 2.50a.
9933 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9935 This file is part of GNU Autoconf.
9937 GNU Autoconf is free software; you can redistribute it and/or modify
9938 it under the terms of the GNU General Public License as published by
9939 the Free Software Foundation; either version 2, or (at your option)
9942 GNU Autoconf is distributed in the hope that it will be useful,
9943 but WITHOUT ANY WARRANTY; without even the implied warranty of
9944 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9945 GNU General Public License for more details.
9947 You should have received a copy of the GNU General Public License
9948 along with autoconf; see the file COPYING. If not, write to
9949 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
9950 Boston, MA 02110-1301, USA.