1 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
3 * TODO: Remove already done things. Update the part
4 about finding tools for the target.
6 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
8 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H,
9 AC_DIR_HEADER): Make wording more consistent.
10 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2,
11 AC_MINGW32): Explain the transition better.
12 * lib/autoconf/types.m4 (AC_INT_16_BITS,
13 AC_LONG_64_BITS): Explain the transition better.
15 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
17 * doc/autoconf.texi (Obsoleting Macros): Don't
18 document the third parameter of AU_DEFUN.
19 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
20 (AU_DEFUN): Remove the third parameter, it was not used.
21 Use AC_DEFUN directly, not AU_DEFINE.
22 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message
23 into the expanded body, consistently with other macros
26 2003-11-17 Paul Eggert <eggert@twinsun.com>
28 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
29 into the initial confdefs.h, to work around a bug in NextStep 3.3
30 patch 3 reported by Eric Sunshine.
32 2003-11-15 Kevin Ryde <user42@zip.com.au>
34 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
35 than $target since the latter is not usual, add guidelines on when to
36 use or not use the system type.
38 2003-11-12 Derek Price <derek@ximbiot.com>
40 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
41 typo misrepaired by an auto-spellcheck.
43 2003-11-12 Akim Demaille <akim@epita.fr>
45 * bin/autoreconf.in (&parse_args): Don't call automake with
46 --force-missing unless it actually supports it.
49 2003-11-12 Akim Demaille <akim@epita.fr>
51 * configure.ac: Bump to 2.59a.
54 2003-11-06 Akim Demaille <akim@epita.fr>
58 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
60 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
61 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
62 and ac_abs_top_srcdir are absolute paths.
63 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
65 2003-11-05 Akim Demaille <akim@epita.fr>
67 * configure.ac: Bump to 2.58a.
69 2003-11-05 Kevin Ryde <user42@zip.com.au>
71 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
72 it provokes a warning from makeinfo about looking like a cross
73 reference in info output.
75 * doc/autoconf.texi (Function Portability): Add notes on signal
76 handler return type, as per AC_TYPE_SIGNAL.
78 2003-11-04 Akim Demaille <akim@epita.fr>
81 * doc/standards.texi: Update from master.
83 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
85 2003-11-04 Akim Demaille <akim@epita.fr>
87 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
88 computing the absolute path to d1 in the source hierarchy: it may
89 not exist at all. So don't cd into it.
90 From Alexandre Duret-Lutz.
91 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
93 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
94 From Paul Eggert, but named after Perl's IO::Spec->catfile.
95 * doc/autoconf.texi (Programming in M4sh): Document.
96 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
98 2003-11-03 Pavel Roskin <proski@gnu.org>
100 * doc/autoconf.texi (Generic Structure Checks): Describe
101 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
103 2003-10-31 Akim Demaille <akim@epita.fr>
105 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
107 * doc/autoconf.texi (Language Choice): Document.
108 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
109 the current language is Fortran.
111 2003-10-31 Akim Demaille <akim@epita.fr>
113 * bin/autom4te.in (&freeze): Use a less likely warning separator
114 than `\n\n', so that `\n\n\n' is valid in warnings.
115 Reported by Steve Huston.
117 2003-10-28 Akim Demaille <akim@epita.fr>
119 * Makefile.cfg (local_updates, executable-update): Tweak to be
120 robust to parallel makes.
121 Suggested by Alexandre Duret-Lutz.
123 2003-10-27 Akim Demaille <akim@epita.fr>
125 * Makefile.cfg (executable-update): New.
126 (local_updates): Call it.
128 2003-10-27 Akim Demaille <akim@epita.fr>
130 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
131 Don't remove core.* as it may remove valid user files.
132 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
133 (AC_FUNC_UTIME_NULL): Likewise.
135 2003-10-23 Akim Demaille <akim@epita.fr>
138 * config/config.guess, config/config.sub: Upgrade from masters.
140 2003-10-23 Akim Demaille <akim@epita.fr>
142 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
143 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
146 2003-10-23 Akim Demaille <akim@epita.fr>
148 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
149 Don't forget to remove conftest.err.
151 2003-10-23 Akim Demaille <akim@epita.fr>
153 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
154 same object file in $LIBOBJS.
155 Reported by Alexandre Duret-Lutz & Derek Robert Price.
156 * doc/autoconf.texi (Generic Functions): Adjust.
158 2003-10-20 Paul Eggert <eggert@twinsun.com>
160 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
161 Use 'eval', so that the resulting configure scripts work even if
162 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
164 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
166 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
167 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
168 (_AC_LINK_IFELSE): Check the werror flag.
169 * doc/autoconf.texi (Generic Compiler Characteristics): Document
173 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
175 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
176 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
177 override AC_LINK_IFELSE.
179 2003-10-15 Paul Eggert <eggert@twinsun.com>
181 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
182 pdksh 5.2.14. Bug reported by Ralf Corsepius.
183 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
184 Mention /usr/dt/bin/dtksh on Solaris.
185 (Shell Substitutions): Warn about $((...)).
186 (Parentheses): New section.
188 2003-10-15 Kevin Ryde <user42@zip.com.au>
190 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
191 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
193 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
195 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
198 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
200 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
201 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
203 2003-10-10 Andreas Schwab <schwab@suse.de>
205 * bin/autoheader.in: Avoid empty first line in --version and
207 * bin/ifnames.in: Likewise.
209 2003-10-09 Paul Eggert <eggert@twinsun.com>
211 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
212 Issue a more-informative diagnostic.
213 Problems reported by Eric Sunshine.
215 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
217 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
218 -mGLOB_options_string stuff for Intel ifc, which can cause
219 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
220 pattern-matching instead of grep.
222 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
224 * doc/autoconf.texi: Document new FC Fortran macros.
226 2003-10-08 Gary V. Vaughan <gary@gnu.org>
228 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
229 that future autopoint/aclocal/automake/autoreconf will be able
230 to trace to find where to install local m4 macros.
231 * doc/autoconf.texi (Input): Document it.
234 2003-10-06 Gary V. Vaughan <gary@gnu.org>
236 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
237 -lcrtbegin.o to list of ignored flags and fix underquoting of
240 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
242 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
243 cache variable instead of $G77 to decide whether to include -O2,
244 since $G77 is specific to Fortran 77.
246 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
248 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
249 free" flag. Re-order flags tested into rough order of popularity.
251 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
253 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
254 arguments so that it can be used with syntax identical to
255 AC_PROG_F77, and so that we can more easily decide to
256 remove/deprecate the DIALECT optional argument in the future if it
258 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
259 non-freeform-supporting compilers. Document freeform flags.
261 2003-10-03 Akim Demaille <akim@epita.fr>
263 * configure.ac: Look for emacs, not macs.
264 Reported by Eric Sunshine.
266 2003-10-03 Akim Demaille <akim@epita.fr>
268 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
269 * bin/autoreconf.in (autoreconf_current_directory): Create the
270 AUX_DIR if needed, for sake of automake --add-missing etc.
271 Suggested by Alexandre Duret-Lutz.
273 2003-10-03 Akim Demaille <akim@epita.fr>
275 * configure.ac: Quotation and formatting changes.
276 (EMACS): Don't set it if it is not recent enough to support
280 2003-10-02 Akim Demaille <akim@epita.fr>
282 * bin/ifnames.in (&scan_file): Skip C++ comments.
285 2003-10-01 Pavel Roskin <proski@gnu.org>
287 * doc/autoconf.texi (Particular Structure Checks):
288 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
290 2003-10-01 Akim Demaille <akim@epita.fr>
294 2003-09-30 Paul Eggert <eggert@twinsun.com>
296 * lib/Autom4te/XFile.pm: Use Errno.
297 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
298 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
300 2003-09-30 Akim Demaille <akim@epita.fr>
302 * config/announce-gen (&print_news_deltas): Extracted from...
303 (&print_changelog_deltas): here.
304 (&news_file): Rename as...
307 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
309 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
310 have been created when invoking the compiler.
311 * tests/fortran.at (GNU Fortran 77): Quote $G77.
313 2003-09-29 Akim Demaille <akim@epita.fr>
317 * config/mkinstalldirs: Upgrade.
319 2003-09-28 Paul Eggert <eggert@twinsun.com>
321 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
322 Problem reported by Lars J. Aas in
323 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
324 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
325 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
326 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
328 2003-09-26 Akim Demaille <akim@epita.fr>
330 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
331 directory for AC_CONFIG_COMMANDS' first argument exists.
332 This makes valid the invocation of _AC_SRCPATH that follows.
333 Reported by Eric Sunshine.
334 * doc/autoconf.texi (Configuration Commands): Adjust.
336 2003-09-26 Akim Demaille <akim@epita.fr>
338 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
339 Reported by Ralf Corsepius.
341 2003-09-26 Akim Demaille <akim@epita.fr>
343 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
345 Actually, use AU_ALIAS.
348 2003-09-26 Paul Eggert <eggert@twinsun.com>
350 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
351 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
352 Problem reported by Eric Sunshine in:
353 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
355 2003-09-26 Akim Demaille <akim@epita.fr>
357 The test suite are sometimes assigning timings incorrectly.
358 Reported by Henk Krus.
359 Diagnosed by Nicolas Joly.
361 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
363 Instead of making AT_help a sequence of assignments to grow
364 $at_help_all, just make AT_help_all be the growing contents of
365 $at_help_all, and make a single assignment in...
367 (at_times_skip): Flip the meaning and rename as...
369 (AT_INIT): When summarizing the test that ran, remove
370 $at_times_file after use, and check it is present before trying to
373 2003-09-25 Akim Demaille <akim@epita.fr>
377 * bin/Makefile.am (edit): Handle '@configure_input@'.
378 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
380 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
381 executables, not bin/ executables! Otherwise all the magic needed
382 to find non installed files is turned off. This caused a failure
383 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
384 as found in its environment (sent by tests/autoreconf): pointing
385 to bin/autom4te that could not find its files.
386 * tests/mktests.sh: Force the replacement of generated files, for
387 the sake of "mv" program that are interactive when overwriting a
389 * config/install-sh: Upgrade from CVS Automake.
391 2003-09-23 Paul Eggert <eggert@twinsun.com>
393 * doc/autoconf.texi (Limitations of Builtins): Document test -h
394 versus test -L issues.
396 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
397 Paul Eggert <eggert@twinsun.com>
399 Trivial change to support GCC's configuration procedure.
400 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
401 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
402 about inconsistency if the preprocessor is set to give errors for
404 * doc/autoconf.texi (C Compiler Characteristics): Document this.
406 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
408 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
409 and XFile.pm from Automake.
410 * lib/Autom4te/XFile.pm: Update from Automake.
412 2003-09-12 Akim Demaille <akim@epita.fr>
416 2003-09-12 Akim Demaille <akim@epita.fr>
418 * config/config.guess, config/config.sub, config/missing,
419 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
422 2003-09-12 Akim Demaille <akim@epita.fr>
424 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
427 2003-09-11 Akim Demaille <akim@epita.fr>
429 * doc/autoconf.texi (Header Portability): linux/random.h.
430 From Peter Hendrickson.
432 2003-09-10 Akim Demaille <akim@epita.fr>
434 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
435 willing to edit the output files.
437 2003-09-10 Akim Demaille <akim@epita.fr>
439 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
441 * tests/mktests.sh: Skip AC_FC_SRCEXT.
442 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
444 2003-09-09 Akim Demaille <akim@epita.fr>
446 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
447 Reported by Gary Vaughan.
448 * bin/autom4te.in (handle_m4): Likewise.
450 2003-09-09 Akim Demaille <akim@epita.fr>
452 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
455 2003-09-07 Paul Eggert <eggert@twinsun.com>
457 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
458 Improve the accuracy of the wording about obsolescence.
459 From a suggestion by Ian Lance Taylor in
460 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
462 2003-09-05 Paul Eggert <eggert@twinsun.com>
464 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
465 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
467 2003-09-04 Akim Demaille <akim@epita.fr>
469 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
472 2003-09-04 Akim Demaille <akim@epita.fr>
474 * bin/autom4te.in: Use &fatal where more appropriate than &error.
475 (freeze): When exiting, use $exit_code.
476 * lib/autoconf/fortran.m4: Comment changes.
478 2003-09-04 Akim Demaille <akim@epita.fr>
480 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
482 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
484 Add support for newer Fortran dialects. The F77 interface is
485 unchanged, and continues to support Fortran 77. New FC macros
486 correspond to all the old F77 macros, with output variables FC,
487 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
488 available dialect, but older dialects can be specified. There are
489 new macros AC_FC_SRCEXT to set the source extension, and
490 AC_FC_FREEFORM to accept free-form source files.
492 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
494 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
495 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
496 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
497 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
498 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
499 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
500 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
501 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
502 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
503 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
504 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
505 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
506 AC_FC_SRCEXT, AC_FC_FREEFORM):
508 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
509 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
510 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
511 Rewrite in terms of the above.
512 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
513 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
514 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
515 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
517 2003-09-02 Paul Eggert <eggert@twinsun.com>
519 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
520 Document problems with timestamp resolution that 'make', 'cp -p', and
523 2003-08-27 Akim Demaille <akim@epita.fr>
525 * tests/m4sugar.at (cross_warning): Make sure to enable the
526 output, so that we can track spurious m4sugar output.
527 * tests/local.at: Require 2.57.
528 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
529 are defaulted by AT_CHECK anyway.
530 Use AT_CHECK_AUTOM4TE.
531 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
534 2003-08-27 Akim Demaille <akim@epita.fr>
536 * bin/autoheader.in: Issue the "Using auxiliary..." message only
537 when -Wobsolete is set.
538 Set it on by default.
539 Suggested by Klee Dienes.
541 2003-08-27 Akim Demaille <akim@epita.fr>
543 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
547 2003-08-26 Akim Demaille <akim@epita.fr>
549 * doc/autoconf.texi (Output): Make clear that one can run code
552 2003-08-25 Akim Demaille <akim@epita.fr>
554 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
557 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
559 * bin/autoreconf.in (parse_args): Do not pass --no-force to
560 Automake versions prior to 1.8.
562 2003-08-25 Akim Demaille <akim@epita.fr>
564 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
567 2003-08-24 Akim Demaille <akim@epita.fr>
569 * configure.ac: Bump to 2.57c.
571 2003-08-22 Akim Demaille <akim@epita.fr>
575 * Makefile.cfg (local-checks-to-skip): New.
576 * Makefile.maint (local-check): Rename as...
577 (local-checks-available): this.
580 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
581 * configure.ac: Require Automake 1.7.6.
583 2003-08-22 Akim Demaille <akim@epita.fr>
585 Output stack traces in warnings.
587 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
588 Replace the former...
589 (m4_warn): Pass the call stack to _m4_warn.
590 * bin/autom4te.in: Adjust to output the call stack.
591 * tests/m4sugar.at (m4@&t@_warn): Adjust.
593 2003-08-22 Akim Demaille <akim@epita.fr>
595 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
596 * bin/autom4te.in: Adjust.
598 2003-08-21 Akim Demaille <akim@epita.fr>
600 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
602 (&getopt): Adjust the note and verb channels, depending upon
604 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
605 * bin/autoupdate.in: Adjust.
606 Use &verb, not &verbose.
608 2003-08-21 Akim Demaille <akim@epita.fr>
610 * bin/autoheader.in (&parse_args): Use &parse_warnings and
612 ($help): Use Autom4te::ChannelDefs::usage.
613 * bin/autoscan.in: Use Autom4te::ChannelDefs.
614 * lib/Autom4te/General.pm: Don't export error: you don't own it.
616 2003-08-21 Akim Demaille <akim@epita.fr>
618 First stab at preserving warnings between calls to autom4te,
619 including when the cache is used.
621 There are still several issues: (i) there are too many runs of m4
622 (one for include, one for warnings, and some more), (ii) warnings
623 spreading on several lines are not handled gracefully, (iii) the
624 code meant to have the call stack display for errors does not work
625 (its handling should move from m4 to autom4te).
627 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
629 (@preselect): Add m4_warn.
630 ($exit_status): Remove, use $exit_code.
631 ($help): Use Autom4te::ChannelDefs::usage.
632 (&handle_m4): No longer define the m4_warnings.
633 At each run, extract and report the warnings.
634 Always cache the result, including if the exit status is on
635 failure, since if nothing changes, we should result in the same
636 failure, hence we can use the cache.
637 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
638 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
640 (m4_warn): Redefine as a do-nothing: it is its invocation that
641 matters, as warnings are now reported via traces.
642 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
643 the contents of m4_warn: make it _call_ m4_warn, so that tracing
644 the latter reveals calls to the former.
648 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
650 2003-08-21 Akim Demaille <akim@epita.fr>
652 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
655 2003-08-21 Akim Demaille <akim@epita.fr>
657 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
659 * lib/Autom4te/ChannelDefs.pm: Doc typos.
660 (&parse_warnings): Accept a list of warning requests.
661 (&usage): Return a string, not a side effect.
662 (cross): New warning category.
664 2003-08-21 Akim Demaille <akim@epita.fr>
666 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
667 (&require_configure_ac): Accept an optional directory argument.
668 ($configure_ac): Remove.
669 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
671 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
672 * bin/autoscan.in: Adjust.
674 2003-08-20 Akim Demaille <akim@epita.fr>
676 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
677 Reported by Alexandre Duret-Lutz.
679 2003-08-20 Akim Demaille <akim@epita.fr>
681 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
682 * bin/autom4te: Adjust.
683 In particular, be Autoconf tools are really silent when properly
684 working, bind the verbosity of the 'note' channel to $verbose.
685 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
686 (&xsystem, &contents): Remove, since they are exported by...
687 * lib/Autom4te/FileUtils.pm: this.
689 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
690 * lib/Autom4te/FileUtils.pm: here.
692 2003-08-20 Akim Demaille <akim@epita.fr>
694 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
695 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
698 2003-08-20 Akim Demaille <akim@epita.fr>
700 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
701 (autom4te-update): New.
702 * Makefile.cfg (update): Bind autom4te-update.
704 2003-08-19 Derek Price <derek@ximbiot.com>
706 * lib/autotest/general.m4: Comment various HELP_* diversions.
707 (PARSE_ARGS_BEGIN): New section for option parsing related
709 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
710 package specific options and associated help.
712 2003-08-19 Akim Demaille <akim@epita.fr>
714 * config/announce-gen, Makefile.cfg: New.
715 * Makefile.am: Adjust.
716 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
718 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
720 * lib/autom4te.in (Automake-preselections): Preselect
721 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
724 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
726 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
727 (Autoconf-without-aclocal-m4): ... this new language.
728 * doc/autoconf.texi (autom4te Invocation): Mention
729 Autoconf-without-aclocal-m4.
731 2003-08-18 Derek Price <derek@ximbiot.com>
733 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
734 RUN-IF-PASS optional arguments.
736 2003-08-18 Derek Price <derek@ximbiot.com>
738 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
740 2003-08-16 Derek Price <derek@ximbiot.com>
742 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
743 STDOUT & STDERR arguments.
745 2003-08-14 Derek Price <derek@ximbiot.com>
747 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
748 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
749 shorter column three. Add DESCRIPTION to log file content.
751 2003-08-13 Derek Price <derek@ximbiot.com>
753 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
756 2003-08-12 Derek Price <derek@ximbiot.com>
758 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
759 (AT_CHECK_NOESCAPE): Move core functionality to...
760 (_AT_CHECK): ...this new macro.
762 2003-08-07 Derek Price <derek@ximbiot.com>
764 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
765 (AT_CHECK_NOESCAPE): ...to this new macro.
767 2003-07-31 Paul Eggert <eggert@twinsun.com>
769 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
770 in Bash 2.01. Problem reported by Brian Gough in
771 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
773 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
775 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
776 -lcrt1.o, for OS X. (trivial change)
778 2003-07-07 Paul Eggert <eggert@twinsun.com>
780 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
781 inside '#ifndef __cplusplus'. Problem reported by
784 2003-07-06 Bill Clarke <llib@computer.org>
786 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
787 'long', not 'int', for benefit of Sun's recent C++ compilers
788 (trivial change). See:
789 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
790 (This really should be 'intptr_t', not 'long', but that would
793 2003-06-25 Akim Demaille <akim@epita.fr>
795 * lib/Makefile.am (autom4te.cfg): Make it read only.
796 Depend on Makefile since it contains substitutions.
798 * lib/autom4te.in (args): Add local.at? for Autotest args.
799 This change was made on autom4te.cfg which is generated.
800 Reported by Raja R. Harinath.
802 2003-06-25 Akim Demaille <akim@epita.fr>
804 * doc/autoconf.texi (Header Portability): sys/mount.h.
805 From Gareth McCaughan.
807 2003-06-23 Akim Demaille <akim@epita.fr>
809 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
810 not all of them. This fixes 1. the fact that when testing
811 Autoconf there are many many config.log, 2. the incorrect use of
812 top_srcdir to find config.log.
813 Don't mix the detailed output of failed test with the summary of
814 failures. Rather, append detailed log afterwards.
816 2003-06-23 Akim Demaille <akim@epita.fr>
818 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
819 always run: output config.log on $at_group_log.
821 2003-06-23 Akim Demaille <akim@epita.fr>
823 * tests/torture.at (#define header templates): Don't use quotes in
824 C++ comments as it puzzles Emacs' sh font-lock-mode.
826 2003-06-23 Akim Demaille <akim@epita.fr>
828 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
829 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
830 * tests/atspecific.m4: Rename as...
831 * tests/local.at: This.
832 * tests/suite.at: Move the globals into...
833 * tests/local.at: here.
834 * tests/Makefile.am: Adjust.
835 * doc/autoconf.texi (testsuite Scripts): Adjust.
837 2003-06-21 Kevin Ryde <user42@zip.com.au>
839 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
840 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
841 ensuring we add -std1 for full-ANSI.
843 * doc/autoconf.texi (hdrindex): New macro.
844 Add index entries for portability of various standard header files.
846 2003-06-20 Akim Demaille <akim@epita.fr>
848 * configure.ac: Bump to 2.57b.
850 2003-06-20 Akim Demaille <akim@epita.fr>
854 2003-06-20 Akim Demaille <akim@epita.fr>
856 * bin/autom4te.in: Don't rely on $HOME being defined.
857 Reported by Marc Espie as PR/233.
859 2003-06-20 Akim Demaille <akim@epita.fr>
861 * lib/autotest/general.m4: Use at_times_file only if used.
864 2003-06-20 Akim Demaille <akim@epita.fr>
866 * config/config.guess, config/config.sub, config/elisp-comp,
867 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
870 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
872 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
873 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
874 (TEST_SCRIPT): New diversion.
875 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
876 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
877 (AT_INIT): Support for expected failures.
879 2003-06-02 Akim Demaille <akim@epita.fr>
881 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
883 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
884 Autoconf nor Automake.
885 (&contents): New, from Automake.
888 2003-05-28 Paul Eggert <eggert@twinsun.com>
890 * NEWS, doc/autoconf.texi (Particular Functions),
891 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
892 is the inverse of localtime.
894 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
896 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
897 (handle_exec_errors): New function. Work around $! being
898 altered by WEXITSTATUS.
899 (xqx, xsystem): Use handle_exec_errors.
901 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
903 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
904 Do not call `_exit()', simply modify `$?'.
905 (xsystem): Reset $! before running system, and check it afterward.
906 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
907 63 for version mismatches.
909 2003-05-23 Akim Demaille <akim@epita.fr>
911 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
912 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
913 the middle of a line).
914 * lib/m4sugar/m4sugar.m4: Likewise.
915 Remove useless spaces in comments.
917 2003-05-23 Akim Demaille <akim@epita.fr>
919 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
920 exit 63, so that we (or Automake's "missing") can tell the
921 difference with a plain failure.
922 * doc/autoconf.texi (Notices): Adjust.
924 2003-05-23 Akim Demaille <akim@epita.fr>
926 * Makefile.am, bin/Makefile.am, config/Makefile.am,
927 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
928 White spaces cleanup.
930 2003-05-22 Jim Meyering <jim@meyering.net>
931 Paul Eggert <eggert@twinsun.com>
933 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
934 Remove `#include <stdlib.h>' from the list; we should never
935 make confdefs.h include <stdlib.h> or <cstdlib>, because the
936 resulting namespace pollution would cause other tests to fail.
937 Configure scripts run with some older versions of g++ and HP's
938 aCC would fail due to such an #include. Problems reported by
939 Matthew Mueller in <http://bugs.debian.org/120704> and by
941 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
942 In the test, use the test declaration before including <stdlib.h>,
943 as that's closer to how it'll be used.
945 2003-05-23 Akim Demaille <akim@epita.fr>
947 * doc/autoconf.texi (Header Portability): ucred.h.
950 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
952 Overhaul Autotest's logging: generate separate log files
953 in testsuite.dir/NNN/testsuite.log, and append them to
954 testsuite.log instead of re-running the test verbosely.
956 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
957 file descriptor, write 0 to at_status_file instead of setting
958 at_status=0, initialize some new variables (at_status_file,
959 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
960 to rerun the tests, instead append the at_group_log to the
961 at_suite_log when a test fails.
962 (AT_SETUP): pipe the test case's output into at_tee_pipe,
963 with the AS_MESSAGE_LOG_FD redirected to stdout.
964 (AT_CLEANUP): save the output status in $at_status_file
965 and restore it, redirect the AS_MESSAGE_LOG_FD back to
967 (AT_CHECK): since tests are run with a redirected stdout,
968 and used to be re-run in verbose mode, turn some $at_verbose
969 into echo, and don't redirect the output of testing stdout
972 * lib/autotest/autoconf.texi (testsuite Scripts): Update
973 the name of the debugging directory and information about
976 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
978 * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
981 2003-05-22 Akim Demaille <akim@epita.fr>
983 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
984 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
985 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
986 * lib/autoconf/status.m4: Fix and adjust copyright notices.
988 2003-05-22 Akim Demaille <akim@epita.fr>
990 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
991 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
992 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
993 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
994 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
995 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
996 * lib/autoconf/status.m4, lib/autoconf/types.m4,
997 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
998 * tests/atspecific.m4, tests/base.at, tests/compile.at,
999 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1000 * tests/tools.at, tests/torture.at:
1001 Whitespace clean up.
1002 Suggested by Jim Meyering.
1004 2003-05-22 Akim Demaille <akim@epita.fr>
1006 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1007 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1008 Reported by Jim Meyering.
1010 2003-05-22 Akim Demaille <akim@epita.fr>
1012 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1013 Add AC_HELP_STRING to the obsolete macros section.
1015 Use '@.' for sentences that ended in a capital letter.
1018 2003-05-22 Akim Demaille <akim@epita.fr>
1020 * config/config.guess, config/config.sub, config/elisp-comp,
1021 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1022 * config/texinfo.tex, doc/standards.texi: Update from masters.
1024 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
1026 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1029 2003-05-21 Akim Demaille <akim@epita.fr>
1031 * bin/autoupdate.in ($m4): Fix quotation.
1032 Reported by Martin Mokrejs.
1034 2003-05-19 Paul Eggert <eggert@twinsun.com>
1036 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1037 Remove non-ASCII characters.
1039 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
1041 * tests/semantics.at (AC_SEARCH_LIBS): New test.
1042 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1043 AC_CHECK_HEADERS_NEW): New tests.
1045 2003-05-17 Akim Demaille <akim@epita.fr>
1047 * lib/autoconf/functions.m4: Use the default includes so that
1048 memcmp be declared before being tested.
1049 Reported by Sander Niemeijer.
1050 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1051 * doc/autoconf.texi (Default Includes): Document
1052 AC_INCLUDES_DEFAULT.
1054 2003-05-17 Akim Demaille <akim@epita.fr>
1056 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1057 * doc/autoconf.texi (Obsolete Macros): Adjust.
1058 Reported by Werner LEMBERG and Debian Bug 190886.
1060 2003-05-16 Akim Demaille <akim@epita.fr>
1062 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1063 user name space clashes.
1064 Reported by Bruno Haible.
1066 2003-05-16 Akim Demaille <akim@epita.fr>
1068 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1069 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1070 them uniform, and more robust to Perl special characters.
1071 Reported by Martin Mokrejs.
1073 2003-05-14 Akim Demaille <akim@epita.fr>
1075 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1077 2003-05-14 Akim Demaille <akim@epita.fr>
1079 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1082 2003-05-12 Akim Demaille <akim@epita.fr>
1084 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1086 From Matthias Andree.
1088 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1090 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1093 2003-05-06 Akim Demaille <akim@epita.fr>
1095 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1096 longer updates aclocal.m4 if useless, (ii) if a file m4_included
1097 by aclocal.m4 is changed it might require the importing of another
1098 m4 extension file, i.e., aclocal must be run.
1100 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1101 (&parse_args): Use --force with aclocal if required and supported.
1102 (&autoreconf_current_directory): Use &run_aclocal.
1104 2003-05-06 Akim Demaille <akim@epita.fr>
1106 Lock autom4te's cache.
1108 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1109 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1110 argument instead of a file name, so that the request file remains
1111 open during the whole autom4te run.
1112 ($icache_file): New.
1113 (&freeze): Lock the $icache_file.
1115 2003-04-29 Derek Price <derek@ximbiot.com>
1117 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1118 seperator with m4_append_uniq(). It doesn't work.
1119 (AT_CLEANUP): Add `;' to end of at_help_all.
1120 (AT_INIT): Allow --keywords to be specified more than once. When
1121 grepping $at_help_all for keywords, use the field and keyword
1122 seperators to ensure a complete keyword match. Alter at_prev handling
1123 to support the new --keywords behavior.
1125 2003-04-27 Karl Berry <karl@freefriends.org>
1127 * doc/autoconf.texi: Make the dir entries in the autoconf manual
1128 align better with others. I also made some of the individual
1129 entries on one line, for brevity and to make it easier for me to
1130 sort my dir-example file in the Texinfo distribution :).
1132 2003-04-12 Jim Meyering <jim@meyering.net>
1134 * NEWS: Mention the new macro.
1135 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1136 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1137 * tests/c.at: Test AC_C_RESTRICT.
1138 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1140 2003-04-08 Akim Demaille <akim@epita.fr>
1142 * bin/ifnames.in: Skip C++ comments.
1145 2003-04-08 Akim Demaille <akim@epita.fr>
1147 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1148 From Ilya Zakharevich.
1150 2003-04-08 Akim Demaille <akim@epita.fr>
1152 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1155 2003-04-01 Derek Price <derek@ximbiot.com>
1157 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1158 from Akim's checkin of 2003-03-29.
1160 2003-04-01 Derek Price <derek@ximbiot.com>
1162 * tests/torture.at (Configuring subdirectories): Add missing
1163 close-quote for Akim's change from 2003-03-28.
1165 2003-04-01 Akim Demaille <akim@epita.fr>
1167 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1168 (AC, AT, MS): these.
1169 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1172 * doc/Makefile.am (CLEANFILES): Adjust.
1173 (TEXI2DVI): Make it --batch.
1175 2003-03-31 Derek Price <derek@ximbiot.com>
1177 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1178 which removed the main loop.
1179 Thanks to Akim Demaille.
1181 2003-03-29 Akim Demaille <akim@epita.fr>
1183 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1185 From Ilya Zakharevich.
1187 2003-03-29 Akim Demaille <akim@epita.fr>
1189 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1190 documentation to read is Autoconf's.
1191 Suggested by Paul Eggert.
1193 2003-03-28 Akim Demaille <akim@epita.fr>
1195 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1196 reading the section "Present But Cannot Be Compiled" when the
1197 header causes problems.
1199 2003-03-28 Akim Demaille <akim@epita.fr>
1201 * tests/torture.at (Configuring subdirectories): Require aclocal
1202 1.4, otherwise the test fails, as it does support configure.ac.
1203 This fixes the "test 40 failed" bug reports.
1205 2003-03-28 Akim Demaille <akim@epita.fr>
1207 * doc/autoconf.texi (C Compiler): `#line' portability.
1208 From Paul Eggert and Nelson H. F. Beebe.
1210 2003-03-27 Derek Price <derek@ximbiot.com>
1212 * lib/autotest/general.m4: Eliminate main loop and reorganize test
1213 layout in order to allow scripting around test groups.
1215 2003-03-27 Derek Price <derek@ximbiot.com>
1217 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1218 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1219 use new diversions in preparation for accepting new arguments and
1220 allowing scripting around tests.
1221 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1223 2003-03-26 Derek Price <derek@ximbiot.com>
1225 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1226 obsolete AC_HELP_STRING.
1227 (AC_HELP_STRING): AU_DEFUN to...
1228 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1229 * tests/m4sh.at (AS_HELP_STRING): New test.
1231 * tests/acgeneral.at: Regenerated.
1233 2003-03-26 Derek Price <derek@ximbiot.com>
1235 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1236 sense. Verbosify the diversion definitions comment.
1238 2003-03-26 Derek Price <derek@ximbiot.com>
1240 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1243 2003-03-21 Eric Siegerman <eric_97@pobox.com>
1245 * doc/autoconf.texi (Present But Cannot Be Compiled):
1246 Grammar fixes and minor rewording. (trivial change)
1248 2003-03-06 Paul Eggert <eggert@twinsun.com>
1250 Work around a problem noted by Nelson H. F. Beebe with coreutils
1251 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1252 2002/05/09) rejects '#line 32768 "configure"' because the line
1254 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1256 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1257 * doc/autoconf.texi (Generating Sources): Document this.
1259 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
1261 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1262 file name for the m4 program, when it has an "exe" file extension.
1263 DJGPP's error messages include the error code in brackets -
1264 remove the error code during normalization.
1266 2003-02-28 Akim Demaille <akim@epita.fr>
1268 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1270 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
1272 * doc/autoconf.texi (Limitations of Make): Remove the section
1273 about `$<' in inference rules, it was a bogus interpretation of
1274 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
1275 Tru64 make in the "target lookup" section.
1276 (Automake): Automake 1.5+ no longer requires special tools to be
1277 present on the developer's host.
1279 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
1281 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1282 to a shell that can handle redirection or quoting correctly.
1283 Override SHELL with the shell detected by configure.
1284 Use of $^O suggested by Tim van Holder.
1285 * bin/autom4te.in (BEGIN): Likewise.
1286 * bin/autoreconf.in (BEGIN): Likewise.
1287 * bin/autoscan.in (BEGIN): Likewise.
1288 * bin/autoupdate.in (BEGIN): Likewise.
1289 * bin/ifnames.in (BEGIN): Likewise.
1291 * bin/ifnames.in: Add final newline to help and version messages.
1293 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1294 to cope with DOS-style absolute paths, when constructing
1297 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1298 When constructing paths with IFS=:, quote the path. If we're
1299 constructing a DOS-style absolute path, we don't want to split it
1302 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1305 2003-02-25 Pavel Roskin <proski@gnu.org>
1307 * bin/autoheader.in: Add missing newline when printing
1308 suggestion how change AC_DEFINE call.
1310 2003-02-24 Paul Eggert <eggert@twinsun.com>
1312 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1313 2002-09-01 patch by replacing "test -n" with "test -z".
1314 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1315 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1317 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1318 to fix a mismatch between example and discussion.
1320 2003-02-24 Kevin Ryde <user42@zip.com.au>
1322 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1323 format starting with "-".
1325 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1327 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1328 is not portable inside Makefile.
1330 2003-02-20 Akim Demaille <akim@epita.fr>
1332 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1333 compiler says yeah, but preproc says nope, compiler is right.
1334 Conversely, prompt the reader to send a bug report to the
1335 maintainers of the package, not of Autoconf.
1337 2003-02-20 Klee Dienes <kdienes@apple.com>
1339 * bin/autoreconf.in (autoreconf_current_directory): Properly
1340 handle an empty aclocal.m4.
1342 2003-02-20 Akim Demaille <akim@epita.fr>
1344 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1348 2002-12-23 Paul Eggert <eggert@twinsun.com>
1350 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1351 innocuous variant befor including <limits.h> or <assert.h>. This
1352 works around a bug reported by Albert Chin: HP-UX 11i
1353 (and earlier versions) have a <limits.h> that declares
1354 gettimeofday and many other functions.
1356 2002-12-03 Paul Eggert <eggert@twinsun.com>
1360 * NEWS, configure.ac: Update version.
1362 * doc/fdl.texi: Upgrade to FDL version 1.2.
1364 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1365 nontrivially in main's body, so that f's external declaration is
1366 not optimized away in AIX. This should fix the bug reported by
1368 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1370 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1371 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1372 defined, to support freestanding compilers. This should fix the
1373 bug reported by Momchil Velkov in
1374 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1376 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1377 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1378 obsolete AC_CHECK_TYPE. The missing empty arg was reported
1379 by Simon Josefsson in
1380 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1382 * Makefile.maint (www-gnu): New macro.
1383 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1384 the location has moved.
1386 2002-12-02 Martin Frydl <martin@systinet.com>
1388 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1389 \(.*\) match is too long and there is something more to be checked.
1390 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1392 2002-11-15 Akim Demaille <akim@epita.fr>
1396 * config/install-sh: chmod +x.
1398 * config/move-if-change: Indenting changes.
1399 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1400 * configure.ac (AM_INIT_AUTOMAKE): here.
1403 2002-11-14 Akim Demaille <akim@epita.fr>
1407 * config/config.guess, config/config.sub, config/install-sh:
1408 Update from masters.
1410 2002-11-14 Akim Demaille <akim@epita.fr>
1412 * Makefile.maint: Sync with Bison, i.e.:
1413 (po-check): Scan .l and .y files instead of the
1414 .c and the .h files that they generate. This fixes the bug
1415 reported by Tim Van Holder in:
1416 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1417 Look for N_ as well as for _. Try to avoid matching #define for
1421 2002-11-14 Akim Demaille <akim@epita.fr>
1423 * doc/autoconf.texi (C Compiler): Compiling several files at once.
1424 From Paul Eggert and Albert Chin-A-Young.
1426 2002-11-14 Akim Demaille <akim@epita.fr>
1428 * doc/autoconf.texi (C Compiler): Solitary backslashes.
1429 From Paul Eggert and Albert Chin-A-Young.
1431 2002-11-14 Kevin Ryde <user42@zip.com.au>
1433 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1434 than assigning in main, to avoid HP cc +O3 optimizing it away.
1436 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
1438 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1439 option. Process --recheck after parsing all options. Pass -q
1440 option to configure on --recheck.
1441 (AC_OUTPUT): Pass -q from configure to config.status.
1442 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1443 arguments to record.
1444 * doc/autoconf.texi (config.status Invocation): Document
1445 config.status -q option.
1447 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
1449 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1450 Makefile.in if Makefile.am exists.
1451 (output): Strip `.am' from Makefiles. Don't
1452 output AC_CONFIG_FILES if no Makefiles were found.
1454 2002-11-07 Akim Demaille <akim@epita.fr>
1456 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1457 (local_updates): New.
1458 * Makefile.maint: Update, from CVS Bison.
1459 (local_updates): New.
1461 2002-11-06 Akim Demaille <akim@epita.fr>
1463 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1464 declaration in extern "C" too.
1465 Reported by Roberto Bagnara.
1467 2002-11-06 Akim Demaille <akim@epita.fr>
1469 * tests/torture.at (Configuring subdirectories): Don't use grep
1471 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1472 Reported by Ezra Peisach.
1474 2002-11-05 Akim Demaille <akim@epita.fr>
1476 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1478 We _have_ to stop using the old compatibility scheme that tried to
1479 avoid useless backslashes because Libtool 1.4.3 contains a
1480 AC_DEFINE([error_t], [int],
1481 [Define to a type to use for \`error_t' if it is not
1482 otherwise available.])
1483 We _have_ to quote the single quote and backslashes with \. The
1484 old compatibility scheme saw that ` was backslashed, and therefore
1485 did not quote the single quote. Hence before this patch, Autoconf
1486 was not compatible with Libtool.
1488 2002-11-04 Paul Eggert <eggert@twinsun.com>
1490 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1491 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1492 LC_NAME, LC_PAPER, LC_TELEPHONE.
1493 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1495 2002-11-04 Akim Demaille <akim@epita.fr>
1499 * Makefile.maint (update, cvs-update, po-update, do-po-update):
1501 * config/texinfo.tex: Update.
1503 2002-11-03 Akim Demaille <akim@epita.fr>
1505 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1507 (&autoreconf): here.
1508 ($help, $make, &parse_args, &autoreconf_current_directory):
1510 * doc/autoconf.texi (autoreconf Invocation): Adjust.
1512 2002-10-31 Bruno Haible <bruno@clisp.org>
1514 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1515 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1516 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1517 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1518 to ac_cv_func_realloc_0_nonnull.
1519 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1521 2002-10-31 Akim Demaille <akim@epita.fr>
1523 The test suite was no longer checking for trailing envvars and files.
1525 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1526 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1528 2002-10-31 Akim Demaille <akim@epita.fr>
1530 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1531 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1532 Make variable, not a shell variable.
1533 Suggested by Bruno Haible.
1535 2002-10-31 Akim Demaille <akim@epita.fr>
1537 * bin/autom4te.in (load_configuration): Reject #args out of any
1540 2002-10-31 Akim Demaille <akim@epita.fr>
1542 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1543 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1544 (_AC_RUN_IFELSE): Use it.
1545 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1546 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1547 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1550 2002-10-30 Akim Demaille <akim@epita.fr>
1552 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1553 * doc/autoconf.texi (autom4te Invocation): Adjust.
1554 Suggested by Tim van Holder.
1556 2002-10-29 Paul Eggert <eggert@twinsun.com>
1558 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1559 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1560 Problem reported by Bruno Haible.
1562 2002-10-29 Akim Demaille <akim@epita.fr>
1564 * doc/autoconf.texi (Header Templates): Put also in words what the
1565 pictures says to assist free style readers.
1566 (Customizing autom4te): s/--cache=/--cache /.
1568 2002-10-29 Akim Demaille <akim@epita.fr>
1570 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1572 sparc_address_test returns void.
1573 Use it with an argument, as prototyped.
1576 2002-10-29 Akim Demaille <akim@epita.fr>
1578 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1579 configure.in, not configure.ac.
1580 Reported by Bruno Haible.
1582 2002-10-29 Akim Demaille <akim@epita.fr>
1584 * tests/torture.at (Deep Package): New test.
1585 (Configuring subdirectories): Don't use a testSubDir as Autotest
1588 2002-10-29 Akim Demaille <akim@epita.fr>
1590 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1591 * doc/autoconf.texi (Invoking autom4te): Rename as...
1592 (autom4te Invocation): this, for consistency with the other nodes.
1594 2002-10-29 Akim Demaille <akim@epita.fr>
1596 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1597 Reported by Ralf Corsepius.
1599 2002-10-29 Akim Demaille <akim@epita.fr>
1601 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1602 characters is a back as an `obsolete' warning now.
1603 Reported by Ralf Corsepius.
1605 2002-10-28 Akim Demaille <akim@epita.fr>
1607 * configure.ac: Bump to 2.54c.
1609 2002-10-28 Akim Demaille <akim@epita.fr>
1613 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1615 2002-10-28 Akim Demaille <akim@epita.fr>
1617 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1618 m4 executable names, and different GNU M4 version.
1619 Reported by Ezra Peisach and Paul Jarc.
1621 2002-10-27 Akim Demaille <akim@epita.fr>
1623 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1626 2002-10-27 Akim Demaille <akim@epita.fr>
1628 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1629 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1630 Die when a simple Fortran program cannot be compiled.
1631 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1632 Issue a warning if no function is given.
1634 2002-10-27 Akim Demaille <akim@epita.fr>
1636 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1637 Move the documentation of AC_TRY_RUN to...
1638 (Obsolete Macros): here.
1639 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1640 (autoconf Invocation): Remove the duplicates with `invoking
1642 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1643 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1645 2002-10-27 Akim Demaille <akim@epita.fr>
1647 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1648 and AC_LANG_FUNC_LINK_TRY.
1649 (Examining Libraries): Rename as...
1650 (Running the Linker): this.
1651 Document AC_LINK_IFELSE.
1652 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1653 (Obsolete Macros): here.
1654 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1655 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1656 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1657 * lib/autoconf/headers.m4 (AC_USG): Likewise.
1659 2002-10-27 Akim Demaille <akim@epita.fr>
1661 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1663 More `check config.log' messages.
1665 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1666 * doc/autoconf.texi (Printing Messages): Document it.
1667 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1669 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1670 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1671 (_AC_COMPILER_OBJEXT): Likewise.
1672 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1673 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1675 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1678 Deprecate macros with unusual interfaces.
1680 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1681 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1683 Document the new ones, and proper style.
1685 * doc/autoconf.texi (Generating Sources): New.
1686 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1687 (Examining Declarations): Rename as...
1688 (Running the Preprocessor): this.
1689 Document AC_PREPROC_IFELSE.
1690 (Examining Syntax): Rename as...
1691 (Running the Compiler): this.
1692 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1693 (Obsolete Macros): Move the definition of AC_TRY_CPP and
1694 AC_TRY_COMPILE here.
1696 2002-10-27 Akim Demaille <akim@epita.fr>
1698 Move sections around.
1700 * doc/autoconf.texi (Customizing autom4te): Remove a lost
1702 Reported by Burno Haible.
1703 (Language Choice): Now the first section of...
1704 (Writing Tests): this section.
1705 Make the introduction less C-centric.
1706 (Guidelines, Test Functions): Move to...
1707 (Writing Test Programs): this new section.
1708 (Test Programs): Merge into...
1711 2002-10-27 Akim Demaille <akim@epita.fr>
1713 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1714 autom4te.in that resulted in the need for two `make' runs.
1716 2002-10-27 Akim Demaille <akim@epita.fr>
1718 * configure.ac: Bump to 2.54b.
1720 2002-10-25 Akim Demaille <akim@epita.fr>
1724 * Makefile.maint: Update from the Coreutils.
1725 (AMTAR): Remove, obsolete.
1726 (automake_repo): Update to redhat.com.
1728 Adjust to the fact that ansi2knr is now hosted by Automake.
1729 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1730 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1731 Update from masters.
1732 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1733 autoscan.pre is not to be installed, and autoscan.list is not to
1735 (CLEANFILES): Add autoscan.list.
1736 (autoscan.list): Disable the cache.
1737 * bin/Makefile.am: Include freeze.mk.
1739 2002-10-25 Akim Demaille <akim@epita.fr>
1741 * bin/autom4te.in (&load_configuration): Take the file as
1743 (&parse_args): Handle -C, --cache.
1745 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1746 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1747 * doc/autoconf.texi (Invoking autom4te): Document --cache.
1748 Now a subsection of...
1749 (Using autom4te): This new section.
1750 (Customizing autom4te): New.
1751 (autom4te.cache): Adjust.
1753 2002-10-25 Akim Demaille <akim@epita.fr>
1755 * doc/autoconf.texi (Generic Headers): More information on how to
1756 use AC_CHECK_HEADERS.
1758 2002-10-25 Akim Demaille <akim@epita.fr>
1760 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1763 2002-10-25 Akim Demaille <akim@epita.fr>
1765 * bin/autoscan.in (output): Output AC_PREREQ.
1766 (%needed_macros): Add AC_PREREQ so that configure.ac without one
1769 2002-10-23 Akim Demaille <akim@epita.fr>
1771 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1774 2002-10-23 Akim Demaille <akim@epita.fr>
1776 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1777 Reported by Peter Eisentraut.
1779 2002-10-23 Akim Demaille <akim@epita.fr>
1781 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1784 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1785 Eggert's recommandations.
1787 2002-10-22 Akim Demaille <akim@epita.fr>
1789 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1790 Bison, by Paul Eggert.
1791 * doc/autoconf.texi (Particular Headers): Document it.
1793 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
1795 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1796 `$ac_configure_args'.
1798 2002-10-22 Akim Demaille <akim@epita.fr>
1800 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1801 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1804 2002-10-22 Akim Demaille <akim@epita.fr>
1806 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
1808 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1809 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1810 (_AC_CHECK_HEADER_NEW): Rename as...
1811 (AC_CHECK_HEADER): this.
1813 2002-10-22 Akim Demaille <akim@epita.fr>
1815 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1816 words about HP-UX cmp: it was actually a user-written cmp.
1818 2002-10-22 Akim Demaille <akim@epita.fr>
1820 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1822 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1823 Quote for Perl '' strings, not "".
1824 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1827 2002-10-22 Akim Demaille <akim@epita.fr>
1829 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1830 characters is a syntax warning now.
1831 (_AS_QUOTE): Accept $2 as list of characters to quote.
1832 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1833 Quote for Perl, not sh.
1834 * bin/autoheader.in: When $debug, report the file which is
1836 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1837 `@', to tickle Perl's lists.
1838 Reported by Carlos Velasco.
1840 2002-10-18 Akim Demaille <akim@epita.fr>
1842 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1843 missing included files _are_ errors.
1844 Thanks to Alexandre Duret-Lutz.
1845 * tests/tools.at (autom4te cache): Adjust.
1846 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1847 (AT_CHECK_M4SUGAR): Use it.
1848 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1850 * tests/tools.at (autom4te): Now it does exit 1.
1852 2002-10-17 Akim Demaille <akim@epita.fr>
1854 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1855 Fixes the `AC_ARG_VAR' test failures.
1856 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1857 * lib/freeze.mk (check-forbidden-patterns): New.
1858 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1859 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1860 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1862 Reported months ago by H. Merijn Brand.
1864 2002-10-17 Akim Demaille <akim@epita.fr>
1866 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1868 2002-10-16 Paul Eggert <eggert@twinsun.com>
1870 * Makefile.maint (wget_files): Remove ansi2knr.c.
1871 (ansi2knr.c-url_prefix): Remove.
1873 2002-10-16 Akim Demaille <akim@epita.fr>
1875 Because of caching, some files that no longer exist and are no
1876 longer required can still cause errors.
1877 Reported by Alexandre Duret-Lutz.
1879 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1880 to frozen files in @ARGV, as @ARGV must remain being a list of
1881 files. Rather, at M4 call sites, use this...
1882 (&files_to_options): New function.
1883 (&freeze): Use &error.
1884 (&up_to_date): If a file that was included according to the cache
1885 is no longer there, then the output is out dated.
1886 (&main): Don't even check whether a file is up to date is anyway
1888 * tests/tools.at (autom4te cache): New.
1890 2002-10-16 Akim Demaille <akim@epita.fr>
1892 * bin/autoconf.as: Kill dead options.
1893 * bin/autoupdate.in (&parse_args): Kill old options.
1894 * bin/autoreconf.in (&parse_args): Remove dead options.
1896 (&autoreconf): Report the directories we enter *and leave*, so
1897 that error messages can be easily located, and use GNU Make
1898 format, so that Emacs' compile mode understands us.
1899 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1900 if some file was changed instead of `print'.
1901 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1902 (&parse_args): Remove the dead options.
1903 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1904 autoheader's quiet mode.
1905 (AT_CHECK_AUTOUPDATE): Likewise.
1906 * tests/tools.at (autoupdate): Adjust.
1907 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1909 2002-10-11 Akim Demaille <akim@epita.fr>
1911 No longer use CPP to check for the existing of headers: use CC to
1912 check for compilability.
1914 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1915 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1916 (_AC_CHECK_HEADER_NEW): Rename as...
1917 (AC_CHECK_HEADER): this.
1919 * lib/autotest/general.m4 (AT_INIT): Include the failed test
1920 numbers in the Subject suggestion.
1922 2002-10-11 Akim Demaille <akim@epita.fr>
1924 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1925 Suggest using AC_CHECK_DECLS instead.
1927 2002-10-11 Akim Demaille <akim@epita.fr>
1929 * tests/torture.at (AC_ARG_VAR): Have configure report the value
1932 2002-10-11 Akim Demaille <akim@epita.fr>
1934 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1935 file name to enable parallel executions.
1936 From Sam Varshavchik.
1938 2002-10-08 Akim Demaille <akim@epita.fr>
1940 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
1941 aclocal invocation, as Gettext macros might not be visible to
1943 Instead of blindly running autopoint, scan configure.ac (not the
1944 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
1945 Reported by Paul D. Smith.
1947 2002-10-08 Paul Eggert <eggert@twinsun.com>
1949 Work around problems found when POSIXLY_CORRECT=1 is set.
1950 None of this seems to have anything to do with POSIX, really,
1951 but it's how Perl getopt works.
1952 * bin/autom4te.in (parse_args): Configure GetOpt with
1954 * doc/autoconf.texi (Invoking autom4te):
1955 --warning -> --warnings.
1956 * lib/autom4te.in: --warning -> --warnings.
1958 2002-09-28 Akim Demaille <akim@epita.fr>
1960 * doc/autoconf.texi (autom4te.cache): New section.
1962 2002-09-28 Akim Demaille <akim@epita.fr>
1964 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
1965 (Automake-preselections): Update.
1966 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
1968 2002-09-28 Akim Demaille <akim@epita.fr>
1970 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
1971 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
1972 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
1973 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
1975 2002-09-28 Akim Demaille <akim@epita.fr>
1977 * tests/torture.at (Configuring subdirectories): Be robust to
1978 users who use config.site to require for a cache: in this case,
1979 the two last configure runs, using two different sets of
1980 arguments, trigger a legitimate error.
1982 2002-09-28 Akim Demaille <akim@epita.fr>
1984 * tests/m4sh.at (Functions Support, Functions and return Support):
1987 2002-09-28 Akim Demaille <akim@epita.fr>
1989 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
1990 autoheader are Perl programs.
1991 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
1992 (autom4te): Specify that the sources are in the $srcdir.
1993 * doc/autoconf.texi (Installation Directory Variables): Adjust.
1995 2002-09-28 Akim Demaille <akim@epita.fr>
1997 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
1998 (tm_zone): Move their rules to...
1999 * lib/autoconf/types.m4: here, using AN_ macros.
2000 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2001 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2002 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2003 * lib/autoconf/programs.m4: here.
2004 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2005 (ETAGS_FOR_AUTOCONF): New.
2008 2002-09-28 Akim Demaille <akim@epita.fr>
2010 * lib/autoconf/autoscan.m4: New file.
2011 * lib/autoconf/autoconf.m4: Include it.
2012 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2013 that were listed in the original autoscan.list.
2014 * lib/autoconf/headers.m4: Similarly with headers.
2015 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2016 (.m4.m4f): Don't pass --prepend-include, since that's done by
2017 tests/autom4te itself.
2018 * lib/autoscan/Makefile.am: Include freeze.mk.
2019 (autoscan.list): New target --this file is no longer a source.
2020 (autoscan.pre): New file.
2022 2002-09-28 Akim Demaille <akim@epita.fr>
2024 * bin/autoscan.in (@kinds): Make them singular.
2026 (&init_tables): When --debug, report the list of rules to ease
2027 tracking changes in autoscan.list.
2028 * lib/autoscan/autoscan.list (function): Strip comments, sort.
2030 2002-09-28 Akim Demaille <akim@epita.fr>
2032 * lib/autoscan/functions, lib/autoscan/headers,
2033 * lib/autoscan/identifiers, lib/autoscan/makevars,
2034 * lib/autoscan/programs: Merge into...
2035 * lib/autoscan/autoscan.list: this.
2036 * bin/autoscan.in (&init_tables): Adjust.
2038 2002-09-28 Akim Demaille <akim@epita.fr>
2040 * lib/autoscan/functions, lib/autoscan/headers,
2041 * lib/autoscan/identifiers, lib/autoscan/makevars,
2042 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2043 `functions' line is now prefixed with `function:'.
2044 * bin/autoscan.in (&init_tables): Adjust.
2046 2002-09-28 Akim Demaille <akim@epita.fr>
2048 From now on, autoscan files must always map a macro name to a
2049 word: there is no `default' macro for autoscan.
2051 * bin/autoscan.in (&init_tables): Reject entries with no macro at
2053 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2056 2002-09-28 Akim Demaille <akim@epita.fr>
2058 * bin/autoscan.in (%c_keywords): Remove.
2059 (&used): Keep only track of the words we might be interested in.
2060 (&output_kind): It is no longer needed to look for non active
2063 2002-09-27 Akim Demaille <akim@epita.fr>
2065 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2066 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2067 * lib/autoscan/functions: Adjust.
2068 * doc/autoconf.texi (Particular Functions): Adjust.
2070 2002-09-27 Akim Demaille <akim@epita.fr>
2072 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2074 Thanks to Bill Moseley and Paul Eggert.
2075 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2076 the tmpdir must be created.
2077 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2078 dir be in the build tree, instead of $TMPDIR.
2080 2002-09-27 Akim Demaille <akim@epita.fr>
2082 * bin/autoscan.in: Improve the comments.
2083 (&parse_args): Drop obsolete undocumented options.
2084 (&output_kind): Output warnings.
2085 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2086 (getwd): Trigger a warning.
2088 2002-09-26 Akim Demaille <akim@epita.fr>
2090 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2091 Reported by Ralf Corsepius.
2092 * doc/autoconf.texi (autoreconf Invocation): Likewise.
2094 2002-09-26 Akim Demaille <akim@epita.fr>
2096 Single suffix rules and seperated dependencies are not portable.
2098 * doc/autoconf.texi (Installation Directory Variables): Update.
2099 (Limitations of Make): Some about `Single Suffix Rules and
2100 Separated Dependencies'.
2101 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2102 (ifnames, autoscan, autom4te): Un-factor into several rules.
2104 2002-09-25 Paul Eggert <eggert@twinsun.com>
2106 * BUGS (Interoperability bugs): New section. Mention libtool
2107 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2109 2002-09-24 Paul Eggert <eggert@twinsun.com>
2111 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2112 make handles suffix-rules differently from GNU make.
2114 * bin/Makefile.am (SUFFIXES, .in): Remove.
2115 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2116 Move the body of the old .in rule here.
2118 2002-09-16 Akim Demaille <akim@epita.fr>
2120 i960 compilers create `b.out' files by default.
2121 Reported by Ralf Corsepius.
2123 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2124 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2126 2002-09-13 Paul Eggert <eggert@twinsun.com>
2128 * doc/autoconf.texi (Particular Headers): Remove obsolete
2129 reference to `struct timezone' in the description of
2132 2002-09-13 Akim Demaille <akim@epita.fr>
2136 * config/config.sub, config/config.guess: Update.
2137 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2138 * Makefile.am: Adjust.
2140 2002-09-13 Akim Demaille <akim@epita.fr>
2142 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2143 reading config.log when the compiler is rejected.
2144 Suggested by Guido Draheim.
2146 2002-09-13 Akim Demaille <akim@epita.fr>
2148 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2149 (chdir_init) might hang when stat'ing mounted directories.
2150 Reported by Vance Shipley.
2152 2002-09-12 Akim Demaille <akim@epita.fr>
2154 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2157 2002-09-12 Akim Demaille <akim@epita.fr>
2159 * doc/autoconf.texi (Defining Symbols): Present two different
2160 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2161 difference between 1 argument calls, and 2-3 argument calls.
2163 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
2165 * doc/autoconf.texi: Review grammar and punctuation.
2167 2002-09-11 Paul Eggert <eggert@twinsun.com>
2169 * doc/autoconf.texi: Fix minor formatting, spelling, and
2171 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2172 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2175 2002-09-11 Akim Demaille <akim@epita.fr>
2177 * doc/autoconf.texi (Questions): Rename as...
2179 (Defining Directories): New.
2181 2002-09-09 Akim Demaille <akim@epita.fr>
2183 * doc/autoconf.texi (Making testsuite Scripts): Update.
2184 Suggested by Nishio Futoshi.
2186 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
2188 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2189 plain `@' is wanted.
2191 2002-09-09 Akim Demaille <akim@epita.fr>
2193 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2194 `duplicates', since the algorithm was too naive and could keep
2195 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2196 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2197 Reported by Ralf Corsepius.
2198 * tests/torture.at (Configuring subdirectories): Exercise these
2201 2002-09-09 Akim Demaille <akim@epita.fr>
2203 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2204 looking for a replacement file.
2205 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2206 directory is relative.
2207 * doc/autoconf.texi (Generic Functions): Clarify the replacement
2208 directory definition.
2209 Reported by Andreas Schwab and Jim Meyering.
2211 2002-09-06 Akim Demaille <akim@epita.fr>
2213 * doc/autoconf.texi (Setting Output Variables): Clarify what
2214 precious variables are.
2215 Suggested by Pontus Skoeld.
2217 2002-09-05 Akim Demaille <akim@epita.fr>
2219 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2220 (ifnames, autoscan, autom4te): Since we don't only depend on
2221 configure.ac variables (such as VERSION etc.), but also on prefix
2222 and so forth, depend on Makefile, not configure.ac.
2223 Reported by Alexandre Duret-Lutz.
2224 * doc/autoconf.texi (Installation Directory Variables): Adjust.
2226 2002-09-05 Kevin Ryde <user42@zip.com.au>
2228 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2229 doesn't seem to be confined to ia64, just say "some versions".
2231 2002-09-04 Akim Demaille <akim@epita.fr>
2233 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2235 * Makefile.am (maintainer-clean-local): Remove.
2236 (MAINTAINERCLEANFILES): Remove COPYING.
2238 2002-09-03 Paul Eggert <eggert@twinsun.com>
2240 * doc/autoconf.texi (Configuration Commands): Remove obsolete
2241 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
2244 2002-09-03 Akim Demaille <akim@epita.fr>
2246 * configure.ac: Bump to 2.53d.
2247 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2248 as of today, on Automake's team suggestion.
2250 2002-09-03 Akim Demaille <akim@epita.fr>
2254 2002-09-02 Akim Demaille <akim@epita.fr>
2256 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2258 * configure.ac: Disable SITE_MACRO_DIR.
2260 2002-09-02 Jim Meyering <meyering@lucent.com>
2262 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2263 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2264 Also, tweak grammar: s/make sure to/be sure to/.
2266 2002-09-02 Paul Eggert <eggert@twinsun.com>
2268 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2269 directory names are generally preferable to physical names.
2271 2002-09-02 Akim Demaille <akim@epita.fr>
2273 * lib/Autom4te/General.pm (&update_file): s/die/error/.
2274 Reported by Raja R. Harinath.
2275 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2276 * bin/autoupdate.in: Use error instead of die.
2278 2002-09-01 Paul Eggert <eggert@twinsun.com>
2280 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2281 ordinary shell concatenation rather than echo+tr+sed command that
2282 runs afoul of a long-line-related sed bug in Solaris 8.
2284 * bin/autoheader.in (parse_args): --warning -> --warnings.
2286 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2287 stdout, as traditional "ls" does.
2288 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2289 _AC_COMPILER_EXEEXT_O): Likewise.
2290 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2292 * bin/autoconf.as: Add --prepend-include option. This patch was
2293 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2294 but bin/autoconf.in is generated automatically from bin/autoconf.as.
2296 * bin/autoconf.in, configure: Regenerate.
2298 * doc/autoconf.texi (Special Shell Variables): Mention
2299 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
2301 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2302 MAILPATH and set PS1, PS2, PS4 to default values, to work
2303 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2304 For LC_ALL etc, first try to set to "C" as POSIX requires and as
2305 the Autoconf documentation specifies; fall back to "unset" only if
2306 this fails. Use a shell for-loop for this rather than an m4 loop,
2307 to shorten the output script.
2309 2002-08-30 Paul Eggert <eggert@twinsun.com>
2311 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2312 1003.1-2001's requirements for CDPATH. Give a simpler workaround
2313 for the CDPATH problem. Document PWD.
2314 (Limitations of Builtins): Document the problem that "cd $foo" and
2315 "ls $foo" may refer to different directories in shells conforming
2316 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
2317 example, since the old example is now out of date.
2319 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2320 FOO" and "ls FOO" talk about different directories; this catches
2321 problems when POSIX 1003.1-2001 "cd" fails due to symlink
2324 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2325 of rolling our own unset.
2326 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2327 in practice we needn't worry about CDPATH if unset doesn't work.
2329 * Makefile.in, aclocal.m4, bin/Makefile.in,
2330 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2331 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2332 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2333 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2334 tests/Makefile.in: Regenerate with Automake 1.6.3.
2336 * config/config.guess, config/config.sub, config/mkinstalldirs:
2339 * configure: Regenerate with self.
2341 2002-08-30 Kevin Ryde <user42@zip.com.au>
2343 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2346 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2348 * bin/autom4te.in (Request::load): Correctly test for "do" read
2351 2002-08-29 Akim Demaille <akim@epita.fr>
2353 * lib/Autom4te/General.pm (&xqx): New.
2354 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2355 hand, which is not portable.
2357 * bin/autom4te.in: Use them.
2358 Use &error instead of die.
2359 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2362 2002-08-17 Paul Eggert <eggert@twinsun.com>
2364 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2365 default list of compilers to try, since it was long ago superseded
2366 by the ksh fc builtin. Suggested by Steven G. Johnson.
2368 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
2370 * doc/autoconf.texi (Invoking autom4te): End the option table,
2371 fixing a bug introduced by the previous patch.
2372 (Limitations of Make): Add a 'target lookup' subentry in the
2373 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
2375 2002-07-29 Mark D. Roth <roth@feep.net>
2377 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2378 options and use $AUTOM4TE_PATH.
2379 * doc/autoconf.texi: Remove documentation of autom4te
2380 --include-envvar and --site-macro-subdir options and document
2381 use of $AUTOM4TE_PATH.
2382 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2383 arguments from each language section.
2385 2002-07-29 Paul Eggert <eggert@twinsun.com>
2387 * doc/install.texi: Include copyright symbol in copyright notice.
2389 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2391 (AM_MAKEINFOFLAGS): New macro.
2392 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2393 * Makefile.am (INSTALL): Use the new macros.
2394 Use -o rather than --output, since "missing" does not grok --output.
2396 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2398 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2399 comments do not always work. Never trust the exit status of
2402 2002-07-24 Kevin Ryde <user42@zip.com.au>
2404 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2405 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2407 2002-07-23 Paul Eggert <eggert@twinsun.com>
2409 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2410 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2411 apparently treats PATH="nonexistent" as if it contained ".".
2412 Bug reported by Stefan `Sec' Zehl.
2414 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2416 * doc/autoconf.texi (Limitations of Make): Mention the special
2417 handling of the obj/ directory by BSD make.
2419 2002-07-20 Kevin Ryde <user42@zip.com.au>
2421 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2424 2002-07-19 Akim Demaille <akim@epita.fr>
2426 * doc/autoconf.texi (Function Portability): `exit'.
2427 (Programming in M4sh): Ethymology of M4sh.
2429 2002-07-19 Akim Demaille <akim@epita.fr>
2431 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2433 2002-07-18 Akim Demaille <akim@epita.fr>
2437 2002-07-18 Akim Demaille <akim@epita.fr>
2439 * config/config.guess, config/config.sub: Update.
2441 2002-07-18 Akim Demaille <akim@epita.fr>
2443 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2446 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2447 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2448 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2450 2002-07-18 Akim Demaille <akim@epita.fr>,
2451 Alexandre Duret-Lutz <duret_g@epita.fr>
2453 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2454 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2456 2002-07-17 Russ Allbery <rra@stanford.edu>
2458 * doc/autoconf.texi (Initializing configure): Clarify the
2459 description of the tarname default.
2461 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
2463 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2464 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2467 2002-07-17 Akim Demaille <akim@epita.fr>
2469 * lib/Autom4te/General.pm (find_file): Browse the directories in
2470 the order they are given.
2472 2002-07-17 Akim Demaille <akim@epita.fr>
2474 * tests/wrapsh.as, tests/wrappl.as: Merge into...
2475 * tests/wrapper.as: this.
2476 * tests/Makefile.am, configure.ac: Adjust.
2478 2002-07-17 Mark D. Roth <roth@feep.net>
2480 * configure.ac: Add --enable-site-macro-dir option.
2481 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2482 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2483 --site-macro-subdir options.
2484 * bin/autoconf.in: Add --prepend-include option.
2485 * bin/autoheader.in: Add --prepend-include option.
2486 * bin/autoreconf.in: Add --prepend-include option.
2487 * bin/autoscan.in: Add --prepend-include option.
2488 * bin/autoupdate.in: Add --prepend-include option.
2489 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2490 macro directory, remove note that include path directories are
2491 used in reverse order, and document --prepend-include option.
2492 * lib/autom4te.in: Use --prepend-include instead of --include.
2493 * tests/wrapsh.in: Use --prepend-include instead of --include.
2495 2002-07-17 Akim Demaille <akim@epita.fr>
2497 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2499 * doc/autoconf.texi (Initializing configure): Adjust.
2501 2002-07-17 Akim Demaille <akim@epita.fr>
2503 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2504 (_AC_FUNC_MALLOC): New.
2505 (AC_FUNC_MALLOC): Use the latter.
2506 Define HAVE_MALLOC to 0 if broken.
2507 * doc/autoconf.texi (Particular Functions): Adjust.
2509 2002-07-16 Akim Demaille <akim@epita.fr>
2511 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2512 * doc/autoconf.texi (C Compiler): Adjust.
2514 2002-07-09 Akim Demaille <akim@epita.fr>
2516 * doc/autoconf.texi: Properly set the ``header'' part.
2518 2002-07-09 Akim Demaille <akim@epita.fr>
2520 * doc/autoconf.texi (Systemology): Some about Darwin.
2522 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2524 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2525 Don't use AC_REQUIRE in AU_DEFUN.
2527 2002-07-09 Art Haas <ahaas@neosoft.com>
2529 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2531 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2533 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2534 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2535 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2536 so that Emacs setups GNU style for perl-mode and cperl-mode.
2538 2002-06-27 Paul Eggert <eggert@twinsun.com>
2540 * config/install-sh: Quote $src. Prefer || to test's -o option,
2541 as per "Limitations of Builtins".
2542 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2543 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2545 * tests/mktests.sh: Use grep instead of fgrep, as per
2546 "Limitations of Builtins".
2548 2002-06-15 Paul Eggert <eggert@twinsun.com>
2550 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2551 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2552 so that we consistently test the just-built programs.
2553 * tests/wrappl.as: Likewise.
2555 2002-06-12 Paul Eggert <eggert@twinsun.com>
2557 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2558 name, so that symlinks to 'autoconf' work properly. Bug reported
2560 * bin/autoheader.in (AUTOM4TE): Likewise.
2561 * bin/autoreconf.in (autoconf, autoheader): Likewise.
2562 * bin/autoscan.in (autom4te): Likewise.
2563 * bin/autoupdate.in (autom4te): Likewise.
2565 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2566 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2569 2002-06-11 Andreas Schwab <schwab@suse.de>
2571 * doc/autoconf.texi: Add more dir entries.
2573 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2575 * bin/autom4te.in ($cache): Don't define using `$me', the name
2576 of the cache should not depend on the name under which autom4te
2579 2002-06-07 Akim Demaille <akim@epita.fr>
2581 * tests/tools.at (autoconf: forbidden tokens, basic)
2582 (autoconf: forbidden tokens, exceptions): Adjust to the change of
2583 words in autom4te.in.
2585 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
2587 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2588 _AC_LANG_PROGRAM_C_F77_HOOKS.
2590 2002-06-07 Akim Demaille <akim@epita.fr>
2592 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2594 (AC_REPLACE_FNMATCH): this.
2595 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2596 AC_FUNC_FNMATCH_GNU.
2598 2002-06-07 Akim Demaille <akim@epita.fr>
2600 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2601 Rosetta Stone for Unix.
2603 2002-06-07 Akim Demaille <akim@epita.fr>
2605 * bin/autom4te.in (warn_forbidden): When rejecting a token,
2606 suggest m4_pattern_allow.
2607 Suggested by Adam J. Richter.
2609 2002-06-07 Akim Demaille <akim@epita.fr>
2611 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2612 ac_config_libobj_dir.
2613 (AC_CONFIG_LIBOBJ_DIR): New.
2614 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2615 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2616 Use ac_config_libobj_dir to find the replacement files.
2617 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2618 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2619 (AC_REPLACE_FNMATCH_GNU): these.
2620 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2621 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2622 * tests/mktests.sh (ac_exclude_list): Don't check
2623 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2625 2002-06-06 Paul Eggert <eggert@twinsun.com>
2627 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2630 * doc/autoconf.texi (Configuration Links): Likewise.
2631 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2633 2002-06-05 Paul Eggert <eggert@twinsun.com>
2635 * config/config.guess, config/config.sub, config/texinfo.tex:
2636 Update from masters.
2638 2002-05-29 Paul Eggert <eggert@twinsun.com>
2640 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2641 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2642 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2644 * lib/autoconf/Makefile.am (check-local): Likewise.
2645 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2646 * lib/autoconf/types.m4 (commentary only): Likewise.
2647 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2648 * lib/autotest/Makefile.am (check-local): Likewise.
2649 * lib/m4sugar/Makefile.am (check-local): Likewise.
2650 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2651 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2653 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2654 * doc/autoconf.texi (Particular Programs): Document them.
2655 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2658 2002-05-27 Paul Eggert <eggert@twinsun.com>
2660 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2661 * NEWS, doc/autoconf.texi (Particular Types): Document it.
2662 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2663 instead of AC_MBSTATE_T, which never existed.
2665 2002-05-23 Akim Demaille <akim@epita.fr>
2667 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2668 version of Autoconf that is discussed.
2670 2002-05-22 Paul Eggert <eggert@twinsun.com>
2672 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2673 from the default list of compilers to try. Suggested by
2675 * NEWS: Document the above.
2676 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2678 2002-05-17 Paul Eggert <eggert@twinsun.com>
2680 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2681 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
2682 This improves on an earlier suggestion by H. Peter Anvin.
2684 2002-05-16 Paul Eggert <eggert@twinsun.com>
2686 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2687 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2688 Both macros now accept an optional source-dir arg.
2689 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2691 * NEWS: Document this.
2692 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2694 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2695 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
2696 not for GNU extensions; this undoes part of the 2000-11-03 change,
2697 reverting to 2.13-compatible behavior.
2698 Add new optional argument DIR.
2699 (AC_FUNC_FNMATCH_GNU): New macro.
2701 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2703 2002-05-08 Paul Eggert <eggert@twinsun.com>
2705 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2706 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
2707 and it causes a 'test' syntax error if it fails.
2708 Bug reported by Stephen Gildea.
2710 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2711 If prototypes are supported, use them to check this at compile-time,
2712 instead of trying to check it at run-time. If we must do a run-time
2713 check, assume that setvbuf is standard when cross-compiling, as
2714 nonstandard setvbuf occurs only on ancient and unlikely hosts.
2715 Bug reported by Paul D. Smith.
2717 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2718 argument specifying location of getloadavg.c. This removes a
2719 FIXME. This idea was taken from Jim Meyering's implementation in
2721 * doc/autoconf.texi (Particular Functions): Document this.
2722 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2723 that's what the code does; this fixes a bug reported by
2726 2002-05-03 Akim Demaille <akim@epita.fr>
2728 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2729 autopoint instead of gettextize.
2730 ($uses_alocal): Rename as...
2731 ($uses_aclocal): this.
2732 * doc/autoconf.texi (autoreconf Invocation): Adjust.
2733 Suggested by Bruno Haible.
2735 2002-05-03 Akim Demaille <akim@epita.fr>
2737 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2739 2002-04-29 Paul Eggert <eggert@twinsun.com>
2741 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2742 files to be 1 second older; just set them to be the same time.
2743 Also, sleep 1 second after the first aclocal, to work around
2744 problems with sub-second time stamps on the input files.
2746 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
2748 * doc/autoconf.texi: Mention "set -e -x" lossage
2749 under node "Limitations of Builtins".
2751 2002-04-29 Akim Demaille <akim@epita.fr>
2753 * doc/install.texi: Better wording for setting variables when
2755 From Christian Cornelssen.
2757 2002-04-29 Akim Demaille <akim@epita.fr>
2759 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2760 of lack of $LINENO support, then the test will compare the $LINENO
2761 in testsuite vs. the lineno in the test file. This is wrong, of
2763 Be sure to protect it.
2764 Reported by Patrick Welche.
2766 2002-04-25 Akim Demaille <akim@epita.fr>
2768 * doc/autoconf.texi (Obsolete Macros): Typo.
2769 Reported by Vladimir Volovich.
2771 2002-04-25 Akim Demaille <akim@epita.fr>
2773 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2774 than some of the input files, hence, on the second run of aclocal,
2775 if some of its input are younger, make them older.
2776 Suggested by Paul Eggert.
2778 2002-04-25 Akim Demaille <akim@epita.fr>
2780 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2781 Thanks to Paul Eggert.
2783 2002-04-25 Akim Demaille <akim@epita.fr>
2785 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2786 and ac_subst_vars be sh variables containing the list of
2787 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
2789 (_AC_INIT_PREPARE): Use them to log them.
2790 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2791 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2792 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2793 _AC_SUBST_FILES and _AC_SUBST_VARS.
2794 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2796 2002-04-24 Akim Demaille <akim@epita.fr>
2798 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2799 autoheader, so that automake does not complain about a missing
2800 config.h.in that was to be created.
2802 2002-04-23 Akim Demaille <akim@epita.fr>
2804 * bin/autoheader.in (parse_args): --warning takes an argument.
2807 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
2809 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2810 and bb.out when cleaning up.
2812 2002-04-22 Akim Demaille <akim@epita.fr>
2816 2002-04-22 Akim Demaille <akim@epita.fr>
2818 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2820 2002-04-22 Akim Demaille <akim@epita.fr>
2822 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2824 Reported by Gregory Giannoni.
2826 2002-04-22 Akim Demaille <akim@epita.fr>
2828 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2829 Fixes false failures on Darwin.
2831 2002-04-21 Paul Eggert <eggert@twinsun.com>
2833 * TODO, bin/autoupdate.in, doc/autoconf.texi,
2834 lib/autoconf/general.m4, lib/autoconf/libs.m4,
2835 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2836 tests/tools.at: Minor spelling and grammar fixes.
2838 2002-04-20 Paul Eggert <eggert@twinsun.com>
2840 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2841 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
2842 * lib/autotest/general.m4 (AT_INIT): Likewise.
2843 * tests/atgeneral.m4 (AT_INIT): Likewise.
2845 2002-04-19 Paul Eggert <eggert@twinsun.com>
2847 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2848 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2849 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2850 lib/autoconf/functions.m4, lib/autoconf/general.m4,
2851 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2852 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2853 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2854 Minor spelling and grammar fixes.
2856 * doc/autoconf.texi: Follow the outline suggested in the GNU
2857 Sample Texts sections of the Texinfo 4.2 manual. Most
2858 importantly, this makes sure that the copyright notices appear in
2859 all output formats. You probably need Texinfo 4.2 to generate
2862 Fix some bugs when using "$@" when there might be zero positional
2863 arguments in cases where this matters.
2865 * bin/autoconf.as: Rewrite so that the problem does not come up.
2866 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2867 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2868 * lib/autotest/general.m4 (AT_INIT): Likewise.
2870 * bin/autoheader.in: Use 'case' statement to work around problem.
2871 * bin/auto4mte.in: Likewise.
2872 * bin/autoreconf.in: Likewise.
2873 * bin/autoscan.in: Likewise.
2874 * bin/autoupdate.in: Likewise.
2875 * bin/ifnames.in: Likewise.
2877 * doc/autoconf.texi (Shell Substitutions): Document the problem.
2879 * lib/autotest/general.m4 (AT_INIT):
2880 Use Zsh alias to work around problem.
2881 * tests/atgeneral.m4 (AT_INIT): Likewise.
2883 * tests/c.at: We can't have zero arguments, so remove workaround
2884 that is not portable to Zsh.
2886 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2888 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2889 from aclocal.m4 too.
2891 2002-04-12 Akim Demaille <akim@epita.fr>
2893 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2895 2002-04-10 Akim Demaille <akim@epita.fr>
2897 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2898 workaround for ${1+"$@"}.
2899 * doc/autoconf.texi (Shell Substitutions): Explain it.
2900 From Oliver Kiddle and Peter Stephenson.
2902 Have M4sh perform minimal shell sanitizing.
2904 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2906 (_AS_PREPARE): this new macro.
2908 (AS_INIT): Invoke AS_SHELL_SANITIZE.
2909 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2911 Adjust Autoconf and Autotest.
2913 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2914 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2915 * lib/autotest/general.m4 (AT_INIT): Likewise.
2916 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2917 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2920 Use this M4sh to generate Autoconf's shell scripts.
2922 * tests/wrapsh.as: New, precursor of wrapsh.in.
2923 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2924 on Autotest and M4sh.
2925 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2926 (wrapsh.in): New target.
2927 * bin/autoconf.as: New, precursor of autoconf.in.
2928 (autoconf.in): New target.
2930 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2932 * doc/autoconf.texi (Limitations of Make): Mention the issue
2933 with indented comments in rules.
2935 2002-04-09 Andreas Schwab <schwab@suse.de>
2937 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
2938 ac_top_builddir when setting ac_abs_top_builddir.
2940 2002-04-06 Kevin Ryde <user42@zip.com.au>
2942 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
2943 (Portable Shell): Cross reference to Systemology.
2945 2002-04-05 Akim Demaille <akim@epita.fr>
2947 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
2948 directories when descending in a SUBDIRS.
2949 Reported by Ezra Peisach.
2951 2002-04-04 Andreas Schwab <schwab@suse.de>
2953 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
2954 contains no literal separators.
2956 2002-04-03 Akim Demaille <akim@epita.fr>
2958 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
2959 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
2960 Use dnl, not the KILL diversion.
2962 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
2963 (AC_CONFIG_LINKS): here.
2965 Don't use the KILL diversion, as it kills spurious output, which
2966 results in failures being hidden.
2967 Use m4_defn where appropriate.
2968 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
2969 after the second argument.
2971 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
2972 syntax, as it is provided by M4sugar.
2973 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
2975 2002-04-03 Andreas Schwab <schwab@suse.de>
2977 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
2978 expanded if $# <= 2.
2980 * bin/autoreconf.in (autoreconf): Run automake after rerunning
2983 2002-04-03 Akim Demaille <akim@epita.fr>
2985 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
2986 (_AC_COMPILER_EXEEXT_REJECT): New.
2987 Also recognize *.bb and *.bbg as compilation byproducts.
2988 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
2989 (_AC_COMPILER_OBJEXT): Use them.
2990 Fixes Debian #138666.
2992 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
2994 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
2996 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
2997 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
2998 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
2999 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3001 (AC_C_INLINE): Same.
3002 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
3003 * doc/autoconf.texi, NEWS: Document.
3004 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3007 2002-04-02 Akim Demaille <akim@epita.fr>
3009 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3010 _AS_MKDIR_P_PREPARE.
3012 2002-03-28 Kevin Ryde <user42@zip.com.au>
3014 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3015 to avoid versions of HP C which don't allow that.
3017 2002-03-27 Paul Eggert <eggert@twinsun.com>
3019 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3020 (AS_SHELL_SANITIZE): Invoke it.
3021 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3023 2002-03-26 Akim Demaille <akim@epita.fr>
3025 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3027 2002-03-26 Akim Demaille <akim@epita.fr>
3029 * doc/autoconf.texi (Introduction): The GNATS base moved.
3031 2002-03-25 Paul Eggert <eggert@twinsun.com>
3033 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3034 as POSIX requires, as it doesn't work with Zsh.
3035 * doc/autoconf.texi (Assignments): Document the problem.
3037 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3039 * doc/autoconf.texi (Limitations of Make): Mention more issue
3040 about VPATH, overriding of macros in sub-makes, and handling of
3043 2002-03-21 Paul Eggert <eggert@twinsun.com>
3045 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3046 problem with here-document buffer boundaries.
3048 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3049 when reinvoking the shell, to work around problems with installers
3050 who put strange things like "cd" commands in their environments.
3052 2002-03-19 Akim Demaille <akim@epita.fr>
3054 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3057 2002-03-19 Akim Demaille <akim@epita.fr>
3059 * bin/autoscan.in (scan_file): Specify the location in `&used'
3063 2002-03-19 Akim Demaille <akim@epita.fr>
3065 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3066 From Nishio Futoshi.
3068 2002-03-19 Akim Demaille <akim@epita.fr>
3070 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3072 2002-03-18 Paul Eggert <eggert@twinsun.com>
3074 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3075 (Limitations of Usual Tools): Add mkdir section.
3077 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3078 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
3079 back on AS_DIRNAME to compute prefixes otherwise; this is
3080 roughly what mkinstalldirs does. That way, we need not have
3081 our own filename disassembler. The old disassembler did not
3082 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3084 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3085 Create at_test_all by a series of assignments,
3086 not by a single assignment of a long string. The latter causes ksh
3087 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3088 presumably because of a buffer overrun.
3090 2002-03-14 Paul Eggert <eggert@twinsun.com>
3092 * lib/autotest/general.m4 (at_times_skip):
3093 Renamed from at_times. Now a boolean.
3094 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3095 says 'times: not found'.
3097 2002-03-14 Akim Demaille <akim@epita.fr>
3099 * bin/autoreconf.in (&study_gettextize): New.
3100 (&autoreconf): Handle newest gettextize.
3101 Rerun aclocal if needed.
3102 Suggested by Andreas Schwab.
3104 2002-03-13 Akim Demaille <akim@epita.fr>
3106 * doc/autoconf.texi (Special Shell Variables): More about IFS.
3108 2002-03-13 Akim Demaille <akim@epita.fr>
3110 * doc/autoconf.texi (Header Portability): New.
3111 Add information about stdint.h and inttypes.h from Paul Eggert.
3113 2002-03-13 Akim Demaille <akim@epita.fr>
3115 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3119 2002-03-12 Akim Demaille <akim@epita.fr>
3121 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3124 2002-03-11 Andreas Schwab <schwab@suse.de>
3126 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3127 does not do it if --with-lispdir is given.
3129 2002-03-08 Akim Demaille <akim@epita.fr>
3133 2002-03-08 Akim Demaille <akim@epita.fr>
3135 * doc/autoconf.texi (Subdirectories): Clarify that the
3136 subdirectory should exist.
3138 2002-03-08 Akim Demaille <akim@epita.fr>
3140 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3142 2002-03-08 Akim Demaille <akim@epita.fr>
3144 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3145 aliases the actual variables, and modifications of the former
3148 2002-03-08 Akim Demaille <akim@epita.fr>
3150 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3151 because of C-c: have m4 output in tmp files, then mv them.
3153 2002-03-08 Akim Demaille <akim@epita.fr>
3155 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3156 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3157 * bin/ifnames.in: Copyright update.
3159 2002-03-08 Akim Demaille <akim@epita.fr>
3161 * doc/autoconf.texi (Invoking autom4te): New.
3163 2002-03-05 Akim Demaille <akim@epita.fr>
3165 * doc/autoconf.texi (Specifying Names): Clarification suggested by
3168 2002-03-05 Akim Demaille <akim@epita.fr>
3172 2002-03-04 Akim Demaille <akim@epita.fr>
3174 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3175 * lib/autoconf/general.m4 (AC_INIT): More informative error
3178 2002-03-04 Akim Demaille <akim@epita.fr>
3180 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3183 2002-03-04 Akim Demaille <akim@epita.fr>
3185 * doc/autoconf.texi (Transforming Names): Equality between target
3186 and host is irrelevant.
3187 (Specifying Names, Canonicalizing): Remove all references to the
3188 backward compatibility hooks. Rather, collect them all into...
3189 (Hosts and Cross-Compilation): this new section.
3190 * doc/install.texi (System Type): Ditto.
3191 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3192 that `--host' implies cross-compilation.
3194 2002-03-04 Akim Demaille <akim@epita.fr>
3196 * doc/autoconf.texi (Evaluation Macros): New.
3197 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3199 (_m4_foreach): Define the variant with immediate evaluation so
3200 that it contains exactly the items, not an expression which
3201 evaluation is the current item.
3202 (m4_re_string, m4_re_word): Don't over quote them.
3204 2002-03-04 Akim Demaille <akim@epita.fr>
3206 Instead of having stacking `shift's evaluated at the end, let
3207 `foreach' loops immediately evaluate them.
3209 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3210 $*. This is the n-th time I change my mind, but hopefully this is
3213 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3215 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3216 it was only a hack for m4_text_wrap.
3217 (m4_car2): Remove, replaced by...
3219 (_m4_foreach): Adjust.
3220 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3221 m4_bpatsubst for clarification.
3223 2002-03-04 Akim Demaille <akim@epita.fr>
3225 * doc/autoconf.texi (Changequote is Evil): New.
3227 2002-03-03 Kevin Ryde <user42@zip.com.au>
3229 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3230 on old systems like SunOS.
3232 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
3234 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3235 lib/autoconf/functions.m4, lib/autoconf/general.m4,
3236 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3237 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3240 2002-02-28 Akim Demaille <akim@epita.fr>
3242 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3245 2002-02-28 Kevin Ryde <user42@zip.com.au>
3247 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3249 2002-02-25 Akim Demaille <akim@epita.fr>
3251 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3254 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3256 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3257 translate \r\n to \n.
3259 2002-02-07 Akim Demaille <akim@epita.fr>
3263 2002-02-07 Akim Demaille <akim@epita.fr>
3265 Fix Autoconf PR/209.
3266 Also reported by Frank Denis.
3268 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3270 2002-02-07 Akim Demaille <akim@epita.fr>
3272 Fix Autoconf PR/207:
3273 AC_PREFIX_PROGRAM fails with dashed program names
3275 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3276 variable when looking for the prefix program.
3277 Now it also works for shell variables.
3279 2002-02-07 Akim Demaille <akim@epita.fr>
3281 * doc/autoconf.texi (Limitations of Builtins): More about
3284 2002-02-06 Akim Demaille <akim@epita.fr>
3286 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3287 case/esac, some shells don't support it.
3288 Reported by Zack Weinberg.
3289 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3291 2002-02-06 Akim Demaille <akim@epita.fr>
3293 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3294 sure not to introduce newlines in at_groups.
3295 * lib/autotest/Makefile.am (autotest.m4f): Typo.
3297 2002-02-06 Akim Demaille <akim@epita.fr>
3299 * tests/torture.at (Configuring subdirectories): Skip if aclocal
3302 2002-02-05 Paul Eggert <eggert@twinsun.com>
3304 * doc/autoconf.texi (Specific Compiler Characteristics):
3305 Describe HP-UX cc bug workaround more accurately.
3306 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3308 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3309 cross-compilers, too. This undoes some of the most recent change
3312 2002-02-05 Akim Demaille <akim@epita.fr>
3314 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3315 to make sure they are up to date when `check' is run.
3317 2002-02-05 Akim Demaille <akim@epita.fr>
3319 * doc/autoconf.texi (Making testsuite Scripts): Document
3322 2002-02-05 Akim Demaille <akim@epita.fr>
3324 * lib/freeze.mk: New.
3326 2002-02-05 Akim Demaille <akim@epita.fr>
3328 Implement `autom4te --freeze'.
3330 * bin/autom4te.in (&freeze): New.
3331 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3332 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3334 2002-02-05 Akim Demaille <akim@epita.fr>
3336 * bin/autom4te.in (&parse_args): Implement `frozen files are
3337 optional are the sum of the previous files on the command line'.
3338 Also, pass `--reload-state=' on them, so...
3340 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3341 (M4sh): Rely on M4sugar.
3342 (Autotest, M4sh, M4sugar): Use frozen files.
3344 2002-01-31 Akim Demaille <akim@epita.fr>
3346 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3347 * doc/autoconf.texi (Initializing configure): Adjust.
3349 2002-01-30 Akim Demaille <akim@epita.fr>
3351 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3352 alphanumeric to `-' instead of `_'.
3354 2002-01-30 Akim Demaille <akim@epita.fr>
3356 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3357 for plain code, the other for cross-compilation code. The latter
3358 is now run with GCC only.
3359 * doc/autoconf.texi (Compilers and Preprocessors): New.
3361 2002-01-30 Akim Demaille <akim@epita.fr>
3363 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3365 * doc/autoconf.texi (Initializing configure): Explain how to
3366 change AC_INIT default values.
3368 2002-01-29 Akim Demaille <akim@epita.fr>
3370 * tests/torture.at (Configuring subdirectories): Use configure.in,
3371 so that aclocal 1.4 works.
3372 Reported by Alexandre Duret-Lutz and Larry Schmitt.
3374 2002-01-28 Akim Demaille <akim@epita.fr>
3376 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3379 2002-01-28 Akim Demaille <akim@epita.fr>
3381 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3382 AUTOTEST_PATH *after* it was set.
3383 Don't put `.' in the PATH: the user should be precise and `./' if
3384 needed. In addition, given that the test suite does some `cd', if
3385 `.' is in the path, the `tested programs' sections will report
3386 programs found in the test suite's directory, while during the
3387 tests (performed in their own directory), these programs are no
3388 longer visible. In other words, the results is confusing and
3390 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3392 2002-01-24 Akim Demaille <akim@epita.fr>
3396 2002-01-24 Akim Demaille <akim@epita.fr>
3398 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3399 * doc/autoconf.texi: Finally add Akim as an author.
3401 2002-01-24 Akim Demaille <akim@epita.fr>
3403 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3404 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3405 Bourne. Use /bin/sh.
3406 From Andreas Buening.
3408 2002-01-24 Akim Demaille <akim@epita.fr>
3410 * config/config.guess, config/config.sub, config/texinfo.tex:
3411 Update from masters.
3413 2002-01-24 Akim Demaille <akim@epita.fr>
3415 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3416 * config/auxdir.m4, config/cond.m4, config/depend.m4,
3417 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3418 * config/missing.m4, config/sanity.m4, config/select.m4,
3419 * config/strip.m4: Remove, to ease sync'ing with any version of
3422 2002-01-24 Akim Demaille <akim@epita.fr>
3424 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3425 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3426 Reported by Geir Ove Myhr.
3428 2002-01-21 Akim Demaille <akim@epita.fr>
3430 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3432 2002-01-21 Akim Demaille <akim@epita.fr>
3434 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3435 message on invalid options.
3436 * bin/autom4te.in (parse_args): Don't use
3437 Autoconf::General::getopt with non valid options.
3439 2002-01-17 Jim Meyering <meyering@lucent.com>
3441 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3442 $ac_cv_exeext so we don't use an old, invalid, cached value.
3444 2002-01-11 Akim Demaille <akim@epita.fr>
3446 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3448 * doc/autoconf.texi (Function Portability): Document the strnlen
3450 (Particular Functions): Document AC_FUNC_STRNLEN.
3451 * lib/autoscan/functions: Adjust.
3453 2002-01-06 Akim Demaille <akim@epita.fr>
3455 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3456 package.m4, since is really depends upon configure.ac, not
3458 * doc/autoconf.texi (testsuite Scripts): Adjust.
3459 * tests/Makefile.am (package.m4): New.
3460 EXTRA_DIST it since its a source.
3462 2002-01-06 Akim Demaille <akim@epita.fr>
3464 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3465 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3466 and PACKAGE_BUGREPORT from here...
3467 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3469 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3470 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3471 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3472 * tests/tools.at (autoheader): Adjust.
3473 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3475 2002-01-06 Akim Demaille <akim@epita.fr>
3477 * bin/autoscan.in (scan_file): Use `&used'.
3479 2002-01-03 Akim Demaille <akim@epita.fr>
3481 * doc/autoconf.texi (Output): Improved wording regarding use of
3485 2001-12-18 Kevin Ryde <user42@zip.com.au>
3487 * doc/autoconf.texi (Function Portability): Add notes on sscanf
3488 sometimes needing writable input.
3490 2001-12-17 Jim Meyering <meyering@lucent.com>
3492 * doc/autoconf.texi (New Macros): Tweak wording.
3494 2001-12-14 Akim Demaille <akim@epita.fr>
3496 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3497 trailing files, don't apply `-rf' to files which might not be
3498 created by configure (core, core.*, and *.core), but just `rm -f'.
3499 Suggested by Jonathan Kamens.
3501 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
3503 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3505 2001-12-14 Akim Demaille <akim@epita.fr>
3507 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3509 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
3511 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3512 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3513 abs_srcdir, top_srcpath to abs_top_srcdir.
3514 (_AC_OUTPUT_FILES): Adjust.
3515 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3516 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3517 * tests/wrappl.in, tests/wrapsh.in: Adjust.
3519 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
3521 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3522 C/Fortran linking on HP/UX, by extracting the Fortran library
3523 search path from the LPATH line in the $F77 -v output.
3525 2001-12-12 Kevin Ryde <user42@zip.com.au>
3527 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3528 forbidden file descriptors table.
3530 2001-11-26 Akim Demaille <akim@epita.fr>
3532 * bin/autoscan.in (%c_keywords): Build it at top level.
3533 Map to 1 in order to simplify its uses.
3535 2001-11-26 Akim Demaille <akim@epita.fr>
3537 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3538 Remove $filepath, useless.
3539 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3540 variables, they are really part of the tokens.
3541 Split the input line on spaces and then look for tokens.
3542 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3543 because of `lex$U.$(OBJEXT)'.
3544 (&scan_files): Use "@list" instead of join.
3545 * doc/Makefile.am (CLEANFILES): Add *.fns.
3547 2001-11-26 Akim Demaille <akim@epita.fr>
3549 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3550 Remove, replaced by...
3551 * tests/wrappl.in: Be common for all the Perl executables.
3552 In particular autoscan and autoheader want -I.
3553 * configure.ac: Adjust.
3554 * lib/autoscan/headers: errno.h is portable.
3556 2001-11-26 Akim Demaille <akim@epita.fr>
3558 * bin/autoscan.in (used): New.
3561 2001-11-26 Akim Demaille <akim@epita.fr>
3563 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3565 (&scan_sh_file): Remove a duplicate pattern.
3566 (&check_configure_ac): Use long options.
3567 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3569 2001-11-26 Akim Demaille <akim@epita.fr>
3571 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3572 Before, having a line containing the opening of a multi line
3573 comment made the whole line be ignored.
3575 2001-11-26 Akim Demaille <akim@epita.fr>
3577 * doc/autoconf.texi (Using an Autotest Test Suite): New.
3578 (testsuite Scripts): Be one of its subsection.
3579 (Autotest Logs): New.
3581 2001-11-26 Akim Demaille <akim@epita.fr>
3583 Test groups are now run two directories deeper.
3585 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3586 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3588 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3589 top_srcdir, builddir and top_builddir.
3590 Use `at_*dir' relatively to the directory containing the
3591 suite, use `*dir' when relatively to the current group dir.
3593 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3595 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3596 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3597 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3600 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3602 * doc/autoconf.texi (Using System Type): Add an example of `case
3603 $host' usage so people quit using `case $target' everywhere.
3605 2001-11-22 Akim Demaille <akim@epita.fr>
3607 * doc/autoconf.texi (Installation Directory Variables): Englishoes
3608 spotted by Jim Meyering.
3610 2001-11-16 Paul Eggert <eggert@twinsun.com>
3612 This patch implements a `long double' suggestion by Oliver Kiddle.
3614 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3615 static, to catch errors if the value isn't known at compile-time
3616 and the compiler supports dynamic arrays. Change its name from
3617 `_array_' to `test_array' to avoid potential name clashes.
3618 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3619 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
3620 better than double. Catch a bug in GCC 2.95.2 x86.
3621 * doc/autoconf.texi (C Compiler): Document the above.
3624 2001-11-13 Akim Demaille <akim@epita.fr>
3626 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3628 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3630 2001-11-13 Akim Demaille <akim@epita.fr>
3632 * lib/autotest/general.m4 (AT_INIT): After having run the test
3633 group, go back to the initial directory, not to at_suite_dir.
3635 2001-11-13 Akim Demaille <akim@epita.fr>
3637 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3638 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
3639 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3641 (AT_CHECK_CONFIGURE): Use absolute paths.
3642 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3643 The problem is still the old one: there is no means in M4 (that I
3644 know about) to create a defining macro, because there is no means
3645 to create `$1' etc., therefore, the defining macro ``swallows''
3646 all the arguments meant to the defined macro.
3648 2001-11-13 Akim Demaille <akim@epita.fr>
3650 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3651 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3653 * tests/aclocal.m4: Remove, as it is no longer used.
3655 2001-11-13 Akim Demaille <akim@epita.fr>
3657 * lib/autotest/general.m4: Change `tests?' into `groups?' in
3658 variable names when referring to a single test group, or to
3659 `suite' when referring to the whole test suite.
3660 `at_last_test' is removed: m4 compute at_format itself.
3661 (at_stdout, at_stder1, at_stderr): New variables.
3662 (AT_CHECK): Use them.
3664 2001-11-13 Akim Demaille <akim@epita.fr>
3666 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3668 Create `testsuite.dir/003/run' instead of `testsuite.003'.
3669 Do it as soon as a test fails, don't wait till the end of the test
3671 Don't remove $as_me.[0-9]*, since these files no longer exist.
3673 2001-11-13 Akim Demaille <akim@epita.fr>
3675 * tests/tools.at: Use absolute paths, since we are no longer run
3678 2001-11-13 Akim Demaille <akim@epita.fr>
3680 Now that tests are running in their own private dir, there is no
3681 need to list the files to remove at the end of tests groups.
3683 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3684 (AT_data_files, at_data_files): Remove.
3685 (AT_CLEANUP, AT_DATA): Simplify.
3687 Remove the group dir if !debug && !failed.
3688 * tests/atspecific.m4: Adjust.
3690 2001-11-13 Akim Demaille <akim@epita.fr>
3692 Start a new layout for Autotest: `testsuite' creates
3693 `testsuite.dir' in which the at-check-line etc. files are to be
3694 found, and `testsuite.dir/003' where the test group 3 is run.
3696 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3697 at_check_line_file, at_format, at_test_normalized, at_group_dir
3699 Create the directories.
3700 Use absolute paths for at- files.
3703 2001-11-11 Michael Matz <matz@kde.org>
3705 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3707 (m4_car): Properly quote arguments.
3709 2001-11-13 Akim Demaille <akim@epita.fr>
3711 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3712 with stricter rules on LIBOBJS.
3714 2001-11-12 Paul Eggert <eggert@twinsun.com>
3716 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3717 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3720 2001-11-12 Akim Demaille <akim@epita.fr>
3722 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3724 2001-11-12 Akim Demaille <akim@epita.fr>
3726 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3727 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3728 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3729 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3730 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3731 specify to what the macro should be defined (typically to 1).
3733 2001-11-12 Akim Demaille <akim@epita.fr>
3735 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3738 2001-11-12 Akim Demaille <akim@epita.fr>
3740 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3741 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
3742 definition used by Automake where LEX is +/- "${missing} lex" and
3743 `missing' itself contains variables.
3745 2001-11-12 Akim Demaille <akim@epita.fr>
3747 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3748 Now that M4sh pushes BODY, the comments were output at the end of
3751 2001-11-08 Akim Demaille <akim@epita.fr>
3753 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3754 that we can trace macros from aclocal.m4.
3755 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3756 obsoleted, and redirect to the former anyway.
3757 Reported by Ralf Corsepius.
3759 2001-11-08 Akim Demaille <akim@epita.fr>
3761 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3762 processed only if present.
3763 * tests/torture.at (Configuring subdirectories): Use autoreconf
3764 instead of successive calls to autoconf.
3765 Add a nonexistent subdirectory to exercise the patch above.
3766 Reported by Ralf Corsepius.
3768 2001-11-08 Kevin Ryde <user42@zip.com.au>
3770 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3771 doesn't accept .S files.
3773 2001-11-07 Akim Demaille <akim@epita.fr>
3775 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3776 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3777 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3778 * bin/autom4te.in (warn_forbidden): New.
3779 (handle_output): Use it.
3780 Read m4_pattern_forbid with messages.
3782 2001-11-05 Akim Demaille <akim@epita.fr>
3784 * bin/autom4te.in (--normalize): Remove.
3785 * lib/autom4te.in: Adjust.
3787 2001-11-05 Akim Demaille <akim@epita.fr>
3789 * tests/Makefile.am (testsuite): Rename this target as...
3790 ($(TESTSUITE)): this.
3793 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
3795 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3796 the --prefix option, also remove it's argument.
3798 2001-11-05 Akim Demaille <akim@epita.fr>
3800 * doc/autoconf.texi (testsuite Invocation): Update.
3801 (Writing testsuite.at): Update.
3803 2001-11-03 Akim Demaille <akim@epita.fr>
3805 * doc/autoconf.texi: s/@code/@command/ where appropriate.
3807 2001-11-03 Akim Demaille <akim@epita.fr>
3809 * lib/Autom4te/General.pm: (&catfile, &canonfile)
3810 (&file_name_is_absolute): New, wrappers around routines from
3812 Use and export them.
3813 (&find_configure_ac): Optionally take a directory where to look at.
3814 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3816 Default @ARGV to `.', not find_configure_ac.
3817 (&autoreconf): Argument is a directory.
3818 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3819 * doc/autoconf.texi (autoreconf Invocation): Update.
3821 2001-11-03 Akim Demaille <akim@epita.fr>
3823 * lib/Autom4te/General.pm (@export_vars, @export_subs)
3824 (@export_forward_subs): New.
3825 Add basename, dirname, and fileparse.
3827 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3828 Don't look for aclocal flags if we already know aclocal is not
3830 Move aclocal.m4t only if it exists.
3831 Reported by Ezra Peisach.
3833 2001-11-03 Akim Demaille <akim@epita.fr>
3835 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3836 passed on command line, defaulting to ./configure.ac if present.
3837 (&maybe_autoreconf, File::Find): Remove, unused.
3838 (&autoreconf): If autoconf is not used, don't try to trace.
3840 2001-11-02 Akim Demaille <akim@epita.fr>
3842 * configure.ac: Bump to 2.52g.
3844 2001-11-02 Akim Demaille <akim@epita.fr>
3848 2001-11-02 Akim Demaille <akim@epita.fr>
3850 * config/config.guess, config/config.sub, doc/standards.texi:
3851 * config/lispdir.m4: Update from masters.
3852 * configure.ac: Bump to 2.52f.
3854 2001-11-02 Akim Demaille <akim@epita.fr>
3856 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3857 Don't run aclocal when aclocal.m4 is not from aclocal.
3859 Don't run libtoolize and gettextize if --install is not given.
3861 2001-11-01 Paul Eggert <eggert@twinsun.com>
3863 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3864 be invoked before _AS_LINENO_PREPARE.
3865 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3866 than character ranges.
3868 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3869 invoking AS_BASENAME. Set the locale variables to 'C' if
3870 possible, as POSIX requires this to get the traditional
3872 * doc/autoconf.texi (Special Shell Variables): Describe the above.
3874 2001-10-31 Paul Eggert <eggert@twinsun.com>
3876 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3877 with {}, as that triggers a bug in Bash 2.05.
3879 (_AS_LINENO_PREPARE): Use Sed rather than
3880 Awk. Fix the sed prepass to work even if there are multiple
3881 instances of $LINENO on the same line. Do not substitute for
3882 other variables like $LINENOT. Do not check file dates; such a
3883 check is unreliable on sufficiently fast machines, and removing
3884 the check makes the code simpler and more reliable. Check for
3885 output and chmod failures.
3887 * doc/autoconf.texi (Special Shell Variables): Document
3890 2001-10-31 Akim Demaille <akim@epita.fr>
3892 * tests/Makefile.am (atconfig): Remove this target, Automake
3895 2001-10-31 Akim Demaille <akim@epita.fr>
3897 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3898 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3899 provided, while it is optional.
3900 * configure.ac: Adjust.
3902 2001-10-26 Paul Eggert <eggert@twinsun.com>
3904 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3905 lib/Autom4te/Struct.pm:
3906 Require Perl 5.005_03 instead of just 5.005, as some tests fail
3909 * doc/autoconf.texi (Special Shell Variables): Document some
3910 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3912 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3913 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3914 eval $LINENO is not portable in practice.
3916 2001-10-24 Akim Demaille <akim@epita.fr>
3918 * lib/Autom4te/General.pm (backname): New.
3920 2001-10-24 Akim Demaille <akim@epita.fr>
3922 * m4/: Remove, merged into...
3925 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
3927 * doc/autoconf.texi (Shellology): Mention the problems with bash
3928 2.05's use of ANSI quoting in its `set' builtin.
3930 2001-10-22 Paul Eggert <eggert@twinsun.com>
3932 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3933 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3934 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3935 POSIX decided to standardize on the int flavor of strerror_r.
3936 Always do char* test, as there's no reason not to.
3937 Assign to a char* var, to catch strerror_r that returns int*.
3939 * doc/autoconf.texi (Particular Functions):
3940 Document the above changes. Also, document the fact that
3941 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
3943 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
3945 2001-10-20 Akim Demaille <akim@epita.fr>
3947 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
3948 the executable was missing from the log.
3950 2001-10-20 Akim Demaille <akim@epita.fr>
3952 * lib/Autom4te/General.pm (&update_file): If destination is
3953 unchanged, remove the source.
3954 (&up_to_date_p): Don't be verbose, be debug.
3955 * bin/autoreconf.in: No longer support --m4dir.
3956 (&autoreconf): Display the full path of the configure.ac we are
3959 Be sure to honor --force with gettextize.
3961 * doc/autoconf.texi: Adjust.
3963 2001-10-20 Akim Demaille <akim@epita.fr>
3965 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
3967 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
3968 `intl' is already present, as it refuses unless --force.
3969 (&parse_args): Use -I, --include instead of the old Autoconf
3971 ($localdir, $autoconf_dir): Remove.
3973 (&maybe_autoreconf): New, to preserve $_ for File::Find.
3975 2001-10-19 Jens Petersen <petersen@redhat.com>
3977 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
3978 * doc/autoconf.texi (Particular Programs): Likewise.
3980 2001-10-19 Akim Demaille <akim@epita.fr>
3982 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
3983 file in @configure_input@.
3984 Don't mention `automatically' in addition to `generated'.
3985 * tests/torture.at (#define header templates): Adjust.
3987 2001-10-19 Akim Demaille <akim@epita.fr>
3989 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
3990 comment, explain how to install automatic mode selection.
3993 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
3995 * bin/autoreconf.in (autoreconf): Display the path to the
3996 configure.ac being studied.
3998 2001-10-18 Paul Eggert <eggert@twinsun.com>
4000 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4001 long, to work around a bug in the HP C compiler version HP92453-01
4004 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4005 (AS_BASENAME_EXPR): New macro.
4006 (AS_BASENAME_SED): Do not assume GNU sed semantics.
4007 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4008 and fall back on 'sed' only if the other two fail. This makes
4009 AS_BASENAME act more like AS_DIRNAME.
4010 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4011 contains white space.
4012 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4013 Use AS_DIRNAME, since I think it's now DOS-friendly.
4014 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4015 Allow "dirname //FOO" to return either / or //, as POSIX allows
4018 2001-10-10 Akim Demaille <akim@epita.fr>
4020 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4021 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4024 2001-10-10 Akim Demaille <akim@epita.fr>
4026 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4028 (_AS_ECHO_N): AS_REQUIREs it.
4030 2001-10-10 Akim Demaille <akim@epita.fr>
4032 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4033 (AC_INCLUDES_DEFAULT): Move to...
4034 * lib/autoconf/headers.m4: here.
4035 * lib/autoconf/types.m4: Comment changes.
4036 * doc/autoconf.texi: Specify where the default includes are used
4037 in the macro prototypes.
4039 2001-10-09 Akim Demaille <akim@epita.fr>
4041 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4044 2001-10-08 Akim Demaille <akim@epita.fr>
4046 * bin/autoreconf.in (&autoreconf): Remove debugging code.
4047 (&parse_args): Pass verbosity/debugging options to subtools when
4048 --debug, not when --verbose.
4049 * lib/autom4te.in (Autoreconf-preselections): New.
4052 2001-10-08 Akim Demaille <akim@epita.fr>
4054 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4056 2001-10-08 Akim Demaille <akim@epita.fr>
4058 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4059 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4061 2001-10-08 Akim Demaille <akim@epita.fr>
4063 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4064 (Syntax of the shell scripts): Don't.
4065 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4066 bother with $force since...
4067 * lib/Autom4te/General.pm: does.
4069 2001-10-08 Akim Demaille <akim@epita.fr>
4071 * bin/autoreconf.in: Rewrite in Perl.
4072 * configure.ac: Adjust.
4073 * lib/Autom4te/General.pm (&up_to_date_p): New.
4074 * bin/autom4te.in (&up_to_date_p): Use it.
4076 (&up_to_date): this.
4078 2001-10-08 Akim Demaille <akim@epita.fr>
4080 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4081 (m4_list_cmp): Use $0 to reinvoke yourself.
4082 (m4_patsubsts): New.
4083 (m4_strip, m4_version_unletter): Use it.
4084 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4086 2001-10-08 Akim Demaille <akim@epita.fr>
4088 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4089 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4090 * lib/autoconf/types.m4, lib/autotest/general.m4,
4091 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4092 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4093 m4_bregexp, m4_bpatsubst, and m4_bmatch.
4094 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4096 2001-10-08 Akim Demaille <akim@epita.fr>
4098 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4100 2001-10-08 Akim Demaille <akim@epita.fr>
4102 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4103 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4104 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4105 * tests/tools.at, tests/m4sh.at: Use it.
4106 * tests/m4sh.at: Don't rely on Autoconf macros.
4107 (DIRNAME_TEST): Also exercise the expr variant.
4108 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4109 preferred M4sugar extension is now `.4s'.
4110 * tests/README: Remove.
4112 2001-10-08 Akim Demaille <akim@epita.fr>
4114 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4115 (m4_provide_if): this.
4116 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4117 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4118 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4119 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4121 2001-10-08 Akim Demaille <akim@epita.fr>
4123 Use `add-log-current-defun-function' for ChangeLog creation.
4124 Suggested by Tom Tromey.
4126 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4127 (autotest-mode): Adjust.
4128 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4129 'comment-region onto `C-c ;'.
4130 Comments are `#', not `dnl'.
4131 (autoconf-current-defun): New.
4132 (autoconf-font-lock-keywords): Recognize `m4_defun'.
4134 2001-10-08 Akim Demaille <akim@epita.fr>
4136 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4137 * lib/m4sugar/m4sh.m4: here.
4138 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4139 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4140 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4141 include handle the m4_pattern_*, no longer push the
4142 BODY diversion nor set the /bin/sh line, AS_INIT does it.
4143 * lib/autotest/general.m4 (AT_INIT): Likewise.
4144 * tests/base.at: Adjust the tests to use AS_INIT.
4145 * tests/tools.at (AT_DATA_FORBIDDEN): New.
4146 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4149 2001-10-07 Paul Eggert <eggert@twinsun.com>
4151 * doc/autoconf.texi (config.status Invocation):
4152 CONFIG_SHELL defaults to a shell that supports LINENO if available.
4154 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4155 shell does not support LINENO, and if CONFIG_SHELL is unset or
4156 empty, and if we can find a shell that does support LINENO,
4157 then set CONFIG_SHELL to that shell and then re-execute
4158 ourselves with CONFIG_SHELL.
4160 2001-10-05 Paul Eggert <eggert@twinsun.com>
4162 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4163 doesn't exist. Remove *.tmp, as a .tmp file is created during the
4164 build of $(TESTSUITE).
4166 2001-10-05 Akim Demaille <akim@epita.fr>
4168 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4169 iff we are a bareword.
4170 Reported by Raja R Harinath.
4172 2001-10-05 Akim Demaille <akim@epita.fr>
4174 * tests/m4sh.at (LINENO): New.
4175 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4176 PATH_SEPARATOR before using it.
4177 Fix the absolute path case/esac pattern.
4178 Provide $0 as fallback for as_myself.
4179 Reported by Raja R Harinath.
4181 2001-10-05 Akim Demaille <akim@epita.fr>
4183 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4184 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4186 2001-10-05 Akim Demaille <akim@epita.fr>
4188 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4189 (AS_SHELL_SANITIZE): here. Use it.
4190 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4193 2001-10-04 Akim Demaille <akim@epita.fr>
4195 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4196 combination of Awk and sed to replace $LINENO.
4198 2001-10-02 Paul Eggert <eggert@twinsun.com>
4200 * doc/autoconf.texi (Limitations of Builtins): You can't use
4201 "source"; it's not portable. Remove confusing and
4202 somewhat-incorrect example involving "." and "/".
4204 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4205 compatibility with POSIX shells.
4207 2001-10-02 Akim Demaille <akim@epita.fr>
4209 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4210 instead of exec'ing to preserve $0 and $@.
4212 2001-10-01 Akim Demaille <akim@epita.fr>
4214 * tests/testsuite (AT_INIT) <at_pass_list>: New.
4215 Don't run twice the same test.
4217 2001-10-01 Akim Demaille <akim@epita.fr>
4219 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4220 No longer output the list of tests.
4221 <--list>: New option.
4222 <--full-help>: Remove.
4223 Complete the short/long options duality.
4224 Various small adjustments.
4226 2001-10-01 Akim Demaille <akim@epita.fr>
4228 * doc/autoconf.texi: Use @kbd for user input.
4229 Always use `$' as shell prompt.
4231 2001-09-30 Paul Eggert <eggert@twinsun.com>
4233 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4234 Don't use nested parenthesization. This patch was originally
4235 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4236 but somehow it didn't get incorporated then.
4237 * doc/autoconf.texi (Limitations of Usual Tools):
4238 Clarify remark about sed and nested parenthesization.
4240 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4241 Report an error if the size cannot be determined even though
4243 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4244 Check for `expr' arithmetic overflow, and for compilation failure,
4245 and invoke a new argument $4 if either is discovered.
4246 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4247 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4249 2001-09-28 Akim Demaille <akim@epita.fr>
4251 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4252 * m4/lispdir.m4: New.
4253 * aclocal.m4, configure.ac: Adjust.
4255 2001-09-28 Akim Demaille <akim@epita.fr>
4257 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4259 (AT_INIT): More the wrapped section to where it will be expanded.
4260 Output `AT_tested' only when existing.
4261 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4263 2001-09-27 Akim Demaille <akim@epita.fr>
4265 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4266 generates too many bug reports.
4268 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4269 status when executing the ACTION-IF-FALSE.
4270 * tests/base.at (AC_TRY_*): Rename as...
4271 (AC_TRY_COMMAND): this.
4272 (AC_RUN_IFELSE): New.
4273 * tests/compile.at (Extensions, C keywords)
4274 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4275 (Broken/missing compilers, AC_PROG_CPP with warnings)
4276 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4277 * tests/c.at (Extensions, C keywords)
4278 (Broken/missing compilers, AC_PROG_CPP with warnings)
4279 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4280 (AC_PROG_CPP requires AC_PROG_CC): here and...
4281 * tests/fortran.at (GNU Fortran 77): there.
4282 * doc/autoconf.texi (autoconf Invocation): Fix the example:
4283 AC_TRY_RUN is about compilation, not shell commands.
4284 (Test Programs): AC_TRY_RUN works as used to be advertised.
4286 2001-09-27 Akim Demaille <akim@epita.fr>
4288 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4290 Be sure to detect when $LINENO always returns the same value.
4291 Look for the original script, basename($0) is certainly not
4293 Pass the CLI arguments to `$as_me.lineno'.
4295 2001-09-25 Akim Demaille <akim@epita.fr>
4297 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4298 Be sure the close and reopen the LOG fd before and after using tee
4300 <at_tests_pattern>: Adjust to the new format of at_help_all.
4302 2001-09-23 Akim Demaille <akim@epita.fr>
4304 * bin/autom4te.in (parse_args): There can be several invocations
4307 2001-09-23 Akim Demaille <akim@epita.fr>
4309 * doc/autoconf.texi (Top): Wrap in @ifnottex.
4311 2001-09-23 Akim Demaille <akim@epita.fr>
4313 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4314 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4315 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4316 builddir, buildpath, top_builddir, and top_buildpath.
4317 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4318 the current directory.
4319 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4320 variables *before* changing the current directory.
4321 Skip nonexistent dirs.
4322 * doc/autoconf.texi (Preset Output Variables): Document these
4325 * lib/autotest/general.m4: Do not reset AT_victims.
4326 Don't compute at_srcdir nor at_top_srcdir.
4328 * tests/tools.at: Hence use top_srcdir.
4330 * tests/Makefile.am, tests/autoconf, tests/autoheader,
4331 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4333 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4334 * tests/wrapsh.in, tests/autoupdate.in: New.
4335 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4336 * configure.ac: Build the position independent wrappers.
4338 * man/Makefile.am: Now that test wrappers are position
4339 independent, use them and drop dark envvar magic.
4341 2001-09-23 Akim Demaille <akim@epita.fr>
4343 * doc/autoconf.texi (Common Shell Constructs): Rename as...
4344 (Programming in M4sh): this.
4345 Promote to @section.
4347 2001-09-23 Akim Demaille <akim@epita.fr>
4349 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4350 Pass $at_debug_args to the rerun test suite.
4351 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4352 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4355 2001-09-23 Akim Demaille <akim@epita.fr>
4357 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4359 2001-09-23 Akim Demaille <akim@epita.fr>
4361 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4364 2001-09-23 Akim Demaille <akim@epita.fr>
4366 * lib/Autom4te/General.pm (&debug): New.
4367 * bin/autom4te.in ($language): Move to...
4369 Handle --language in languages.
4370 * lib/autom4te.in (Automake-selections, Autoheader-selections)
4371 (Autoscan-selections): New.
4374 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
4376 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4377 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4378 to match current versions from CVS Automake.
4380 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
4382 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4385 2001-09-22 Akim Demaille <akim@epita.fr>
4387 * lib/autoconf/autotest.m4: Create `package.m4'.
4388 * tests/Makefile.am (package.m4): Remove.
4390 2001-09-22 Akim Demaille <akim@epita.fr>
4392 Rely on `$LINENO' when possible instead of `__oline__'.
4394 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4395 `$LINENO' support replacement when not supported.
4396 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4397 them explicitly to be sure they are not output before this section
4398 (via m4_require). Cosmetic only.
4399 * lib/autoconf/c.m4, lib/autoconf/general.m4,
4400 * lib/autoconf/programs.m4: Replace all the occurrences of
4401 `__oline__' with `$LINENO'.
4402 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4404 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
4406 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4407 character (u: -> ue) in a code comment.
4408 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4411 2001-09-21 Akim Demaille <akim@epita.fr>
4413 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4414 Suggested by Jim Meyering.
4416 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4418 * lib/autoconf/programs.m4: Use extensions listed in
4419 $ac_executable_extensions when looking for programs.
4421 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4423 * lib/autoconf/general.m4: Fix a small Englisho.
4424 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
4425 setting up ac_dir_suffix and ac_top_builddir.
4426 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4428 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4430 * doc/autoconf.texi (File System Conventions): Clarify the use of
4432 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4433 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4434 be used instead of ':'.
4435 * lib/autotest/general.m4: Replace occurrences of ':' in
4436 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4438 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4440 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4441 arguments. Fixed a typo.
4443 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4445 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4446 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
4448 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4450 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4451 * bin/autoupdate.in: Ditto.
4452 * bin/autoheader.in: Reworded a few comments.
4453 * bin/autoconf.in: Reworded help text for a few options.
4454 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4455 * bin/autoscan.in, bin/autoupdate.in: Ditto.
4457 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4459 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4460 already have $file). Set output files to binary mode (helps avoid
4461 CR issues on DOSish systems).
4463 2001-09-19 Akim Demaille <akim@epita.fr>
4465 * lib/autotest/general.m4: Englishoes.
4466 From Tim Van Holder and Alexey Mahotkin.
4468 2001-09-18 Paul Eggert <eggert@twinsun.com>
4470 * doc/autoconf.texi (Common Shell Constructs): New node,
4471 documenting AS_DIRNAME.
4472 (Limitations of Usual Tools): Refer to it when discussing dirname.
4473 Also, update discussion of POSIX standard to reflect latest draft.
4475 * lib/autoconf/c.m4:
4476 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4478 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4479 Do not pass a first argument with leading '-'
4480 to expr, by parenthesizing initial integers that might be negative.
4482 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4483 now merely checks whether it is an error to pass an argument
4486 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4487 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
4488 whether it is a (compile-time) error to pass an argument to
4489 getpgrp. This simpler test supports the revised documentation,
4490 and is all that AC_FUNC_GETPGRP's users really need.
4492 2001-09-18 Akim Demaille <akim@epita.fr>
4494 * doc/autoconf.texi (Limitations of Make) <$<>: New.
4496 2001-09-18 Akim Demaille <akim@epita.fr>
4498 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4500 * lib/autotest/general.m4 (AT_INIT): Adjust.
4502 2001-09-18 Paul Wagland <paul@wagland.net>
4504 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4506 Add test for AS_BASENAME.
4507 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4508 added test. It now correctly handles /1/2/3/, returning '3' not ''.
4509 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4510 * tests/base.at: Fixed the expected responses. The old ones were
4512 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4513 the documentation claims it should (and how it behaved in 2.13).
4515 2001-09-18 Akim Demaille <akim@epita.fr>
4517 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4518 the AC_CONFIG_COMMANDS invocation.
4519 This also solves the name clash problems.
4520 Don't set the package's ID.
4521 * lib/m4sugar/Makefile.am (version.m4): Revamp.
4522 No longer to be shipped.
4523 (version.in): Remove.
4524 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4525 * lib/autoconf/status.m4: Adjust.
4526 Use `m4_PACKAGE_STRING'.
4527 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4528 the only optional argument is the name of the test suite.
4529 Expect `package.m4' to define the package signature.
4530 * lib/autom4te.in (Autotest): Add `package.m4?'.
4531 * tests/Makefile.am (package.m4): New.
4532 * tests/suite.at: ifnames is a victim.
4534 2001-09-18 Akim Demaille <akim@epita.fr>
4536 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4537 AC_LIBSOURCE, AC_CONFIG_FILES.
4538 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4539 program version string doesn't match the package's.
4540 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4543 2001-09-17 Paul Eggert <eggert@twinsun.com>
4545 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4546 Allow expression to return any value that can fit into unsigned long
4547 (not int, as before). Check for output errors.
4549 2001-09-17 Bruno Haible <haible@ilog.fr>
4551 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4552 Always include <stdio.h> and <stdlib.h>. Evaluate
4553 the expression in an extra function before these includes. Call
4554 fprintf "%d" only after ensuring the argument is of type 'int'.
4555 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4557 2001-09-17 Paul Eggert <eggert@twinsun.com>
4559 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4560 or CFLAGS=-O5. In that case, the linker has a relaxed view of
4561 fatal errors, and AC_CHECK_LIB causes it to include libraries even
4562 when they don't exist.
4564 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4565 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4568 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4569 version with the version used by fileutils 4.1, except use
4570 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4573 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4575 2001-09-13 Akim Demaille <akim@epita.fr>
4577 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4579 Reported by Gerrit P. Haase.
4581 2001-09-13 Akim Demaille <akim@epita.fr>
4583 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4584 m4_defn'ing is valid.
4586 2001-09-13 Akim Demaille <akim@epita.fr>
4588 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4589 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4592 2001-09-13 Akim Demaille <akim@epita.fr>
4594 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4596 (m4_re_escape): New.
4597 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4598 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4599 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4601 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4602 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4603 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4604 AT_tests_all for consistency.
4606 (AT_VICTIMS): Similar to AT_KEYWORDS.
4607 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4609 2001-09-13 Akim Demaille <akim@epita.fr>
4611 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4613 2001-09-13 Akim Demaille <akim@epita.fr>
4615 * lib/autotest/general.m4 (AT_INIT): Create and remove
4616 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4617 test suites can cohabit.
4619 2001-09-13 Akim Demaille <akim@epita.fr>
4621 * tests/mktests.sh: Don't output banners for empty test files.
4623 2001-09-13 Akim Demaille <akim@epita.fr>
4625 Test suites can be run independently of configure.
4627 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4628 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4629 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4631 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4633 * lib/autotest/general.m4: Use ECHO_*.
4635 2001-09-13 Akim Demaille <akim@epita.fr>
4637 * bin/ifnames.in: Rewrite in Perl.
4638 * configure.ac: Don't look for AWK.
4639 * tests/tools.at (AWK portability): Remove.
4640 (Syntax of the shell scripts): Don't check ifnames.
4641 (AT_CHECK_PERL_SYNTAX): New.
4642 (Syntax of the Perl scripts): Check ifnames.
4643 * tests/ifnames: New.
4645 2001-09-13 Akim Demaille <akim@epita.fr>
4647 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4649 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4650 Remove all the other keywords.
4652 2001-09-10 Akim Demaille <akim@epita.fr>
4654 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4655 SETUP: no longer used.
4656 Support -k, --keywords.
4657 <at_help>: Be `no', `short', or `long'.
4658 <at_help_all>: New variable.
4660 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4661 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4662 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4663 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4664 No longer fill the HELP diversion.
4665 (AT_CLEANUP): Use them.
4666 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4667 (m4_list_append): Remove.
4669 Spread a few keywords in the Autoconf test suite.
4671 2001-09-10 Akim Demaille <akim@epita.fr>
4673 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4674 PATH_SEPARATOR, let M4sh compute it.
4675 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4676 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4678 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4679 Simplify when the path is not a literal.
4680 (AS_UNAME): Use it to report PATH.
4681 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4682 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4683 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4684 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4685 normalize the path, and to look for victims.
4686 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4687 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4689 2001-09-07 Akim Demaille <akim@epita.fr>
4691 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4692 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4693 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4694 related variables into `at_package_*'.
4695 * lib/autotest/general.m4 (AT_VICTIMS): New.
4696 (AT_INIT): Adjust for stand-alone/embedded test suites.
4697 (AS_MESSAGE_LOG_FD): Define and use it.
4698 * tests/suite.at (AT_VICTIMS): Use it.
4699 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4702 2001-09-07 Akim Demaille <akim@epita.fr>
4704 Move toward possibly stand-alone test suites.
4706 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4707 in addition, it introduces useless differences in logs.
4708 (AT_INIT): Let atconfig and atlocal be both optional.
4709 Adjust PATH computation.
4710 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4712 2001-09-07 Akim Demaille <akim@epita.fr>
4714 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4717 2001-09-05 Akim Demaille <akim@epita.fr>
4719 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4720 to avoid GCC warnings.
4723 2001-09-05 Akim Demaille <akim@epita.fr>
4725 * bin/autom4te.in: --language is -l, not -s.
4727 2001-09-05 Akim Demaille <akim@epita.fr>
4729 Be ready to handle filenames as stupid as `dnl.at', for if even
4730 the maintainer is dumb enough to do that...
4732 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4733 excellence in M4 quotation: consider `__file__' is active.
4735 And BTW, when invoking m4, pass the --include in the right order:
4738 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4741 2001-09-05 Akim Demaille <akim@epita.fr>
4743 * lib/Autom4te/XFile.pm: New lib file.
4744 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4745 * bin/autoheader.in: Use it.
4747 2001-09-05 Akim Demaille <akim@epita.fr>
4749 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4752 2001-09-05 Akim Demaille <akim@epita.fr>
4754 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4755 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4757 * bin/autoscan.in: Use `getopt' and `find_files' etc.
4758 Add -I, --include support.
4759 * doc/autoconf.texi (autoscan Invocation): Adjust.
4761 2001-09-05 Akim Demaille <akim@epita.fr>
4763 CVS GNU M4 doesn't like `undefine(undefined)'.
4765 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4766 New, extracted from main.
4767 Use IO::File wherever possible.
4768 (input.m4): Be constant, use -I instead of hard coding $tmp.
4769 Therefore be a quoted heredoc.
4770 Don't invoke `_au_disable', since ac was not loaded, but just
4773 2001-08-31 Akim Demaille <akim@epita.fr>
4777 2001-08-31 Akim Demaille <akim@epita.fr>
4779 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4781 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4783 2001-08-31 Akim Demaille <akim@epita.fr>
4785 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4786 serious problems handling heredocs in heredocs.
4787 Reported by Nicolas Joly.
4789 2001-08-31 Akim Demaille <akim@epita.fr>
4791 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4792 (Making testsuite Scripts): Update.
4794 2001-08-31 Akim Demaille <akim@epita.fr>
4796 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4798 2001-08-31 Akim Demaille <akim@epita.fr>
4800 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4801 (testsuite Scripts): There is no such thing as `atconfig.in'.
4802 And actually one diagram is missing: test suite runtime.
4804 2001-08-31 Akim Demaille <akim@epita.fr>
4806 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4809 2001-08-31 Akim Demaille <akim@epita.fr>
4811 * bin/autoupdate.in (@include): `installcheck' revealed the path
4812 to m4sugar was lacking!
4814 2001-08-31 Akim Demaille <akim@epita.fr>
4816 * man/Makefile.am (.x.1): We really have to pass
4817 autom4te_perllibdir.
4819 2001-08-31 Akim Demaille <akim@epita.fr>
4821 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4822 debug scripts, in particular passing explicitly listed tests to
4825 2001-08-31 Akim Demaille <akim@epita.fr>
4827 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4828 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4829 Use directly autom4te, not autoconf.
4830 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4832 2001-08-31 Akim Demaille <akim@epita.fr>
4834 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4835 * bin/autoheader.in (%symbol): Strip arguments of macros.
4837 2001-08-31 Akim Demaille <akim@epita.fr>
4839 * doc/autoconf.texi: Catch up -I, --include changes.
4841 2001-08-31 Akim Demaille <akim@epita.fr>
4843 * bin/autom4te.in (&parse_args): Die on unknown languages.
4844 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4846 Promote --include over --macrodir and other obsolete options.
4848 2001-08-31 Akim Demaille <akim@epita.fr>
4850 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4851 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4852 * bin/autom4te.in ($autoconf): Pass --force.
4853 `print $out' doesn't print `$_' but `$out'.
4854 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4855 (autoheader): Pass --force since the test suite goes too fast for
4857 Adjust to the new autoheader messages.
4859 2001-08-31 Akim Demaille <akim@epita.fr>
4861 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4862 Check the completeness of the #template.
4863 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4864 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4867 2001-08-31 Akim Demaille <akim@epita.fr>
4869 * lib/Autom4te/General.pm (&find_file, &update_file): New.
4870 * bin/autoupdate.in, bin/autoheader.in: Adjust.
4871 Drop AC_MACRODIR dead for real.
4872 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4873 `autoheader: `config.hin' is created'.
4874 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4876 2001-08-31 Akim Demaille <akim@epita.fr>
4878 * bin/autoheader.in: Rewrite in Perl.
4879 * tests/autoheader: Adjust.
4881 2001-08-31 Akim Demaille <akim@epita.fr>
4883 * bin/autoconf.in (--include, -I): New option.
4884 Map --localdir, --autoconf-dir onto it.
4885 Forward autom4te's options instead of interpreting them.
4886 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4887 There is no such envvar since the inception of autom4te.cfg.
4888 * bin/autom4te.in (&parse_args): Uniquify `@include'.
4889 * bin/autoupdate.in: Adjust, and perform more control.
4890 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4891 * tests/autoconf: Dittowise.
4893 2001-08-31 Akim Demaille <akim@epita.fr>
4895 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4896 * bin/autom4te.in (&find_file): Support `FILE?' standing for
4898 Use -e, not -f, since /dev/null for instance is OK.
4899 (&parse_args): Adjust.
4900 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4902 2001-08-31 Akim Demaille <akim@epita.fr>
4904 * configure.ac: Also find tested executables in bin.
4905 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4906 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4907 installed peer executables, only PATH is allowed to resolve it.
4908 Pass `autoconf_dir' via options, not via invisible envvars.
4909 * lib/Autom4te/General.pm (&find_peer): Remove.
4910 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4911 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4912 * man/Makefile.am: Let help2man rely on PATH instead of trying to
4913 find the executables for it.
4914 * tests/Makefile.am: Major cleanup. Too lazy to document...
4915 * tests/atlocal.in: Remove all the obscure envvar manipulations.
4917 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4918 indeed related to running the test suite, while passing
4919 --autoconf-dir and others is related to running non installed
4920 Autoconf executables. So don't do that, leave it to...
4921 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4922 * tests/autoscan: New.
4923 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4924 refer to library files: rely on --language.
4926 2001-08-29 Akim Demaille <akim@epita.fr>
4928 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4929 s/--set/--language/.
4931 2001-08-29 Akim Demaille <akim@epita.fr>
4933 * doc/autoconf.texi: Strip the @nodes.
4934 Suggested by Paul Eggert.
4935 (Initializing configure): Typo.
4937 2001-08-29 Akim Demaille <akim@epita.fr>
4939 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
4940 Suggested by Paul Eggert.
4942 2001-08-29 Akim Demaille <akim@epita.fr>
4944 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
4945 download in a tmp dir.
4947 2001-08-29 Akim Demaille <akim@epita.fr>
4949 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
4950 case insensitive OSes out there :(
4951 From Tim Van Holder.
4953 2001-08-29 Akim Demaille <akim@epita.fr>
4955 * lib/autom4te.in: New.
4956 * lib/Makefile.am (edit, autom4te.cfg): New.
4957 * bin/autom4te.in (BEGIN): Simplify.
4958 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
4959 (&load_configuration): New. Use it.
4960 (&parse_args): Support --mode, --set, and --melt.
4961 * bin/autoconf.in: Simplify and adjust.
4962 * tests/Makefile.am (AUTOMAKE): Use --set.
4963 * tests/atlocal.in: Adjust.
4964 * BUGS: distcheck and check are weak.
4966 2001-08-29 Akim Demaille <akim@epita.fr>
4968 * lib/autotest/general.m4: Use
4969 foo=`(command) 2>/dev/null`
4971 foo=`command` 2>/dev/null
4972 (at-devnull): Rename as...
4974 (--clean): Remove AT-* files too.
4975 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
4976 Reported by Nicolas Joly.
4978 2001-08-28 Akim Demaille <akim@epita.fr>
4980 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
4981 quotes inside single quotes.
4982 Reported by Nicolas Joly.
4984 2001-08-28 Kevin Ryde <user42@zip.com.au>
4986 * doc/autoconf.texi (Function Portability): Mention C right shifts.
4988 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
4990 * lib/autotest/general.m4: Reword some messages.
4991 (AT_INIT): Check for the `times' builtin before using it.
4992 Support test ranges as arguments to the testsuite.
4993 Have -e imply -d as the help text suggested.
4995 2001-08-27 Akim Demaille <akim@epita.fr>
4997 * Makefile.maint: Formatting changes.
4998 (do-po-update, po-update, cvs-update, update): New targets.
5001 2001-08-27 Akim Demaille <akim@epita.fr>
5003 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5005 Pass it to debug-*.sh scripts.
5006 <AUTOTEST_PATH>: May contain absolute dir names.
5008 2001-08-27 Akim Demaille <akim@epita.fr>
5010 * lib/autotest/general.m4 (AT_INIT): Log the command line.
5011 Support `VAR=VAL' as arguments.
5012 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5013 may be set via the command line.
5015 2001-08-27 Akim Demaille <akim@epita.fr>
5017 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5018 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5019 first the build dirs, then the src dirs.
5020 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5022 2001-08-27 Akim Demaille <akim@epita.fr>
5024 * lib/autotest/general.m4 (AT_INIT): Output the definition of
5025 at_data_files earlier.
5026 (--clean, -c): New option.
5027 * tests/Makefile.am: Use this option.
5029 2001-08-27 Akim Demaille <akim@epita.fr>
5031 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5032 `ac_top_builddir' to mimic Automake's vocabulary, which much more
5035 * doc/autoconf.texi (Configuration Actions): Document the vars
5036 available in commands.
5037 Emphasize the risks of collisions in init-cmds.
5039 2001-08-27 Akim Demaille <akim@epita.fr>
5041 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5042 (Initializing configure): this new node.
5044 2001-08-27 Akim Demaille <akim@epita.fr>
5046 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5048 2001-08-27 Akim Demaille <akim@epita.fr>
5050 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5051 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5053 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5055 2001-08-27 Akim Demaille <akim@epita.fr>
5057 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5059 * lib/autoconf/autoheader.m4: this new file.
5060 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5061 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5063 * lib/autoconf/autoupdate.m4: this new file.
5065 2001-08-27 Akim Demaille <akim@epita.fr>
5067 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5068 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5069 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5071 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5072 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5074 2001-08-27 Akim Demaille <akim@epita.fr>
5076 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5077 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5078 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5079 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5080 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5081 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5082 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5083 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5084 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5085 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5086 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5087 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5088 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5089 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5090 (_AC_OUTPUT_SUBDIRS): Move to...
5091 * lib/autoconf/status.m4: this new file.
5092 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5093 * tests/Makefile.am, tests/suite.at: Adjust.
5095 2001-08-27 Akim Demaille <akim@epita.fr>
5099 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5100 (AMTAR): Help automake define it.
5101 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5102 needed, 1.5 can have a macro and a target with the same name.
5103 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5105 * m4/init.m4, m4/sanity.m4: Update.
5106 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5107 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5108 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5109 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5111 2001-08-27 Akim Demaille <akim@epita.fr>
5113 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5115 * lib/autoconf/version.in: Remove.
5116 * lib/m4sugar/version.in: New.
5117 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5119 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5120 the name of the directory they're in, instead of the filename,
5121 since version.m4 is now in m4sugar, but m4_acversion must not be
5122 classified as an Autoconf macro.
5123 ($input_m4): Don't qualify the path to m4sugar.
5124 Rather, pass autoconf_dir to m4.
5125 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5126 * tests/suite.at: Require 2.52c.
5128 2001-08-27 Akim Demaille <akim@epita.fr>
5130 testsuite.log should include config.log.
5132 * lib/autotest/autotest.m4: New.
5133 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5134 * tests/suite.at : Adjust.
5135 (AT_INIT): Log config.log.
5136 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5137 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5138 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5139 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5140 of config.log on traps.
5141 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5142 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5144 Open the log as soon as possible.
5145 Use the same log introduction as configure's.
5147 2001-08-22 Paul Eggert <eggert@twinsun.com>
5149 * doc/autoconf.texi (Indices): New node.
5150 Move indices out of the top level menu and into this submenu.
5152 2001-08-22 Akim Demaille <akim@epita.fr>
5154 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5156 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5158 2001-08-22 Akim Demaille <akim@epita.fr>
5160 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5161 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5162 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5163 * lib/autoconf/programs.m4: here.
5164 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5165 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5166 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5167 * lib/autoconf/programs.m4: here.
5168 (_AC_DECL_YYTEXT): Rename as...
5169 (_AC_PROG_LEX_YYTEXT_DECL): this.
5170 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5171 * tests/Makefile.am, tests/suite.am: Adjust.
5173 2001-08-22 Akim Demaille <akim@epita.fr>
5175 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5177 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5179 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5180 * lib/autoconf/functions.m4: here.
5181 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5182 (AH_CHECK_LIB): Move to...
5183 * lib/autoconf/libs: this new file.
5184 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5185 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5186 * lib/autoconf/libs.m4: here.
5187 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5189 2001-08-22 Akim Demaille <akim@epita.fr>
5191 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5192 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5193 (AC_SITE_LOAD): Better logging of config.site.
5195 2001-08-20 Akim Demaille <akim@epita.fr>
5197 * configure.ac (AT_CONFIG): Fix the path.
5198 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5201 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
5203 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5204 program with AC_LANG_PROGRAM before feeding it to
5205 AC_COMPILE_IFELSE. Cleanup grep usage.
5207 2001-08-20 Akim Demaille <akim@epita.fr>
5209 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5210 * NEWS, README, README-alpha, TODO, tests/README: This package is
5211 `Autoconf', not `autoconf' (the executable).
5213 2001-08-20 Akim Demaille <akim@epita.fr>
5215 Info readers seem to need `Index' in the index node title :(
5217 * doc/autoconf.texi: Reverse the 2001-08-15 change which
5218 simplified index node names.
5220 2001-08-20 Akim Demaille <akim@epita.fr>
5222 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5223 arguments are not literals.
5224 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5225 Specify the output variables, and macros defined.
5227 2001-08-20 Akim Demaille <akim@epita.fr>
5229 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5230 (Examining Syntax) <AC_TRY_COMPILE>
5231 (Examining Libraries) <AC_TRY_LINK>
5232 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5234 Reported by Werner Lemberg.
5236 2001-08-20 Akim Demaille <akim@epita.fr>
5238 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5239 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5240 Load atlocal late enough to dump it in the log.
5241 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5243 2001-08-20 Akim Demaille <akim@epita.fr>
5245 * tests/torture.at (Configuring subdirectories): New test.
5246 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5248 * m4/atconfig.m4: Be sure the let $[0] be expandable.
5249 (top_srcdir): Fix its computation.
5251 2001-08-20 Akim Demaille <akim@epita.fr>
5253 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5254 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5256 Create `atconfig' automagically.
5257 Configure atlocal.in if present.
5258 * tests/atconfig.in: Remove.
5259 * tests/atlocal.in: New.
5260 * tests/Makefile.am: Adjust.
5262 2001-08-20 Akim Demaille <akim@epita.fr>
5264 Huh!?!?! There are still some user EOF tags used, which prevents
5265 their use in AC_CONFIG_COMMANDS for instance...
5267 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5268 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5269 `_CSEOF', or `_ATEOF', as appropriate.
5270 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5271 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5273 2001-08-20 Akim Demaille <akim@epita.fr>
5275 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5276 * tests/semantics.at, tests/tools.at, tests/torture.at:
5277 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5279 2001-08-20 Akim Demaille <akim@epita.fr>
5281 Autotest invokes M4sh's initialization.
5283 * lib/autotest/general.m4: Adjust the diversion names.
5284 (AT_INIT): Run AS_INIT.
5285 Use the BINSH diversion to invoke /bin/sh.
5286 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5287 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5289 2001-08-20 Akim Demaille <akim@epita.fr>
5291 Let M4sh have its own diversions.
5293 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5294 (_m4_divert(NOTICE)): Rename as...
5295 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5296 (_m4_divert(HEADER-COMMENT)): these.
5297 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5298 (_m4_divert(NOTICE)): New, for Libtool.
5299 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5300 long ago with `_m4_divert(GROW)'.
5301 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5303 2001-08-20 Akim Demaille <akim@epita.fr>
5305 * tests/base.at, tests/compile.at, tests/foreign.at,
5306 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5307 * tests/semantics.at, tests/suite.at, tests/tools.at,
5308 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5310 2001-08-20 Akim Demaille <akim@epita.fr>
5312 * bin/autom4te.in (handle_output): Handle @__@.
5314 2001-08-20 Akim Demaille <akim@epita.fr>
5316 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5317 * lib/autotest/general.m4: Adjust the license.
5319 2001-08-17 Paul Eggert <eggert@twinsun.com>
5321 * doc/autoconf.texi (Function Portability): Mention snprintf,
5322 following up on a suggestion by Kevin Ryde.
5324 2001-08-17 Akim Demaille <akim@epita.fr>
5326 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5327 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5329 2001-08-17 Akim Demaille <akim@epita.fr>
5331 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5332 `$0.log' as for projects where testsuite is in src, we'd have
5333 testsuite.log created in src.
5335 2001-08-17 Akim Demaille <akim@epita.fr>
5337 * bin/autom4te.in (&parse_args): Recognize --normalize.
5339 2001-08-17 Akim Demaille <akim@epita.fr>
5341 Start implementing the AC_CHECK_HEADER transition scheme.
5343 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5344 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5345 (AC_CHECK_HEADER): Use them.
5347 2001-08-17 Akim Demaille <akim@epita.fr>
5349 * doc/autoconf.texi: Work around Texinfo buglets.
5350 (Transformation Rules): One example is enough, users are expected
5351 to have their brains on. And BTW, use DESTDIR.
5352 (dvar): New macro. Use it.
5354 2001-08-17 Akim Demaille <akim@epita.fr>
5356 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5357 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5358 looking for ChangeLogs.
5360 2001-08-17 Akim Demaille <akim@epita.fr>
5362 * bin/autom4te.in: --normalize is a new option.
5363 * bin/autoconf.in: Use it.
5365 2001-08-17 Akim Demaille <akim@epita.fr>
5367 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5368 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5370 2001-08-16 Paul Eggert <eggert@twinsun.com>
5372 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5375 2001-08-15 Akim Demaille <akim@epita.fr>
5377 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5380 2001-08-15 Akim Demaille <akim@epita.fr>
5382 * doc/autoconf.texi (pr): New index.
5383 (prindex, findex): Use, merge, and output them.
5384 (Environment Variable Index, Output Variable Index)
5385 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5386 (Autotest Macro Index): Rename as...
5387 (Environment Variables, Output Variables,Preprocessor Symbols)
5388 (Autoconf Macros, M4 Macros, Autotest Macros): these.
5389 * doc/install.texi: Use @command.
5390 (Environment Variables): Rename as...
5391 (Defining Variables): this.
5393 2001-08-15 Akim Demaille <akim@epita.fr>
5395 * doc/autoconf.texi (Function Portability): sprintf's return
5399 2001-08-15 Akim Demaille <akim@epita.fr>
5401 * Makefile.maint (CVS): New.
5402 (local-check): Run changelog-check. last.
5403 (alpha): Don't depend upon local-check, since...
5404 (cvs-dist): depends upon it.
5406 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
5408 * tests/Makefile.am: Use a clean-local rule to remove
5409 autom4te.cache (it's a directory, not a file.
5410 * Makefile.am: Ditto (but maintainer-clean-local).
5412 2001-08-15 Akim Demaille <akim@epita.fr>
5414 * bin/autom4te.in (@m4_warning): New.
5415 (&handle_m4): Use it.
5416 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5417 warnings are issued at each run.
5418 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5421 2001-08-15 Akim Demaille <akim@epita.fr>
5423 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5424 don't waste time running `autoupdate --version' works.
5425 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5427 2001-08-13 Akim Demaille <akim@epita.fr>
5429 * doc/autoconf.texi (ma): Rename this index as...
5432 2001-08-13 Akim Demaille <akim@epita.fr>
5434 * Makefile.am: Remove dead code and dead comments.
5435 (pdf, html): New targets.
5436 * doc/autoconf.texi (Using Autotest): New chapter.
5437 * doc/Makefile.am (pdf): New targets.
5438 (CLEANFILES): Adjust.
5440 2001-08-13 Akim Demaille <akim@epita.fr>
5442 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5443 duration of the test suite.
5445 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5447 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5448 endianness for comparison instead of relying on AT_CHECK_ENV.
5450 2001-08-11 Paul Eggert <eggert@twinsun.com>
5452 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5453 to the INSTALL file.
5455 2001-08-11 Paul Eggert <eggert@twinsun.com>
5457 * NEWS: The autoconf manual now is distributed under the terms
5458 of the GNU Free Documentation License.
5460 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5461 Add an appendix "Copying This Manual" for the FDL.
5463 * doc/fdl.texi: New file, from
5464 <http://www.gnu.org/licenses/fdl.texi>.
5466 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5468 2001-08-10 Paul Eggert <eggert@twinsun.com>
5470 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5471 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5472 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5473 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5474 m4/sanity.m4, tests/README, tests/aclocal.m4,
5475 tests/atspecific.m4, tests/base.at, tests/compile.at,
5476 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5477 tests/semantics.at, tests/suite.at, tests/tools.at,
5478 tests/torture.at: Add copyright notice.
5480 * tests/mktests.sh: Update year in copyright notice.
5482 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5484 * tests/semantics.at (AC_C_BIGENDIAN): New test.
5486 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5488 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5489 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5490 * doc/autoconf.texi (C Compiler Characteristics): Update
5491 documentation for AC_C_BIGENDIAN.
5493 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5495 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5496 magic values from an object file when cross-compiling.
5497 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5499 2001-08-10 Akim Demaille <akim@epita.fr>
5501 * bin/autom4te.in (&handle_output): Don't use `grep' with side
5503 Suggested by Russ Allbery.
5505 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5507 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5508 current $prefix to the sub-configures.
5510 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
5512 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5513 extension (needed on BeOS). Reported by Guido van Rossum.
5515 2001-08-09 Akim Demaille <akim@epita.fr>
5517 * bin/autom4te.in ($icache): Load it only if older than autom4te.
5519 2001-08-07 Akim Demaille <akim@epita.fr>
5521 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5523 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
5524 No need to remove the files before and after the each test, before
5525 each test and at the end of the suite is enough.
5526 Display only the children `times', not the shell's.
5527 If the test failed or was skipped, at-times is not available.
5529 2001-08-07 Akim Demaille <akim@epita.fr>
5531 Always produce testsuite.log, including when there are no
5532 failures. This helps getting information on skipped tests, and
5533 duration of the tests. Err, implement the latter btw.
5535 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5536 Dump information on the first run of each test.
5537 (AT_CLEANUP): Create `at-times' containing the duration of the
5540 2001-08-07 Akim Demaille <akim@epita.fr>
5542 The use of `dumpstat' revealed that `len' was used although it
5543 should not. m4_text_wrap was using it, but in the Autoconf world
5544 where it is legal. Hence (i) test M4sh in its own world, not
5545 Autoconf's, and (ii), ahem, fix the bug :)
5547 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5548 does not like `' instead of [].
5549 (AT_INIT): Forbid `^_?AT_'.
5550 And don't output such tokens.
5551 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5552 `script.as', and `autom4te.cache'.
5553 Remove `empty' and `macro' which are no longer used.
5554 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5555 * tests/m4sugar.at: Use it.
5556 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5558 2001-08-07 Akim Demaille <akim@epita.fr>
5560 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5562 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
5564 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5566 2001-08-04 Akim Demaille <akim@epita.fr>
5568 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5569 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5571 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5572 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5573 (AC_F77_MAIN): Likewise.
5575 2001-08-04 Akim Demaille <akim@epita.fr>
5577 Don't rely on M4sugar outputting the patterns in files, since we
5578 might process the output _without_ running m4, hence without these
5581 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5582 * bin/autom4te.in (@Request::includes): Remove, unused.
5583 (@Request::source): Rename as...
5584 (@Request::input): this.
5585 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5586 (&handle_output): Fetch the patterns from the traces.
5587 `$forbidden' and `$allowed' are constant: use m//o.
5588 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5589 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5591 2001-08-04 Akim Demaille <akim@epita.fr>
5593 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
5594 autoconf', i.e., in addition to caching traces, cache the output.
5596 * bin/autom4te.in (Request::cache): Rename as...
5597 (Request::id): this.
5598 ($cache, $icache, $tcache, $ocache): New.
5599 (&handle_m4): Save M4 output in the cache instead of $tmp.
5600 (&handle_output): Adjust.
5601 (&up_to_date_p): Check that the output cache is up to date too.
5602 (top level): Run `&handle_m4' iff force or the cache is invalid.
5603 Run `&handle_output' if the output cache is more recent.
5605 2001-08-04 Akim Demaille <akim@epita.fr>
5607 * bin/autom4te.in ($force): New.
5608 (&parse_args, &print_usage): -f, --force is a new option.
5609 (&handle_output): CPP directives might have spaces after `#'.
5610 (&parse_args): The first file only can be frozen.
5612 2001-08-04 Akim Demaille <akim@epita.fr>
5614 Don't let autom4te compute the `include' traces several times:
5615 first check that the trace cache file is up to date, and then
5616 compare its timestamp with that of the output.
5618 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5619 the preamble. Don't require 5.005 as Autom4te::General does it,
5620 and better yet (use `use', not `require'!).
5621 * lib/Autom4te/Struct.pm: Rename the last occurrences of
5622 Class::Struct as Autom4te::Struct.
5623 * lib/Autom4te/General.pm (File::stat): Use it.
5624 (&mtime): New, export it.
5625 * bin/autom4te.in: Use it.
5626 Declare `$req' is invalid if it is outdated.
5627 Don't declare it valid before saving it if something went wrong.
5629 2001-08-04 Akim Demaille <akim@epita.fr>
5631 Autom4te shall not encode Autoconf data, and preselecting traces
5632 must be proposed to the users.
5634 * bin/autom4te.in (@required_trace): Remove.
5636 (&parse_args, &print_usage): -p, --preselect is a new option.
5637 (&up_to_date_p): Adjust.
5638 * bin/autoconf.in: Preselect some Autoconf macros.
5640 2001-08-04 Akim Demaille <akim@epita.fr>
5642 * tests/tools.at (autoconf --trace: user macros): Check traces on
5643 macros invoked without arguments, and macros invoked with multiple
5646 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
5648 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5651 2001-08-03 Akim Demaille <akim@epita.fr>
5653 * bin/autoconf.in ($@): Work around the usual sh bug.
5656 2001-08-03 Akim Demaille <akim@epita.fr>
5658 Clean up the handling of the M4 builtins tracing exception.
5660 * bin/autom4te.in (Request::request): Don't complete M4 builtins
5662 (@m4_builtins): Rename as...
5663 (@m4_builtin): this.
5664 (%m4_builtin_alternate_name): New.
5665 (&parse_args): Complete the trace requests with alternate names.
5666 (&handle_traces): Hence no longer do it here.
5667 (&trace_requests): Remove, unused.
5669 2001-08-03 Akim Demaille <akim@epita.fr>
5671 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5674 2001-08-03 Akim Demaille <akim@epita.fr>
5676 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5677 (m4_divert_pop): Dump the whole diversion stack when a diversion
5679 * bin/autom4te.in (&handle_output): Remember of the first
5680 occurrence of a possibly undefined macro, not the last.
5681 Complain about the possibly undefined macros in the same order as
5682 the appear in the output.
5683 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5684 * tests/tools.at (autoconf: forbidden tokens, basic)
5685 (autoconf: forbidden tokens, exceptions): No longer sort
5686 autoconf's stderr, as it is now deterministic.
5687 Check that `dnl' is caught.
5689 2001-08-01 Akim Demaille <akim@epita.fr>
5691 * configure.ac: Bump to 2.52c.
5693 2001-08-01 Akim Demaille <akim@epita.fr>
5697 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5699 2001-08-01 Akim Demaille <akim@epita.fr>
5703 2001-08-01 Akim Demaille <akim@epita.fr>
5705 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5708 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5709 `END', as `Autom4te::General::END' will be triggered.
5710 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5711 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5712 system to run `mv', `rm', and `cmp'.
5714 2001-08-01 Akim Demaille <akim@epita.fr>
5716 * lib/Autom4te/General.pm (&unique): New.
5717 * bin/autoscan.in (&output): Use it to issue trace requests once.
5719 2001-08-01 Akim Demaille <akim@epita.fr>
5721 * lib/Autom4te/General.pm: New.
5722 * bin/autom4te.in (Autom4te::General): Use it.
5723 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5724 (&find_configure_ac, &find_slave): Remove.
5725 * bin/autoscan.in: Likewise.
5726 * bin/autoupdate.in: Likewise.
5728 2001-08-01 Akim Demaille <akim@epita.fr>
5730 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5731 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5732 * bin: here, new directory.
5733 * lib/Autoconf: Rename as...
5734 * lib/Autom4te: this, to please case insensitive junkie OSes.
5736 2001-08-01 Akim Demaille <akim@epita.fr>
5738 * autom4te.in ($m4): Handle the --nesting-limit.
5739 * autoconf.in (M4): Remove.
5741 2001-08-01 Akim Demaille <akim@epita.fr>
5743 * autoconf.in ($AWK): Remove, no longer used.
5744 * test/tools.at: Use AT_CHECK_AUTOCONF.
5745 (AWK portability): Remove, for autoconf no longer uses AWK.
5746 (Syntax of the Perl scripts): New.
5747 * configure.ac: autoconf no longer needs an AWK with a good
5749 Use a static test on AC_PACKAGE_VERSION.
5750 * autom4te.in (&up_to_date_p): Output depends on the arguments.
5751 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5752 * tests/atconfig.in (PERL): New.
5754 2001-08-01 Akim Demaille <akim@epita.fr>
5756 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5757 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5758 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5759 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5760 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5761 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5762 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5763 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5764 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5765 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5766 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5767 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5768 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5769 * lib/autoconf/c.m4: here, new file.
5771 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5772 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5773 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5774 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5775 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5776 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5777 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5778 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5779 (AC_F77_FUNC): Move to...
5780 * lib/autoconf/fortran.m4: here, new file.
5782 2001-08-01 Akim Demaille <akim@epita.fr>
5784 * acfunctions.m4: Rename as...
5785 * lib/autoconf/functions.m4: this.
5786 * acgeneral.m4: Rename as...
5787 * lib/autoconf/general.m4: this.
5788 * acheaders.m4: Rename as...
5789 * lib/autoconf/headers.m4: this.
5790 * aclang.m4: Rename as...
5791 * lib/autoconf/lang.m4: this.
5792 * acoldnames.m4: Rename as...
5793 * lib/autoconf/oldnames.m4: this.
5794 * acspecific.m4: Rename as...
5795 * lib/autoconf/specific.m4: this.
5796 * actypes.m4: Rename as...
5797 * lib/autoconf/types.m4: this.
5798 * autoconf.m4: Rename as...
5799 * lib/autoconf/autoconf.m4: this.
5801 * m4sugar.m4: Rename as...
5802 * lib/m4sugar/m4sugar.m4: this.
5803 * m4sh.m4: Rename as...
5804 * lib/m4sugar/m4sh.m4: this.
5806 * tests/atgeneral.m4: Rename as...
5807 * lib/autotest/general.m4: this.
5809 * acfunctions: Rename as...
5810 * lib/autoscan/functions: this.
5811 * acheaders: Rename as...
5812 * lib/autoscan/headers: this.
5813 * acidentifiers: Rename as...
5814 * lib/autoscan/identifiers: this.
5815 * aclibraries: Rename as...
5816 * lib/autoscan/libraries: this.
5817 * acmakevars: Rename as...
5818 * lib/autoscan/makevars: this.
5819 * acprograms: Rename as...
5820 * lib/autoscan/programs: this.
5822 2001-08-01 Akim Demaille <akim@epita.fr>
5824 * doc/autoconf.texi: Moving/deleting open files is not portable.
5825 Portability issues for `.' (source), and more information about sed.
5827 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
5829 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5830 which has a special meaning and is not a reference to libibmil.a.
5831 Reported by Matteo Frigo.
5833 2001-07-25 Pavel Roskin <proski@gnu.org>
5835 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5838 2001-07-25 Akim Demaille <akim@epita.fr>
5840 * autoconf.in: Try to define the variables before using them.
5841 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5842 instead of `$perllibdir'.
5843 * tests/atconfig.in ($autom4te_perllibdir): Export it.
5845 2001-07-25 Akim Demaille <akim@epita.fr>
5847 * autoconf.in (ac_LF_and_DOT): Remove, unused.
5849 2001-07-24 Akim Demaille <akim@epita.fr>
5851 Let autoconf use autom4te for traces.
5853 * autoconf.in ($task, task trace): Remove, merely pass --trace to
5855 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5856 (Because I found no way for autom4te to accept `-').
5857 * autom4te.in (&Request::request): Beware of M4 builtins.
5858 (END): Don't try to remove the content of an empty dir.
5859 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5860 (&handle_output): Set a default value to `$forbidden'.
5861 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5862 ($autoconf): Pass --debug and --verbose.
5863 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5866 2001-07-24 Akim Demaille <akim@epita.fr>
5868 Let autoconf use autom4te to create configure.
5870 * autoconf.in ($automate): New var.
5871 (task script): Use autom4te.
5872 * autom4te.in (File::Spec): Use it.
5874 (&parse_args): --warning is -W, not -w.
5875 Find the top level files.
5876 (&handle_m4): Pass the warnings flags.
5877 Don't report verbosely m4's failures, unless requested.
5878 (&handle_output): Don't complain for forbidden tokens in comments.
5879 Be sure to report all the forbidden tokens within a single line.
5880 (&trace_format_to_m4): Preserve `$_'.
5881 (&handle_traces): Sort the output macros.
5882 (&up_to_date_p): Find the files before trying to get its time stamp.
5884 2001-07-24 Akim Demaille <akim@epita.fr>
5886 * Makefile.am: Ship, build and install Autom4te.
5888 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5889 * configure.in: Require Perl.
5890 * man/autom4te.in: New.
5892 2001-07-19 Paul Eggert <eggert@twinsun.com>
5894 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5895 example, rather than (exit 1); exit (which isn't portable).
5897 2001-07-18 Akim Demaille <akim@epita.fr>
5901 2001-07-18 Akim Demaille <akim@epita.fr>
5903 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5904 was run, while they are needed also when it is expanded.
5905 Reported by Nicolas Joly.
5907 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5908 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5909 AC_F77_DUMMY_MAIN being expanded.
5911 2001-07-18 Akim Demaille <akim@epita.fr>
5913 * configure.in: Bump to 2.51a.
5915 2001-07-17 Akim Demaille <akim@epita.fr>
5919 2001-07-17 Akim Demaille <akim@epita.fr>
5921 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5922 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5924 2001-07-17 Akim Demaille <akim@epita.fr>
5926 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5927 used. Well, then use the prototypes when you can, and runtime as
5929 Reported by Artur Frysiak
5931 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5932 (AC_FUNC_GETPGRP): Use it.
5933 First try to compile with 0-ary or 1-ary calls.
5935 2001-07-17 Akim Demaille <akim@epita.fr>
5937 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
5941 2001-07-17 Akim Demaille <akim@epita.fr>
5943 * Makefile.maint: Sync. with cppi 1.10.
5945 2001-07-17 Akim Demaille <akim@epita.fr>
5947 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
5948 AC_F77_DUMMY_MAIN has been run.
5949 From Pavel Roskin and Steven G. Johnson.
5951 2001-07-17 Akim Demaille <akim@epita.fr>
5953 * configure.in: Rename as...
5954 * configure.ac: this.
5956 2001-07-17 Akim Demaille <akim@epita.fr>
5958 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
5961 * Makefile.maint (release-archive-dir): Rename as...
5962 (release_archive_dir): this, so that it can be specialized in
5965 2001-07-14 Akim Demaille <akim@epita.fr>
5967 * configure.in: Bump to 2.50d.
5969 2001-07-14 Akim Demaille <akim@epita.fr>
5972 * Makefile.maint (alpha): Typo.
5974 2001-07-14 Akim Demaille <akim@epita.fr>
5976 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
5978 2001-07-14 Akim Demaille <akim@epita.fr>
5980 * config/config.guess, config/config.sub, config/texinfo.tex
5981 * doc/standards.texi, doc/make-stds.texi: Update.
5983 2001-07-14 Akim Demaille <akim@epita.fr>
5985 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
5987 2001-07-14 Akim Demaille <akim@epita.fr>
5989 * Makefile.maint (maintainer-check): Rename as...
5990 (maintainer-distcheck): this.
5991 (changelog-check, static-check): New.
5994 2001-07-14 Kevin Ryde <user42@zip.com.au>
5996 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
5997 for CXX is g++, not gcc.
5999 2001-07-14 Akim Demaille <akim@epita.fr>
6001 * doc/autoconf.texi (Files): New subsection.
6003 2001-07-14 Akim Demaille <akim@epita.fr>
6005 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6007 (Generic Compiler Characteristics): this.
6008 (C++ Compiler): New subsection.
6010 2001-07-14 Akim Demaille <akim@epita.fr>
6012 * autoscan.in: Use IO::File.
6013 Adjust all the routines to use it.
6014 ($log): New file (autoscan.log).
6015 (output): Dump detailed logs into $log, and a shortened version to
6017 (&scan_makefile): Refine the regexp catching tokens in the code.
6018 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6019 and the `configure.ac' checking feature.
6021 2001-07-12 Akim Demaille <akim@epita.fr>
6023 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6024 Reported by Michael Elizabeth Chastain.
6026 * autoconf.in: Refuse such AWK.
6027 * configure.in: Likewise.
6028 * Makefile.am (acversion.m4): Do not use move-if-change this file
6030 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6032 2001-07-10 Jens Petersen <petersen@redhat.com>
6034 * autoscan.in (&scan_makefile): Improve programs regexp to parse
6035 things like "g++", "file.c" and "some-conf" as tokens.
6036 (&scan_file): Match C++ files extensions.
6037 If the filename extension is C++ then ask for c++.
6039 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
6041 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6042 AC_TRY_LINK_FUNC, to check whether defining a dummy
6043 main-like routine is needed for linking with F77 libs.
6045 2001-07-05 Pavel Roskin <proski@gnu.org>
6047 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6049 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6052 2001-07-05 Akim Demaille <akim@epita.fr>
6054 * Makefile.am (move_if_change): New. Use it instead of `mv'.
6055 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6057 Reported by Nicolas Joly.
6059 2001-07-04 Akim Demaille <akim@epita.fr>
6061 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6063 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6064 warnings from compilers.
6065 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6066 for all the compilers, not only GNU. Hence move from here...
6067 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6069 2001-07-04 Akim Demaille <akim@epita.fr>
6071 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6072 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6075 2001-07-04 Akim Demaille <akim@epita.fr>
6077 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6078 the ``strings.h'' change claimed below.
6080 2001-07-04 Akim Demaille <akim@epita.fr>
6082 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6084 2001-07-04 Akim Demaille <akim@epita.fr>
6086 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6087 strings.h if usable with string.h.
6088 Suggested by Paul Eggert.
6090 2001-07-04 Akim Demaille <akim@epita.fr>
6092 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6095 2001-07-03 Akim Demaille <akim@epita.fr>
6097 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6100 2001-07-03 Akim Demaille <akim@epita.fr>
6102 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6103 compiler, not the preprocessor.
6104 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6105 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6107 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6108 earlier if there are.
6110 2001-07-03 Akim Demaille <akim@epita.fr>
6112 * autoscan.in ($initfile): Remove.
6113 (&find_file): Rename as...
6115 Immediately scan the current file, instead of gathering them, and
6116 later having them handled by &scan_files.
6117 (&scan_files): Merely invoke Find::File.
6120 2001-07-02 Akim Demaille <akim@epita.fr>
6122 * autoscan.in: Formatting changes, matching the invocation order.
6123 (File::Find): Use it instead of Perl 4's `find.pl'.
6124 (&wanted): Rename as...
6127 2001-07-01 Pavel Roskin <proski@gnu.org>
6129 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6130 break in the argument to AC_TRY_LINK_FUNC.
6131 (AC_F77_MAIN): Remove conftest* after using break in the
6132 argument to AC_TRY_LINK.
6134 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
6136 Add alternate 'main' routine detection for linking C/C++ with Fortran,
6137 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6139 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6140 dummy alternate main is required even if the user provides her own
6142 (AC_F77_MAIN): New macro to detect whether it is possible to
6143 provide an alternate 'main' function name, using the 'main' from
6144 the Fortran libraries.
6145 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6146 cross-language link tests can be performed successfully.
6147 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
6148 after $LIBS, for consistency; this should be the general rule since
6149 the user may want to link to Fortran libraries that require $FLIBS.
6150 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6152 2001-06-29 Pavel Roskin <proski@gnu.org>
6154 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6155 at-stdout and at-stderr instead of removing the newline
6156 from the echo output, which is not guaranteed to work.
6158 2001-06-28 Jens Petersen <petersen@redhat.com>
6160 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6161 confdefs.h when non-zero.
6163 2001-06-28 Akim Demaille <akim@epita.fr>
6165 * configure.in: Bump to 2.50c.
6167 2001-06-26 Akim Demaille <akim@epita.fr>
6171 2001-06-26 Akim Demaille <akim@epita.fr>
6175 2001-06-25 Pavel Roskin <proski@gnu.org>
6177 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6178 argument, AUTOCONF-FLAGS.
6179 * tests/mktests.sh (update_exclude_list): Add
6180 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6181 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6182 AC_FUNC_WAIT3 with "-W no-obsolete".
6184 2001-06-25 Akim Demaille <akim@epita.fr>
6186 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6188 2001-06-25 Akim Demaille <akim@epita.fr>
6190 * autoscan.in (%macro): Now maps from word to list of macros.
6191 (&init_tables): Die when a word which is already handled by
6192 explicit macros is mapped to the default macro.
6193 (&print_unique): Remove, inlined in...
6194 (&output_kind): here.
6195 (File::Basename): Use it.
6196 (&output): Sort the CONFIG_FILES.
6197 * acheaders: Normalize.
6198 * acfunctions: Likewise.
6200 2001-06-25 Akim Demaille <akim@epita.fr>
6202 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6203 characteristics in the logs.
6204 Suggested by Mo DeJong.
6206 2001-06-24 Akim Demaille <akim@epita.fr>
6208 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6209 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6210 * doc/autoconf.texi (Autoconf 2.13): New section.
6212 2001-06-24 Akim Demaille <akim@epita.fr>
6214 * autoconf.in (Task traces): Separate the error messages from the
6215 traces to improve robustness.
6217 2001-06-23 Akim Demaille <akim@epita.fr>
6219 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6220 three as failures are unlikely, and speed matters.
6222 2001-06-23 Akim Demaille <akim@epita.fr>
6224 * doc/autoconf.texi (Redefined M4 Macros): New.
6226 2001-06-23 Akim Demaille <akim@epita.fr>
6228 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6229 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6232 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
6234 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6235 config.status targets to after the evaluation of the INIT-CMDS.
6236 Double quote config.status targets (used to be single quoted).
6238 2001-06-23 Akim Demaille <akim@epita.fr>
6240 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6241 Check the content of the created file.
6242 Check the ./config.status command line invocation.
6244 2001-06-23 Akim Demaille <akim@epita.fr>
6246 * tests/foreign.at (Libtool): Reject prehistoric versions.
6248 2001-06-23 Akim Demaille <akim@epita.fr>
6250 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6251 preexisting files matching a.*.
6253 2001-06-23 Akim Demaille <akim@epita.fr>
6255 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6257 * doc/autoconf.texi (AC_ARG_VAR): Update.
6259 2001-06-21 Akim Demaille <akim@epita.fr>
6261 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6262 precious variables have changed.
6263 * tests/torture.at (AC_ARG_VAR): Adjust.
6265 2001-06-21 Akim Demaille <akim@epita.fr>
6267 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6268 but some sed choke on multiple `;', and other tools (e.g.,
6269 Automake), include the separator themselves.
6271 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6273 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
6275 * doc/autoconf.texi (Functions Portability): Rename as...
6276 (Function Portability): this.
6277 (Function Portability): Document potential problems with unlink().
6279 2001-06-19 Paul Eggert <eggert@twinsun.com>
6281 * NEWS, doc/autoconf.texi: Document quadrigraphs.
6283 2001-06-18 Akim Demaille <akim@epita.fr>
6285 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6287 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
6289 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6290 (_AC_FUNC_VFORK): this.
6291 Remove AC_DEFINEs and don't guess cross-compilation values.
6292 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6293 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6294 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6296 Guess values if cross-compiling, but warn.
6297 * acfunctions: Add AC_FUNC_FORK.
6298 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6299 and vfork appropriately.
6301 2001-06-18 Akim Demaille <akim@epita.fr>
6303 * doc/autoconf.texi (Functions Portability): New section.
6305 2001-06-18 Akim Demaille <akim@epita.fr>
6307 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6309 Suggested by Andreas Schwab.
6311 2001-06-18 Akim Demaille <akim@epita.fr>
6313 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6314 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6315 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6316 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6317 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6318 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6319 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6322 2001-06-18 Akim Demaille <akim@epita.fr>
6324 * doc/autoconf.texi (ms): New index.
6325 (Macro Index): Rename as...
6326 (Autoconf Macro Index): this.
6327 (M4 Macro Index): New appendix.
6328 (Programming in M4): New chapter.
6329 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6330 (Quoting): Rename as...
6331 (M$ Quotation): this.
6332 Be part of `Programming in M4).
6334 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
6336 * tests/torture.at (AC_ARG_VAR): Set variables and export them
6337 in separate statements for compatibility with Tru64 v5.1.
6339 2001-06-17 Akim Demaille <akim@epita.fr>
6341 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6342 current values of the precious variables, not the previously
6344 Pass precious variables which are set to config.status.
6345 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6346 * tests/torture.at (AC_ARG_VAR): New.
6348 2001-06-15 Paul Eggert <eggert@twinsun.com>
6350 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6351 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6352 and explain why and how to replace them.
6353 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6354 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6356 2001-06-15 Akim Demaille <akim@epita.fr>
6358 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6359 Reported by Bruno Haible.
6361 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6362 (_AC_ARG_VAR_PRECIOUS): to here.
6364 2001-06-15 Pavel Roskin <proski@gnu.org>
6366 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6367 an unused pointer use cast to this type and `if' statement to
6368 avoid warnings from the compiler.
6369 (AC_HEADER_TIME): Likewise.
6370 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6371 in `if' statement to avoid warnings from the compiler. Declare
6372 ac_aggr static to avoid the need to initialize it.
6374 2001-06-14 Akim Demaille <akim@epita.fr>
6376 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6379 2001-06-13 Akim Demaille <akim@epita.fr>
6381 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6382 Suggested by Alexander Mai.
6384 2001-06-13 Akim Demaille <akim@epita.fr>
6386 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6387 sys/types.h and sys/stat.h, and check for them.
6389 2001-06-13 Akim Demaille <akim@epita.fr>
6391 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6394 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6396 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6397 succeeds and only try adding libdnet upon a failure.
6399 2001-06-12 Akim Demaille <akim@epita.fr>
6401 * autoscan.in (&output_kind): Output the comment only if it exists.
6402 (%kind_comment): Add entry for `programs'.
6403 (&output_programs): Use &output_kind.
6404 (&output_functions, &output_identifiers, &output_headers)
6405 (&output_programs): Inline, and remove.
6407 2001-06-12 Akim Demaille <akim@epita.fr>
6409 * autoscan.in (%kind_comment): New.
6411 (output_functions, output_identifiers, output_headers): Use it.
6413 2001-06-12 Akim Demaille <akim@epita.fr>
6415 * autoscan.in (&print_unique): Take `$kind' and `$word' as
6416 arguments, to factor indirections into `%macro' and `%used'.
6417 (%generic_macro): Fix a typo.
6419 2001-06-12 Akim Demaille <akim@epita.fr>
6422 * autoscan.in (@kinds): Add `libraries'.
6423 Use `@kinds' instead of hard coded lists.
6424 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6425 Remove, replaced by...
6428 2001-06-12 Akim Demaille <akim@epita.fr>
6430 * autoscan.in (%functions_macros %headers_macros)
6431 (%identifiers_macros %programs_macros %makevars_macros): Remove,
6435 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
6437 * aclang.m4 (AC_NO_EXECUTABLES): Override
6438 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6440 2001-06-11 Akim Demaille <akim@epita.fr>
6442 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6444 Reported by Andreas Schwab.
6446 2001-06-11 Akim Demaille <akim@epita.fr>
6448 * Makefile.am, Makefile.maint: Typos.
6450 2001-06-09 Akim Demaille <akim@epita.fr>
6452 * doc/autoconf.texi (Here-Documents): New section, gathering
6453 documentation about here-documents.
6454 Use `href', not `uref', and other changes.
6456 2001-06-09 Akim Demaille <akim@epita.fr>
6458 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6461 2001-06-09 Akim Demaille <akim@epita.fr>
6463 * doc/autoconf.texi (Limitations of Builtins): Complete the
6464 description of the here-docs penalties with Alexandre Oliva's
6467 2001-06-01 Paul Eggert <eggert@twinsun.com>
6469 * doc/autoconf.texi: Talk about here documents and speedups.
6470 Do not use "echo" on arbitrary strings.
6471 Spell "here-documents" consistently with the standard.
6473 2001-06-09 Akim Demaille <akim@epita.fr>
6475 * doc/autoconf.texi (Concept Index): Introduce it.
6476 Regenerate the menus.
6478 2001-06-09 Akim Demaille <akim@epita.fr>
6480 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6481 * config/prev-version.txt: New.
6482 * config/move-if-change: New, for GNU libc.
6484 2001-06-06 Pavel Roskin <proski@gnu.org>
6486 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6488 2001-06-06 Akim Demaille <akim@epita.fr>
6490 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6491 properly when $1 is not a literal.
6492 Fixes PR Autoconf/187, reported by Bram Moolenaar.
6494 2001-06-06 Akim Demaille <akim@epita.fr>
6496 Invoking AC_COPYRIGHT before AC_INIT fails.
6498 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6499 * acgeneral.m4 (_m4_divert(VERSION_FSF))
6500 (_m4_divert(VERSION_USER)): New.
6501 (AC_COPYRIGHT): $2 is the diversion to use.
6502 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6503 (AC_INIT): Remove dead comments as now it's commutative.
6505 2001-06-06 Akim Demaille <akim@epita.fr>
6507 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6510 2001-06-05 Akim Demaille <akim@epita.fr>
6512 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6514 `*dir' variables cannot be NONE.
6515 Reported by Mark Kettenis.
6517 2001-06-05 Paul Eggert <eggert@twinsun.com>
6519 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6521 2001-06-04 Akim Demaille <akim@epita.fr>
6523 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6524 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6525 (AC_TR_SH): Move as...
6526 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6527 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6529 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6530 (_AS_TR_SH_PREPARE): New.
6531 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6532 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6534 2001-06-02 Akim Demaille <akim@epita.fr>
6536 * Makefile.am (.m4.m4f): Pass the options first.
6537 Fixes PR autoconf/182.
6539 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
6541 GNU getopt, when POSIXLY_CORRECT does not permute options and
6542 arguments. So pass the options first.
6543 Fixes PR autoconf/184.
6545 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6546 (run_m4): Remove files.
6548 Update remainder of script to use them.
6549 (for warning in): Do not use a literal comma as it will not be
6552 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
6554 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6555 Fortran compilers to check.
6556 (_AC_PROG_F77_V): Add '-###' as a possible option to print
6557 information on library and object files.
6558 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6561 2001-06-02 Akim Demaille <akim@epita.fr>
6563 * autom4te.in (Request::@request): Declare with `vars', not `my',
6564 as it prevents updates via `do FILENAME'.
6566 2001-06-02 Akim Demaille <akim@epita.fr>
6568 * configure.in (standards_texi): Remove, dead code.
6570 2001-06-02 Akim Demaille <akim@epita.fr>
6574 2001-06-02 Pavel Roskin <proski@gnu.org>
6576 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6577 for signals other than 0 - exit with code 1.
6578 * m4sh.m4 (AS_TMPDIR): Likewise.
6579 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6580 * autoheader.in: Likewise.
6581 * autoreconf.in: Likewise.
6582 * tests/torture.at (Signal handling): New test for the above.
6584 2001-06-01 Akim Demaille <akim@epita.fr>
6586 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6589 2001-05-31 Akim Demaille <akim@epita.fr>
6591 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6592 Add copyright and comments.
6593 * acheaders: Add stdint.h.
6594 Suggested by Paul Eggert.
6596 2001-05-31 Akim Demaille <akim@epita.fr>
6598 * atgeneral.m4 (AT_INIT): Use $SHELL.
6599 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6601 2001-05-31 Akim Demaille <akim@epita.fr>
6603 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6605 From Paul Eggert and Lars Hecking.
6607 2001-05-31 Akim Demaille <akim@epita.fr>
6609 * tests/base.at: Adjust line numbers in error messages.
6611 2001-05-31 Akim Demaille <akim@epita.fr>
6613 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6614 to emit the bangshe line.
6615 Reported by David Carter.
6617 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
6619 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6620 Fortran (95) compilers to check.
6622 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
6624 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6627 2001-05-23 Pavel Roskin <proski@gnu.org>
6629 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6630 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6631 (AC_PROG_CXXCPP): Likewise.
6633 2001-05-22 Akim Demaille <akim@epita.fr>
6635 * config: New directory.
6636 * configure.in: AC_CONFIG_AUX_DIR it.
6637 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6639 2001-05-22 Akim Demaille <akim@epita.fr>
6641 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6642 * autoupdate.in: Specify the Emacs mode.
6643 * acversion.m4.in: Rename as...
6644 * acversion.m4: this.
6645 * tests/Makefile.am (CLEANFILES): More garbage.
6647 2001-05-22 Akim Demaille <akim@epita.fr>
6649 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6651 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6654 2001-05-21 Akim Demaille <akim@epita.fr>
6656 * configure.in: Bump to 2.50a.
6660 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6662 This file is part of GNU Autoconf.
6664 GNU Autoconf is free software; you can redistribute it and/or modify
6665 it under the terms of the GNU General Public License as published by
6666 the Free Software Foundation; either version 2, or (at your option)
6669 GNU Autoconf is distributed in the hope that it will be useful,
6670 but WITHOUT ANY WARRANTY; without even the implied warranty of
6671 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6672 GNU General Public License for more details.
6674 You should have received a copy of the GNU General Public License
6675 along with autoconf; see the file COPYING. If not, write to
6676 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6677 Boston, MA 02111-1307, USA.