1 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
3 * configure.ac: Test if sh -n works.
4 * configure: Regenerate.
5 * tests/atlocal.in: Store the result here.
6 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from
7 tools.at, looking in atlocal's ac_cv_sh_n_works instead
9 (AT_CHECK_PERL_SYNTAX): Moved from tools.at.
10 (AT_CHECK_AUTOCONF): Test for the configure script syntax.
11 * tests/tools.at (Syntax of the shell scripts): Simplify
12 using AT_CHECK_SHELL_SYNTAX.
13 (Syntax of the Perl scripts): Remove definition of
16 2003-12-03 Paolo Bonzini <bonzini@gnu.org>
18 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect
20 * bin/autoconf.in: Regenerate.
21 * bin/wrapper.in: Regenerate.
23 2003-11-26 Paolo Bonzini <bonzini@gnu.org>
25 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE):
26 Extracted from AS_SHELL_SANITIZE.
27 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New
29 (AS_SHELL_SANITIZE): Move reinvocation code from
30 _AS_LINENO_WORKS, use it to find out if shell
32 (_AS_LINENO_WORKS): Don't find another shell if $LINENO
34 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE.
35 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN
37 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN.
38 * bin/autoconf.in: Regenerate.
39 * tests/wrapper.in: Regenerate.
40 * tests/tools.at: Test the syntax of tests/autoconf
43 2003-11-24 Akim Demaille <akim@epita.fr>
45 * config/announce-gen (&print_locations, &print_signatures)
48 No longer rely on Gnus to inline the list of signatures: compute
51 2003-11-24 Akim Demaille <akim@epita.fr>
53 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can
55 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS.
56 From Debian Autoconf 2.58.
58 2003-11-24 Akim Demaille <akim@epita.fr>
60 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir
62 From Debian Autoconf 2.58.
64 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
66 * TODO: Remove already done things. Update the part about finding
69 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
71 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER):
72 Make wording more consistent.
73 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
74 Explain the transition better.
75 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain
76 the transition better.
78 2003-11-24 Paolo Bonzini <bonzini@gnu.org>
80 * doc/autoconf.texi (Obsoleting Macros): Don't document the third
81 parameter of AU_DEFUN.
82 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove.
83 (AU_DEFUN): Remove the third parameter, it was not used.
84 Use AC_DEFUN directly, not AU_DEFINE.
85 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into
86 the expanded body, consistently with other macros such as AC_USG.
88 2003-11-17 Paul Eggert <eggert@twinsun.com>
90 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes
91 into the initial confdefs.h, to work around a bug in NextStep 3.3
92 patch 3 reported by Eric Sunshine.
94 2003-11-15 Kevin Ryde <user42@zip.com.au>
96 * doc/autoconf.texi (Using System Type): Revise, showing $host rather
97 than $target since the latter is not usual, add guidelines on when to
98 use or not use the system type.
100 2003-11-12 Derek Price <derek@ximbiot.com>
102 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a
103 typo misrepaired by an auto-spellcheck.
105 2003-11-12 Akim Demaille <akim@epita.fr>
107 * bin/autoreconf.in (&parse_args): Don't call automake with
108 --force-missing unless it actually supports it.
111 2003-11-12 Akim Demaille <akim@epita.fr>
113 * configure.ac: Bump to 2.59a.
116 2003-11-06 Akim Demaille <akim@epita.fr>
120 2003-11-05 Alexandre Duret-Lutz <adl@gnu.org>
122 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE
123 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir,
124 and ac_abs_top_srcdir are absolute paths.
125 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment.
127 2003-11-05 Akim Demaille <akim@epita.fr>
129 * configure.ac: Bump to 2.58a.
131 2003-11-05 Kevin Ryde <user42@zip.com.au>
133 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since
134 it provokes a warning from makeinfo about looking like a cross
135 reference in info output.
137 * doc/autoconf.texi (Function Portability): Add notes on signal
138 handler return type, as per AC_TYPE_SIGNAL.
140 2003-11-04 Akim Demaille <akim@epita.fr>
143 * doc/standards.texi: Update from master.
145 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM.
147 2003-11-04 Akim Demaille <akim@epita.fr>
149 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when
150 computing the absolute path to d1 in the source hierarchy: it may
151 not exist at all. So don't cd into it.
152 From Alexandre Duret-Lutz.
153 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html
155 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New.
156 From Paul Eggert, but named after Perl's IO::Spec->catfile.
157 * doc/autoconf.texi (Programming in M4sh): Document.
158 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it.
160 2003-11-03 Pavel Roskin <proski@gnu.org>
162 * doc/autoconf.texi (Generic Structure Checks): Describe
163 action-if-found and action-if-not-found in AC_CHECK_MEMBERS.
165 2003-10-31 Akim Demaille <akim@epita.fr>
167 * tests/fortran.at (GNU Fortran 77): Don't run FC macros.
169 * doc/autoconf.texi (Language Choice): Document.
170 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert
171 the current language is Fortran.
173 2003-10-31 Akim Demaille <akim@epita.fr>
175 * bin/autom4te.in (&freeze): Use a less likely warning separator
176 than `\n\n', so that `\n\n\n' is valid in warnings.
177 Reported by Steve Huston.
179 2003-10-28 Akim Demaille <akim@epita.fr>
181 * Makefile.cfg (local_updates, executable-update): Tweak to be
182 robust to parallel makes.
183 Suggested by Alexandre Duret-Lutz.
185 2003-10-27 Akim Demaille <akim@epita.fr>
187 * Makefile.cfg (executable-update): New.
188 (local_updates): Call it.
190 2003-10-27 Akim Demaille <akim@epita.fr>
192 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE):
193 Don't remove core.* as it may remove valid user files.
194 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED)
195 (AC_FUNC_UTIME_NULL): Likewise.
197 2003-10-23 Akim Demaille <akim@epita.fr>
200 * config/config.guess, config/config.sub: Upgrade from masters.
202 2003-10-23 Akim Demaille <akim@epita.fr>
204 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using
205 AC_COMPILE_IFELSE that use break skip the clean up. So do it by
208 2003-10-23 Akim Demaille <akim@epita.fr>
210 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE):
211 Don't forget to remove conftest.err.
213 2003-10-23 Akim Demaille <akim@epita.fr>
215 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the
216 same object file in $LIBOBJS.
217 Reported by Alexandre Duret-Lutz & Derek Robert Price.
218 * doc/autoconf.texi (Generic Functions): Adjust.
220 2003-10-20 Paul Eggert <eggert@twinsun.com>
222 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE):
223 Use 'eval', so that the resulting configure scripts work even if
224 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'.
226 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
228 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro.
229 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE)
230 (_AC_LINK_IFELSE): Check the werror flag.
231 * doc/autoconf.texi (Generic Compiler Characteristics): Document
235 2003-10-20 Daniel Jacobowitz <drow@mvista.com>
237 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override
238 _AC_COMPILER_EXEEXT to attempt a link. If linking fails,
239 override AC_LINK_IFELSE.
241 2003-10-15 Paul Eggert <eggert@twinsun.com>
243 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in
244 pdksh 5.2.14. Bug reported by Ralf Corsepius.
245 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh.
246 Mention /usr/dt/bin/dtksh on Solaris.
247 (Shell Substitutions): Warn about $((...)).
248 (Parentheses): New section.
250 2003-10-15 Kevin Ryde <user42@zip.com.au>
252 * doc/autoconf.texi (Function Portability): Add @prindex for exit.
253 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE.
255 2003-10-13 Nathanael Nerode <neroden@gcc.gnu.org>
257 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork
260 2003-10-11 Steven G. Johnson <stevenj@alum.mit.edu>
262 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official
263 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'.
265 2003-10-10 Andreas Schwab <schwab@suse.de>
267 * bin/autoheader.in: Avoid empty first line in --version and
269 * bin/ifnames.in: Likewise.
271 2003-10-09 Paul Eggert <eggert@twinsun.com>
273 * lib/Autom4te/XFile.pm: Don't assume -j is solo.
274 Issue a more-informative diagnostic.
275 Problems reported by Eric Sunshine.
277 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
279 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted
280 -mGLOB_options_string stuff for Intel ifc, which can cause
281 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for
282 pattern-matching instead of grep.
284 2003-10-08 Steven G. Johnson <stevenj@alum.mit.edu>
286 * doc/autoconf.texi: Document new FC Fortran macros.
288 2003-10-08 Gary V. Vaughan <gary@gnu.org>
290 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro
291 that future autopoint/aclocal/automake/autoreconf will be able
292 to trace to find where to install local m4 macros.
293 * doc/autoconf.texi (Input): Document it.
296 2003-10-06 Gary V. Vaughan <gary@gnu.org>
298 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add
299 -lcrtbegin.o to list of ignored flags and fix underquoting of
302 2003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu>
304 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific
305 cache variable instead of $G77 to decide whether to include -O2,
306 since $G77 is specific to Fortran 77.
308 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
310 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f
311 free" flag. Re-order flags tested into rough order of popularity.
313 2003-10-03 Steven G. Johnson <stevenj@alum.mit.edu>
315 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the
316 arguments so that it can be used with syntax identical to
317 AC_PROG_F77, and so that we can more easily decide to
318 remove/deprecate the DIALECT optional argument in the future if it
320 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for
321 non-freeform-supporting compilers. Document freeform flags.
323 2003-10-03 Akim Demaille <akim@epita.fr>
325 * configure.ac: Look for emacs, not macs.
326 Reported by Eric Sunshine.
328 2003-10-03 Akim Demaille <akim@epita.fr>
330 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR.
331 * bin/autoreconf.in (autoreconf_current_directory): Create the
332 AUX_DIR if needed, for sake of automake --add-missing etc.
333 Suggested by Alexandre Duret-Lutz.
335 2003-10-03 Akim Demaille <akim@epita.fr>
337 * configure.ac: Quotation and formatting changes.
338 (EMACS): Don't set it if it is not recent enough to support
342 2003-10-02 Akim Demaille <akim@epita.fr>
344 * bin/ifnames.in (&scan_file): Skip C++ comments.
347 2003-10-01 Pavel Roskin <proski@gnu.org>
349 * doc/autoconf.texi (Particular Structure Checks):
350 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS.
352 2003-10-01 Akim Demaille <akim@epita.fr>
356 2003-09-30 Paul Eggert <eggert@twinsun.com>
358 * lib/Autom4te/XFile.pm: Use Errno.
359 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in
360 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>.
362 2003-09-30 Akim Demaille <akim@epita.fr>
364 * config/announce-gen (&print_news_deltas): Extracted from...
365 (&print_changelog_deltas): here.
366 (&news_file): Rename as...
369 2003-09-30 Nicolas Joly <njoly@pasteur.fr>
371 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might
372 have been created when invoking the compiler.
373 * tests/fortran.at (GNU Fortran 77): Quote $G77.
375 2003-09-29 Akim Demaille <akim@epita.fr>
379 * config/mkinstalldirs: Upgrade.
381 2003-09-28 Paul Eggert <eggert@twinsun.com>
383 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh.
384 Problem reported by Lars J. Aas in
385 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>.
386 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative
387 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in:
388 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html
390 2003-09-26 Akim Demaille <akim@epita.fr>
392 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the
393 directory for AC_CONFIG_COMMANDS' first argument exists.
394 This makes valid the invocation of _AC_SRCPATH that follows.
395 Reported by Eric Sunshine.
396 * doc/autoconf.texi (Configuration Commands): Adjust.
398 2003-09-26 Akim Demaille <akim@epita.fr>
400 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file.
401 Reported by Ralf Corsepius.
403 2003-09-26 Akim Demaille <akim@epita.fr>
405 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the
407 Actually, use AU_ALIAS.
410 2003-09-26 Paul Eggert <eggert@twinsun.com>
412 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails,
413 rm -fr ./-p to remove junk left behind on NextStep and OpenStep.
414 Problem reported by Eric Sunshine in:
415 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html
417 2003-09-26 Akim Demaille <akim@epita.fr>
419 The test suite are sometimes assigning timings incorrectly.
420 Reported by Henk Krus.
421 Diagnosed by Nicolas Joly.
423 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as
425 Instead of making AT_help a sequence of assignments to grow
426 $at_help_all, just make AT_help_all be the growing contents of
427 $at_help_all, and make a single assignment in...
429 (at_times_skip): Flip the meaning and rename as...
431 (AT_INIT): When summarizing the test that ran, remove
432 $at_times_file after use, and check it is present before trying to
435 2003-09-25 Akim Demaille <akim@epita.fr>
439 * bin/Makefile.am (edit): Handle '@configure_input@'.
440 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate)
442 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/
443 executables, not bin/ executables! Otherwise all the magic needed
444 to find non installed files is turned off. This caused a failure
445 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te
446 as found in its environment (sent by tests/autoreconf): pointing
447 to bin/autom4te that could not find its files.
448 * tests/mktests.sh: Force the replacement of generated files, for
449 the sake of "mv" program that are interactive when overwriting a
451 * config/install-sh: Upgrade from CVS Automake.
453 2003-09-23 Paul Eggert <eggert@twinsun.com>
455 * doc/autoconf.texi (Limitations of Builtins): Document test -h
456 versus test -L issues.
458 2003-09-23 Daniel Jacobowitz <drow@mvista.com> and
459 Paul Eggert <eggert@twinsun.com>
461 Trivial change to support GCC's configuration procedure.
462 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro.
463 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn
464 about inconsistency if the preprocessor is set to give errors for
466 * doc/autoconf.texi (C Compiler Characteristics): Document this.
468 2003-09-13 Alexandre Duret-Lutz <adl@gnu.org>
470 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm
471 and XFile.pm from Automake.
472 * lib/Autom4te/XFile.pm: Update from Automake.
474 2003-09-12 Akim Demaille <akim@epita.fr>
478 2003-09-12 Akim Demaille <akim@epita.fr>
480 * config/config.guess, config/config.sub, config/missing,
481 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update
484 2003-09-12 Akim Demaille <akim@epita.fr>
486 * doc/autoconf.texi (Header Portability): Promote linux/types.h,
489 2003-09-11 Akim Demaille <akim@epita.fr>
491 * doc/autoconf.texi (Header Portability): linux/random.h.
492 From Peter Hendrickson.
494 2003-09-10 Akim Demaille <akim@epita.fr>
496 * tests/mktests.sh (au_exclude_egrep): Make it harder to be
497 willing to edit the output files.
499 2003-09-10 Akim Demaille <akim@epita.fr>
501 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT
503 * tests/mktests.sh: Skip AC_FC_SRCEXT.
504 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise.
506 2003-09-09 Akim Demaille <akim@epita.fr>
508 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g.
509 Reported by Gary Vaughan.
510 * bin/autom4te.in (handle_m4): Likewise.
512 2003-09-09 Akim Demaille <akim@epita.fr>
514 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave
517 2003-09-07 Paul Eggert <eggert@twinsun.com>
519 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS):
520 Improve the accuracy of the wording about obsolescence.
521 From a suggestion by Ian Lance Taylor in
522 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>.
524 2003-09-05 Paul Eggert <eggert@twinsun.com>
526 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too,
527 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson.
529 2003-09-04 Akim Demaille <akim@epita.fr>
531 * tests/mktests.sh (ac_exclude_list): Fix the filtering of
534 2003-09-04 Akim Demaille <akim@epita.fr>
536 * bin/autom4te.in: Use &fatal where more appropriate than &error.
537 (freeze): When exiting, use $exit_code.
538 * lib/autoconf/fortran.m4: Comment changes.
540 2003-09-04 Akim Demaille <akim@epita.fr>
542 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC.
544 2003-09-02 Steven G. Johnson <stevenj@alum.mit.edu>
546 Add support for newer Fortran dialects. The F77 interface is
547 unchanged, and continues to support Fortran 77. New FC macros
548 correspond to all the old F77 macros, with output variables FC,
549 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest
550 available dialect, but older dialects can be specified. There are
551 new macros AC_FC_SRCEXT to set the source extension, and
552 AC_FC_FREEFORM to accept free-form source files.
554 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)):
556 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined.
557 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT,
558 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77),
559 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran),
560 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran),
561 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran),
562 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC,
563 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O,
564 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V,
565 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN,
566 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING,
567 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC,
568 AC_FC_SRCEXT, AC_FC_FREEFORM):
570 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS,
571 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING,
572 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC):
573 Rewrite in terms of the above.
574 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove.
575 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro.
576 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC,
577 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O.
579 2003-09-02 Paul Eggert <eggert@twinsun.com>
581 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make):
582 Document problems with timestamp resolution that 'make', 'cp -p', and
585 2003-08-27 Akim Demaille <akim@epita.fr>
587 * tests/m4sugar.at (cross_warning): Make sure to enable the
588 output, so that we can track spurious m4sugar output.
589 * tests/local.at: Require 2.57.
590 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that
591 are defaulted by AT_CHECK anyway.
592 Use AT_CHECK_AUTOM4TE.
593 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a
596 2003-08-27 Akim Demaille <akim@epita.fr>
598 * bin/autoheader.in: Issue the "Using auxiliary..." message only
599 when -Wobsolete is set.
600 Set it on by default.
601 Suggested by Klee Dienes.
603 2003-08-27 Akim Demaille <akim@epita.fr>
605 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More
609 2003-08-26 Akim Demaille <akim@epita.fr>
611 * doc/autoconf.texi (Output): Make clear that one can run code
614 2003-08-25 Akim Demaille <akim@epita.fr>
616 * config/announce-gen, GNUmakefile, Makefile.maint: Update from
619 2003-08-25 Alexandre Duret-Lutz <adl@gnu.org>
621 * bin/autoreconf.in (parse_args): Do not pass --no-force to
622 Automake versions prior to 1.8.
624 2003-08-25 Akim Demaille <akim@epita.fr>
626 * doc/autoconf.texi (Header Portability): netinet/if_ether.h.
629 2003-08-24 Akim Demaille <akim@epita.fr>
631 * configure.ac: Bump to 2.57c.
633 2003-08-22 Akim Demaille <akim@epita.fr>
637 * Makefile.cfg (local-checks-to-skip): New.
638 * Makefile.maint (local-check): Rename as...
639 (local-checks-available): this.
642 * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
643 * configure.ac: Require Automake 1.7.6.
645 2003-08-22 Akim Demaille <akim@epita.fr>
647 Output stack traces in warnings.
649 * lib/m4sugar/m4sugar.m4 (_m4_warn): New.
650 Replace the former...
651 (m4_warn): Pass the call stack to _m4_warn.
652 * bin/autom4te.in: Adjust to output the call stack.
653 * tests/m4sugar.at (m4@&t@_warn): Adjust.
655 2003-08-22 Akim Demaille <akim@epita.fr>
657 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New.
658 * bin/autom4te.in: Adjust.
660 2003-08-21 Akim Demaille <akim@epita.fr>
662 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove.
664 (&getopt): Adjust the note and verb channels, depending upon
666 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in,
667 * bin/autoupdate.in: Adjust.
668 Use &verb, not &verbose.
670 2003-08-21 Akim Demaille <akim@epita.fr>
672 * bin/autoheader.in (&parse_args): Use &parse_warnings and
674 ($help): Use Autom4te::ChannelDefs::usage.
675 * bin/autoscan.in: Use Autom4te::ChannelDefs.
676 * lib/Autom4te/General.pm: Don't export error: you don't own it.
678 2003-08-21 Akim Demaille <akim@epita.fr>
680 First stab at preserving warnings between calls to autom4te,
681 including when the cache is used.
683 There are still several issues: (i) there are too many runs of m4
684 (one for include, one for warnings, and some more), (ii) warnings
685 spreading on several lines are not handled gracefully, (iii) the
686 code meant to have the call stack display for errors does not work
687 (its handling should move from m4 to autom4te).
689 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs):
691 (@preselect): Add m4_warn.
692 ($exit_status): Remove, use $exit_code.
693 ($help): Use Autom4te::ChannelDefs::usage.
694 (&handle_m4): No longer define the m4_warnings.
695 At each run, extract and report the warnings.
696 Always cache the result, including if the exit status is on
697 failure, since if nothing changes, we should result in the same
698 failure, hence we can use the cache.
699 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
700 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn):
702 (m4_warn): Redefine as a do-nothing: it is its invocation that
703 matters, as warnings are now reported via traces.
704 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of
705 the contents of m4_warn: make it _call_ m4_warn, so that tracing
706 the latter reveals calls to the former.
710 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories.
712 2003-08-21 Akim Demaille <akim@epita.fr>
714 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs):
717 2003-08-21 Akim Demaille <akim@epita.fr>
719 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in
721 * lib/Autom4te/ChannelDefs.pm: Doc typos.
722 (&parse_warnings): Accept a list of warning requests.
723 (&usage): Return a string, not a side effect.
724 (cross): New warning category.
726 2003-08-21 Akim Demaille <akim@epita.fr>
728 * lib/Autom4te/Configure_ac.pm (&find_configure_ac)
729 (&require_configure_ac): Accept an optional directory argument.
730 ($configure_ac): Remove.
731 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile)
733 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in,
734 * bin/autoscan.in: Adjust.
736 2003-08-20 Akim Demaille <akim@epita.fr>
738 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'.
739 Reported by Alexandre Duret-Lutz.
741 2003-08-20 Akim Demaille <akim@epita.fr>
743 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in,
744 * bin/autom4te: Adjust.
745 In particular, be Autoconf tools are really silent when properly
746 working, bind the verbosity of the 'note' channel to $verbose.
747 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file)
748 (&xsystem, &contents): Remove, since they are exported by...
749 * lib/Autom4te/FileUtils.pm: this.
751 * lib/Autom4te/General.pm (&up_to_date_p): Move to...
752 * lib/Autom4te/FileUtils.pm: here.
754 2003-08-20 Akim Demaille <akim@epita.fr>
756 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm
757 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New,
760 2003-08-20 Akim Demaille <akim@epita.fr>
762 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files)
763 (autom4te-update): New.
764 * Makefile.cfg (update): Bind autom4te-update.
766 2003-08-19 Derek Price <derek@ximbiot.com>
768 * lib/autotest/general.m4: Comment various HELP_* diversions.
769 (PARSE_ARGS_BEGIN): New section for option parsing related
771 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define
772 package specific options and associated help.
774 2003-08-19 Akim Demaille <akim@epita.fr>
776 * config/announce-gen, Makefile.cfg: New.
777 * Makefile.am: Adjust.
778 * GNUmakefile, Makefile.maint: Update from CVS Coreutils.
780 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
782 * lib/autom4te.in (Automake-preselections): Preselect
783 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include,
786 2003-08-19 Alexandre Duret-Lutz <adl@gnu.org>
788 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ...
789 (Autoconf-without-aclocal-m4): ... this new language.
790 * doc/autoconf.texi (autom4te Invocation): Mention
791 Autoconf-without-aclocal-m4.
793 2003-08-18 Derek Price <derek@ximbiot.com>
795 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL &
796 RUN-IF-PASS optional arguments.
798 2003-08-18 Derek Price <derek@ximbiot.com>
800 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF.
802 2003-08-16 Derek Price <derek@ximbiot.com>
804 * doc/autoconf.texi (Writing testsuite.at): Document defaults for
805 STDOUT & STDERR arguments.
807 2003-08-14 Derek Price <derek@ximbiot.com>
809 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print
810 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new,
811 shorter column three. Add DESCRIPTION to log file content.
813 2003-08-13 Derek Price <derek@ximbiot.com>
815 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status
818 2003-08-12 Derek Price <derek@ximbiot.com>
820 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API.
821 (AT_CHECK_NOESCAPE): Move core functionality to...
822 (_AT_CHECK): ...this new macro.
824 2003-08-07 Derek Price <derek@ximbiot.com>
826 * lib/autotest/general.m4 (AT_CHECK): Move core functionality...
827 (AT_CHECK_NOESCAPE): ...to this new macro.
829 2003-07-31 Paul Eggert <eggert@twinsun.com>
831 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug
832 in Bash 2.01. Problem reported by Brian Gough in
833 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>.
835 2003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu>
837 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore
838 -lcrt1.o, for OS X. (trivial change)
840 2003-07-07 Paul Eggert <eggert@twinsun.com>
842 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...'
843 inside '#ifndef __cplusplus'. Problem reported by
846 2003-07-06 Bill Clarke <llib@computer.org>
848 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to
849 'long', not 'int', for benefit of Sun's recent C++ compilers
850 (trivial change). See:
851 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html
852 (This really should be 'intptr_t', not 'long', but that would
855 2003-06-25 Akim Demaille <akim@epita.fr>
857 * lib/Makefile.am (autom4te.cfg): Make it read only.
858 Depend on Makefile since it contains substitutions.
860 * lib/autom4te.in (args): Add local.at? for Autotest args.
861 This change was made on autom4te.cfg which is generated.
862 Reported by Raja R. Harinath.
864 2003-06-25 Akim Demaille <akim@epita.fr>
866 * doc/autoconf.texi (Header Portability): sys/mount.h.
867 From Gareth McCaughan.
869 2003-06-23 Akim Demaille <akim@epita.fr>
871 * lib/autotest/general.m4 (AT_INIT): Report a single config.log,
872 not all of them. This fixes 1. the fact that when testing
873 Autoconf there are many many config.log, 2. the incorrect use of
874 top_srcdir to find config.log.
875 Don't mix the detailed output of failed test with the summary of
876 failures. Rather, append detailed log afterwards.
878 2003-06-23 Akim Demaille <akim@epita.fr>
880 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being
881 always run: output config.log on $at_group_log.
883 2003-06-23 Akim Demaille <akim@epita.fr>
885 * tests/torture.at (#define header templates): Don't use quotes in
886 C++ comments as it puzzles Emacs' sh font-lock-mode.
888 2003-06-23 Akim Demaille <akim@epita.fr>
890 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
891 * lib/autom4te.cfg (args): Add local.at? for Autotest args.
892 * tests/atspecific.m4: Rename as...
893 * tests/local.at: This.
894 * tests/suite.at: Move the globals into...
895 * tests/local.at: here.
896 * tests/Makefile.am: Adjust.
897 * doc/autoconf.texi (testsuite Scripts): Adjust.
899 2003-06-21 Kevin Ryde <user42@zip.com.au>
901 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an
902 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby
903 ensuring we add -std1 for full-ANSI.
905 * doc/autoconf.texi (hdrindex): New macro.
906 Add index entries for portability of various standard header files.
908 2003-06-20 Akim Demaille <akim@epita.fr>
910 * configure.ac: Bump to 2.57b.
912 2003-06-20 Akim Demaille <akim@epita.fr>
916 2003-06-20 Akim Demaille <akim@epita.fr>
918 * bin/autom4te.in: Don't rely on $HOME being defined.
919 Reported by Marc Espie as PR/233.
921 2003-06-20 Akim Demaille <akim@epita.fr>
923 * lib/autotest/general.m4: Use at_times_file only if used.
926 2003-06-20 Akim Demaille <akim@epita.fr>
928 * config/config.guess, config/config.sub, config/elisp-comp,
929 * config/install-sh, config/mkinstalldirs, doc/standards.texi:
932 2003-06-11 Paolo Bonzini <bonzini@gnu.org>
934 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF
935 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro.
936 (TEST_SCRIPT): New diversion.
937 (AT_SETUP): Divert output to TEST_SCRIPT and move some code...
938 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT.
939 (AT_INIT): Support for expected failures.
941 2003-06-02 Akim Demaille <akim@epita.fr>
943 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space
945 * lib/Autom4te/General.pm (&backname): Remove, no longer used by
946 Autoconf nor Automake.
947 (&contents): New, from Automake.
950 2003-05-28 Paul Eggert <eggert@twinsun.com>
952 * NEWS, doc/autoconf.texi (Particular Functions),
953 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime
954 is the inverse of localtime.
956 2003-05-25 Alexandre Duret-Lutz <adl@gnu.org>
958 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR.
959 (handle_exec_errors): New function. Work around $! being
960 altered by WEXITSTATUS.
961 (xqx, xsystem): Use handle_exec_errors.
963 2003-05-23 Alexandre Duret-Lutz <adl@gnu.org>
965 * lib/Autom4te/General.pm (END): Rewrite exit code processing.
966 Do not call `_exit()', simply modify `$?'.
967 (xsystem): Reset $! before running system, and check it afterward.
968 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status
969 63 for version mismatches.
971 2003-05-23 Akim Demaille <akim@epita.fr>
973 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of
974 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in
975 the middle of a line).
976 * lib/m4sugar/m4sugar.m4: Likewise.
977 Remove useless spaces in comments.
979 2003-05-23 Akim Demaille <akim@epita.fr>
981 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
982 exit 63, so that we (or Automake's "missing") can tell the
983 difference with a plain failure.
984 * doc/autoconf.texi (Notices): Adjust.
986 2003-05-23 Akim Demaille <akim@epita.fr>
988 * Makefile.am, bin/Makefile.am, config/Makefile.am,
989 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am:
990 White spaces cleanup.
992 2003-05-22 Jim Meyering <jim@meyering.net>
993 Paul Eggert <eggert@twinsun.com>
995 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION):
996 Remove `#include <stdlib.h>' from the list; we should never
997 make confdefs.h include <stdlib.h> or <cstdlib>, because the
998 resulting namespace pollution would cause other tests to fail.
999 Configure scripts run with some older versions of g++ and HP's
1000 aCC would fail due to such an #include. Problems reported by
1001 Matthew Mueller in <http://bugs.debian.org/120704> and by
1003 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
1004 In the test, use the test declaration before including <stdlib.h>,
1005 as that's closer to how it'll be used.
1007 2003-05-23 Akim Demaille <akim@epita.fr>
1009 * doc/autoconf.texi (Header Portability): ucred.h.
1012 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
1014 Overhaul Autotest's logging: generate separate log files
1015 in testsuite.dir/NNN/testsuite.log, and append them to
1016 testsuite.log instead of re-running the test verbosely.
1018 * lib/autotest/general.m4 (AT_INIT): Use a single redirected
1019 file descriptor, write 0 to at_status_file instead of setting
1020 at_status=0, initialize some new variables (at_status_file,
1021 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft
1022 to rerun the tests, instead append the at_group_log to the
1023 at_suite_log when a test fails.
1024 (AT_SETUP): pipe the test case's output into at_tee_pipe,
1025 with the AS_MESSAGE_LOG_FD redirected to stdout.
1026 (AT_CLEANUP): save the output status in $at_status_file
1027 and restore it, redirect the AS_MESSAGE_LOG_FD back to
1029 (AT_CHECK): since tests are run with a redirected stdout,
1030 and used to be re-run in verbose mode, turn some $at_verbose
1031 into echo, and don't redirect the output of testing stdout
1034 * lib/autotest/autoconf.texi (testsuite Scripts): Update
1035 the name of the debugging directory and information about
1038 2003-05-22 Paolo Bonzini <bonzini@gnu.org>
1040 * lib/m4sugar/m4sh.m4 [AS_REQUIRE]: actually use the 2nd
1043 2003-05-22 Akim Demaille <akim@epita.fr>
1045 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4
1046 * lib/autoconf/fortran.m4 lib/autoconf/general.m4
1047 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4
1048 * lib/autoconf/status.m4: Fix and adjust copyright notices.
1050 2003-05-22 Akim Demaille <akim@epita.fr>
1052 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4,
1053 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4,
1054 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
1055 * lib/autoconf/general.m4, lib/autoconf/headers.m4,
1056 * lib/autoconf/lang.m4, lib/autoconf/libs.m4,
1057 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
1058 * lib/autoconf/status.m4, lib/autoconf/types.m4,
1059 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4,
1060 * tests/atspecific.m4, tests/base.at, tests/compile.at,
1061 * tests/foreign.at, tests/m4sh.at, tests/semantics.at,
1062 * tests/tools.at, tests/torture.at:
1063 Whitespace clean up.
1064 Suggested by Jim Meyering.
1066 2003-05-22 Akim Demaille <akim@epita.fr>
1068 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed
1069 ' \t' as '\t ' so that Emacs' whitespace.el keep it.
1070 Reported by Jim Meyering.
1072 2003-05-22 Akim Demaille <akim@epita.fr>
1074 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING.
1075 Add AC_HELP_STRING to the obsolete macros section.
1077 Use '@.' for sentences that ended in a capital letter.
1080 2003-05-22 Akim Demaille <akim@epita.fr>
1082 * config/config.guess, config/config.sub, config/elisp-comp,
1083 * config/install-sh, config/mdate-sh, config/mkinstalldirs,
1084 * config/texinfo.tex, doc/standards.texi: Update from masters.
1086 2003-05-21 Paolo Bonzini <bonzini@gnu.org>
1088 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing
1091 2003-05-21 Akim Demaille <akim@epita.fr>
1093 * bin/autoupdate.in ($m4): Fix quotation.
1094 Reported by Martin Mokrejs.
1096 2003-05-19 Paul Eggert <eggert@twinsun.com>
1098 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4:
1099 Remove non-ASCII characters.
1101 2003-05-18 Paolo Bonzini <bonzini@gnu.org>
1103 * tests/semantics.at (AC_SEARCH_LIBS): New test.
1104 * tests/semantics.at (AC_CHECK_HEADERS_OLD,
1105 AC_CHECK_HEADERS_NEW): New tests.
1107 2003-05-17 Akim Demaille <akim@epita.fr>
1109 * lib/autoconf/functions.m4: Use the default includes so that
1110 memcmp be declared before being tested.
1111 Reported by Sander Niemeijer.
1112 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise.
1113 * doc/autoconf.texi (Default Includes): Document
1114 AC_INCLUDES_DEFAULT.
1116 2003-05-17 Akim Demaille <akim@epita.fr>
1118 * lib/autoconf/specific.m4: Include signal.h and unistd.h.
1119 * doc/autoconf.texi (Obsolete Macros): Adjust.
1120 Reported by Werner LEMBERG and Debian Bug 190886.
1122 2003-05-16 Akim Demaille <akim@epita.fr>
1124 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid
1125 user name space clashes.
1126 Reported by Bruno Haible.
1128 2003-05-16 Akim Demaille <akim@epita.fr>
1130 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
1131 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make
1132 them uniform, and more robust to Perl special characters.
1133 Reported by Martin Mokrejs.
1135 2003-05-14 Akim Demaille <akim@epita.fr>
1137 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4.
1139 2003-05-14 Akim Demaille <akim@epita.fr>
1141 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h,
1144 2003-05-12 Akim Demaille <akim@epita.fr>
1146 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the
1148 From Matthias Andree.
1150 2003-05-07 Alexandre Duret-Lutz <adl@gnu.org>
1152 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock
1155 2003-05-06 Akim Demaille <akim@epita.fr>
1157 Don't try to be smart with aclocal 1.8+ because (i) aclocal no
1158 longer updates aclocal.m4 if useless, (ii) if a file m4_included
1159 by aclocal.m4 is changed it might require the importing of another
1160 m4 extension file, i.e., aclocal must be run.
1162 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New.
1163 (&parse_args): Use --force with aclocal if required and supported.
1164 (&autoreconf_current_directory): Use &run_aclocal.
1166 2003-05-06 Akim Demaille <akim@epita.fr>
1168 Lock autom4te's cache.
1170 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New.
1171 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File
1172 argument instead of a file name, so that the request file remains
1173 open during the whole autom4te run.
1174 ($icache_file): New.
1175 (&freeze): Lock the $icache_file.
1177 2003-04-29 Derek Price <derek@ximbiot.com>
1179 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the
1180 seperator with m4_append_uniq(). It doesn't work.
1181 (AT_CLEANUP): Add `;' to end of at_help_all.
1182 (AT_INIT): Allow --keywords to be specified more than once. When
1183 grepping $at_help_all for keywords, use the field and keyword
1184 seperators to ensure a complete keyword match. Alter at_prev handling
1185 to support the new --keywords behavior.
1187 2003-04-27 Karl Berry <karl@freefriends.org>
1189 * doc/autoconf.texi: Make the dir entries in the autoconf manual
1190 align better with others. I also made some of the individual
1191 entries on one line, for brevity and to make it easier for me to
1192 sort my dir-example file in the Texinfo distribution :).
1194 2003-04-12 Jim Meyering <jim@meyering.net>
1196 * NEWS: Mention the new macro.
1197 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro.
1198 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT.
1199 * tests/c.at: Test AC_C_RESTRICT.
1200 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT.
1202 2003-04-08 Akim Demaille <akim@epita.fr>
1204 * bin/ifnames.in: Skip C++ comments.
1207 2003-04-08 Akim Demaille <akim@epita.fr>
1209 * GNUmakefile (SHELL): Don't assume sh is in /bin/.
1210 From Ilya Zakharevich.
1212 2003-04-08 Akim Demaille <akim@epita.fr>
1214 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h,
1217 2003-04-01 Derek Price <derek@ximbiot.com>
1219 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error
1220 from Akim's checkin of 2003-03-29.
1222 2003-04-01 Derek Price <derek@ximbiot.com>
1224 * tests/torture.at (Configuring subdirectories): Add missing
1225 close-quote for Akim's change from 2003-03-28.
1227 2003-04-01 Akim Demaille <akim@epita.fr>
1229 * doc/autoconf.texi (ac, at, ms): Rename these indexes as...
1230 (AC, AT, MS): these.
1231 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex):
1234 * doc/Makefile.am (CLEANFILES): Adjust.
1235 (TEXI2DVI): Make it --batch.
1237 2003-03-31 Derek Price <derek@ximbiot.com>
1239 * lib/autotest/general.m4: Revert the checkin from 2003-03-27
1240 which removed the main loop.
1241 Thanks to Akim Demaille.
1243 2003-03-29 Akim Demaille <akim@epita.fr>
1245 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install,
1247 From Ilya Zakharevich.
1249 2003-03-29 Akim Demaille <akim@epita.fr>
1251 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The
1252 documentation to read is Autoconf's.
1253 Suggested by Paul Eggert.
1255 2003-03-28 Akim Demaille <akim@epita.fr>
1257 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest
1258 reading the section "Present But Cannot Be Compiled" when the
1259 header causes problems.
1261 2003-03-28 Akim Demaille <akim@epita.fr>
1263 * tests/torture.at (Configuring subdirectories): Require aclocal
1264 1.4, otherwise the test fails, as it does support configure.ac.
1265 This fixes the "test 40 failed" bug reports.
1267 2003-03-28 Akim Demaille <akim@epita.fr>
1269 * doc/autoconf.texi (C Compiler): `#line' portability.
1270 From Paul Eggert and Nelson H. F. Beebe.
1272 2003-03-27 Derek Price <derek@ximbiot.com>
1274 * lib/autotest/general.m4: Eliminate main loop and reorganize test
1275 layout in order to allow scripting around test groups.
1277 2003-03-27 Derek Price <derek@ximbiot.com>
1279 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES,
1280 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and
1281 use new diversions in preparation for accepting new arguments and
1282 allowing scripting around tests.
1283 (OPTIONS,TAIL): Remove these diversions to make way for the ones above.
1285 2003-03-26 Derek Price <derek@ximbiot.com>
1287 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of
1288 obsolete AC_HELP_STRING.
1289 (AC_HELP_STRING): AU_DEFUN to...
1290 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here.
1291 * tests/m4sh.at (AS_HELP_STRING): New test.
1293 * tests/acgeneral.at: Regenerated.
1295 2003-03-26 Derek Price <derek@ximbiot.com>
1297 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
1298 sense. Verbosify the diversion definitions comment.
1300 2003-03-26 Derek Price <derek@ximbiot.com>
1302 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
1305 2003-03-21 Eric Siegerman <eric_97@pobox.com>
1307 * doc/autoconf.texi (Present But Cannot Be Compiled):
1308 Grammar fixes and minor rewording. (trivial change)
1310 2003-03-06 Paul Eggert <eggert@twinsun.com>
1312 Work around a problem noted by Nelson H. F. Beebe with coreutils
1313 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08
1314 2002/05/09) rejects '#line 32768 "configure"' because the line
1316 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate
1318 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this.
1319 * doc/autoconf.texi (Generating Sources): Document this.
1321 2003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk>
1323 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
1324 file name for the m4 program, when it has an "exe" file extension.
1325 DJGPP's error messages include the error code in brackets -
1326 remove the error code during normalization.
1328 2003-02-28 Akim Demaille <akim@epita.fr>
1330 * doc/autoconf.texi (Present But Cannot Be Compiled): New.
1332 2003-02-28 Alexandre Duret-Lutz <adl@gnu.org>
1334 * doc/autoconf.texi (Limitations of Make): Remove the section
1335 about `$<' in inference rules, it was a bogus interpretation of
1336 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and
1337 Tru64 make in the "target lookup" section.
1338 (Automake): Automake 1.5+ no longer requires special tools to be
1339 present on the developer's host.
1341 2003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk>
1343 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set
1344 to a shell that can handle redirection or quoting correctly.
1345 Override SHELL with the shell detected by configure.
1346 Use of $^O suggested by Tim van Holder.
1347 * bin/autom4te.in (BEGIN): Likewise.
1348 * bin/autoreconf.in (BEGIN): Likewise.
1349 * bin/autoscan.in (BEGIN): Likewise.
1350 * bin/autoupdate.in (BEGIN): Likewise.
1351 * bin/ifnames.in (BEGIN): Likewise.
1353 * bin/ifnames.in: Add final newline to help and version messages.
1355 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons,
1356 to cope with DOS-style absolute paths, when constructing
1359 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES):
1360 When constructing paths with IFS=:, quote the path. If we're
1361 constructing a DOS-style absolute path, we don't want to split it
1364 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo
1367 2003-02-25 Pavel Roskin <proski@gnu.org>
1369 * bin/autoheader.in: Add missing newline when printing
1370 suggestion how change AC_DEFINE call.
1372 2003-02-24 Paul Eggert <eggert@twinsun.com>
1374 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in
1375 2002-09-01 patch by replacing "test -n" with "test -z".
1376 This fixes a bug found by Jeff Painter and reported by Tom Epperly in
1377 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
1379 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z,
1380 to fix a mismatch between example and discussion.
1382 2003-02-24 Kevin Ryde <user42@zip.com.au>
1384 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf
1385 format starting with "-".
1387 2003-02-20 Alexandre Duret-Lutz <adl@gnu.org>
1389 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e'
1390 is not portable inside Makefile.
1392 2003-02-20 Akim Demaille <akim@epita.fr>
1394 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When
1395 compiler says yeah, but preproc says nope, compiler is right.
1396 Conversely, prompt the reader to send a bug report to the
1397 maintainers of the package, not of Autoconf.
1399 2003-02-20 Klee Dienes <kdienes@apple.com>
1401 * bin/autoreconf.in (autoreconf_current_directory): Properly
1402 handle an empty aclocal.m4.
1404 2003-02-20 Akim Demaille <akim@epita.fr>
1406 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote
1410 2002-12-23 Paul Eggert <eggert@twinsun.com>
1412 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an
1413 innocuous variant befor including <limits.h> or <assert.h>. This
1414 works around a bug reported by Albert Chin: HP-UX 11i
1415 (and earlier versions) have a <limits.h> that declares
1416 gettimeofday and many other functions.
1418 2002-12-03 Paul Eggert <eggert@twinsun.com>
1422 * NEWS, configure.ac: Update version.
1424 * doc/fdl.texi: Upgrade to FDL version 1.2.
1426 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f
1427 nontrivially in main's body, so that f's external declaration is
1428 not optimized away in AIX. This should fix the bug reported by
1430 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>.
1432 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C),
1433 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is
1434 defined, to support freestanding compilers. This should fix the
1435 bug reported by Momchil Velkov in
1436 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>.
1438 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty
1439 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for
1440 obsolete AC_CHECK_TYPE. The missing empty arg was reported
1441 by Simon Josefsson in
1442 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>.
1444 * Makefile.maint (www-gnu): New macro.
1445 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as
1446 the location has moved.
1448 2002-12-02 Martin Frydl <martin@systinet.com>
1450 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when
1451 \(.*\) match is too long and there is something more to be checked.
1452 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html>
1454 2002-11-15 Akim Demaille <akim@epita.fr>
1458 * config/install-sh: chmod +x.
1460 * config/move-if-change: Indenting changes.
1461 * Makefile.am (AUTOMAKE_OPTIONS): Move to...
1462 * configure.ac (AM_INIT_AUTOMAKE): here.
1465 2002-11-14 Akim Demaille <akim@epita.fr>
1469 * config/config.guess, config/config.sub, config/install-sh:
1470 Update from masters.
1472 2002-11-14 Akim Demaille <akim@epita.fr>
1474 * Makefile.maint: Sync with Bison, i.e.:
1475 (po-check): Scan .l and .y files instead of the
1476 .c and the .h files that they generate. This fixes the bug
1477 reported by Tim Van Holder in:
1478 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1479 Look for N_ as well as for _. Try to avoid matching #define for
1483 2002-11-14 Akim Demaille <akim@epita.fr>
1485 * doc/autoconf.texi (C Compiler): Compiling several files at once.
1486 From Paul Eggert and Albert Chin-A-Young.
1488 2002-11-14 Akim Demaille <akim@epita.fr>
1490 * doc/autoconf.texi (C Compiler): Solitary backslashes.
1491 From Paul Eggert and Albert Chin-A-Young.
1493 2002-11-14 Kevin Ryde <user42@zip.com.au>
1495 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather
1496 than assigning in main, to avoid HP cc +O3 optimizing it away.
1498 2002-11-12 Peter Eisentraut <peter_e@gmx.net>
1500 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q
1501 option. Process --recheck after parsing all options. Pass -q
1502 option to configure on --recheck.
1503 (AC_OUTPUT): Pass -q from configure to config.status.
1504 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from
1505 arguments to record.
1506 * doc/autoconf.texi (config.status Invocation): Document
1507 config.status -q option.
1509 2002-11-07 Alexandre Duret-Lutz <adl@gnu.org>
1511 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore
1512 Makefile.in if Makefile.am exists.
1513 (output): Strip `.am' from Makefiles. Don't
1514 output AC_CONFIG_FILES if no Makefiles were found.
1516 2002-11-07 Akim Demaille <akim@epita.fr>
1518 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh.
1519 (local_updates): New.
1520 * Makefile.maint: Update, from CVS Bison.
1521 (local_updates): New.
1523 2002-11-06 Akim Demaille <akim@epita.fr>
1525 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f'
1526 declaration in extern "C" too.
1527 Reported by Roberto Bagnara.
1529 2002-11-06 Akim Demaille <akim@epita.fr>
1531 * tests/torture.at (Configuring subdirectories): Don't use grep
1533 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w.
1534 Reported by Ezra Peisach.
1536 2002-11-05 Akim Demaille <akim@epita.fr>
1538 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD):
1540 We _have_ to stop using the old compatibility scheme that tried to
1541 avoid useless backslashes because Libtool 1.4.3 contains a
1542 AC_DEFINE([error_t], [int],
1543 [Define to a type to use for \`error_t' if it is not
1544 otherwise available.])
1545 We _have_ to quote the single quote and backslashes with \. The
1546 old compatibility scheme saw that ` was backslashed, and therefore
1547 did not quote the single quote. Hence before this patch, Autoconf
1548 was not compatible with Libtool.
1550 2002-11-04 Paul Eggert <eggert@twinsun.com>
1552 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables,
1553 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY,
1554 LC_NAME, LC_PAPER, LC_TELEPHONE.
1555 * doc/autoconf.texi (Special Shell Variables): Mention those vars.
1557 2002-11-04 Akim Demaille <akim@epita.fr>
1561 * Makefile.maint (update, cvs-update, po-update, do-po-update):
1563 * config/texinfo.tex: Update.
1565 2002-11-03 Akim Demaille <akim@epita.fr>
1567 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted
1569 (&autoreconf): here.
1570 ($help, $make, &parse_args, &autoreconf_current_directory):
1572 * doc/autoconf.texi (autoreconf Invocation): Adjust.
1574 2002-10-31 Bruno Haible <bruno@clisp.org>
1576 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message.
1577 Change name of cache variable to ac_cv_func_malloc_0_nonnull.
1578 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro.
1579 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable
1580 to ac_cv_func_realloc_0_nonnull.
1581 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro.
1583 2002-10-31 Akim Demaille <akim@epita.fr>
1585 The test suite was no longer checking for trailing envvars and files.
1587 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here.
1588 (AT_CHECK_ENV): Make sure the `state-ls.before file exists.
1590 2002-10-31 Akim Demaille <akim@epita.fr>
1592 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display
1593 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the
1594 Make variable, not a shell variable.
1595 Suggested by Bruno Haible.
1597 2002-10-31 Akim Demaille <akim@epita.fr>
1599 * bin/autom4te.in (load_configuration): Reject #args out of any
1602 2002-10-31 Akim Demaille <akim@epita.fr>
1604 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New.
1605 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
1606 (_AC_RUN_IFELSE): Use it.
1607 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT):
1608 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise.
1609 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h,
1612 2002-10-30 Akim Demaille <akim@epita.fr>
1614 * bin/autom4te.in (&parse_args, $help): Support --no-cache.
1615 * doc/autoconf.texi (autom4te Invocation): Adjust.
1616 Suggested by Tim van Holder.
1618 2002-10-29 Paul Eggert <eggert@twinsun.com>
1620 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and
1621 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX.
1622 Problem reported by Bruno Haible.
1624 2002-10-29 Akim Demaille <akim@epita.fr>
1626 * doc/autoconf.texi (Header Templates): Put also in words what the
1627 pictures says to assist free style readers.
1628 (Customizing autom4te): s/--cache=/--cache /.
1630 2002-10-29 Akim Demaille <akim@epita.fr>
1632 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and
1634 sparc_address_test returns void.
1635 Use it with an argument, as prototyped.
1638 2002-10-29 Akim Demaille <akim@epita.fr>
1640 * doc/autoconf.texi (Subdirectories): Cygnus dirs have
1641 configure.in, not configure.ac.
1642 Reported by Bruno Haible.
1644 2002-10-29 Akim Demaille <akim@epita.fr>
1646 * tests/torture.at (Deep Package): New test.
1647 (Configuring subdirectories): Don't use a testSubDir as Autotest
1650 2002-10-29 Akim Demaille <akim@epita.fr>
1652 * bin/autoreconf.in (&parse_args, $help): Support --warnings.
1653 * doc/autoconf.texi (Invoking autom4te): Rename as...
1654 (autom4te Invocation): this, for consistency with the other nodes.
1656 2002-10-29 Akim Demaille <akim@epita.fr>
1658 * lib/autom4te.in (Autoconf): s/automate/autom4te/.
1659 Reported by Ralf Corsepius.
1661 2002-10-29 Akim Demaille <akim@epita.fr>
1663 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1664 characters is a back as an `obsolete' warning now.
1665 Reported by Ralf Corsepius.
1667 2002-10-28 Akim Demaille <akim@epita.fr>
1669 * configure.ac: Bump to 2.54c.
1671 2002-10-28 Akim Demaille <akim@epita.fr>
1675 * tests/foreign.at (Libtool): Adjust to broken libtoolize.
1677 2002-10-28 Akim Demaille <akim@epita.fr>
1679 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different
1680 m4 executable names, and different GNU M4 version.
1681 Reported by Ezra Peisach and Paul Jarc.
1683 2002-10-27 Akim Demaille <akim@epita.fr>
1685 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use
1688 2002-10-27 Akim Demaille <akim@epita.fr>
1690 * doc/autoconf.texi: More AC_MSG_FAILURE promotion.
1691 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING):
1692 Die when a simple Fortran program cannot be compiled.
1693 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY):
1694 Issue a warning if no function is given.
1696 2002-10-27 Akim Demaille <akim@epita.fr>
1698 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE.
1699 Move the documentation of AC_TRY_RUN to...
1700 (Obsolete Macros): here.
1701 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE.
1702 (autoconf Invocation): Remove the duplicates with `invoking
1704 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN.
1705 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
1707 2002-10-27 Akim Demaille <akim@epita.fr>
1709 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL
1710 and AC_LANG_FUNC_LINK_TRY.
1711 (Examining Libraries): Rename as...
1712 (Running the Linker): this.
1713 Document AC_LINK_IFELSE.
1714 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to...
1715 (Obsolete Macros): here.
1716 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use
1717 AC_TRY_LINK_FUNC nor AC_TRY_LINK.
1718 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise.
1719 * lib/autoconf/headers.m4 (AC_USG): Likewise.
1721 2002-10-27 Akim Demaille <akim@epita.fr>
1723 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP.
1725 More `check config.log' messages.
1727 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New.
1728 * doc/autoconf.texi (Printing Messages): Document it.
1729 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when
1731 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT)
1732 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O)
1733 (_AC_COMPILER_OBJEXT): Likewise.
1734 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise.
1735 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS):
1737 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP):
1740 Deprecate macros with unusual interfaces.
1742 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK)
1743 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed.
1745 Document the new ones, and proper style.
1747 * doc/autoconf.texi (Generating Sources): New.
1748 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM.
1749 (Examining Declarations): Rename as...
1750 (Running the Preprocessor): this.
1751 Document AC_PREPROC_IFELSE.
1752 (Examining Syntax): Rename as...
1753 (Running the Compiler): this.
1754 (AC_FOO_IFELSE vs AC_TRY_FOO): New section.
1755 (Obsolete Macros): Move the definition of AC_TRY_CPP and
1756 AC_TRY_COMPILE here.
1758 2002-10-27 Akim Demaille <akim@epita.fr>
1760 Move sections around.
1762 * doc/autoconf.texi (Customizing autom4te): Remove a lost
1764 Reported by Burno Haible.
1765 (Language Choice): Now the first section of...
1766 (Writing Tests): this section.
1767 Make the introduction less C-centric.
1768 (Guidelines, Test Functions): Move to...
1769 (Writing Test Programs): this new section.
1770 (Test Programs): Merge into...
1773 2002-10-27 Akim Demaille <akim@epita.fr>
1775 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on
1776 autom4te.in that resulted in the need for two `make' runs.
1778 2002-10-27 Akim Demaille <akim@epita.fr>
1780 * configure.ac: Bump to 2.54b.
1782 2002-10-25 Akim Demaille <akim@epita.fr>
1786 * Makefile.maint: Update from the Coreutils.
1787 (AMTAR): Remove, obsolete.
1788 (automake_repo): Update to redhat.com.
1790 Adjust to the fact that ansi2knr is now hosted by Automake.
1791 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs.
1792 * config/config.guess, config/mkinstalldirs, config/texinfo.tex:
1793 Update from masters.
1794 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA):
1795 autoscan.pre is not to be installed, and autoscan.list is not to
1797 (CLEANFILES): Add autoscan.list.
1798 (autoscan.list): Disable the cache.
1799 * bin/Makefile.am: Include freeze.mk.
1801 2002-10-25 Akim Demaille <akim@epita.fr>
1803 * bin/autom4te.in (&load_configuration): Take the file as
1805 (&parse_args): Handle -C, --cache.
1807 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg.
1808 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache.
1809 * doc/autoconf.texi (Invoking autom4te): Document --cache.
1810 Now a subsection of...
1811 (Using autom4te): This new section.
1812 (Customizing autom4te): New.
1813 (autom4te.cache): Adjust.
1815 2002-10-25 Akim Demaille <akim@epita.fr>
1817 * doc/autoconf.texi (Generic Headers): More information on how to
1818 use AC_CHECK_HEADERS.
1820 2002-10-25 Akim Demaille <akim@epita.fr>
1822 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help):
1825 2002-10-25 Akim Demaille <akim@epita.fr>
1827 * bin/autoscan.in (output): Output AC_PREREQ.
1828 (%needed_macros): Add AC_PREREQ so that configure.ac without one
1831 2002-10-23 Akim Demaille <akim@epita.fr>
1833 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL,
1836 2002-10-23 Akim Demaille <akim@epita.fr>
1838 * bin/autom4te.in (handle_traces): Handle @&t@ in traces.
1839 Reported by Peter Eisentraut.
1841 2002-10-23 Akim Demaille <akim@epita.fr>
1843 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the
1846 * doc/autoconf.texi (Particular Headers): Adjust according to Paul
1847 Eggert's recommandations.
1849 2002-10-22 Akim Demaille <akim@epita.fr>
1851 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS
1852 Bison, by Paul Eggert.
1853 * doc/autoconf.texi (Particular Headers): Document it.
1855 2002-10-22 Aaron M. Ucko <amu@alum.mit.edu>
1857 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in
1858 `$ac_configure_args'.
1860 2002-10-22 Akim Demaille <akim@epita.fr>
1862 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples.
1863 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS.
1866 2002-10-22 Akim Demaille <akim@epita.fr>
1868 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch:
1870 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1871 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore.
1872 (_AC_CHECK_HEADER_NEW): Rename as...
1873 (AC_CHECK_HEADER): this.
1875 2002-10-22 Akim Demaille <akim@epita.fr>
1877 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect
1878 words about HP-UX cmp: it was actually a user-written cmp.
1880 2002-10-22 Akim Demaille <akim@epita.fr>
1882 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there
1884 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1885 Quote for Perl '' strings, not "".
1886 * bin/autoheader.in: Invoke autoconf to get '' strings, not ""
1889 2002-10-22 Akim Demaille <akim@epita.fr>
1891 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted
1892 characters is a syntax warning now.
1893 (_AS_QUOTE): Accept $2 as list of characters to quote.
1894 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD):
1895 Quote for Perl, not sh.
1896 * bin/autoheader.in: When $debug, report the file which is
1898 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely
1899 `@', to tickle Perl's lists.
1900 Reported by Carlos Velasco.
1902 2002-10-18 Akim Demaille <akim@epita.fr>
1904 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that
1905 missing included files _are_ errors.
1906 Thanks to Alexandre Duret-Lutz.
1907 * tests/tools.at (autom4te cache): Adjust.
1908 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New.
1909 (AT_CHECK_M4SUGAR): Use it.
1910 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
1912 * tests/tools.at (autom4te): Now it does exit 1.
1914 2002-10-17 Akim Demaille <akim@epita.fr>
1916 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp.
1917 Fixes the `AC_ARG_VAR' test failures.
1918 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp.
1919 * lib/freeze.mk (check-forbidden-patterns): New.
1920 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am
1921 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'.
1922 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and
1924 Reported months ago by H. Merijn Brand.
1926 2002-10-17 Akim Demaille <akim@epita.fr>
1928 * tests/tools.at (autoheader): Put randoms `@' to stress Perl.
1930 2002-10-16 Paul Eggert <eggert@twinsun.com>
1932 * Makefile.maint (wget_files): Remove ansi2knr.c.
1933 (ansi2knr.c-url_prefix): Remove.
1935 2002-10-16 Akim Demaille <akim@epita.fr>
1937 Because of caching, some files that no longer exist and are no
1938 longer required can still cause errors.
1939 Reported by Alexandre Duret-Lutz.
1941 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state'
1942 to frozen files in @ARGV, as @ARGV must remain being a list of
1943 files. Rather, at M4 call sites, use this...
1944 (&files_to_options): New function.
1945 (&freeze): Use &error.
1946 (&up_to_date): If a file that was included according to the cache
1947 is no longer there, then the output is out dated.
1948 (&main): Don't even check whether a file is up to date is anyway
1950 * tests/tools.at (autom4te cache): New.
1952 2002-10-16 Akim Demaille <akim@epita.fr>
1954 * bin/autoconf.as: Kill dead options.
1955 * bin/autoupdate.in (&parse_args): Kill old options.
1956 * bin/autoreconf.in (&parse_args): Remove dead options.
1958 (&autoreconf): Report the directories we enter *and leave*, so
1959 that error messages can be easily located, and use GNU Make
1960 format, so that Emacs' compile mode understands us.
1961 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report
1962 if some file was changed instead of `print'.
1963 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed.
1964 (&parse_args): Remove the dead options.
1965 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new
1966 autoheader's quiet mode.
1967 (AT_CHECK_AUTOUPDATE): Likewise.
1968 * tests/tools.at (autoupdate): Adjust.
1969 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
1971 2002-10-11 Akim Demaille <akim@epita.fr>
1973 No longer use CPP to check for the existing of headers: use CC to
1974 check for compilability.
1976 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL)
1977 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove.
1978 (_AC_CHECK_HEADER_NEW): Rename as...
1979 (AC_CHECK_HEADER): this.
1981 * lib/autotest/general.m4 (AT_INIT): Include the failed test
1982 numbers in the Subject suggestion.
1984 2002-10-11 Akim Demaille <akim@epita.fr>
1986 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete.
1987 Suggest using AC_CHECK_DECLS instead.
1989 2002-10-11 Akim Demaille <akim@epita.fr>
1991 * tests/torture.at (AC_ARG_VAR): Have configure report the value
1994 2002-10-11 Akim Demaille <akim@epita.fr>
1996 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the
1997 file name to enable parallel executions.
1998 From Sam Varshavchik.
2000 2002-10-08 Akim Demaille <akim@epita.fr>
2002 * bin/autoreconf.in (&autoreconf): Run autopoint before the first
2003 aclocal invocation, as Gettext macros might not be visible to
2005 Instead of blindly running autopoint, scan configure.ac (not the
2006 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does.
2007 Reported by Paul D. Smith.
2009 2002-10-08 Paul Eggert <eggert@twinsun.com>
2011 Work around problems found when POSIXLY_CORRECT=1 is set.
2012 None of this seems to have anything to do with POSIX, really,
2013 but it's how Perl getopt works.
2014 * bin/autom4te.in (parse_args): Configure GetOpt with
2016 * doc/autoconf.texi (Invoking autom4te):
2017 --warning -> --warnings.
2018 * lib/autom4te.in: --warning -> --warnings.
2020 2002-09-28 Akim Demaille <akim@epita.fr>
2022 * doc/autoconf.texi (autom4te.cache): New section.
2024 2002-09-28 Akim Demaille <akim@epita.fr>
2026 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections)
2027 (Automake-preselections): Update.
2028 * bin/autoreconf.in, bin/autoheader.in: Comment changes.
2030 2002-09-28 Akim Demaille <akim@epita.fr>
2032 * lib/autoscan/autoscan.pre: Move all the remaining rules to...
2033 * lib/autoconf/c.m4, lib/autoconf/functions.m4,
2034 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
2035 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here.
2037 2002-09-28 Akim Demaille <akim@epita.fr>
2039 * tests/torture.at (Configuring subdirectories): Be robust to
2040 users who use config.site to require for a cache: in this case,
2041 the two last configure runs, using two different sets of
2042 arguments, trigger a legitimate error.
2044 2002-09-28 Akim Demaille <akim@epita.fr>
2046 * tests/m4sh.at (Functions Support, Functions and return Support):
2049 2002-09-28 Akim Demaille <akim@epita.fr>
2051 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and
2052 autoheader are Perl programs.
2053 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan)
2054 (autom4te): Specify that the sources are in the $srcdir.
2055 * doc/autoconf.texi (Installation Directory Variables): Adjust.
2057 2002-09-28 Akim Demaille <akim@epita.fr>
2059 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
2060 (tm_zone): Move their rules to...
2061 * lib/autoconf/types.m4: here, using AN_ macros.
2062 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
2063 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
2064 (make, mawk, nawk, ranlib, yacc): Similarly, move to...
2065 * lib/autoconf/programs.m4: here.
2066 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
2067 (ETAGS_FOR_AUTOCONF): New.
2070 2002-09-28 Akim Demaille <akim@epita.fr>
2072 * lib/autoconf/autoscan.m4: New file.
2073 * lib/autoconf/autoconf.m4: Include it.
2074 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions
2075 that were listed in the original autoscan.list.
2076 * lib/autoconf/headers.m4: Similarly with headers.
2077 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4.
2078 (.m4.m4f): Don't pass --prepend-include, since that's done by
2079 tests/autom4te itself.
2080 * lib/autoscan/Makefile.am: Include freeze.mk.
2081 (autoscan.list): New target --this file is no longer a source.
2082 (autoscan.pre): New file.
2084 2002-09-28 Akim Demaille <akim@epita.fr>
2086 * bin/autoscan.in (@kinds): Make them singular.
2088 (&init_tables): When --debug, report the list of rules to ease
2089 tracking changes in autoscan.list.
2090 * lib/autoscan/autoscan.list (function): Strip comments, sort.
2092 2002-09-28 Akim Demaille <akim@epita.fr>
2094 * lib/autoscan/functions, lib/autoscan/headers,
2095 * lib/autoscan/identifiers, lib/autoscan/makevars,
2096 * lib/autoscan/programs: Merge into...
2097 * lib/autoscan/autoscan.list: this.
2098 * bin/autoscan.in (&init_tables): Adjust.
2100 2002-09-28 Akim Demaille <akim@epita.fr>
2102 * lib/autoscan/functions, lib/autoscan/headers,
2103 * lib/autoscan/identifiers, lib/autoscan/makevars,
2104 * lib/autoscan/programs: Make the `kind' explicit, i.e., each
2105 `functions' line is now prefixed with `function:'.
2106 * bin/autoscan.in (&init_tables): Adjust.
2108 2002-09-28 Akim Demaille <akim@epita.fr>
2110 From now on, autoscan files must always map a macro name to a
2111 word: there is no `default' macro for autoscan.
2113 * bin/autoscan.in (&init_tables): Reject entries with no macro at
2115 * lib/autoscan/functions, lib/autoscan/headers: Make the macro
2118 2002-09-28 Akim Demaille <akim@epita.fr>
2120 * bin/autoscan.in (%c_keywords): Remove.
2121 (&used): Keep only track of the words we might be interested in.
2122 (&output_kind): It is no longer needed to look for non active
2125 2002-09-27 Akim Demaille <akim@epita.fr>
2127 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from
2128 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1.
2129 * lib/autoscan/functions: Adjust.
2130 * doc/autoconf.texi (Particular Functions): Adjust.
2132 2002-09-27 Akim Demaille <akim@epita.fr>
2134 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv
2136 Thanks to Bill Moseley and Paul Eggert.
2137 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which
2138 the tmpdir must be created.
2139 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp
2140 dir be in the build tree, instead of $TMPDIR.
2142 2002-09-27 Akim Demaille <akim@epita.fr>
2144 * bin/autoscan.in: Improve the comments.
2145 (&parse_args): Drop obsolete undocumented options.
2146 (&output_kind): Output warnings.
2147 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT.
2148 (getwd): Trigger a warning.
2150 2002-09-26 Akim Demaille <akim@epita.fr>
2152 * bin/autoreconf.in: Clarify that -s is meaningless without -i.
2153 Reported by Ralf Corsepius.
2154 * doc/autoconf.texi (autoreconf Invocation): Likewise.
2156 2002-09-26 Akim Demaille <akim@epita.fr>
2158 Single suffix rules and seperated dependencies are not portable.
2160 * doc/autoconf.texi (Installation Directory Variables): Update.
2161 (Limitations of Make): Some about `Single Suffix Rules and
2162 Separated Dependencies'.
2163 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2164 (ifnames, autoscan, autom4te): Un-factor into several rules.
2166 2002-09-25 Paul Eggert <eggert@twinsun.com>
2168 * BUGS (Interoperability bugs): New section. Mention libtool
2169 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug.
2171 2002-09-24 Paul Eggert <eggert@twinsun.com>
2173 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8
2174 make handles suffix-rules differently from GNU make.
2176 * bin/Makefile.am (SUFFIXES, .in): Remove.
2177 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te):
2178 Move the body of the old .in rule here.
2180 2002-09-16 Akim Demaille <akim@epita.fr>
2182 i960 compilers create `b.out' files by default.
2183 Reported by Ralf Corsepius.
2185 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files.
2186 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out.
2188 2002-09-13 Paul Eggert <eggert@twinsun.com>
2190 * doc/autoconf.texi (Particular Headers): Remove obsolete
2191 reference to `struct timezone' in the description of
2194 2002-09-13 Akim Demaille <akim@epita.fr>
2198 * config/config.sub, config/config.guess: Update.
2199 * Makefile.maint: Update from bits of the Coreutils 4.5.1.
2200 * Makefile.am: Adjust.
2202 2002-09-13 Akim Demaille <akim@epita.fr>
2204 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest
2205 reading config.log when the compiler is rejected.
2206 Suggested by Guido Draheim.
2208 2002-09-13 Akim Demaille <akim@epita.fr>
2210 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals
2211 (chdir_init) might hang when stat'ing mounted directories.
2212 Reported by Vance Shipley.
2214 2002-09-12 Akim Demaille <akim@epita.fr>
2216 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not
2219 2002-09-12 Akim Demaille <akim@epita.fr>
2221 * doc/autoconf.texi (Defining Symbols): Present two different
2222 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the
2223 difference between 1 argument calls, and 2-3 argument calls.
2225 2002-09-12 Peter Eisentraut <peter_e@gmx.net>
2227 * doc/autoconf.texi: Review grammar and punctuation.
2229 2002-09-11 Paul Eggert <eggert@twinsun.com>
2231 * doc/autoconf.texi: Fix minor formatting, spelling, and
2233 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but
2234 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case
2237 2002-09-11 Akim Demaille <akim@epita.fr>
2239 * doc/autoconf.texi (Questions): Rename as...
2241 (Defining Directories): New.
2243 2002-09-09 Akim Demaille <akim@epita.fr>
2245 * doc/autoconf.texi (Making testsuite Scripts): Update.
2246 Suggested by Nishio Futoshi.
2248 2002-09-09 Koji Arai <JCA02266@nifty.ne.jp>
2250 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a
2251 plain `@' is wanted.
2253 2002-09-09 Akim Demaille <akim@epita.fr>
2255 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the
2256 `duplicates', since the algorithm was too naive and could keep
2257 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and
2258 keep `--prefix foo --prefix bar' as `--prefix foo bar'.
2259 Reported by Ralf Corsepius.
2260 * tests/torture.at (Configuring subdirectories): Exercise these
2263 2002-09-09 Akim Demaille <akim@epita.fr>
2265 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when
2266 looking for a replacement file.
2267 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the
2268 directory is relative.
2269 * doc/autoconf.texi (Generic Functions): Clarify the replacement
2270 directory definition.
2271 Reported by Andreas Schwab and Jim Meyering.
2273 2002-09-06 Akim Demaille <akim@epita.fr>
2275 * doc/autoconf.texi (Setting Output Variables): Clarify what
2276 precious variables are.
2277 Suggested by Pontus Skoeld.
2279 2002-09-05 Akim Demaille <akim@epita.fr>
2281 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate)
2282 (ifnames, autoscan, autom4te): Since we don't only depend on
2283 configure.ac variables (such as VERSION etc.), but also on prefix
2284 and so forth, depend on Makefile, not configure.ac.
2285 Reported by Alexandre Duret-Lutz.
2286 * doc/autoconf.texi (Installation Directory Variables): Adjust.
2288 2002-09-05 Kevin Ryde <user42@zip.com.au>
2290 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes
2291 doesn't seem to be confined to ia64, just say "some versions".
2293 2002-09-04 Akim Demaille <akim@epita.fr>
2295 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by
2297 * Makefile.am (maintainer-clean-local): Remove.
2298 (MAINTAINERCLEANFILES): Remove COPYING.
2300 2002-09-03 Paul Eggert <eggert@twinsun.com>
2302 * doc/autoconf.texi (Configuration Commands): Remove obsolete
2303 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus
2306 2002-09-03 Akim Demaille <akim@epita.fr>
2308 * configure.ac: Bump to 2.53d.
2309 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake
2310 as of today, on Automake's team suggestion.
2312 2002-09-03 Akim Demaille <akim@epita.fr>
2316 2002-09-02 Akim Demaille <akim@epita.fr>
2318 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and
2320 * configure.ac: Disable SITE_MACRO_DIR.
2322 2002-09-02 Jim Meyering <meyering@lucent.com>
2324 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/,
2325 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios.
2326 Also, tweak grammar: s/make sure to/be sure to/.
2328 2002-09-02 Paul Eggert <eggert@twinsun.com>
2330 * doc/autoconf.texi (Limitations of Builtins): Explain why logical
2331 directory names are generally preferable to physical names.
2333 2002-09-02 Akim Demaille <akim@epita.fr>
2335 * lib/Autom4te/General.pm (&update_file): s/die/error/.
2336 Reported by Raja R. Harinath.
2337 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in,
2338 * bin/autoupdate.in: Use error instead of die.
2340 2002-09-01 Paul Eggert <eggert@twinsun.com>
2342 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use
2343 ordinary shell concatenation rather than echo+tr+sed command that
2344 runs afoul of a long-line-related sed bug in Solaris 8.
2346 * bin/autoheader.in (parse_args): --warning -> --warnings.
2348 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to
2349 stdout, as traditional "ls" does.
2350 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT,
2351 _AC_COMPILER_EXEEXT_O): Likewise.
2352 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls".
2354 * bin/autoconf.as: Add --prepend-include option. This patch was
2355 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth,
2356 but bin/autoconf.in is generated automatically from bin/autoconf.as.
2358 * bin/autoconf.in, configure: Regenerate.
2360 * doc/autoconf.texi (Special Shell Variables): Mention
2361 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD.
2363 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL,
2364 MAILPATH and set PS1, PS2, PS4 to default values, to work
2365 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly.
2366 For LC_ALL etc, first try to set to "C" as POSIX requires and as
2367 the Autoconf documentation specifies; fall back to "unset" only if
2368 this fails. Use a shell for-loop for this rather than an m4 loop,
2369 to shorten the output script.
2371 2002-08-30 Paul Eggert <eggert@twinsun.com>
2373 * doc/autoconf.texi (Special Shell Variables): Mention POSIX
2374 1003.1-2001's requirements for CDPATH. Give a simpler workaround
2375 for the CDPATH problem. Document PWD.
2376 (Limitations of Builtins): Document the problem that "cd $foo" and
2377 "ls $foo" may refer to different directories in shells conforming
2378 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset"
2379 example, since the old example is now out of date.
2381 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd
2382 FOO" and "ls FOO" talk about different directories; this catches
2383 problems when POSIX 1003.1-2001 "cd" fails due to symlink
2386 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead
2387 of rolling our own unset.
2388 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since
2389 in practice we needn't worry about CDPATH if unset doesn't work.
2391 * Makefile.in, aclocal.m4, bin/Makefile.in,
2392 config/Makefile.in, doc/Makefile.in, lib/Makefile.in,
2393 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in,
2394 lib/autoscan/Makefile.in, lib/autotest/Makefile.in,
2395 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in,
2396 tests/Makefile.in: Regenerate with Automake 1.6.3.
2398 * config/config.guess, config/config.sub, config/mkinstalldirs:
2401 * configure: Regenerate with self.
2403 2002-08-30 Kevin Ryde <user42@zip.com.au>
2405 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc"
2408 2002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2410 * bin/autom4te.in (Request::load): Correctly test for "do" read
2413 2002-08-29 Akim Demaille <akim@epita.fr>
2415 * lib/Autom4te/General.pm (&xqx): New.
2416 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by
2417 hand, which is not portable.
2419 * bin/autom4te.in: Use them.
2420 Use &error instead of die.
2421 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
2424 2002-08-17 Paul Eggert <eggert@twinsun.com>
2426 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the
2427 default list of compilers to try, since it was long ago superseded
2428 by the ksh fc builtin. Suggested by Steven G. Johnson.
2430 2002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr>
2432 * doc/autoconf.texi (Invoking autom4te): End the option table,
2433 fixing a bug introduced by the previous patch.
2434 (Limitations of Make): Add a 'target lookup' subentry in the
2435 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'.
2437 2002-07-29 Mark D. Roth <roth@feep.net>
2439 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir
2440 options and use $AUTOM4TE_PATH.
2441 * doc/autoconf.texi: Remove documentation of autom4te
2442 --include-envvar and --site-macro-subdir options and document
2443 use of $AUTOM4TE_PATH.
2444 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir
2445 arguments from each language section.
2447 2002-07-29 Paul Eggert <eggert@twinsun.com>
2449 * doc/install.texi: Include copyright symbol in copyright notice.
2451 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro.
2453 (AM_MAKEINFOFLAGS): New macro.
2454 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise.
2455 * Makefile.am (INSTALL): Use the new macros.
2456 Use -o rather than --output, since "missing" does not grok --output.
2458 2002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2460 * doc/autoconf.texi (Limitations of Make): Escaped newlines in
2461 comments do not always work. Never trust the exit status of
2464 2002-07-24 Kevin Ryde <user42@zip.com.au>
2466 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts):
2467 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo.
2469 2002-07-23 Paul Eggert <eggert@twinsun.com>
2471 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE):
2472 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002
2473 apparently treats PATH="nonexistent" as if it contained ".".
2474 Bug reported by Stefan `Sec' Zehl.
2476 2002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2478 * doc/autoconf.texi (Limitations of Make): Mention the special
2479 handling of the obj/ directory by BSD make.
2481 2002-07-20 Kevin Ryde <user42@zip.com.au>
2483 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing
2486 2002-07-19 Akim Demaille <akim@epita.fr>
2488 * doc/autoconf.texi (Function Portability): `exit'.
2489 (Programming in M4sh): Ethymology of M4sh.
2491 2002-07-19 Akim Demaille <akim@epita.fr>
2493 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U.
2495 2002-07-18 Akim Demaille <akim@epita.fr>
2499 2002-07-18 Akim Demaille <akim@epita.fr>
2501 * config/config.guess, config/config.sub: Update.
2503 2002-07-18 Akim Demaille <akim@epita.fr>
2505 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and
2508 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New.
2509 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it.
2510 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust.
2512 2002-07-18 Akim Demaille <akim@epita.fr>,
2513 Alexandre Duret-Lutz <duret_g@epita.fr>
2515 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install
2516 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7.
2518 2002-07-17 Russ Allbery <rra@stanford.edu>
2520 * doc/autoconf.texi (Initializing configure): Clarify the
2521 description of the tarname default.
2523 2002-07-17 Andreas Buening <andreas.buening@nexgo.de>
2525 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set
2526 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the
2529 2002-07-17 Akim Demaille <akim@epita.fr>
2531 * lib/Autom4te/General.pm (find_file): Browse the directories in
2532 the order they are given.
2534 2002-07-17 Akim Demaille <akim@epita.fr>
2536 * tests/wrapsh.as, tests/wrappl.as: Merge into...
2537 * tests/wrapper.as: this.
2538 * tests/Makefile.am, configure.ac: Adjust.
2540 2002-07-17 Mark D. Roth <roth@feep.net>
2542 * configure.ac: Add --enable-site-macro-dir option.
2543 * bin/Makefile.am: Expand @SITE_MACRO_DIR@.
2544 * bin/autom4te.in: Add --prepend-include, --include-envvar, and
2545 --site-macro-subdir options.
2546 * bin/autoconf.in: Add --prepend-include option.
2547 * bin/autoheader.in: Add --prepend-include option.
2548 * bin/autoreconf.in: Add --prepend-include option.
2549 * bin/autoscan.in: Add --prepend-include option.
2550 * bin/autoupdate.in: Add --prepend-include option.
2551 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site
2552 macro directory, remove note that include path directories are
2553 used in reverse order, and document --prepend-include option.
2554 * lib/autom4te.in: Use --prepend-include instead of --include.
2555 * tests/wrapsh.in: Use --prepend-include instead of --include.
2557 2002-07-17 Akim Demaille <akim@epita.fr>
2559 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in
2561 * doc/autoconf.texi (Initializing configure): Adjust.
2563 2002-07-17 Akim Demaille <akim@epita.fr>
2565 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC)
2566 (_AC_FUNC_MALLOC): New.
2567 (AC_FUNC_MALLOC): Use the latter.
2568 Define HAVE_MALLOC to 0 if broken.
2569 * doc/autoconf.texi (Particular Functions): Adjust.
2571 2002-07-16 Akim Demaille <akim@epita.fr>
2573 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New.
2574 * doc/autoconf.texi (C Compiler): Adjust.
2576 2002-07-09 Akim Demaille <akim@epita.fr>
2578 * doc/autoconf.texi: Properly set the ``header'' part.
2580 2002-07-09 Akim Demaille <akim@epita.fr>
2582 * doc/autoconf.texi (Systemology): Some about Darwin.
2584 2002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2586 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32):
2587 Don't use AC_REQUIRE in AU_DEFUN.
2589 2002-07-09 Art Haas <ahaas@neosoft.com>
2591 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate.
2593 2002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr>
2595 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
2596 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm,
2597 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables
2598 so that Emacs setups GNU style for perl-mode and cperl-mode.
2600 2002-06-27 Paul Eggert <eggert@twinsun.com>
2602 * config/install-sh: Quote $src. Prefer || to test's -o option,
2603 as per "Limitations of Builtins".
2604 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a.
2605 * tests/semantics.at (AC_C_BIGENDIAN): Likewise.
2607 * tests/mktests.sh: Use grep instead of fgrep, as per
2608 "Limitations of Builtins".
2610 2002-06-15 Paul Eggert <eggert@twinsun.com>
2612 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG,
2613 autom4te_perllibdir): Set to top build dir or src dir as appropriate,
2614 so that we consistently test the just-built programs.
2615 * tests/wrappl.as: Likewise.
2617 2002-06-12 Paul Eggert <eggert@twinsun.com>
2619 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path
2620 name, so that symlinks to 'autoconf' work properly. Bug reported
2622 * bin/autoheader.in (AUTOM4TE): Likewise.
2623 * bin/autoreconf.in (autoconf, autoheader): Likewise.
2624 * bin/autoscan.in (autom4te): Likewise.
2625 * bin/autoupdate.in (autom4te): Likewise.
2627 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
2628 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
2631 2002-06-11 Andreas Schwab <schwab@suse.de>
2633 * doc/autoconf.texi: Add more dir entries.
2635 2002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr>
2637 * bin/autom4te.in ($cache): Don't define using `$me', the name
2638 of the cache should not depend on the name under which autom4te
2641 2002-06-07 Akim Demaille <akim@epita.fr>
2643 * tests/tools.at (autoconf: forbidden tokens, basic)
2644 (autoconf: forbidden tokens, exceptions): Adjust to the change of
2645 words in autom4te.in.
2647 2002-06-07 Peter Eisentraut <peter_e@gmx.net>
2649 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use
2650 _AC_LANG_PROGRAM_C_F77_HOOKS.
2652 2002-06-07 Akim Demaille <akim@epita.fr>
2654 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo,
2656 (AC_REPLACE_FNMATCH): this.
2657 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH,
2658 AC_FUNC_FNMATCH_GNU.
2660 2002-06-07 Akim Demaille <akim@epita.fr>
2662 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the
2663 Rosetta Stone for Unix.
2665 2002-06-07 Akim Demaille <akim@epita.fr>
2667 * bin/autom4te.in (warn_forbidden): When rejecting a token,
2668 suggest m4_pattern_allow.
2669 Suggested by Adam J. Richter.
2671 2002-06-07 Akim Demaille <akim@epita.fr>
2673 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize
2674 ac_config_libobj_dir.
2675 (AC_CONFIG_LIBOBJ_DIR): New.
2676 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into...
2677 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these.
2678 Use ac_config_libobj_dir to find the replacement files.
2679 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into...
2680 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH)
2681 (AC_REPLACE_FNMATCH_GNU): these.
2682 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir.
2683 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust.
2684 * tests/mktests.sh (ac_exclude_list): Don't check
2685 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped.
2687 2002-06-06 Paul Eggert <eggert@twinsun.com>
2689 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp
2692 * doc/autoconf.texi (Configuration Links): Likewise.
2693 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln.
2695 2002-06-05 Paul Eggert <eggert@twinsun.com>
2697 * config/config.guess, config/config.sub, config/texinfo.tex:
2698 Update from masters.
2700 2002-05-29 Paul Eggert <eggert@twinsun.com>
2702 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist.
2703 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise.
2704 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP):
2706 * lib/autoconf/Makefile.am (check-local): Likewise.
2707 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise.
2708 * lib/autoconf/types.m4 (commentary only): Likewise.
2709 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise.
2710 * lib/autotest/Makefile.am (check-local): Likewise.
2711 * lib/m4sugar/Makefile.am (check-local): Likewise.
2712 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise.
2713 * tests/mktests.sh (egrep): New var; use it instead of plain egrep.
2715 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros.
2716 * doc/autoconf.texi (Particular Programs): Document them.
2717 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist.
2720 2002-05-27 Paul Eggert <eggert@twinsun.com>
2722 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro.
2723 * NEWS, doc/autoconf.texi (Particular Types): Document it.
2724 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it
2725 instead of AC_MBSTATE_T, which never existed.
2727 2002-05-23 Akim Demaille <akim@epita.fr>
2729 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the
2730 version of Autoconf that is discussed.
2732 2002-05-22 Paul Eggert <eggert@twinsun.com>
2734 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77
2735 from the default list of compilers to try. Suggested by
2737 * NEWS: Document the above.
2738 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77.
2740 2002-05-17 Paul Eggert <eggert@twinsun.com>
2742 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if
2743 the member is itself an aggregate. Bug reported by Sergey Poznyakoff.
2744 This improves on an earlier suggestion by H. Peter Anvin.
2746 2002-05-16 Paul Eggert <eggert@twinsun.com>
2748 AC_FUNC_FNMATCH now tests only for POSIX compatibility.
2749 AC_FUNC_FNMATCH_GNU also tests for GNU extensions.
2750 Both macros now accept an optional source-dir arg.
2751 New macro AC_GNU_SOURCE to define _GNU_SOURCE.
2753 * NEWS: Document this.
2754 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise.
2756 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro.
2757 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance,
2758 not for GNU extensions; this undoes part of the 2000-11-03 change,
2759 reverting to 2.13-compatible behavior.
2760 Add new optional argument DIR.
2761 (AC_FUNC_FNMATCH_GNU): New macro.
2763 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro.
2765 2002-05-08 Paul Eggert <eggert@twinsun.com>
2767 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ):
2768 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary,
2769 and it causes a 'test' syntax error if it fails.
2770 Bug reported by Stephen Gildea.
2772 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED):
2773 If prototypes are supported, use them to check this at compile-time,
2774 instead of trying to check it at run-time. If we must do a run-time
2775 check, assume that setvbuf is standard when cross-compiling, as
2776 nonstandard setvbuf occurs only on ancient and unlikely hosts.
2777 Bug reported by Paul D. Smith.
2779 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional
2780 argument specifying location of getloadavg.c. This removes a
2781 FIXME. This idea was taken from Jim Meyering's implementation in
2783 * doc/autoconf.texi (Particular Functions): Document this.
2784 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since
2785 that's what the code does; this fixes a bug reported by
2788 2002-05-03 Akim Demaille <akim@epita.fr>
2790 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's
2791 autopoint instead of gettextize.
2792 ($uses_alocal): Rename as...
2793 ($uses_aclocal): this.
2794 * doc/autoconf.texi (autoreconf Invocation): Adjust.
2795 Suggested by Bruno Haible.
2797 2002-05-03 Akim Demaille <akim@epita.fr>
2799 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New.
2801 2002-04-29 Paul Eggert <eggert@twinsun.com>
2803 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input
2804 files to be 1 second older; just set them to be the same time.
2805 Also, sleep 1 second after the first aclocal, to work around
2806 problems with sub-second time stamps on the input files.
2808 2002-04-29 Thien-Thi Nguyen <ttn@gnu.org>
2810 * doc/autoconf.texi: Mention "set -e -x" lossage
2811 under node "Limitations of Builtins".
2813 2002-04-29 Akim Demaille <akim@epita.fr>
2815 * doc/install.texi: Better wording for setting variables when
2817 From Christian Cornelssen.
2819 2002-04-29 Akim Demaille <akim@epita.fr>
2821 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because
2822 of lack of $LINENO support, then the test will compare the $LINENO
2823 in testsuite vs. the lineno in the test file. This is wrong, of
2825 Be sure to protect it.
2826 Reported by Patrick Welche.
2828 2002-04-25 Akim Demaille <akim@epita.fr>
2830 * doc/autoconf.texi (Obsolete Macros): Typo.
2831 Reported by Vladimir Volovich.
2833 2002-04-25 Akim Demaille <akim@epita.fr>
2835 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older
2836 than some of the input files, hence, on the second run of aclocal,
2837 if some of its input are younger, make them older.
2838 Suggested by Paul Eggert.
2840 2002-04-25 Akim Demaille <akim@epita.fr>
2842 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'.
2843 Thanks to Paul Eggert.
2845 2002-04-25 Akim Demaille <akim@epita.fr>
2847 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files
2848 and ac_subst_vars be sh variables containing the list of
2849 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the
2851 (_AC_INIT_PREPARE): Use them to log them.
2852 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove.
2853 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the
2854 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in
2855 _AC_SUBST_FILES and _AC_SUBST_VARS.
2856 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust.
2858 2002-04-24 Akim Demaille <akim@epita.fr>
2860 * bin/autoreconf.in (autoreconf): Run automake after autoconf and
2861 autoheader, so that automake does not complain about a missing
2862 config.h.in that was to be created.
2864 2002-04-23 Akim Demaille <akim@epita.fr>
2866 * bin/autoheader.in (parse_args): --warning takes an argument.
2869 2002-04-22 Peter Eisentraut <peter_e@gmx.net>
2871 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out
2872 and bb.out when cleaning up.
2874 2002-04-22 Akim Demaille <akim@epita.fr>
2878 2002-04-22 Akim Demaille <akim@epita.fr>
2880 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern.
2882 2002-04-22 Akim Demaille <akim@epita.fr>
2884 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious
2886 Reported by Gregory Giannoni.
2888 2002-04-22 Akim Demaille <akim@epita.fr>
2890 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
2891 Fixes false failures on Darwin.
2893 2002-04-21 Paul Eggert <eggert@twinsun.com>
2895 * TODO, bin/autoupdate.in, doc/autoconf.texi,
2896 lib/autoconf/general.m4, lib/autoconf/libs.m4,
2897 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at,
2898 tests/tools.at: Minor spelling and grammar fixes.
2900 2002-04-20 Paul Eggert <eggert@twinsun.com>
2902 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's
2903 ZSH_VERSION fixes. Bug reported by Raja R Harinath.
2904 * lib/autotest/general.m4 (AT_INIT): Likewise.
2905 * tests/atgeneral.m4 (AT_INIT): Likewise.
2907 2002-04-19 Paul Eggert <eggert@twinsun.com>
2909 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in,
2910 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm,
2911 lib/autoconf/autoheader.m4, lib/autoconf/c.m4,
2912 lib/autoconf/functions.m4, lib/autoconf/general.m4,
2913 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers,
2914 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4,
2915 tests/atspecific.m4, tests/semantics.at, tests/torture.at:
2916 Minor spelling and grammar fixes.
2918 * doc/autoconf.texi: Follow the outline suggested in the GNU
2919 Sample Texts sections of the Texinfo 4.2 manual. Most
2920 importantly, this makes sure that the copyright notices appear in
2921 all output formats. You probably need Texinfo 4.2 to generate
2924 Fix some bugs when using "$@" when there might be zero positional
2925 arguments in cases where this matters.
2927 * bin/autoconf.as: Rewrite so that the problem does not come up.
2928 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise.
2929 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
2930 * lib/autotest/general.m4 (AT_INIT): Likewise.
2932 * bin/autoheader.in: Use 'case' statement to work around problem.
2933 * bin/auto4mte.in: Likewise.
2934 * bin/autoreconf.in: Likewise.
2935 * bin/autoscan.in: Likewise.
2936 * bin/autoupdate.in: Likewise.
2937 * bin/ifnames.in: Likewise.
2939 * doc/autoconf.texi (Shell Substitutions): Document the problem.
2941 * lib/autotest/general.m4 (AT_INIT):
2942 Use Zsh alias to work around problem.
2943 * tests/atgeneral.m4 (AT_INIT): Likewise.
2945 * tests/c.at: We can't have zero arguments, so remove workaround
2946 that is not portable to Zsh.
2948 2002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr>
2950 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs
2951 from aclocal.m4 too.
2953 2002-04-12 Akim Demaille <akim@epita.fr>
2955 * tests/wrappl.as: New, M4sh precursor of wrappl.in.
2957 2002-04-10 Akim Demaille <akim@epita.fr>
2959 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh
2960 workaround for ${1+"$@"}.
2961 * doc/autoconf.texi (Shell Substitutions): Explain it.
2962 From Oliver Kiddle and Peter Stephenson.
2964 Have M4sh perform minimal shell sanitizing.
2966 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*'
2968 (_AS_PREPARE): this new macro.
2970 (AS_INIT): Invoke AS_SHELL_SANITIZE.
2971 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE.
2973 Adjust Autoconf and Autotest.
2975 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke
2976 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE.
2977 * lib/autotest/general.m4 (AT_INIT): Likewise.
2978 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS):
2979 Invoke _AS_PREPARE (not AS_PREPARE) in addition to
2982 Use this M4sh to generate Autoconf's shell scripts.
2984 * tests/wrapsh.as: New, precursor of wrapsh.in.
2985 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies
2986 on Autotest and M4sh.
2987 ($(TESTSUITE)): Use $(autotest_m4f_dependencies).
2988 (wrapsh.in): New target.
2989 * bin/autoconf.as: New, precursor of autoconf.in.
2990 (autoconf.in): New target.
2992 2002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr>
2994 * doc/autoconf.texi (Limitations of Make): Mention the issue
2995 with indented comments in rules.
2997 2002-04-09 Andreas Schwab <schwab@suse.de>
2999 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty
3000 ac_top_builddir when setting ac_abs_top_builddir.
3002 2002-04-06 Kevin Ryde <user42@zip.com.au>
3004 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs.
3005 (Portable Shell): Cross reference to Systemology.
3007 2002-04-05 Akim Demaille <akim@epita.fr>
3009 * bin/autoreconf.in (autoreconf): Be sure to accumulate the
3010 directories when descending in a SUBDIRS.
3011 Reported by Ezra Peisach.
3013 2002-04-04 Andreas Schwab <schwab@suse.de>
3015 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path
3016 contains no literal separators.
3018 2002-04-03 Akim Demaille <akim@epita.fr>
3020 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER)
3021 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New.
3022 Use dnl, not the KILL diversion.
3024 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS)
3025 (AC_CONFIG_LINKS): here.
3027 Don't use the KILL diversion, as it kills spurious output, which
3028 results in failures being hidden.
3029 Use m4_defn where appropriate.
3030 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis
3031 after the second argument.
3033 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning
3034 syntax, as it is provided by M4sugar.
3035 * tests/torture.at (Multiple AC_CONFIG_FILES): New.
3037 2002-04-03 Andreas Schwab <schwab@suse.de>
3039 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not
3040 expanded if $# <= 2.
3042 * bin/autoreconf.in (autoreconf): Run automake after rerunning
3045 2002-04-03 Akim Demaille <akim@epita.fr>
3047 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT)
3048 (_AC_COMPILER_EXEEXT_REJECT): New.
3049 Also recognize *.bb and *.bbg as compilation byproducts.
3050 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O)
3051 (_AC_COMPILER_OBJEXT): Use them.
3052 Fixes Debian #138666.
3054 2002-04-02 Peter Eisentraut <peter_e@gmx.net>
3056 Integrate AC_PROG_CC_STDC into AC_PROG_CC.
3058 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC.
3059 AU_DEFUN old name. Use _AC_COMPILE_IFELSE.
3060 (AC_PROG_CC): Call _AC_PROG_CC_STDC.
3061 (AC_C_INLINE): Do not require AC_PROG_CC_STDC.
3063 (AC_C_INLINE): Same.
3064 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead.
3065 * doc/autoconf.texi, NEWS: Document.
3066 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and
3069 2002-04-02 Akim Demaille <akim@epita.fr>
3071 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke
3072 _AS_MKDIR_P_PREPARE.
3074 2002-03-28 Kevin Ryde <user42@zip.com.au>
3076 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value,
3077 to avoid versions of HP C which don't allow that.
3079 2002-03-27 Paul Eggert <eggert@twinsun.com>
3081 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro.
3082 (AS_SHELL_SANITIZE): Invoke it.
3083 (AS_BASENAME): AS_REQUIRE it, and use $as_basename.
3085 2002-03-26 Akim Demaille <akim@epita.fr>
3087 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs.
3089 2002-03-26 Akim Demaille <akim@epita.fr>
3091 * doc/autoconf.texi (Introduction): The GNATS base moved.
3093 2002-03-25 Paul Eggert <eggert@twinsun.com>
3095 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working
3096 as POSIX requires, as it doesn't work with Zsh.
3097 * doc/autoconf.texi (Assignments): Document the problem.
3099 2002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3101 * doc/autoconf.texi (Limitations of Make): Mention more issue
3102 about VPATH, overriding of macros in sub-makes, and handling of
3105 2002-03-21 Paul Eggert <eggert@twinsun.com>
3107 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh
3108 problem with here-document buffer boundaries.
3110 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV
3111 when reinvoking the shell, to work around problems with installers
3112 who put strange things like "cd" commands in their environments.
3114 2002-03-19 Akim Demaille <akim@epita.fr>
3116 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/.
3119 2002-03-19 Akim Demaille <akim@epita.fr>
3121 * bin/autoscan.in (scan_file): Specify the location in `&used'
3125 2002-03-19 Akim Demaille <akim@epita.fr>
3127 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage.
3128 From Nishio Futoshi.
3130 2002-03-19 Akim Demaille <akim@epita.fr>
3132 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New.
3134 2002-03-18 Paul Eggert <eggert@twinsun.com>
3136 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P.
3137 (Limitations of Usual Tools): Add mkdir section.
3139 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro.
3140 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling
3141 back on AS_DIRNAME to compute prefixes otherwise; this is
3142 roughly what mkinstalldirs does. That way, we need not have
3143 our own filename disassembler. The old disassembler did not
3144 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d.
3146 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP):
3147 Create at_test_all by a series of assignments,
3148 not by a single assignment of a long string. The latter causes ksh
3149 version 11/16/88g to silently misbehave on OpenServer 5.0.6a,
3150 presumably because of a buffer overrun.
3152 2002-03-14 Paul Eggert <eggert@twinsun.com>
3154 * lib/autotest/general.m4 (at_times_skip):
3155 Renamed from at_times. Now a boolean.
3156 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it
3157 says 'times: not found'.
3159 2002-03-14 Akim Demaille <akim@epita.fr>
3161 * bin/autoreconf.in (&study_gettextize): New.
3162 (&autoreconf): Handle newest gettextize.
3163 Rerun aclocal if needed.
3164 Suggested by Andreas Schwab.
3166 2002-03-13 Akim Demaille <akim@epita.fr>
3168 * doc/autoconf.texi (Special Shell Variables): More about IFS.
3170 2002-03-13 Akim Demaille <akim@epita.fr>
3172 * doc/autoconf.texi (Header Portability): New.
3173 Add information about stdint.h and inttypes.h from Paul Eggert.
3175 2002-03-13 Akim Demaille <akim@epita.fr>
3177 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp
3181 2002-03-12 Akim Demaille <akim@epita.fr>
3183 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not
3186 2002-03-11 Andreas Schwab <schwab@suse.de>
3188 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR
3189 does not do it if --with-lispdir is given.
3191 2002-03-08 Akim Demaille <akim@epita.fr>
3195 2002-03-08 Akim Demaille <akim@epita.fr>
3197 * doc/autoconf.texi (Subdirectories): Clarify that the
3198 subdirectory should exist.
3200 2002-03-08 Akim Demaille <akim@epita.fr>
3202 * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
3204 2002-03-08 Akim Demaille <akim@epita.fr>
3206 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it
3207 aliases the actual variables, and modifications of the former
3210 2002-03-08 Akim Demaille <akim@epita.fr>
3212 * bin/autom4te.in (&handle_m4): Protect us from corrupted file
3213 because of C-c: have m4 output in tmp files, then mv them.
3215 2002-03-08 Akim Demaille <akim@epita.fr>
3217 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in,
3218 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in,
3219 * bin/ifnames.in: Copyright update.
3221 2002-03-08 Akim Demaille <akim@epita.fr>
3223 * doc/autoconf.texi (Invoking autom4te): New.
3225 2002-03-05 Akim Demaille <akim@epita.fr>
3227 * doc/autoconf.texi (Specifying Names): Clarification suggested by
3230 2002-03-05 Akim Demaille <akim@epita.fr>
3234 2002-03-04 Akim Demaille <akim@epita.fr>
3236 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New.
3237 * lib/autoconf/general.m4 (AC_INIT): More informative error
3240 2002-03-04 Akim Demaille <akim@epita.fr>
3242 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for
3245 2002-03-04 Akim Demaille <akim@epita.fr>
3247 * doc/autoconf.texi (Transforming Names): Equality between target
3248 and host is irrelevant.
3249 (Specifying Names, Canonicalizing): Remove all references to the
3250 backward compatibility hooks. Rather, collect them all into...
3251 (Hosts and Cross-Compilation): this new section.
3252 * doc/install.texi (System Type): Ditto.
3253 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state
3254 that `--host' implies cross-compilation.
3256 2002-03-04 Akim Demaille <akim@epita.fr>
3258 * doc/autoconf.texi (Evaluation Macros): New.
3259 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally
3261 (_m4_foreach): Define the variant with immediate evaluation so
3262 that it contains exactly the items, not an expression which
3263 evaluation is the current item.
3264 (m4_re_string, m4_re_word): Don't over quote them.
3266 2002-03-04 Akim Demaille <akim@epita.fr>
3268 Instead of having stacking `shift's evaluated at the end, let
3269 `foreach' loops immediately evaluate them.
3271 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than
3272 $*. This is the n-th time I change my mind, but hopefully this is
3275 (m4_text_wrap): Use m4_foreach, which is finally correct _and_
3277 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as
3278 it was only a hack for m4_text_wrap.
3279 (m4_car2): Remove, replaced by...
3281 (_m4_foreach): Adjust.
3282 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use
3283 m4_bpatsubst for clarification.
3285 2002-03-04 Akim Demaille <akim@epita.fr>
3287 * doc/autoconf.texi (Changequote is Evil): New.
3289 2002-03-03 Kevin Ryde <user42@zip.com.au>
3291 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit
3292 on old systems like SunOS.
3294 2002-03-01 Peter Eisentraut <peter_e@gmx.net>
3296 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3297 lib/autoconf/functions.m4, lib/autoconf/general.m4,
3298 lib/autoconf/headers.m4, lib/autoconf/lang.m4,
3299 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling
3302 2002-02-28 Akim Demaille <akim@epita.fr>
3304 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the
3307 2002-02-28 Kevin Ryde <user42@zip.com.au>
3309 * doc/autoconf.texi (Function Portability): Add va_copy and va_list.
3311 2002-02-25 Akim Demaille <akim@epita.fr>
3313 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test.
3316 2002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr>
3318 * lib/Autom4te/XFile.pm (getline, getlines): New functions,
3319 translate \r\n to \n.
3321 2002-02-07 Akim Demaille <akim@epita.fr>
3325 2002-02-07 Akim Demaille <akim@epita.fr>
3327 Fix Autoconf PR/209.
3328 Also reported by Frank Denis.
3330 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote.
3332 2002-02-07 Akim Demaille <akim@epita.fr>
3334 Fix Autoconf PR/207:
3335 AC_PREFIX_PROGRAM fails with dashed program names
3337 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh
3338 variable when looking for the prefix program.
3339 Now it also works for shell variables.
3341 2002-02-07 Akim Demaille <akim@epita.fr>
3343 * doc/autoconf.texi (Limitations of Builtins): More about
3346 2002-02-06 Akim Demaille <akim@epita.fr>
3348 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty
3349 case/esac, some shells don't support it.
3350 Reported by Zack Weinberg.
3351 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New.
3353 2002-02-06 Akim Demaille <akim@epita.fr>
3355 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be
3356 sure not to introduce newlines in at_groups.
3357 * lib/autotest/Makefile.am (autotest.m4f): Typo.
3359 2002-02-06 Akim Demaille <akim@epita.fr>
3361 * tests/torture.at (Configuring subdirectories): Skip if aclocal
3364 2002-02-05 Paul Eggert <eggert@twinsun.com>
3366 * doc/autoconf.texi (Specific Compiler Characteristics):
3367 Describe HP-UX cc bug workaround more accurately.
3368 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long,
3370 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC
3371 cross-compilers, too. This undoes some of the most recent change
3374 2002-02-05 Akim Demaille <akim@epita.fr>
3376 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS,
3377 to make sure they are up to date when `check' is run.
3379 2002-02-05 Akim Demaille <akim@epita.fr>
3381 * doc/autoconf.texi (Making testsuite Scripts): Document
3384 2002-02-05 Akim Demaille <akim@epita.fr>
3386 * lib/freeze.mk: New.
3388 2002-02-05 Akim Demaille <akim@epita.fr>
3390 Implement `autom4te --freeze'.
3392 * bin/autom4te.in (&freeze): New.
3393 * lib/autoconf/autoconf.m4, lib/autotest/general.m4,
3394 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te.
3396 2002-02-05 Akim Demaille <akim@epita.fr>
3398 * bin/autom4te.in (&parse_args): Implement `frozen files are
3399 optional are the sum of the previous files on the command line'.
3400 Also, pass `--reload-state=' on them, so...
3402 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh.
3403 (M4sh): Rely on M4sugar.
3404 (Autotest, M4sh, M4sugar): Use frozen files.
3406 2002-01-31 Akim Demaille <akim@epita.fr>
3408 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4.
3409 * doc/autoconf.texi (Initializing configure): Adjust.
3411 2002-01-30 Akim Demaille <akim@epita.fr>
3413 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non
3414 alphanumeric to `-' instead of `_'.
3416 2002-01-30 Akim Demaille <akim@epita.fr>
3418 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one
3419 for plain code, the other for cross-compilation code. The latter
3420 is now run with GCC only.
3421 * doc/autoconf.texi (Compilers and Preprocessors): New.
3423 2002-01-30 Akim Demaille <akim@epita.fr>
3425 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined
3427 * doc/autoconf.texi (Initializing configure): Explain how to
3428 change AC_INIT default values.
3430 2002-01-29 Akim Demaille <akim@epita.fr>
3432 * tests/torture.at (Configuring subdirectories): Use configure.in,
3433 so that aclocal 1.4 works.
3434 Reported by Alexandre Duret-Lutz and Larry Schmitt.
3436 2002-01-28 Akim Demaille <akim@epita.fr>
3438 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer
3441 2002-01-28 Akim Demaille <akim@epita.fr>
3443 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust
3444 AUTOTEST_PATH *after* it was set.
3445 Don't put `.' in the PATH: the user should be precise and `./' if
3446 needed. In addition, given that the test suite does some `cd', if
3447 `.' is in the path, the `tested programs' sections will report
3448 programs found in the test suite's directory, while during the
3449 tests (performed in their own directory), these programs are no
3450 longer visible. In other words, the results is confusing and
3452 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH.
3454 2002-01-24 Akim Demaille <akim@epita.fr>
3458 2002-01-24 Akim Demaille <akim@epita.fr>
3460 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in,
3461 * doc/autoconf.texi: Finally add Akim as an author.
3463 2002-01-24 Akim Demaille <akim@epita.fr>
3465 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR.
3466 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be
3467 Bourne. Use /bin/sh.
3468 From Andreas Buening.
3470 2002-01-24 Akim Demaille <akim@epita.fr>
3472 * config/config.guess, config/config.sub, config/texinfo.tex:
3473 Update from masters.
3475 2002-01-24 Akim Demaille <akim@epita.fr>
3477 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
3478 * config/auxdir.m4, config/cond.m4, config/depend.m4,
3479 * config/init.m4, config/install-sh.m4, config/lispdir.m4,
3480 * config/missing.m4, config/sanity.m4, config/select.m4,
3481 * config/strip.m4: Remove, to ease sync'ing with any version of
3484 2002-01-24 Akim Demaille <akim@epita.fr>
3486 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS)
3487 (_AC_INIT_PREPARE): Support -n as --no-create, as documented.
3488 Reported by Geir Ove Myhr.
3490 2002-01-21 Akim Demaille <akim@epita.fr>
3492 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc.
3494 2002-01-21 Akim Demaille <akim@epita.fr>
3496 * lib/Autom4te/General.pm (getopt): Use a more GNUish error
3497 message on invalid options.
3498 * bin/autom4te.in (parse_args): Don't use
3499 Autoconf::General::getopt with non valid options.
3501 2002-01-17 Jim Meyering <meyering@lucent.com>
3503 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize
3504 $ac_cv_exeext so we don't use an old, invalid, cached value.
3506 2002-01-11 Akim Demaille <akim@epita.fr>
3508 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim
3510 * doc/autoconf.texi (Function Portability): Document the strnlen
3512 (Particular Functions): Document AC_FUNC_STRNLEN.
3513 * lib/autoscan/functions: Adjust.
3515 2002-01-06 Akim Demaille <akim@epita.fr>
3517 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create
3518 package.m4, since is really depends upon configure.ac, not
3520 * doc/autoconf.texi (testsuite Scripts): Adjust.
3521 * tests/Makefile.am (package.m4): New.
3522 EXTRA_DIST it since its a source.
3524 2002-01-06 Akim Demaille <akim@epita.fr>
3526 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST
3527 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING,
3528 and PACKAGE_BUGREPORT from here...
3529 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the
3531 (_AC_INIT_PREPARE): AC_DEFINE these symbols.
3532 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*.
3533 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'.
3534 * tests/tools.at (autoheader): Adjust.
3535 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust.
3537 2002-01-06 Akim Demaille <akim@epita.fr>
3539 * bin/autoscan.in (scan_file): Use `&used'.
3541 2002-01-03 Akim Demaille <akim@epita.fr>
3543 * doc/autoconf.texi (Output): Improved wording regarding use of
3547 2001-12-18 Kevin Ryde <user42@zip.com.au>
3549 * doc/autoconf.texi (Function Portability): Add notes on sscanf
3550 sometimes needing writable input.
3552 2001-12-17 Jim Meyering <meyering@lucent.com>
3554 * doc/autoconf.texi (New Macros): Tweak wording.
3556 2001-12-14 Akim Demaille <akim@epita.fr>
3558 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the
3559 trailing files, don't apply `-rf' to files which might not be
3560 created by configure (core, core.*, and *.core), but just `rm -f'.
3561 Suggested by Jonathan Kamens.
3563 2001-12-14 Aaron M. Ucko <amu@alum.mit.edu>
3565 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'.
3567 2001-12-14 Akim Demaille <akim@epita.fr>
3569 * Makefile.am (MAINTAINERCLEANFILES): Remove configure.
3571 2001-12-13 Peter Eisentraut <peter_e@gmx.net>
3573 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to
3574 abs_builddir, top_buildpath to abs_top_builddir, srcpath to
3575 abs_srcdir, top_srcpath to abs_top_srcdir.
3576 (_AC_OUTPUT_FILES): Adjust.
3577 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4,
3578 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at,
3579 * tests/wrappl.in, tests/wrapsh.in: Adjust.
3581 2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
3583 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
3584 C/Fortran linking on HP/UX, by extracting the Fortran library
3585 search path from the LPATH line in the $F77 -v output.
3587 2001-12-12 Kevin Ryde <user42@zip.com.au>
3589 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the
3590 forbidden file descriptors table.
3592 2001-11-26 Akim Demaille <akim@epita.fr>
3594 * bin/autoscan.in (%c_keywords): Build it at top level.
3595 Map to 1 in order to simplify its uses.
3597 2001-11-26 Akim Demaille <akim@epita.fr>
3599 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile):
3600 Remove $filepath, useless.
3601 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@
3602 variables, they are really part of the tokens.
3603 Split the input line on spaces and then look for tokens.
3604 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison
3605 because of `lex$U.$(OBJEXT)'.
3606 (&scan_files): Use "@list" instead of join.
3607 * doc/Makefile.am (CLEANFILES): Add *.fns.
3609 2001-11-26 Akim Demaille <akim@epita.fr>
3611 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in:
3612 Remove, replaced by...
3613 * tests/wrappl.in: Be common for all the Perl executables.
3614 In particular autoscan and autoheader want -I.
3615 * configure.ac: Adjust.
3616 * lib/autoscan/headers: errno.h is portable.
3618 2001-11-26 Akim Demaille <akim@epita.fr>
3620 * bin/autoscan.in (used): New.
3623 2001-11-26 Akim Demaille <akim@epita.fr>
3625 * bin/autoscan.in (&scan_c_file): Better parsing of CPP
3627 (&scan_sh_file): Remove a duplicate pattern.
3628 (&check_configure_ac): Use long options.
3629 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
3631 2001-11-26 Akim Demaille <akim@epita.fr>
3633 * bin/autoscan.in (scan_c_file): Fix the handling of C comments.
3634 Before, having a line containing the opening of a multi line
3635 comment made the whole line be ignored.
3637 2001-11-26 Akim Demaille <akim@epita.fr>
3639 * doc/autoconf.texi (Using an Autotest Test Suite): New.
3640 (testsuite Scripts): Be one of its subsection.
3641 (Autotest Logs): New.
3643 2001-11-26 Akim Demaille <akim@epita.fr>
3645 Test groups are now run two directories deeper.
3647 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir,
3648 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and
3650 * lib/autotest/general.m4 (AT_INIT): Compute srcdir,
3651 top_srcdir, builddir and top_builddir.
3652 Use `at_*dir' relatively to the directory containing the
3653 suite, use `*dir' when relatively to the current group dir.
3655 2001-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
3657 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4,
3658 lib/autoconf/functions.m4, lib/autoconf/headers.m4,
3659 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix
3662 2001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr>
3664 * doc/autoconf.texi (Using System Type): Add an example of `case
3665 $host' usage so people quit using `case $target' everywhere.
3667 2001-11-22 Akim Demaille <akim@epita.fr>
3669 * doc/autoconf.texi (Installation Directory Variables): Englishoes
3670 spotted by Jim Meyering.
3672 2001-11-16 Paul Eggert <eggert@twinsun.com>
3674 This patch implements a `long double' suggestion by Oliver Kiddle.
3676 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array
3677 static, to catch errors if the value isn't known at compile-time
3678 and the compiler supports dynamic arrays. Change its name from
3679 `_array_' to `test_array' to avoid potential name clashes.
3680 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time
3681 test. Do not define HAVE_LONG_DOUBLE if `long double' is no
3682 better than double. Catch a bug in GCC 2.95.2 x86.
3683 * doc/autoconf.texi (C Compiler): Document the above.
3686 2001-11-13 Akim Demaille <akim@epita.fr>
3688 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
3690 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
3692 2001-11-13 Akim Demaille <akim@epita.fr>
3694 * lib/autotest/general.m4 (AT_INIT): After having run the test
3695 group, go back to the initial directory, not to at_suite_dir.
3697 2001-11-13 Akim Demaille <akim@epita.fr>
3699 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH)
3700 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te.
3701 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include
3703 (AT_CHECK_CONFIGURE): Use absolute paths.
3704 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it.
3705 The problem is still the old one: there is no means in M4 (that I
3706 know about) to create a defining macro, because there is no means
3707 to create `$1' etc., therefore, the defining macro ``swallows''
3708 all the arguments meant to the defined macro.
3710 2001-11-13 Akim Demaille <akim@epita.fr>
3712 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New.
3713 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in
3715 * tests/aclocal.m4: Remove, as it is no longer used.
3717 2001-11-13 Akim Demaille <akim@epita.fr>
3719 * lib/autotest/general.m4: Change `tests?' into `groups?' in
3720 variable names when referring to a single test group, or to
3721 `suite' when referring to the whole test suite.
3722 `at_last_test' is removed: m4 compute at_format itself.
3723 (at_stdout, at_stder1, at_stderr): New variables.
3724 (AT_CHECK): Use them.
3726 2001-11-13 Akim Demaille <akim@epita.fr>
3728 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative,
3730 Create `testsuite.dir/003/run' instead of `testsuite.003'.
3731 Do it as soon as a test fails, don't wait till the end of the test
3733 Don't remove $as_me.[0-9]*, since these files no longer exist.
3735 2001-11-13 Akim Demaille <akim@epita.fr>
3737 * tests/tools.at: Use absolute paths, since we are no longer run
3740 2001-11-13 Akim Demaille <akim@epita.fr>
3742 Now that tests are running in their own private dir, there is no
3743 need to list the files to remove at the end of tests groups.
3745 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
3746 (AT_data_files, at_data_files): Remove.
3747 (AT_CLEANUP, AT_DATA): Simplify.
3749 Remove the group dir if !debug && !failed.
3750 * tests/atspecific.m4: Adjust.
3752 2001-11-13 Akim Demaille <akim@epita.fr>
3754 Start a new layout for Autotest: `testsuite' creates
3755 `testsuite.dir' in which the at-check-line etc. files are to be
3756 found, and `testsuite.dir/003' where the test group 3 is run.
3758 * lib/autotest/general.m4 (AT_INIT): at_tests_dir,
3759 at_check_line_file, at_format, at_test_normalized, at_group_dir
3761 Create the directories.
3762 Use absolute paths for at- files.
3765 2001-11-11 Michael Matz <matz@kde.org>
3767 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic.
3769 (m4_car): Properly quote arguments.
3771 2001-11-13 Akim Demaille <akim@epita.fr>
3773 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope
3774 with stricter rules on LIBOBJS.
3776 2001-11-12 Paul Eggert <eggert@twinsun.com>
3778 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too.
3779 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines
3782 2001-11-12 Akim Demaille <akim@epita.fr>
3784 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
3786 2001-11-12 Akim Demaille <akim@epita.fr>
3788 * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
3789 * lib/autoconf/functions.m4, lib/autoconf/general.m4,
3790 * lib/autoconf/headers.m4, lib/autoconf/libs.m4,
3791 * lib/autoconf/programs.m4, lib/autoconf/specific.m4,
3792 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
3793 specify to what the macro should be defined (typically to 1).
3795 2001-11-12 Akim Demaille <akim@epita.fr>
3797 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB.
3800 2001-11-12 Akim Demaille <akim@epita.fr>
3802 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
3803 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
3804 definition used by Automake where LEX is +/- "${missing} lex" and
3805 `missing' itself contains variables.
3807 2001-11-12 Akim Demaille <akim@epita.fr>
3809 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end.
3810 Now that M4sh pushes BODY, the comments were output at the end of
3813 2001-11-08 Akim Demaille <akim@epita.fr>
3815 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so
3816 that we can trace macros from aclocal.m4.
3817 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
3818 obsoleted, and redirect to the former anyway.
3819 Reported by Ralf Corsepius.
3821 2001-11-08 Akim Demaille <akim@epita.fr>
3823 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be
3824 processed only if present.
3825 * tests/torture.at (Configuring subdirectories): Use autoreconf
3826 instead of successive calls to autoconf.
3827 Add a nonexistent subdirectory to exercise the patch above.
3828 Reported by Ralf Corsepius.
3830 2001-11-08 Kevin Ryde <user42@zip.com.au>
3832 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc
3833 doesn't accept .S files.
3835 2001-11-07 Akim Demaille <akim@epita.fr>
3837 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2.
3838 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS.
3839 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/.
3840 * bin/autom4te.in (warn_forbidden): New.
3841 (handle_output): Use it.
3842 Read m4_pattern_forbid with messages.
3844 2001-11-05 Akim Demaille <akim@epita.fr>
3846 * bin/autom4te.in (--normalize): Remove.
3847 * lib/autom4te.in: Adjust.
3849 2001-11-05 Akim Demaille <akim@epita.fr>
3851 * tests/Makefile.am (testsuite): Rename this target as...
3852 ($(TESTSUITE)): this.
3855 2001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
3857 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing
3858 the --prefix option, also remove it's argument.
3860 2001-11-05 Akim Demaille <akim@epita.fr>
3862 * doc/autoconf.texi (testsuite Invocation): Update.
3863 (Writing testsuite.at): Update.
3865 2001-11-03 Akim Demaille <akim@epita.fr>
3867 * doc/autoconf.texi: s/@code/@command/ where appropriate.
3869 2001-11-03 Akim Demaille <akim@epita.fr>
3871 * lib/Autom4te/General.pm: (&catfile, &canonfile)
3872 (&file_name_is_absolute): New, wrappers around routines from
3874 Use and export them.
3875 (&find_configure_ac): Optionally take a directory where to look at.
3876 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of
3878 Default @ARGV to `.', not find_configure_ac.
3879 (&autoreconf): Argument is a directory.
3880 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
3881 * doc/autoconf.texi (autoreconf Invocation): Update.
3883 2001-11-03 Akim Demaille <akim@epita.fr>
3885 * lib/Autom4te/General.pm (@export_vars, @export_subs)
3886 (@export_forward_subs): New.
3887 Add basename, dirname, and fileparse.
3889 * bin/autoreconf.in (&autoreconf): Fix call to fileparse.
3890 Don't look for aclocal flags if we already know aclocal is not
3892 Move aclocal.m4t only if it exists.
3893 Reported by Ezra Peisach.
3895 2001-11-03 Akim Demaille <akim@epita.fr>
3897 * bin/autoreconf.in (&parse_args): Work only on the configure.ac
3898 passed on command line, defaulting to ./configure.ac if present.
3899 (&maybe_autoreconf, File::Find): Remove, unused.
3900 (&autoreconf): If autoconf is not used, don't try to trace.
3902 2001-11-02 Akim Demaille <akim@epita.fr>
3904 * configure.ac: Bump to 2.52g.
3906 2001-11-02 Akim Demaille <akim@epita.fr>
3910 2001-11-02 Akim Demaille <akim@epita.fr>
3912 * config/config.guess, config/config.sub, doc/standards.texi:
3913 * config/lispdir.m4: Update from masters.
3914 * configure.ac: Bump to 2.52f.
3916 2001-11-02 Akim Demaille <akim@epita.fr>
3918 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''.
3919 Don't run aclocal when aclocal.m4 is not from aclocal.
3921 Don't run libtoolize and gettextize if --install is not given.
3923 2001-11-01 Paul Eggert <eggert@twinsun.com>
3925 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to
3926 be invoked before _AS_LINENO_PREPARE.
3927 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather
3928 than character ranges.
3930 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before
3931 invoking AS_BASENAME. Set the locale variables to 'C' if
3932 possible, as POSIX requires this to get the traditional
3934 * doc/autoconf.texi (Special Shell Variables): Describe the above.
3936 2001-10-31 Paul Eggert <eggert@twinsun.com>
3938 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body
3939 with {}, as that triggers a bug in Bash 2.05.
3941 (_AS_LINENO_PREPARE): Use Sed rather than
3942 Awk. Fix the sed prepass to work even if there are multiple
3943 instances of $LINENO on the same line. Do not substitute for
3944 other variables like $LINENOT. Do not check file dates; such a
3945 check is unreliable on sufficiently fast machines, and removing
3946 the check makes the code simpler and more reliable. Check for
3947 output and chmod failures.
3949 * doc/autoconf.texi (Special Shell Variables): Document
3952 2001-10-31 Akim Demaille <akim@epita.fr>
3954 * tests/Makefile.am (atconfig): Remove this target, Automake
3957 2001-10-31 Akim Demaille <akim@epita.fr>
3959 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not
3960 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be
3961 provided, while it is optional.
3962 * configure.ac: Adjust.
3964 2001-10-26 Paul Eggert <eggert@twinsun.com>
3966 * NEWS, README, configure.ac, lib/Autom4te/General.pm,
3967 lib/Autom4te/Struct.pm:
3968 Require Perl 5.005_03 instead of just 5.005, as some tests fail
3971 * doc/autoconf.texi (Special Shell Variables): Document some
3972 more LINENO gotchas, particularly with respect to the Awk+Sed hack.
3974 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
3975 (_AS_LINENO_PREPARE): Use it instead of shell eval, since
3976 eval $LINENO is not portable in practice.
3978 2001-10-24 Akim Demaille <akim@epita.fr>
3980 * lib/Autom4te/General.pm (backname): New.
3982 2001-10-24 Akim Demaille <akim@epita.fr>
3984 * m4/: Remove, merged into...
3987 2001-10-23 Tim Van Holder <tim.van.holder@pandora.be>
3989 * doc/autoconf.texi (Shellology): Mention the problems with bash
3990 2.05's use of ANSI quoting in its `set' builtin.
3992 2001-10-22 Paul Eggert <eggert@twinsun.com>
3994 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R):
3995 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3996 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3997 POSIX decided to standardize on the int flavor of strerror_r.
3998 Always do char* test, as there's no reason not to.
3999 Assign to a char* var, to catch strerror_r that returns int*.
4001 * doc/autoconf.texi (Particular Functions):
4002 Document the above changes. Also, document the fact that
4003 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R.
4005 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P.
4007 2001-10-20 Akim Demaille <akim@epita.fr>
4009 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of
4010 the executable was missing from the log.
4012 2001-10-20 Akim Demaille <akim@epita.fr>
4014 * lib/Autom4te/General.pm (&update_file): If destination is
4015 unchanged, remove the source.
4016 (&up_to_date_p): Don't be verbose, be debug.
4017 * bin/autoreconf.in: No longer support --m4dir.
4018 (&autoreconf): Display the full path of the configure.ac we are
4021 Be sure to honor --force with gettextize.
4023 * doc/autoconf.texi: Adjust.
4025 2001-10-20 Akim Demaille <akim@epita.fr>
4027 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX):
4029 * bin/autoreconf.in (&autoreconf): Do not run gettextize when
4030 `intl' is already present, as it refuses unless --force.
4031 (&parse_args): Use -I, --include instead of the old Autoconf
4033 ($localdir, $autoconf_dir): Remove.
4035 (&maybe_autoreconf): New, to preserve $_ for File::Find.
4037 2001-10-19 Jens Petersen <petersen@redhat.com>
4039 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk.
4040 * doc/autoconf.texi (Particular Programs): Likewise.
4042 2001-10-19 Akim Demaille <akim@epita.fr>
4044 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated
4045 file in @configure_input@.
4046 Don't mention `automatically' in addition to `generated'.
4047 * tests/torture.at (#define header templates): Adjust.
4049 2001-10-19 Akim Demaille <akim@epita.fr>
4051 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a
4052 comment, explain how to install automatic mode selection.
4055 2001-10-19 Ezra Peisach <epeisach@zif.mit.edu>
4057 * bin/autoreconf.in (autoreconf): Display the path to the
4058 configure.ac being studied.
4060 2001-10-18 Paul Eggert <eggert@twinsun.com>
4062 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned
4063 long, to work around a bug in the HP C compiler version HP92453-01
4066 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works.
4067 (AS_BASENAME_EXPR): New macro.
4068 (AS_BASENAME_SED): Do not assume GNU sed semantics.
4069 (AS_BASENAME): Use 'basename' if that works; then try 'expr';
4070 and fall back on 'sed' only if the other two fail. This makes
4071 AS_BASENAME act more like AS_DIRNAME.
4072 (as_me): Shell-quote the argument of AS_BASENAME, in case $0
4073 contains white space.
4074 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR):
4075 Use AS_DIRNAME, since I think it's now DOS-friendly.
4076 * tests/m4sh.at (DIRNAME_TEST): New arg $3.
4077 Allow "dirname //FOO" to return either / or //, as POSIX allows
4080 2001-10-10 Akim Demaille <akim@epita.fr>
4082 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize
4083 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV.
4086 2001-10-10 Akim Demaille <akim@epita.fr>
4088 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not
4090 (_AS_ECHO_N): AS_REQUIREs it.
4092 2001-10-10 Akim Demaille <akim@epita.fr>
4094 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS)
4095 (AC_INCLUDES_DEFAULT): Move to...
4096 * lib/autoconf/headers.m4: here.
4097 * lib/autoconf/types.m4: Comment changes.
4098 * doc/autoconf.texi: Specify where the default includes are used
4099 in the macro prototypes.
4101 2001-10-09 Akim Demaille <akim@epita.fr>
4103 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New
4106 2001-10-08 Akim Demaille <akim@epita.fr>
4108 * bin/autoreconf.in (&autoreconf): Remove debugging code.
4109 (&parse_args): Pass verbosity/debugging options to subtools when
4110 --debug, not when --verbose.
4111 * lib/autom4te.in (Autoreconf-preselections): New.
4114 2001-10-08 Akim Demaille <akim@epita.fr>
4116 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate.
4118 2001-10-08 Akim Demaille <akim@epita.fr>
4120 * doc/autoconf.texi (autoreconf Invocation): Adjust.
4121 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate.
4123 2001-10-08 Akim Demaille <akim@epita.fr>
4125 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf.
4126 (Syntax of the shell scripts): Don't.
4127 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't
4128 bother with $force since...
4129 * lib/Autom4te/General.pm: does.
4131 2001-10-08 Akim Demaille <akim@epita.fr>
4133 * bin/autoreconf.in: Rewrite in Perl.
4134 * configure.ac: Adjust.
4135 * lib/Autom4te/General.pm (&up_to_date_p): New.
4136 * bin/autom4te.in (&up_to_date_p): Use it.
4138 (&up_to_date): this.
4140 2001-10-08 Akim Demaille <akim@epita.fr>
4142 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize)
4143 (m4_list_cmp): Use $0 to reinvoke yourself.
4144 (m4_patsubsts): New.
4145 (m4_strip, m4_version_unletter): Use it.
4146 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise.
4148 2001-10-08 Akim Demaille <akim@epita.fr>
4150 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4,
4151 * lib/autoconf/libs.m4, lib/autoconf/status.m4,
4152 * lib/autoconf/types.m4, lib/autotest/general.m4,
4153 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4,
4154 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to
4155 m4_bregexp, m4_bpatsubst, and m4_bmatch.
4156 * doc/autoconf.texi (Redefined M4 Macros): Adjust.
4158 2001-10-08 Akim Demaille <akim@epita.fr>
4160 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE.
4162 2001-10-08 Akim Demaille <akim@epita.fr>
4164 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE.
4165 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to...
4166 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here.
4167 * tests/tools.at, tests/m4sh.at: Use it.
4168 * tests/m4sh.at: Don't rely on Autoconf macros.
4169 (DIRNAME_TEST): Also exercise the expr variant.
4170 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The
4171 preferred M4sugar extension is now `.4s'.
4172 * tests/README: Remove.
4174 2001-10-08 Akim Demaille <akim@epita.fr>
4176 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as...
4177 (m4_provide_if): this.
4178 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New.
4179 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE)
4180 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the
4181 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker.
4183 2001-10-08 Akim Demaille <akim@epita.fr>
4185 Use `add-log-current-defun-function' for ChangeLog creation.
4186 Suggested by Tom Tromey.
4188 * lib/emacs/autotest-mode.el (autotest-mode-map): New.
4189 (autotest-mode): Adjust.
4190 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map
4191 'comment-region onto `C-c ;'.
4192 Comments are `#', not `dnl'.
4193 (autoconf-current-defun): New.
4194 (autoconf-font-lock-keywords): Recognize `m4_defun'.
4196 2001-10-08 Akim Demaille <akim@epita.fr>
4198 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to...
4199 * lib/m4sugar/m4sh.m4: here.
4200 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line.
4201 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove.
4202 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation,
4203 include handle the m4_pattern_*, no longer push the
4204 BODY diversion nor set the /bin/sh line, AS_INIT does it.
4205 * lib/autotest/general.m4 (AT_INIT): Likewise.
4206 * tests/base.at: Adjust the tests to use AS_INIT.
4207 * tests/tools.at (AT_DATA_FORBIDDEN): New.
4208 (autoconf: forbidden tokens): Adjust to work on M4sh instead of
4211 2001-10-07 Paul Eggert <eggert@twinsun.com>
4213 * doc/autoconf.texi (config.status Invocation):
4214 CONFIG_SHELL defaults to a shell that supports LINENO if available.
4216 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current
4217 shell does not support LINENO, and if CONFIG_SHELL is unset or
4218 empty, and if we can find a shell that does support LINENO,
4219 then set CONFIG_SHELL to that shell and then re-execute
4220 ourselves with CONFIG_SHELL.
4222 2001-10-05 Paul Eggert <eggert@twinsun.com>
4224 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it
4225 doesn't exist. Remove *.tmp, as a .tmp file is created during the
4226 build of $(TESTSUITE).
4228 2001-10-05 Akim Demaille <akim@epita.fr>
4230 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path
4231 iff we are a bareword.
4232 Reported by Raja R Harinath.
4234 2001-10-05 Akim Demaille <akim@epita.fr>
4236 * tests/m4sh.at (LINENO): New.
4237 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set
4238 PATH_SEPARATOR before using it.
4239 Fix the absolute path case/esac pattern.
4240 Provide $0 as fallback for as_myself.
4241 Reported by Raja R Harinath.
4243 2001-10-05 Akim Demaille <akim@epita.fr>
4245 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am,
4246 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES.
4248 2001-10-05 Akim Demaille <akim@epita.fr>
4250 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from...
4251 (AS_SHELL_SANITIZE): here. Use it.
4252 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno.
4255 2001-10-04 Akim Demaille <akim@epita.fr>
4257 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable
4258 combination of Awk and sed to replace $LINENO.
4260 2001-10-02 Paul Eggert <eggert@twinsun.com>
4262 * doc/autoconf.texi (Limitations of Builtins): You can't use
4263 "source"; it's not portable. Remove confusing and
4264 somewhat-incorrect example involving "." and "/".
4266 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for
4267 compatibility with POSIX shells.
4269 2001-10-02 Akim Demaille <akim@epita.fr>
4271 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno
4272 instead of exec'ing to preserve $0 and $@.
4274 2001-10-01 Akim Demaille <akim@epita.fr>
4276 * tests/testsuite (AT_INIT) <at_pass_list>: New.
4277 Don't run twice the same test.
4279 2001-10-01 Akim Demaille <akim@epita.fr>
4281 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality.
4282 No longer output the list of tests.
4283 <--list>: New option.
4284 <--full-help>: Remove.
4285 Complete the short/long options duality.
4286 Various small adjustments.
4288 2001-10-01 Akim Demaille <akim@epita.fr>
4290 * doc/autoconf.texi: Use @kbd for user input.
4291 Always use `$' as shell prompt.
4293 2001-09-30 Paul Eggert <eggert@twinsun.com>
4295 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS):
4296 Don't use nested parenthesization. This patch was originally
4297 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28,
4298 but somehow it didn't get incorporated then.
4299 * doc/autoconf.texi (Limitations of Usual Tools):
4300 Clarify remark about sed and nested parenthesization.
4302 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF):
4303 Report an error if the size cannot be determined even though
4305 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4306 Check for `expr' arithmetic overflow, and for compilation failure,
4307 and invoke a new argument $4 if either is discovered.
4308 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN.
4309 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE.
4311 2001-09-28 Akim Demaille <akim@epita.fr>
4313 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New.
4314 * m4/lispdir.m4: New.
4315 * aclocal.m4, configure.ac: Adjust.
4317 2001-09-28 Akim Demaille <akim@epita.fr>
4319 * lib/autotest/general.m4 (AT_VICTIMS): Rename as...
4321 (AT_INIT): More the wrapped section to where it will be expanded.
4322 Output `AT_tested' only when existing.
4323 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT.
4325 2001-09-27 Akim Demaille <akim@epita.fr>
4327 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that
4328 generates too many bug reports.
4330 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit
4331 status when executing the ACTION-IF-FALSE.
4332 * tests/base.at (AC_TRY_*): Rename as...
4333 (AC_TRY_COMMAND): this.
4334 (AC_RUN_IFELSE): New.
4335 * tests/compile.at (Extensions, C keywords)
4336 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77)
4337 (Broken/missing compilers, AC_PROG_CPP with warnings)
4338 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to...
4339 * tests/c.at (Extensions, C keywords)
4340 (Broken/missing compilers, AC_PROG_CPP with warnings)
4341 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC)
4342 (AC_PROG_CPP requires AC_PROG_CC): here and...
4343 * tests/fortran.at (GNU Fortran 77): there.
4344 * doc/autoconf.texi (autoconf Invocation): Fix the example:
4345 AC_TRY_RUN is about compilation, not shell commands.
4346 (Test Programs): AC_TRY_RUN works as used to be advertised.
4348 2001-09-27 Akim Demaille <akim@epita.fr>
4350 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by
4352 Be sure to detect when $LINENO always returns the same value.
4353 Look for the original script, basename($0) is certainly not
4355 Pass the CLI arguments to `$as_me.lineno'.
4357 2001-09-25 Akim Demaille <akim@epita.fr>
4359 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log.
4360 Be sure the close and reopen the LOG fd before and after using tee
4362 <at_tests_pattern>: Adjust to the new format of at_help_all.
4364 2001-09-23 Akim Demaille <akim@epita.fr>
4366 * bin/autom4te.in (parse_args): There can be several invocations
4369 2001-09-23 Akim Demaille <akim@epita.fr>
4371 * doc/autoconf.texi (Top): Wrap in @ifnottex.
4373 2001-09-23 Akim Demaille <akim@epita.fr>
4375 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide
4376 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath.
4377 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath,
4378 builddir, buildpath, top_builddir, and top_buildpath.
4379 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing
4380 the current directory.
4381 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir
4382 variables *before* changing the current directory.
4383 Skip nonexistent dirs.
4384 * doc/autoconf.texi (Preset Output Variables): Document these
4387 * lib/autotest/general.m4: Do not reset AT_victims.
4388 Don't compute at_srcdir nor at_top_srcdir.
4390 * tests/tools.at: Hence use top_srcdir.
4392 * tests/Makefile.am, tests/autoconf, tests/autoheader,
4393 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames:
4395 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in,
4396 * tests/wrapsh.in, tests/autoupdate.in: New.
4397 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust.
4398 * configure.ac: Build the position independent wrappers.
4400 * man/Makefile.am: Now that test wrappers are position
4401 independent, use them and drop dark envvar magic.
4403 2001-09-23 Akim Demaille <akim@epita.fr>
4405 * doc/autoconf.texi (Common Shell Constructs): Rename as...
4406 (Programming in M4sh): this.
4407 Promote to @section.
4409 2001-09-23 Akim Demaille <akim@epita.fr>
4411 * lib/autotest/general.m4 (AT_INIT): Dump config.log last.
4412 Pass $at_debug_args to the rerun test suite.
4413 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New.
4414 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges.
4417 2001-09-23 Akim Demaille <akim@epita.fr>
4419 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'.
4421 2001-09-23 Akim Demaille <akim@epita.fr>
4423 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell
4426 2001-09-23 Akim Demaille <akim@epita.fr>
4428 * lib/Autom4te/General.pm (&debug): New.
4429 * bin/autom4te.in ($language): Move to...
4431 Handle --language in languages.
4432 * lib/autom4te.in (Automake-selections, Autoheader-selections)
4433 (Autoscan-selections): New.
4436 2001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
4438 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4,
4439 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated
4440 to match current versions from CVS Automake.
4442 2001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr>
4444 * doc/autoconf.texi (Special Shell Variables): Add pdksh output
4447 2001-09-22 Akim Demaille <akim@epita.fr>
4449 * lib/autoconf/autotest.m4: Create `package.m4'.
4450 * tests/Makefile.am (package.m4): Remove.
4452 2001-09-22 Akim Demaille <akim@epita.fr>
4454 Rely on `$LINENO' when possible instead of `__oline__'.
4456 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of
4457 `$LINENO' support replacement when not supported.
4458 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke
4459 them explicitly to be sure they are not output before this section
4460 (via m4_require). Cosmetic only.
4461 * lib/autoconf/c.m4, lib/autoconf/general.m4,
4462 * lib/autoconf/programs.m4: Replace all the occurrences of
4463 `__oline__' with `$LINENO'.
4464 * doc/autoconf.texi (Special Shell Variables): Document LINENO.
4466 2001-09-21 Tim Van Holder <tim.van.holder@pandora.be>
4468 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit
4469 character (u: -> ue) in a code comment.
4470 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know
4473 2001-09-21 Akim Demaille <akim@epita.fr>
4475 * Makefile.maint (AUTOM4TE): Neutralize autom4te.
4476 Suggested by Jim Meyering.
4478 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4480 * lib/autoconf/programs.m4: Use extensions listed in
4481 $ac_executable_extensions when looking for programs.
4483 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4485 * lib/autoconf/general.m4: Fix a small Englisho.
4486 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when
4487 setting up ac_dir_suffix and ac_top_builddir.
4488 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'.
4490 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4492 * doc/autoconf.texi (File System Conventions): Clarify the use of
4494 (Special Shell Variables[PATH_SEPARATOR]): Ditto.
4495 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should
4496 be used instead of ':'.
4497 * lib/autotest/general.m4: Replace occurrences of ':' in
4498 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup.
4500 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4502 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as
4503 arguments. Fixed a typo.
4505 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4507 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up
4508 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly.
4510 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4512 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'.
4513 * bin/autoupdate.in: Ditto.
4514 * bin/autoheader.in: Reworded a few comments.
4515 * bin/autoconf.in: Reworded help text for a few options.
4516 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in,
4517 * bin/autoscan.in, bin/autoupdate.in: Ditto.
4519 2001-09-20 Tim Van Holder <tim.van.holder@pandora.be>
4521 * lib/Autom4te/XFile.pm (open): Simplified the error message (we
4522 already have $file). Set output files to binary mode (helps avoid
4523 CR issues on DOSish systems).
4525 2001-09-19 Akim Demaille <akim@epita.fr>
4527 * lib/autotest/general.m4: Englishoes.
4528 From Tim Van Holder and Alexey Mahotkin.
4530 2001-09-18 Paul Eggert <eggert@twinsun.com>
4532 * doc/autoconf.texi (Common Shell Constructs): New node,
4533 documenting AS_DIRNAME.
4534 (Limitations of Usual Tools): Refer to it when discussing dirname.
4535 Also, update discussion of POSIX standard to reflect latest draft.
4537 * lib/autoconf/c.m4:
4538 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN.
4540 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE):
4541 Do not pass a first argument with leading '-'
4542 to expr, by parenthesizing initial integers that might be negative.
4544 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP
4545 now merely checks whether it is an error to pass an argument
4548 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove.
4549 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check
4550 whether it is a (compile-time) error to pass an argument to
4551 getpgrp. This simpler test supports the revised documentation,
4552 and is all that AC_FUNC_GETPGRP's users really need.
4554 2001-09-18 Akim Demaille <akim@epita.fr>
4556 * doc/autoconf.texi (Limitations of Make) <$<>: New.
4558 2001-09-18 Akim Demaille <akim@epita.fr>
4560 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about
4562 * lib/autotest/general.m4 (AT_INIT): Adjust.
4564 2001-09-18 Paul Wagland <paul@wagland.net>
4566 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///'
4568 Add test for AS_BASENAME.
4569 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous
4570 added test. It now correctly handles /1/2/3/, returning '3' not ''.
4571 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME.
4572 * tests/base.at: Fixed the expected responses. The old ones were
4574 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as
4575 the documentation claims it should (and how it behaved in 2.13).
4577 2001-09-18 Akim Demaille <akim@epita.fr>
4579 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in
4580 the AC_CONFIG_COMMANDS invocation.
4581 This also solves the name clash problems.
4582 Don't set the package's ID.
4583 * lib/m4sugar/Makefile.am (version.m4): Revamp.
4584 No longer to be shipped.
4585 (version.in): Remove.
4586 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4,
4587 * lib/autoconf/status.m4: Adjust.
4588 Use `m4_PACKAGE_STRING'.
4589 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now
4590 the only optional argument is the name of the test suite.
4591 Expect `package.m4' to define the package signature.
4592 * lib/autom4te.in (Autotest): Add `package.m4?'.
4593 * tests/Makefile.am (package.m4): New.
4594 * tests/suite.at: ifnames is a victim.
4596 2001-09-18 Akim Demaille <akim@epita.fr>
4598 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL,
4599 AC_LIBSOURCE, AC_CONFIG_FILES.
4600 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested
4601 program version string doesn't match the package's.
4602 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space
4605 2001-09-17 Paul Eggert <eggert@twinsun.com>
4607 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4608 Allow expression to return any value that can fit into unsigned long
4609 (not int, as before). Check for output errors.
4611 2001-09-17 Bruno Haible <haible@ilog.fr>
4613 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)):
4614 Always include <stdio.h> and <stdlib.h>. Evaluate
4615 the expression in an extra function before these includes. Call
4616 fprintf "%d" only after ensuring the argument is of type 'int'.
4617 Reported by Wayne Chapeskie <waynec@spinnaker.com>.
4619 2001-09-17 Paul Eggert <eggert@twinsun.com>
4621 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4
4622 or CFLAGS=-O5. In that case, the linker has a relaxed view of
4623 fatal errors, and AC_CHECK_LIB causes it to include libraries even
4624 when they don't exist.
4626 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS,
4627 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
4630 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty
4631 version with the version used by fileutils 4.1, except use
4632 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if
4635 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior.
4637 2001-09-13 Akim Demaille <akim@epita.fr>
4639 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line
4641 Reported by Gerrit P. Haase.
4643 2001-09-13 Akim Demaille <akim@epita.fr>
4645 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that
4646 m4_defn'ing is valid.
4648 2001-09-13 Akim Demaille <akim@epita.fr>
4650 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New.
4651 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE):
4654 2001-09-13 Akim Demaille <akim@epita.fr>
4656 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use
4658 (m4_re_escape): New.
4659 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it.
4660 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match.
4661 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS):
4663 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P)
4664 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise.
4665 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as
4666 AT_tests_all for consistency.
4668 (AT_VICTIMS): Similar to AT_KEYWORDS.
4669 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape.
4671 2001-09-13 Akim Demaille <akim@epita.fr>
4673 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs.
4675 2001-09-13 Akim Demaille <akim@epita.fr>
4677 * lib/autotest/general.m4 (AT_INIT): Create and remove
4678 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple
4679 test suites can cohabit.
4681 2001-09-13 Akim Demaille <akim@epita.fr>
4683 * tests/mktests.sh: Don't output banners for empty test files.
4685 2001-09-13 Akim Demaille <akim@epita.fr>
4687 Test suites can be run independently of configure.
4689 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New.
4690 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove.
4691 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST
4693 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n
4695 * lib/autotest/general.m4: Use ECHO_*.
4697 2001-09-13 Akim Demaille <akim@epita.fr>
4699 * bin/ifnames.in: Rewrite in Perl.
4700 * configure.ac: Don't look for AWK.
4701 * tests/tools.at (AWK portability): Remove.
4702 (Syntax of the shell scripts): Don't check ifnames.
4703 (AT_CHECK_PERL_SYNTAX): New.
4704 (Syntax of the Perl scripts): Check ifnames.
4705 * tests/ifnames: New.
4707 2001-09-13 Akim Demaille <akim@epita.fr>
4709 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match
4711 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate).
4712 Remove all the other keywords.
4714 2001-09-10 Akim Demaille <akim@epita.fr>
4716 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and
4717 SETUP: no longer used.
4718 Support -k, --keywords.
4719 <at_help>: Be `no', `short', or `long'.
4720 <at_help_all>: New variable.
4722 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as...
4723 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these.
4724 (_AT_CLEANUP_FILE_IF): Simplify the regexp.
4725 (AT_SETUP): Reset AT_line, AT_keywords, AT_description.
4726 No longer fill the HELP diversion.
4727 (AT_CLEANUP): Use them.
4728 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator.
4729 (m4_list_append): Remove.
4731 Spread a few keywords in the Autoconf test suite.
4733 2001-09-10 Akim Demaille <akim@epita.fr>
4735 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass
4736 PATH_SEPARATOR, let M4sh compute it.
4737 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New.
4738 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR.
4740 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here.
4741 Simplify when the path is not a literal.
4742 (AS_UNAME): Use it to report PATH.
4743 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove.
4744 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR.
4745 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK.
4746 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to
4747 normalize the path, and to look for victims.
4748 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS)
4749 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR.
4751 2001-09-07 Akim Demaille <akim@epita.fr>
4753 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5
4754 doesn't neutralize SIGINT, making autoconf etc. non interruptible.
4755 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package
4756 related variables into `at_package_*'.
4757 * lib/autotest/general.m4 (AT_VICTIMS): New.
4758 (AT_INIT): Adjust for stand-alone/embedded test suites.
4759 (AS_MESSAGE_LOG_FD): Define and use it.
4760 * tests/suite.at (AT_VICTIMS): Use it.
4761 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon
4764 2001-09-07 Akim Demaille <akim@epita.fr>
4766 Move toward possibly stand-alone test suites.
4768 * lib/autotest/general.m4: Stop displaying srcdir everywhere as,
4769 in addition, it introduces useless differences in logs.
4770 (AT_INIT): Let atconfig and atlocal be both optional.
4771 Adjust PATH computation.
4772 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH.
4774 2001-09-07 Akim Demaille <akim@epita.fr>
4776 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon
4779 2001-09-05 Akim Demaille <akim@epita.fr>
4781 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_'
4782 to avoid GCC warnings.
4785 2001-09-05 Akim Demaille <akim@epita.fr>
4787 * bin/autom4te.in: --language is -l, not -s.
4789 2001-09-05 Akim Demaille <akim@epita.fr>
4791 Be ready to handle filenames as stupid as `dnl.at', for if even
4792 the maintainer is dumb enough to do that...
4794 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your
4795 excellence in M4 quotation: consider `__file__' is active.
4797 And BTW, when invoking m4, pass the --include in the right order:
4800 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to
4803 2001-09-05 Akim Demaille <akim@epita.fr>
4805 * lib/Autom4te/XFile.pm: New lib file.
4806 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in,
4807 * bin/autoheader.in: Use it.
4809 2001-09-05 Akim Demaille <akim@epita.fr>
4811 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff
4814 2001-09-05 Akim Demaille <akim@epita.fr>
4816 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug.
4817 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust.
4819 * bin/autoscan.in: Use `getopt' and `find_files' etc.
4820 Add -I, --include support.
4821 * doc/autoconf.texi (autoscan Invocation): Adjust.
4823 2001-09-05 Akim Demaille <akim@epita.fr>
4825 CVS GNU M4 doesn't like `undefine(undefined)'.
4827 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros):
4828 New, extracted from main.
4829 Use IO::File wherever possible.
4830 (input.m4): Be constant, use -I instead of hard coding $tmp.
4831 Therefore be a quoted heredoc.
4832 Don't invoke `_au_disable', since ac was not loaded, but just
4835 2001-08-31 Akim Demaille <akim@epita.fr>
4839 2001-08-31 Akim Demaille <akim@epita.fr>
4841 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the
4843 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'.
4845 2001-08-31 Akim Demaille <akim@epita.fr>
4847 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has
4848 serious problems handling heredocs in heredocs.
4849 Reported by Nicolas Joly.
4851 2001-08-31 Akim Demaille <akim@epita.fr>
4853 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros.
4854 (Making testsuite Scripts): Update.
4856 2001-08-31 Akim Demaille <akim@epita.fr>
4858 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg.
4860 2001-08-31 Akim Demaille <akim@epita.fr>
4862 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'.
4863 (testsuite Scripts): There is no such thing as `atconfig.in'.
4864 And actually one diagram is missing: test suite runtime.
4866 2001-08-31 Akim Demaille <akim@epita.fr>
4868 * lib/Autom4te/General.pm (&find_file): Browse the includes in the
4871 2001-08-31 Akim Demaille <akim@epita.fr>
4873 * bin/autoupdate.in (@include): `installcheck' revealed the path
4874 to m4sugar was lacking!
4876 2001-08-31 Akim Demaille <akim@epita.fr>
4878 * man/Makefile.am (.x.1): We really have to pass
4879 autom4te_perllibdir.
4881 2001-08-31 Akim Demaille <akim@epita.fr>
4883 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to
4884 debug scripts, in particular passing explicitly listed tests to
4887 2001-08-31 Akim Demaille <akim@epita.fr>
4889 * bin/autom4te.in (&parse_args): Strip `.' from `@include'.
4890 * bin/autoupdate.in: Use --include, -I, and --force, -f, too.
4891 Use directly autom4te, not autoconf.
4892 * tests/autoupdate: $top_srcdir/lib is needed too for melt files.
4894 2001-08-31 Akim Demaille <akim@epita.fr>
4896 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol.
4897 * bin/autoheader.in (%symbol): Strip arguments of macros.
4899 2001-08-31 Akim Demaille <akim@epita.fr>
4901 * doc/autoconf.texi: Catch up -I, --include changes.
4903 2001-08-31 Akim Demaille <akim@epita.fr>
4905 * bin/autom4te.in (&parse_args): Die on unknown languages.
4906 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no
4908 Promote --include over --macrodir and other obsolete options.
4910 2001-08-31 Akim Demaille <akim@epita.fr>
4912 * lib/Autom4te/General.pm ($version, $help, &getopt): New.
4913 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them.
4914 * bin/autom4te.in ($autoconf): Pass --force.
4915 `print $out' doesn't print `$_' but `$out'.
4916 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir.
4917 (autoheader): Pass --force since the test suite goes too fast for
4919 Adjust to the new autoheader messages.
4921 2001-08-31 Akim Demaille <akim@epita.fr>
4923 * bin/autoheader.in: Handle the acconfig.h etc. junk files.
4924 Check the completeness of the #template.
4925 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/.
4926 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER
4929 2001-08-31 Akim Demaille <akim@epita.fr>
4931 * lib/Autom4te/General.pm (&find_file, &update_file): New.
4932 * bin/autoupdate.in, bin/autoheader.in: Adjust.
4933 Drop AC_MACRODIR dead for real.
4934 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says
4935 `autoheader: `config.hin' is created'.
4936 * tests/tools.at (Syntax of the Perl scripts): Check autoheader.
4938 2001-08-31 Akim Demaille <akim@epita.fr>
4940 * bin/autoheader.in: Rewrite in Perl.
4941 * tests/autoheader: Adjust.
4943 2001-08-31 Akim Demaille <akim@epita.fr>
4945 * bin/autoconf.in (--include, -I): New option.
4946 Map --localdir, --autoconf-dir onto it.
4947 Forward autom4te's options instead of interpreting them.
4948 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir):
4949 There is no such envvar since the inception of autom4te.cfg.
4950 * bin/autom4te.in (&parse_args): Uniquify `@include'.
4951 * bin/autoupdate.in: Adjust, and perform more control.
4952 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust.
4953 * tests/autoconf: Dittowise.
4955 2001-08-31 Akim Demaille <akim@epita.fr>
4957 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'.
4958 * bin/autom4te.in (&find_file): Support `FILE?' standing for
4960 Use -e, not -f, since /dev/null for instance is OK.
4961 (&parse_args): Adjust.
4962 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'.
4964 2001-08-31 Akim Demaille <akim@epita.fr>
4966 * configure.ac: Also find tested executables in bin.
4967 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in,
4968 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the
4969 installed peer executables, only PATH is allowed to resolve it.
4970 Pass `autoconf_dir' via options, not via invisible envvars.
4971 * lib/Autom4te/General.pm (&find_peer): Remove.
4972 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives
4973 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'.
4974 * man/Makefile.am: Let help2man rely on PATH instead of trying to
4975 find the executables for it.
4976 * tests/Makefile.am: Major cleanup. Too lazy to document...
4977 * tests/atlocal.in: Remove all the obscure envvar manipulations.
4979 * tests/atspecific.m4, tests/tools.at: Passing --localdir is
4980 indeed related to running the test suite, while passing
4981 --autoconf-dir and others is related to running non installed
4982 Autoconf executables. So don't do that, leave it to...
4983 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate,
4984 * tests/autoscan: New.
4985 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't
4986 refer to library files: rely on --language.
4988 2001-08-29 Akim Demaille <akim@epita.fr>
4990 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in:
4991 s/--set/--language/.
4993 2001-08-29 Akim Demaille <akim@epita.fr>
4995 * doc/autoconf.texi: Strip the @nodes.
4996 Suggested by Paul Eggert.
4997 (Initializing configure): Typo.
4999 2001-08-29 Akim Demaille <akim@epita.fr>
5001 * bin/autom4te.in (&handle_output): s/@__@/@&t@/.
5002 Suggested by Paul Eggert.
5004 2001-08-29 Akim Demaille <akim@epita.fr>
5006 * Makefile.maint (do-po-update): Wget refuses to overwrite files:
5007 download in a tmp dir.
5009 2001-08-29 Akim Demaille <akim@epita.fr>
5011 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are
5012 case insensitive OSes out there :(
5013 From Tim Van Holder.
5015 2001-08-29 Akim Demaille <akim@epita.fr>
5017 * lib/autom4te.in: New.
5018 * lib/Makefile.am (edit, autom4te.cfg): New.
5019 * bin/autom4te.in (BEGIN): Simplify.
5020 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'.
5021 (&load_configuration): New. Use it.
5022 (&parse_args): Support --mode, --set, and --melt.
5023 * bin/autoconf.in: Simplify and adjust.
5024 * tests/Makefile.am (AUTOMAKE): Use --set.
5025 * tests/atlocal.in: Adjust.
5026 * BUGS: distcheck and check are weak.
5028 2001-08-29 Akim Demaille <akim@epita.fr>
5030 * lib/autotest/general.m4: Use
5031 foo=`(command) 2>/dev/null`
5033 foo=`command` 2>/dev/null
5034 (at-devnull): Rename as...
5036 (--clean): Remove AT-* files too.
5037 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'.
5038 Reported by Nicolas Joly.
5040 2001-08-28 Akim Demaille <akim@epita.fr>
5042 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single
5043 quotes inside single quotes.
5044 Reported by Nicolas Joly.
5046 2001-08-28 Kevin Ryde <user42@zip.com.au>
5048 * doc/autoconf.texi (Function Portability): Mention C right shifts.
5050 2001-08-27 Tim Van Holder <tim.van.holder@pandora.be>
5052 * lib/autotest/general.m4: Reword some messages.
5053 (AT_INIT): Check for the `times' builtin before using it.
5054 Support test ranges as arguments to the testsuite.
5055 Have -e imply -d as the help text suggested.
5057 2001-08-27 Akim Demaille <akim@epita.fr>
5059 * Makefile.maint: Formatting changes.
5060 (do-po-update, po-update, cvs-update, update): New targets.
5063 2001-08-27 Akim Demaille <akim@epita.fr>
5065 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove.
5067 Pass it to debug-*.sh scripts.
5068 <AUTOTEST_PATH>: May contain absolute dir names.
5070 2001-08-27 Akim Demaille <akim@epita.fr>
5072 * lib/autotest/general.m4 (AT_INIT): Log the command line.
5073 Support `VAR=VAL' as arguments.
5074 Compute PATH _after_ the options processing, so that AUTOTEST_PATH
5075 may be set via the command line.
5077 2001-08-27 Akim Demaille <akim@epita.fr>
5079 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1.
5080 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into
5081 first the build dirs, then the src dirs.
5082 * configure.ac (AC_CONFIG_TESTDIR): Adjust.
5084 2001-08-27 Akim Demaille <akim@epita.fr>
5086 * lib/autotest/general.m4 (AT_INIT): Output the definition of
5087 at_data_files earlier.
5088 (--clean, -c): New option.
5089 * tests/Makefile.am: Use this option.
5091 2001-08-27 Akim Demaille <akim@epita.fr>
5093 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as
5094 `ac_top_builddir' to mimic Automake's vocabulary, which much more
5097 * doc/autoconf.texi (Configuration Actions): Document the vars
5098 available in commands.
5099 Emphasize the risks of collisions in init-cmds.
5101 2001-08-27 Akim Demaille <akim@epita.fr>
5103 * doc/autoconf.texi (Input) <AC_INIT>: Move to..
5104 (Initializing configure): this new node.
5106 2001-08-27 Akim Demaille <akim@epita.fr>
5108 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack.
5110 2001-08-27 Akim Demaille <akim@epita.fr>
5112 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by...
5113 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this.
5115 * m4/Makefile.am (EXTRA_DIST): Oops, adjust...
5117 2001-08-27 Akim Demaille <akim@epita.fr>
5119 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move
5121 * lib/autoconf/autoheader.m4: this new file.
5122 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM)
5123 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM):
5125 * lib/autoconf/autoupdate.m4: this new file.
5127 2001-08-27 Akim Demaille <akim@epita.fr>
5129 * lib/autoconf/status.m4 (_AC_SRCPATHS): New.
5130 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it.
5131 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir
5133 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name.
5134 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto.
5136 2001-08-27 Akim Demaille <akim@epita.fr>
5138 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS)
5139 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES)
5140 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER)
5141 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE)
5142 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS)
5143 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS)
5144 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS)
5145 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST)
5146 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS)
5147 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES)
5148 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT)
5149 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT)
5150 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS)
5151 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS)
5152 (_AC_OUTPUT_SUBDIRS): Move to...
5153 * lib/autoconf/status.m4: this new file.
5154 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust.
5155 * tests/Makefile.am, tests/suite.at: Adjust.
5157 2001-08-27 Akim Demaille <akim@epita.fr>
5161 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
5162 (AMTAR): Help automake define it.
5163 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer
5164 needed, 1.5 can have a macro and a target with the same name.
5165 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
5167 * m4/init.m4, m4/sanity.m4: Update.
5168 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
5169 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
5170 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
5171 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
5173 2001-08-27 Akim Demaille <akim@epita.fr>
5175 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest.
5177 * lib/autoconf/version.in: Remove.
5178 * lib/m4sugar/version.in: New.
5179 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New.
5181 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by
5182 the name of the directory they're in, instead of the filename,
5183 since version.m4 is now in m4sugar, but m4_acversion must not be
5184 classified as an Autoconf macro.
5185 ($input_m4): Don't qualify the path to m4sugar.
5186 Rather, pass autoconf_dir to m4.
5187 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded.
5188 * tests/suite.at: Require 2.52c.
5190 2001-08-27 Akim Demaille <akim@epita.fr>
5192 testsuite.log should include config.log.
5194 * lib/autotest/autotest.m4: New.
5195 * lib/autotest/general.m4, tests/atspecific.m4: Adjust.
5196 * tests/suite.at : Adjust.
5197 (AT_INIT): Log config.log.
5198 * lib/m4sugar/m4sugar.m4 (m4_text_box): New.
5199 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust.
5200 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them.
5201 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion
5202 of config.log on traps.
5203 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX.
5204 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF'
5206 Open the log as soon as possible.
5207 Use the same log introduction as configure's.
5209 2001-08-22 Paul Eggert <eggert@twinsun.com>
5211 * doc/autoconf.texi (Indices): New node.
5212 Move indices out of the top level menu and into this submenu.
5214 2001-08-22 Akim Demaille <akim@epita.fr>
5216 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use
5218 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX.
5220 2001-08-22 Akim Demaille <akim@epita.fr>
5222 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG)
5223 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX)
5224 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to...
5225 * lib/autoconf/programs.m4: here.
5226 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET)
5227 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT)
5228 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to...
5229 * lib/autoconf/programs.m4: here.
5230 (_AC_DECL_YYTEXT): Rename as...
5231 (_AC_PROG_LEX_YYTEXT_DECL): this.
5232 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am
5233 * tests/Makefile.am, tests/suite.am: Adjust.
5235 2001-08-22 Akim Demaille <akim@epita.fr>
5237 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION):
5239 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION):
5241 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to...
5242 * lib/autoconf/functions.m4: here.
5243 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB)
5244 (AH_CHECK_LIB): Move to...
5245 * lib/autoconf/libs: this new file.
5246 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT)
5247 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to...
5248 * lib/autoconf/libs.m4: here.
5249 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust.
5251 2001-08-22 Akim Demaille <akim@epita.fr>
5253 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails.
5254 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust.
5255 (AC_SITE_LOAD): Better logging of config.site.
5257 2001-08-20 Akim Demaille <akim@epita.fr>
5259 * configure.ac (AT_CONFIG): Fix the path.
5260 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52
5263 2001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr>
5265 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile
5266 program with AC_LANG_PROGRAM before feeding it to
5267 AC_COMPILE_IFELSE. Cleanup grep usage.
5269 2001-08-20 Akim Demaille <akim@epita.fr>
5271 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS,
5272 * NEWS, README, README-alpha, TODO, tests/README: This package is
5273 `Autoconf', not `autoconf' (the executable).
5275 2001-08-20 Akim Demaille <akim@epita.fr>
5277 Info readers seem to need `Index' in the index node title :(
5279 * doc/autoconf.texi: Reverse the 2001-08-15 change which
5280 simplified index node names.
5282 2001-08-20 Akim Demaille <akim@epita.fr>
5284 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the
5285 arguments are not literals.
5286 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals.
5287 Specify the output variables, and macros defined.
5289 2001-08-20 Akim Demaille <akim@epita.fr>
5291 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>:
5292 (Examining Syntax) <AC_TRY_COMPILE>
5293 (Examining Libraries) <AC_TRY_LINK>
5294 (Test Programs) <AC_TRY_RUN>: These macros double quote some of
5296 Reported by Werner Lemberg.
5298 2001-08-20 Akim Demaille <akim@epita.fr>
5300 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir,
5301 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir.
5302 Load atlocal late enough to dump it in the log.
5303 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig.
5305 2001-08-20 Akim Demaille <akim@epita.fr>
5307 * tests/torture.at (Configuring subdirectories): New test.
5308 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are
5310 * m4/atconfig.m4: Be sure the let $[0] be expandable.
5311 (top_srcdir): Fix its computation.
5313 2001-08-20 Akim Demaille <akim@epita.fr>
5315 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do.
5316 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the
5318 Create `atconfig' automagically.
5319 Configure atlocal.in if present.
5320 * tests/atconfig.in: Remove.
5321 * tests/atlocal.in: New.
5322 * tests/Makefile.am: Adjust.
5324 2001-08-20 Akim Demaille <akim@epita.fr>
5326 Huh!?!?! There are still some user EOF tags used, which prevents
5327 their use in AC_CONFIG_COMMANDS for instance...
5329 * lib/autoconf/general.m4, lib/autoconf/specific.m4,
5330 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF',
5331 `_CSEOF', or `_ATEOF', as appropriate.
5332 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am,
5333 * lib/autotest/Makefile.am (check-local): Enforce this constraint.
5335 2001-08-20 Akim Demaille <akim@epita.fr>
5337 * tests/base.at, tests/m4sh.at, tests/m4sugar.at,
5338 * tests/semantics.at, tests/tools.at, tests/torture.at:
5339 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/.
5341 2001-08-20 Akim Demaille <akim@epita.fr>
5343 Autotest invokes M4sh's initialization.
5345 * lib/autotest/general.m4: Adjust the diversion names.
5346 (AT_INIT): Run AS_INIT.
5347 Use the BINSH diversion to invoke /bin/sh.
5348 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at:
5349 * tests/torture.at: Respect M4sugar and M4sh macro name spaces.
5351 2001-08-20 Akim Demaille <akim@epita.fr>
5353 Let M4sh have its own diversions.
5355 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION))
5356 (_m4_divert(NOTICE)): Rename as...
5357 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION))
5358 (_m4_divert(HEADER-COMMENT)): these.
5359 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New.
5360 (_m4_divert(NOTICE)): New, for Libtool.
5361 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced
5362 long ago with `_m4_divert(GROW)'.
5363 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust.
5365 2001-08-20 Akim Demaille <akim@epita.fr>
5367 * tests/base.at, tests/compile.at, tests/foreign.at,
5368 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh,
5369 * tests/semantics.at, tests/suite.at, tests/tools.at,
5370 * tests/torture.at: Ask Autotest mode, not Autoconf mode.
5372 2001-08-20 Akim Demaille <akim@epita.fr>
5374 * bin/autom4te.in (handle_output): Handle @__@.
5376 2001-08-20 Akim Demaille <akim@epita.fr>
5378 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4,
5379 * lib/autotest/general.m4: Adjust the license.
5381 2001-08-17 Paul Eggert <eggert@twinsun.com>
5383 * doc/autoconf.texi (Function Portability): Mention snprintf,
5384 following up on a suggestion by Kevin Ryde.
5386 2001-08-17 Akim Demaille <akim@epita.fr>
5388 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not
5389 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it.
5391 2001-08-17 Akim Demaille <akim@epita.fr>
5393 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not
5394 `$0.log' as for projects where testsuite is in src, we'd have
5395 testsuite.log created in src.
5397 2001-08-17 Akim Demaille <akim@epita.fr>
5399 * bin/autom4te.in (&parse_args): Recognize --normalize.
5401 2001-08-17 Akim Demaille <akim@epita.fr>
5403 Start implementing the AC_CHECK_HEADER transition scheme.
5405 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW)
5406 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New.
5407 (AC_CHECK_HEADER): Use them.
5409 2001-08-17 Akim Demaille <akim@epita.fr>
5411 * doc/autoconf.texi: Work around Texinfo buglets.
5412 (Transformation Rules): One example is enough, users are expected
5413 to have their brains on. And BTW, use DESTDIR.
5414 (dvar): New macro. Use it.
5416 2001-08-17 Akim Demaille <akim@epita.fr>
5418 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete.
5419 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when
5420 looking for ChangeLogs.
5422 2001-08-17 Akim Demaille <akim@epita.fr>
5424 * bin/autom4te.in: --normalize is a new option.
5425 * bin/autoconf.in: Use it.
5427 2001-08-17 Akim Demaille <akim@epita.fr>
5429 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am
5430 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support.
5432 2001-08-16 Paul Eggert <eggert@twinsun.com>
5434 * doc/autoconf.texi, doc/install.texi: Put copyright notice at
5437 2001-08-15 Akim Demaille <akim@epita.fr>
5439 * doc/Makefile.am (fu): New index, can't use fn because of defmac.
5442 2001-08-15 Akim Demaille <akim@epita.fr>
5444 * doc/autoconf.texi (pr): New index.
5445 (prindex, findex): Use, merge, and output them.
5446 (Environment Variable Index, Output Variable Index)
5447 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index)
5448 (Autotest Macro Index): Rename as...
5449 (Environment Variables, Output Variables,Preprocessor Symbols)
5450 (Autoconf Macros, M4 Macros, Autotest Macros): these.
5451 * doc/install.texi: Use @command.
5452 (Environment Variables): Rename as...
5453 (Defining Variables): this.
5455 2001-08-15 Akim Demaille <akim@epita.fr>
5457 * doc/autoconf.texi (Function Portability): sprintf's return
5461 2001-08-15 Akim Demaille <akim@epita.fr>
5463 * Makefile.maint (CVS): New.
5464 (local-check): Run changelog-check. last.
5465 (alpha): Don't depend upon local-check, since...
5466 (cvs-dist): depends upon it.
5468 2001-08-15 Tim Van Holder <tim.van.holder@pandora.be>
5470 * tests/Makefile.am: Use a clean-local rule to remove
5471 autom4te.cache (it's a directory, not a file.
5472 * Makefile.am: Ditto (but maintainer-clean-local).
5474 2001-08-15 Akim Demaille <akim@epita.fr>
5476 * bin/autom4te.in (@m4_warning): New.
5477 (&handle_m4): Use it.
5478 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the
5479 warnings are issued at each run.
5480 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar
5483 2001-08-15 Akim Demaille <akim@epita.fr>
5485 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required:
5486 don't waste time running `autoupdate --version' works.
5487 * tests/tools.at (autoupdating AC_PREREQ): Likewise.
5489 2001-08-13 Akim Demaille <akim@epita.fr>
5491 * doc/autoconf.texi (ma): Rename this index as...
5494 2001-08-13 Akim Demaille <akim@epita.fr>
5496 * Makefile.am: Remove dead code and dead comments.
5497 (pdf, html): New targets.
5498 * doc/autoconf.texi (Using Autotest): New chapter.
5499 * doc/Makefile.am (pdf): New targets.
5500 (CLEANFILES): Adjust.
5502 2001-08-13 Akim Demaille <akim@epita.fr>
5504 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and
5505 duration of the test suite.
5507 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5509 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load
5510 endianness for comparison instead of relying on AT_CHECK_ENV.
5512 2001-08-11 Paul Eggert <eggert@twinsun.com>
5514 * doc/autoconf.texi, doc/install.texi: Add a copyright notice
5515 to the INSTALL file.
5517 2001-08-11 Paul Eggert <eggert@twinsun.com>
5519 * NEWS: The autoconf manual now is distributed under the terms
5520 of the GNU Free Documentation License.
5522 * doc/autoconf.texi: Switch from old style copyright notice to FDL.
5523 Add an appendix "Copying This Manual" for the FDL.
5525 * doc/fdl.texi: New file, from
5526 <http://www.gnu.org/licenses/fdl.texi>.
5528 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi.
5530 2001-08-10 Paul Eggert <eggert@twinsun.com>
5532 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1,
5533 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README,
5534 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am,
5535 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4,
5536 m4/sanity.m4, tests/README, tests/aclocal.m4,
5537 tests/atspecific.m4, tests/base.at, tests/compile.at,
5538 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at,
5539 tests/semantics.at, tests/suite.at, tests/tools.at,
5540 tests/torture.at: Add copyright notice.
5542 * tests/mktests.sh: Update year in copyright notice.
5544 2001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr>
5546 * tests/semantics.at (AC_C_BIGENDIAN): New test.
5548 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5550 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE,
5551 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN.
5552 * doc/autoconf.texi (C Compiler Characteristics): Update
5553 documentation for AC_C_BIGENDIAN.
5555 2001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr>
5557 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing
5558 magic values from an object file when cross-compiling.
5559 Based on code by Guido Draheim <Guido.Draheim@gmx.de>.
5561 2001-08-10 Akim Demaille <akim@epita.fr>
5563 * bin/autom4te.in (&handle_output): Don't use `grep' with side
5565 Suggested by Russ Allbery.
5567 2001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5569 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the
5570 current $prefix to the sub-configures.
5572 2001-08-09 Tim Van Holder <tim.van.holder@pandora.be>
5574 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable
5575 extension (needed on BeOS). Reported by Guido van Rossum.
5577 2001-08-09 Akim Demaille <akim@epita.fr>
5579 * bin/autom4te.in ($icache): Load it only if older than autom4te.
5581 2001-08-07 Akim Demaille <akim@epita.fr>
5583 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
5585 (at-setup-line): Huh? Be a variable `at_setup_line', not a file.
5586 No need to remove the files before and after the each test, before
5587 each test and at the end of the suite is enough.
5588 Display only the children `times', not the shell's.
5589 If the test failed or was skipped, at-times is not available.
5591 2001-08-07 Akim Demaille <akim@epita.fr>
5593 Always produce testsuite.log, including when there are no
5594 failures. This helps getting information on skipped tests, and
5595 duration of the tests. Err, implement the latter btw.
5597 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log.
5598 Dump information on the first run of each test.
5599 (AT_CLEANUP): Create `at-times' containing the duration of the
5602 2001-08-07 Akim Demaille <akim@epita.fr>
5604 The use of `dumpstat' revealed that `len' was used although it
5605 should not. m4_text_wrap was using it, but in the Autoconf world
5606 where it is legal. Hence (i) test M4sh in its own world, not
5607 Autoconf's, and (ii), ahem, fix the bug :)
5609 * lib/autotest/general.m4: Be sure the set good quotes, as tracing
5610 does not like `' instead of [].
5611 (AT_INIT): Forbid `^_?AT_'.
5612 And don't output such tokens.
5613 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g',
5614 `script.as', and `autom4te.cache'.
5615 Remove `empty' and `macro' which are no longer used.
5616 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New.
5617 * tests/m4sugar.at: Use it.
5618 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'.
5620 2001-08-07 Akim Demaille <akim@epita.fr>
5622 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option.
5624 2001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr>
5626 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution.
5628 2001-08-04 Akim Demaille <akim@epita.fr>
5630 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE)
5631 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not
5633 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise.
5634 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS)
5635 (AC_F77_MAIN): Likewise.
5637 2001-08-04 Akim Demaille <akim@epita.fr>
5639 Don't rely on M4sugar outputting the patterns in files, since we
5640 might process the output _without_ running m4, hence without these
5643 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'.
5644 * bin/autom4te.in (@Request::includes): Remove, unused.
5645 (@Request::source): Rename as...
5646 (@Request::input): this.
5647 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'.
5648 (&handle_output): Fetch the patterns from the traces.
5649 `$forbidden' and `$allowed' are constant: use m//o.
5650 (&handle_m4): M4sugar no longer wants `m4_tmpdir'.
5651 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only.
5653 2001-08-04 Akim Demaille <akim@epita.fr>
5655 `autoconf && autoheader' is sped up. Now, speed up `autoheader &&
5656 autoconf', i.e., in addition to caching traces, cache the output.
5658 * bin/autom4te.in (Request::cache): Rename as...
5659 (Request::id): this.
5660 ($cache, $icache, $tcache, $ocache): New.
5661 (&handle_m4): Save M4 output in the cache instead of $tmp.
5662 (&handle_output): Adjust.
5663 (&up_to_date_p): Check that the output cache is up to date too.
5664 (top level): Run `&handle_m4' iff force or the cache is invalid.
5665 Run `&handle_output' if the output cache is more recent.
5667 2001-08-04 Akim Demaille <akim@epita.fr>
5669 * bin/autom4te.in ($force): New.
5670 (&parse_args, &print_usage): -f, --force is a new option.
5671 (&handle_output): CPP directives might have spaces after `#'.
5672 (&parse_args): The first file only can be frozen.
5674 2001-08-04 Akim Demaille <akim@epita.fr>
5676 Don't let autom4te compute the `include' traces several times:
5677 first check that the trace cache file is up to date, and then
5678 compare its timestamp with that of the output.
5680 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize
5681 the preamble. Don't require 5.005 as Autom4te::General does it,
5682 and better yet (use `use', not `require'!).
5683 * lib/Autom4te/Struct.pm: Rename the last occurrences of
5684 Class::Struct as Autom4te::Struct.
5685 * lib/Autom4te/General.pm (File::stat): Use it.
5686 (&mtime): New, export it.
5687 * bin/autom4te.in: Use it.
5688 Declare `$req' is invalid if it is outdated.
5689 Don't declare it valid before saving it if something went wrong.
5691 2001-08-04 Akim Demaille <akim@epita.fr>
5693 Autom4te shall not encode Autoconf data, and preselecting traces
5694 must be proposed to the users.
5696 * bin/autom4te.in (@required_trace): Remove.
5698 (&parse_args, &print_usage): -p, --preselect is a new option.
5699 (&up_to_date_p): Adjust.
5700 * bin/autoconf.in: Preselect some Autoconf macros.
5702 2001-08-04 Akim Demaille <akim@epita.fr>
5704 * tests/tools.at (autoconf --trace: user macros): Check traces on
5705 macros invoked without arguments, and macros invoked with multiple
5708 2001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
5710 * bin/autom4te.in (handle_traces): Fix rewriting of traces without
5713 2001-08-03 Akim Demaille <akim@epita.fr>
5715 * bin/autoconf.in ($@): Work around the usual sh bug.
5718 2001-08-03 Akim Demaille <akim@epita.fr>
5720 Clean up the handling of the M4 builtins tracing exception.
5722 * bin/autom4te.in (Request::request): Don't complete M4 builtins
5724 (@m4_builtins): Rename as...
5725 (@m4_builtin): this.
5726 (%m4_builtin_alternate_name): New.
5727 (&parse_args): Complete the trace requests with alternate names.
5728 (&handle_traces): Hence no longer do it here.
5729 (&trace_requests): Remove, unused.
5731 2001-08-03 Akim Demaille <akim@epita.fr>
5733 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit,
5736 2001-08-03 Akim Demaille <akim@epita.fr>
5738 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens.
5739 (m4_divert_pop): Dump the whole diversion stack when a diversion
5741 * bin/autom4te.in (&handle_output): Remember of the first
5742 occurrence of a possibly undefined macro, not the last.
5743 Complain about the possibly undefined macros in the same order as
5744 the appear in the output.
5745 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies.
5746 * tests/tools.at (autoconf: forbidden tokens, basic)
5747 (autoconf: forbidden tokens, exceptions): No longer sort
5748 autoconf's stderr, as it is now deterministic.
5749 Check that `dnl' is caught.
5751 2001-08-01 Akim Demaille <akim@epita.fr>
5753 * configure.ac: Bump to 2.52c.
5755 2001-08-01 Akim Demaille <akim@epita.fr>
5759 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/.
5761 2001-08-01 Akim Demaille <akim@epita.fr>
5765 2001-08-01 Akim Demaille <akim@epita.fr>
5767 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and
5770 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your
5771 `END', as `Autom4te::General::END' will be triggered.
5772 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy.
5773 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of
5774 system to run `mv', `rm', and `cmp'.
5776 2001-08-01 Akim Demaille <akim@epita.fr>
5778 * lib/Autom4te/General.pm (&unique): New.
5779 * bin/autoscan.in (&output): Use it to issue trace requests once.
5781 2001-08-01 Akim Demaille <akim@epita.fr>
5783 * lib/Autom4te/General.pm: New.
5784 * bin/autom4te.in (Autom4te::General): Use it.
5785 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem)
5786 (&find_configure_ac, &find_slave): Remove.
5787 * bin/autoscan.in: Likewise.
5788 * bin/autoupdate.in: Likewise.
5790 2001-08-01 Akim Demaille <akim@epita.fr>
5792 * autoconf.in, autom4te.in, autoscan.in, ifnames.in,
5793 * autoheader.in, autoreconf.in, autoupdate.in: Move to...
5794 * bin: here, new directory.
5795 * lib/Autoconf: Rename as...
5796 * lib/Autom4te: this, to please case insensitive junkie OSes.
5798 2001-08-01 Akim Demaille <akim@epita.fr>
5800 * autom4te.in ($m4): Handle the --nesting-limit.
5801 * autoconf.in (M4): Remove.
5803 2001-08-01 Akim Demaille <akim@epita.fr>
5805 * autoconf.in ($AWK): Remove, no longer used.
5806 * test/tools.at: Use AT_CHECK_AUTOCONF.
5807 (AWK portability): Remove, for autoconf no longer uses AWK.
5808 (Syntax of the Perl scripts): New.
5809 * configure.ac: autoconf no longer needs an AWK with a good
5811 Use a static test on AC_PACKAGE_VERSION.
5812 * autom4te.in (&up_to_date_p): Output depends on the arguments.
5813 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file.
5814 * tests/atconfig.in (PERL): New.
5816 2001-08-01 Akim Demaille <akim@epita.fr>
5818 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C))
5819 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++))
5820 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C))
5821 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C))
5822 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS)
5823 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP)
5824 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G)
5825 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++))
5826 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx)
5827 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION)
5828 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE)
5829 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE)
5830 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to...
5831 * lib/autoconf/c.m4: here, new file.
5833 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77)
5834 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77))
5835 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77))
5836 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77))
5837 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O)
5838 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS)
5839 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN)
5840 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS)
5841 (AC_F77_FUNC): Move to...
5842 * lib/autoconf/fortran.m4: here, new file.
5844 2001-08-01 Akim Demaille <akim@epita.fr>
5846 * acfunctions.m4: Rename as...
5847 * lib/autoconf/functions.m4: this.
5848 * acgeneral.m4: Rename as...
5849 * lib/autoconf/general.m4: this.
5850 * acheaders.m4: Rename as...
5851 * lib/autoconf/headers.m4: this.
5852 * aclang.m4: Rename as...
5853 * lib/autoconf/lang.m4: this.
5854 * acoldnames.m4: Rename as...
5855 * lib/autoconf/oldnames.m4: this.
5856 * acspecific.m4: Rename as...
5857 * lib/autoconf/specific.m4: this.
5858 * actypes.m4: Rename as...
5859 * lib/autoconf/types.m4: this.
5860 * autoconf.m4: Rename as...
5861 * lib/autoconf/autoconf.m4: this.
5863 * m4sugar.m4: Rename as...
5864 * lib/m4sugar/m4sugar.m4: this.
5865 * m4sh.m4: Rename as...
5866 * lib/m4sugar/m4sh.m4: this.
5868 * tests/atgeneral.m4: Rename as...
5869 * lib/autotest/general.m4: this.
5871 * acfunctions: Rename as...
5872 * lib/autoscan/functions: this.
5873 * acheaders: Rename as...
5874 * lib/autoscan/headers: this.
5875 * acidentifiers: Rename as...
5876 * lib/autoscan/identifiers: this.
5877 * aclibraries: Rename as...
5878 * lib/autoscan/libraries: this.
5879 * acmakevars: Rename as...
5880 * lib/autoscan/makevars: this.
5881 * acprograms: Rename as...
5882 * lib/autoscan/programs: this.
5884 2001-08-01 Akim Demaille <akim@epita.fr>
5886 * doc/autoconf.texi: Moving/deleting open files is not portable.
5887 Portability issues for `.' (source), and more information about sed.
5889 2001-07-25 Steven G. Johnson <stevenj@alum.mit.edu>
5891 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris),
5892 which has a special meaning and is not a reference to libibmil.a.
5893 Reported by Matteo Frigo.
5895 2001-07-25 Pavel Roskin <proski@gnu.org>
5897 * autom4te.in (mktmpdir): Strip trailing newline from mktemp
5900 2001-07-25 Akim Demaille <akim@epita.fr>
5902 * autoconf.in: Try to define the variables before using them.
5903 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar
5904 instead of `$perllibdir'.
5905 * tests/atconfig.in ($autom4te_perllibdir): Export it.
5907 2001-07-25 Akim Demaille <akim@epita.fr>
5909 * autoconf.in (ac_LF_and_DOT): Remove, unused.
5911 2001-07-24 Akim Demaille <akim@epita.fr>
5913 Let autoconf use autom4te for traces.
5915 * autoconf.in ($task, task trace): Remove, merely pass --trace to
5917 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file.
5918 (Because I found no way for autom4te to accept `-').
5919 * autom4te.in (&Request::request): Beware of M4 builtins.
5920 (END): Don't try to remove the content of an empty dir.
5921 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'.
5922 (&handle_output): Set a default value to `$forbidden'.
5923 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in.
5924 ($autoconf): Pass --debug and --verbose.
5925 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's
5928 2001-07-24 Akim Demaille <akim@epita.fr>
5930 Let autoconf use autom4te to create configure.
5932 * autoconf.in ($automate): New var.
5933 (task script): Use autom4te.
5934 * autom4te.in (File::Spec): Use it.
5936 (&parse_args): --warning is -W, not -w.
5937 Find the top level files.
5938 (&handle_m4): Pass the warnings flags.
5939 Don't report verbosely m4's failures, unless requested.
5940 (&handle_output): Don't complain for forbidden tokens in comments.
5941 Be sure to report all the forbidden tokens within a single line.
5942 (&trace_format_to_m4): Preserve `$_'.
5943 (&handle_traces): Sort the output macros.
5944 (&up_to_date_p): Find the files before trying to get its time stamp.
5946 2001-07-24 Akim Demaille <akim@epita.fr>
5948 * Makefile.am: Ship, build and install Autom4te.
5950 * lib/Autoconf/Struct.pm: New, from Automake 1.5.
5951 * configure.in: Require Perl.
5952 * man/autom4te.in: New.
5954 2001-07-19 Paul Eggert <eggert@twinsun.com>
5956 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in
5957 example, rather than (exit 1); exit (which isn't portable).
5959 2001-07-18 Akim Demaille <akim@epita.fr>
5963 2001-07-18 Akim Demaille <akim@epita.fr>
5965 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN
5966 was run, while they are needed also when it is expanded.
5967 Reported by Nicolas Joly.
5969 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS.
5970 (AC_LANG_PROGRAM(C)): Use it instead of depending upon
5971 AC_F77_DUMMY_MAIN being expanded.
5973 2001-07-18 Akim Demaille <akim@epita.fr>
5975 * configure.in: Bump to 2.51a.
5977 2001-07-17 Akim Demaille <akim@epita.fr>
5981 2001-07-17 Akim Demaille <akim@epita.fr>
5983 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more
5984 Autoconfy: $1 = action-if-found, $2 = action-if-not-found.
5986 2001-07-17 Akim Demaille <akim@epita.fr>
5988 The runtime test for AC_FUNC_GETPGRP fails when prototypes are
5989 used. Well, then use the prototypes when you can, and runtime as
5991 Reported by Artur Frysiak
5993 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New.
5994 (AC_FUNC_GETPGRP): Use it.
5995 First try to compile with 0-ary or 1-ary calls.
5997 2001-07-17 Akim Demaille <akim@epita.fr>
5999 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a
6003 2001-07-17 Akim Demaille <akim@epita.fr>
6005 * Makefile.maint: Sync. with cppi 1.10.
6007 2001-07-17 Akim Demaille <akim@epita.fr>
6009 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when
6010 AC_F77_DUMMY_MAIN has been run.
6011 From Pavel Roskin and Steven G. Johnson.
6013 2001-07-17 Akim Demaille <akim@epita.fr>
6015 * configure.in: Rename as...
6016 * configure.ac: this.
6018 2001-07-17 Akim Demaille <akim@epita.fr>
6020 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix
6023 * Makefile.maint (release-archive-dir): Rename as...
6024 (release_archive_dir): this, so that it can be specialized in
6027 2001-07-14 Akim Demaille <akim@epita.fr>
6029 * configure.in: Bump to 2.50d.
6031 2001-07-14 Akim Demaille <akim@epita.fr>
6034 * Makefile.maint (alpha): Typo.
6036 2001-07-14 Akim Demaille <akim@epita.fr>
6038 * doc/autoconf.texi (Limitations of Make): Macro names and underscore.
6040 2001-07-14 Akim Demaille <akim@epita.fr>
6042 * config/config.guess, config/config.sub, config/texinfo.tex
6043 * doc/standards.texi, doc/make-stds.texi: Update.
6045 2001-07-14 Akim Demaille <akim@epita.fr>
6047 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New.
6049 2001-07-14 Akim Demaille <akim@epita.fr>
6051 * Makefile.maint (maintainer-check): Rename as...
6052 (maintainer-distcheck): this.
6053 (changelog-check, static-check): New.
6056 2001-07-14 Kevin Ryde <user42@zip.com.au>
6058 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort
6059 for CXX is g++, not gcc.
6061 2001-07-14 Akim Demaille <akim@epita.fr>
6063 * doc/autoconf.texi (Files): New subsection.
6065 2001-07-14 Akim Demaille <akim@epita.fr>
6067 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections
6069 (Generic Compiler Characteristics): this.
6070 (C++ Compiler): New subsection.
6072 2001-07-14 Akim Demaille <akim@epita.fr>
6074 * autoscan.in: Use IO::File.
6075 Adjust all the routines to use it.
6076 ($log): New file (autoscan.log).
6077 (output): Dump detailed logs into $log, and a shortened version to
6079 (&scan_makefile): Refine the regexp catching tokens in the code.
6080 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log'
6081 and the `configure.ac' checking feature.
6083 2001-07-12 Akim Demaille <akim@epita.fr>
6085 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'.
6086 Reported by Michael Elizabeth Chastain.
6088 * autoconf.in: Refuse such AWK.
6089 * configure.in: Likewise.
6090 * Makefile.am (acversion.m4): Do not use move-if-change this file
6092 * doc/autoconf.texi (Fortran 77 Compiler): Some typos.
6094 2001-07-10 Jens Petersen <petersen@redhat.com>
6096 * autoscan.in (&scan_makefile): Improve programs regexp to parse
6097 things like "g++", "file.c" and "some-conf" as tokens.
6098 (&scan_file): Match C++ files extensions.
6099 If the filename extension is C++ then ask for c++.
6101 2001-07-05 Steven G. Johnson <stevenj@alum.mit.edu>
6103 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not
6104 AC_TRY_LINK_FUNC, to check whether defining a dummy
6105 main-like routine is needed for linking with F77 libs.
6107 2001-07-05 Pavel Roskin <proski@gnu.org>
6109 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest*
6111 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after
6114 2001-07-05 Akim Demaille <akim@epita.fr>
6116 * Makefile.am (move_if_change): New. Use it instead of `mv'.
6117 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken
6119 Reported by Nicolas Joly.
6121 2001-07-04 Akim Demaille <akim@epita.fr>
6123 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning
6125 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some
6126 warnings from compilers.
6127 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information
6128 for all the compilers, not only GNU. Hence move from here...
6129 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here.
6131 2001-07-04 Akim Demaille <akim@epita.fr>
6133 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R)
6134 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and
6137 2001-07-04 Akim Demaille <akim@epita.fr>
6139 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply
6140 the ``strings.h'' change claimed below.
6142 2001-07-04 Akim Demaille <akim@epita.fr>
6144 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/.
6146 2001-07-04 Akim Demaille <akim@epita.fr>
6148 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6149 strings.h if usable with string.h.
6150 Suggested by Paul Eggert.
6152 2001-07-04 Akim Demaille <akim@epita.fr>
6154 * autoscan.in (&scan_file): Skip FILE if there is FILE.in.
6157 2001-07-03 Akim Demaille <akim@epita.fr>
6159 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES
6162 2001-07-03 Akim Demaille <akim@epita.fr>
6164 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the
6165 compiler, not the preprocessor.
6166 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use
6167 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does
6169 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail
6170 earlier if there are.
6172 2001-07-03 Akim Demaille <akim@epita.fr>
6174 * autoscan.in ($initfile): Remove.
6175 (&find_file): Rename as...
6177 Immediately scan the current file, instead of gathering them, and
6178 later having them handled by &scan_files.
6179 (&scan_files): Merely invoke Find::File.
6182 2001-07-02 Akim Demaille <akim@epita.fr>
6184 * autoscan.in: Formatting changes, matching the invocation order.
6185 (File::Find): Use it instead of Perl 4's `find.pl'.
6186 (&wanted): Rename as...
6189 2001-07-01 Pavel Roskin <proski@gnu.org>
6191 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using
6192 break in the argument to AC_TRY_LINK_FUNC.
6193 (AC_F77_MAIN): Remove conftest* after using break in the
6194 argument to AC_TRY_LINK.
6196 2001-07-01 Steven G. Johnson <stevenj@alum.mit.edu>
6198 Add alternate 'main' routine detection for linking C/C++ with Fortran,
6199 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD.
6201 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a
6202 dummy alternate main is required even if the user provides her own
6204 (AC_F77_MAIN): New macro to detect whether it is possible to
6205 provide an alternate 'main' function name, using the 'main' from
6206 the Fortran libraries.
6207 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that
6208 cross-language link tests can be performed successfully.
6209 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS
6210 after $LIBS, for consistency; this should be the general rule since
6211 the user may want to link to Fortran libraries that require $FLIBS.
6212 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN.
6214 2001-06-29 Pavel Roskin <proski@gnu.org>
6216 * atgeneral.m4 (AT_CHECK): Add a newline to the end of
6217 at-stdout and at-stderr instead of removing the newline
6218 from the echo output, which is not guaranteed to work.
6220 2001-06-28 Jens Petersen <petersen@redhat.com>
6222 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to
6223 confdefs.h when non-zero.
6225 2001-06-28 Akim Demaille <akim@epita.fr>
6227 * configure.in: Bump to 2.50c.
6229 2001-06-26 Akim Demaille <akim@epita.fr>
6233 2001-06-26 Akim Demaille <akim@epita.fr>
6237 2001-06-25 Pavel Roskin <proski@gnu.org>
6239 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more
6240 argument, AUTOCONF-FLAGS.
6241 * tests/mktests.sh (update_exclude_list): Add
6242 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3.
6243 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and
6244 AC_FUNC_WAIT3 with "-W no-obsolete".
6246 2001-06-25 Akim Demaille <akim@epita.fr>
6248 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding.
6250 2001-06-25 Akim Demaille <akim@epita.fr>
6252 * autoscan.in (%macro): Now maps from word to list of macros.
6253 (&init_tables): Die when a word which is already handled by
6254 explicit macros is mapped to the default macro.
6255 (&print_unique): Remove, inlined in...
6256 (&output_kind): here.
6257 (File::Basename): Use it.
6258 (&output): Sort the CONFIG_FILES.
6259 * acheaders: Normalize.
6260 * acfunctions: Likewise.
6262 2001-06-25 Akim Demaille <akim@epita.fr>
6264 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
6265 characteristics in the logs.
6266 Suggested by Mo DeJong.
6268 2001-06-24 Akim Demaille <akim@epita.fr>
6270 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)
6271 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated.
6272 * doc/autoconf.texi (Autoconf 2.13): New section.
6274 2001-06-24 Akim Demaille <akim@epita.fr>
6276 * autoconf.in (Task traces): Separate the error messages from the
6277 traces to improve robustness.
6279 2001-06-23 Akim Demaille <akim@epita.fr>
6281 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of
6282 three as failures are unlikely, and speed matters.
6284 2001-06-23 Akim Demaille <akim@epita.fr>
6286 * doc/autoconf.texi (Redefined M4 Macros): New.
6288 2001-06-23 Akim Demaille <akim@epita.fr>
6290 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
6291 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
6294 2001-06-23 Paolo Bonzini <bonzini@gnu.org>
6296 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of
6297 config.status targets to after the evaluation of the INIT-CMDS.
6298 Double quote config.status targets (used to be single quoted).
6300 2001-06-23 Akim Demaille <akim@epita.fr>
6302 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS):
6303 Check the content of the created file.
6304 Check the ./config.status command line invocation.
6306 2001-06-23 Akim Demaille <akim@epita.fr>
6308 * tests/foreign.at (Libtool): Reject prehistoric versions.
6310 2001-06-23 Akim Demaille <akim@epita.fr>
6312 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to
6313 preexisting files matching a.*.
6315 2001-06-23 Akim Demaille <akim@epita.fr>
6317 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on
6319 * doc/autoconf.texi (AC_ARG_VAR): Update.
6321 2001-06-21 Akim Demaille <akim@epita.fr>
6323 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when
6324 precious variables have changed.
6325 * tests/torture.at (AC_ARG_VAR): Adjust.
6327 2001-06-21 Akim Demaille <akim@epita.fr>
6329 ./configure --program-suffix=foo produces `transform=s,$$,foo,;',
6330 but some sed choke on multiple `;', and other tools (e.g.,
6331 Automake), include the separator themselves.
6333 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'.
6335 2001-06-19 Tim Van Holder <tim.van.holder@pandora.be>
6337 * doc/autoconf.texi (Functions Portability): Rename as...
6338 (Function Portability): this.
6339 (Function Portability): Document potential problems with unlink().
6341 2001-06-19 Paul Eggert <eggert@twinsun.com>
6343 * NEWS, doc/autoconf.texi: Document quadrigraphs.
6345 2001-06-18 Akim Demaille <akim@epita.fr>
6347 * acfunctions.m4 (AC_FUNC_FORK): Fix typos.
6349 2001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
6351 * acfunctions.m4: (AC_FUNC_VFORK) rename as...
6352 (_AC_FUNC_VFORK): this.
6353 Remove AC_DEFINEs and don't guess cross-compilation values.
6354 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub.
6355 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to
6356 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if
6358 Guess values if cross-compiling, but warn.
6359 * acfunctions: Add AC_FUNC_FORK.
6360 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define
6361 and vfork appropriately.
6363 2001-06-18 Akim Demaille <akim@epita.fr>
6365 * doc/autoconf.texi (Functions Portability): New section.
6367 2001-06-18 Akim Demaille <akim@epita.fr>
6369 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set
6371 Suggested by Andreas Schwab.
6373 2001-06-18 Akim Demaille <akim@epita.fr>
6375 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID)
6376 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)
6377 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT)
6378 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT.
6379 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE,
6380 and either AC_LANG_SOURCE or AC_LANG_PROGRAM.
6381 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or
6384 2001-06-18 Akim Demaille <akim@epita.fr>
6386 * doc/autoconf.texi (ms): New index.
6387 (Macro Index): Rename as...
6388 (Autoconf Macro Index): this.
6389 (M4 Macro Index): New appendix.
6390 (Programming in M4): New chapter.
6391 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow.
6392 (Quoting): Rename as...
6393 (M$ Quotation): this.
6394 Be part of `Programming in M4).
6396 2001-06-18 Nicolas Joly <njoly@pasteur.fr>
6398 * tests/torture.at (AC_ARG_VAR): Set variables and export them
6399 in separate statements for compatibility with Tru64 v5.1.
6401 2001-06-17 Akim Demaille <akim@epita.fr>
6403 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the
6404 current values of the precious variables, not the previously
6406 Pass precious variables which are set to config.status.
6407 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR.
6408 * tests/torture.at (AC_ARG_VAR): New.
6410 2001-06-15 Paul Eggert <eggert@twinsun.com>
6412 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and
6413 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section,
6414 and explain why and how to replace them.
6415 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete.
6416 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise.
6418 2001-06-15 Akim Demaille <akim@epita.fr>
6420 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd.
6421 Reported by Bruno Haible.
6423 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here...
6424 (_AC_ARG_VAR_PRECIOUS): to here.
6426 2001-06-15 Pavel Roskin <proski@gnu.org>
6428 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining
6429 an unused pointer use cast to this type and `if' statement to
6430 avoid warnings from the compiler.
6431 (AC_HEADER_TIME): Likewise.
6432 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member
6433 in `if' statement to avoid warnings from the compiler. Declare
6434 ac_aggr static to avoid the need to initialize it.
6436 2001-06-14 Akim Demaille <akim@epita.fr>
6438 * doc/autoconf.texi (Portable Shell): Move to follow `Writing
6441 2001-06-13 Akim Demaille <akim@epita.fr>
6443 * m4/missing.m4, config/missing: Updated to Automake 1.4g's.
6444 Suggested by Alexander Mai.
6446 2001-06-13 Akim Demaille <akim@epita.fr>
6448 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard
6449 sys/types.h and sys/stat.h, and check for them.
6451 2001-06-13 Akim Demaille <akim@epita.fr>
6453 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 =
6456 2001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
6458 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11
6459 succeeds and only try adding libdnet upon a failure.
6461 2001-06-12 Akim Demaille <akim@epita.fr>
6463 * autoscan.in (&output_kind): Output the comment only if it exists.
6464 (%kind_comment): Add entry for `programs'.
6465 (&output_programs): Use &output_kind.
6466 (&output_functions, &output_identifiers, &output_headers)
6467 (&output_programs): Inline, and remove.
6469 2001-06-12 Akim Demaille <akim@epita.fr>
6471 * autoscan.in (%kind_comment): New.
6473 (output_functions, output_identifiers, output_headers): Use it.
6475 2001-06-12 Akim Demaille <akim@epita.fr>
6477 * autoscan.in (&print_unique): Take `$kind' and `$word' as
6478 arguments, to factor indirections into `%macro' and `%used'.
6479 (%generic_macro): Fix a typo.
6481 2001-06-12 Akim Demaille <akim@epita.fr>
6484 * autoscan.in (@kinds): Add `libraries'.
6485 Use `@kinds' instead of hard coded lists.
6486 (%programs, %headers, %identifiers, %makevars, %libraries, %functions):
6487 Remove, replaced by...
6490 2001-06-12 Akim Demaille <akim@epita.fr>
6492 * autoscan.in (%functions_macros %headers_macros)
6493 (%identifiers_macros %programs_macros %makevars_macros): Remove,
6497 2001-06-11 Raja R Harinath <harinath@cs.umn.edu>
6499 * aclang.m4 (AC_NO_EXECUTABLES): Override
6500 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS.
6502 2001-06-11 Akim Demaille <akim@epita.fr>
6504 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their
6506 Reported by Andreas Schwab.
6508 2001-06-11 Akim Demaille <akim@epita.fr>
6510 * Makefile.am, Makefile.maint: Typos.
6512 2001-06-09 Akim Demaille <akim@epita.fr>
6514 * doc/autoconf.texi (Here-Documents): New section, gathering
6515 documentation about here-documents.
6516 Use `href', not `uref', and other changes.
6518 2001-06-09 Akim Demaille <akim@epita.fr>
6520 * doc/autoconf.texi (Portable Shell Programming): Promoted as a
6523 2001-06-09 Akim Demaille <akim@epita.fr>
6525 * doc/autoconf.texi (Limitations of Builtins): Complete the
6526 description of the here-docs penalties with Alexandre Oliva's
6529 2001-06-01 Paul Eggert <eggert@twinsun.com>
6531 * doc/autoconf.texi: Talk about here documents and speedups.
6532 Do not use "echo" on arbitrary strings.
6533 Spell "here-documents" consistently with the standard.
6535 2001-06-09 Akim Demaille <akim@epita.fr>
6537 * doc/autoconf.texi (Concept Index): Introduce it.
6538 Regenerate the menus.
6540 2001-06-09 Akim Demaille <akim@epita.fr>
6542 * Makefile.maint, GNUmakefile: New, from Jim Meyering.
6543 * config/prev-version.txt: New.
6544 * config/move-if-change: New, for GNU libc.
6546 2001-06-06 Pavel Roskin <proski@gnu.org>
6548 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
6550 2001-06-06 Akim Demaille <akim@epita.fr>
6552 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
6553 properly when $1 is not a literal.
6554 Fixes PR Autoconf/187, reported by Bram Moolenaar.
6556 2001-06-06 Akim Demaille <akim@epita.fr>
6558 Invoking AC_COPYRIGHT before AC_INIT fails.
6560 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
6561 * acgeneral.m4 (_m4_divert(VERSION_FSF))
6562 (_m4_divert(VERSION_USER)): New.
6563 (AC_COPYRIGHT): $2 is the diversion to use.
6564 (_AC_INIT_COPYRIGHT): Use the FSF diversion.
6565 (AC_INIT): Remove dead comments as now it's commutative.
6567 2001-06-06 Akim Demaille <akim@epita.fr>
6569 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect
6572 2001-06-05 Akim Demaille <akim@epita.fr>
6574 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
6576 `*dir' variables cannot be NONE.
6577 Reported by Mark Kettenis.
6579 2001-06-05 Paul Eggert <eggert@twinsun.com>
6581 * doc/autoconf.texi: Fix references to Solaris and SunOS versions.
6583 2001-06-04 Akim Demaille <akim@epita.fr>
6585 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
6586 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
6587 (AC_TR_SH): Move as...
6588 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
6589 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
6591 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
6592 (_AS_TR_SH_PREPARE): New.
6593 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
6594 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
6596 2001-06-02 Akim Demaille <akim@epita.fr>
6598 * Makefile.am (.m4.m4f): Pass the options first.
6599 Fixes PR autoconf/182.
6601 2001-06-02 Nathan Sidwell <nathan@codesourcery.com>
6603 GNU getopt, when POSIXLY_CORRECT does not permute options and
6604 arguments. So pass the options first.
6605 Fixes PR autoconf/184.
6607 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables.
6608 (run_m4): Remove files.
6610 Update remainder of script to use them.
6611 (for warning in): Do not use a literal comma as it will not be
6614 2001-06-02 Christian Marquardt <marq@gfz-potsdam.de>
6616 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
6617 Fortran compilers to check.
6618 (_AC_PROG_F77_V): Add '-###' as a possible option to print
6619 information on library and object files.
6620 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
6623 2001-06-02 Akim Demaille <akim@epita.fr>
6625 * autom4te.in (Request::@request): Declare with `vars', not `my',
6626 as it prevents updates via `do FILENAME'.
6628 2001-06-02 Akim Demaille <akim@epita.fr>
6630 * configure.in (standards_texi): Remove, dead code.
6632 2001-06-02 Akim Demaille <akim@epita.fr>
6636 2001-06-02 Pavel Roskin <proski@gnu.org>
6638 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
6639 for signals other than 0 - exit with code 1.
6640 * m4sh.m4 (AS_TMPDIR): Likewise.
6641 * autoconf.in: Likewise. Also don't rely on exit == exit $?.
6642 * autoheader.in: Likewise.
6643 * autoreconf.in: Likewise.
6644 * tests/torture.at (Signal handling): New test for the above.
6646 2001-06-01 Akim Demaille <akim@epita.fr>
6648 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
6651 2001-05-31 Akim Demaille <akim@epita.fr>
6653 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
6654 Add copyright and comments.
6655 * acheaders: Add stdint.h.
6656 Suggested by Paul Eggert.
6658 2001-05-31 Akim Demaille <akim@epita.fr>
6660 * atgeneral.m4 (AT_INIT): Use $SHELL.
6661 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
6663 2001-05-31 Akim Demaille <akim@epita.fr>
6665 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
6667 From Paul Eggert and Lars Hecking.
6669 2001-05-31 Akim Demaille <akim@epita.fr>
6671 * tests/base.at: Adjust line numbers in error messages.
6673 2001-05-31 Akim Demaille <akim@epita.fr>
6675 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure
6676 to emit the bangshe line.
6677 Reported by David Carter.
6679 2001-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
6681 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of
6682 Fortran (95) compilers to check.
6684 2001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr>
6686 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf
6689 2001-05-23 Pavel Roskin <proski@gnu.org>
6691 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since
6692 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
6693 (AC_PROG_CXXCPP): Likewise.
6695 2001-05-22 Akim Demaille <akim@epita.fr>
6697 * config: New directory.
6698 * configure.in: AC_CONFIG_AUX_DIR it.
6699 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust.
6701 2001-05-22 Akim Demaille <akim@epita.fr>
6703 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
6704 * autoupdate.in: Specify the Emacs mode.
6705 * acversion.m4.in: Rename as...
6706 * acversion.m4: this.
6707 * tests/Makefile.am (CLEANFILES): More garbage.
6709 2001-05-22 Akim Demaille <akim@epita.fr>
6711 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh:
6713 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in:
6716 2001-05-21 Akim Demaille <akim@epita.fr>
6718 * configure.in: Bump to 2.50a.
6722 Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
6724 This file is part of GNU Autoconf.
6726 GNU Autoconf is free software; you can redistribute it and/or modify
6727 it under the terms of the GNU General Public License as published by
6728 the Free Software Foundation; either version 2, or (at your option)
6731 GNU Autoconf is distributed in the hope that it will be useful,
6732 but WITHOUT ANY WARRANTY; without even the implied warranty of
6733 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6734 GNU General Public License for more details.
6736 You should have received a copy of the GNU General Public License
6737 along with autoconf; see the file COPYING. If not, write to
6738 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
6739 Boston, MA 02111-1307, USA.