1 2001-05-21 Akim Demaille <akim@epita.fr>
5 2001-05-19 Akim Demaille <akim@epita.fr>
7 * tests/tools.at: s/undefined macro/possibly undefined macro/.
9 2001-05-19 Akim Demaille <akim@epita.fr>
11 * acgeneral.m4 (AC_SEARCH_LIBS): Unobfuscate.
13 2001-05-19 Akim Demaille <akim@epita.fr>
15 * autoconf.sh: s/undefined macro/possibly undefined macro/.
17 2001-05-19 Akim Demaille <akim@epita.fr>
19 * doc/autoconf.texi (Particular Programs): Explain the
20 `AC_PROG_LEX invoked multiple times' message.
21 Reported by Rainer Orth as PR Autoconf/177.
23 2001-05-19 Akim Demaille <akim@epita.fr>
25 * autoheader.sh: Fix file names used in error messages.
26 Reported by Rainer Orth as PR Autoconf/178.
28 2001-05-19 Akim Demaille <akim@epita.fr>
30 * tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
33 2001-05-19 Akim Demaille <akim@epita.fr>
35 * tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
36 AT_CHECK_MACRO since it skips tests embedded in configure.ac.
37 Remove files which might have been created when invoking the
39 Reported by Nicolas Joly.
41 2001-05-14 Pavel Roskin <proski@gnu.org>
43 * doc/autoconf.texi (Shellology): Document a quirk in
44 here-document handling on OpenBSD.
46 2001-05-11 Akim Demaille <akim@epita.fr>
48 * aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
49 `maybe' strategy: first try cpp's exit status, then its stderr.
50 (AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
51 * tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
52 Remove unrelated code.
54 2001-05-10 Akim Demaille <akim@epita.fr>
56 * tests/compile.at (AC_PROG_CPP via CC): New.
59 2001-04-27 Akim Demaille <akim@epita.fr>
61 If AC_PROG_CC is invoked but not AC_PROG_CPP, then CPPFLAGS is not
63 Reported by Ralf Corsepius.
65 * aclang.m4 (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS): New.
66 (AC_PROG_CC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP)
67 (AC_PROG_F77): Use them.
69 2001-04-27 Akim Demaille <akim@epita.fr>
71 * aclang.m4 (_AC_PROG_PREPROC_WORKS): Rename and extend as...
72 (_AC_PROG_PREPROC_WORKS_IFELSE): this.
74 (AC_PROG_CPP, AC_PROG_CXXCPP): Use it.
75 Reported by Daniel Carroll.
77 2001-04-26 Pavel Roskin <proski@gnu.org>
79 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use two backslashes
80 before double quotes in the copyright notice, since the native
81 OpenBSD shell removes single backslashes in here-documents with
84 2001-04-25 Nicolas Joly <njoly@pasteur.fr>
86 * acgeneral.m4 (_AC_RUN_IFELSE): Clean `core' files.
88 2001-04-24 Steven G. Johnson <stevenj@alum.mit.edu>
90 * doc/autoconf.texi (The GNU build system): Add this chapter
91 introducing Autoconf+Automake+Libtool, and fix references in the
94 2001-04-24 Akim Demaille <akim@epita.fr>
96 On HP-UX 10 `ranlib --version' creates `./--version'.
97 Reported by Bob Proulx and Jim Meyering.
99 * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Do not invoke the
100 program with --version.
102 2001-04-22 Jim Meyering <meyering@lucent.com>
104 * acfunctions.m4 (AC_FUNC_MEMCMP): Remove `int main () {' and the
105 trailing `}', since AC_LANG_PROGRAM provides them.
107 2001-04-20 Akim Demaille <akim@epita.fr>
109 * configure.in: Bump to 2.49f.
111 2001-04-20 Akim Demaille <akim@epita.fr>
115 2001-04-20 Akim Demaille <akim@epita.fr>
117 * tests/foreign.at (Libtool): Ignore configure's stderr.
119 2001-04-20 Tim Van Holder <tim.van.holder@pandora.be>
121 * acgeneral.m4 (AC_OUTPUT): Close the descriptor before running
122 config.status so config.log is properly created on MS-DOS.
124 2001-04-20 Nicolas Joly <njoly@pasteur.fr>
126 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing
127 or broken autoupdate.
128 * tests/tools.at: Likewise.
129 * tests/Makefile.am (CLEANFILES): Also clean Libtool files.
131 2001-04-18 Tim Van Holder <tim.van.holder@pandora.be>
133 * acgeneral.m4 (_AC_INIT_SRCDIR): Handle
134 backslashes (DOS paths) for $ac_confdir and $srcdir.
136 2001-04-17 Akim Demaille <akim@epita.fr>
140 * acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Remove, replace with
141 inline setting up of AS_MESSAGE_FD.
142 (AS_MESSAGE_LOG_FD): Do not define, so that AS_MESSAGE does not
143 output in it before...
144 (_AC_INIT_CONFIG_LOG): here, which is run after the handling of
147 2001-04-18 Steven G. Johnson <stevenj@alum.mit.edu>
149 * doc/autoconf.texi: Replace documentation for obsolete
150 AC_LIBOBJ_DECL with clearer documentation for AC_LIBSOURCE
151 and AC_LIBSOURCES, improving the AC_LIBOBJ docs as well.
153 2001-04-17 Steven G. Johnson <stevenj@alum.mit.edu>
155 * doc/autoconf.texi: Fixes for punctuation and grammar.. Replace
156 "..." with "@dots{}" except when "..." is in literal code.
158 2001-04-17 Nicolas Joly <njoly@pasteur.fr>
160 * acgeneral.m4 (_AC_LINK_IFELSE): Be sure to remove temporary
161 `conftest.$ac_objext', as some compilers may forget it.
163 2001-04-16 Pavel Roskin <proski@gnu.org>
165 * acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
166 AC_PACKAGE_VERSION only if they are defined.
167 (_AC_OUTPUT_CONFIG_STATUS): Likewise.
169 2001-04-15 Lars J. Aas <larsa@sim.no>
171 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Alter response on
172 `config.status --version' to be more compliant with the GNU Coding
175 2001-04-13 Steven G. Johnson <stevenj@alum.mit.edu>
177 * doc/autoconf.texi: Still more minor modifications for clarity,
178 felicity, and grammar.
180 2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
182 * doc/autoconf.texi (AC_F77_WRAPPERS): Mention C++ as well as C.
183 In the example, don't #ifdef F77_FUNC before using it, as that
184 would push any errors to link-time rather than compile-time; note
185 that the user can test this to invoke alternative behavior.
187 2001-04-11 Akim Demaille <akim@epita.fr>
189 * autoconf.sh (Task script): Be sure that `forbidden.rx' and
190 `allowed.rx' exist when AWK loads then.
191 Reported by Rainer Orth.
193 2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
195 * doc/autoconf.texi: A few more minor modifications for clarity,
196 grammar, and formatting.
198 2001-04-10 Lars J. Aas <larsa@sim.no>
200 * Makefile.am: AC_SUBST fixes for PACKAGE_NAME, VERSION, PACKAGE...
201 * configure.in: Moved here.
202 Suggested by Akim Demaille and Raja R Harinath.
204 2001-04-10 Lars J. Aas <larsa@sim.no>
206 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Re-enable logging to
207 `config.log' from `config.status', but delay logging till after
208 command line option processing.
210 2001-04-10 Lars J. Aas <larsa@sim.no>
212 * autoupdate.in (print_usage): print "\ at end of line does not
213 work as expected, so change block to here-doc instead.
214 (print_version): Same.
216 2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
218 * doc/autoconf.texi: Replace all tab characters with (8) spaces,
219 lest the formatting of example code, etcetera, be messed up.
221 2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
223 * doc/autoconf.texi: Rephrase various parts for clarity, felicity,
226 2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
228 * doc/autoconf.texi: Clean up cache documentation: Document
229 --config-cache/-C option, and recommend instead of --cache-file.
230 Indent example AC_CACHE_VAL macros for clarity. Add new
231 "Cache Checkpointing" section for AC_CACHE_SAVE (and
232 AC_CACHE_LOAD), so that the "Cache Files" section focuses solely
233 on features visible to end-users (e.g. to better fit the cross
234 references). Various minor rewordings for clarity, felicity,
237 2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
239 * doc/autoconf.texi: Revert to "configure.in" in the history, since
240 "configure.ac" wasn't used in the past, and in any case it is
241 probably a good idea to preserve this section verbatim.
243 2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
245 * AUTHORS: Fix grammar.
247 2001-04-09 Lars J. Aas <larsa@sim.no>
249 * Makefile.am: Manual addition of @PACKAGE@ substitution variable
250 needed by dist rules. Added explanatory comment.
251 Problem reported and comment suggested by Raja R Harinath.
253 2001-04-06 Lars J. Aas <larsa@sim.no>
255 * Makefile.am: Manual addition of @VERSION@ substitution variable
256 as a temporary Automake fix. Reported by Raja R Harinath.
258 2001-04-04 Lars J. Aas <larsa@sim.no>
260 * acgeneral (_AC_INIT_CONFIG_LOG): New macro for setting up the
262 (_AC_INIT_DEFAULTS_FDS): Log to /dev/null instead of config.log.
263 (AC_INIT): Invoke _AC_INIT_CONFIG_LOG after _AC_INIT_VERSION.
265 2001-04-04 Lars J. Aas <larsa@sim.no>
267 * acgeneral.m4 (_AC_INIT_DEFAULTS): Produce better version
268 information for config.log header.
269 (_AC_INIT_VERSION): Produce better version information for
270 `configure --version'.
272 2001-03-30 Steven G. Johnson <stevenj@alum.mit.edu>
274 * doc/autoconf.texi: Use "invalid" instead of "illegal," as
275 suggested by the GNU coding standards.
277 2001-03-30 Tim Van Holder <tim.van.holder@pandora.be>
279 * m4sh.m4 (AS_BASENAME): New.
280 (AS_SHELL_SANITIZE): Set `$as_me'.
281 * acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
282 * tests/atgeneral.m4: Likewise.
283 (AT_INIT): Use $PATH_SEPARATOR for walking the path.
284 * autoconf.sh: Be DOS-friendly when setting as_me and M4.
285 Add quotes to support spaces in $tmp.
286 Work around problem in DJGPP port of awk by using a temporary file.
287 * autoheader.sh: Be DOS-friendly when setting as_me.
288 * autoreconf.sh: Be DOS-friendly when setting as_me, dir and
291 2001-03-27 Lars J. Aas <larsa@sim.no>
293 * acgeneral.m4 (AC_INIT_VERSION): Improved version information string
294 for `configure --version'.
296 2001-03-27 Akim Demaille <akim@epita.fr>
298 * autoheader.sh (config_h): Be robust to new lines when extracting
299 the first argument of AC_CONFIG_HEADERS.
300 Reported by Lars J. Aas.
302 2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
304 * doc/autoconf.texi: Minor tweaks.
306 2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
308 * Makefile.am, configure.in: autoupdate is a Perl script.
310 2001-03-20 Akim Demaille <akim@epita.fr>
312 * doc/autoconf.texi (Limitations of Usual Tools): Some about
314 From Jim Meyering, Volker Borchert, and Peter Eisentraut.
316 2001-03-20 Akim Demaille <akim@epita.fr>
318 * tests/foreign.at (Libtool): Don't skip 1.3.5.
319 Invoke AC_CANONICAL_SYSTEM ---for some reason AC_CANONICAL_HOST is
320 not enough for 1.3.5.
323 2001-03-20 Akim Demaille <akim@epita.fr>
325 * tests/atgeneral.m4: s/Testing suite/Test suite/g.
327 (AT_INIT): Adjust the error message on invalid options.
328 * tests/foreign.at (Libtool): Skip Libtool 1.3 too.
330 2001-03-20 Kevin Ryde <user42@zip.com.au>
332 * doc/autoconf.texi: A couple of grammatical tweaks.
334 2001-03-19 Akim Demaille <akim@epita.fr>
336 * configure.in: Bump to 2.49e.
338 2001-03-19 Akim Demaille <akim@epita.fr>
342 2001-03-19 Akim Demaille <akim@epita.fr>
344 * tests/tools.at (AWK portability): Don't rely on `empty'.
346 2001-03-19 Akim Demaille <akim@epita.fr>
348 * tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
349 Reported by Nicolas Joly.
351 2001-03-19 Akim Demaille <akim@epita.fr>
353 * acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the
354 _AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix.
355 Reported by Harlan Stenn, and fixed by Jim Meyering.
357 2001-03-19 Akim Demaille <akim@epita.fr>
359 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code
360 `/bin/sh', use $SHELL.
363 2001-03-19 Akim Demaille <akim@epita.fr>
365 * acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
368 2001-03-19 Akim Demaille <akim@epita.fr>
370 * tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
371 do it only when diffing `/dev/null' is not supported.
372 And use `at-devnull' instead of `empty'.
374 2001-03-13 Akim Demaille <akim@epita.fr>
376 * autoscan.pl, autoupdate.in: Use `use' instead of `require' to
377 require some version of Perl, so that the test is performed at
378 compile time, not run time.
379 Suggested by Nicolas Joly.
381 2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
383 * tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR.
384 * tests/atconfig.in: Set PATH_SEPARATOR to the proper
385 path separator. Set SHELL here...
386 * tests/atgeneral.m4: ... instead of here. Use $PATH_SEPARATOR
387 when setting AUTOTEST_PATH. Don't default tests to "all" before
388 deciding whether the help text is needed.
389 * tests/semantics.at: Use the correct path separator.
391 2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
393 * doc/autoconf.texi: Expand section on DOS issues.
394 Add link to the `doschk' package. Fix minor typo.
395 Clean up white spaces.
397 2001-03-13 Steven G. Johnson <stevenj@alum.mit.edu>
399 * aclang.m4 (AC_PROG_F77_C_O): define F77_NO_MINUS_C_MINUS_O
400 when test fails, not when it succeeds(!).
402 2001-03-13 Akim Demaille <akim@epita.fr>
404 * tests/tools.at (AWK portability): Use AT_CHECK to check for GNU
405 AWK so that there is always a AT_CHECK between
407 Reported by Nicolas Joly.
409 2001-03-13 Akim Demaille <akim@epita.fr>
411 * tests/tools.at: Be sure to remove configure.ac~.
413 2001-03-13 Raja R Harinath <harinath@cs.umn.edu>
415 * autoupdate.in (File::Basename): Use package.
416 (%ac_macros, %au_macros): Save only base filenames.
418 2001-03-08 Akim Demaille <akim@epita.fr>
420 * acgeneral.m4 (AC_OUTPUT): In the AU_DEFUN definition, don't try
421 to issue an obsolete message, it can't work for macros being
422 defined both with AC_DEFUN and AU_DEFUN.
423 Hence do it in the AC_DEFUN definition.
425 2001-03-06 Pavel Roskin <proski@gnu.org>
427 * tests/base.at (AC_TRY_*): Escape `^' - it's a pipe command
428 separator on Tru64 v5.1.
429 Reported by Nicolas Joly.
431 2001-03-05 Akim Demaille <akim@epita.fr>
433 * tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
434 at-check-line for removal.
435 Check for the presence of at-check-line only when $at_test was
439 2001-03-04 Pavel Roskin <proski@gnu.org>
441 * tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
442 in the error message.
444 2001-03-02 Pavel Roskin <proski@gnu.org>
446 * acgeneral.m4 (_AC_INIT_PREPARE): Quote `$$*' correctly.
448 2001-02-28 Akim Demaille <akim@epita.fr>
450 * tests/atgeneral.m4 (AT_INIT): Warn when at-check-line is
452 * tests/tools.at (Syntax of the scripts): Use AT_CHECK to test
453 /bin/sh -n. Exit 77 on failure.
454 Reported by Harlan Stenn.
456 2001-02-28 Akim Demaille <akim@epita.fr>
458 * acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
459 of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
460 (fails), and then `/foo' which might succeed, resulting in
461 believing `;' is the right path separator.
463 2001-02-26 Akim Demaille <akim@epita.fr>
465 * acgeneral.m4 (AH_VERBATIM, AH_TEMPLATE): New, use AS_ESCAPE, not
467 (_AH_VERBATIM_OLD, _AH_TEMPLATE_OLD): New, used for bugward
469 (AC_DEFINE, AC_DEFINE_UNQUOTED): here.
471 2001-02-26 Pavel Roskin <proski@gnu.org>
473 * autoupdate.in (&mktmpdir): Strip the newline from the output
476 2001-02-26 Pavel Roskin <proski@gnu.org>
478 * man/Makefile.am: autoupdate.1 now depends on autoupdate.in.
480 2001-02-25 Tim Van Holder <tim.van.holder@pandora.be>
482 * autoupdate.in: Support DOS paths. Initialize $tmp to
483 avoid warnings. Default $autoconf to 'autoconf'.
485 2001-02-25 Akim Demaille <akim@epita.fr>
487 * autoupdate.in (&END): Try to preserve the exit status.
488 Use backquotes where more readable.
489 Internal details should be dumped when $debug, not when $verbose.
491 2001-02-25 Akim Demaille <akim@epita.fr>
493 * autoupdate.in (&mktmpdir): New.
495 (&parse_args): Handle -d and -l.
497 2001-02-25 Akim Demaille <akim@epita.fr>
499 * acgeneral.m4 (_AC_INIT_PREPARE): Remove conf$$* on exit.
500 * m4sh.m4 (_AS_LN_S_PREPARE, _AS_BROKEN_TEST_PREPARE):
501 s/conftest/conf$$/ to avoid race conditions.
504 2001-02-25 Akim Demaille <akim@epita.fr>
506 * acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
507 Restore the IFS earlier.
508 Suggested by Tim Van Holder.
510 2001-02-25 Akim Demaille <akim@epita.fr>
512 * m4sh.m4 (_AS_TEST_PREPARE): Rename as...
513 (_AS_BROKEN_TEST_PREPARE): this.
514 (_AS_TEST_PREPARE): New dummy but working version of this macro.
515 * acspecific.m4 (AC_PROG_INSTALL): Use AS_EXECUTABLE_P.
517 2001-02-25 Akim Demaille <akim@epita.fr>
519 * autoupdate.in (&parse_args): Support `-'.
521 2001-02-25 Akim Demaille <akim@epita.fr>
523 * autoupdate.in: Less Bournisms, more Wallisms.
525 2001-02-23 Jim Meyering <meyering@lucent.com>
527 * acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Fix typo: s/;/:/
528 * acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Revert that change.
531 2001-02-22 Akim Demaille <akim@epita.fr>
533 * doc/autoconf.texi: Typos and formatting changes.
535 2001-02-21 Lars J. Aas <larsa@sim.no>
537 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use `AS_EXIT(0)' instead
538 of `exit 0' when exiting config.status.
540 2001-02-21 Tim Van Holder <tim.van.holder@pandora.be>
542 * doc/autoconf.texi: Add new node discussing issues related to
543 file systems (DOS, specifically). Document DJGPP's bash's special
544 handling of $PATH_SEPARATOR.
546 2001-02-21 Akim Demaille <akim@epita.fr>
548 * autoupdate.in: New. Replaces autoupdate.sh.
550 2001-02-21 Akim Demaille <akim@epita.fr>
552 * autoscan.pl (&find_configure_ac): New.
554 2001-02-20 Paul Martinolich <martinol@datasync.com>
556 * autoscan.pl (check_configure_ac): Pretty missing macro warnings
559 2001-02-19 Paul Eggert <eggert@twinsun.com>
561 * aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
562 compiler doesn't support 'static inline'. This is needed for
563 Encore Umax-3.0.9.16b.
565 2001-02-19 Akim Demaille <akim@epita.fr>
567 * aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
568 (_AC_COMPILER_EXEEXT_WORKS): this. Use the `a.out' or `a.exe'
569 left by _AC_COMPILER_EXEEXT_DEFAULT to check if the compiler works.
570 (_AC_COMPILER_EXEEXT_CROSS): Extract from the above macro.
571 (_AC_COMPILER_EXEEXT): Use them.
572 Adjust all the compiler looking macros to check for EXEEXT
573 *first*, then OBJEXT.
574 Set ac_exeext yourself.
575 (_AC_COMPILER_EXEEXT_O): Don't.
577 2001-02-07 Pavel Roskin <proski@gnu.org>
579 * tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
580 part of the second argument to AT_DATA.
581 * tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
582 in a call to _AT_CHECK_AC_MACRO.
583 (AC_PROG_CPP without warnings): Likewise.
585 2001-02-11 Jim Meyering <meyering@lucent.com>
587 Ensure that even `autoscan --version' fails when e.g.,
588 writing to a full disk.
589 * autoscan.pl (END): New function.
591 * autoscan.pl: Misc. clean-up:
592 Move declarations of variables into the scope where they're used.
593 Use `qw'. Don't use `$_'.
595 2001-02-06 Paul Eggert <eggert@twinsun.com>
597 * acspecific.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES): Don't reject
598 C++ compilers that are masquerading as C compilers, and that
599 incorrectly reject large integers.
601 2001-02-07 Pavel Roskin <proski@gnu.org>
603 * acgeneral.m4 (AC_OUTPUT): Remove $(srcdir), ${srcdir} and
604 @srcdir@ from VPATH if srcdir is "." and replace blank VPATH
605 lines with empty lines to preserve line numbers.
606 Original version by Derek Price.
608 2001-02-07 Derek Price <derek.price@openavenue.com>
610 * acgeneral.m4 (_AC_LIBOBJ): Call AC_LIBSOURCE with '.c' extension
611 appended to function name.
613 2001-02-06 Akim Demaille <akim@epita.fr>
615 * acgeneral.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR, AC_RUN_LOG): New.
616 (_AC_EVAL_STDERR, _AC_EVAL): Use them.
617 (_AC_INIT_PREPARE_FS_SEPARATORS): Use AC_RUN_LOG.
619 2001-02-05 Derek Price <derek.price@openavenue.com>
621 * autoheader.sh: Only set config_h for the first call to
624 2001-02-05 Jim Meyering <meyering@lucent.com>
626 * acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
629 2001-02-05 Akim Demaille <akim@epita.fr>
631 acfunctions.m4 was still using the old AC_LIBOBJ_DECL.
632 Reported by Derek R. Price.
634 * tests/semantics.at (AC_REPLACE_FUNCS): New test.
635 * acfunctions.m4 (AC_REPLACE_FUNCS, _AC_LIBOBJ_ALLOCA): Use
638 2001-02-03 Pavel Roskin <proski@gnu.org>
640 * tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
641 "else". Separate commands inside AC_TRY_COMMAND with semicolons.
644 2001-02-03 Akim Demaille <akim@epita.fr>
646 * acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Removed, dead code.
648 2001-02-03 Akim Demaille <akim@epita.fr>
650 * acfunctions.m4 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK): Use
653 2001-02-03 Akim Demaille <akim@epita.fr>
655 * acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
656 (AC_LIBSOURCES, AC_LIBSOURCE): New.
658 2001-02-02 Akim Demaille <akim@epita.fr>
660 * tests/base.at (AC_TRY_COMMAND): Fix the test.
663 The following patch went into Autoconf between the two previous
666 * acgeneral.m4 (AC_TRY_COMMAND): Use the old code, using a tmp
667 variable, to recover multiline robustness.
668 Reported by Tim Van Holder.
669 * tests/base.at (AC_TRY_COMMAND): New.
671 2001-02-02 Pavel Roskin <proski@gnu.org>
673 * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Rename all occurences
674 of ac_try to ac_mid to avoid a name clash.
676 2001-02-02 Pavel Roskin <proski@gnu.org>
678 * autoscan.pl (scan_c_file): When in verbose mode, don't print
679 out hashes common for the whole package. Do it in scan_files()
681 (scan_makefile): Likewise.
682 (scan_sh_file): Likewise.
683 Thanks to Jim Meyering for improved implementation.
685 2001-02-01 Pavel Roskin <proski@gnu.org>
687 * autoreconf.sh: Fix the case when the verbose output was not
688 redirected to stderr as everywhere else.
690 2001-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
692 * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
693 from check for ac_sub_configure.
695 2001-01-30 Akim Demaille <akim@epita.fr>
697 The recent addition of `exit's prototype in confdefs.h causes
698 AC_OUTPUT_MAKE_DEFS to include junky -D switches.
699 Reported by Wolfgang Mueller.
701 * tests/torture.at (#define header templates): Include trash in
703 * tests/atgeneral.at (AT_INIT): Don't expect `find' to support
704 -maxdepth, hence don't use -follow either.
705 Reported by Nicolas Joly.
706 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
707 `quote' section, `p'rint the result.
708 If neither `#define' pattern match, just call `d' to start a new
710 Invoke this sed program with -n.
712 2001-01-30 Akim Demaille <akim@epita.fr>
714 * tests/compile.at: New test.
715 * tests/atspecific.at (AT_CHECK): When given 77 as expected exit
716 status, don't include the `skip' mechanism.
718 2001-01-30 Akim Demaille <akim@epita.fr>
720 * tests/base.at (AC_CACHE_CHECK): Typo and clean up.
723 2001-01-30 Paul Eggert <eggert@twinsun.com>
725 * autoheader.sh: Don't pass a string to 'echo' that might
726 possibly contain backslashes.
728 2001-01-29 Pavel Roskin <proski@gnu.org>
730 Don't use filenames that can be reduced to "conftest" on DOS.
732 * acfunctions.m4 (AC_FUNC_MMAP): Use conftest.mmap, not
734 (AC_FUNC_UTIME_NULL): Use conftest.data, not conftestdata.
735 * acspecific.m4 (AC_PROG_MAKE_SET): Use conftest.make, not
737 (_AC_PATH_X_XMKMF): Use conftest.dir, not conftestdir.
738 * acgeneral.m4 (AC_ARG_PROGRAM): Use conftest.sed, not
740 * m4/sanity.m4: Use conftest.file, not conftestfile.
741 * doc/autoconf.texi (Guidelines for Test Programs): Suggest
742 using conftest.data, not conftestdata.
744 2001-01-29 Akim Demaille <akim@epita.fr>
746 * tests/atgeneral.m4: Don't redirect builtins' stderr as Ultrix
747 hates this: use a subshell.
749 2001-01-29 Assar Westerlund <assar@sics.se>
751 * m4sh.m4 (_AS_TEST_PREPARE): Discard output when testing `test
752 -x' and `test -f' to avoid confusing users with error messages.
753 (AS_MKDIR_P): Invert order of separators in IFS to avoid problem
754 with some shells adding backslash between fields and parsing the
756 * doc/autoconf.texi (Special Shell Variables): Document IFS.
758 2001-01-29 Steven G. Johnson <stevenj@alum.mit.edu>
760 * aclang.m4 (AC_PROG_F77): Improve documentation of the compilers
761 that are tried, add a few new ones (cft77, af77, epcf90, xlf95, g95),
762 and put pgf90 in the right place (before the F95 compilers).
764 2001-01-29 Jim Meyering <meyering@lucent.com>
766 * autoscan.pl: Do scan `configure.ac' when you claim it.
767 From Raja R Harinath.
768 (@kinds): Use `qw', rather than lots of quotes and commas.
769 (%generic_macro): Use single quotes around literals.
770 ($configure_scan): Define global, and use it instead of the literal.
771 Use `warn' in place of `printf STDERR'.
773 2001-01-29 Akim Demaille <akim@epita.fr>
775 * autoscan.pl: `Formatting++' changes: prototypes all the
776 functions, no longer use `&' to call functions as it disables
777 prototype checking, topological sort so that functions are defined
778 before being used, and put an Autoconf like nice comment to
779 describe the functions.
780 (output): Accept a CONFIGURE_SCAN parameter, and open CONF.
782 2001-01-29 Akim Demaille <akim@epita.fr>
784 * acgeneral.m4 (AC_SITE_LOAD): Let config.log know what you load.
786 2001-01-27 Akim Demaille <akim@epita.fr>
788 Follow Tim Van Holder's suggestions for a uniform handling of
791 * m4sh.m4: Stay in `as_', not `ac_'.
792 (_AS_LN_S_PREPARE): Eve out from...
793 * acspecific.m4 (AC_PROG_LN_S): here. Adjust.
794 * m4sh.m4 (AS_LN_S): New.
795 (AS_SHELL_PREPARE): Call _AS_LN_S_PREPARE.
797 2001-01-26 Assar Westerlund <assar@sics.se>
799 * autoreconf.sh (find): Fix precedence.
800 (aclocal): Same as below for autoheader.
802 2001-01-26 Akim Demaille <akim@epita.fr>
804 * autoreconf.sh (autoheader): Run it when there is no template, as
805 there is no risk to override a handwritten template.
806 From Assar Westerlund.
808 2001-01-26 Akim Demaille <akim@epita.fr>
810 * aclang.m4: dnl AC_ARG_VAR's newline.
811 (AC_PROG_CC, AC_PROG_F77, AC_PROG_CXX): AC_ARG_VAR(LDFLAGS).
812 * acgeneral.m4 (AC_CHECK_LIB): Don't do it.
814 2001-01-26 Akim Demaille <akim@epita.fr>
816 * tests/mktests.sh: Handle DOS issues: directory separator, single
817 dot in file names, and one actual bug: when set -e, running
818 (false; true) will of course fail, use (false || true).
821 2001-01-26 Tim Van Holder <tim.van.holder@pandora.be>
823 * tests/Makefile.am (testsuite): Use testsuite.tmp, not
824 testsuite-tmp as temporary file.
826 2001-01-25 Assar Westerlund <assar@sics.se>
828 * autoreconf.sh: Also find configure.in.
830 2001-01-24 Akim Demaille <akim@epita.fr>
832 * configure.in: Bump to 2.49d.
834 2001-01-24 Akim Demaille <akim@epita.fr>
838 2001-01-24 Jim Meyering <meyering@lucent.com>
840 * autoscan.pl (output): Detect/report a close failure.
842 2001-01-24 Akim Demaille <akim@epita.fr>
844 Preserve INSTALL too.
846 * acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
847 computations, and therefore use INSTALL where ac_given_INSTALL
849 (_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
850 here. It's not even used.
852 2001-01-24 Akim Demaille <akim@epita.fr>
854 While preserved in configure, srcdir is trashed in config.status.
855 Reported by Ralf Corsepius.
857 * tests/aclocal.m4 (AC_STATE_SAVE): It is ok to modify
858 CONFIG_STATUS, DEFS, prefix and exec_prefix.
859 It is OK to produce config.* files.
860 * tests/atspecific.m4 (AT_CONFIGURE_AC): Save the env *after*
861 AC_OUTPUT to check that it doesn't break anything by itself.
862 * tests/torture.m4 (srcdir): New test, from Ralf Corsepius.
863 * acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_top_srcdir and ac_srcdir
864 to preserve srcdir and top_srcdir.
865 Remove any use of `ac_given_srcdir' as `$srcdir' being preserved
868 2001-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
870 configure -q did not work since 2000-11-03.
872 * acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Don't check for $silent,
873 tie AS_MESSAGE_FD to stdout unconditionally.
874 (_AC_INIT_PARSE_ARGS): If $silent redirect AS_MESSAGE_FD to
876 * tests/base.at (AC_CACHE_CHECK): New test.
878 2001-01-24 Tim Van Holder <tim.van.holder@pandora.be>
880 * m4sh.m4 (AS_EXECUTABLE_P, _AS_TEST_PREPARE): New macros.
881 (AS_SANITIZE_SHELL): Call _AS_TEST_PREPARE.
882 * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Use AS_EXECUTABLE_P
885 2001-01-24 Akim Demaille <akim@epita.fr>
887 * autoscan.pl (generic_macro): s/AC_CHECK_FUNCTIONS/AC_CHECK_FUNCS/.
888 * acfunctions: Just like the previous patch.
890 2001-01-24 Akim Demaille <akim@epita.fr>
892 * autoscan.pl (@kinds, %generic_macro): New.
893 (&init_tables): Use them.
894 * acheaders: Run `autoconf -t AC_CHECK_HEADERS:'$1'' on the fileutils,
895 and include all these headers in here.
896 Don't specify `AC_CHECK_HEADERS' as it's the default.
898 2001-01-24 Akim Demaille <akim@epita.fr>
900 * autoscan.pl: Just like the previous patch, but for
901 AC_CHECK_FUNCS, AC_CHECK_TYPES, and AC_CHECK_MEMBERS.
903 2001-01-24 Akim Demaille <akim@epita.fr>
905 * autoscan.pl (print_unique): Push all the macro invocation
907 (output_headers): For headers that need to be checked, push either
908 the specialized macro, or the generic macro call.
909 (check_configure_ac): Handle AC_CHECK_HEADERS.
911 2001-01-24 Raja R Harinath <harinath@cs.umn.edu>
913 Some non-srcdir build fixes.
914 * configure.in (BUGS): Look for file in $srcdir.
915 * tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.
917 2001-01-24 Akim Demaille <akim@epita.fr>
919 Don't AC_SUBST too much, as it makes Automake include those
920 variables in Makefiles, and drives autoscan to require unneeded
923 * acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
924 CPPFLAGS, CXXFLAGS and LDFLAGS.
925 (AC_ARG_VAR): AC_SUBST the var.
926 Document it only once, even if there are several different docs.
927 * aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
928 (AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
930 2001-01-24 Akim Demaille <akim@epita.fr>
932 * m4sugar.m4 (m4_expand_once): Accept a witness.
934 2001-01-23 Akim Demaille <akim@epita.fr>
936 * acgeneral.m4 (AC_EXPAND_ONCE): Remove, use m4_expand_once.
937 (AC_DIVERT_ONCE): Move to...
938 * m4sugar.m4 (m4_expand_once): here.
940 2001-01-23 Akim Demaille <akim@epita.fr>
942 * aclang.m4 (_AC_LANG_SET): Turn off optimizations.
944 2001-01-23 Akim Demaille <akim@epita.fr>
946 * configure.in: If this is a beta, dump the core of BUGS.
947 * tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.
949 2001-01-23 Akim Demaille <akim@epita.fr>
951 * autoscan.pl: Don't use `defined' to check whether an array is
953 Don't use parens with `defined'.
955 2001-01-23 Akim Demaille <akim@epita.fr>
957 * acgeneral.m4 (_AC_INIT_PREPARE): Be sure to quote hashes to
958 avoid M4 thinking it's comments.
960 2001-01-23 Tim Van Holder <tim.van.holder@pandora.be>
962 * aclang.m4 (_AC_COMPILER_EXEEXT_O): Use
963 AS_IF([AC_TRY_EVAL(ac_link)]) instead of AC_LINK_IFELSE to
964 avoid depending on ac_exeext before it's found.
965 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Check for the
966 executable extension BEFORE checking whether the compiler
967 works, as that test depends on a correct ac_exeext.
969 2001-01-23 Akim Demaille <akim@epita.fr>
971 * acgeneral.m4 (_AC_INIT_PREPARE) <trap>: Typo.
973 2001-01-22 Pavel Roskin <proski@gnu.org>
975 * autoscan.pl: Use "use strict". Declare all global variables
976 or make them private. Make all local variables private.
977 (find_autoconf): New, moved some code from the top level.
978 Use %ENV outside quotes to eliminate a warning.
980 2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
982 * acspecific.m4 (AC_PROG_LN_S): Detect DJGPP < 2.04, which only
983 supports 'ln -s' for executables.
985 2001-01-22 Akim Demaille <akim@epita.fr>
987 * autoscan.pl ($dir, $autoconf): New.
989 2001-01-22 Akim Demaille <akim@epita.fr>
991 * autoscan.pl ($headers, $functions, $identifiers, $libraries):
992 Also register locations of their requirement instead of a simple
994 (&check_configure_ac): Close TRACES.
996 2001-01-22 Akim Demaille <akim@epita.fr>
998 * autoscan.pl: Formatting changes.
999 Check `configure.ac' or `configure.in' if present.
1001 2001-01-22 Akim Demaille <akim@epita.fr>
1003 * autoscan.pl (&wanted): Don't register `Makefile' when
1004 `Makefile.in' is present.
1005 Factor the simplification of $name.
1006 (&scan_makefile, &scan_sh_file): Instead of counting the number of
1007 occurrences where a program/makevar is wanted, register file:line.
1008 Adjust the verbose output.
1009 (&check_configure_ac): Report the location where the macro is required.
1011 2001-01-22 Akim Demaille <akim@epita.fr>
1013 * autoscan.pl: Instead of undefined globals, set them to empty
1015 (%needed_macros): New.
1016 (&check_configure_ac): New. Call it.
1017 (&output_libraries): Eve out from &output_programs.
1018 (&print_unique): For the time being register in %needed_macros
1019 only argument less macros.
1021 2001-01-22 Lars J. Aas <larsa@sim.no>
1023 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
1024 then '#include <stdlib.h>', before trying the explicit declarations.
1026 2001-01-22 Akim Demaille <akim@epita.fr>
1028 * acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
1029 AC_TRY_COMMAND to improve config.log.
1030 (_AC_INIT_DEFAULTS): Don't define ac_exeext and ac_objext to
1033 2001-01-22 Akim Demaille <akim@epita.fr>
1035 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
1036 impossible to describe bug of SunOS 4.1.3 which causes a shell
1037 crash when using `VAR=${VAR="$default"}'.
1038 Reported and diagnosed by Kevin Ryde.
1040 2001-01-22 Akim Demaille <akim@epita.fr>
1042 * acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.
1044 2001-01-22 Lars J. Aas <larsa@sim.no>
1046 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
1047 Export ac_cv_exeext so ltconfig believes the value is cached and
1048 skips its own faulty test.
1050 2001-01-22 Jim Meyering <meyering@lucent.com>
1052 * actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
1055 2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
1057 * aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
1058 conftest.val, not conftestval.
1059 * acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
1062 2001-01-22 Akim Demaille <akim@epita.fr>
1066 * acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
1067 (AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
1068 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
1069 (AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
1071 * acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
1072 (AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
1073 (AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
1074 (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
1075 (AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
1077 Adjust the test suite.
1079 2001-01-22 Akim Demaille <akim@epita.fr>
1081 * tests/atgeneral.m4 (AT_INIT): Include a default case for non
1083 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
1084 (AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
1086 (AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
1087 * tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
1088 * tests/mktest.sh: Create one test file per Autoconf source
1089 file instead of separating syntax/update.
1091 2001-01-22 Akim Demaille <akim@epita.fr>
1093 * doc/autoconf.texi: Some about diff and cmp.
1095 2001-01-22 Akim Demaille <akim@epita.fr>
1097 * sh.m4 (AS_ESCAPE): New.
1098 (_AS_QUOTE_IFELSE): Use it.
1099 * tests/atgeneral.m4 (AT_INIT) <SHELL>: Define and use.
1100 <--help> Don't display the options help when tests were selected.
1102 <at_skip_list>: New.
1103 <testsuite.log>: Give a banner, include ChangeLog snippets, list
1104 the failed and skipped tests.
1105 Remove useless $at_traceoff in sub shells, this improves the
1106 readability of the traces by removing testsuite's implementation
1108 (AT_CHECK): Filter out the shell traces from the tested command's
1111 Don't register experr and expout for clean up, as it's hairy and
1112 easier to do from...
1113 Support STDOUT = stdout, and STDERR = stderr.
1114 Force the output of shell traces.
1117 2001-01-22 Akim Demaille <akim@epita.fr>
1119 * acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
1121 (_AC_INIT_PREPARE): Do it in the trap 0.
1123 2001-01-22 Akim Demaille <akim@epita.fr>
1125 * autoscan.pl: Instead of undefined globals, set them to empty
1127 (%needed_macros): New.
1128 (&check_configure_ac): New. Call it.
1129 (&output_libraries): Eve out from &output_programs.
1130 (&print_unique): For the time being register in %needed_macros
1131 only argument less macros.
1133 2001-01-22 Raja R Harinath <harinath@cs.umn.edu>,
1134 Tim Van Holder <tim.van.holder@pandora.be>,
1135 Jim Meyering <jim@meyering.net>
1137 * acspecific.m4 (AC_AIX): Fix typo: s/@\$/@%/.
1139 2001-01-19 Akim Demaille <akim@epita.fr>
1141 Catch only used patterns.
1142 Reported by the whole Autoconf community.
1144 * m4sh.m4 (AS_INIT): New.
1145 * acgeneral.m4 (AC_PLAIN_SCRIPT): Use it.
1146 Forbid only AC, AU, AH and AM.
1148 2001-01-19 Akim Demaille <akim@epita.fr>
1150 Optimizing AC_LANG was broken. Test and fix.
1152 * aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
1153 use _AC_LANG_ABBREV so that you don't depend upon _AC_LANG.
1154 (_AC_LANG_SET): New.
1155 (AC_LANG, AC_LANG_PUSH, AC_LANG_POP): Use it.
1156 * tests/compile.at: Test AC_LANG, AC_LANG_PUSH & AC_LANG_POP.
1158 2001-01-19 Akim Demaille <akim@epita.fr>
1160 * sugar.m4 (m4_require): Missing dnl.
1162 2001-01-18 Akim Demaille <akim@epita.fr>
1164 * acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
1167 2001-01-18 Tim Van Holder <tim.van.holder@pandora.be>
1169 * m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.
1171 2001-01-18 Akim Demaille <akim@epita.fr>
1173 * tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
1174 since Libtool does not yet support it.
1175 Let the test suite be more verbose about at-path.
1176 From Patrick Welche.
1178 2001-01-18 Akim Demaille <akim@epita.fr>
1180 * tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
1181 STDLIB|INTTYPES|MEMORY|STRING|UNISTD.
1182 * tests/semantics.at (AC_CHECK_SIZEOF): Don't check the presence
1183 of default headers, as it's machine dependent.
1184 Reported by Jim Meyering and Nicolas Joly.
1186 2001-01-18 Akim Demaille <akim@epita.fr>
1188 * acgeneral.m4: Don't leave macro names in comments.
1189 * aclang.m4: Likewise.
1190 * configure.in: Likewise.
1191 * tests/semantics.at: Likewise.
1192 * tests/tools.at: Likewise.
1194 2001-01-18 Akim Demaille <akim@epita.fr>
1196 Medium term goal: AC_ macros can be tested with -W obsolete.
1198 * acgeneral.m4 (AC_RUN_IFELSE): Accept IF-CROSS-COMPILING.
1199 (AC_TRY_RUN): Use it.
1200 * acfunctions.m4: Start ousting AC_TRY_RUN and AC_TRY_COMPILE.
1201 * acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): AC_BEFORE on
1202 AC_COMPILE_IFELSE and AC_RUN_IFELSE.
1204 2001-01-18 Akim Demaille <akim@epita.fr>
1206 * acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
1210 2001-01-18 Akim Demaille <akim@epita.fr>
1212 Require a perfect divert push/pop balance.
1214 * m4sugar.m4 (m4_divert, m4_divert_push, m4_divert_pop): Keep
1215 track of them in m4_divert_stack.
1216 (m4_divert_pop): Accept the expected current diversion as
1217 argument and m4_fatal if incorrect, or if there is nothing to pop.
1218 (globally): Specify the known m4_divert_pop.
1219 Preserve symbolic values when possible.
1220 * acgeneral.m4: No longer push the first diversion.
1221 Specify the known m4_divert_pop.
1222 (AC_PLAIN_SCRIPT): When m4_divert_push a diversion, m4_wrap its
1224 (AC_INIT): Run AC_PLAIN_SCRIPT first, not last.
1225 * tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Can't use m4_defun
1227 * m4sugar.m4: Likewise.
1229 2001-01-18 Akim Demaille <akim@epita.fr>
1231 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
1232 builtin, fail on undefined symbols.
1233 * tests/torture.at (Torturing config.status): Stop playing nasty
1234 tricks with changequote.
1235 (AC_DEFUBST): Move here from...
1236 * tests/aclocal.m4: there.
1238 2001-01-18 Akim Demaille <akim@epita.fr>
1240 Various cleanups and consistency checks.
1242 * m4sugar.m4: Formatting changes.
1243 * acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
1244 (AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
1245 Use m4_copy to define them, in order to keep a good $0.
1246 (AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
1247 * aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
1248 (AC_LANG_POP): Admit an argument specifying the language we quit
1250 Adjust Autoconf's AC_LANG_POPs.
1251 * tests/tools.at (AWK portability): Don't depend on AC_INIT.
1252 (autoconf --trace: user macros): Obviously I
1253 meant TRACE1, not AC_TRACE1.
1255 2001-01-17 Akim Demaille <akim@epita.fr>
1257 * m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
1259 (_m4_expansion_stack): Rename as...
1260 (m4_expansion_stack): this, and change its value: instead of using
1261 the pushdef stack to stack each *line* of the stack, each
1262 definition contains the whole stack. I.e., to display the whole
1263 stack, instead of popdefing and displaying each definition, just
1264 display the current definition.
1265 (m4_expansion_stack_push, m4_expansion_stack_pop): New.
1266 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Let $2 be the expected
1268 * tests/m4sugar.m4 (m4_require: circular dependencies): New test.
1270 2001-01-17 Pavel Roskin <proski@gnu.org>
1272 * m4sugar.m4 (m4_normalize): New macro - superposition of
1273 m4_flatten and m4_strip.
1274 (m4_join): Use m4_normalize.
1275 * acgeneral.m4 (AC_FOREACH): Use m4_normalize.
1276 (AC_CONFIG_HEADERS): Normalize the first argument.
1277 (AC_CONFIG_LINKS): Likewise.
1278 (AC_CONFIG_SUBDIRS): Likewise.
1280 2001-01-17 Tim Van Holder <tim.van.holder@pandora.be>
1282 * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir uses.
1284 2001-01-16 Akim Demaille <akim@epita.fr>
1286 Work around the Ultrix limitations on ``multiple redirections''.
1287 Reported by Harlan Stenn.
1289 * acgeneral.m4 (_AC_EVAL_STDERR): New.
1290 (_AC_PREPROC_IFELSE): Use it.
1292 2001-01-16 Akim Demaille <akim@epita.fr>
1294 * tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.
1296 2001-01-16 Akim Demaille <akim@epita.fr>
1298 * acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
1299 (_AC_INIT_DEFAULTS, AC_OUTPUT): Use it.
1301 2001-01-16 Akim Demaille <akim@epita.fr>
1303 * doc/autoconf.texi: Lots of additions and changes.
1304 (File Descriptors): New.
1305 (Limitations of Make): New.
1307 2001-01-16 Akim Demaille <akim@epita.fr>
1309 * m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
1310 Reported by Tim Van Holder.
1312 2001-01-16 Akim Demaille <akim@epita.fr>
1314 * Makefile.am (editpl, editsh): Merge into...
1316 * m4sh.m4 (AS_UNAME): Eved out from...
1317 * acgeneral.m4 (_AC_INIT_DEFAULTS): here.
1318 (_AC_INIT_PACKAGE): Define AC_PACKAGE_NAME.
1319 (_AC_INIT_PARSE_ARGS): AC_SUBST the PACKAGE_ variables.
1320 Propagate their use in the executables and the test suite.
1321 * tests/atgeneral.m4 (PATH): Include only absolute paths.
1322 (AT_INIT): Use AS_UNAME.
1324 2001-01-16 Akim Demaille <akim@epita.fr>
1326 When default headers are used, check for their presence.
1329 * acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
1330 ac_includes_default, since...
1331 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
1332 (AC_INCLUDES_DEFAULT): Require the former when default includes
1334 (AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
1335 AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
1336 * acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.
1338 2001-01-15 Akim Demaille <akim@epita.fr>
1340 * doc/autoconf.texi: Normalize sh samples.
1342 2001-01-15 Akim Demaille <akim@epita.fr>
1344 * tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
1345 identity of the tests.
1347 2001-01-15 Akim Demaille <akim@epita.fr>
1349 * tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
1350 before creating the debug scripts.
1352 When ignoring a test, display a reassuring `ok' for stressed
1353 users, and say `skipped' instead.
1354 Simply run `testsuite' with the failed tests instead of running
1355 the debug scripts, this avoids having zillions of banners `Testing
1356 Blabla 2.13' (another means to avoid these banners is to have the
1357 test suite succeed :-).
1359 2001-01-15 Akim Demaille <akim@epita.fr>
1361 * sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
1362 * tests/atgeneral.m4: Use it.
1364 2001-01-15 Akim Demaille <akim@epita.fr>
1366 * acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
1367 * m4sh.m4 (AS_LITERAL_IF): this.
1368 (AS_IFELSE): Rename as...
1371 2001-01-12 Akim Demaille <akim@epita.fr>
1373 With `expr's that return `0' on failures, the executable suffix is
1375 Reported by Assar Westerlund.
1377 * Makefile.am (maintainer-check): New target.
1378 * tests/Makefile.am (maintainer-check, maintainer-check-posix)
1379 (maintainer-check-c++, expr): Likewise.
1380 * configure.in (EXPR): Look for it.
1381 * tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
1382 * tests/compile.at (Extensions): New test.
1383 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
1384 Distinguish files with or without a dot.
1386 2001-01-12 Akim Demaille <akim@epita.fr>
1388 * acgeneral.m4: Last changes for `configure.ac'.
1389 (_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
1391 * autoreconf.sh: Likewise.
1393 2001-01-11 Motoyuki Kasahara <m-kasahr@sra.co.jp>
1395 * acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
1398 2001-01-11 Akim Demaille <akim@epita.fr>
1400 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
1401 (AC_PROG_CC, AC_PROG_CXX): Use it.
1402 (AC_PROG_CC_STDC): Be sure to remove tmp files.
1403 * tests/compile.at (AC_TRY_LINK_FUNC): Don't use exit to test it,
1404 since it produces a prototype which conflicts with the one
1405 computed by _AC_PROG_CXX_EXIT_DECLARATION.
1406 * tests/semantics.at (AC_CHECK_FUNCS, AC_HAVE_FUNCS): Likewise.
1407 (AC_HAVE_FUNCS): Test AC_HAVE_FUNCS!
1409 2001-01-11 Kevin Ryde <user42@zip.com.au>
1411 * autoconf.texi (Shellology): Fix an @end itemize, and a typo.
1413 2001-01-11 Kelly Anderson <tgcorp@attglobal.net>
1415 * autoconf.sh (M4): Handle PC drive letters.
1416 * autoupdate.sh: Likewise.
1418 2001-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
1420 * aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
1421 look for, after the other Fortran 90 compilers.
1423 2001-01-11 Akim Demaille <akim@epita.fr>
1425 * aclang.m4: Use m4_copy to duplicate macros.
1426 (AC_LANG_PUSH): In order to have AC_LANG's simplifications
1427 effective, be sure to let _AC_LANG be the old language before
1430 2000-12-25 Pavel Roskin <proski@gnu.org>
1432 * autoreconf.sh: s/localddir/localdir/.
1433 Reported by Motoyuki Kasahara.
1435 2000-12-23 Akim Demaille <akim@epita.fr>
1437 * autoconf.sh: Promote `configure.ac' over `configure.in'.
1438 * autoreconf.sh: Likewise.
1439 * autoheader.sh: Ditto.
1440 * autoupdate.sh: Similarly.
1441 * doc/autoconf.texi: Adjust.
1442 * tests/atspecific.m4: Be sure to remove configure.in.
1443 Adjust the test suite to use `configure.ac'.
1445 2000-12-22 Akim Demaille <akim@epita.fr>
1447 * acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
1448 single statement, so that one can make pipes with AC_TRYs, just as
1451 2000-12-20 Lars J. Aas <larsa@sim.no>
1453 * aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
1454 Make the order of arguments for ls count by splitting the ls
1455 command into a sequence of ls commands.
1457 2000-12-20 Akim Demaille <akim@epita.fr>
1459 * aclang.m4 (_AC_LANG_COMPILER_GNU): Be sure to have `choke me' on
1460 the seventh column so that the SGI Fortran compiler really chokes
1464 2000-12-20 Akim Demaille <akim@epita.fr>
1466 * tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
1468 * tests/compile.at (GNU Fortran 77): Use AS_EXIT.
1470 2000-12-20 Akim Demaille <akim@epita.fr>
1472 * tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
1473 pattern ` state* ' was added many times for `*' was improperly
1475 (AT_INIT): Remove the data files before running the tests.
1476 Define AT_data_files and output it.
1478 (_m4_divert(TEST)): Remove, now useless.
1480 2000-12-20 Akim Demaille <akim@epita.fr>
1482 * aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
1483 (AC_PROG_CXXCPP, AC_PROG_CPP): Set the current language instead of
1484 just asserting it, since these macros can be called directly.
1485 Reported by Raja R. Harinath.
1487 2000-12-19 Pavel Roskin <proski@gnu.org>
1489 * doc/autoconf.texi (Installation Directory Variables): More info
1490 on prefix and exec_prefix.
1492 2000-12-19 Akim Demaille <akim@epita.fr>
1494 * aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
1495 _AC_COMPILE_IFELSE which uses ac_objext in a `test -s'.
1496 Reported by Lars J. Aas.
1498 2000-12-19 Akim Demaille <akim@epita.fr>
1500 * tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
1501 Use AC_TRY_COMMAND when running commands, to enrich the logs.
1503 2000-12-19 Akim Demaille <akim@epita.fr>, Mo DeJong <mdejong@cygnus.com>
1505 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
1506 (_AC_COMPILER_EXEEXT_O): Extracted from...
1507 (_AC_COMPILER_EXEEXT): here. Adjust.
1509 2000-12-19 Akim Demaille <akim@epita.fr>
1511 * tests/atgeneral.m4 (AT_CHECK): Make exit status report more
1513 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Support FLAGS, STDOUT
1515 (AT_CHECK_CONFIGURE): Support plenty, cleanup defs when needed.
1516 Spread their use in the whole suite.
1517 Simplify a few AT_CLEANUPs.
1519 2000-12-19 Akim Demaille <akim@epita.fr>
1521 * tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
1523 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Use it in order to
1524 dump config.log when configure failed. Before, the log was
1525 reported only on success.
1527 2000-12-19 Akim Demaille <akim@epita.fr>
1529 * tests/foreign.at: New file.
1531 2000-12-19 Akim Demaille <akim@epita.fr>
1533 * tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
1535 2000-12-18 Pavel Roskin <proski@gnu.org>
1537 * Makefile.am: Add a comment explaining why suffix rules are not
1540 2000-12-15 Pavel Roskin <proski@gnu.org>
1542 * autoconf.sh: If the "allowed" pattern is not defined set it
1544 * tests/tools.at (autoconf: forbidden tokens, basic): New test.
1545 (autoconf: forbidden tokens): Renamed to ...
1546 (autoconf: forbidden tokens, exceptions): ... this.
1548 2000-12-15 Akim Demaille <akim@epita.fr>
1550 * aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
1552 2000-12-15 Akim Demaille <akim@epita.fr>
1554 * tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
1555 Reported by Ezra Peisach.
1557 2000-12-15 Akim Demaille <akim@epita.fr>
1559 * tests/compile.at (GNU Fortran 77): s/g77/G77/.
1560 Reported by Ezra Peisach.
1562 2000-12-15 Akim Demaille <akim@epita.fr>
1564 * man/Makefile.am (.x.1): Fix to work properly with
1567 2000-12-15 Akim Demaille <akim@epita.fr>
1569 * aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
1570 (AC_PROG_CPP, AC_PROG_CXXCPP, AC_PROG_GCC_TRADITIONAL)
1571 (_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_CC_STDC):
1572 Don't use `${CC-cc}' since now the AC_REQUIRE machinery guarantees
1573 that $CC is defined. And if not, it's a bug which must be
1575 * acspecific.m4 (AC_SYS_LARGEFILE): Likewise.
1577 2000-12-15 Akim Demaille <akim@epita.fr>
1579 * acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
1581 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE): More alike,
1582 using AS_IFELSE, and systematically AC_TRY_COMMAND when testing
1583 something (for the logs).
1585 2000-12-15 Akim Demaille <akim@epita.fr>
1587 * aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
1588 * acgeneral.m4 (_AC_TRY_CPP): Its last use was that above, so
1590 (_AC_PREPROC_IFELSE): here.
1592 2000-12-15 Akim Demaille <akim@epita.fr>
1594 * tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
1595 Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.
1597 2000-12-15 Akim Demaille <akim@epita.fr>
1599 * acgeneral.m4 (_AC_EVAL): New.
1600 (AC_TRY_EVAL, AC_TRY_COMMAND): Use it.
1602 2000-12-15 Akim Demaille <akim@epita.fr>
1604 * acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
1605 (AC_TRY_CPP): Use AC_PREPROC_IFELSE.
1606 (AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
1608 * acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
1610 * acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.
1612 2000-12-15 Akim Demaille <akim@epita.fr>
1614 * m4sugar.m4 (m4_init): Catch `dnl'.
1616 2000-12-15 Pavel Roskin <proski@gnu.org>
1618 * m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
1620 2000-12-14 Pavel Roskin <proski@gnu.org>
1622 * tests/semantics.at (AC_CHECK_TYPES): There are two tests with
1623 this name. Rename the second one to "AC_CHECK_TYPES: backward
1625 (AC_TRY_LINK_FUNC): Removed. It's now in tests/compile.at.
1626 (C keywords): Likewise.
1627 (AC_PROG_CPP with warnings): Likewise.
1628 (AC_PROG_CPP without warnings): Likewise.
1630 2000-12-14 Akim Demaille <akim@epita.fr>
1632 Put back AC_CYGWIN etc. under the responsibility of the
1633 configure.in maintainer, but discourage its use.
1635 * acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
1636 (AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
1637 AU defined on top of AC_CANONICAL_HOST and $host_os.
1638 * tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
1639 AC_MINGW32, and AC_EMXOS2.
1641 2000-12-13 Pavel Roskin <proski@gnu.org>
1643 * m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
1644 otherwise _m4eof is appended to the output on FreeBSD 4.0.
1645 * tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
1646 in sed, use "s" instead.
1647 * tests/mktests.sh: Don't use \? in sed - it's a GNU extension.
1648 Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.
1650 2000-12-13 Akim Demaille <akim@epita.fr>
1652 EXEEXT and OBJEXT don't need to know $CYGWIN etc.
1654 * acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
1656 * aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
1657 (_AC_COMPILER_OBJEXT): these.
1658 (_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
1659 Don't depend upon $CYGWIN and the like.
1660 (_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
1661 Skip more extensions.
1662 Use _AC_COMPILE_IFELSE.
1664 2000-12-12 Pavel Roskin <proski@gnu.org>
1666 * Makefile.am: Don't use suffix rules for perl and shell
1667 scripts. Use explicit rules instead.
1669 2000-12-12 Pavel Roskin <proski@gnu.org>
1671 * autoscan.pl (init_tables): Allow spaces on the right hand side
1672 in autoscan tables. Die if there are no spaces at all.
1673 (scan_c_file): Use \b instead of \W so that keywords match at
1674 the beginning and the end of the line.
1675 (scan_sh_file): Likewise.
1676 (scan_makefile): Likewise. Use \B to match before `-l'.
1677 (output): Suggest AC_CONFIG_HEADER if any C/C++ sources are
1679 * acidentifiers: Update macros for structure members st_blksize
1682 2000-12-12 Akim Demaille <akim@epita.fr>
1684 * tests/compile.at (GNU Fortran 77): Be robust to compilers that
1685 choke on `--version'.
1687 2000-12-12 Akim Demaille <akim@epita.fr>
1689 * tests/suite.at: Run `tools.at' first.
1691 2000-12-12 Akim Demaille <akim@epita.fr>
1693 * tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
1696 2000-12-12 Akim Demaille <akim@epita.fr>
1698 AS_ERROR was not properly saving data in the log file.
1700 * sh.m4 (AS_WARN, AS_ERROR): Use AS_MESSAGE.
1701 (_AS_ECHO): Fix quotation.
1702 (AS_MESSAGE): Use `as_me'.
1703 * acgeneral.m4: More banners in the log.
1704 (_AC_INIT_DEFAULTS): Compute as_me before using it.
1706 2000-12-08 Akim Demaille <akim@epita.fr>
1708 * doc/autoconf.texi (System Services) <AC_PATH_XTRA>: Adjust the
1709 documentation about X_DISPLAY_MISSING to the code.
1711 2000-12-07 Akim Demaille <akim@epita.fr>
1713 * tests/atgeneral.m4 (AT_INIT): More robust computation of
1715 Reported by Andrej Borsenkow.
1717 2000-12-07 Akim Demaille <akim@epita.fr>
1719 * acspecific.m4 (_AC_EXEEXT): Skip *.pdb.
1720 From Paul Berrevoets.
1722 2000-12-07 Akim Demaille <akim@epita.fr>
1724 * tests/atgeneral.m4 (AT_CHECK): Bad typo: assign `exit 1' to
1725 at_continue if something failed, not `:'.
1726 * tests/semantics.at (AC_PATH_XTRA): New.
1727 * acspecific.m4 (_AC_PATH_X): New, extracted form AC_PATH_X.
1729 2000-12-06 Akim Demaille <akim@epita.fr>
1731 * configure.in: Bump version to 2.49c.
1733 2000-12-06 Akim Demaille <akim@epita.fr>
1737 2000-12-06 Akim Demaille <akim@epita.fr>
1739 Stop playing with FDs in Autotest.
1741 * tests/atgeneral.m4 (AT_INIT): Set up FD 5.
1742 (AT_CHECK): Instead of using exec to globally change the FDs of
1743 `testsuite', enclose the body of the test into a
1744 `(..) >stdout 2>stderr'.
1745 In every case, when verbose, display the differences between
1746 expected and observed (stdout, stderr, exit status).
1747 Let `0' be the default for EXIT-STATUS.
1748 Support EXIT-STATUS == `ignore'.
1750 2000-12-06 Akim Demaille <akim@epita.fr>
1752 * tests/tools.at (autoconf: forbidden tokens): Adjust expected
1755 2000-12-06 Akim Demaille <akim@epita.fr>
1757 * man/config.guess.x: New file.
1758 * man/config.sub.x: New file.
1760 2000-12-06 Akim Demaille <akim@epita.fr>
1762 * tests/aclocal.m4 (AT_STATE_SAVE): Don't even try to preserve
1763 egrep error messages, AT_CHECK will find them.
1765 2000-12-06 Akim Demaille <akim@epita.fr>
1767 * doc/autoconf.texi (Limitations of Usual Tools) <awk>: `for' on
1768 arrays is nondeterministic across AWK implementations.
1769 * tests/tools.at (autoconf: forbidden tokens): Sort the error
1770 message to guarantee its uniqueness.
1772 2000-12-06 Akim Demaille <akim@epita.fr>
1774 The SunOS' egrep fails to process properly the `egrep' invocations
1777 * tests/aclocal.m4 (AC_STATE_SAVE): If egrep fails, remove the
1779 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't check `state-*'
1780 if the files are not present.
1782 * m4sugar.m4 (m4_join): Rename as...
1784 * tests/aclocal.m4 (join): Move as...
1785 * m4sugar.m4 (m4_flatten): this.
1786 * autoconf.sh (trace.m4): Rename m4_smash as m4_flatten.
1788 2000-12-06 Akim Demaille <akim@epita.fr>
1790 * autoconf.sh (task trace): s/m4/$M4/.
1791 * autoheader.sh: When loading trace.sh, catch errors and exit with
1792 a decent error message.
1793 * tests/tools.at: Be sure to test autoconf --trace before
1796 2000-12-06 Akim Demaille <akim@epita.fr>
1798 * tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
1800 2000-12-06 Akim Demaille <akim@epita.fr>
1802 * aclang.m4 (AC_LANG): Be `smart': don't issue the sh code if the
1803 current language did not change.
1804 (AC_LANG_ASSERT): New.
1805 (AC_PROG_CPP, AC_PROG_CXXCPP): Assert the language.
1806 (_AC_PROG_F77_V, _AC_F77_NAME_MANGLING): Don't require
1807 AC_PROG_F77, the code you include does it.
1808 (AC_F77_LIBRARY_LDFLAGS): Set the language.
1810 2000-12-06 Akim Demaille <akim@epita.fr>
1812 * m4sugar.m4 (ifelse): Rename as...
1814 * autoconf.m4 (ifelse): Restore.
1816 2000-12-06 Akim Demaille <akim@epita.fr>
1818 * m4sugar.m4 (m4_dquote, m4_pattern_forbid, m4_pattern_allow)
1819 (m4_cr_letters, m4_cr_LETTERS, m4_cr_Letters, m4_cr_digits)
1820 (m4_cr_symbols1, m4_cr_symbols2, m4_re_string, m4_re_word)
1821 (m4_init): New macros.
1822 (m4_token_allow): Remove.
1823 * acgeneral.m4: Don't push BODY into the diversion stack.
1824 (AC_PLAIN_SCRIPT): Do it.
1825 Call m4_init, define the Autoconf patterns.
1826 (AC_INIT): Use AC_PLAIN_SCRIPT.
1827 Remove the useless `dnl' (those where the current diversion is
1829 * autoconf.sh (m4_common): Fix quotation.
1830 (finalize.awk): Load forbidden.rx and allowed.rx.
1831 Split the line into tokens, and check their validity.
1832 * tests/tools.at (Forbidden tokens): Adjust.
1834 2000-12-05 Bob Wilson <bwilson@tensilica.com>
1836 * acspecific.m4 (_AC_OBJEXT, _AC_EXEEXT): Ignore .d files produced
1839 2000-12-05 Akim Demaille <akim@epita.fr>
1841 * aclang.m4 (AC_PROG_F77): Temporarily set ac_ext to F to run
1842 _AC_LANG_COMPILER_GNU.
1843 From Steven G. Johnson.
1844 * tests/compile.at (GNU Fortran 77): New test.
1846 2000-12-05 Akim Demaille <akim@epita.fr>
1848 * tests/tools.at (autoupdate): Strengthen and check autoupdate's
1851 2000-12-05 Akim Demaille <akim@epita.fr>
1853 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): s/cp -f/mv -f/.
1855 2000-12-01 Pavel Roskin <proski@gnu.org>
1857 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't escape
1858 backquotes in AC_MSG_ERROR. Fix error message.
1860 2000-12-01 Pavel Roskin <proski@gnu.org>
1862 * tests/atgeneral.m4 (AT_INIT): Use ${CONFIG_SHELL-/bin/sh}
1863 to run the testsuite from the debug scripts.
1864 Suggested by Alexandre Oliva.
1866 2000-11-30 Akim Demaille <akim@epita.fr>
1868 * doc/autoconf.texi (Assignments): Don't use $? from an
1871 2000-11-30 Akim Demaille <akim@epita.fr>
1873 * sh.m4 (AS_EXIT): Don't rely on false exiting 1.
1874 Actually, always use `(exit $val); exit', don't try to be tricky.
1875 * doc/autoconf.texi (Limitations of Builtins) <false>: new.
1877 2000-11-30 Akim Demaille <akim@epita.fr>
1879 * sh.m4 (_AS_EXPR_PREPARE): Don't rely on the exit status of a
1880 back quote evaluation since the very system for which the test was
1881 written does not propagate it. Groumph!
1883 2000-11-30 Akim Demaille <akim@epita.fr>
1885 * acspecific.m4 (_AC_EXEEXT): Also remove conftest$ac_exeext.
1888 2000-11-30 Akim Demaille <akim@epita.fr>
1890 * acspecific.m4 (_AC_EXEEXT, _AC_OBJEXT): Make the two macros more
1891 alike: a loop over a sorted list of possible files.
1892 Don't cleanup on errors, the trap will do it.
1893 Cleanup when there are no errors.
1894 (_AC_EXEEXT): Use the empty string instead of `no' as the cached
1896 Be sure to prefer `.exe' to `' when the two are observable.
1897 Suggested by Lars and Earnie.
1899 2000-11-30 Akim Demaille <akim@epita.fr>
1901 When using Cygwin, in spite of all their efforts, it may happen
1902 that `confestval' be read in binary mode. The shell then fails to
1903 properly strip the \r\n.
1904 Reported by Lars J. Aas.
1906 * aclang.m4 (AC_LANG_INT_SAVE): Don't add any trailing new line,
1908 Suggested by Peter Eisentraut.
1910 2000-11-30 Akim Demaille <akim@epita.fr>
1912 * doc/autoconf.texi (Systemology): New section.
1915 2000-11-30 Akim Demaille <akim@epita.fr>
1917 * doc/autoconf.texi (Special Shell Variables): Document RANDOM.
1919 2000-11-30 Akim Demaille <akim@epita.fr>
1921 * doc/autoconf.texi (Limitations of Usual Tools): Some about cp
1922 and mv, thanks to Ian.
1924 2000-11-29 Akim Demaille <akim@epita.fr>
1926 * acspecific.m4 (_AC_OBJEXT): Skip *.tds, special case .o and
1930 2000-11-29 Akim Demaille <akim@epita.fr>
1932 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the portability of
1933 the default assignment of CONFIG_FILES, CONFIG_HEADERS,
1934 CONFIG_LINKS and CONFIG_COMMANDS.
1936 2000-11-29 Akim Demaille <akim@epita.fr>
1938 * acgeneral.m4 (AC_CACHE_SAVE): Use the `clear' trick to work
1940 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Rename the sed labels to
1941 match the Autoconf documentation.
1943 2000-11-29 Akim Demaille <akim@epita.fr>
1945 * doc/autoconf.texi (Shell Substitutions): More on the variations
1947 (Assignments): Rewrite as a summary of the previous section.
1948 * acgeneral.m4 (AC_CACHE_SAVE): Be protected against the Solaris'
1949 `${foo='${bar}'}' bug.
1951 2000-11-29 Akim Demaille <akim@epita.fr>
1953 * acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use
1954 `... echo "error: \\\`$f'" ...`
1955 as it's not portable to BSDI 1.3.
1957 `... echo "error: $f" ...`
1958 Reported by Daniele Arena.
1960 2000-11-29 Akim Demaille <akim@epita.fr>
1962 QNX 4.2.5's expr always exits 1 when `:' is used with parens.
1964 * doc/autoconf.texi (Limitations of Usual Tools) <expr>: More
1965 information, thanks to Paul Berrevoets, Paul Eggert and David
1967 * sh.m4 (_AS_EXPR_PREPARE): New.
1968 (AS_DIRNAME): Use it.
1970 2000-11-29 Akim Demaille <akim@epita.fr>
1972 sizeof (struct {char a,b; }) is not required to be 2.
1973 Reported by Johan Danielsson.
1975 * tests/semantics.at (AC_CHECK_SIZEOF): Define charchar as an
1977 Suggested by Alexandre.
1979 2000-11-29 Akim Demaille <akim@epita.fr>
1981 Provide a means to display banners in the test suite.
1983 * tests/atgeneral.m4 (AT_INIT): Initialize `AT_banner_ordinal'.
1984 Execute the epilogue of the tests only if a test was run.
1985 Don't build the value of `at_tests_all' with a for loop: expand
1987 (AT_SETUP): Build `AT_TESTS_ALL'.
1989 Adjust all the former banners to use it.
1990 (AT_CHECK): Don't trace the decoding of `$?'.
1992 2000-11-29 Akim Demaille <akim@epita.fr>
1994 * tests/atgeneral.m4 (AT_DEFINE, AT_UNDEFINE, AT_SHIFT)
1995 (AT_INCLUDE): Remove, use the m4_ macros.
1997 2000-11-29 Akim Demaille <akim@epita.fr>
1999 * m4sugar.m4 (ifval, ifset, ifdef, ifndef, m4_ifvanl): Rename as...
2000 (m4_ifval, m4_ifset, m4_ifdef, m4_ifndef, m4_ifvaln): this.
2002 (m4_ifvaln): Use it.
2003 * autoconf.m4 (ifdef): Restore it.
2005 2000-11-29 Akim Demaille <akim@epita.fr>
2007 * m4sugar.m4 (m4_errprint, divnum, errprint, esyscmd): Rename as...
2008 (m4_errprintn, m4_divnum, m4_errprint, m4_esyscmd): this.
2009 * autoconf.m4: Restore them.
2011 2000-11-28 Pavel Roskin <proski@gnu.org>
2013 * doc/autoconf.texi (Fortran 77 Compiler Characteristics):
2014 Don't suggest obsolete AC_LANG_FORTRAN77.
2015 (Language Choice): Better preamble.
2017 2000-11-28 Pavel Roskin <proski@gnu.org>
2019 * doc/install.texi: Minor changes to eliminate TeX warnings.
2020 * doc/autoconf.texi: Likewise. Typo fixes.
2022 2000-11-23 Akim Demaille <akim@epita.fr>
2024 * tests/atconfig.in: Move code into...
2025 * tests/atgeneral.m4 (AT_INIT): here.
2026 Use AS_SHELL_SANITIZE.
2028 2000-11-23 Akim Demaille <akim@epita.fr>
2030 Have the test suite list of the test groups and their references.
2032 * tests/atgeneral.m4 (_m4_divert(SUITE_PRO)): Remove, replaced
2034 (_m4_divert(DEFAULT), _m4_divert(OPTIONS), _m4_divert(HELP))
2035 (_m4_divert(SETUP)): these.
2036 (_m4_divert(SUITE_EPI)): Rename as...
2037 (_m4_divert(TAIL)): this.
2038 (AT_INIT): Adjust to the new diversions.
2039 Insert the magic number.
2040 Accept test groups as cli argument.
2041 List the test groups.
2042 Rename TESTS, test, and tests as at_tests_all, at_test, and
2044 Have the debug scripts pass options to test suite.
2045 Remove their banner.
2046 * tests/atspecific.m4: Don't divert to 0.
2047 * suite.at: Don't insert the magic number.
2049 2000-11-23 Akim Demaille <akim@epita.fr>
2051 * m4sugar.m4 (m4_divert, m4_undivert): Support named diversions.
2052 * tests/atgeneral.m4 (_m4_divert(SUITE_PRO), _m4_divert(TESTS))
2053 (_m4_divert(SUITE_EPI), _m4_divert(TEST)): New diversions.
2054 Push the first two diversions.
2056 (AT_INIT, AT_SETUP, AT_CLEANUP): Adjust to use the named
2059 2000-11-23 Akim Demaille <akim@epita.fr>
2061 * tests/atgeneral.m4 (AT_CLEANUP): Factor the computation of
2062 at_test_count into...
2064 Use an sh variable, at_data_files, instead of an hard coded list.
2066 2000-11-23 Akim Demaille <akim@epita.fr>
2068 * tests/atgeneral.m4 (AT_CLEAN_FILE_IFELSE, AT_CLEANUP_FILE)
2069 (AT_CLEANUP_FILES): New macros.
2070 (AT_SETUP, AT_CHECK, AT_CLEANUP): Use them.
2071 (AT_CHECK): Fix a use of at_verbose.
2072 * tests/atspecific.m4 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER)
2073 (AT_CHECK_CONFIGURE): New macros.
2075 2000-11-23 Akim Demaille <akim@epita.fr>
2077 * tests/atgeneral.m4 (AT_INIT) <at_verbose>: Be a :/echo variable.
2078 <at_silent>: Remove.
2079 (AT_CLEANUP): Clean up the diversion use.
2081 2000-11-23 Akim Demaille <akim@epita.fr>
2083 Factor part of the prologue of the tests.
2085 * tests/atgeneral.m4 (AT_SETUP, AT_CLEANUP): No longer handle
2087 (AT_INIT): After having checked whether the test failed, break out
2088 of the loop if requested (-e).
2090 2000-11-23 Akim Demaille <akim@epita.fr>
2092 * tests/atgeneral.m4 (AT_SETUP): Don't build at-check-line, that's
2094 Remove the code depending upon `at_skip_mode': it's unused.
2096 2000-11-23 Akim Demaille <akim@epita.fr>
2098 * tests/atconfig.in: Remove the `snippet' marks, there are no
2100 * tests/atgeneral.m4: Likewise.
2102 2000-11-23 Akim Demaille <akim@epita.fr>
2104 Factor the epilogue of the tests.
2106 * tests/atgeneral.m4 (AT_CLEANUP): Move the reading of at_status
2108 (AT_INIT): here, at the end of the `case'.
2110 2000-11-23 Akim Demaille <akim@epita.fr>
2112 The debug scripts are only wrapper around testsuite, asking for a
2115 * tests/atgeneral.m4 (AC_INIT) <at_debug>: New variable, new
2116 option, -d, to disable the creation of the debug scripts (when
2117 testsuite was already launched from one).
2118 <at_test_count>: Really compute it instead of using the number of
2121 2000-11-23 Akim Demaille <akim@epita.fr>
2123 Transform Autotest's body into a `for test; case $test'.
2124 As a known side effect, currently any code outside
2125 AT_SETUP/AT_CLEANUP is discarded.
2127 * acgeneral.m4 (_m4_divert(KILL)): Move to...
2129 * tests/atgeneral.m4 (AT_INIT): Use m4_divert_push/pop instead of
2131 Put all the tests inside a for;case.
2133 (AT_SETUP, AT_CLEANUP): Open/close each case.
2135 2000-11-23 Akim Demaille <akim@epita.fr>
2137 Move divert and undivert into m4_.
2139 * m4sugar.m4 (m4_divert, divert, undivert): Rename as...
2140 (m4_divert_text, m4_divert, m4_undivert): this.
2141 * autoconf.m4 (divert, undivert): Restore them for user macros only.
2143 2000-11-23 Akim Demaille <akim@epita.fr>
2145 Move Autotest on top of M4sh.
2147 * tests/atgeneral.m4: Import M4sh.
2148 Adjust the differences on the names of the builtins (define etc.).
2149 (AT_CASE): Remove, use m4_case.
2150 (AT_SETUP): Don't use `AT_group_description', `$1' is OK.
2151 * tests/atspecific.m4 (m4_for, m4_foreach): Remove, use those of
2153 * tests/m4sugar.at: Strengthen the quotation and adjust to the new
2155 * tests/m4sh.at: Ditto.
2156 * tests/torture.at: Ditto.
2157 * tests/base.at: Ditto.
2158 * m4sh.m4: Import M4sugar.
2159 * autoconf.m4: Don't import M4sugar, M4sh does.
2161 2000-11-20 Pavel Roskin <proski@gnu.org>
2163 * acgeneral.m4 (_AC_RUN_IFELSE): `==' in test is not portable,
2166 2000-11-17 Akim Demaille <akim@epita.fr>
2168 * acgeneral.m4 (_AC_INIT_DEFAULTS): Also include `PATH' and
2169 `/bin/machine' in the log.
2171 2000-11-17 Akim Demaille <akim@epita.fr>
2173 Let AC_TRY_RUN be more verbose
2175 * acgeneral.m4 (_AC_RUN_IFELSE): Instead of canceling the output
2176 of the test program, save it into the log.
2177 Save the exit status, and report it in the log when non zero.
2178 Just use `(./conftest)' instead of `(./conftest; exit)'.
2180 2000-11-17 Akim Demaille <akim@epita.fr>
2182 * acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_includes_default>: Include
2184 * acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_BLOCKS)
2185 (AC_STRUCT_ST_RDEV): Simplify.
2186 * acfunctions.m4 (AC_FUNC_MMAP): Include sys/stat.h unconditionally.
2187 * doc/autoconf.texi (Default Includes): Adjust.
2188 (Particular Structures) <AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV>:
2191 2000-11-16 Akim Demaille <akim@epita.fr>
2193 * doc/autoconf.texi (Limitations of Usual Tools) <expr>:
2197 2000-11-16 Akim Demaille <akim@epita.fr>
2199 Reorder the test suite so that low level features are tested
2200 before high level ones.
2202 * tests/semantics.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
2203 (missing templates): Move to...
2204 * tests/torture.at: here.
2205 Reorder the file so that the torture test is last.
2206 * tests/semantics.at (AC_TRY_LINK_FUNC, AC_PROG_CPP with warnings)
2207 (AC_PROG_CPP without warnings): Move to...
2208 * tests/compile.at: here, new file.
2209 * tests/suite.at: Run `torture' and then `compile' before
2212 2000-11-16 Akim Demaille <akim@epita.fr>
2214 * acspecific.m4 (AC_SYS_LARGEFILE): _AC_SYS_LARGEFILE_SOURCE no
2217 2000-11-16 Akim Demaille <akim@epita.fr>
2219 POSIX doesn't require s/[^/]// to work.
2220 From Paul Eggert and Johan Danielsson.
2222 * doc/autoconf.texi (Limitations of Usual Tools) <sed>:
2223 Reorganize. Document this issue.
2224 * autoupdate.sh (dir): Use `,' as separator instead of `/'
2225 * autoreconf.sh: Likewise.
2226 * autoupdate.sh: Ditto.
2228 2000-11-16 Paul Eggert <eggert@twinsun.com>
2230 * m4/largefile.m4 (_AC_SYS_LARGEFILE_SOURCE): Remove, replaced by...
2231 (_AC_SYS_LARGEFILE_TEST_INCLUDES): this.
2232 (AC_SYS_LARGEFILE_MACRO_VALUE): Use AC_LANG_PROGRAM instead of
2233 _AC_SYS_LARGEFILE_SOURCE, i.e., don't pass
2234 _AC_SYS_LARGEFILE_TEST_INCLUDES by default: this isn't desirable
2235 when checking for fseeko.
2236 (AC_SYS_LARGEFILE): Pass AC_SYS_LARGEFILE_TEST_INCLUDES to
2237 _AC_SYS_LARGEFILE_MACRO_VALUE, since it no longer does this for us.
2239 2000-11-16 Akim Demaille <akim@epita.fr>
2241 Provide a means for escaping the forbidden patterns test.
2243 * tests/tools.at (Forbidden tokens): Test m4_token_allow.
2244 * m4sugar.m4 (m4_file_append, m4_token_allow): New macros.
2245 * autoconf.sh (task script): Pass `tmp' and `verbose' to
2247 (finalize.awk::check_patterns): Eve out from the body.
2248 (finalize.awk): Read `$tmp/tokens_allowed', and don't complain for
2251 2000-11-14 Paul Eggert <eggert@twinsun.com>
2253 * acspecific.m4 (AC_SYS_LARGEFILE): Don't worry about
2254 whether fseeko and ftello are properly declared.
2255 * acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
2256 fseeko (and presumably ftello). Do not set _XOPEN_SOURCE; that
2257 causes too many problems in practice.
2258 * acfunctions (fteelo, fseeko): Trigger AC_FUNC_FSEEKO.
2259 * doc/autoconf.texi: Adjust.
2261 2000-11-14 Akim Demaille <akim@epita.fr>
2263 * doc/autoconf.texi (Limitations of Builtins): Comment `true'.
2265 2000-11-14 Akim Demaille <akim@epita.fr>
2268 Be sure to read this file if you're using a non released Autoconf.
2269 * tests/tools.at (Syntax of the scripts): The non built tools are
2270 in `$top_srcdir', not `..'.
2271 (autoconf --trace): When using `-i' we need the src tree, not the
2274 2000-11-14 Akim Demaille <akim@epita.fr>
2276 A single m4_require is enough.
2278 * m4sugar.m4 (_m4_require): $2 defaults to $1.
2281 * acgeneral.m4 (_AC_REQUIRE): Remove, use m4_require if you want
2282 to get into the gory details.
2284 2000-11-14 Akim Demaille <akim@epita.fr>
2286 * acgeneral.m4 (_AC_INIT_DEFAULTS_ENVIRONMENT): Rename as...
2287 * m4sh.m4 (AS_SHELL_SANITIZE): this.
2289 2000-11-14 Akim Demaille <akim@epita.fr>
2291 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't neutralize
2292 autoconf's warnings.
2294 2000-11-14 Akim Demaille <akim@epita.fr>
2296 Set AC_LANG_PREPROC_REQUIRE which replaces AC_REQUIRE_CPP.
2297 The main difference is that the former requires AC_LANG_COMPILER.
2299 * aclang (AC_LANG_PREPROC, AC_LANG_PREPROC(C), AC_LANG_PREPROC(C++))
2300 (AC_LANG_PREPROC(Fortran 77), AC_LANG_PREPROC_REQUIRE): New
2301 macros. Issue a warning when looking for the Fortran 77
2302 preprocessor instead of an error.
2303 (AC_LANG_COMPILER): Check that it is run before the corresponding
2306 (AC_LANG_COMPILER_REQUIRE): Don't call directly
2307 AC_LANG_COMPILER(_AC_LANG), rather invoke AC_LANG_COMPILER so that
2308 the generic code in AC_LANG_COMPILER is run.
2309 (AC_REQUIRE_CPP): Use AC_LANG_PREPROC_REQUIRE.
2310 (AC_PROG_CC, AC_PROG_CXX): Don't require being run before the
2311 corresponding AC_LANG_PREPROC: AC_LANG_COMPILER does it.
2314 Propagate AC_LANG_PREPROC_REQUIRE.
2316 * acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Use it instead of
2318 * acspecific.m4 (_AC_DECL_YYTEXT, AC_PATH_X): Don't
2319 AC_REQUIRE_CPP, inner macro will do it.
2320 * aclang.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_STRINGIZE)
2321 (AC_C_PROTOTYPES): Likewise.
2322 (AC_C_STRINGIZE): Yeeks! The body of AC_CACHE_CHECK was not
2323 quoted. Use @%:@ do assist Emacs.
2326 For some reason (don't ask), this revamping revealed that
2327 AC_PROG_CC_STDC, because of the `break', does not clean its tmp
2330 * aclang.m4 (AC_PROG_CC_STDC): Extract the creation of conftest.c
2331 out of AC_COMPILE_IFELSE.
2332 Be sure to clean the tmp files.
2334 2000-11-14 Akim Demaille <akim@epita.fr>
2336 * tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Simplify.
2338 2000-11-14 Akim Demaille <akim@epita.fr>
2340 * acfunctions.m4 (AC_FUNC_ALLOCA): Don't require AC_PROG_CPP,
2341 since (i) you actually need a compiler, (ii) AC_TRY_LINK handles
2343 * acheaders.m4 (AC_HEADER_STDC): Don't require AC_PROG_CPP,
2346 2000-11-14 Akim Demaille <akim@epita.fr>
2348 Create acheaders.m4.
2350 * acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS)
2351 (AH_CHECK_HEADERS): Move to...
2352 * acheaders.m4: here, a new file.
2353 * acspecific.m4 (_AC_CHECK_HEADER_DIRENT, AH_CHECK_HEADERS_DIRENT)
2354 (AC_HEADER_DIRENT, AC_HEADER_MAJOR, AC_HEADER_STAT, AC_HEADER_STDC)
2355 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME)
2356 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H)
2357 (_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ): Move
2359 * acheaders.m4: here.
2361 2000-11-14 Akim Demaille <akim@epita.fr>
2363 Move AC_MSG_* into M4sh.
2365 * acgeneral.m4 (_AC_SH_QUOTE, _AC_SH_QUOTE_IFELSE, _AC_ECHO): Move
2367 * m4sh.m4 (_AS_QUOTE, _AS_QUOTE_IFELSE, _AS_ECHO): here.
2368 (AS_MESSAGE, AS_WARN, AS_ERROR): New.
2369 * acgeneral.m4 (AC_MSG_NOTICE, AC_MSG_WARN, AC_MSG_ERROR): Use them.
2370 (AC_FD_MSG, AC_FD_LOG): Be AU_ALIAS'es of...
2371 (AS_MESSAGE_FD, AS_MESSAGE_LOG_FD): new.
2372 Adjust all dependencies.
2374 2000-11-14 Akim Demaille <akim@epita.fr>
2376 * acgeneral.m4: Spread some AS_EXIT and AC_MSG_ERROR.
2377 (AC_OUTPUT): Don't play with trap, use ac_clean_files.
2379 2000-11-14 Akim Demaille <akim@epita.fr>
2381 Use AC_MSG_ERROR in `config.status', but adjust AC_MSG_* to use $0
2382 instead of hard coded `configure'.
2384 * acgeneral.m4 (AC_COPYRIGHT): s/configure.in/__file__/.
2385 (_AC_INIT_DEFAULTS_FDS): Append to AC_FD_LOG instead of creating
2386 it. No longer insert the configure banner.
2387 (_AC_INIT_DEFAULTS): Create config.log with the banner.
2389 (_AC_INIT_PARSE_ARGS, _AC_INIT_PREPARE, AC_MSG_NOTICE)
2390 (AC_MSG_CHECKING, AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED)
2391 (AC_MSG_WARN, AC_MSG_ERROR, AC_MSG_ERROR, AC_TRY_CPP)
2392 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
2393 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_PROG_F77_V_OUTPUT): Use
2394 `$as_me' instead of `configure'.
2395 (AC_OUTPUT): Get rid of the UCA, and of the empty line when
2396 dumping confdefs.h into config.log.
2397 (_AC_OUTPUT_CONFIG_STATUS): Use _AC_INIT_DEFAULTS_FDS.
2399 Use AC_MSG_ERROR and AC_MSG_NOTICE.
2400 * acgeneral.m4 (AC_CACHE_LOAD, _AC_OUTPUT_FILES, _AC_OUTPUT_LINKS)
2401 (_AC_OUTPUT_HEADERS): Use AC_MSG_NOTICE.
2402 * tests/semantics.at (missing templates): Adjust.
2404 2000-11-14 Akim Demaille <akim@epita.fr>
2406 * doc/autoconf.texi (autoconf Invocation): Explain `-W error'
2409 2000-11-11 Pavel Roskin <proski@gnu.org>
2411 * acfunctions.m4 (AC_CHECK_FUNCS): Add missing m4 quotes.
2412 (AC_FUNC_GETPGRP): Likewise.
2413 * acspecific.m4 (AC_AIX): Likewise.
2414 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
2415 * m4/missing.m4 (AM_MISSING_PROG): Likewise.
2416 * m4/sanity.m4 (AM_SANITY_CHECK): Likewise.
2418 2000-11-11 Pavel Roskin <proski@gnu.org>
2420 * acfunctions.m4: Always quote first argument of AC_MSG_ERROR,
2421 AC_MSG_WARN, AC_MSG_CHECKING, AC_MSG_RESULT,
2422 AC_MSG_RESULT_UNQUOTED.
2423 * acgeneral.m4: Likewise.
2424 * aclang.m4: Likewise.
2425 * acspecific.m4: Likewise.
2426 * configure.in: Likewise.
2427 * doc/autoconf.texi: Likewise.
2429 2000-11-10 Pavel Roskin <proski@gnu.org>
2431 * doc/autoconf.texi (Particular Structures): Fix examples for
2432 AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
2434 2000-11-10 Pavel Roskin <proski@gnu.org>
2436 * doc/autoconf.texi (Limitations of Usual Tools): Don't use
2437 uncommon abbreviations.
2439 2000-11-10 Akim Demaille <akim@epita.fr>
2441 * doc/autoconf.texi (Limitations of Builtins): Some information
2443 Document the FreeBSD bug observed by Pavel.
2445 2000-11-10 Pavel Roskin <proski@gnu.org>
2447 * autoscan.pl (scan_files): Eliminate a warning if no C files
2449 (output): Likewise. Use AC_CONFIG_SRCDIR and AC_CONFIG_FILES
2450 instead of old-style arguments for AC_INIT and AC_OUTPUT.
2452 2000-11-10 Akim Demaille <akim@epita.fr>
2454 * doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
2457 2000-11-10 Akim Demaille <akim@epita.fr>
2459 * doc/autoconf.texi (Shell Substitutions): Some information about
2460 Solaris' sh handling of ``foo=${foo='}'}'' collected by Alexandre,
2461 reported by David Taylor.
2463 2000-11-10 Akim Demaille <akim@epita.fr>
2465 * tests/m4sh.at (Negated classes in globbing): New test.
2467 2000-11-10 Akim Demaille <akim@epita.fr>
2469 * doc/autoconf.texi (Limitations of Builtins): `for i; do'.
2471 2000-11-10 Akim Demaille <akim@epita.fr>
2473 * doc/autoconf.texi (Shellology): Some about /usr/xpg4/bin/sh on
2476 Some words about POSIX vs Bourne shell.
2477 From Russ Allbery and Robert Lipe.
2479 2000-11-10 Akim Demaille <akim@epita.fr>
2481 * doc/autoconf.texi (Shell Substitutions): Split into...
2482 (Shell Substitutions, Assignments): these.
2483 Move them before `Special Shell Variables'.
2484 (Shell Substitutions): Include information on `$()' from Russ
2487 2000-11-10 Akim Demaille <akim@epita.fr>
2493 AC_LANG_COMPILER_REQUIRE
2495 AC_PROG_CC is expanded twice, because AC_PROG_CC provides
2496 `AC_PROG_CC', and not `AC_LANG_COMPILER(C)' as expected by
2497 AC_LANG_COMPILER_REQUIRE.
2499 * aclang.m4 (AC_LANG_COMPILER(C)): Instead of calling AC_PROG_CC,
2501 (AC_LANG_COMPILER(C++), AC_LANG_COMPILER(Fortran 77)): Likewise.
2503 2000-11-10 Akim Demaille <akim@epita.fr>
2505 * m4sh.m4 (AS_MKDIR_P, AS_DIRNAME_SED): Don't shell quote $1.
2507 Reported by Paul Eggert.
2508 * tests/m4sh.at: Sort.
2510 2000-11-09 Pavel Roskin <proski@gnu.org>
2512 * install-sh: Use ":" instead of "true".
2514 2000-11-09 Pavel Roskin <proski@gnu.org>
2516 * tests/tools.at (Syntax of the scripts): Check "autoreconf"
2517 only once. Check "install-sh", "mkinstalldirs" and "missing".
2519 2000-11-09 Pavel Roskin <proski@gnu.org>
2521 * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
2523 * tests/atgeneral.m4 (AT_INIT): Likewise.
2524 * tests/tools.at (Syntax of the scripts): Likewise.
2526 2000-11-09 Pavel Roskin <proski@gnu.org>
2528 * tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when
2531 2000-11-08 Akim Demaille <akim@epita.fr>
2533 * m4sugar.m4 (_m4_expansion_stack_dump): Really rename as...
2534 (m4_expansion_stack_dump): this.
2536 2000-11-08 Akim Demaille <akim@epita.fr>
2538 * aclang.m4 (AC_LANG_PROGRAM(Fortran 77): Complain about $1 having
2540 Reported by Paul Martinolich.
2541 (_AC_LANG_COMPILER_GNU): Pass the test as the body of
2542 AC_LANG_PROGRAM, not the prologue.
2544 2000-11-07 Pavel Roskin <proski@gnu.org>
2546 * autoconf.sh: Temporarily disable recognizing of abbreviated
2547 long options - it's hard to maintain them by hand.
2548 * autoheader.sh: Likewise.
2549 * autoreconf.sh: Likewise.
2550 * autoupdate.sh: Likewise.
2551 * ifnames.sh: Likewise.
2553 2000-11-07 Akim Demaille <akim@epita.fr>
2555 * aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
2556 Be AU_DEFUN'd, not AU_ALIAS'd.
2557 Reported by Ralf Corsepius.
2558 * tests/mktests.sh (exclude_list): Skip these variables.
2560 2000-11-07 Akim Demaille <akim@epita.fr>
2562 m4_syscmd was reestablished as `syscd' intead of `syscmd' because
2563 instead of `s/^m4_//', m4_copy_unm4 was running `s/[m4_]//'.
2565 * m4sugar.m4 (m4_copy_unm4): Fix.
2567 2000-11-07 Akim Demaille <akim@epita.fr>
2569 * acgeneral.m4 (AC_CHECKING): Is not an alias of AC_MSG_NOTICE,
2570 hence use AU_DEFUN, not AU_ALIAS.
2572 2000-11-03 Jim Meyering <meyering@lucent.com>
2574 * acfunctions.m4 (AC_FUNC_FNMATCH): Add a test to detect
2575 the d*/*1 vs d/s/1 bug.
2576 Add a couple more test cases to catch bugs in glibc 2.1.95.
2577 Include fnmatch.h unconditionally
2578 Mention the GNU C library.
2581 2000-11-03 Akim Demaille <akim@epita.fr>
2583 AC_CONFIG_AUX_DIR_DEFAULTS overrides AC_CONFIG_AUX_DIR. Ouch.
2584 Reported by Paul Martinolich.
2586 * acgeneral.m4 (AC_PROVIDE): Don't forget to `m4_provide'!!!
2588 * tests/base.at (AC_REQUIRE & AC_PROVIDE): New test.
2590 2000-11-03 Akim Demaille <akim@epita.fr>
2592 * m4sugar.m4 (m4_location): When using its value, don't use
2593 `m4_defn', since m4_location is not a variable, it's a macro which
2594 expands to __file__:__line__.
2595 * tests/m4sugar.at (m4_warn): New test.
2597 2000-11-03 Akim Demaille <akim@epita.fr>
2599 * tests/tools.at (unexpanded macros): Strengthen.
2600 * autoconf.sh (finalize.awk): Use `sub' instead of `index' +
2604 2000-11-03 Akim Demaille <akim@epita.fr>
2606 * Makefile.am (.m4.m4f): Check that processing produces only
2607 comments and empty lines.
2608 Check that freezing produced no output.
2609 * m4sugar.m4: Commentize what was not.
2610 * m4sh.m4: Likewise.
2611 * aclang.m4: Formatting changes.
2613 2000-11-03 Akim Demaille <akim@epita.fr>
2615 * autoconf.m4 (define): Reestablish only after having read the
2617 Adjust all the Autoconf code to use `m4_define', not `define'.
2619 2000-11-03 Akim Demaille <akim@epita.fr>
2621 * acgeneral.m4 (AU_ALIAS): Don't forget to pass the arguments to
2623 Reported by Ezra Peisach.
2624 * tests/semantics.m4 (AC_HAVE_FUNCS): New test.
2625 * tests/tools.at (autoupdate): As a benign side effect, updating a
2626 macro that takes no argument produces `UPDATED([])', no longer
2627 `UPDATED()'. Adjust the test.
2629 2000-11-03 Akim Demaille <akim@epita.fr>
2631 * autoconf.m4: Instead of reactivating the macros before reading
2632 Autoconf's files, do it afterwards, so that Autoconf promotes the
2633 right use, but users still can use the old names.
2634 Of course this revealed numerous non updated uses of old macros in
2635 Autoconf's files. Adjust them.
2636 But for the time being, keep `define' alive for Autoconf.
2638 2000-11-03 Akim Demaille <akim@epita.fr>
2640 AC_REQUIRE and AC_DEFUN_ONCE don't work properly together. This
2641 caused strange messages about AC_ARG_PROGRAM.
2642 Reported by Jim Meyering.
2644 * acgeneral.m4 (AC_DEFUN_ONCE): Fix the indirection to
2646 * m4sugar.m4 (m4_defun_once): Also define
2647 `m4_location(MACRO-NAME)'. s/ac_warn/m4_warn/.
2648 Use `m4_defn' to read `m4_location'.
2649 * tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE): Two new tests.
2651 2000-11-03 Akim Demaille <akim@epita.fr>
2653 Set up config.log earlier so that AC_MSG_ERROR and AC_MSG_WARN can
2656 * acgeneral.m4 (_AC_INIT_DEFAULTS): Call `_AC_INIT_PREPARE_FDS'.
2657 (_AC_INIT_PREPARE): Don't.
2658 (_AC_INIT_PREPARE_ENVIRONMENT, _AC_INIT_PREPARE_FDS): Rename as...
2659 (_AC_INIT_DEFAULTS_ENVIRONMENT, _AC_INIT_DEFAULTS_FDS): these,
2660 since they are called from `_AC_INIT_DEFAULTS', not
2662 (_AC_INIT_DEFAULTS_FDS): Dump `$@' in config.log, not
2663 `$ac_configure_args' which is not computed yet.
2665 2000-11-03 Akim Demaille <akim@epita.fr>
2667 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and
2669 Reported by Andreas Jaeger.
2671 2000-11-03 Akim Demaille <akim@epita.fr>
2673 * m4sh.m4 (_AS_UNSET_PREPARE): New macro, eved from
2674 _AC_INIT_PREPARE_ENVIRONMENT, and fixed: set `FOO' before trying
2675 to unset it: `unset' exits 1 if the variable is not defined.
2676 (AS_UNSET): Require it. Use `as_unset' not `ac_unset'.
2677 * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Use it.
2679 2000-11-03 Akim Demaille <akim@epita.fr>
2681 * m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
2682 (incr, index, indir, len, syscmd, sysval, traceoff, traceon):
2684 (m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
2685 (m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
2686 (m4_traceoff, m4_traceon): these.
2687 * autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
2688 (syscmd, sysval, traceoff, traceon): Reactivate.
2690 2000-11-03 Akim Demaille <akim@epita.fr>
2692 * m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
2694 (debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
2695 (substr, translit, m4_wrap): Rename as...
2696 (m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
2697 (m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
2698 Adjust all dependencies.
2699 * acgeneral.m4: Adjust.
2700 * tests/m4sugar.at: Adjust.
2701 * autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
2704 2000-11-02 Akim Demaille <akim@epita.fr>
2706 The documentation is not clear about the obsoleteness of
2707 `acconfig.h', `config.h.top', and `config.h.bot'.
2708 Reported by Aharon Robbins.
2710 * doc/autoconf.texi (Making configure Scripts)
2711 (Automatic Remaking, Defining Symbols, Distributing): Forget about
2713 (acconfig.h): Reword.
2714 Display the old scheme presenting the dependencies between input
2716 (Changed File Names): Clarify.
2718 2000-11-02 Akim Demaille <akim@epita.fr>
2720 * doc/autoconf.texi (Limitations of Usual Tools): Some about
2723 2000-11-02 Pavel Roskin <proski@gnu.org>
2725 * ifnames.sh: Put the opening brace on the same line with
2726 patterns. Reported by Paul Martinolich.
2727 * tests/tools.at (AWK portability): Check ifnames.
2728 (ifnames): New test for ifnames.
2731 2000-11-02 Pavel Roskin <proski@gnu.org>
2733 * m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
2734 because AT_TESTPATH looks like a macro.
2735 * tests/atconfig.in: Likewise.
2737 2000-11-02 Akim Demaille <akim@epita.fr>
2739 * autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
2740 Catch the failures of the big pipe.
2742 2000-11-02 Akim Demaille <akim@epita.fr>
2744 * tests/tools.at (Tracing M4 builtins): New test.
2745 * autoconf.sh (trace_format): Fix its computation.
2747 2000-11-02 Akim Demaille <akim@epita.fr>
2749 * tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
2750 stdout and stderr fail, differences on the latter are probably
2751 more significant than on the former.
2753 2000-11-02 Akim Demaille <akim@epita.fr>
2755 * autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
2758 2000-11-02 Akim Demaille <akim@epita.fr>
2760 * autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
2762 2000-11-02 Akim Demaille <akim@epita.fr>
2764 * m4sugar.m4 (popdef, pushdef): Rename as...
2765 (m4_popdef, m4_pushdef): these.
2766 Adjust dependencies.
2767 * acgeneral.m4: Adjust.
2768 * aclang.m4: Likewise.
2769 * autoconf.m4 (popdef, pushdef): Reactivate them.
2771 2000-11-02 Akim Demaille <akim@epita.fr>
2773 * tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
2776 2000-11-01 Pavel Roskin <proski@gnu.org>
2778 * autoconf.sh: Using trap-safe "exit".
2779 * autoreconf.sh: Likewise.
2780 * autoupdate.sh: Likewise.
2781 * tests/base.at: Use AS_EXIT instead of exit in configure.in.
2782 * tests/m4sh.at: Likewise.
2783 * tests/semantics.at: Likewise.
2785 2000-11-01 Akim Demaille <akim@epita.fr>
2787 In M4sugar, move `define', `undefine', and `defn' into the `m4_'
2790 * m4sugar.m4 (m4_define, m4_defn, m4_undefine): New macros.
2791 (define, defn, undefine): Undefine.
2794 * autoconf.m4: Reenable these builtins.
2795 * m4sugar.m4 (m4_expansion_stack_dump): Use m4_copy.
2797 2000-11-01 Akim Demaille <akim@epita.fr>
2799 GNU M4 1.4 improperly handle the traces of copies of builtins.
2801 * autoconf.sh (task trace): When tracing `BUILTIN' also trace
2804 2000-11-01 Akim Demaille <akim@epita.fr>
2806 Autoupdate should not depend upon foreign macros.
2808 * autoupdate.sh (ac.m4): Use `_au_define', not `define'.
2809 (input.m4): Use `_au_BUILTIN' not `BUILTIN'.
2811 2000-11-01 Akim Demaille <akim@epita.fr>
2813 * m4sugar.m4 (m4_fatal): Dump the expansion stack.
2814 * acgeneral.m4 (AC_FATAL): Use m4_fatal.
2816 2000-11-01 Akim Demaille <akim@epita.fr>
2818 Move the `defun' handling into M4sugar.
2820 * m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
2821 _m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
2822 m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
2823 m4_provide_ifelse): New macros.
2824 * acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
2825 _AC_DEFUN_EPI): Removed.
2826 (AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
2827 AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.
2829 2000-11-01 Raja R Harinath <harinath@cs.umn.edu>
2831 * tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
2832 like in the rest of the tests.
2834 2000-11-01 Pavel Roskin <proski@gnu.org>
2836 * autoconf.sh: Typo: s/m4__warnings/m4_warnings/.
2838 2000-10-31 Pavel Roskin <proski@gnu.org>
2840 * autoupdate.sh: Check that $sed understands the meaning of "\b"
2841 instead of checking "--version".
2843 2000-10-31 Akim Demaille <akim@epita.fr>
2845 Move the handling of classified warnings into M4sugar.
2847 * m4sugar.m4 (m4_diagnose): Remove.
2849 * acgeneral.m4 (AC_WARNING_IFELSE, _AC_WARNING_IFELSE)
2850 (_AC_WARNING_ERROR_IFELSE, __AC_WARNING_ERROR_IFELSE)
2851 (_AC_DIAGNOSE, AC_DIAGNOSE): Rename as...
2852 * m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
2853 (_m4_warning_error_ifelse, __m4_warning_error_ifelse)
2854 (_m4_warn, m4_warn): these.
2855 * acgeneral.m4 (AC_DIAGNOSE): Wrapper around `m4_warn'.
2856 * autoconf.sh: Define `m4_warnings' instead of `_AC_WARNINGS'.
2858 2000-10-30 Pavel Roskin <proski@gnu.org>
2860 * acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
2861 argument to AC_LINK_IFELSE.
2863 2000-10-30 Pavel Roskin <proski@gnu.org>
2865 * m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
2866 * acgeneral.m4 (AC_MSG_ERROR): Don't use m4_default for the
2867 second argument - AS_EXIT takes care of it.
2869 2000-10-30 Akim Demaille <akim@epita.fr>
2871 * m4sugar.m4: Formatting changes.
2873 2000-10-30 Akim Demaille <akim@epita.fr>
2875 Move the handling of diversions into M4sugar.
2877 * acgeneral.m4 (_AC_DIVERT, AC_DIVERT, AC_DIVERT_PUSH)
2878 (AC_DIVERT_POP): Move to...
2879 * m4sugar.m4 (_m4_divert, m4_divert, m4_divert_push)
2880 (m4_divert_pop): here.
2881 * acgeneral.m4: Adjust to use only the M4sugar macros.
2883 (AC_DIVERT_PUSH, AC_DIVERT_POP): New wrappers around the M4sugar
2885 (_AC_DIVERT(...)): Rename all the diversions names as...
2886 (_m4_divert(...)): these.
2888 2000-10-30 Pavel Roskin <proski@gnu.org>
2890 * m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
2891 is set correctly within the exit trap.
2892 (AS_TMPDIR): Use it.
2893 * acgeneral.m4 (AC_MSG_ERROR): Likewise,
2895 2000-10-29 Pavel Roskin <proski@gnu.org>
2897 * acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
2898 cache. From Jim Meyering.
2899 (AC_PATH_TOOL): Likewise.
2901 2000-10-29 Pavel Roskin <proski@gnu.org>
2903 * tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
2904 is different from what we got. Don't preserve exit status other
2907 2000-10-29 Pavel Roskin <proski@gnu.org>
2909 * autoconf.sh: When scanning for unexpanded macros match only
2910 words beginning with "A?_" and "m4_" or containing "_A?_".
2911 Strip the comments before the matching. Don't use character
2914 2000-10-29 Pavel Roskin <proski@gnu.org>
2916 * acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
2917 accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.
2919 2000-10-29 Jim Meyering <meyering@lucent.com>
2921 * acgeneral.m4 (AC_MSG_WARN): Now that this macro expands to
2922 two stmts, enclose them in `{' ... `}'.
2924 2000-10-28 Pavel Roskin <proski@gnu.org>
2926 * aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
2927 for unsupported languages.
2929 2000-10-27 Pavel Roskin <proski@gnu.org>
2931 * acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
2932 shell, not from the test program.
2934 2000-10-27 Pavel Roskin <proski@gnu.org>
2936 * doc/autoconf.texi (Limitations of Builtins): Recommend using
2937 AC_MSG_ERROR instead of exit.
2938 (Autoconf Language): Fix examples.
2940 2000-10-27 Pavel Roskin <proski@gnu.org>
2942 * tests/suite.at: Move "-*- Autoconf -*-" to the second line.
2944 2000-10-27 Akim Demaille <akim@epita.fr>
2946 Use AC_MSG_ERROR in the test suite, not just `exit'.
2948 * tests/README: New file.
2949 * tests/semantics.at: Don't just `exit 1' or `exit 77' from
2950 configure.in: call AC_MSG_ERROR.
2951 * tests/base.m4: Likewise.
2952 * tests/m4sh.at: Likewise.
2953 * tests/semantics.at (AT_CHECK_PROGS_PREPARE): New macro, eved
2955 (AC_CHECK_PROG & AC_PATH_PROG): here.
2956 Split into two individual tests...
2957 (AC_CHECK_PROG & AC_CHECK_PROGS, AC_PATH_PROG & AC_PATH_PROGS): these.
2959 2000-10-27 Pavel Roskin <proski@gnu.org>
2961 * autoconf.sh: Recognize short options followed by arguments
2963 * autoheader.sh: Likewise.
2964 * autoreconf.sh: Likewise. Recognize abbreviations for
2965 "--autoconf-dir" and "--m4dir".
2966 * autoupdate.sh: Likewise. Recognize abbreviations for
2969 2000-10-26 Pavel Roskin <proski@gnu.org>
2971 * autoconf.sh: Don't show obsolete options on "--help". Report
2972 obsolete options to stderr. Adjust list of options. Correct
2973 processing of options. Process options with values separated by
2974 "=" first, so that abbreviations work. Don't accept "=" with
2976 * autoheader.sh: Likewise.
2977 * autoreconf.sh: Likewise.
2978 * autoupdate.sh: Likewise.
2979 * ifnames.sh: There is no "--verbose" option.
2980 * doc/autoconf.texi: Option "-A" requires an argument.
2981 (autoreconf Invocation): Document "--install", "--symlink",
2982 "--m4dir" and the options passed to Automake.
2984 2000-10-26 Akim Demaille <akim@epita.fr>
2986 * shell.m4: Rename as...
2988 * tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
2989 * tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
2990 * tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
2991 * tests/semantics.at, tests/base.at, tests/suite.at: these.
2992 * tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
2993 * tests/tools.at, tests/update.at, tests/syntax.at: these.
2994 * tests/mktests.sh: Adjust the output file names.
2996 2000-10-25 Pavel Roskin <proski@gnu.org>
2998 * autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
2999 hangs with non-GNU versions of sed.
3001 2000-10-25 Akim Demaille <akim@epita.fr>
3003 Move the Autoconf independent shell macros into the file
3004 `shell.m4' and the name space `AS_*'.
3006 * acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
3007 (AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
3008 * shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
3009 (AS_DIRNAME): here, a new file.
3010 Adjust all dependencies.
3012 * tests/base.m4 (m4_wrap): Eve out into...
3013 * tests/shell.m4: here, new file.
3014 * tests/base.m4 (AC_SHELL_MKDIR_P)
3015 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
3016 * tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
3018 Adjust the test suite.
3020 2000-10-25 Akim Demaille <akim@epita.fr>
3022 * acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
3023 (AC_SHELL_DIRNAME_EXPR, AC_SHELL_DIRNAME_SED): these new macros.
3024 * tests/base.m4 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): New
3027 2000-10-25 Pavel Roskin <proski@gnu.org>
3029 * tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
3030 (AC_STATE_SAVE): ... this. Save the list of all files
3031 in the current directory.
3032 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Compare lists of
3033 files created by AC_ENV_SAVE. Remove state* before and after
3036 2000-10-25 Pavel Roskin <proski@gnu.org>
3038 * Makefile.am: Add acversion.m4.in to EXTRA_DIST.
3040 2000-10-25 Akim Demaille <akim@epita.fr>
3042 * acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
3043 twice the output for it was not using `-n' and used `p'. Remove
3046 2000-10-25 Akim Demaille <akim@epita.fr>
3048 * acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
3049 the host in config.log.
3051 2000-10-24 Pavel Roskin <proski@gnu.org>
3053 * tests/mktests.sh: Set locale to C to make sure that syntax.m4
3054 and update.m4 are locale-independent.
3056 2000-10-24 Pavel Roskin <proski@gnu.org>
3058 * acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
3061 2000-10-24 Akim Demaille <akim@epita.fr>
3063 * acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
3064 (AC_FILE_DEPENDENCY_TRACE): this.
3066 2000-10-24 Lars J. Aas <larsa@sim.no>
3068 * m4sugar.m4: (m4_tolower, m4_toupper): New macros.
3069 * acgeneral.m4 (AC_PREFIX_PROGRAM): Use m4_toupper().
3070 * aclang.m4 (AC_F77_FUNC): Use m4_toupper()/m4_tolower().
3072 2000-10-24 Pavel Roskin <proski@gnu.org>
3074 * m4sugar.m4 (m4_quote): Comment change.
3076 2000-10-24 Akim Demaille <akim@epita.fr>
3078 Start avoiding dependence upon character ranges.
3080 * acgeneral.m4 (_AC_INIT_DEFAULTS): Introduce `ac_cr_AZ',
3081 `ac_cr_az', `ac_cr_09', `ac_cr_alnum' and `ac_hostname'.
3084 2000-10-24 Akim Demaille <akim@epita.fr>
3086 * acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
3087 (_AC_INIT_PREPARE): Trap after having created config.log.
3089 When trapped, report why in config.log.
3090 (AC_MSG_WARN, AC_MSG_ERROR): Also output the message in
3093 2000-10-24 Akim Demaille <akim@epita.fr>
3095 * acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
3096 (AC_SHELL_DIRNAME): this.
3097 s/X$1/X[]$1/ so that when $1 is a macro, it's given a chance to be
3099 (AC_PREFIX_PROGRAM): Use AC_SHELL_DIRNAME.
3102 2000-10-24 Akim Demaille <akim@epita.fr>
3104 * tests/tools.m4 (Syntax of the scripts): Specify the path to the
3105 tested program, some shells don't honor the PATH with `sh PROG'.
3107 2000-10-23 Akim Demaille <akim@epita.fr>
3109 Since GNU M4 now comes with its libm4 (binary), to avoid
3110 ambiguities let's rename `libm4' (M4 code) as `m4sugar':
3112 Readability And Greater Understanding Stands 4 M4sugar
3114 name coined by Lars J. Aas.
3116 * libm4.m4: Rename as...
3118 All dependencies adjusted.
3120 2000-10-23 Akim Demaille <akim@epita.fr>
3122 * tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
3124 * tests/tools.m4: Globally, don't use `../' to invoke the tested
3125 tools, since the PATH is properly set, and in most cases it
3126 obfuscates the test code.
3127 (autoupdating AC_PREREQ): New tests.
3129 2000-10-23 Akim Demaille <akim@epita.fr>
3131 In order to check that all the CPP symbols which are AC_DEFINE'd
3132 are properly templated, autoheader traces
3133 AC_DEFINE/AC_DEFINE_UNQUOTED. Only literals can be traced, and
3134 actually tracing non literals produces invalid autoheader input.
3135 Hence, provide a means to trace calls to
3136 AC_DEFINE/AC_DEFINE_UNQUOTED with literals.
3138 * acgeneral.m4 (AC_DEFINE_TRACE, AC_DEFINE_TRACE_LITERAL): New
3140 (AC_DEFINE, AC_DEFINE_UNQUOTED): Use AC_DEFINE_TRACE.
3141 * autoheader.sh: Trace AC_DEFINE_TRACE_LITERAL, not
3142 AC_DEFINE/AC_DEFINE_UNQUOTED.
3144 2000-10-23 Akim Demaille <akim@epita.fr>
3146 Let autoupdate change AC_PREREQ to require the current version of
3149 * acgeneral.m4 (_AC_VERSION_UNLETTER, _AC_VERSION_COMPARE): Move
3151 * libm4.m4 (m4_version_unletter, m4_version_compare): here.
3152 Adjust dependencies.
3153 * acgeneral.m4 (AU::AC_PREREQ): New macro.
3154 * autoupdate.sh: Fail when `m4 input.m4' fails.
3156 2000-10-21 Pavel Roskin <proski@gnu.org>
3158 * acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
3159 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
3160 (AC_FUNC_SELECT_ARGTYPES): Likewise.
3161 (AC_FUNC_UTIME_NULL): Likewise.
3162 * acgeneral.m4 (_AC_COMPUTE_INT): Likewise.
3163 * aclang.m4 (_AC_F77_NAME_MANGLING): Likewise.
3164 * acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
3166 2000-10-20 Pavel Roskin <proski@gnu.org>
3168 * tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
3169 and "src2" at the end of the test.
3171 2000-10-19 Pavel Roskin <proski@gnu.org>
3173 * NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
3174 * doc/autoconf.texi (Compilers and Preprocessors): Likewise.
3175 * acgeneral.m4 (AC_TRY_CPP): Comment changes.
3177 2000-10-19 Pavel Roskin <proski@gnu.org>
3179 * doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.
3181 2000-10-18 Pavel Roskin <proski@gnu.org>
3183 * mdate-sh: Removed, its copy remains in the doc/ directory.
3185 2000-10-18 Akim Demaille <akim@epita.fr>
3187 * acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.
3189 2000-10-18 Morten Eriksen <mortene@sim.no>
3191 * aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
3192 instead of reinventing the wheel. This also takes care of a bug
3193 where the "-g" option was accepted if the compiler silently exits
3194 with status unequal to 0.
3195 (_AC_PROG_CXX_G): Likewise.
3196 (AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
3197 $ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
3198 front of _AC_PROG_CC_G.
3199 (AC_PROG_CXX, AC_PROG_F77): Likewise.
3201 2000-10-18 Akim Demaille <akim@epita.fr>
3203 * tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
3205 Use grep to check the presence of a string in a stream.
3206 * m4/atconfig.m4: Quote.
3208 2000-10-18 Akim Demaille <akim@epita.fr>
3210 * acgeneral.m4 (_AC_SHELL_DIRNAME): Quote the `sed' fall back.
3212 2000-10-18 Akim Demaille <akim@epita.fr>
3214 * acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
3217 2000-10-17 Morten Eriksen <mortene@sim.no>
3219 * acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
3220 value of the VARIABLE argument when looking for executables, we
3221 need to set it to the correct value from AC_CHECK_TOOL when not
3222 just passing on the incoming VARIABLE directly.
3223 (AC_CHECK_TOOLS, AC_PATH_TOOL): Likewise.
3225 2000-10-17 Assar Westerlund <assar@sics.se>
3227 * acgeneral.m4 (_AC_INIT_PREPARE): Move the
3228 _AC_INIT_PREPARE_ENVIRONMENT invocation to...
3229 (_AC_INIT_DEFAULTS): here, so that we keep the same known
3230 environment for more of the script.
3232 2000-10-17 Akim Demaille <akim@epita.fr>
3234 * doc/autoconf.texi (The GNU build system): Sketch of new a
3237 2000-10-17 Akim Demaille <akim@epita.fr>
3239 Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
3240 myself (`Fix autoupdate...') was not applied.
3242 * tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
3245 2000-10-17 Akim Demaille <akim@epita.fr>
3247 * acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
3248 (AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Fix
3250 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Check with the
3251 $ac_tool_prefix iff it is not empty.
3253 2000-10-17 Akim Demaille <akim@epita.fr>
3255 * doc/autoconf.texi (Particular Programs): Some notes on the
3256 portability of Flex.
3258 2000-10-17 Akim Demaille <akim@epita.fr>
3260 * acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3261 (_AC_RUN_IFELSE): Before compiling, remove the files expected to
3263 (_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
3264 so don't remove them.
3266 2000-10-17 Akim Demaille <akim@epita.fr>
3268 * acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
3269 (_AC_REQUIRE): Use AC_FATAL.
3271 2000-10-17 Akim Demaille <akim@epita.fr>
3273 Give a means to report where the macros have been defined in error
3276 * libm4.m4 (m4_location): New macro.
3277 (m4_errprint): Rename as...
3278 (m4_diagnose): this. Use m4_location.
3279 Adjust dependencies.
3280 (m4_errprint): New macro, similar to `errprint' but for an
3281 additional trailing `\n'.
3282 * acgeneral.m4 (AC_DEFUN, AC_DEFUN_ONCE): Define `m4_location($1)'
3283 to the current location (i.e., that of the definition of $1).
3284 (_AC_DEFUN_PRO, _AC_REQUIRE): Also push the location of the
3285 current macro in the stack.
3286 (_AC_EXPANSION_STACK_DUMP): Adjust.
3288 2000-10-17 Akim Demaille <akim@epita.fr>
3290 Fix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
3291 it includes another AU defined macro.
3293 * autoupdate.sh (input.m4:_au_defun): New macro.
3294 (au.m4): Use it instead of inlining _au_enable/_au_disable
3295 invocations in the definition of all these macros.
3296 (input.m4:__au_enable, input.m4:__au_disable): New macros.
3297 (input.m4:_au_enable, input.m4:_au_disable): Use them.
3298 * tests/mktests.sh (update_exclude_list): Add `AC_OUTPUT'.
3299 Running it twice in a configure.in is not valid.
3300 Add `AC_LINK_FILES' since it requires arguments.
3301 * tests/tools.m4 (autoupdating AC_LINK_FILES): New test.
3303 2000-10-17 Raja R Harinath <harinath@cs.umn.edu>
3305 * Makefile.am (MAINTAINERCLEANFILES): Add acversion.m4.
3306 (INSTALL.txt): Put into $(srcdir).
3307 (acversion.m4): Build here ...
3308 * configure.in (AC_OUTPUT): Not here.
3310 * tests/Makefile.am (MACRO_FILES): Don't use $(top_srcdir).
3311 (syntax.m4): Create in $(srcdir).
3312 (update.m4): Likewise.
3313 * tests/atspecific.m4 (AT_CHECK_UPDATE): Look for autoconf
3314 macros in the top source directory.
3316 2000-10-16 Akim Demaille <akim@epita.fr>
3318 * aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
3319 (_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
3320 Adjust dependencies.
3321 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.
3323 2000-10-16 Akim Demaille <akim@epita.fr>
3325 * acgeneral.m4: Adjust copyright notice.
3326 * acspecific.m4: Likewise.
3327 * acoldnames.m4: Likewise.
3328 * acversion.m4.in: Likewise.
3329 * autoconf.sh: Likewise.
3330 * autoheader.sh: Likewise.
3331 * autoreconf.sh: Likewise.
3332 * autoscan.pl: Likewise.
3333 * autoupdate.sh: Likewise.
3334 * ifnames.sh: Likewise.
3336 2000-10-16 Pavel Roskin <proski@gnu.org>
3338 * tests/aclocal.m4: Don't consider variables @, '*', '?' and
3339 '#' in the output of `set' - they are modified by zsh.
3341 2000-10-14 Pavel Roskin <proski@gnu.org>
3343 * m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing".
3344 * configure.in: Don't add $SHELL to the path of help2man -
3345 it is already added by AM_MISSING_PROG.
3347 2000-10-13 Akim Demaille <akim@epita.fr>
3349 * tests/mktests.sh: If ever it fails, touch the output files
3352 2000-10-13 Akim Demaille <akim@epita.fr>
3354 * acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
3355 consulting a variable...
3357 2000-10-13 Akim Demaille <akim@epita.fr>
3359 * acgeneral.m4: Typos in comments spotted by Pavel.
3361 2000-10-12 Pavel Roskin <proski@gnu.org>
3363 * acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
3364 Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
3365 libfl regardless of the $LEX value.
3367 2000-10-12 Morten Eriksen <mortene@sim.no>
3369 * acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.
3371 2000-10-12 Akim Demaille <akim@epita.fr>
3373 * tests/mktests.sh: Backslash the quote in the heredocs to help
3374 syntax highlighting tools.
3375 * tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
3378 2000-10-12 Akim Demaille <akim@epita.fr>
3380 * acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
3381 of backquotes, instead of a `syntax' warning.
3383 2000-10-12 Akim Demaille <akim@epita.fr>
3385 * acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
3386 (AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.
3388 2000-10-12 Akim Demaille <akim@epita.fr>
3390 * tests/mktests.sh: Remove tmp files.
3392 2000-10-12 Akim Demaille <akim@epita.fr>
3394 Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
3395 AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
3397 * acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
3398 AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
3399 requires _AC_EXEEXT.
3400 Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
3401 * aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
3403 (_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
3406 2000-10-12 Akim Demaille <akim@epita.fr>
3408 Diagnose AC_REQUIRE circular dependencies.
3410 * acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
3411 macro expansions, _AC_EXPANSION_STACK.
3412 Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
3414 (_AC_REQUIRE): Diagnose required macros which are already being
3416 Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
3417 (_AC_EXPANSION_STACK_DUMP): New macro.
3419 2000-10-12 Akim Demaille <akim@epita.fr>
3421 * libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
3424 2000-10-11 Pavel Roskin <proski@gnu.org>
3426 * tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
3427 if diffs have succeeded.
3429 2000-10-11 Akim Demaille <akim@epita.fr>
3431 * acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
3432 (_AC_RUN_IFELSE): New macros which are the former
3433 AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
3434 (AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.
3436 2000-10-11 Morten Eriksen <mortene@sim.no>
3438 * acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
3439 * aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
3440 * aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
3441 $objext were used instead of $ac_objext.
3443 2000-10-05 Akim Demaille <akim@epita.fr>
3445 Check that updated scripts are valid scripts.
3447 * tests/mktests.sh: Generate `syntax.m4' directly.
3448 * tests/macros.m4: Remove.
3449 Adjust dependencies.
3450 * tests/mktests.sh: Generate `update.m4' too.
3451 * tests/update.m4: New generated file.
3452 Adjust dependencies.
3453 * tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.
3455 2000-10-05 Akim Demaille <akim@epita.fr>
3457 * tests/mktests.sh: New file, which replaces the code inlined in
3459 * src/Makefile.am (macros.m4): Use `mktests.sh'.
3460 * tests/suite.m4: Reorder from low level to high level.
3462 2000-10-02 Akim Demaille <akim@epita.fr>
3464 * aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
3465 (_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
3466 (AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
3468 (_AC_PROG_PREPROC_WORKS): Adjust.
3469 * acgeneral.m4 (_AC_TRY_CPP): Likewise.
3471 2000-10-02 Pavel Roskin <proski@gnu.org>
3473 * acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
3474 (AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
3475 would place it into configure.in but it's not allowed
3478 2000-10-02 Pavel Roskin <proski@gnu.org>
3480 * tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
3481 go to macros.m4 for testing.
3483 2000-09-28 Pavel Roskin <proski@gnu.org>
3485 * acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
3486 assignments changing $?.
3488 2000-09-28 Pavel Roskin <proski@gnu.org>
3490 * acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
3491 (_AC_OUTPUT_HEADERS): Exit if the header template is missing.
3493 2000-09-28 Pavel Roskin <proski@gnu.org>
3495 * acfunctions.m4: Formatting fixes.
3496 * acgeneral.m4: Likewise.
3497 * aclang.m4: Likewise.
3498 * acspecific.m4: Likewise.
3499 * libm4.m4: Likewise.
3501 2000-09-27 Pavel Roskin <proski@gnu.org>
3503 * acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
3505 * acspecific.m4 (AC_PROG_INSTALL): Likewise.
3507 2000-09-27 Pavel Roskin <proski@gnu.org>
3509 * acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
3510 ACTION-IF-TRUE is not given.
3511 (AH_CHECK_LIB): related comment changes.
3513 2000-09-27 Pavel Roskin <proski@gnu.org>
3515 * aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
3516 resulted in invalid shell code.
3518 2000-09-27 Lars J. Aas <larsa@sim.no>
3520 * autoconf.sh: Report full macro name for missing macros.
3522 2000-09-27 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3524 * autoheader.sh: Fix trap (EXIT) status.
3525 * autoreconf.sh: Likewise.
3526 * autoupdate.sh: Likewise.
3527 * autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
3528 awk commands to ensure exit state is in a defined state.
3530 2000-09-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3532 * tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
3534 2000-09-25 Pavel Roskin <proski@gnu.org>
3536 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
3537 _AC_INIT_PREPARE_ENVIRONMENT to make the shell running
3538 config.status sane and POSIX-compatible.
3540 2000-09-25 Pavel Roskin <proski@gnu.org>
3542 * autoheader.sh: Don't check status of variable assignments -
3543 it's undefined in ash 0.2.
3544 * autoreconf.sh: Likewise.
3545 * autoupdate.sh: Likewise.
3546 * autoconf.sh: Likewise. Also eliminated command substitution
3547 inside variable expansion - ash 0.2 coredumps on it.
3549 2000-09-21 Pavel Roskin <proski@gnu.org>
3551 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
3552 autoconf and autoheader. Expected warnings disabled by "-W none"
3553 Preceding comment removed as no longer relevant.
3554 * tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
3555 stderr from autoconf.
3556 (AC_PATH_PROG & AC_PATH_PROGS): Likewise.
3557 (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
3558 * tests/tools.m4 (autoheader): Check that autoheader prints
3559 a warning for missing templates. Check stderr from autoconf.
3560 * tests/torture.m4 (config.status under extreme conditions):
3561 Check stderr from autoconf and autoheader.
3562 (command line interface): Check stderr from autoconf.
3564 2000-09-21 Pavel Roskin <proski@gnu.org>
3566 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
3567 config.status - file arguments are optional.
3569 2000-09-21 Pavel Roskin <proski@gnu.org>
3571 * acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
3572 exits if any input file is missing.
3573 * tests/semantics.m4 (missing templates): Test it.
3575 2000-09-21 Pavel Roskin <proski@gnu.org>
3577 * acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
3578 assignment - it's undefined in ash 0.2.
3580 2000-09-21 Akim Demaille <akim@epita.fr>
3582 * src/atgeneral.m4 (AC_CHECK): Display stderr including when the
3583 test failed because of stdout.
3585 2000-09-21 Akim Demaille <akim@epita.fr>
3587 * tests/atgeneral.m4: Formatting changes.
3588 (AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
3589 variables instead of `'/`1'.
3590 `at_check_stds' replaces `at_no_redirs'.
3591 Rename `Snippet 3' as `Snippet 4'.
3592 Introduce `Snippet 3' for variable initializations.
3593 Adjust the dependencies.
3594 (AT_CHECK): Don't show diff's result unless verbose.
3596 2000-09-20 Pavel Roskin <proski@gnu.org>
3598 * tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
3599 from testing because they require an argument.
3600 * tests/atspecific.m4: Make sure that configure doesn't write
3603 2000-09-20 Pavel Roskin <proski@gnu.org>
3605 * acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
3606 variable wasn't always set inside AC_CACHE_CHECK.
3607 (_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
3610 2000-09-20 Pavel Roskin <proski@gnu.org>
3612 * libm4.m4 (m4_ifvanl): Don't output a newline for empty
3615 2000-09-19 Akim Demaille <akim@epita.fr>
3617 * tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
3618 (AT_CHECK_MACRO): this. All dependencies adjusted.
3620 2000-09-19 Akim Demaille <akim@epita.fr>
3622 * tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
3624 From Bernard Dautrevaux.
3626 2000-09-19 Pavel Roskin <proski@gnu.org>
3628 * tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
3630 2000-09-19 Pavel Roskin <proski@gnu.org>
3632 * tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
3635 2000-09-19 Akim Demaille <akim@epita.fr>
3637 * autoconf.sh (optarg): More robust expr invocation.
3638 * autoreconf.sh: Likewise.
3639 * autoupdate.sh: Likewise.
3640 * autoheader.sh: Likewise.
3641 Reported by Bernard Dautrevaux.
3643 2000-09-19 Pavel Roskin <proski@gnu.org>
3645 * acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
3646 would replace an old macro call with the new macro body instead of
3648 * tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.
3650 2000-09-19 Pavel Roskin <proski@gnu.org>
3652 * tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
3653 (AT_TEST_MACRO): Use it.
3654 * tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
3655 without warnings): New tests.
3657 2000-09-18 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
3659 * acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
3661 (_AC_INIT_HELP): Likewise.
3662 (NEWS): Note checking for configure.gnu.
3663 * doc/autoconf.texi: Document checking for configure.gnu when
3664 recursing subdirectories.
3666 2000-09-18 Jim Meyering <meyering@lucent.com>
3668 * acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
3669 of LIBS. Otherwise, everyone ends up linking with -lelf for some
3671 Reported by Mike Stone.
3673 2000-09-14 Pavel Roskin <proski@gnu.org>
3675 * aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
3676 and eliminate ac_tmp_cpp.
3677 (AC_PROG_CXXCPP): Use double quotes in the for loop and
3678 eliminate ac_tmp_cxxcpp.
3680 2000-09-14 Pavel Roskin <proski@gnu.org>
3682 * acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
3683 from the output - it is only printed by Visual C that gives
3684 correct exit status.
3685 * aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
3688 2000-09-12 Pavel Roskin <proski@gnu.org>
3690 * aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
3691 it's useless here. Rename to ...
3692 (_AC_PROG_PREPROC_WORKS): ... this.
3694 2000-09-12 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
3696 * acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
3698 2000-09-12 Akim Demaille <akim@epita.fr>
3700 The test suite fails on some hosts because for instance
3703 will not look for a compiler, it will just use `cc'.
3704 Macros that need a compiler should require one.
3706 * acgeneral.m4 (_AC_REQUIRE): New macro, which is actually the
3707 previous version of AC_REQUIRE plus the possibility to distinguish
3708 the name of the symbol being AC_PROVIDE'd, and the text to expand.
3709 (AC_REQUIRE): Reimplement in terms of _AC_REQUIRE.
3710 * aclang.m4 (AC_LANG_COMPILER, AC_LANG_COMPILER_REQUIRE)
3711 (AC_LANG_COMPILER(C), AC_LANG_COMPILER(C++))
3712 (AC_LANG_COMPILER(Fortran 77)):
3714 * acgeneral.m4 (AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE):
3716 (AC_TRY_RUN): Formatting changes.
3717 * acfunctions.m4 (AC_FUNC_SETPGRP): Quote properly. The previous
3718 changes revealed the weaknesses of this macro.
3720 2000-09-12 Pavel Roskin <proski@gnu.org>
3722 * acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
3723 and checks whether it produces errors or warnings. Don't put grep
3724 output into a variable, use another grep instead.
3725 (AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
3726 if the case of an error.
3727 * aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
3728 define AC_LANG_ABBREV to the short language name.
3729 (_AC_PROG_CPP_WORKS): New macro. It checks whether the current
3730 preprocessor can be used to check for existence of headers.
3731 Most code taken from ...
3732 (AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
3733 "for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
3734 it's a macro for C only.
3735 (AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
3737 2000-09-12 Akim Demaille <akim@epita.fr>
3739 * autoupdate.sh (sed): Look for GNU sed.
3740 (usage): Ask for GNU sed.
3742 2000-09-12 Pavel Roskin <proski@gnu.org>
3744 * acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
3747 2000-09-12 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
3749 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WIDTH): Add trailing
3750 semicolon to final fi.
3752 2000-09-11 Pavel Roskin <proski@gnu.org>
3754 * acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
3755 (__AC_WARNING_ERROR_IFELSE): New macros for checking whether
3756 warnings should be considered errors.
3757 (_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.
3759 2000-09-11 Pavel Roskin <proski@gnu.org>
3761 * autoconf.sh: Properly report names of unexpanded macros that
3762 begin with an underscore.
3764 2000-09-11 Pavel Roskin <proski@gnu.org>
3766 * doc/autoconf.texi (Preset Output Variables): Correctly specify
3767 what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
3768 Extended description of LDFLAGS and LIBS.
3769 (Compilers and Preprocessors, C Compiler Characteristics):
3770 Recommend Automake as the source of ansi2knr.
3771 (Autoconf Language, Quotation and Nested Macros): English fixes.
3772 (Quotation and Nested Macros): Unclear example replaced with
3773 an explanation of when m4 expands quotes. Added explanation why
3774 unquoted calls are dangerous.
3776 2000-09-08 Pavel Roskin <proski@gnu.org>
3778 * doc/autoconf.texi: Always use one space before the opening
3779 parenthesis in @defmac.
3781 2000-09-06 Morten Eriksen <mortene@sim.no>
3783 * acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
3784 which uses $ac_objext hence depends upon _AC_OBJEXT.
3785 * aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
3786 _AC_OBJEXT before _AC_EXEEXT since the latter needs $ac_objext.
3788 2000-09-06 Bernard Dautrevaux <dautrevaux@objectlive.com>
3790 * acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
3791 creates both an unsuffixed file and suffixed ones.
3793 2000-09-06 Peter Eisentraut <peter_e@gmx.net>
3795 * autoconf.texi: English and typo fixes.
3797 2000-09-05 Pavel Roskin <proski@gnu.org>
3799 * autoconf.sh: Consider undefined macros as errors.
3800 * tests/base.m4 (unexpanded macros): Expect error, not warning.
3802 2000-09-05 Dave Love <fx@gnu.org>
3804 * aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
3805 that we can get some standard output.
3807 2000-09-04 Peter Eisentraut <peter_e@gmx.net>
3809 * autoscan.pl: Repair broken Getopt::Long use.
3811 2000-09-04 Akim Demaille <akim@epita.fr>
3813 * configure.in: Bump version to 2.49b.
3814 * Makefile.am (bin_SCRIPTS): Depend upon configure.in.
3816 2000-08-11 Akim Demaille <akim@epita.fr>
3820 2000-08-11 Akim Demaille <akim@epita.fr>
3822 * aclang.m4 (AC_NO_EXECUTABLES): New macro.
3824 2000-08-11 Akim Demaille <akim@epita.fr>
3826 * tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
3828 2000-08-11 Akim Demaille <akim@epita.fr>
3830 * configure.in: Bump version to 2.49a.
3832 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3834 * autoconf.sh: Change `exit N' to `(exit N); exit' to provide
3835 the correct exit status when an exit trap is taken.
3837 2000-08-11 Akim Demaille <akim@epita.fr>
3839 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
3840 AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
3841 their AU_ALIAS definition: Automake 1.4 does not quote the name of
3842 these macros, hence when Autoconf reads Automake's definition the
3843 name is expanded with unpredictable results.
3845 2000-08-09 Akim Demaille <akim@epita.fr>
3847 * autoreconf.sh (Installing Autoconf extensions files): Remove.
3849 2000-08-09 Akim Demaille <akim@epita.fr>
3851 * autoconf.sh (finalize.awk): Don't leave spaces before the user
3853 Reported by John David Anglin.
3854 * doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
3856 * tests/tools.m4 (AWK portability): New test.
3858 2000-08-08 Pavel Roskin <proski@gnu.org>
3860 * Makefile.am: Substitute @bindir@ in shell scripts, needed by
3863 2000-08-07 Akim Demaille <akim@epita.fr>
3865 * acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
3867 * aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
3868 comments into the header comment.
3869 * acgeneral.m4 (AC_TRY_CPP): Likewise.
3871 2000-08-07 Akim Demaille <akim@epita.fr>
3873 * tests/tools.m4 (undefined macros): New test.
3875 2000-08-07 Akim Demaille <akim@epita.fr>
3877 * autoconf.sh (finalize.awk): New subtool, eved from the previous
3878 literal AWK program that performed the `oline' and quadrigraphs
3880 Fix its `oline' computation which was dead wrong when there are
3881 empty lines (i.e., always).
3882 Enhance it in order to look for and report unexpanded macro.
3883 Don't let it pretend there are bugs in Autoconf (c:, the test
3884 suite makes this scenario pretty unlikely as opposed to an actual
3887 Remove the shell snippet which used to do this.
3889 2000-08-07 Akim Demaille <akim@epita.fr>
3891 * acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
3893 (AC_MSG_ERROR): Use it.
3895 2000-08-04 Ruediger Kuhlmann <uck4@rz.uni-karlsruhe.de>
3897 * acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
3898 * doc/autoconf.texi (Limitations of Usual Tools): Typos.
3900 2000-08-04 Akim Demaille <akim@epita.fr>
3902 Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
3903 operator when \(\) is used, and matches a string longer than 120
3905 Reported by Geoff Keating.
3907 * doc/autoconf.texi (Limitations of Usual Tools): Some words about
3909 * acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
3913 2000-08-04 Akim Demaille <akim@epita.fr>
3915 * acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
3916 Don't create the source file if none is given, and in this case,
3917 don't remove it either.
3919 2000-08-04 Akim Demaille <akim@epita.fr>
3921 * libm4.m4 (m4_ifvanl): New macro.
3922 * acgeneral.m4: Use it.
3924 2000-08-02 Akim Demaille <akim@epita.fr>
3926 Release Automake from being a substitute to Autoconf.
3928 * acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
3929 _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
3930 AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
3933 2000-08-02 Akim Demaille <akim@epita.fr>
3935 * aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
3936 inverted the results. Fix that.
3938 2000-08-02 Akim Demaille <akim@epita.fr>
3940 * doc/autoconf.texi (Special Shell Variables): More emphasis on
3941 the dangers of character ranges.
3944 2000-08-01 Akim Demaille <akim@epita.fr>
3946 * autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
3947 `IFS=,; echo ,' will give a comma. Take this into account.
3949 2000-08-01 Akim Demaille <akim@epita.fr>
3951 * aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
3953 2000-08-01 Akim Demaille <akim@epita.fr>
3955 AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
3956 AC_CANONICAL_* revamping.
3957 Reported by Peter Eisentraut.
3958 In fact, let's just use the precious variables handling.
3960 * acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
3961 (_AC_ARG_VAR_PRECIOUS): New macro, eved from...
3962 (AC_ARG_VAR): this macro. Adjust.
3963 (_AC_INIT_PREPARE): `build_alias', `host_alias', and
3964 `target_alias' are precious.
3965 * doc/autoconf.texi: Adjust.
3967 2000-08-01 Akim Demaille <akim@epita.fr>
3969 * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
3970 LC_COLLATE and LC_NUMERIC.
3971 * autoconf.m4: Don't rely on character ranges with tr.
3972 * doc/autoconf.texi (Special Shell Variables): Adjust.
3974 2000-08-01 Akim Demaille <akim@epita.fr>
3976 * acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
3977 AM_FUNC_STRTOD): New macros, from Automake.
3978 * acfunctions: Adjust.
3980 2000-08-01 Akim Demaille <akim@epita.fr>
3982 * acidentifiers: Catch ptrdiff_t.
3983 * acspecific.m4 (AM_TYPE_PTRDIFF_T): AU define.
3985 2000-08-01 Akim Demaille <akim@epita.fr>
3987 * autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
3988 Quote properly the output.
3989 Remove useless backslashes.
3991 2000-08-01 Akim Demaille <akim@epita.fr>
3993 * acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
3995 * doc/autoconf.texi (Particular Functions): Adjust.
3997 2000-08-01 Akim Demaille <akim@epita.fr>
3999 * acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
4001 * doc/autoconf.texi (Particular Functions): Adjust.
4003 2000-08-01 Akim Demaille <akim@epita.fr>
4005 Create acfunctions.m4, in charge of the macros related to
4008 * acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
4010 * acfunctions.m4: here, new file.
4011 * acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
4012 AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
4013 _AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
4014 AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
4015 AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
4016 AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
4017 AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
4018 AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
4019 AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
4020 * Makefile.am: Adjust.
4022 Move also the old definitions into acfunctions.m4, and adjust the
4025 * acgeneral.m4 (AU_ALIAS): New macro.
4026 * acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
4027 AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
4028 AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
4029 AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
4030 * acfunctions.m4: here, using AU_ALIAS.
4031 * acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
4033 * acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
4034 * tests/Makefile.am (MACRO_FILES): Adjust.
4036 2000-08-01 Akim Demaille <akim@epita.fr>
4038 * autoscan.pl: Use Getopt::Long;
4039 * acidentifiers: Classify, sort.
4041 2000-08-01 Akim Demaille <akim@epita.fr>
4043 * aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
4044 Use grep instead of egrep, don't redirect stderr.
4046 2000-08-01 Akim Demaille <akim@epita.fr>
4048 * acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
4049 empty lines in the header comments (should be `#' alone instead).
4050 Reported by Didier Verna.
4052 2000-08-01 Greg A. Woods <woods@weird.com>
4054 * doc/autoconf.texi (Installation Directory Variables):
4055 Clarifications and typos.
4057 2000-08-01 Didier Verna <didier@lrde.epita.fr>
4059 * acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
4060 (_AC_INIT_HELP): Output the bug report address at
4061 the end of a `configure --help' output.
4062 (_AC_INIT_NOTICE): Ditto, but at the top of `configure'.
4064 2000-07-31 Akim Demaille <akim@epita.fr>
4066 * acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
4067 (_AC_INIT_PREPARE): here, where it is called from.
4068 * aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't test -z "`foo`".
4070 2000-07-31 Akim Demaille <akim@epita.fr>
4072 * acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
4073 (_AC_DIVERT(PARSE_ARGS)): this. Adjust dependencies.
4074 (AC_ARG_WITH): Remove spurious newline.
4075 (AC_ARG_VAR): No longer save precious variables in
4076 ac_configure_args, rather snapshot them twice (one kept
4077 unmodified, another one to be written to/overwritten by the cache
4079 (AC_CACHE_SAVE): Let the cache variables named `ac_cv_env_*'
4080 be overwritten when loading the cache (i.e., don't use the
4081 : ${foo=...} trick).
4082 (_AC_ARG_VAR_VALIDATE): Compare the two snapshots of the precious
4084 (_AC_INIT_PREPARE): Call it after having loaded the cache file.
4086 2000-07-28 Akim Demaille <akim@epita.fr>
4088 * aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
4089 _AC_PROG_F77_GNU): Use ac_ext. Use _ACEOF instead of ACEOF.
4091 2000-07-28 Akim Demaille <akim@epita.fr>
4093 * autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
4094 * autoheader.sh: Likewise.
4095 * acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
4097 2000-07-28 Akim Demaille <akim@epita.fr>
4099 * doc/autoconf.texi (Installation Directory Variables): New
4100 section, Eved off from `Preset Output Variables', i.e., was a
4101 small part of it, grew independent, and is its equal (at least).
4102 (Coding Style): `$#' padding.
4103 * Makefile.am (editsh, editpl): Do what the doc says you do: use
4104 @datadir\@ instead of @''datadir''@.
4106 2000-07-28 Akim Demaille <akim@epita.fr>
4108 * aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
4109 _AC_PROG_F77_GNU): Use ac_ext. Use ACEOF instead of EOF.
4110 (AC_LANG_CONFTEST): New macro.
4111 (_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_F77_C_O,
4112 _AC_PROG_F77_V_OUTPUT): Use it.
4113 * acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_COMPILE_IFELSE,
4114 AC_LINK_IFELSE, AC_RUN_IFELSE): Likewise.
4116 2000-07-24 Steven G. Johnson <stevenj@alum.mit.edu>
4118 * aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
4119 way of accessing Fortran name-mangling information other than
4120 through CPP, and without having to know the different possible
4121 name-mangling schemes.
4122 * autoconf.texi: Documented AC_F77_FUNC
4124 2000-07-24 Akim Demaille <akim@epita.fr>
4126 * acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
4127 `size_t' which are often used too.
4128 Fix a bug which prevents recognition of `bool' and `char'.
4129 (_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
4130 (AC_CHECK_TYPE): Use it.
4132 2000-07-19 Peter Eisentraut <peter_e@gmx.net>
4134 * Makefile.am: Remove INSTALL.txt by maintainer-clean target.
4136 2000-07-19 Akim Demaille <akim@epita.fr>
4138 * autoupdate.sh: Typo: s/infile/file/.
4140 2000-07-19 Martin Wilck <martin@tropos.de>
4142 * aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
4143 _AC_F77_NAME_MANGLING.
4144 (_AC_F77_NAME_MANGLING): Use independent checks for the
4145 name mangling of symbols with and without underscores.
4146 Use algorithm with for loops instead of recursive macro calls.
4147 (AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
4148 * doc/autoconf.texi (Fortran 77 Compiler Characteristics):
4149 Remove documentation of AC_F77_NAME_MANGLING.
4150 Remove documentation of f77_case and f77_underscore.
4151 Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.
4153 2000-07-19 Akim Demaille <akim@epita.fr>
4156 * TODO: Fresh blood.
4158 2000-07-19 Akim Demaille <akim@epita.fr>
4160 * doc/autoconf.texi (autoheader Invocation): Explain the purpose
4163 2000-07-19 Akim Demaille <akim@epita.fr>
4165 * doc/autoconf.texi: Various English fixes from Jim.
4167 2000-07-19 Akim Demaille <akim@epita.fr>
4169 * doc/autoconf.texi (Compilers and Preprocessors, Obsolete
4170 Macros): Don't give boring internal details.
4171 (Language Choice): Typo.
4172 (Limitations of Builtins): Some about `!', `set', `$@'.
4173 (Coding Style): Some about $[@] quotation.
4174 Some about cross-compilation.
4176 2000-07-19 Akim Demaille <akim@epita.fr>
4178 * autoreconf.sh (dir): When verbose, say what are the tools you
4181 2000-07-19 Akim Demaille <akim@epita.fr>
4183 Warnings related to obsolete constructs should be properly
4186 * acspecific.m4 (AC_RSH, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
4187 AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE,
4188 AC_STRUCT_ST_RDEV, AC_HAVE_POUNDBANG, AC_ARG_ARRAY): Use
4189 `AC_DIAGNOSE(obsolete, ...)' instead of `AC_WARNING'.
4191 2000-07-19 Akim Demaille <akim@epita.fr>
4193 autoconf -W error does not work.
4195 * acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
4196 _AC_WARNING_ENABLE is dead.
4198 2000-07-19 Akim Demaille <akim@epita.fr>
4200 Martin Wilck found a Fortran 77 compiler which always exits with
4203 * acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
4204 file was created and is nonempty.
4206 2000-07-19 Akim Demaille <akim@epita.fr>
4208 * doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
4209 pages, and the mailing lists.
4211 2000-07-19 Akim Demaille <akim@epita.fr>
4213 * doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
4214 (Coding Style): Move some into...
4215 (Macro Definitions): here.
4217 2000-07-19 Akim Demaille <akim@epita.fr>
4219 The --help message should have paragraphs starting with a title,
4220 the options, and then optionally a small paragraph.
4222 * acgeneral.m4 (AC_DIVERT_ONCE): New macro.
4223 (HELP_VAR_END): New diversion.
4224 (AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Use AC_DIVERT_ONCE.
4225 (AC_ARG_VAR): Follow the --help style.
4226 * acspecific.m4 (AC_PATH_X): Use AC_DIVERT_ONCE.
4228 2000-07-19 Akim Demaille <akim@epita.fr>
4230 * aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
4233 (AC_PROG_F77_C_O): Require AC_PROG_F77.
4234 Use a cache variable independent of $F77.
4236 2000-07-19 Akim Demaille <akim@epita.fr>
4238 * autoreconf.sh: Accept --symbolic and -s.
4240 2000-07-19 Akim Demaille <akim@epita.fr>
4242 Make it clear that the regular user does not need --macrodir.
4243 In fact, rename this option as -A, --autoconf-dir.
4245 * autoconf.sh: Complain when -m, --macrodir is used.
4246 Accept -A, --autoconf-dir.
4247 Use $autoconf_dir instead of $AC_MACRODIR.
4249 * autoheader.sh: Likewise.
4250 * autoscan.sh: Likewise.
4251 * autoupdate.sh: Likewise.
4253 * autoreconf.sh: Likewise.
4254 * doc/autoconf.texi: Adjust.
4255 * tests: Adjust the test suite.
4257 2000-07-19 Akim Demaille <akim@epita.fr>
4259 * autoreconf.sh: Forward --debug to sub tools.
4260 Let them share the same tmp dir.
4262 2000-07-18 Akim Demaille <akim@epita.fr>
4264 * acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
4266 2000-07-18 Steven G. Johnson <stevenj@alum.mit.edu>
4268 Fixed bug where the F77 compiler output was parsed differently
4269 when detecting the verbose flag than when scanning for linker
4270 options, and as a result the former test failed (under AIX/xlf).
4272 * aclang.m4 (_AC_PROG_F77_V_OUTPUT): New macro to get the
4273 output of linking an F77 program with a given verbose flag,
4274 and preprocess it as required to scan for linker flags.
4275 (_AC_PROG_F77_V): Use the above macro here...
4276 (AC_F77_LIBRARY_LDFLAGS): ...and here, enforcing consistency.
4278 2000-07-17 Martin Wilck <martin@tropos.de>
4280 * autoupdate.sh (autoconf): s,$updated,$tmp/updated,.
4282 2000-07-17 Akim Demaille <akim@epita.fr>
4284 * doc/autoconf.texi (Configuration Actions): Explain the
4285 behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
4286 absolute and relative filenames, and stdin/stdout.
4287 (config.status invocation): Likewise.
4289 2000-07-17 Akim Demaille <akim@epita.fr>
4291 * doc/autoconf.texi (Configuration Actions): Explain the
4292 behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
4293 absolute and relative filenames, and stdin/stdout.
4294 (config.status invocation): Likewise.
4296 2000-07-13 Akim Demaille <akim@epita.fr>
4298 Make it easier to trace what autoreconf does.
4300 * autoheader.sh: Be more verbose, and always report your name in
4302 * autoconf.sh: Likewise.
4303 * autoreconf.sh: Likewise.
4304 (update.sh): Redirect ls' stderr to /dev/null.
4306 2000-07-13 Akim Demaille <akim@epita.fr>
4308 * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
4309 handle absolute input file names.
4310 From Alexandre Oliva.
4312 2000-07-12 Martin Wilck <martin@tropos.de>
4314 * aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
4315 leads to unnecessary warnings if both C and Fortran are checked.
4316 (AC_PROG_F77_C_O): AC_REQUIRE AC_PROG_F77 instead of pretend you
4317 need to be AC_BEFORE it.
4319 2000-07-12 Akim Demaille <akim@epita.fr>
4321 * autoconf.sh (_ac_warnings): Fix call to tr.
4322 Reported by Johan Danielsson.
4324 2000-07-11 Martin Wilck <martin@tropos.de>
4326 * aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
4327 causes the compiler to output verbose linking information.
4328 (AC_F77_LIBRARY_LDFLAGS): Use _AC_PROG_F77_V instead of
4330 (AC_F77_LIBRARY_LDFLAGS): New algorithm to parse flags, uses
4331 set/shift shell commands.
4332 (AC_F77_LIBRARY_LDFLAGS): Set FLIBS at end, after determining
4335 2000-07-11 Akim Demaille <akim@epita.fr>
4337 * acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_max_here_lines>: Set to 38
4338 instead of 48, to pass the test on RISC/OS 4.52.
4340 2000-07-11 Akim Demaille <akim@epita.fr>
4342 !*^&$@ sed portability problems... The test on AC_CHECK_TYPES is
4343 failing on RISC/OS 4.52 because of the forget-to-reset-the-flag
4346 * acgeneral.m4 (_AC_OUTPUT_HEADERS): Work around this bug.
4348 2000-07-11 Akim Demaille <akim@epita.fr>
4350 * acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.
4352 2000-07-10 Akim Demaille <akim@epita.fr>
4354 * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Look for
4355 the input files first in $builddir, then $srcdir.
4356 Suggested by Lars J. Aas, designed by Alexandre Oliva.
4358 2000-07-10 Lars J. Aas <larsa@sim.no>
4360 * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
4361 Accept special filename '-' for stdin and stdout.
4363 2000-07-10 Akim Demaille <akim@epita.fr>
4365 Alexandre's suggestions.
4367 * autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
4368 Use test instead of sed.
4369 <automake>: If automake is used, always run it: it has its own
4370 mechanism not to update if unneeded.
4372 2000-07-10 Akim Demaille <akim@epita.fr>
4374 * acspecific.m4 (_AC_PROG_ECHO): Modernize.
4376 2000-07-10 Akim Demaille <akim@epita.fr>
4378 Stop being ridiculous :*(
4380 * acgeneral.m4 (_AC_SHELL_DIRNAME): When using m4 the argument
4381 is named `$1' not `$dir'.
4382 When using m4 you ought to quote properly.
4383 When using m4, you should check that there are not too many shell
4384 quotes (inside the macro itself, and where it is called).
4385 When you do this, Autoconf, hm, works better.
4387 2000-07-10 Steven G. Johnson <stevenj@alum.mit.edu>
4389 Improve --help documentation of important environment variables.
4391 * acgeneral.m4 (_AC_INIT_HELP): Direct reader to descriptions
4392 of useful variables at the end of the --help.
4393 (AC_ARG_VAR): Emphasize use of environment variables to override
4394 and/or help the configure script. Ensure that a given variable
4395 is only documented once in the --help.
4396 (AC_CHECK_LIB): Call AC_ARG_VAR to document and register the
4397 LDFLAGS variable, and...
4398 (AC_CHECK_HEADER): do the same for the CPPFLAGS variable.
4399 * aclang.m4 (AC_PROG_CC): Call AC_ARG_VAR to document and register
4400 the CC and CFLAGS variables, and do the same for...
4401 (AC_PROG_CXX): CXX and CXXFLAGS, and...
4402 (AC_PROG_F77): F77 and FFLAGS.
4404 2000-07-10 Akim Demaille <akim@epita.fr>
4406 * Makefile.am (wget-update): New target.
4407 (WGET): New variable.
4409 2000-07-10 Akim Demaille <akim@epita.fr>
4411 * doc/autoconf.texi (Coding Style): Some more constraints :).
4413 2000-07-10 Akim Demaille <akim@epita.fr>
4415 * acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg! Don't leave the
4416 AC_DEFINE inside the AC_CACHE_CHECK.
4418 2000-07-10 Akim Demaille <akim@epita.fr>
4420 * acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
4421 macros, from Jim's stat.m4 and lstat.m4 serial 6.
4422 * doc/autoconf.texi (Particular Functions): Document
4423 * acfunctions: Add them.
4425 2000-07-10 Akim Demaille <akim@epita.fr>
4427 AC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
4428 variables as argument.
4430 * acgeneral.m4 (_AC_LIBOBJ): Same as the former AC_LIBOBJ, but
4431 takes an additional argument: action to perform when non-literal
4433 (AC_LIBOBJ): Use it.
4434 (AC_REPLACE_FUNCS): Use _AC_LIBOBJ, not AC_LIBOBJ.
4436 2000-07-10 Akim Demaille <akim@epita.fr>
4438 LANGUAGE should be neutralized too.
4440 * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
4441 * doc/autoconf.texi (Special Shell Variables): Mention it.
4443 2000-07-10 Akim Demaille <akim@epita.fr>
4445 Set autoconf's default warnings to `syntax'.
4447 In fact, honor the most recent specification in the concatenation
4448 of `syntax',$WARNINGS,<options> in that order.
4449 Implement support for `none' and `noCATEGORY' so that the options
4450 may override the previous choices.
4451 Suggested by Didier Verna.
4453 * acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
4454 (AC_WARNING_IFELSE): Use this macro to implement the new specs.
4455 (AC_WARNING): The empty category must not be used, default to
4457 * doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
4458 * autoconf.sh: Adjust.
4459 Use `optarg' to fetch the arguments of options.
4460 Fix a bug in the handling of `--trace='.
4462 * acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
4465 2000-07-10 Akim Demaille <akim@epita.fr>
4467 * autoreconf.sh (--install, --symlink): New options.
4469 2000-07-10 Akim Demaille <akim@epita.fr>
4471 * autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
4472 Adjust dependencies.
4473 When using $verbose, redirect to stderr.
4475 2000-07-10 Akim Demaille <akim@epita.fr>
4477 * autoreconf.sh: Clarify the difference between the location of
4478 `aclocal.m4' and that of the location Autoconf extensions.
4479 (-M, --m4dir): New option.
4480 (aclocal_flags): Do not use $localdir, but $m4dir.
4481 (localdir_opt): Remove, since $autoconf, $autoheader already
4482 include `-l $localdir'.
4484 2000-07-10 Akim Demaille <akim@epita.fr>
4486 * autoconf.sh (task install): We no longer use AC_INCLUDE.
4488 2000-07-10 Akim Demaille <akim@epita.fr>
4490 * acoldnames.m4: Remove the obsolete comments. The technology is
4491 now detailed in `autoupdate'.
4492 Quote the names being defined.
4495 2000-07-10 Akim Demaille <akim@epita.fr>
4497 * acgeneral.m4 (AC_DEFUNCT): Remove.
4498 (AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
4499 AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
4500 * doc/autoconf.texi (Obsolete Macros): but not fresh.
4502 2000-07-10 Akim Demaille <akim@epita.fr>
4504 * autoreconf.sh (debug): New variable.
4506 <options handling>: Support --debug.
4507 * doc/autoconf.texi: Adjust.
4509 2000-07-10 Akim Demaille <akim@epita.fr>
4511 Fix the bugs recently introduced in autoreconf.
4513 * autoreconf.sh: Don't run automake when the package is not using
4515 When checking whether autoheader should be rerun, don't ask
4516 config.h to be newer than stamp-h and vice-versa.
4517 Remove an unbalanced `fi'.
4519 2000-07-10 Akim Demaille <akim@epita.fr>
4521 * autoreconf.sh (run_aclocal): Rename as `uses_aclocal' to avoid
4522 the convention clash with autoconf.sh where `run_foo' is the
4523 command to run `foo'.
4524 (uses_autoheader): New variable.
4526 2000-07-10 Akim Demaille <akim@epita.fr>
4528 * autoreconf.sh (update.sh): New sub program.
4529 Use it in the whole process.
4530 (acconfig_h): New variable.
4532 2000-07-10 Akim Demaille <akim@epita.fr>
4534 * autoreconf.sh <run_aclocal>: Use false/: instead of no/yes.
4535 Formatting and factoring changes.
4537 2000-07-10 Akim Demaille <akim@epita.fr>
4539 * autoreconf.sh: You too can have a $tmp dir if you wish.
4540 (alflags.sed): New sub sed program.
4541 Compute the flags of aclocal from Makefile.am instead of
4542 Makefile.in, it is unlikely that aclocal be used but not automake,
4543 while it is convenient to be able to run autoreconf even if
4544 automake was not run yet.
4545 Use `autoconf --trace' to get the list of configuration headers.
4547 2000-07-10 Akim Demaille <akim@epita.fr>
4549 * acgeneral.m4 (AC_PLAIN_SCRIPT): New macro.
4550 * tests/base.m4 (m4_wrap, AC_REQUIRE, AC_SHELL_MKDIR_P): Use it.
4551 * autoconf.sh: Properly handle the case where `$output' is `-'
4553 Handle `-ofile', not just `-o file'.
4555 2000-07-10 Akim Demaille <akim@epita.fr>
4557 * autoreconf.sh: Formatting changes.
4558 When verbose, display exactly what you do, not just a synopsis.
4559 When using `$verbose' don't use quotes to avoid spurious spaces
4560 for empty arguments.
4562 2000-07-10 Akim Demaille <akim@epita.fr>
4564 * autoreconf.sh (force): Instead of yes/no, use :/false.
4566 (automake_deps, automake_force): No longer used.
4568 2000-07-10 Akim Demaille <akim@epita.fr>
4570 * acgeneral.m4 (_AC_SHELL_DIRNAME): Use an `expr' solution instead
4573 * doc/autoconf.texi (Limitations of Usual Tools): Include the
4574 words from Paul about `|' with expr(1).
4576 2000-07-10 Akim Demaille <akim@epita.fr>
4578 * aclang.m4: Promote s,,, over s%%%, and `sed prog' over `sed -e
4580 * acgeneral.m4: Likewise.
4581 * acspecific.m4: Likewise.
4582 * doc/autoconf.texi (Limitations of Usual Tools, Coding Style):
4585 2000-07-10 Akim Demaille <akim@epita.fr>
4587 * autoconf.sh: When using `mktemp -d', be sure that the directory
4589 * autoheader.sh: Likewise.
4590 * autoreconf.sh: Likewise.
4592 2000-07-10 Akim Demaille <akim@epita.fr>
4595 * doc/autoconf.texi: Free François Pinard from iftex and ifinfo,
4597 Don't use `@code{m4}' when you mean M4, just as you shall not say
4598 `@code{cc}' when you refer to the C language.
4600 2000-07-10 Akim Demaille <akim@epita.fr>
4602 * aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Set
4604 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): Compute
4606 * acgeneral.m4 (AC_LINKER_OPTION): Adjust.
4608 2000-07-10 Akim Demaille <akim@epita.fr>
4610 * aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Move the code
4611 processing the result of AC_PROG_CC_G, AC_PROG_CXX_G, and
4612 AC_PROG_F77_G into them.
4614 2000-07-10 Akim Demaille <akim@epita.fr>
4616 * doc/autoconf.texi (Multiple Cases, Quotation Rule Of Thumb):
4617 Follow the coding style.
4619 2000-07-10 Akim Demaille <akim@epita.fr>
4621 * doc/autoconf.texi (Obsoleting Macros): Is not a subsection of
4622 `Dependencies Between Macros', but rather a section of `Writing
4625 2000-07-10 Akim Demaille <akim@epita.fr>
4627 * doc/autoconf.texi (Coding Style): New node.
4629 2000-07-07 Akim Demaille <akim@epita.fr>
4631 * acgeneral.m4 (AC_SHELL_MKDIR_P): s/ac_dir/ac_mkdir_dir/ to avoid
4632 clashes with the numerous ac_dir loops.
4633 Reported by Lars J. Aas.
4635 2000-07-07 Akim Demaille <akim@epita.fr>
4637 * acgeneral.m4 (_AC_SHELL_DIRNAME): Return `.', not `' when there
4638 is no directory part.
4640 2000-07-07 François Pinard <pinard@iro.umontreal.ca>
4642 * tests/atgeneral.m4 (AT_CHECK): Fix a redirection problem.
4644 2000-07-07 Akim Demaille <akim@epita.fr>
4646 AC_REVISION must not AC_REQUIRE AC_INIT, it leaves the diversions
4647 in a messy state. Don't even try to emulate AC_REQUIRE: just
4648 introduce a diversion just for AC_REVISION, and let the magic
4650 Fixes Autoconf PR/134, from Raja R Harinath.
4652 * acgeneral.m4 (_AC_DIVERT(REVISION)): New diversion.
4653 (AC_REVISION): Don't require AC_INIT, dump in your diversion.
4654 (_AC_INIT): Delete, inline its body in...
4656 (_AC_INIT_NOTICE, _AC_INIT_COPYRIGHT): New macros so that...
4657 (AC_INIT): be more uniform.
4658 (AC_INIT, AC_REVISION, AC_COPYRIGHT): `define', don't AC_DEFUN.
4660 2000-07-07 Martin Wilck <martin@tropos.de>
4662 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Keep -lm, if a Fortran
4663 compiler needs it, it is likely to be required when linking C/C++
4665 <-YP,*>: Fix the list of arguments to loop on.
4666 Don't mess with the user variable name space.
4667 <ac_ld_run_path>: Prepend LD_RUN_PATH directories with -R only
4668 when running Solaris (without this, link errors occur).
4670 2000-07-06 Akim Demaille <akim@epita.fr>
4672 * acgeneral.m4 (_AC_SHELL_DIRNAME): Fix quotation.
4674 2000-07-06 Akim Demaille <akim@epita.fr>
4676 * aclang.m4: Formatting and quotations changes.
4678 2000-07-06 Raja R Harinath <harinath@cs.umn.edu>
4680 * aclang.m4 (AC_LANG_INT_SAVE(C++)): Be a copy of
4681 AC_LANG_INT_SAVE(C), not AC_LANG_INT_SAVE_TRY(C).
4682 Fixes Autoconf PR/133.
4684 2000-07-06 Mo DeJong <mdejong@cygnus.com>
4686 * acgeneral.m4 (_AC_INIT_PARSE_ARGS, AC_CHECK_TOOLS): Change
4687 warning message printed when only --host is given. Fix printing
4688 of multiple compiler cache values, use PATH argument.
4689 * aclang.m4 (AC_LANG_COMPILER_WORKS): Print the cross compile
4690 status, fix problem where two results were printed at once.
4692 2000-07-06 Akim Demaille <akim@epita.fr>
4694 * acgeneral.m4 (_AC_SHELL_TMPDIR): Typo.
4696 2000-07-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4698 * acgeneral.m4 (_AC_SHELL_DIRNAME): Behave properly when the
4699 argument has trailing slashes, and when its depth is just one
4702 2000-07-06 Lars J. Aas <larsa@sim.no>
4704 * acgeneral.m4 (_AC_SHELL_DIRNAME): New macro.
4705 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS):
4706 Use _AC_SHELL_DIRNAME.
4708 2000-07-06 Martin Wilck <martin@tropos.de>
4710 * aclang.m4 (AC_PROG_F77): Add two compilers,
4711 lf95 (Lahey/Fujitsu Fortran) and pgf77 (Portland Group Fortran)
4712 (_AC_PROG_F77_G): Some Fortran compilers produce stdout/stderr
4713 output even if no errors occur - check exit status rather than
4716 2000-07-05 Akim Demaille <akim@epita.fr>
4718 * acgeneral.m4 (_AC_SHELL_TMPDIR): When using `mktemp -d', be sure
4719 that the directory was created: under Ultrix 4.3 it just returns
4720 a name, but does not create the directory.
4721 Reported by Christian Krackowizer.
4723 2000-07-03 Lars J. Aas <larsa@sim.no>
4725 * acgeneral.m4 (AC_SHELL_MKDIR_P): New macro.
4726 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS,
4727 AC_PROG_INSTALL): Use AC_SHELL_MKDIR_P.
4728 * tests/base.m4 (AC_SHELL_MKDIR_P): Test it.
4730 2000-07-04 Akim Demaille <akim@epita.fr>
4732 * acgeneral.m4 (AC_CACHE_LOAD): Be ready to read the cache even
4733 when `.' is not in the PATH.
4734 * doc/install.texi (configure Invocation): Adjust.
4736 2000-06-30 Jim Meyering <meyering@lucent.com>
4738 * acgeneral.m4 (AC_REQUIRE): Tweak a diagnostic.
4740 2000-06-30 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4742 Re-enable the old behavior of --host and --build.
4744 * acgeneral.m4 (build_alias): Set to host_alias if --build is not
4745 given but --host is, and enable cross-compile auto-detection. If
4746 both are, and are different, enable cross compilation.
4747 (AC_CANONICAL_HOST): Adjust help message.
4748 (cross_compiling): Enclose in quotes when testing.
4749 * aclang.m4 (_AC_LANG_COMPILER_WORKS): If cross_compiling is
4750 maybe, set it to yes or no depending on the result of the
4752 * doc/autoconf.texi: Document the change.
4753 * doc/install.texi: Likewise.
4755 2000-06-27 Jim Meyering <meyering@lucent.com>
4757 * acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): Put quotes around use of
4758 `$ac_cv_lib_elf_elf_begin', since that variable may not be defined.
4759 From Volker Borchert.
4761 2000-06-26 Akim Demaille <akim@epita.fr>
4763 * doc/autoconf.texi: Fix various typos.
4764 (Limitations of Usual Tools) <sed>: Anchors and groups.
4765 (Language Choice): Don't mention cross_compiling here, do it...
4766 (Specifying Names) <--host>: here.
4767 (Obsoleting Macros): Don't document AC_DEFUNCT, it's going to be
4768 removed anyway, obsoleted itself by AU_DEFUN.
4770 2000-06-26 Akim Demaille <akim@epita.fr>
4772 * acgeneral.m4 (AC_CACHE_VAL): Swap the arguments of `regexp'.
4773 Reported by Alexandre Oliva.
4775 2000-06-26 Akim Demaille <akim@epita.fr>
4777 * autoreconf.sh (automake, aclocal): New variables. Import
4778 $AUTOMAKE and $ACLOCAL.
4779 Pass --verbose to the tools.
4780 Avoid using plenty of variables, just append to existing
4782 * doc/autoconf.texi: List options in the order --help, --version,
4783 --verbose, --debug, and then specific options.
4785 2000-06-26 Akim Demaille <akim@epita.fr>
4787 * doc/autoconf.texi: Various Texinfo adjustments.
4788 (Specifying Names): When describing the system triplets, use the
4789 same names as the shell variables.
4790 (System Type Variables): Delete, merge its content into...
4791 (Canonicalizing): here.
4792 Clarify the difference between the `foo_target' and `foo'
4795 2000-06-26 Akim Demaille <akim@epita.fr>
4797 * acgeneral.m4 (_AC_INIT_PARSE_ARGS, _AC_OUTPUT_CONFIG_STATUS):
4800 2000-06-26 Akim Demaille <akim@epita.fr>
4802 * acgeneral.m4 (AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
4803 AC_CONFIG_COMMANDS, AC_CONFIG_FILES): Use a shell variable instead
4804 of an m4 variable to store what must be done, so that sh
4805 conditionals are honored.
4806 (_AC_OUTPUT_LINKS, _AC_OUTPUT_HEADERS,
4807 _AC_OUTPUT_COMMANDS, _AC_OUTPUT_FILES): Adjust.
4808 * tests/semantics.m4: Test the four AC_CONFIG sisters.
4809 * doc/autoconf.texi (Configuration Actions): Promote the use of
4810 literals, show it works properly with sh conditionals.
4812 2000-06-26 Akim Demaille <akim@epita.fr>
4814 * acgeneral.m4 (AC_CACHE_VAL): Too many people put AC_DEFINE in
4815 the commands-to-set-it part of it. Give them a warning.
4817 2000-06-26 Akim Demaille <akim@epita.fr>
4819 * doc/autoconf.texi (Prerequisite Macros): More about AC_REQUIRE.
4821 2000-06-26 Akim Demaille <akim@epita.fr>
4823 Given better names to the diversions.
4825 * acgeneral.m4 (_AC_DIVERT(NORMAL_2), _AC_DIVERT(NORMAL_3),
4826 _AC_DIVERT(NORMAL_4)): Delete, unused.
4827 (_AC_DIVERT(NORMAL_1), _AC_DIVERT(NORMAL), AC_DIVERT_DIVERSION):
4828 Rename as _AC_DIVERT(PREPARE), _AC_DIVERT(BODY),
4829 _AC_DIVERT_DIVERSION.
4831 2000-06-26 Akim Demaille <akim@epita.fr>
4833 The current implementation of AC_REQUIRE fails on
4835 | AC_DEFUN([TEST1], [REQUIRE([TEST2a])REQUIRE([TEST2b])])
4836 | AC_DEFUN([TEST2a], [])
4837 | AC_DEFUN([TEST2b], [REQUIRE([TEST3])])
4838 | AC_DEFUN([TEST3], [REQUIRE([TEST2a])])
4843 because it produces TEST3; TEST2a; TEST2b; TEST1.
4844 Fix this bug, implement the solution provided by Axel Thimm,
4845 and test AC_REQUIRE.
4847 * acgeneral.m4: Document this implementation.
4848 (_AC_DEFUN_PRO, _AC_DEFUN_EPI, AC_REQUIRE): Be sure that macros
4849 are emitted in the same order as they are expanded.
4850 (AC_REQUIRE): Forbid being calling out of an AC_DEFUN'd macro (in
4851 particular the top level).
4852 * tests/base.m4 (AC_REQUIRE): New test.
4854 2000-06-26 Akim Demaille <akim@epita.fr>
4856 A macro which is not defined with AC_DEFUN should not be
4857 AC_REQUIRE'd, since it doesn't AC_PROVIDE itself.
4859 * acgeneral.m4 (AC_REQUIRE): Issue a warning when after expansion,
4860 the macro is not AC_PROVIDE'd.
4862 2000-06-26 Akim Demaille <akim@epita.fr>
4866 * acgeneral.m4 (AC_PRO, AC_EPI): Rename as _AC_DEFUN_PRO and
4868 Adjust dependencies.
4869 (AC_DEFUN): Remove the not-to-be-released specializing mechanism.
4870 (AC_SPECIALIZE): Remove for the same reasons.
4871 Adjust dependencies.
4872 (_AC_INIT_DEFAULTS, _AC_INIT_PARSE_ARGS, _AC_INIT_VERSION,
4873 _AC_INIT_PREPARE, _AC_CANONICAL_SPLIT, _AC_CHECK_TYPE_NEW,
4874 _AC_CHECK_TYPE_OLD): Define via `define' instead of `AC_DEFUN':
4875 they are not related to AC_REQUIRE in any way.
4876 * acspecific.m4 (AC_PROG_ECHO, _AC_DECL_YYTEXT, _AC_PATH_X_XMKMF,
4877 _AC_PATH_X_DIRECT): Define via `define' instead of `AC_DEFUN'.
4879 2000-06-19 Steven G. Johnson <stevenj@alum.mit.edu>
4881 * acgeneral.m4 (AC_CHECK_TOOL): Use two variables in order to
4882 avoid cache variable conflicts between AC_CHECK_PROG invocations.
4883 (AC_PATH_TOOL): Fix same bugs as in 6/9/00 fixes to AC_CHECK_TOOL.
4884 Pass correct arguments to AC_CHECK_PATH (different from
4885 AC_CHECK_PROG). Use AC_CHECK_PATH cache variable, not
4886 AC_CHECK_PROG var, and use two variables for two invocations as
4887 above. Quote AC_CHECK_* args.
4889 2000-06-16 Akim Demaille <akim@epita.fr>
4891 The test suite reveals AC_OUTPUT_MAKE_DEFS fails on RISC/OS.
4893 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: Reset the
4894 t flag between each cycle.
4895 * doc/autoconf.texi (Limitations of Usual Tools): Some about the t
4898 2000-06-16 Akim Demaille <akim@epita.fr>
4900 * acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Don't obsolete them, let
4901 them be empty, so that Automake still provide support for $(EXEEXT).
4903 2000-06-15 Akim Demaille <akim@epita.fr>
4905 * autoconf.sh (option handling): Give a more understandable
4906 message when an option is missing its argument.
4907 * autoreconf.sh: Likewise.
4908 * autoupdate.sh: Likewise.
4909 * autoheader.sh: Likewise.
4911 2000-06-13 Akim Demaille <akim@epita.fr>
4913 `./config.status -d' is buggy.
4915 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
4917 * doc/autoconf.texi (Limitations of Builtins): Some about shift.
4919 2000-06-13 Akim Demaille <akim@epita.fr>
4921 * doc/autoconf.texi (Caching Results): Bigger warning about the
4922 extremely frequent action-in-commands bug.
4923 Move the documentation of AC_CACHE_SAVE and AC_CACHE_LOAD...
4924 (Cache Files): into here.
4926 2000-06-09 Steven G. Johnson <stevenj@alum.mit.edu>
4928 * acgeneral.m4 (AC_CHECK_TOOL): Even if VALUE-IF-NOT-FOUND is not
4929 specified, we should still check whether PROG-TO-CHECK-FOR
4930 actually works before returning it when the prefixed program is
4931 not found. Also, fixed a bug where it failed to pass the PATH
4932 argument in the second call to AC_CHECK_PROG.
4934 2000-06-09 Akim Demaille <akim@epita.fr>
4936 * acgeneral.m4 (AC_CHECK_TOOLS): Rewrite.
4938 2000-06-09 Paul Eggert <eggert@twinsun.com>
4940 * doc/autoconf.texi: Use `@option' for options, not `@samp' nor
4942 * doc/install.texi: Likewise.
4944 2000-06-09 Akim Demaille <akim@epita.fr>
4946 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't require AC_CYGWIN.
4947 (AC_F77_NAME_MANGLING): Removed useless comment.
4948 (_AC_PROG_F77_GNU): Use `.f' not `.fpp' which is not properly
4949 processed by Abysoft's Fortran compiler.
4951 2000-06-09 Steven G. Johnson <stevenj@superjdj.mit.edu>
4953 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
4954 compiler output to stdout was not caught and interpreted.
4956 2000-06-09 Akim Demaille <akim@epita.fr>
4958 `autoconf --trace' dies on filenames with `:'.
4959 Reported by Mark Elbrecht.
4961 * autoconf.sh <trace> (trace2m4.sed): Use `..*' instead of
4962 `[^:][^:]*' to catch file names. The rest of regex is probably
4963 precise enough to avoid incorrect parsing.
4965 2000-06-09 Akim Demaille <akim@epita.fr>
4967 * acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Always initialize
4970 2000-06-08 Paul Eggert <eggert@twinsun.com>
4972 Import AC_SYS_LARGEFILE from largefile.m4 serial 12.
4974 * acspecific.m4 (AC_SYS_LARGEFILE, _AC_SYS_LARGEFILE_MACRO_VALUE,
4975 _AC_SYS_LARGEFILE_SOURCE): New.
4976 * doc/autoconf.texi (System Services): Document AC_SYS_LARGEFILE.
4978 2000-06-08 Steven G. Johnson <stevenj@alum.mit.edu>
4980 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
4981 specified by the user.
4982 Fix a bug: use the cached value to set FLIBS.
4984 2000-06-07 Dave Love <fx@gnu.org>
4986 * aclang.m4 (AC_PROG_F77): Check for f95 and fc too.
4988 2000-06-07 Philippe De Muyter <phdm@macqel.be>
4990 `foo=1 foo=2 cmd' has an undefined behavior.
4992 * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Do not put two shell
4993 variable assignments in one shell command.
4994 * doc/autoconf.texi (Shell Substitutions): Document.
4996 2000-06-07 Steven G. Johnson <stevenj@alum.mit.edu>
4998 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
4999 confusion from the link command getting echoed in quotes. In the
5000 future, a more general fix for quoted arguments with spaces might
5003 2000-06-07 Akim Demaille <akim@epita.fr>
5005 * doc/autoconf.texi (Limitations of Builtins): More on `test' and
5007 Some on `if' and `break'.
5009 2000-06-07 Morten Eriksen <mortene@sim.no>
5011 * acspecific.m4 (_AC_PATH_X_DIRECT): Include `X11/Intrinsic.h'
5012 when trying to use `XtMalloc' to actually have a chance of
5015 2000-06-07 Akim Demaille <akim@epita.fr>
5019 * acspecific.m4 (_AC_PATH_X_DIRECT): Hard code `X11/Intrinsic.h'
5020 instead of using `ac_x_direct_test_include', likewise for `Xt' and
5021 `ac_x_direct_test_lib', `XtMalloc' and
5022 `ac_x_direct_test_function'.
5024 2000-06-07 Akim Demaille <akim@epita.fr>
5026 * acspecific.m4 (AC_PATH_X): Use AC_DIVERT.
5027 Use `no', not `NO' for ac_x_includes and ac_x_libraries.
5028 Adjust dependencies.
5029 (_AC_PATH_X_DIRECT): Introduce ac_x_header_dirs to factor the list
5030 of places where headers and libs might be.
5031 (AC_PATH_XTRA): Don't quote the argument of `case'.
5033 2000-06-07 Jim Meyering <meyering@lucent.com>
5035 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Put the expansion of
5036 AC_LIST_LINKS in an unquoted `here'-document.
5038 2000-06-06 Akim Demaille <akim@epita.fr>
5040 * tests/aclocal.m4 (AC_ENV_SAVE): Skip `no_x'.
5043 2000-06-05 Mo DeJong <mdejong@cygnus.com>
5045 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Move the setting
5046 of ac_tool_prefix before the call to AC_DIVERT_POP.
5048 2000-06-05 Akim Demaille <akim@epita.fr>
5050 * acgeneral.m4 (AC_CHECK_TOOL_PREFIX): AU define it.
5051 Suggested by Mo DeJong.
5053 2000-06-05 Steven G. Johnson <stevenj@alum.mit.edu>
5055 * aclang.m4 (AC_C_CHAR_UNSIGNED): Use the new compiler-test
5056 technology so that we can do the test via compilations only. Also
5057 use (char) -1 instead of (char) 255 to check if char is unsigned.
5059 2000-05-28 Jim Meyering <meyering@lucent.com>
5061 * acspecific.m4 (AC_FUNC_STRERROR_R): Call strerror_r with 2nd arg
5062 of type char*, not int. Suggestion from Paul Eggert.
5064 * doc/autoconf.texi (Particular Functions): Give better description of
5065 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK. From Paul Eggert.
5067 2000-05-26 Akim Demaille <akim@epita.fr>
5069 * doc/autoconf.texi (Limitations of Usual Tools): Document `ln -s'
5070 on DJGPP, based on the comments from Mark Elbrecht.
5072 2000-05-26 Akim Demaille <akim@epita.fr>
5074 * autoreconf.sh (autoconf, autoheader): Be more conscientious when
5075 looking for the executable.
5076 * autoupdate.sh: Likewise.
5077 * autoheader.sh: Likewise.
5078 Suggested by Alexandre Oliva.
5080 2000-05-26 Akim Demaille <akim@epita.fr>
5082 Thanks to --program-transform-name, `autoconf' might be install as
5083 `yo-man-i-am-the-all-mighty-AVt0c0nF-eh-eh'. But when
5084 `yo-man-i-am-the-all-mighty-AVt0h3Ad3R-eh-eh' and the other tools
5085 want to trace, they might stupidly invoke the program named
5086 `autoconf' instead. Pfff, stupid scripts :)
5088 * Makefile.am (editsh): Transfer the names of the install
5089 `autoconf' and `autoheader'.
5090 * autoconf.sh: Add a missing period at the end of the comment
5091 # Parse command line
5092 Make sure to have a ChangeLog much longer than the patch.
5093 * autoheader.sh: Use the right `autoconf'.
5094 * autoupdate.sh: Likewise.
5095 * autoreconf.sh: Likewise, and for `autoheader' too.
5096 Simplify the handling of localdir and AC_MACRODIR.
5097 * ifnames.sh: Formatting changes.
5099 2000-05-25 Steven G. Johnson <stevenj@alum.mit.edu>
5101 Don't use f2c as a possible Fortran compiler, since by itself it
5102 cannot produce object code.
5104 * aclang.m4 (AC_PROG_F77): Remove f2c from the search list.
5105 * doc/autoconf.texi: Excise mentions of f2c in AC_PROG_F77 docs.
5107 2000-05-26 Mark Elbrecht <snowball3@bigfoot.com>
5109 Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
5110 is because the DJGPP `ln' emulates soft links for executables by
5111 generating a stub that in turn calls the real program. This
5112 feature also works with nonexistent files like in the Unix
5113 spec. So `ln -s X conftestdata' will generate `conftestdata.exe'
5114 which will attempt to call 'X.exe'. But this feature only works
5115 for executables. Fix it.
5117 * acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to
5120 2000-05-26 Ossama Othman <ossama@ece.uci.edu>
5122 * aclang.m4 (AC_PROG_CXX): Look for aCC before CC.
5124 2000-05-26 Akim Demaille <akim@epita.fr>
5126 * acspecific.m4 (AC_FUNC_STRERROR_R): New, from `strerror_r.m4',
5127 serial 2, by Jim Meyering.
5128 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): New, from
5129 `lstat-slash.m4', serial 1, by Jim Meyering.
5130 * acfunctions: Adjust.
5132 2000-05-26 Akim Demaille <akim@epita.fr>
5134 * acgeneral.m4 (AC_CHECK_TOOLS): Don't require
5135 AC_CHECK_TOOL_PREFIX, it's dead.
5137 2000-05-26 Akim Demaille <akim@epita.fr>
5139 * acgeneral.m4: Simplify all the
5143 * acspecific.m4: Likewise.
5144 * aclang.m4: Likewise.
5146 2000-05-26 Akim Demaille <akim@epita.fr>
5148 * acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Remove.
5149 Adjust dependencies.
5150 (_AC_INIT_PARSE_ARGS): Set ac_tool_prefix.
5152 2000-05-26 Akim Demaille <akim@epita.fr>
5154 In `info', it is easier to type `autoconf <TAB>' to reach the list
5155 of options, that `Invoking autoc<TAB>'.
5157 * doc/autoconf.texi: s/Invoking foo/foo Invocation/.
5159 2000-05-26 Akim Demaille <akim@epita.fr>
5161 Merge `Upgrading' and `Obsolete Constructs' together.
5163 * doc/autoconf.texi (Obsolete Constructs): Move right after
5164 `Recreation a Configuration.
5165 (Invoking autoupdate): Be a subsection of
5166 `Obsolete Constructs'.
5167 (Upgrading): Demote from chapter to section.
5168 Be a section of `Obsolete Constructs'.
5169 Rename as `Autoconf 1'.
5171 2000-05-26 Akim Demaille <akim@epita.fr>
5173 Find a means to extract integers from the compiler.
5174 Use this technology to compute `sizeof' even when cross-compiling.
5175 Ideas and initial suggestion by Kaveh Ghazi.
5176 Binary search by Bruno Haible.
5178 * aclang.m4 (AC_LANG_BOOL_COMPILE_TRY,
5179 AC_LANG_BOOL_COMPILE_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C++),
5180 AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C), AC_LANG_INT_SAVE(C++)): New
5182 * acgeneral.m4 (_AC_COMPUTE_INT_COMPILE, _AC_COMPUTE_INT_RUN,
5183 _AC_COMPUTE_INT): New.
5184 (AC_CHECK_SIZEOF): Use them.
5185 Check whether the type exists beforehand.
5186 * tests/semantics.m4 (AC_CHECK_SIZEOF): Strengthen.
5188 2000-05-26 Ossama Othman <ossama@ece.uci.edu>
5190 * aclang.m4 (AC_PROG_CXX): Look for aCC KCC RCC xlC_r xlC.
5192 * doc/autoconf.texi (Compilers and Preprocessors): Adjust.
5194 2000-05-26 Akim Demaille <akim@epita.fr>
5196 No library nor special privilege is needed to run `getloadavg'
5198 Reported by Alec Wolman.
5200 * acspecific.m4 (AC_FUNC_GETLOADAVG): Check for `getloadavg'
5201 without any additional library.
5204 2000-05-26 Akim Demaille <akim@epita.fr>
5206 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of
5207 Builtins): Integrate comments from Paul Eggert and Jim Meyering.
5208 Add the sed limitation discovered by Philippe De Muyter.
5209 Fix a typo spotted by Pavel Roskin.
5211 2000-05-25 Akim Demaille <akim@epita.fr>
5213 The test suite needs GNU m4.
5214 Reported by Bob Friesenhahn.
5216 * tests/atconfig.in (M4): Set it.
5217 * tests/base.m4: Use it.
5219 2000-05-25 Akim Demaille <akim@epita.fr>
5221 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Don't use negated character
5222 classes with `case'. Use `expr' instead.
5223 Suggested by Paul Eggert.
5224 * doc/autoconf.texi (Limitations of Builtins): Explain expr, the
5225 `x' trick, and negated character classes.
5227 2000-05-24 Didier Verna <didier@lrde.epita.fr>
5229 * acgeneral.m4 (AC_INIT): Call _AC_PACKAGE before _AC_INIT.
5231 2000-05-24 Ossama Othman <ossama@debian.org>
5233 * aclang.m4 (AC_LANG(C++)): Change `ac_ext' from from `C' to `cc'
5234 to avoid potential ambiguities on case-insensitive shells.
5236 2000-05-24 Mo DeJong <mdejong@cygnus.com>
5238 Have --host=sun4 automatically look for CC=sun4-cc etc.
5240 * acgeneral.m4 (AC_CHECK_TOOLS): New.
5241 * aclang.m4 (AC_PROG_CXX, AC_PROG_CC, AC_PROG_F77): Use new
5242 AC_CHECK_TOOLS macro instead of AC_CHECK_PROGS so that a cross
5243 compiler is found by default with --host.
5244 * doc/autoconf.texi (Generic Programs, Manual Configuration):
5245 Describe new AC_CHECK_TOOLS macro. Fix unclear working about
5247 * tests/Makefile.am (FILTER_MACROS): Adjust.
5249 2000-05-24 Akim Demaille <akim@epita.fr>
5251 The night of the living dead...
5253 * acspecific.m4 (AC_XENIX_DIR, AC_DYNIX_SEQ, AC_IRIX_SUN,
5254 AC_SCO_INTL): Wake up a few zombies.
5255 * doc/autoconf.texi: Adjust.
5256 * tests/aclocal.m4 (AC_ENV_SAVE): Likewise.
5258 2000-05-24 Akim Demaille <akim@epita.fr>
5260 * acgeneral.m4 (AC_LANG_FUNC_LINK_TRY, AC_LANG_FUNC_LINK_TRY(C),
5261 AC_LANG_FUNC_LINK_TRY(C++)): New macros.
5262 (AC_CHECK_FUNC): Use it, together with AC_LINK_ELSE.
5264 2000-05-24 Akim Demaille <akim@epita.fr>
5266 * acspecific.m4 (AC_FUNC_VFORK): Quote properly.
5267 (AC_FUNC_STRFTIME, AC_FUNC_VFORK, AC_FUNC_VPRINTF): Don't use
5268 AC_DEFINE, just use the AC_CHECK_*S macro.
5270 2000-05-24 Akim Demaille <akim@epita.fr>
5272 * acgeneral.m4 (_AC_WHICH_A): Replace it with...
5273 (AC_SHELL_PATH_WALK): this.
5274 (AC_CHECK_PROG, AC_PATH_PROG): Use it.
5276 2000-05-24 Akim Demaille <akim@epita.fr>
5278 * doc/autoconf.texi (Limitations of Builtins): Document `unset'.
5279 (Special Shell Variables): Adjust.
5280 (Shellology): New section. Introduce bash and zsh.
5281 (Special Shell Variables): Some data on NULLCMD.
5282 (Quotation Thumb Rule): Rename as
5283 (Quotation Rule of Thumb): this.
5284 * acgeneral.m4 (AC_SHELL_UNSET): Remove.
5285 (AC_SHELL_UNSETENV): Rename as...
5286 (AC_SHELL_UNSET): this.
5287 (_AC_INIT_PREPARE_ENVIRONMENT): Prepare bash and zsh.
5288 Adjust to AC_SHELL_UNSET.
5290 2000-05-24 Akim Demaille <akim@epita.fr>
5292 The options --build etc. used to set `$build'. *If*
5293 AC_CANONICAL_SYSTEM was run, then the value of `$build' given by
5294 the user was saved into `$build_alias', and `$build' was
5295 normalized using `config.sub'.
5297 Now, let `--build' set `$build_alias' so that scripts with or
5298 without `AC_CANONICAL_BUILD' have the same semantics. This allows
5299 to use `AC_CHECK_TOOL' without requiring `config.guess' and
5300 `config.sub' (which was bizarre anyway).
5302 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): --build, --host and --target
5303 set `build_alias' etc.
5304 After the option handling, set host to $host_alias etc. for
5305 bugward compatibility.
5306 (AC_CANONICALIZE): Mutate into...
5307 (_AC_CANONICAL_SPLIT): this, which does not canonicalize, it just
5308 computes `$foo_os' etc.
5309 (_AC_CANONICAL_THING): Remove, too confusing.
5310 (AC_CANONICAL_BUILD): Adjust.
5311 Do not assign any value to `build_alias', just compute `build', and
5312 `build_{cpy, vendor, os}'.
5313 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Likewise.
5314 (AC_CHECK_TOOL_PREFIX): Fire your rule when `$host_alias' is
5315 given, not when `$host != $build'.
5317 * acgeneral.m4 (sinclude): Fix typo.
5319 2000-05-23 Akim Demaille <akim@epita.fr>
5321 * doc/autoconf.texi (Limitations of Builtins): More details on
5324 2000-05-23 Akim Demaille <akim@epita.fr>
5326 Simplify the interface: users shouldn't need to explicitly check
5327 for special environments.
5329 * acspecific.m4 (AC_EXEEXT, AC_OBJEXT): AU defined to
5330 nothing. Replace them by...
5331 (_AC_EXEEXT, _AC_OBJEXT): this.
5332 * aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call them.
5333 (AC_PROG_CC_G, AC_PROG_CXX_G, AC_PROG_F77_G): Rename as...
5334 (_AC_PROG_CC_G, _AC_PROG_CXX_G, _AC_PROG_F77_G): this.
5335 Adjust dependencies.
5336 * tests/Makefile.am (FILTER_MACROS): Adjust.
5337 * doc/autoconf.texi (Compilers and Preprocessors): New section,
5338 move the documentation of AC_PROG_CC, AC_PROG_CC_C_O,
5339 AC_PROG_CC_STDC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP,
5340 AC_PROG_F77, AC_PROG_F77_C_O, AC_PROG_GCC_TRADITIONAL here.
5341 Factor the comment documentation of AC_PROG_CC, AC_PROG_CXX,
5344 2000-05-23 Akim Demaille <akim@epita.fr>
5346 Modernize AC_EXEEXT and AC_OBJEXT.
5347 Now work with other languages than C and C++.
5349 * acspecific.m4 (AC_EXEEXT, AC_OBJEXT): Use
5350 AC_COMPILE_IFELSE/AC_LINK_IFELSE and AC_LANG_PROGRAM instead of
5352 Use `$ac_ext' instead of listing `.c', `.C' etc.
5354 * doc/autoconf.texi (System Services): Adjust.
5356 2000-05-23 Akim Demaille <akim@epita.fr>
5358 Simplify the interface: users shouldn't need to explicitly check
5359 for special environments.
5361 * acspecific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): AU defined to
5362 nothing. Replace them by...
5363 (_AC_CYGWIN, _AC_EMXOS2, _AC_MINGW32): these, which are
5364 automatically called by...
5366 * doc/autoconf.texi (System Services, Obsolete Macros): Adjust.
5368 2000-05-23 Akim Demaille <akim@epita.fr>
5370 AC_PROG_GNU_M4 should actually be private to the package
5373 * acspecific.m4 (AC_PROG_GNU_M4): Move to...
5375 * m4/Makefile.am (EXTRA_DIST): Adjust.
5376 * doc/autoconf.texi (Particular Programs): Adjust.
5378 2000-05-23 Akim Demaille <akim@epita.fr>
5380 * doc/autoconf.texi (Exiting from Shell Scripts): Move contents
5382 (Limitations of Builtins): this new node.
5383 Document limitations of `exit', `export' and `case'.
5384 Welcome the documentation of `test' from...
5385 (Limitations of Usual Tools): here.
5387 2000-05-22 Akim Demaille <akim@epita.fr>
5389 Load the additions *before* running AC_INIT.
5390 This is important if you want to redefine AC_INIT or some of its
5391 sub macros (eeerk!), or if you want to use user defined macros
5393 Suggested by Didier Verna.
5395 * acgeneral.m4 (_AC_INIT): Don't include `acsite.m4' and
5397 * autoconf.sh (run_m4, run_m4f): Do it.
5399 2000-05-22 Akim Demaille <akim@epita.fr>
5401 Reading the ChangeLog revealed that the recent update of
5402 AC_FUNC_GETLOADAVG introduced a bug which already happened (see
5403 Mon Nov 11 18:02:58 1996 David J MacKenzie).
5405 * acgeneral.m4 (AC_CHECK_LIB): Use a less tempting name:
5406 s/ac_save_LIBS/ac_check_lib_save_LIBS/.
5408 2000-05-22 Akim Demaille <akim@epita.fr>
5410 * acspecific.m4 (_AC_LIBOBJ_ALLOCA): New macro, extracted from...
5411 (AC_FUNC_ALLOCA): here. Adjust.
5413 2000-05-22 Akim Demaille <akim@epita.fr>
5415 Add `configure --config-cache', `-C' as a shortcut for
5416 `--cache-file=config.cache'.
5418 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Let `configure' support
5419 `--config-cache' and `-C'.
5420 Report them in `--help'.
5421 Fix the display of missing argument.
5422 (_AC_OUTPUT_SUBDIRS): Adjust.
5423 * doc/install.texi (Invoking configure): Rename the node as
5424 (Running configure scripts): this, the name of the chapter.
5425 (Operation Controls): Rename as...
5426 (Invoking configure): this.
5427 Document the new options.
5428 * doc/autoconf.texi (direntry): Huh? What is this `aclocal' doing
5429 here? Point to `Invoking configure'.
5430 (Cache Files): No need to document the disabling of the cache.
5432 2000-05-22 Mark Elbrecht <snowball3@bigfoot.com>, Eli Zaretskii <eliz@gnu.org>
5434 More MS-DOS support.
5436 * acgeneral.m4 (_AC_OUTPUT_FILES): Fix the computation of
5437 `ac_file_inputs' for `$ac_given_srcdir' containing a colon.
5438 (AC_CHECK_MEMBERS, AC_PATH_PROG): s/ac_save_ifs/ac_save_IFS/.
5440 2000-05-22 Akim Demaille <akim@epita.fr>
5442 * acspecific.m4 (AC_FUNC_CHOWN): New macro, based on Jim
5443 Meyering's `chown.m4' serial 4.
5444 (AC_FUNC_GETGROUPS): New macro, based on Jim Meyering's
5445 `getgroups.m4' serial 3.
5446 (AC_FUNC_MEMCMP): Updated, based on Jim Meyering's `memcmp.m4'
5448 (AC_FUNC_MALLOC): New macro, based on Jim Meyering's
5449 `malloc.m4' serial 3.
5450 (AC_FUNC_MMAP): Include `stdlib.h' when `STDC_HEADERS'.
5451 * acfunctions: Sort.
5452 Add `chown' and `malloc', point `getgroups' to `AC_FUNC_GETGROUPS'
5453 instead of `AC_TYPE_GETGROUPS'.
5454 * doc/autoconf.texi (Particular Functions): Adjust.
5456 2000-05-22 Akim Demaille <akim@epita.fr>
5458 * acgeneral.m4: Quote the names being m4-defined.
5459 * acspecific.m4: Likewise.
5460 * aclang.m4: Likewise.
5462 2000-05-22 Akim Demaille <akim@epita.fr>
5464 Factor the AC_PROG_<compiler>_WORKS macros.
5466 * acgeneral.m4 (_AC_INIT_DEFAULTS): Set `cross_compiling'.
5467 (AC_TRY_COMPILER): Remove.
5468 * aclang.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS,
5469 AC_PROG_F77_WORKS): Removed.
5470 (_AC_LANG_COMPILER_WORKS): New macro.
5471 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
5473 2000-05-22 Akim Demaille <akim@epita.fr>
5475 * aclang.m4: Formatting changes.
5477 2000-05-22 Akim Demaille <akim@epita.fr>
5479 More than one argument to `configure' builds a broken
5480 `config.status'. Fix and test.
5482 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
5483 `$ac_configure_args' directly, not via a tmp variable.
5484 * tests/torture.m4 (command line interface): Test with more than
5487 2000-05-19 Akim Demaille <akim@epita.fr>
5489 * acgeneral.m4 (AC_MSG_WARN): s/warning/WARNING/.
5490 * autoheader.sh: Likewise.
5491 From François Pinard.
5493 2000-05-19 Akim Demaille <akim@epita.fr>
5495 * acgeneral.m4 (AC_PACKAGE): Rename as _AC_INIT_PACKAGE.
5496 (AC_INIT): Dispatch arguments either to _AC_INIT_PACKAGE or
5497 to AC_CONFIG_SRCDIR.
5499 * configure.in: Adjust.
5501 * doc/autoconf.texi (configure.in Layout): Document the new form
5503 Document AC_CONFIG_SRCDIR.
5504 (Obsolete Macros): Document the old one.
5506 2000-05-19 Akim Demaille <akim@epita.fr>
5508 * acgeneral.m4: Simplify all the unjustified `[\$]foo' into
5509 `\$foo', the quotes are needed only for `\$[1]', `\$[@]' etc.
5510 Prefer `$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1' etc.
5511 * aclang.m4: Likewise.
5512 * acspecific.m4: Likewise.
5514 2000-05-19 Akim Demaille <akim@epita.fr>
5516 * acgeneral.m4 (AC_TRY_COMPILER): Fix quotation.
5518 2000-05-19 Akim Demaille <akim@epita.fr>
5522 * libm4.m4: Rename `symbols' as `m4_symbols'.
5524 2000-05-19 Akim Demaille <akim@epita.fr>
5526 * aclang.m4 (AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU):
5528 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU, _AC_PROG_F77_GNU): these.
5529 Compute the value of GCC, GXX and G77 here.
5530 Set to `no' (instead of empty) if not the GNU compiler.
5531 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Adjust.
5532 * doc/autoconf.texi: Adjust.
5534 2000-05-19 Akim Demaille <akim@epita.fr>
5538 * aclang.m4 (AC_PROG_F77): Follow strictly the same scheme as
5539 AC_PROG_CC to compute the default FFLAGS.
5541 2000-05-19 Akim Demaille <akim@epita.fr>
5543 Either we cross-compile the whole package, or we don't.
5544 Using --host enables cross-compilation.
5546 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `--host' enables cross
5548 (AC_CANONICAL_BUILD): The help string should explicitly mention
5550 * aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
5551 set `cross_compiling'.
5552 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Run your `WORK' partner
5553 only if not cross-compiling.
5554 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS):
5555 If does not work, don't assume an implicit cross-compilation:
5557 * doc/autoconf.texi: Adjust.
5559 2000-05-19 Akim Demaille <akim@epita.fr>
5561 * acgeneral.m4 (AC_SHELL_UNSETENV, AC_SHELL_UNSET): Add the
5564 2000-05-19 Akim Demaille <akim@epita.fr>
5566 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Prefer
5568 *[^-a-zA-Z0-9_]*) AC_ACTION;;
5571 if echo "$foo" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
5575 2000-05-19 Akim Demaille <akim@epita.fr>
5577 * doc/autoconf.texi (Testing Values and Files): Delete, move its
5579 (Limitations of Usual Tools::test): here.
5580 Document more limitations.
5582 2000-05-19 Akim Demaille <akim@epita.fr>
5584 * acspecific.m4 (_AC_LIBOBJ_GETLOADAVG): New macro, extracted from
5585 (AC_FUNC_GETLOADAVG): here.
5588 2000-05-19 Akim Demaille <akim@epita.fr>
5590 * acgeneral.m4 (AC_SPECIALIZE): Avoid a useless `indir'.
5591 (AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Fix to work properly on
5593 * acspecific.m4 (AC_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS and
5594 AC_CHECK_MEMBERS instead of performing their task by hand.
5596 2000-05-19 Akim Demaille <akim@epita.fr>
5598 Synchronize AC_FUNC_GETLOADAVG with the version of the shellutils
5601 * acspecific.m4 (AC_FUNC_GETLOADAVG): Check for
5603 Define `C_GETLOADAVG' if compiling `getloadavg.c'.
5605 Compute `GETLOADAVG_LIBS'.
5606 (AC_FUNC_MKTIME): Remove a forgotten `AC_SUBST(LIBOBJS)'.
5608 2000-05-19 Akim Demaille <akim@epita.fr>
5610 * acgeneral.m4 (AC_SHELL_UNSET, AC_SHELL_UNSETENV): New macro.
5611 (_AC_INIT_PREPARE_ENVIRONMENT): Use AC_SHELL_UNSETENV.
5612 Set CDPATH. Fixes Autoconf/96.
5614 * doc/autoconf.texi (Special Shell Variables): New node.
5615 Document `status', `CDPATH', `LANG', `LC_ALL', `LC_MESSAGES' and
5618 2000-05-12 Akim Demaille <akim@epita.fr>
5620 * acgeneral.m4 (sinclude): Define, some packages (binutils) need
5623 2000-05-12 Akim Demaille <akim@epita.fr>
5625 * doc/autoconf.texi (Invoking config.status): Move the
5626 documentation of the envvar CONFIG_(FILES, HEADERS, COMMANDS,
5628 (Obsolete config.status Use): here.
5630 2000-05-12 Paul Eggert <eggert@twinsun.com>
5632 * doc/autoconf.texi (Exiting from Shell Scripts): New node.
5633 (Autoconf Language): Follow the advice in the new node.
5635 2000-05-12 Peter Eisentraut <peter_e@gmx.net>
5637 * doc/autoconf.texi: Fix typos.
5639 2000-05-11 Akim Demaille <akim@epita.fr>
5641 AC_CONFIG_SUBDIRS needs two lists: one, ac_subdirs_all, which
5642 contains all the possible subdirs for `--help=recursive', and
5643 another, `subdirs' which can be built dynamically for launching
5646 * acgeneral.m4 (AC_CONFIG_SUBDIRS): Define `subdirs' dynamically.
5647 Define `ac_subdirs_all' statically.
5648 Warn if the argument is not a literal.
5649 (AC_LIST_SUBDIRS): Rename as...
5650 (_AC_LIST_SUBDIRS): this.
5651 (_AC_INIT_HELP): Loop over `ac_subdirs_all', not `subdirs'.
5652 (_AC_OUTPUT_SUBDIRS): Loop over `subdirs', not `AC_LIST_SUBDIRS'.
5653 * doc/autoconf.texi (Subdirectories): Adjust.
5655 * acgeneral.m4: Replace all the `test ! -d foo && bar' with
5656 `test -d foo || bar'.
5658 * Makefile.am (.m4.m4f): Stop hiding what you're doing.
5659 Don't check for GNU m4, let it die.
5661 2000-05-11 Akim Demaille <akim@epita.fr>
5663 The Associated Rewriters are even prouder to present...
5669 )===( U T O U P D A T E I V
5672 _//_ _\\_ The ``Eiffel Tower'' Release
5674 * autoupdate.sh: Complete rewrite. See that file for a detailed
5675 explanation. Basically, simulate the name spaces thanks to
5676 `autoconf --trace' and auxiliary files.
5677 No longer use `autoupdate.m4', remove the dependencies.
5678 Synchronize the options and `--help'.
5679 * doc/autoconf.texi (Invoking autoupdate): Humanoupdate.
5680 * autoupdate.m4: Delete.
5681 * tests/Makefile.am (FILTER_MACROS): Add `AC_OUTPUT'.
5682 Since `AC_OUTPUT' is now AU_DEFUN'd, it is extracted for testing,
5683 while it was not before.
5684 * tests/tools.m4 (autoupdate): Re-enable. Adjust the expected
5685 output with the right quotation (yeah!).
5686 Pass `-m $top_srcdir': autoupdate wants the `.m4' files, not the
5688 * Makefile.am (nodistpkgdataDATA): Move `acversion.m4' to
5689 (distpkgdataDATA): here, so that all the `.m4' files are in the
5690 source hierarchy, not split across src and build.
5691 * acversion.m4.in: Update to today's standards.
5692 * Makefile.am: Adjust.
5694 2000-05-11 Akim Demaille <akim@epita.fr>
5696 * libm4.m4: Be robust to multiple inclusion.
5697 Have the first `changequote' robust to the current quotation
5699 Always quote the first argument of `define'.
5701 2000-05-11 Akim Demaille <akim@epita.fr>
5703 The Associated Rewriters are proud to present...
5706 / \ U T O U P D A T E I I I
5708 / \ It bells, It whistles...
5710 * autoupdate.sh: Complete rewrite. See that file for a detailed
5712 * acgeneral.sh: Don't use AU_DEFINE, but AU_DEFUN.
5713 (AC_OUTPUT_COMMANDS_CNT): Renamed as...
5714 (_AC_OUTPUT_COMMANDS_CNT): this.
5716 2000-05-11 Akim Demaille <akim@epita.fr>
5718 Get rid of the m4 name spaces.
5720 * libm4.m4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
5721 m4_popdef, m4_pushdef, m4_undefine, m4_namespace_push,
5722 m4_namespace_pop, m4_namespace_register, m4_namespace_define,
5723 m4_disable, m4_enable): Removed.
5724 All dependencies adjusted.
5725 * libm4.m4: Remove all the name space initialization.
5726 * acgeneral.m4: Adjust.
5727 (AU_DEFINE): Redefine as `AC_DEFUN'.
5728 * autoupdate.m4: Adjust.
5729 * tests/tools.m4: Temporarily disable the `autoupdate' test.
5731 2000-05-11 Akim Demaille <akim@epita.fr>
5733 Eradicate AC_TRY_COMPILE.
5735 * aclang.m4 (AC_PROG_CC_STDC, AC_C_BIGENDIAN, AC_C_INLINE,
5736 AC_C_CONST, AC_C_VOLATILE, AC_F77_NAME_MANGLING): Use
5737 `AC_COMPILE_IFELSE'.
5738 * acspecific.m4 (AC_DECL_SYS_SIGLIST, _AC_CHECK_HEADER_DIRENT,
5739 AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_TYPE_SIGNAL,
5740 AC_FUNC_GETLOADAVG, AC_FUNC_SELECT_ARGTYPES, AC_STRUCT_TM,
5741 AC_CYGWIN, AC_MINGW32, AC_EMXOS2): Likewise.
5742 * tests/semantics.m4 (C keywords): Check that AC_C_CONST,
5743 AC_C_VOLATILE, and AC_C_INLINE function properly with GCC.
5745 2000-05-11 Akim Demaille <akim@epita.fr>
5747 Replace AC_LANG_SAVE/AC_LANG_RESTORE with AC_LANG_PUSH/AC_LANG_POP.
5749 * aclang.m4 (_AC_LANG_CURRENT, AC_LANG_STACK): You two are the same
5750 thing, which now we shall name `_AC_LANG'.
5752 (AC_LANG_PUSH, AC_LANG_POP): New macros.
5753 (AC_LANG_SAVE, AC_LANG_RESTORE): AU defined.
5754 (AC_PROG_CC_WORKS, AC_PROG_CXXCPP, AC_PROG_CXX_WORKS,
5755 AC_PROG_F77_WORKS, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING):
5757 (AC_F77_LIBRARY_LDFLAGS): Move the requirements to its top.
5758 * doc/autoconf.texi (Language Choice): Document them.
5759 (Old Macros): Welcome AC_LANG_SAVE and AC_LANG_RESTORE.
5761 2000-05-11 Akim Demaille <akim@epita.fr>
5763 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Less adventurous use of
5767 2000-05-11 Akim Demaille <akim@epita.fr>
5769 * doc/autoconf.texi (Particular Headers): Some more sorting.
5772 2000-05-11 Akim Demaille <akim@epita.fr>
5774 * acspecific.m4 (_AC_CHECK_HEADER_DIRENT): Use more modern
5776 (_AC_CHECK_HEADERS_DIRENT): Removed, instead...
5777 (AC_HEADER_DIRENT): Handle the loop.
5779 2000-05-11 Akim Demaille <akim@epita.fr>
5781 Provide a means to track the dependencies of files created by
5784 * acgeneral.m4 (AT_FILE_DEPENDENCY, _AC_CONFIG_DEPENDENCY,
5785 _AC_CONFIG_DEPENDENCIES): New macros.
5786 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Use them.
5788 2000-05-11 Akim Demaille <akim@epita.fr>
5790 Merge AC_DECL_YYTEXT into AC_PROG_LEX.
5792 * acgeneral.m4 (AC_DECL_YYTEXT): Rename as
5793 (_AC_DECL_YYTEXT): this.
5794 (AC_PROG_LEX): Use it.
5795 (AC_DECL_YYTEXT): New AU macro.
5796 * doc/autoconf.texi: Adjust.
5798 2000-05-10 Akim Demaille <akim@epita.fr>
5800 * aclang.m4 (AC_F77_NAME_MANGLING): Use AC_COMPILE_IFELSE.
5801 Move the requirements to the top of the macro.
5803 2000-05-10 Akim Demaille <akim@epita.fr>
5805 Update and polish the documentation.
5807 * doc/autoconf.texi: Use @sc where upper case names were used.
5808 Remove a few useless `dnl'.
5809 Convert some `dnl' into comments.
5810 Promote `$(foo)' in Makefiles, not `${foo}'.
5811 Promote `$foo' in shell scripts, not `${foo}'.
5812 Promote `foo = bar' in Makefiles, not `foo=bar'.
5813 (Language Choice): Document `AC_LANG', move `AC_LANG_C',
5814 `AC_LANG_CPLUSPLUS' and `AC_LANG_FORTRAN77' to
5816 * doc/install.texi: Fix a typo in the specification of the system
5819 2000-05-10 Akim Demaille <akim@epita.fr>
5821 * libm4.m4 (m4_foreach): Rewritten so that it does not require
5822 lists in between parens.
5823 (m4_foreach_quoted): new copy of the previous `m4_foreach' which
5824 is still used by `m4_wrap'.
5825 * acgeneral.m4 (AC_INCLUDE, AC_INCLUDES): Removed.
5826 (AC_FOREACH): Don't use parens with `m4_foreach'.
5827 (AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES): Adjust the
5829 * acspecific.m4 (AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE,
5830 AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Adjust.
5831 * autoconf.texi (AC_CHECK_MEMBER, AC_CHECK_DECLS, AC_CHECK_TYPES):
5832 Adjust their documentation.
5833 (AC_INCLUDE): Undocument.
5834 * tests/semantics.m4: Adjust.
5835 * tests/actest.m4: Rename as...
5836 * tests/aclocal.m4: this.
5837 * tests/atspecific.m4: No longer include actest.m4.
5838 * tests/torture.m4: Likewise.
5839 * tests/Makefile.am: Adjust.
5841 2000-05-10 Akim Demaille <akim@epita.fr>
5843 * doc/autoconf.texi (Obsolete Macros): Document `AU_DEFUN'.
5844 Move the documentation of `AC_OBSOLETE' from here, to...
5846 * acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV):
5849 2000-05-10 Akim Demaille <akim@epita.fr>
5851 * acgeneral.m4 (AC_LIBOBJ_DECL, AC_LIBOBJ): New macros.
5852 (AC_REPLACE_FUNCS): Use AC_LIBOBJ.
5853 * acspecific.m4 (AC_FUNC_MKTIME, AC_FUNC_MEMCMP,
5854 AC_STRUCT_ST_BLOCKS): Use AC_LIBOBJ.
5855 * doc/autoconf.texi : Adjust so that the user is not encouraged to
5856 use LIBOBJS directly.
5857 (Generic Functions): Document AC_LIBOBJ_DECL and AC_LIBOBJ.
5859 2000-05-09 Jim Meyering <meyering@lucent.com>
5861 * acgeneral.m4 (AC_SEARCH_LIBS): Remove double quotes around `no'.
5863 2000-05-09 Akim Demaille <akim@epita.fr>
5865 * acgeneral.m4 (_AC_OUTPUT_FILES): Don't automatically spit
5866 `Generated by...' in Makefiles.
5869 2000-05-09 Akim Demaille <akim@epita.fr>
5871 Let `config.status' use a private temp dir.
5872 Suggested by Jim Meyering.
5874 * acgeneral.m4 (_AC_SHELL_TMPDIR): New macro.
5875 (_AC_OUTPUT_CONFIG_STATUS): Use it.
5876 Use more quoted here docs to improve readability.
5877 Compute `$me' and use it in the error messages.
5878 Define `$configure' and `$configure_args' to avoid continuously
5879 mixing the uses of `configure' and `config.status' evaluation in a
5881 Define `$SHELL' and use it.
5882 Simplify all the unjustified `[\$]foo' into `\$foo', the quotes
5883 are needed only for `\$[1]', `\$[@]' etc.
5884 Replace all the uses of `ac_cs_root' with files in the tmp dir of
5886 Remove a few `rm' covered by the removal of the `$tmp' dir.
5887 Let `config.status' support `--debug'.
5888 (_AC_INIT_PREPARE): Avoid the leading space in `ac_configure_args'.
5889 * doc/autoconf.texi (Invoking config.status): Adjust.
5891 2000-05-05 Jim Meyering <meyering@lucent.com>
5893 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Set up traps to remove
5894 temporaries upon exit, too, not just upon receipt of signal.
5896 2000-05-05 Akim Demaille <akim@epita.fr>
5898 AC_CHECK_PROG macro fails if REJECT value is set under Digital
5899 Unix 4.0x and 5.0 because `"$@"' expands into an empty parameter
5900 (instead of nothing) when there are no positional parameters.
5903 * acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS): Prefer
5904 `$$1' to `[$]$1', `$foo' to `[$]foo', `$[1]' to `[$]1', and
5905 `${1+"$[@]"}' to `"[$]@"'.
5907 2000-05-04 Akim Demaille <akim@epita.fr>
5909 AC_PREREQ understands `2.14a' as `2.141'.
5910 Reported by Didier Verna.
5912 * acgeneral.m4 (AC_PREREQ): Don't quote AC_ACVERSION.
5914 2000-05-04 Akim Demaille <akim@epita.fr>
5916 * acgeneral.m4 (AH_TOP, AH_BOTTOM): New macros.
5917 (_AH_COUNTER): New variable.
5918 * tests/tools.m4 (autoheader): Check their proper functioning.
5920 2000-05-04 Akim Demaille <akim@epita.fr>
5922 * doc/autoconf.texi (Obsolete Macros): Rename as...
5923 (Obsoleting Macros): this.
5924 (Old Macros): Rename as...
5925 (Obsolete Macros): this.
5927 (Obsolete Constructs): New chapter.
5928 (Invoking autoheader): Move the `acconfig.h' documentation to...
5929 (acconfig.h): here, new section of `Obsolete Constructs'.
5930 (Autoheader Macros): Document AH_VERBATIM, AH_TEMPLATE, AH_TOP and
5933 2000-05-03 Nicolas Joly <njoly@pasteur.fr>
5935 * autoheader.sh (config_h): Sort the templates.
5936 Under NetBSD 1.4.1 /bin/sh `set' command does not return a sorted
5939 2000-05-03 Akim Demaille <akim@epita.fr>
5941 * tests/tools.m4 (autoheader): Don't pass `-l at_srcdir' to
5942 `autoheader', since `acconfig.h' is created in the build dir.
5943 There's one empty line less in `config.h.in' than before when
5946 2000-05-03 Akim Demaille <akim@epita.fr>
5948 Simplify the handling of `acconfig.h'.
5950 * autoheader.sh: No longer try to select the needed paragraphs of
5951 `acconfig.h', just dump everything into `config.h.in'.
5952 Implement support for `--warnings'.
5953 Warn the users that these auxiliary files are obsolete when `-W
5955 * doc/autoconf.texi (Invoking autoheader): Adjust.
5957 2000-05-03 Akim Demaille <akim@epita.fr>
5959 Support of acconfig.h was broken. Fix and test.
5960 Reported by Jim Meyering.
5962 * autoheader.sh: Trace AC_DEFINE and AC_DEFINE_UNQUOTED to build
5963 the list of $syms which are defined.
5964 * tests/tools.m4 (autoheader): New test.
5966 2000-05-03 Akim Demaille <akim@epita.fr>
5968 Rename the language FORTRAN77 as Fortran 77.
5970 * aclang.m4 (AC_LANG(FORTRAN77), AC_LANG_SOURCE(FORTRAN77),
5971 AC_LANG_PROGRAM(FORTRAN77), AC_LANG_CALL(FORTRAN77)): Rename as...
5972 (AC_LANG(Fortran 77), AC_LANG_SOURCE(Fortran 77),
5973 AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)): This.
5974 (AC_LANG_FORTRAN77): Adjust.
5976 2000-05-03 Akim Demaille <akim@epita.fr>
5978 Provide a macro to canonicalize a configuration name.
5979 Suggested by Ralf Corsepius.
5981 * acgeneral.m4 (AC_CANONICALIZE): New macro.
5982 (_AC_CANONICAL_THING): Use it.
5985 Change the defaults for build, host, and target systems:
5986 build defaults to `config.guess`.
5987 host defaults to $build.
5988 target defaults to $host.
5989 Suggested by Mo DeJong, Pavel Roskin, Tom Tromey, Ian Lance
5990 Taylor, and many others.
5992 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set `$build', `$host' and
5993 `$target' to nothing instead of NONE.
5994 (AC_CANONICAL_SYSTEM): AU_DEFUN'd as `AC_CANONICAL_TARGET'.
5995 (_AC_CANONICAL_THING): Use an explicit m4_case to set the defaults
5996 depending upon the THING.
5997 Implement the default values.
5998 (AC_CANONICAL_TARGET): Handle the `AC_ARG_PROGRAM' part
5999 `AC_CANONICAL_SYSTEM' used to provide.
6000 * doc/autoconf.texi: Adjust.
6003 When receiving an explicit argument, consider this is a default
6004 for --build, --host and --target (unless set).
6005 Some scripts might still depend on this historical syntax.
6006 Suggested by Alexandre Oliva.
6008 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Do that.
6009 (_AC_CANONICAL_THING): Drop the support of `$nonopt'.
6012 Documenting --build, --host and --target when configure does not
6013 handle them causes confusion.
6014 Suggested by Pavel Roskin.
6015 Nevertheless configure must not die on such an `unsupported'
6016 option: it does happen that people build an entire tree of
6017 packages, some of them expecting `--host' etc. some others not.
6018 Stressed by Tom Tromey and Ian Lance Taylor.
6020 * acgeneral.m4 (HELP_CANON): New diversion.
6021 (_AC_INIT_PARSE_ARGS): Don't document these options.
6022 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET):
6023 Document your associated option.
6025 2000-04-28 Akim Demaille <akim@epita.fr>
6027 Don't double quote in AC_MSG_*.
6029 * acgeneral.m4 (_AC_SH_QUOTE): Don't double quote. Escape the
6031 (_AC_ECHO_UNQUOTED): Don't double quote :).
6032 (_AC_ECHO, _AC_ECHO_N): Quote the call to _AC_SH_QUOTE.
6034 The autoheader chain needs to be adjusted.
6036 * acgeneral.m4 (AH_VERBATIM): Just pass two arguments to AH_OUTPUT
6037 instead of trying to build what `autoheader' needs: let it handle
6038 the format by itself.
6039 * autoheader.m4: Adjust.
6040 s,tmp/config.h,tmp/config.hin.
6042 The adjustment revealed that `autoconf --trace' is not robust to
6043 single quotes in its argument.
6045 * autoconf.sh: Fix this issue.
6046 Rename the escape `$*' as `$%'. Implement `$@'.
6047 * doc/autoconf.texi: Adjust.
6049 2000-04-28 Akim Demaille <akim@epita.fr>
6051 mawk suffers a severe performance loss when using `sub' with a
6052 changing value. On the `configure' script of the fileutils:
6053 mawk '{ sub (/foo/, foo++) }' -> 14s.
6054 mawk '{ if ($0 ~ /foo/) sub (/foo/, foo++) }' -> 0.03s.
6055 mawk '{ sub (/foo/, foo) }' -> 0.03s.
6057 * autoconf.sh (task script, AWK script): Run `sub (__oline__,
6058 oline)' only in the lines that match `__oline__'.
6059 Suggested by Paul Eggert.
6061 2000-04-28 Akim Demaille <akim@epita.fr>
6063 * autoconf.sh (options handling::-W*): Strip two leading chars, not
6066 2000-04-20 Dave Love <fx@gnu.org>
6068 * acspecific.m4 (AC_FUNC_MKTIME): Use AC_SUBST.
6070 2000-04-12 Akim Demaille <akim@epita.fr>
6072 Provide a fine grained control over autoconf's warnings.
6074 * acgeneral.m4 (AC_WARNING_IFELSE, _AC_DIAGNOSE, AC_DIAGNOSE):
6076 (AC_DEFUN_ONCE, AC_OBSOLETE, AC_BEFORE, AU_DEFUN, AC_PREREQ,
6077 AC_WARNING, AC_FATAL, AC_TRY_RUN): Use AC_DIAGNOSE.
6078 * autoconf.sh: Provide support for `--warnings', `-W'.
6079 * doc/autoconf.texi (Invoking autoconf): Adjust.
6080 (Reporting Messages): New section.
6082 2000-04-12 Akim Demaille <akim@epita.fr>
6084 * acgeneral.m4 (_AC_INIT_HELP): Move --srcdir in the first
6086 Document --help=short and recursive.
6087 Split the `Directory' section into `Installation directories' for
6088 --prefix and --exec-prefix, and all the others into `Fine tuning
6089 of the installation directories'.
6090 In the latter, don't repeat `in DIR', the user understands, and it
6092 Default for --exec-prefix is PREFIX.
6093 Reported by Kathryn Hargreaves.
6094 Move --host before --build.
6095 Fix a test on `$ac_init_help' which was not updated.
6097 2000-04-11 Akim Demaille <akim@epita.fr>
6099 Have `make check' succeed with CC=g++.
6101 * tests/atspecific.m4 (AT_TEST_MACRO): Don't check `env-after' if
6102 the file does not exist, which may happen when a `configure' exits
6104 * tests/semantics.m4 (AC_CHECK_MEMBERS, AC_CHECK_TYPES): ANSI C++
6105 forbids members named like their hosting struct, so don't do it.
6107 2000-04-11 Akim Demaille <akim@epita.fr>
6109 * autoscan.pl: Reindent using 2 spaces, not 4.
6110 Use `#' to denote Autoconf comments, not `dnl'.
6111 Put a few `\' here and there to avoid misfontification and
6113 Use your base name when reporting errors.
6114 (parse_args::usage): Use $0, use the same order as the other
6116 (parse_args): Don't dump `--help' on cmd line errors.
6118 2000-04-11 Akim Demaille <akim@epita.fr>
6120 * acgeneral.m4 (AC_PROVIDE_IF): Rename as...
6121 (AC_PROVIDE_IFELSE): this. Change all callers.
6122 Spread the use of AC_PROVIDE_IFELSE, no macro should know how
6123 AC_PROVIDE names its internal variables.
6125 2000-04-11 Akim Demaille <akim@epita.fr>
6127 * acgeneral.m4: Simplify all the `foo="$bar"' into `foo=$bar'.
6128 * acspecific.m4: Likewise.
6129 * aclang.m4: Likewise.
6131 2000-04-11 Akim Demaille <akim@epita.fr>
6133 Move obsolete macros' definitions out of the way.
6135 * doc/autoconf.texi (Old Macro Names): Rename as...
6136 (Old Macros): this. Change the @table enumeration into a list of
6138 (AC_CHECKING, AC_CHECK_TYPE, AC_COMPILE_CHECK, AC_C_CROSS,
6139 AC_DYNIX_SEQ, AC_HAVE_LIBRARY, AC_IRIX_SUN, AC_LINK_FILES,
6140 AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_SCO_INTL, AC_VERBOSE,
6141 AC_XENIX_DIR): Move their descriptions into here.
6142 Kill a few TeX warnings.
6144 2000-04-11 Akim Demaille <akim@epita.fr>
6146 * acgeneral.m4 (AC_MSG_ERROR_UNQUOTED): Remove.
6147 (AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED): Output to the log too.
6148 (AC_CHECKING, AC_VERBOSE): AU_ define.
6150 2000-04-07 Akim Demaille <akim@epita.fr>
6152 * acgeneral.m4: s/1>&/>&/g.
6153 (AC_FD_LOG): New macro, replaces...
6154 (AC_FD_CC): this. Provide an AU definition.
6155 (_AC_ECHO_UNQUOTED, _AC_ECHO_N): Use m4_default.
6157 2000-04-05 Akim Demaille <akim@epita.fr>
6159 At the end of `./configure', save the cache values, and the CPP
6162 * acgeneral.m4 (_AC_CACHE_DUMP): New macro.
6163 (AC_CACHE_SAVE, AC_OUTPUT): Use it.
6164 (AC_OUTPUT): Dump confdefs.h into config.log.
6165 (_AC_INIT_PREPARE::config.log): Name the package being configured
6168 2000-04-05 Steven G. Johnson <stevenj@alum.mit.edu>
6170 Disable caching by default, so as not to cause problems when
6171 newbies accidentally use a stale cache file.
6173 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Set cache_file to /dev/null
6174 to disable caching by default.
6175 (_AC_INIT_HELP): Adjust the --help message.
6176 (AC_CACHE_LOAD, AC_CACHE_SAVE): Don't print "loading/updating
6177 /dev/null" messages.
6178 * autoconf.texi: Note that caching is disabled, how to enable it,
6179 and that `./config.cache' is the traditional name of the cache file.
6180 * install.texi: Likewise.
6182 2000-04-03 Akim Demaille <akim@epita.fr>
6184 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): If any option waiting for a
6185 directory receives a relative path, die (bindir, sbindir,
6186 libexecdir, datadir, sysconfdir, sharedstatedir, localstatedir,
6187 libdir, includedir, oldincludedir, infodir, mandir, exec_prefix,
6188 prefix). Fixes Autoconf 42.
6190 2000-04-03 Akim Demaille <akim@epita.fr>
6192 * doc/autoconf.texi (Canonicalizing): Officially recognize
6193 AC_CANONICAL_TARGET and AC_CANONICAL_BUILD.
6195 2000-04-03 Akim Demaille <akim@epita.fr>
6197 * doc/autoconf.texi (Writing configure.in): Explain what Autoconf
6198 is. Explain how to use the quotation scheme used in Autoconf.
6199 (Quoting): Update. Do not advocate changequote.
6201 2000-03-30 Steven G. Johnson <stevenj@alum.mit.edu>
6203 Fix F77 name-mangling macros to work with cached values (so
6204 they don't break the second time you run configure).
6206 * aclang.m4 (AC_F77_NAME_MANGLING): Extract f77_case,
6207 f77_underscore from cache variable.
6208 (AC_F77_WRAPPERS): Get rid of ac_cv_f77_wrappers, it's useless.
6209 Simplify the nested case-esac into a single one.
6210 Simplify the documentation strings of CPP symbols.
6212 2000-03-31 Akim Demaille <akim@epita.fr>
6214 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the accumulation in
6217 2000-03-31 Akim Demaille <akim@epita.fr>
6219 * autoheader.sh: Catch up with the `mktemp -d' changes in
6221 * autoupdate.sh: Likewise.
6223 2000-03-31 Steven G. Johnson <stevenj@alum.mit.edu>
6225 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): bug fix in F77 test program
6226 (missing whitespace--F77 requires program statements to start in
6229 2000-03-29 Akim Demaille <akim@epita.fr>
6231 Rewrite the autoheader chain on top of `autoconf --trace'.
6233 * autoheader.m4: Dispatch the prototypes next to there AC_
6235 (AH_TEMPLATE, AH_VERBATIM): Move to...
6236 * acgeneral.m4: here.
6237 (AH_OUTPUT): New macro.
6238 * autoheader.sh: Run `autoconf --trace' instead of `m4 autoheader.m4'.
6239 * autoheader.m4: Remove.
6240 * Makefile.am: Adjust.
6241 * tests/tools.m4 (AH_DEFUN): Remove, no longer makes sense.
6242 * tests/actests.m4 (autoheader::AC_TATOOINE): Remove, was used by
6245 2000-03-29 Akim Demaille <akim@epita.fr>
6247 silent.m4 depends upon the current quotation in m4, which changes
6248 if `-i' is used or not.
6250 * autoconf.sh (trace::silent.m4): Removed.
6251 (trace::run_m4_trace): Pass -Derrprint.
6253 2000-03-29 Akim Demaille <akim@epita.fr>
6255 Use `mktemp -d' when possible to create securely a tmp work dir.
6257 * autoconf.sh: Use it when possible to create the dir $tmp.
6258 Stop using variables for tmp files, use their names in $tmp.
6259 [install]: Use the new features of autoconf --trace.
6261 2000-03-28 Akim Demaille <akim@epita.fr>
6263 Probably all the versions of bash up to 2.04 fail on
6264 fnmatch ("/tmp", "[/\\\\]")
6265 The backslash must not be last.
6267 * acgeneral.m4 (_AC_INIT_HELP, AC_PATH_PROG, _AC_OUTPUT_FILES,
6268 _AC_OUTPUT_LINKS, _AC_OUTPUT_SUBDIRS): Always make `\\' be the
6269 first character in all the `[]' of `case' patterns.
6271 2000-03-27 Akim Demaille <akim@epita.fr>
6273 * acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Rename back as
6274 AC_CHECK_TOOL_PREFIX since some packages rely on it.
6276 2000-03-27 Akim Demaille <akim@epita.fr>
6278 Move all the language dependent macros into aclang.m4.
6280 * aclang.m4: New file.
6281 * autoconf.m4: Include it.
6282 * autoheader.m4: Likewise.
6283 * autoupdate.m4: Likewise.
6284 * Makefile.am: Adjust.
6285 * test/Makefile.am: Likewise.
6286 * acgeneral.m4 (AC_LANG_CASE,AC_LANG_SAVE, _AC_LANG_DISPATCH,
6287 AC_LANG, _AC_LANG_CURRENT, AC_LANG_SOURCE, AC_LANG_PROGRAM,
6288 AC_LANG_CALL, AC_LANG(C), AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C),
6289 AC_LANG_CALL(C), AC_LANG(C++), AC_LANG_SOURCE(C++),
6290 AC_LANG_PROGRAM(C++), AC_LANG_CALL(C++), AC_LANG(FORTRAN77),
6291 AC_LANG_SOURCE(FORTRAN77), AC_LANG_PROGRAM(FORTRAN77),
6292 AC_LANG_CALL(FORTRAN77): Move to...
6294 * acspecific.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77,
6295 AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS, AC_PROG_F77_WORKS,
6296 AC_PROG_CC_GNU, AC_PROG_CXX_GNU, AC_PROG_F77_GNU, AC_PROG_CC_G,
6297 AC_PROG_CXX_G, AC_PROG_F77_G, AC_PROG_GCC_TRADITIONAL,
6298 AC_PROG_CC_C_O, AC_PROG_F77_C_O, AC_PROG_CC_STDC, AC_PROG_CPP,
6299 AC_PROG_CXXCPP, AC_REQUIRE_CPP, AC_PROG_LEX, AC_TYPE_MODE_T,
6300 AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE, AC_C_BIGENDIAN,
6301 AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE, AC_C_STRINGIZE,
6302 AC_C_PROTOTYPES, AC_F77_LIBRARY_LDFLAGS, AC_F77_NAME_MANGLING,
6303 AC_F77_WRAPPERS): Move to...
6306 2000-03-27 Akim Demaille <akim@epita.fr>
6308 * autoconf.sh (trace): Let translate_awk do the whole translation
6309 from `$trace' to the m4 program.
6311 2000-03-27 Akim Demaille <akim@epita.fr>
6313 * acgeneral.m4 (AC_PACKAGE): Also define AC_PACKAGE_STRING.
6314 Use it here and there.
6316 2000-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6318 * acgeneral.m4 (_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Fix the DOS
6319 absolute path pattern: s/?:[[/\\]]/?:[[/\\]]*/.
6321 2000-03-25 Akim Demaille <akim@epita.fr>
6323 * acgeneral.m4 (_AC_CANONICAL_TARGET, _AC_CANONICAL_BUILD): Rename
6324 as (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD), although internal,
6325 too much foreign code depends upon them.
6327 2000-03-25 Akim Demaille <akim@epita.fr>
6329 * autoconf.sh (translate_awk): `> "/dev/stderr"' is not portable
6330 to systems without a real /dev/stderr in the file system or if not
6331 using one of the three free awks. Use
6332 print message | "cat >&2"
6334 END { close("cat >&2") }
6335 From Aharon Robbins.
6337 2000-03-25 Akim Demaille <akim@epita.fr>
6339 * autoheader.sh (checking completeness): Be ready to recognize
6340 patterns with a value, and spaces between `#' and the directive, e.g.
6342 Reported by John Fortin.
6344 2000-03-25 Akim Demaille <akim@epita.fr>
6346 * acgeneral.m4 (AC_RUN_IFELSE): New macro.
6347 (AC_TRY_RUN_NATIVE): Remove.
6348 (AC_TRY_RUN): Use AC_RUN_IFELSE, not AC_TRY_RUN_NATIVE.
6350 2000-03-25 Akim Demaille <akim@epita.fr>
6352 * acgeneral.m4 (AC_CHECK_LIB): Ah ah! I recognized you, even
6353 masked: you are AC_TRY_LINK_FUNC.
6355 (AC_SEARCH_LIBS): Use AC_SHELL_IFELSE.
6357 2000-03-25 Akim Demaille <akim@epita.fr>
6359 * tests/semantics.m4 (AC_TRY_LINK_FUNC, AC_CHECK_LIB): New tests.
6361 2000-03-25 Akim Demaille <akim@epita.fr>
6363 * acgeneral.m4 (AC_LANG_CALL, AC_LANG_CALL(C), AC_LANG_CALL(C++),
6364 AC_LANG_CALL(FORTRAN77)): New macros.
6365 (AC_TRY_LINK_FUNC): Use it.
6366 (AC_TRY_CPP): Argument was output twice.
6367 (AC_COMPILE_IFELSE, AC_LINK_IFELSE): Output $3 only if needed.
6369 2000-03-25 Akim Demaille <akim@epita.fr>
6371 * acgeneral.m4 (AC_TRY_COMPILER): Use AC_LINK_IFELSE.
6372 (AC_TRY_LINK_FUNC, AC_CHECK_LIB, AC_CHECK_FUNC): Don't check that
6373 the current language is C++ to output `extern "C"': the CPP
6374 condition is enough.
6376 2000-03-25 Akim Demaille <akim@epita.fr>
6378 * acgeneral.m4 (AC_LINK_IFELSE, AC_COMPILE_IFELSE): New macros.
6379 (AC_TRY_LINK, AC_TRY_COMPILE): Use them.
6380 (AC_CHECK_MEMBER, AC_COMPILE_CHECK, AC_CHECK_DECL,
6381 _AC_CHECK_TYPE_NEW): Adjust.
6382 * acspecific.m4 (AC_DECL_YYTEXT, AC_PATH_XTRA): Adjust.
6384 2000-03-23 Steven G. Johnson <stevenj@alum.mit.edu>
6386 * acspecific.m4 (AC_F77_NAME_MANGLING): Need to use
6387 AC_F77_LIBRARY_LDFLAGS when linking C and Fortran code.
6389 2000-03-23 Akim Demaille <akim@epita.fr>
6391 * acgeneral.m4 (AC_LANG_PROGRAM, AC_LANG_PROGRAM(C),
6392 AC_LANG_PROGRAM(C++), AC_LANG_PROGRAM(FORTRAN77)): New macros.
6393 (AC_TRY_COMPILE, AC_TRY_LINK): Use them.
6395 2000-03-23 Akim Demaille <akim@epita.fr>
6397 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Support --help={long, short,
6399 (_AC_INIT_HELP): Propagate --help=recursive to CONFIG_SUBDIRS.
6401 (AC_OUTPUT_SUBDIRS): s/ac_config_dir/ac_subdir/g.
6403 2000-03-23 Lars J. Aas <larsa@sim.no>
6405 * libm4.m4 (m4_do): New macro.
6407 2000-03-21 Akim Demaille <akim@epita.fr>
6409 Provide a language independent means to generate language specific
6412 * acgeneral.m4 (_AC_LANG_DISPATCH): New macro.
6414 (AC_LANG_SOURCE, AC_LANG_SOURCE(C), AC_LANG_SOURCE(C++),
6415 AC_LANG_SOURCE(FORTRAN77)): New macros.
6416 (AC_TRY_COMPILER, AC_EGREP_CPP, AC_TRY_RUN_NATIVE): Use
6419 2000-03-21 Akim Demaille <akim@epita.fr>
6421 Fix a bug: some macros (e.g., AC_REVISION, AC_COPYRIGHT etc.) can
6422 be used before AC_INIT, but they do require it. But then, the
6423 argument of the explicit AC_INIT call is lost.
6425 * acgeneral.m4 (AC_CONFIG_SRCDIR): New macro.
6426 (_AC_INIT_SRCDIR): Adjust.
6427 (_AC_INIT): Pass your argument to AC_CONFIG_SRCDIR.
6429 2000-03-21 Akim Demaille <akim@epita.fr>
6431 * tests/semantics.m4 (AC_PATH_PROG, AC_PATH_PROGS): New tests.
6433 2000-03-21 Akim Demaille <akim@epita.fr>
6435 Start the language support overhaul: Introduce AC_LANG().
6437 * acgeneral.m4 (AC_LANG): Renamed as _AC_LANG_CURRENT.
6438 (AC_LANG, AC_LANG(C), AC_LANG(C++), AC_LANG(FORTRAN77)): New
6440 (AC_LANG_C, AC_LANG_CPLUSPLUS, AC_LANG_FORTRAN): AU_DEFUN'ed.
6442 * acspecific.m4 (AC_F77_NAME_MANGLING): Remove the exceeding
6444 * tests/Makefile.am (FILTER_MACROS): Add AC_LANG.
6446 2000-03-21 Akim Demaille <akim@epita.fr>
6450 * libm4.m4 (m4_append, m4_list_append): Use m4_define, not define.
6451 On my machine the former implementation takes 4mn 40s to run the
6452 test suite. Using m4_define leads to 4mn 15s.
6453 * acgeneral.m4 (_AC_SUBST): Use AC_EXPAND_ONCE (which uses
6454 m4_define, not define). 4mn.
6455 (_AC_DIVERT): Don't use m4_case. Starting from those 4mn, if you
6456 just move NORMAL* first in m4_case, the test suite is run in 3mn.
6457 If instead of using m4, you use an `associative array' plus a
6458 wrapper (current implementation), it falls to 2mn.
6460 2000-03-21 Akim Demaille <akim@epita.fr>
6462 * tests/tools.m4 (autoconf --trace): New test.
6464 2000-03-21 Akim Demaille <akim@epita.fr>
6466 * autoconf.sh (task trace): Pipe the output of the first m4 into
6467 the second one, instead of saving to a tmp file, so that we can
6468 trace endless configure.in expansion.
6470 2000-03-21 Akim Demaille <akim@epita.fr>
6474 * acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS,
6475 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Prefer
6476 for i in : $is; do test $i = : && continue
6478 for i in .. $is; do if test $i != ..; then
6480 2000-03-21 Akim Demaille <akim@epita.fr>
6482 * acgeneral.m4 (_AC_INIT_PREPARE, _AC_INIT_PARSE_ARGS): Move more
6483 initializations to...
6484 (_AC_INIT_DEFAULTS): here.
6486 2000-03-21 Akim Demaille <akim@epita.fr>
6488 Give a means to compute `srcdir' earlier in configure.
6490 * acgeneral.m4 (_AC_INIT_SRCDIR): New macro, pulled out from...
6491 (_AC_INIT_PREPARE): No longer compute `srcdir'.
6492 (_AC_INIT): Use _AC_INIT_SRCDIR.
6493 (AC_INIT): Don't forget to pass the argument to _AC_INIT.
6495 2000-03-20 Jim Meyering <meyering@lucent.com>
6497 * acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Don't test for existence
6498 of $ac_xdir. Not only is `test -e' not portable, but the test isn't
6499 necessary at all; the following mkdir ends up accomplishing the
6500 same goal. Suggestion from Alexandre Oliva.
6502 * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT) [setting IFS]: Be careful
6503 to use space, tab and new line, in precisely that order.
6505 2000-03-20 Akim Demaille <akim@epita.fr>
6507 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Rename as _AC_OUTPUT_SUBDIRS.
6508 No argument, use AC_LIST_SUBDIRS.
6511 2000-03-20 Akim Demaille <akim@epita.fr>
6513 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Double quote the head
6514 of the help snippet.
6516 2000-03-20 Akim Demaille <akim@epita.fr>
6518 Give an identity to `configure' scripts.
6520 * acgeneral.m4 (AC_PACKAGE): New macro.
6521 (_AC_COPYRIGHT_SEPARATOR): Remove.
6522 (AC_COPYRIGHT): Adjust.
6523 (_AC_INIT_HELP, _AC_INIT_VERSION): Name the package you configure
6526 * configure.in (AC_PACKAGE): Add.
6528 2000-03-20 Akim Demaille <akim@epita.fr>
6530 * acgeneral.m4: Formatting changes.
6532 2000-03-20 Akim Demaille <akim@epita.fr>
6534 Don't rely on RS = "\0" to swallow the whole input as a single
6535 record, this is not portable: mawk and nawk understand it as RS =
6536 "". gawk understands it as expected.
6538 * autoconf.sh (translate_awk::BEGIN): No longer change RS.
6539 (translate_awk::body): Move to the END.
6540 Instead, accumulate the input in `request'.
6542 2000-03-20 Akim Demaille <akim@epita.fr>
6544 * doc/autoconf.texi (Testing Values and Files): Be a subsection of
6545 `Portable Shell Programming'.
6546 (Shell Substitutions, Limitations of Usual Tools): New subsections.
6548 2000-03-17 Akim Demaille <akim@epita.fr>
6550 Use a single tool to reformat the raw `configure' script output by
6552 Suggested by Paul Eggert.
6554 * autoconf.sh: Stop playing with 2 seds and an AWK to finalize
6555 `configure', a single AWK program is enough.
6557 2000-03-17 Akim Demaille <akim@epita.fr>
6559 In Autoconf 2.13, although AC_OUTPUT_COMMANDS did double quote its
6560 arguments, AC_OUTPUT arguments 2 and 3 were not! Currently,
6561 AC_OUTPUT over quotes too: stop that.
6562 Reported by Martin Buchholz.
6564 * doc/autoconf.texi (Output): Don't expand on the ternary
6566 * acgeneral.m4 (AC_OUTPUT): Don't over quote $2 and $3.
6568 2000-03-17 Joseph S. Myers <jsm28@cam.ac.uk>
6570 * acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Security fixes: create
6571 the temp files in a private temporary directory, not directly in
6574 2000-03-17 Akim Demaille <akim@epita.fr>
6576 Install the IFS we need once for all.
6578 * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): New macro.
6579 Handle the NLS envvars, and IFS.
6580 (_AC_INIT_PREPARE): Use it, no longer set the NLS envvars.
6581 (_AC_WHICH_A, AC_PATH_PROG): Rely on the default IFS.
6582 * acspecific.m4 (AC_PROG_INSTALL, AC_FUNC_SELECT_ARGTYPES):
6585 2000-03-17 Akim Demaille <akim@epita.fr>
6587 * acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_TRY_COMPILE,
6588 AC_TRY_LINK, AC_TRY_RUN_NATIVE): Simplify the removal of the
6589 contest files: don't remove them before running the actions, just
6590 remove them at the end of the macro.
6592 2000-03-16 Akim Demaille <akim@epita.fr>
6594 * acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use
6595 : ${foo='some words'}
6598 since this is not portable: Digital Unix v5.0: `bad substitution'.
6601 2000-03-16 Lars J. Aas <larsa@sim.no>
6603 * libm4.m4 (m4_assert, m4_shiftn): New macros.
6604 (m4_case,m4_match): Rewrite to use m4_shiftn (for readability reasons).
6605 (m4_for): Add the STEP argument and some argument-verifying asserts.
6606 (m4_split): Correct spaces to tabulator in regexp.
6608 2000-03-15 Akim Demaille <akim@epita.fr>
6610 Revamp AC_FUNC_SELECT_ARGTYPES.
6612 * acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): Use a single cache
6613 variable instead of three.
6615 Shorten the name of the var loops, they are no longer cached.
6616 Include sys/types.h unconditionally.
6617 `select' returns an int, fixes Autoconf/46.
6618 Don't display parens in the user messages.
6620 2000-03-14 Akim Demaille <akim@epita.fr>
6622 * autoheader.sh: Use run_m4f, not run_m4.
6624 2000-03-14 John David Anglin <dave@hiauly1.hia.nrc.ca>
6626 * tests/actest.m4 (AC_ENV_SAVE): Don't consider RANDOM and LINENO
6627 which some shells update. At least ksh on HP-UX 10.20 and sh on
6628 IRIX 6.5 do change their `RANDOM' even if `read' via `set'.
6630 2000-03-14 Akim Demaille <akim@epita.fr>
6632 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): No use for @%:@ here,
6633 no need to over quote $1 in the comments.
6635 2000-03-14 Akim Demaille <akim@epita.fr>
6637 * acgeneral.m4: Replace some ifelse with ifval or m4_default, or
6638 even nothing when not needed.
6639 * acspecific.m4: Likewise.
6641 2000-03-14 Akim Demaille <akim@epita.fr>
6643 * acgeneral.m4 (_AC_INIT_PREPARE): Insert the Autoconf version in
6644 config.log, and the command line which ran configure.
6645 Kill a couple of useless quote around dollars.
6647 2000-03-14 Akim Demaille <akim@epita.fr>
6649 * acgeneral.m4 (_AC_INIT_PREPARE): Kill a changequote in the
6650 building of `ac_configure_args'.
6652 2000-03-14 Akim Demaille <akim@epita.fr>
6654 * acgeneral.m4 (AC_DIVERT): Rename _AC_DIVERT.
6655 (AC_DIVERT): New macro.
6656 Spread its use where better than a pair of AC_DIVERT_PUSH/POP.
6658 2000-03-14 Akim Demaille <akim@epita.fr>
6660 * acgeneral.m4 (_AC_INIT_BINSH): Remove, useless now that...
6661 (AC_REVISION): Require AC_INIT, not _AC_INIT_BINSH.
6662 (AC_INIT): Do what _AC_INIT_BINSH used to.
6663 Don't require _AC_INIT_VERSION, just call it.
6665 (AC_INIT): New macro, single expansion wrapper around _AC_INIT.
6666 (_AC_COPYRIGHT_SEPARATOR): New.
6667 (AC_COPYRIGHT): Use it.
6668 Require AC_INIT, not _AC_INIT_VERSION.
6669 * doc/autoconf.texi (Versions): Promote as first section of
6671 Rename as `Notices'.
6672 Document AC_COPYRIGHT.
6673 Don't give false reasons for placing AC_REVISION before AC_INIT,
6674 the place no longer matters.
6676 2000-03-14 Akim Demaille <akim@epita.fr>
6678 * autoconf.sh (trace_m4::smash): Double quote, we don't want the
6679 result to be evaluated.
6681 2000-03-14 Akim Demaille <akim@epita.fr>
6683 * acgeneral.m4: s/@%:@line __oline__/#line __oline__/g. __oline__
6684 is not a macro, so there is just no use in avoiding `#'.
6686 2000-03-14 Akim Demaille <akim@epita.fr>
6688 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): When there were no
6689 CONFIG_FILES, we had to expand _AC_OUTPUT_FILES into the KILL
6690 diversion, because it is AC_OUTPUT_FILES which undiverted the
6691 AC_SUBST sed script at its proper place, otherwise it would have
6692 been undiverted at the end of `configure', leading to an sh syntax
6694 Now that we no longer use a diversion, we don't need to call
6695 AC_OUTPUT_FILES if useless.
6696 (AC_OUTPUT_FILES): Rename as _AC_OUTPUT_FILES.
6697 (AC_OUTPUT_LINKS): Rename as _AC_OUTPUT_LINKS.
6699 2000-03-14 Akim Demaille <akim@epita.fr>
6701 AC_ARG_PROGRAM must not be expanded twice, which is likely since
6702 Automake calls it, and usually users do too. If it happens,
6703 `--program-prefix=g' actually prepend two (or more) `g'.
6705 * acgeneral.m4 (AC_DEFUN_ONCE): New macro.
6706 (AC_ARG_PROGRAM): AC_DEFUNed_ONCE. Or is it AC_DEFUN_ONCE'd? :).
6707 No longer AC_EXPAND_ONCE the help string, the macro itself is
6708 expanded at most once.
6709 Rename the here-doc tag EOF_SED as EOF.
6711 2000-03-14 Akim Demaille <akim@epita.fr>
6713 Get rid of the ICMDS diversion.
6715 * acgeneral.m4 (AC_DIVERT): Remove ICMDS.
6716 (_AC_OUTPUT_COMMANDS_INIT): New growing string.
6717 (_AC_CONFIG_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS): Adjust.
6719 2000-03-14 Akim Demaille <akim@epita.fr>
6721 Introduce AC_SUBST(VAR, VAL).
6723 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Stop global double quoting,
6725 Merge all the var=val AC_SUBST(var) into AC_SUBST(var, val).
6726 (AC_SUBST): Implement support for 2nd arg.
6727 * doc/autoconf.texi (Setting Output Variables): Adjust.
6729 2000-03-13 Akim Demaille <akim@epita.fr>
6731 Simplify the diversions naming system.
6732 Suggested by Alexandre Oliva and Lars J. Aas
6734 * libm4.m4 (ifndef): New macro.
6735 * acgeneral.m4 (AC_DIVERT): New macro, maps a diversion name to
6736 its value. The diversions now have a short name, e.g., `NOTICE',
6737 instead of the former macros which had long names, e.g.,
6738 `AC_DIVERSION_NOTICE'.
6739 (AC_DIVERT_PUSH): Adjust.
6740 (AC_DIVERT_POP): Use ifndef.
6741 (AC_DIVERSION_CURRENT): Rename as `AC_DIVERT_DIVERSION' to stay
6742 within the `AC_DIVERT' name domain.
6744 * acspecific.m4: Adjust all callers.
6746 2000-03-13 Akim Demaille <akim@epita.fr>
6748 * doc/autoconf.texi (Invoking autoconf): Update documentation of
6751 2000-03-13 Akim Demaille <akim@epita.fr>
6753 * autoconf.sh (tmpbase): New var. Adjust trap code and other tmp
6755 (translate_awk::BEGIN): Set RS to "\0" so that the whole file be a
6757 (translate_awk::trans): Convert from array to function.
6758 (translate_awk::error): New function.
6759 (translate_awk::main action): Implement support for ${sep}@ and
6760 ${sep}*. Use trans() and error().
6761 (translate_awk): Don't put space before user functions call, it is
6763 Remove trailing `;', this is not C :).
6764 (task trace): Quote `$traces' when you eval it, to protect the
6766 Propagate `translate_awk' failures to `autoconf.sh'.
6767 Translate the quadrigraphs.
6769 2000-03-13 Akim Demaille <akim@epita.fr>
6771 Trap on 0 is not executed when `exit' is called without argument.
6773 * autoheader.sh (trap 1 2 13 15): s/exit/exit $?/.
6774 * autoconf.sh: Likewise.
6775 Remove translate_awk too.
6776 * autoupdate.sh: Likewise.
6779 2000-03-13 Akim Demaille <akim@epita.fr>
6781 More uniform style in scripts.
6783 * autoheader.sh: s/-eq/=/.
6784 Uniform ordering of variable initializations, option handling.
6785 Don't use quotes where useless (foo=$1, not foo="$1").
6786 Propagate `run_m4' and `run_m4f'.
6788 * autoconf.sh: Likewise.
6789 * autoreconf.sh: Likewise.
6790 * autoupdate.sh: Likewise.
6791 * ifnames.sh: Likewise.
6792 * autoupdate.m4: Small bug: at the end `dnl' is disabled, so use
6795 2000-03-13 Akim Demaille <akim@epita.fr>
6797 `autoconf --trace': faster.
6799 * autoconf.sh (initialization): New var, new option.
6800 (option loop): When you need an arg, make sure there is one.
6801 (run_m4f): New var, which content is that of the former...
6802 (run_m4): Don't use m4 frozen state files.
6804 Don't pass AC_LOCALDIR, not documented, and unused.
6805 (task trace): Honor `--verbose' and `--initialization'.
6806 (globally): Send `--verbose' messages in stderr.
6809 2000-03-13 Akim Demaille <akim@epita.fr>
6811 * acspecific.m4 (AC_PROG_BINSH): Removed.
6813 2000-03-13 Akim Demaille <akim@epita.fr>
6815 Start revamping `autoconf --trace'.
6817 * autoconf.sh (debug): New var, new option.
6818 Adjust the trap code.
6819 (task trace): Instead of decoding `m4 --trace' with sed, decode it
6821 ($silent_m4): New file, which disables m4's `errprint'.
6822 ($trace_m4): New file. Logistic for the m4 which is in charge of
6823 decoding the traces of the first.
6824 ($translate_awk): Transform a user trace request into $trace_m4
6827 2000-03-10 Akim Demaille <akim@epita.fr>
6829 Multiple `-e' to egrep are not portable. On IRIX 6.5 and Solaris
6830 2.5.1 only the last one is honored:
6831 > printf "foo\nbar\n" | egrep -e 'foo' -e 'bar'
6833 > printf "foo\nbar\n" | egrep -e 'bar' -e 'foo'
6835 Reported by Nicolas Joly.
6836 An alternative would have been to use `sed', unfortunately
6837 alternation is not portable.
6839 * tests/actest.m4 (join): New macro.
6840 (AC_ENV_SAVE): Join the egrep patterns into a single big one.
6841 * tests/Makefile.am (EGREP_EXCLUDE): Rename as FILTER_MACROS.
6842 Join the egrep patterns into a single big one.
6844 2000-03-10 Jim Meyering <meyering@lucent.com>
6846 * acgeneral.m4 (_AC_CHECK_TOOL_PREFIX): Correct typos in definition:
6847 add `_' prefix to make the function name match comments and existing
6848 uses. Remove leading prefix from _AC_CANONICAL_HOST.
6850 2000-03-09 Ossama Othman <ossama@debian.org>
6852 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Added some missing
6853 headers if they exist (needed for some missing prototypes) and
6854 corrects the signal handler prototype/definition. The signal
6855 handler prototype is now prepended with an `extern "C"' for C++
6856 compilers since some platforms explicitly require an `extern "C"'
6859 2000-03-08 Akim Demaille <akim@epita.fr>
6861 * autoheader.m4 (autoheader::AC_CHECK_HEADERS_DIRENT): Rename as
6862 (autoheader::_AC_CHECK_HEADERS_DIRENT): to cope with the new name
6863 of the autoconf:: macro.
6864 Fixes autoconf/119, reported by Raja R Harinath.
6866 2000-03-08 Akim Demaille <akim@epita.fr>
6868 * acgeneral.m4 (AC_PATH_PROG, AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS):
6869 Fix quotation problems in DOS path handling.
6871 2000-03-08 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6873 * acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_ALLOCA): Make them C++
6874 safe: include the right headers, cast the allocations etc.
6876 2000-03-08 Akim Demaille <akim@epita.fr>
6878 The argument of AC_COPYRIGHT should be plain text, not an sh
6881 * libm4.m4 (m4_quote): s/$@/$*/.
6882 * acgeneral.m4 (AC_COPYRIGHT): Prepend `# ' to the lines that go
6883 on the top of `configure'. Actually, prepend `@%:@ ' so that
6884 there are as many evaluations on both sides.
6885 (_AC_INIT_VERSION): No longer strip `# '.
6887 2000-03-08 Akim Demaille <akim@epita.fr>
6889 * tests/Makefile.am (all-local): Remove. It wastes time to have
6890 testsuite rebuilt each time an ac*.m4 file changes. It is enough
6891 to build it for each `make check'.
6893 2000-03-08 Akim Demaille <akim@epita.fr>
6895 Leave a diversion exclusively for Copyright notices.
6897 * acgeneral.m4 (AC_DIVERSION_DEFAULTS): New diversion number.
6898 (_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
6900 (_AC_INIT_PREPARE): to here.
6901 (_AC_INIT_NOTICE): Play with your diversion yourself, don't let
6902 (AC_INIT): do it for you.
6903 (_AC_INIT_DEFAULTS): New macro.
6906 2000-03-08 Akim Demaille <akim@epita.fr>
6908 Provide a means to specify more Copyright information in
6909 `configure'. And after all, it suits to `configure --version' too.
6911 * acgeneral.m4 (AC_DIVERSION_DEFAULTS, AC_DIVERSION_INIT_PREPARE):
6912 New diversion numbers.
6913 (AC_DIVERSION_INIT): Rename as...
6914 (AC_DIVERSION_INIT_PARSE_ARGS): this.
6915 (AC_DIVERT_POP): Instead of going into wild endless loops when
6916 there are more pops than pushes, die with dignity.
6917 (AC_COPYRIGHT): New macro.
6918 (_AC_INIT_NOTICE): Move definition of `ac_includes_default' from
6920 (_AC_INIT_PREPARE): to here.
6921 (_AC_INIT_NOTICE): Remove.
6922 (AC_INIT): Use it to install Autoconf's Copyright.
6923 (_AC_INIT_DEFAULTS): New macro.
6925 (AC_PREFIX_DEFAULTS): Dump in AC_DIVERSION_DEFAULTS.
6926 (_AC_INIT_PARSE_ARGS): Dump in AC_DIVERSION_INIT_PREPARE.
6928 2000-03-08 Akim Demaille <akim@epita.fr>
6930 We don't need _AC_ARG_*_HELP_PROLOGUE.
6932 * acgeneral.m4 (AC_EXPAND_ONCE): AC_PROVIDE yourself, in case
6933 there is no AC_DEFUN associated with the text to expand.
6934 (_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
6935 _AC_ARG_VAR_HELP_PROLOGUE): Remove, instead...
6936 (AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): do it yourself.
6938 2000-03-08 Akim Demaille <akim@epita.fr>
6940 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix copy n' paste typos in
6941 `--with-*', `--without-*' and `*' decoding.
6942 Reported by Raja R Harinath.
6945 2000-03-08 Akim Demaille <akim@epita.fr>
6947 Don't dump AC_ARG_PROGRAM help messages if not used.
6949 * acgeneral.m4 (_AC_INIT_HELP): Don't.
6950 (AC_ARG_PROGRAM): Do.
6952 2000-03-08 Akim Demaille <akim@epita.fr>
6954 Don't dump X help messages when `configure' does not check for X.
6956 * acgeneral.m4 (_AC_INIT_HELP): Don't dump X help messages.
6957 * acspecific.m4 (AC_PATH_X): Do it.
6959 2000-03-08 Akim Demaille <akim@epita.fr>
6961 No longer rely on /bin/sh to compose the optional parts of
6964 * acgeneral.m4 (AC_DIVERSION_HELP_BEGIN, AC_DIVERSION_HELP_ENABLE,
6965 AC_DIVERSION_HELP_WITH, AC_DIVERSION_HELP_VAR,
6966 AC_DIVERSION_HELP_END): New diversion numbers.
6967 (AC_EXPAND_ONCE): New macro.
6968 (AC_PROVIDE_IF): New macro.
6969 (AC_BEFORE, AC_REQUIRE): Use it.
6970 (AC_REQUIRE): Don't use indir.
6971 (_AC_ARG_ENABLE_HELP_PROLOGUE, _AC_ARG_WITH_HELP_PROLOGUE,
6972 _AC_ARG_VAR_HELP_PROLOGUE): New macros.
6973 (AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Expand once the
6974 _HELP_PROLOGUE macro which corresponds.
6975 (_AC_INIT_HELP): Adjust to AC_DIVERSION_HELP_BEGIN and
6976 AC_DIVERSION_HELP_END.
6977 (_AC_INIT_NOTICE, _AC_INIT_HELP): Remove the sh code which handled
6978 the optional help strings.
6980 2000-03-08 Akim Demaille <akim@epita.fr>
6982 AC_OUTPUT_COMMANDS no longer uses a diversion.
6984 * acgeneral.m4 (AC_DIVERSION_CMDS): Removed.
6985 (_AC_OUTPUT_CONFIG_STATUS): Don't undivert it.
6987 2000-03-08 Akim Demaille <akim@epita.fr>
6989 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): Fix quoted/non quoted here
6992 2000-03-08 Akim Demaille <akim@epita.fr>
6994 * acgeneral.m4 (AC_INIT_BINSH, AC_INIT_NOTICE, AC_INIT_PREPARE):
6996 (_AC_INIT_BINSH, _AC_INIT_NOTICE, _AC_INIT_PREPARE): this.
6997 All callers adjusted.
6999 2000-03-08 Akim Demaille <akim@epita.fr>
7001 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Rename as...
7002 (_AC_INIT_PARSE_ARGS): this.
7003 Move the display of help and version strings to...
7004 (_AC_INIT_HELP, _AC_INIT_VERSION): here.
7005 (AC_INIT): Adjust. Also, fix quotation.
7007 2000-03-08 Akim Demaille <akim@epita.fr>
7009 Some tests are failing with srcdir != builddir, because they can't
7010 find config.guess, install-sh etc.
7011 Reported by Erez Zadok.
7013 * tests/atspecific.m4 (AT_TEST_MACRO): Set AC_CONFIG_AUX_DIR to
7014 top_srcdir in configure.in, and pass the value of top_srcdir to
7017 2000-03-08 Akim Demaille <akim@epita.fr>
7019 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH, AC_PATH_PROG,
7020 AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_PREFIX_PROGRAM,
7021 AC_EGREP_CPP, AC_TRY_LINK, AC_COMPILE_CHECK, AC_TRY_RUN_NATIVE):
7022 Use ifval instead of ifelse.
7024 2000-03-07 Mark Elbrecht <snowball3@bigfoot.com>
7026 Support absolute DOS-style paths.
7028 Any character before the colon is accepted because network drives
7029 can be assigned characters outside the [a-zA-Z] range. DOS-style
7030 relative paths (?:foo/bar) are also considered absolute for
7031 Autoconf's purposes since the path '../?:foo/bar' is invalid.
7033 * acgeneral.m4 (AC_OUTPUT_FILES): Treat DOS-style paths (?:*') as
7035 (AC_OUTPUT_SUBDIRS): Likewise.
7036 (AC_PATH_PROG): Make pattern for matching DOS-style paths the same
7037 as that used in AC_OUTPUT_FILES and AC_OUTPUT_SUBDIRS.
7039 2000-03-06 Akim Demaille <akim@epita.fr>
7041 * tests/atspecific.m4 (m4_match): Remove, no longer used.
7043 2000-03-04 Jim Meyering <meyering@lucent.com>
7045 * autoheader.sh: Use `rm -f', not just `rm' when removing temporaries.
7046 Preserve exit status in trap handler.
7047 Based on suggestions from Paul Eggert.
7049 2000-03-03 Paul Eggert <eggert@twinsun.com>
7051 Move the quadrigraphs out of the user name space.
7053 * acgeneral.m4: 's/\@BKL@/@<:@/g', 's/\@BKR@/\@:>@/g',
7054 's/\@DLR@/\@S|@/g', 's/\@PND@/@%:@/g'.
7055 * acspecific.m4: Likewise.
7056 * autoconf.sh: Likewise.
7058 2000-03-03 Akim Demaille <akim@epita.fr>
7060 * acgeneral.m4 (_AC_WHICH_A): New macro.
7061 (AC_CHECK_PROG): Use it. Use ifval.
7062 (AC_CHECK_PROGS): Use ifval. Fix the quoting.
7063 * tests/semantics.m4: Test AC_CHECK_PROG.
7064 * tests/Makefile.am (EGREP_EXCLUDE): Add /AC_CHECK_PROGS?/.
7066 2000-03-02 Russ Allbery <rra@stanford.edu>
7068 * autoscan.pl (parse_args): Add support for -m <macrodir>.
7070 2000-03-02 Akim Demaille <akim@epita.fr>
7072 The whole family supports -V = --version.
7074 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Report and support -V.
7075 * autoconf.sh: Likewise.
7076 * autoreconf.sh: Likewise.
7077 * autoupdate.sh: Likewise.
7078 * autoheader.sh: Likewise.
7079 * autoscan.pl: Likewise.
7080 * ifnames.sh: Likewise.
7081 In addition, don't dump --help on invalid options.
7082 * doc/autoconf.texi: Adjusted.
7083 * doc/install.texi: Likewise.
7085 2000-03-02 Lars J. Aas <larsa@sim.no>
7087 * libm4.m4 (m4_noquote): New macro.
7089 2000-03-02 Akim Demaille <akim@epita.fr>
7091 * acspecific.m4 (AC_PATH_X_DIRECT): Moved all the shell variable
7092 into the ac_ name space.
7093 Reported by Nicolas Joly.
7095 2000-03-02 Akim Demaille <akim@epita.fr>
7097 * acspecific.m4: Move some macros to a better place.
7099 2000-03-02 Akim Demaille <akim@epita.fr>
7101 Internal macros are named `_AC_'.
7103 * acgeneral.m4 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD,
7104 AC_CANONICAL_THING, AC_CHECK_TOOL_PREFIX, AC_CONFIG_UNIQUE):
7105 Prepend `_' to their names.
7106 * acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT,
7107 AC_PATH_X_XMKMF, AC_PATH_X_DIRECT): Prepend `_' to their names.
7108 * doc/autoconf.texi (Macro Names): Adjusted.
7110 2000-03-02 Akim Demaille <akim@epita.fr>
7112 * acgeneral.m4: Formatting changes.
7113 * acspecific.m4: Likewise.
7115 2000-03-01 Akim Demaille <akim@epita.fr>
7117 The empty regexp cannot be portably used in egrep's alternation.
7118 For instance with Digital Unix v5.0:
7119 > echo "foo" | egrep -e "^(|foo|bar)$"
7120 > echo "|foo" | egrep -e "^(|foo|bar)$"
7122 > echo "|bar" | egrep -e "^(|foo|bar)$"
7123 > echo "bar" | egrep -e "^(|foo|bar)$"
7125 > echo "bar" | egrep '^(foo|bar|)$'
7126 > echo "bar|" | egrep '^(foo|bar|)$'
7128 > echo "bar" | egrep '^(foo||bar)$'
7129 > echo "|bar" | egrep '^(foo||bar)$'
7131 > echo "foo" | egrep '^(foo||bar)$'
7133 > echo "foo|" | egrep '^(foo||bar)$'
7135 Reported by Nicolas Joly.
7137 * src/actest.m4 (AC_ENV_SAVE): s/(|EXTRA_|PRE_)/(EXTRA_|PRE_)?/.
7139 2000-03-01 Akim Demaille <akim@epita.fr>
7141 * acspecific.m4: Removed a few addresses, the map is...
7144 2000-03-01 Lars Hecking <lhecking@nmrc.ucc.ie>
7146 * acspecific.m4 (AC_PATH_XTRA): On LynxOS 3.0.1/i386,
7147 gethostbyname(), getservbyname(), and inet_addr() are in -lbsd.
7149 2000-03-01 Akim Demaille <akim@epita.fr>
7151 * tests/actest.m4 (AC_ENV_SAVE): Use multiple -e instead of
7154 2000-03-01 Akim Demaille <akim@epita.fr>
7156 * config.guess: Updated from master repository.
7157 * config.sub: Likewise.
7159 2000-03-01 Akim Demaille <akim@epita.fr>
7161 Test suite: instead of using a full list of the AC macros and an
7162 AT macro with selects which are the AC macros to test, just
7163 produce the list of the AC macros we want to test.
7165 * tests/atspecific.m4 (TEST_MACRO): Removed.
7166 * tests/Makefile.am (EGREP_EXCLUDE): New variable, performing the
7167 selection TEST_MACRO used to do.
7168 (macros.m4): Use it. Use AT_TEST_MACRO, not TEST_MACRO. Check
7171 2000-03-01 Akim Demaille <akim@epita.fr>
7173 * doc/autoconf.texi: Tune the use of quotes, add missing
7174 @noindents, remove dead FIXME:s, promote #if ! over #ifndef,
7175 simplify duplicated text.
7177 2000-03-01 Akim Demaille <akim@epita.fr>
7179 * doc/autoconf.texi (Configuration Commands): Document
7180 AC_CONFIG_COMMANDS_PRE and _POST.
7182 2000-02-29 Akim Demaille <akim@epita.fr>
7184 Test suite: more debugging information.
7186 * tests/atspecific.m4 (AT_TEST_MACRO): When verbose, report the
7187 content of config.log.
7189 2000-02-29 Akim Demaille <akim@epita.fr>
7191 * Makefile.am (MAKEINFO): Removed.
7192 (INSTALL.txt): Call $(MAKEINFO) with --no-split.
7193 Reported by Nicolas Joly.
7195 2000-02-28 Akim Demaille <akim@epita.fr>
7197 * doc/Makefile.am (MAKEINFO): s/makeinfo/@MAKEINFO@/.
7198 * missing: chmod +x.
7200 2000-02-28 Akim Demaille <akim@epita.fr>
7202 * tests/Makefile.am (testsuite): Use $(M4), not m4.
7203 From Patrick Tullmann.
7205 2000-02-25 Akim Demaille <akim@epita.fr>
7207 * src/acgeneral.texi (AC_INIT_NOTICE): Include inttypes.h in the
7208 ac_includes_default.
7209 * doc/autoconf.texi (Default Includes): Adjust.
7211 2000-02-25 Akim Demaille <akim@epita.fr>
7213 Export the knowledge on disabling echo's trailing new line.
7215 * acspecific.m4 (AC_PROG_ECHO_N): Rename as...
7216 (_AC_PROG_ECHO): this.
7217 Set ECHO_N, ECHO_C, ECHO_T instead of ac_n, ac_c and ac_t.
7218 All dependencies changed.
7219 * doc/autoconf.texi (Preset Output Variables): Document ECHO_C,
7221 * m4/atconfig.m4 (fp_PROG_ECHO): Removed.
7222 (AT_CONFIG): Don't use it.
7224 2000-02-24 Akim Demaille <akim@epita.fr>
7226 * autoconf.sh (AC_ACLOCALDIR): Use `(aclocal) 2>/dev/null`, not
7227 `aclocal 2>/dev/null` if you want no complaints for missing
7231 2000-02-22 Pavel Roskin <pavel_roskin@geocities.com>
7233 * configure.in (HELP2MAN): Specify the third argument of
7234 AM_MISSING_PROG. Fixes autoconf/116.
7236 2000-02-21 Akim Demaille <akim@epita.fr>
7238 * tests/tools.m4 (syntax.sh): The logic of the previous patch was
7239 twisted. Fix it so that it performs what claims the entry below.
7242 2000-02-21 Akim Demaille <akim@epita.fr>
7244 * tests/tools.m4 (syntax.sh): Exit 1 if you managed to kill the
7245 child, since it means `/bin/sh -n' went loopy.
7247 2000-02-18 Akim Demaille <akim@epita.fr>
7249 Some `diff' refuse to diff with /dev/null, such as Tru64's.
7250 Reported by Nicolas Joly.
7252 * tests/atgeneral.m4 (empty): New dummy file.
7253 Changed various `diff /dev/null' as `diff empty'.
7255 2000-02-18 Akim Demaille <akim@epita.fr>
7257 * tests/atspecific.m4 (TEST_MACRO): Don't run AC_PATH_TOOL and
7260 2000-02-18 Akim Demaille <akim@epita.fr>
7262 * tests/atgeneral.m4 (at_diff): Don't use `cmp -s', on DOS it
7263 differentiate between Unix and DOS EOL. `diff' does not.
7264 Reported by Eli Zaretski.
7265 Also, be ready to use a diff that does not support `-u'.
7267 2000-02-18 Akim Demaille <akim@epita.fr>
7269 * tests/tools.m4 (Syntax of the scripts): Be robust to shells that
7270 never return on some `/bin/sh -n foo.sh'.
7271 Reported by Nicolas Joly.
7273 2000-02-17 Akim Demaille <akim@epita.fr>
7275 Move the documentation into doc/.
7276 Some CVS tricks were used so that history is kept in both the top
7277 directory, and in doc/.
7279 * doc/Makefile.am: New file.
7280 * Makefile.am: Adjusted.
7281 * configure.in: Adjusted.
7282 * autoconf.texi: Moved from here to...
7283 * doc/autoconf.texi: here.
7284 * make-stdts.texi: Likewise.
7285 * install.texi: Likewise.
7286 * texinfo.tex: Likewise.
7288 2000-02-17 Akim Demaille <akim@epita.fr>
7290 * tests/actest.m4 (AC_ENV_SAVE): Added ALLOCA.
7292 2000-02-17 Akim Demaille <akim@epita.fr>
7294 * tests/semantics.m4 (AC_CHECK_TYPES): `addr, addr' is not
7295 portable sed: use `addr,addr'.
7297 2000-02-17 Akim Demaille <akim@epita.fr>
7299 Fix the `missing dummy.in' reported by the test suite.
7300 Reported by Erez Zadok.
7302 * tests/torture.m4 (config.status under extreme conditions):
7303 Reorganized. Because files required by this test were created
7304 outside the pair AT_SETUP/AT_CLEANUP, when the test fails and
7305 autotest extracts this test, the `debug' script does not contain
7306 the files it needs. Now AT_SETUP/AT_CLEANUP encloses the full
7307 auto contained section.
7309 2000-02-16 Akim Demaille <akim@epita.fr>
7311 * tests/actest.m4 (AC_ENV_SAVE): X_EXTRA_LIBS can be changed by
7313 Reported by Erez Zadok.
7315 2000-02-15 Akim Demaille <akim@epita.fr>
7317 Define HAVE_DECL_FOO both to 1 if found and 0 otherwise.
7319 * acgeneral.m4 (AC_CHECK_DECLS): Define HAVE_DECL_FOO to 1 instead
7320 of NEED_FOO_DECL if found. Define to 0 if not found.
7321 * autoheader.m4 (AC_CHECK_DECLS): Template HAVE_DECL_FOO.
7322 * tests/semantics.m4 (AC_CHECK_DECLS): Adjusted.
7323 * doc/autoconf.texi (Generic Declarations): Adjusted.
7325 2000-02-15 Akim Demaille <akim@epita.fr>
7327 * doc/autoconf.texi (Generic Structures):
7328 s/AC_FATAL/AC_MSG_ERROR.
7330 2000-02-15 Akim Demaille <akim@epita.fr>
7332 autoreconf had a silly syntax error, test it and fix it.
7333 Reported by François Pinard and Rainer Orth.
7335 * autoreconf.sh: Removed spurious `;;'.
7337 * tests/tools.m4 (Syntax of the scripts): Run `sh -n' on all the
7340 2000-02-15 Akim Demaille <akim@epita.fr>
7342 * autoconf.sh (options handling): --v* of --version was shadowing
7345 2000-02-11 Akim Demaille <akim@epita.fr>
7347 * tests/torture.m4: Nuke the trailing space in defs.
7349 2000-02-11 Akim Demaille <akim@epita.fr>
7351 * tests/atspecific.m4: Really added to the CVS repository.
7353 2000-02-11 Akim Demaille <akim@epita.fr>
7355 Don't use `cat -s' to single out new-lines, it is not portable.
7356 Also remove trailing blanks.
7358 * tests/Makefile.am (testsuite): Use sed instead of cat.
7359 * tests/torture.m4: No longer check for a trailing space.
7360 * autoconf.sh: Likewise.
7362 2000-02-10 Akim Demaille <akim@epita.fr>
7364 * tests/actest.m4 (AC_ENV_SAVE): OpenBSD-2.3's /bin/sh defines an
7365 envvar SECONDS which does change with time.
7366 KMEM_GROUP is set by AC_FUNC_GETLOADAVG.
7367 Reported by Volker Borchert.
7369 2000-02-10 Akim Demaille <akim@epita.fr>
7371 * tests/Makefile.am (macros.m4): Better regex to build `macro'.
7372 Depend upon acgeneral.m4.
7374 2000-02-10 Akim Demaille <akim@epita.fr>
7376 * autoheader.sh: Remove the duplicate trap code.
7378 2000-02-10 Akim Demaille <akim@epita.fr>
7380 * acgeneral.m4 (AC_OUTPUT): When dispatching your arguments, use
7382 Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
7383 avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
7385 2000-02-10 Akim Demaille <akim@epita.fr>
7387 * acgeneral.m4 (AC_VERBOSE): This is a tab, not spaces.
7389 2000-02-10 Akim Demaille <akim@epita.fr>
7391 Changequote busters II.
7392 They're back to save the world.
7394 * acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O,
7395 AC_PROG_MAKE_SET, AC_TYPE_GETGROUPS, AC_FUNC_GETLOADAVG,
7396 AC_FUNC_MKTIME, AC_STRUCT_TIMEZONE, AC_F77_LIBRARY_LDFLAGS): Blast
7397 that jelly o' changequote. Set the quotes free.
7399 2000-02-10 Akim Demaille <akim@epita.fr>
7401 Interrupting autoheader left temp files.
7404 * autoheader.sh (usage): The usage is to use $0 here.
7405 (ah_base): Be in TMPDIR.
7406 Install the `trap' before creating the first tmp file.
7409 2000-02-10 Akim Demaille <akim@epita.fr>
7411 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): This is a routine of
7412 `configure', not `config.status', hence use `conftest' for tmp
7413 files, not `$ac_cs_root'.
7414 Removed forgotten developer comment.
7415 Double quoting the whole body is nicer than just the part that
7418 2000-02-10 Akim Demaille <akim@epita.fr>
7420 * tests/torture.m4: Also check the value of @DEFS@ when no
7421 CONFIG_HEADER is used.
7423 2000-02-10 Akim Demaille <akim@epita.fr>
7425 Changequote-busters!
7428 * acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
7429 AC_CACHE_SAVE, AC_PREFIX_PROGRAM, AC_OUTPUT,
7430 _AC_OUTPUT_CONFIG_STATUS, AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_FILES,
7431 _AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS, AC_OUTPUT_SUBDIRS): Quit
7432 playing with changequotes, @BKL@ and Co.! Just quote properly.
7434 2000-02-10 Akim Demaille <akim@epita.fr>
7436 Honor properly the `#define' config.h.in templates.
7439 * acgeneral.m4 (AC_OUTPUT_HEADERS): Rename as...
7440 (_AC_OUTPUT_HEADERS): this. All callers changed.
7441 Don't mess with changequote, just quote properly.
7442 Bug 1. Because of the `#' in `ac_dA', the quotes <<>> were not
7443 removed, and therefore the sed script contained `<<define>>'
7444 instead of `define'. Now that the block is properly quoted, there
7445 is no need to quote `define'.
7446 Bug 2. Once a `#define' substitution performed, we were branching
7447 to the top of the sed script (`t top'). This resulted in an
7448 endless substitution of `#define foo 1' to `#define foo 1'.
7449 Branching is not enough: you also have to fetch the next input
7450 line, i.e., use `t' instead of `t t' in ac_dD, and don't output
7451 `: top' in `config.defines'.
7452 Though it was correct for `#undef' templates, just apply the same
7453 transformation to `ac_uD' and `config.undefs'.
7454 Bug 3. Don't try to preserve what was behind the value in the
7456 #define NAME "bar baz"
7459 Now `ac_dB' catches everything behind the NAME (making sure there
7460 is at least a space) and `ac_dC' only outputs a space.
7461 * tests/torture.m4: Check that various forms of `#define' header
7462 templates are properly handled.
7464 2000-02-10 Akim Demaille <akim@epita.fr>
7466 Avoid calling `rm' without arguments.
7468 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): It is smarter to use a
7469 quoted here doc to output the section providing defaults for
7471 Don't rm the CONFIG_FILES here but in..
7472 (AC_OUTPUT_FILES) [test -n "$CONFIG_FILES"]: here.
7473 Hm, actually, no, just don't remove them at all, let the newly
7474 created files replace the old ones, exactly as in
7476 From Graham Jenkins.
7478 2000-02-10 Akim Demaille <akim@epita.fr>
7480 * acgeneral.m4 (AC_LIST_MEMBER_OF): s/ac_$exists/$ac_exists/!
7482 2000-02-10 Akim Demaille <akim@epita.fr>
7484 * acgeneral.m4: Formatting changes.
7485 * acspecific.m4: Likewise.
7487 2000-02-10 Akim Demaille <akim@epita.fr>
7489 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't
7493 Since Ultrix will also assign the quotes to FOO.
7494 Reported by Harlan Stenn.
7496 2000-02-10 Akim Demaille <akim@epita.fr>
7498 Keep `AC_CHECK_TYPE' backward compatibility and provide a proper
7500 Based on ideas from Paul Eggert and Alexandre Oliva.
7502 * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Rename as...
7503 (_AC_CHECK_TYPE_NEW): this.
7504 (AC_CHECK_TYPES): Adjusted.
7505 (AC_CHECK_TYPE): Rename as...
7506 (_AC_CHECK_TYPE_OLD): This. Adjusted to _AC_CHECK_TYPE_NEW.
7507 No longer support extra includes, stick to 2.13's interface.
7508 (_AC_CHECK_TYPE_BUILTIN_P): New macro.
7509 (AC_CHECK_TYPE): New macro.
7510 * autoheader.m4 (autoheader::AC_CHECK_TYPE): Rename as...
7511 (autoheader::_AC_CHECK_TYPE_OLD): this.
7512 * tests/atspecific.m4 (TEST_MACRO): Skip /^_AC_/ macros.
7513 * tests/semantics.m4: Test the choices of AC_CHECK_TYPE (wrt _NEW
7514 or _OLD implementation).
7515 * doc/autoconf.texi (Generic Types): Reorganized. Explain
7516 everything about AC_CHECK_TYPE and Co.
7518 2000-02-10 Akim Demaille <akim@epita.fr>
7520 * libm4.m4 (near m4_split): Remove the buggy additional
7522 Quote properly `m4_split' when registering it.
7524 2000-02-10 Akim Demaille <akim@epita.fr>
7526 The AU-glue code for AC_LINK_FILES was not fully compatible: in
7527 AC_LINK_FILES($from, $to)
7528 `$from' and `$to' can be lists, hence `AC_CONFIG_LINKS($to:$from)'
7530 Reported by H.J. Lu.
7532 * acgeneral.m4 (AC_LINK_FILES): Replace the m4-glue code from
7533 AC_LINK_FILES to AC_CONFIG_LINKS, with sh-glue code.
7534 Give a detailed update message.
7535 (_AC_LINK_FILES_CNT): New variable. Initialize.
7536 * tests/tools.m4 (autoupdate): No longer exercise `autoupdate'
7539 2000-02-10 Akim Demaille <akim@epita.fr>
7541 * acspecific.m4 (AC_PROG_SED): Removed.
7543 2000-02-10 Akim Demaille <akim@epita.fr>
7545 AC_CHECK_FILES has never worked properly.
7547 * acgeneral.m4 (AC_CHECK_FILE): Use AC_CACHE_CHECK.
7548 * autoheader.m4 (AC_CHECK_FILES): AH-define.
7549 * tests/semantics.m4: Test AC_CHECK_FILES.
7550 * tests/atspecific.m4 (TEST_MACRO): Don't.
7552 2000-02-10 Akim Demaille <akim@epita.fr>
7554 No longer use a diversion to store the sed program implementing
7557 * acgeneral.m4 (_AC_SUBST): New macro.
7558 (_AC_SUBST_SED_PROGRAM): Initialize.
7559 (AC_SUBST): Use _AC_SUBST.
7560 (AC_SUBST_FILE): Likewise.
7561 (AC_DIVERSION_SED): Removed. Renumber the AC_DIVERSIONs.
7562 (AC_OUTPUT_FILES): Instead on undiverting AC_DIVERSION_SED, output
7563 _AC_SUBST_SED_PROGRAM.
7565 2000-02-10 Akim Demaille <akim@epita.fr>
7567 Standardize the error messages in the options handling of
7568 `configure' and `config.status'.
7570 * acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Rename as...
7571 (_AC_OUTPUT_CONFIG_STATUS): this.
7572 Change the error messages from
7573 value: invalid feature name
7575 invalid feature: value
7576 Invite the user to try --help for invalid options.
7577 (AC_INIT_PARSE_ARGS): Likewise.
7579 2000-02-10 Akim Demaille <akim@epita.fr>
7581 * acgeneral.m4 (AC_OUTPUT_COMMANDS_COMMANDS): Rename as...
7582 (_AC_OUTPUT_COMMANDS): This. All callers changed.
7583 Disable the verbose message until Automake uses the new features
7585 Reported by Jim Meyering.
7587 2000-02-10 Akim Demaille <akim@epita.fr>
7589 Clean up a few changequotes.
7591 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Instead of using changequote
7592 to protect a few `[ ]', double quote the constant sections.
7594 2000-02-10 Akim Demaille <akim@epita.fr>
7596 Restore AC_HAVE_LIBRARY.
7598 * acgeneral.m4 (AC_HAVE_LIBRARY): AU_DEFUNed in terms of
7600 * doc/autoconf.texi (Libraries): Document.
7602 2000-02-09 Akim Demaille <akim@epita.fr>
7604 Fix the handling of `./configure foo=bar' and test it.
7606 * acgeneral.m4 (AC_INIT_PARSE_ARGS, getopt loop): Always define
7607 ac_optarg as the rhs of the first `=', not only on `-.*=', so that
7608 `configure var=val' defines ac_optarg=val.
7609 Improve the robustness to shell special characters:
7610 - Use grep when checking that shell variable names are valid.
7611 - Quote the quotes in ac_optarg before `eval var='$ac_optarg''.
7612 - Quote the quotes when building ac_configure_args.
7614 * tests/torture.m4: Test that `./configure foo=bar' works properly.
7616 2000-02-09 Akim Demaille <akim@epita.fr>
7618 Resynchronize `INSTALL' with the current `configure', and
7621 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Let `configure' support `-h =
7622 --help' and `-n = --no-create'.
7623 Document -h, -n and -q in configure's help message.
7624 * install.texi (Operation Controls): Formatting changes.
7625 Document `configure -h'.
7627 2000-02-09 Akim Demaille <akim@epita.fr>
7631 2000-02-09 Akim Demaille <akim@epita.fr>
7633 * ChangeLog.1: Formatting changes.
7635 2000-02-09 Akim Demaille <akim@epita.fr>
7637 Clean up `make clean'.
7639 * Makefile.am (CLEANFILES): Added autoupdate.m4f and autoconf.tmp.
7640 * tests/torture.m4: Rm dummy and dummy.in.
7642 2000-02-09 Akim Demaille <akim@epita.fr>
7646 * tests/tools.m4 (AH_DEFUN): Fix the comments.
7648 (autoupdate): New test.
7650 2000-02-09 Akim Demaille <akim@epita.fr>
7652 AU_ glue code for AC_OUTPUT with arguments.
7654 * acgeneral.m4 (AU_DEFINE): New macros, pulled out from AU_DEFUN.
7655 Defines a macro in `autoupdate::' with all the required wrapping
7658 (AC_OUTPUT): When dispatching your arguments, use ifval, not
7660 Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
7661 avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
7662 (autoupdate::AC_OUTPUT): New macro.
7663 * doc/autoconf.texi (Writing configure.in, the example): Don't
7664 advocate AC_OUTPUT with args.
7665 (Output, AC_OUTPUT with args): Simplify the documentation, and
7666 provide the translation into the new scheme.
7667 Propagate what remained into the proper sections.
7669 2000-02-09 Akim Demaille <akim@epita.fr>
7671 AU_ glue code for AC_OUTPUT_COMMANDS.
7673 * acgeneral.m4 (AC_OUTPUT_COMMANDS): AU_DEFUNed in terms of
7675 (AC_OUTPUT_COMMANDS_CNT): New variable, declared both in
7676 `autoconf::' and `autoupdate::'.
7677 (AC_OUTPUT): Register your arguments to AC_OUTPUT_COMMANDS only if
7678 there are to avoid spurious `run autoupdate' messages.
7679 * doc/autoconf.texi (Libraries): Document the changes.
7681 2000-02-09 Akim Demaille <akim@epita.fr>
7683 Avoid outputting `config_files' code in `config.status' if there
7686 * acgeneral.m4 (AC_OUTPUT): Don't register $1 to `AC_CONFIG_FILES'
7688 Normalize the names of the sections in `config.status --help'.
7690 2000-02-09 Akim Demaille <akim@epita.fr>
7692 * README-alpha: New file, based on Automake's.
7693 * Makefile.am: Tuned.
7695 2000-02-09 Akim Demaille <akim@epita.fr>
7697 Extend the concept of `INIT-CMDS' to the AC_CONFIG_FOOS.
7699 * acgeneral.m4 (_AC_CONFIG_COMMANDS_INIT): New macro which will
7700 collect the `INIT-CMDS'.
7701 (AC_CONFIG_COMMANDS, AC_CONFIG_LINKS, AC_CONFIG_HEADERS,
7702 AC_CONFIG_FILES): Use it, and also temporarily divert to -1
7703 instead of spamming dnl everywhere.
7704 (AC_OUTPUT_CONFIG_STATUS): Make sure to output the INIT-CMDS
7705 before the other sections, it'd be a pity to initialize after the
7708 * doc/autoconf.texi (Configuration Actions): New section,
7709 documenting the common behavior of AC_CONFIG_FILES,
7710 AC_CONFIG_HEADERS, macro AC_CONFIG_COMMANDS, and AC_CONFIG_LINKS.
7711 (Configuration Files): Document $2 and $3 of AC_CONFIG_FILES.
7712 (Configuration Headers): Document $2 and $3 of AC_CONFIG_HEADERS.
7713 (Configuration Commands): Document $2 and $3 of AC_CONFIG_COMMANDS.
7714 (Configuration Links): Document $2 and $3 of AC_CONFIG_FILES.
7716 2000-02-09 Akim Demaille <akim@epita.fr>
7718 * libm4.m4 (m4_sign, m4_cmp, m4_list_cmp): New macros.
7719 * acgeneral.m4 (AC_UNGNITS): Rename as...
7720 (_AC_VERSION_UNLETTER): this. All callers changed.
7721 Implement the scheme proposed by Alexandre Oliva:
7723 (_AC_VERSION_COMPARE): New macro.
7724 (AC_PREREQ): Use it.
7726 2000-02-09 Akim Demaille <akim@epita.fr>
7728 * tests/base.m4: Really added to the CVS repository.
7729 * tests/tools.m4: Likewise.
7731 2000-02-09 Akim Demaille <akim@epita.fr>
7733 * tests/base.m4: s/m4 -I ../m4 -I $at_top_srcdir/.
7735 2000-02-08 Akim Demaille <akim@epita.fr>
7737 * autoheader.sh (debug): Initialize to `false', not 0.
7739 2000-02-08 Akim Demaille <akim@epita.fr>
7741 Fix a bug: `libm4::define' was incorrectly registered.
7743 * libm4.m4 (libm4::define): Not only register, define too.
7745 2000-02-08 Akim Demaille <akim@epita.fr>
7747 * acgeneral.m4 (AC_COMPILE_CHECK): Use AU_DEFUN, remove the call
7750 2000-02-08 Akim Demaille <akim@epita.fr>
7752 * acgeneral.m4 (AC_PROVIDE): Use `m4_define', not `define'.
7753 Because of the names pace machinery this change makes `autoconf'
7754 about four times faster on complex `configure.in's.
7756 2000-02-08 Akim Demaille <akim@epita.fr>
7758 Open the access to AH_ to users.
7760 * autoheader.m4 (autoheader::AH_DEFUN): New macro.
7761 * tests/tools.m4: New file, in charge of testing the scripts.
7762 All the dependencies adapted.
7763 * tests/actest.m4 (autoheader::AC_TATOOINE): New macro, used while
7765 * tests/atspecific.m4: Create config.hin instead of config.h.in.
7767 2000-02-08 Akim Demaille <akim@epita.fr>
7769 Because of commas and brackets, m4_split must mess with the
7772 * libm4.m4 (m4_split): Quote the elements of the list you produce.
7773 * tests/base.m4: New file, testing libm4.
7774 All callers adapted.
7777 2000-02-08 Akim Demaille <akim@epita.fr>
7779 * acgeneral.m4 (AC_CONFIG_UNIQUE): Strip the `:foo.in' part
7780 yourself, in order to give better error messages.
7781 (AC_CONFIG_IF_MEMBER): Adapted to the above change.
7782 Quote some regexp active characters ([+.*]).
7783 Suggested by Alexandre Oliva.
7785 2000-02-08 Akim Demaille <akim@epita.fr>
7787 * acgeneral.m4 (AC_INCLUDES_DEFAULT): Make it more robust to
7788 the fact it is used non quoted.
7789 Reported by Jim Meyering.
7791 2000-02-08 Akim Demaille <akim@epita.fr>
7793 * acgeneral.m4 (AC_OUTPUT_FILES): Simplify some excess in
7795 (AC_OUTPUT_SUBDIRS): Likewise.
7797 2000-02-08 Akim Demaille <akim@epita.fr>
7799 * autoupdate.sh: Don't dump --help on --wrong-option.
7800 * autoconf.sh: Reformatting, and use >&2 instead of 1>&2.
7801 * autoreconf.sh: Likewise.
7802 * autoheader.sh: Likewise.
7804 2000-02-08 Akim Demaille <akim@epita.fr>
7806 * libm4.m4 (m4_namespace_push, m4_namespace_pop): Use the private
7807 macros to be robust to name space changes.
7808 (m4_popdef, m4_pushdef): New private macros.
7810 2000-02-08 Akim Demaille <akim@epita.fr>
7812 Let the doc catch up.
7814 * doc/autoconf.texi (Common Behavior): New section, to document
7815 the common behavior of the macros.
7816 (Standard Symbols): New subsection. Describes the transformation
7817 of the AC_DEFINEd names.
7818 (Default Includes): New subsection. Obvious content.
7819 All the ``callers'' updated.
7821 2000-02-08 Akim Demaille <akim@epita.fr>
7823 * acgeneral.m4 (AC_OUTPUT_HEADERS): Don't use `break' to exit the
7824 while loops which are breaking conftest.defines and
7825 conftest.undefs into smaller snippets: just use the proper
7826 condition for the while.
7827 Suggested by Alexandre Oliva.
7829 2000-02-08 Akim Demaille <akim@epita.fr>
7831 * doc/autoconf.texi (Configuration Commands): New section, for
7833 Move the definition of AC_OUTPUT_COMMANDS here.
7834 (Configuration Links): New section, for AC_CONFIG_LINKS and
7836 (Configuration Files): New section, for AC_CONFIG_FILES.
7837 (Globally) Promote AC_CONFIG_HEADERS over AC_CONFIG_HEADER.
7838 (Using System Type): Don't document AC_CONFIG_LINKS and
7840 (Invoking config.status): Mention CONFIG_COMMANDS.
7841 Document --file and --header.
7842 Talk first of the newest interface of config.status.
7844 2000-02-08 Akim Demaille <akim@epita.fr>
7846 Introduce a concept index, and update a bit the documentation.
7848 * doc/autoconf.texi (Concept Index): New section.
7849 Various entries added.
7850 (Typedefs): Rename as...
7851 (Types): this. Pay attention to not limiting the documentation to
7853 (Particular Types): Mention the equivalent generic test.
7854 Promote the GNU coding style at various places.
7856 2000-02-08 Akim Demaille <akim@epita.fr>
7858 Revamp the autoupdate/AC_OBSOLETE chain. All the details are
7859 given in the prologue of acoldnames.m4.
7861 * acgeneral.m4 (Prologue): Enter the `autoconf' name space.
7862 (AU_DEFUN): New macro.
7864 * autoupdate.m4: New file.
7865 Disable the name spaces `autoconf', and `libm4'. Disable libm4.
7866 * Makefile.am: Tuned to support the changes above.
7868 * autoupdate.sh: Model after autoconf.sh.
7869 Can run on several files at once (for instance m4/*.m4).
7870 Don't touch files that are up to date.
7871 Run m4 on autoupdate.m4f instead of playing with sed.
7876 * acgeneral.m4 (AC_LINK_FILES, AC_ENABLE, AC_WITH): Use AU_DEFUN,
7877 remove the call to AC_OBSOLETE.
7878 * acspecific.m4 (AC_CYGWIN32): Likewise.
7879 * acoldnames.m4: Replaced all the definitions via `define' or
7880 `AC_DEFUN' to use `AU_DEFUN'.
7882 2000-02-08 Akim Demaille <akim@epita.fr>
7884 Clean up some m4 files.
7886 * acoldnames.m4: Use `#', not `dnl'.
7887 Don't spread `dnl' everywhere, anyway, we are in a divert(-1).
7888 * autoconf.m4: Likewise.
7889 * autoheader.m4: Likewise.
7891 2000-02-08 Akim Demaille <akim@epita.fr>
7895 * autoconf.sh: Minor reorganizations to clearly separate the
7896 prologue, which is almost common to all the shell scripts of
7897 Autoconf, and the body.
7899 2000-02-08 Akim Demaille <akim@epita.fr>
7901 Improve support of name spaces in libm4. Put the m4 builtins
7902 in the `libm4' name space.
7904 * libm4 (m4_changequote, m4_define, m4_defn, m4_dnl, m4_indir,
7905 m4_undefine): Private copies in the global name space. Used by
7906 the name space mechanisms.
7907 (m4_namespace_register): New macro.
7908 (m4_namespace_define): Use it.
7909 (builtin, changequote, defn, dnl, esyscmd, ifdef, ifelse, indir,
7910 patsubst, popdef, pushdef, regexp, undefine, syscmd, sysval): Put
7911 in the `libm4' name space.
7912 (m4_disable, m4_enable): Use the private m4_indir, otherwise once
7913 `libm4' closed, there is no `indir' available, and therefore no
7914 means to reopen a name space.
7916 2000-02-08 Akim Demaille <akim@epita.fr>
7918 Output really nothing if AC_INIT was not given. Unconditional
7919 output can be problematic with autoupdate.
7921 * acgeneral.m4 (AC_INIT_NOTICE): Output ac_includes_default.
7922 (Default includes section): No longer dump ac_includes_default in
7925 2000-02-08 Akim Demaille <akim@epita.fr>
7927 * libm4.m4 (m4_namespace_define): Fix a bug: `m4_namespace'
7929 Simplify some excess in quoting.
7930 Use NAMESPACE::MACRONAME instead of `m4_defn(NAMESPACE,
7933 2000-02-08 Akim Demaille <akim@epita.fr>
7935 Adapt autoheader to use libm4's name spaces.
7937 * autoheader.m4 (AH_HOOK): Removed.
7938 (AH_DEFUN): Define in the `autoheader' name space.
7939 Use only AH_DEFUN to define macros in this file.
7940 (epilogue): No longer run the `AH_HOOKS', enter the `autoheader'
7943 2000-02-08 Akim Demaille <akim@epita.fr>
7945 Clean up a bit the user interface.
7947 * autoconf.sh: Give your name while reporting errors.
7948 Don't spit --help for errors on arguments.
7949 * autoreconf.sh: Likewise.
7950 * autoheader.sh: Likewise.
7951 More temporary files that one can browse when debugging.
7952 Don't ${var}, just $var.
7953 Don't dump --help when the arguments are invalid.
7954 (config_h): Use the empty value instead of `undefined' to check
7956 * acspecific.m4: Formatting changes.
7958 2000-02-08 Akim Demaille <akim@epita.fr>
7960 Introduce name spaces in libm4.
7962 * libm4.m4 (m4_namespace_push, m4_namespace_pop,
7963 m4_namespace_define, define, m4_disable, m4_enable, m4_rename):
7965 (_m4_foreach, _m4_for, m4_wrap): Use m4_define for temporaries.
7966 (m4_split): Don't mess with the quotes.
7968 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS, AC_OUTPUT_HEADERS): Quote
7971 2000-02-08 Akim Demaille <akim@epita.fr>
7973 * doc/autoconf.texi (Introduction): m4 1.4 is now required.
7974 (Invoking autoconf): A better help on --trace.
7975 (Defining Symbols): Advocate a proper use of the quotes in m4
7976 code, including if the quotes are sometimes useless. It is bad,
7977 very bad not to quote properly, so quote all the examples
7979 (Cache Files): Use a unary call to define, instead of an empty
7981 (Using System Type): Watch out TeX wrapping.
7982 (Pretty Help Strings): Don't give too long a snippet of --help.
7983 Promote the coding style of Autoconf. Quote properly.
7985 2000-02-08 Akim Demaille <akim@epita.fr>
7987 * acgeneral.m4 (AC_PRO): Use AC_PROVIDE instead of defining
7988 yourself. This allows to see everything that is AC_PROVIDEd via
7990 (AC_SPECIALIZE): define'd, not AC_DEFUN'd.
7991 (AC_PROVIDE): Use define with a single arg, instead of an empty $2.
7993 2000-02-08 Akim Demaille <akim@epita.fr>
7995 * acgeneral.m4 (ac_includes_default): Don't use simple quotes, but
7996 doubles quotes if you want to use \-continuation lines: this is
7997 not recognized by MIPS' sh.
7999 2000-02-08 Akim Demaille <akim@epita.fr>
8001 * acgeneral.m4. Formatting changes.
8002 * acspecific.m4: Likewise.
8004 2000-02-08 Akim Demaille <akim@epita.fr>
8006 * acgeneral.m4 (AC_CONFIG_HEADERS, AC_CONFIG_LINKS,
8007 AC_CONFIG_SUBDIRS): A space was missing to separate the arguments
8010 2000-02-08 Akim Demaille <akim@epita.fr>
8012 Arrange that config.status creates the file with the AC_SUBSTing
8013 engine only if needed.
8015 * acgeneral.m4 (AC_OUTPUT_FILES): Create the sed code only if test
8018 2000-02-08 Akim Demaille <akim@epita.fr>
8020 Promote AC_LANG_CASE.
8022 * acgeneral.m4 (AC_TRY_COMPILER, AC_TRY_LINK_FUNC, AC_CHECK_LIB,
8023 AC_TRY_COMPILE, AC_TRY_LINK, AC_TRY_RUN_NATIVE, AC_CHECK_FUNC):
8024 Use AC_LANG_CASE instead of ifelse (AC_LANG, ...).
8025 (AC_TRY_LINK_FUNC): Quote the body the the AC_DEFUN (whoa, how
8026 could this survive so long?!?).
8028 2000-02-08 Akim Demaille <akim@epita.fr>
8030 * acgeneral.m4: Formatting changes.
8031 * acspecific.m4: Likewise.
8033 2000-02-08 Akim Demaille <akim@epita.fr>
8035 Use the style we promote.
8037 * doc/autoconf.texi (Header Templates): Promote #if over #ifdef;
8038 and #undef over #define in templates.
8039 * acspecific.m4 (AC_DECL_SYS_SIGLIST, AC_FUNC_MMAP,
8040 AC_FUNC_SETPGRP, AC_FUNC_VFORK, AC_FUNC_SELECT_ARGTYPES): Use #if,
8041 not #ifdef and #ifndef, indent CPP directives.
8043 2000-02-08 Akim Demaille <akim@epita.fr>
8045 Quote properly AC_SHELL_IFELSE and callers.
8047 * acgeneral.m4 (AC_SHELL_IFELSE): Don't overquote $1.
8048 (AC_VAR_IF_SET, AC_CHECK_MEMBER, AC_CHECK_LIB, AC_CHECK_HEADER,
8049 AC_CHECK_DECL, AC_CHECK_FUNC, AC_CHECK_TYPE_INTERNAL): Quote the
8050 first argument of AC_SHELL_IFELSE.
8052 2000-02-08 Akim Demaille <akim@epita.fr>
8054 It seems quite delicate to have AC_INCLUDES_DEFAULT insert the
8055 default headers in the INIT section of configure: the reason is
8056 that AC_INCLUDES_DEFAULT is called unquoted, and this results in
8057 an un expected behavior. Thanks to Roman V. Shaposhnick for the
8060 The current implementation is not satisfying: the default headers
8061 are defined in the INIT section even if they are not used.
8063 * acgeneral.m4 (Prologue of AC_INCLUDES_DEFAULTS): Dump the
8064 definition of ac_includes_default in the INIT section of
8066 (AC_INCLUDES_DEFAULTS): Use it.
8068 2000-02-08 Akim Demaille <akim@epita.fr>
8073 2000-02-08 Akim Demaille <akim@epita.fr>
8075 * libm4.m4 (m4_for): New macro.
8077 2000-02-07 Akim Demaille <akim@epita.fr>
8079 Stay in Autoconf's name space.
8081 * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Prefixed with 'ac_':
8082 arg, save_arg, i, seen, previous_arg, ld_run_path.
8083 Rename f77_link_output as ac_link_output.
8084 * tests/actest.m4 (AC_ENV_SAVE): Don't note F77, FFLAGS, FLIBS,
8085 G77, f77_case, f77_underscore.
8087 2000-02-07 Akim Demaille <akim@epita.fr>
8089 Use `#' for comments instead of `dnl'.
8090 Better highlighting of the sections in the sources.
8092 * acgeneral.m4: Formatting changes.
8093 * acspecific.m4: Likewise.
8094 * autoheader.m4: Likewise.
8095 * acoldnames.m4: Likewise.
8097 2000-02-07 Akim Demaille <akim@epita.fr>
8101 * Makefile.am: Adjusted for libm4.m4.
8103 * acgeneral.m4 (m4_errprint, m4_warn, m4_fatal, m4_prefix,
8104 m4_eval, m4_shift, m4_format, m4_include_unique, m4_include,
8105 m4_sinclude, m4_quote, m4_split, m4_join, m4_strip, m4_append,
8106 m4_list_append, ifval, ifset, m4_default, m4_case, m4_match,
8107 m4_foreach): Moved from here, to...
8109 * acgeneral.m4 (AC_WRAP): Moved from here, to...
8110 * libm4.m4 (m4_wrap): here. All callers changed.
8112 * acgeneral.m4: Don't include acversion.m4.
8113 * autoconf.m4: Include libm4.m4 and acversion.m4.
8114 * autoheader.m4: Likewise.
8116 2000-02-07 Akim Demaille <akim@epita.fr>
8118 AC_CHECK_SIZEOF: Fix a bug, use standard default headers, and
8121 * acgeneral.m4 (AC_CHECK_SIZEOF): Don't over quote $1, some []
8122 were left in the C code, and had the macro fail.
8123 Use AC_INCLUDES_DEFAULT.
8124 * doc/autoconf.texi: Mention default includes. Explain stdio.h
8125 must always be given.
8127 * tests/atspecific.m4 (TEST_MACRO): Updated the list of
8129 (AT_CHECK_DEFINES): New macro, to check the content of config.h.
8130 * tests/semantics.m4: All the tests are updated to use
8132 Test AC_CHECK_SIZEOF, AC_CHECK_HEADERS, and AC_CHECK_FUNCS.
8134 2000-02-07 Akim Demaille <akim@epita.fr>
8136 Give explicit diagnostics when an input file (for config headers;
8137 config files etc.) does not exist.
8140 * acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADERS): Check for the
8141 existence of source files.
8143 2000-02-07 Akim Demaille <akim@epita.fr>
8145 Torture test config.status, AC_SUBST and AC_DEFINE.
8147 * tests/torture.m4: New file.
8148 * tests/suite.m4: Include it.
8150 2000-02-07 Akim Demaille <akim@epita.fr>
8152 * tests/atspecific.m4 (m4_for, m4_foreach): New macros.
8154 2000-02-07 Akim Demaille <akim@epita.fr>
8156 * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Instead of defining an
8157 unused pointer to the type $1, use
8158 if (($1 *) 0) return 0;
8159 to avoid warnings from the compiler.
8162 2000-02-07 Akim Demaille <akim@epita.fr>
8164 * acgeneral.m4 (AC_INCLUDES_DEFAULT): Include sys/types.h
8165 Reported by Jim Meyering.
8167 2000-02-07 Akim Demaille <akim@epita.fr>
8169 * tests/atspecific.m4: New file, for AT macros specific to
8171 * tests/suite.m4 (AT_TEST_MACRO): Moved to
8172 * tests/atspecific.m4 (AT_TEST_MACRO): here.
8173 * tests/syntax.m4 (TEST_MACRO): Moved to
8174 * tests/atspecific.m4 (TEST_MACRO): here. Don't test /^AC_INIT/,
8175 nor /^AC_PROG_\(CC\|CXX\|F77\)_\(GNU\|WORKS\)$/: they are already
8177 * tests/Makefile.am: Adjusted.
8179 2000-02-07 Akim Demaille <akim@epita.fr>
8181 * acgeneral.m4 (m4_case): Fixed a typo and a bug: one shift was
8183 (m4_match): New macro.
8184 * tests/atgeneral.m4 (AT_CASE): Fixed.
8186 2000-02-07 Akim Demaille <akim@epita.fr>
8188 * acgeneral.m4: Formatting changes.
8189 * acspecific.m4: Likewise.
8191 2000-02-07 Akim Demaille <akim@epita.fr>
8193 * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): Don't use FFLAGS_SAVE
8195 (AC_F77_NAME_MANGLING): Don't use foo_bar but ac_foo_bar.
8197 2000-02-07 Akim Demaille <akim@epita.fr>
8199 * acspecific.m4 (AC_C_INLINE): Proceed as for AC_C_CONST:
8200 condition out the test case if __cpluscplus.
8201 Don't document the autoheader template twice, one is enough.
8202 * autoheader.m4 (AC_CONFIG_HEADER): don't hook on this guy, but
8204 (AC_CONFIG_HEADERS), since the former is defined on the latter.
8206 2000-02-07 Akim Demaille <akim@epita.fr>
8208 * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): Use the scheme proposed
8209 by Alexandre Oliva for testing the definition of TYPE:
8213 2000-02-07 Akim Demaille <akim@epita.fr>
8215 * acspecific.m4 (AC_C_CONST): Don't changequote, there is no need
8216 for it. Just quote properly!
8217 condition out the test case if __cpluscplus.
8218 AC_REQUIRE AC_PROG_CC_STDC.
8219 Fix slightly the display of the result (formerly the first run
8220 says `none needed', and later, because of the cache `no').
8221 (AC_C_INLINE, AC_C_VOLATILE): AC_REQUIRE AC_PROG_CC_STDC.
8222 * doc/autoconf.texi (AC_C_CONST): Give a few hints on the
8223 motivation for trusting the C++ compilers.
8225 2000-02-07 Akim Demaille <akim@epita.fr>
8227 * tests/atgeneral.m4: Updated.
8228 (AT_CASE): new macro.
8229 (AT_CHECK): Use it. Don't changequote for patsubst, there is no
8231 * tests/syntax.m4 (TEST_MACRO): Don't run AC_ARG_VAR.
8232 Reported by Jim Meyering.
8235 2000-02-07 Akim Demaille <akim@epita.fr>
8237 Test that the macros respect the user variable name space.
8239 * acgeneral.m4 (AC_CANONICAL_THING): define, not AC_DEFUN.
8240 Don't AC_PROVIDE, there is no need.
8241 When calling `config.sub`, also || exit 1, to catch failures from
8243 * acspecific.m4 (AC_SYS_LONG_FILE_NAMES): Use ac_val, not val.
8244 (AC_EXEEXT): Use ac_file, not file.
8245 * tests/actest.m4: New file, holding extra Autoconf macros used
8247 (AC_ENV_SAVE): New macro, save the sh variables in a file.
8248 * tests/suite.m4 (AT_TEST_MACRO, Generation of configure.in):
8249 include actest.m4, and call twice AC_ENV_SAVE to compare the
8250 variables before and after the macro.
8251 * tests/Makefile.am (macro.m4): Don't test macros that are
8252 required: they will be tested somewhere else.
8254 2000-02-07 Akim Demaille <akim@epita.fr>
8256 * acgeneral.m4(AC_CONFIG_PRE_COMMANDS, AC_CONFIG_POST_COMMANDS):
8257 Rename as AC_CONFIG_COMMANDS_PRE, AC_CONFIG_COMMANDS_POST. All
8258 dependencies changed.
8261 2000-02-07 Akim Demaille <akim@epita.fr>
8263 * acgeneral.m4: Formatting changes.
8264 * acspecific.m4: Likewise.
8266 2000-02-07 Akim Demaille <akim@epita.fr>
8268 Start a new series of tests which check the semantics.
8270 * acgeneral.m4 (AC_CHECK_MEMBER): It is not smart to define
8271 ac_Foo, and use AC_Foo. Got rid of AC_Member_Aggregate and
8272 AC_Member_Member which were complicating more than simplifying.
8273 (AC_CHECK_DECLS): Use m4 lists.
8274 (AC_CHECK_TYPES): A comma was missing.
8275 * autoheader.m4: (AC_CHECK_DECLS): Use m4 lists.
8276 * doc/autoconf.texi (Generic Declarations): AC_CHECK_DELCS uses m4
8278 * tests/semantics.m4: New file. Collection of semantical tests:
8279 verify that the tests are positive and negative when appropriate.
8280 Test AC_CHECK_MEMBERS, AC_CHECK_DECLS and AC_CHECK_TYPES.
8282 2000-02-04 Akim Demaille <akim@epita.fr>
8284 * tests/Makefile.am (macros.m4): Fix the sed snippet.
8286 2000-02-04 Akim Demaille <akim@epita.fr>
8288 * testsuite/autoconf.g/init.exp: Removed, test performed by
8290 * testsuite/autoconf.g/sizeof.exp: Likewise.
8291 * testsuite/autoconf.s/defines.exp: Likewise.
8292 * configure.in (AC_OUTPUT): Adjusted.
8293 * Makefile.am (SUBDIRS): Adjusted.
8295 2000-02-04 Akim Demaille <akim@epita.fr>
8297 * tests/syntax.m4: Test AC_CHECK_SIZEOF.
8298 * tests/Makefile.am (CLEANFILES, DISTCLEANFILES): Adjusted.
8299 (macros.m4): Use tmp dest files ($@-t), not directly `$@'.
8301 2000-02-04 Akim Demaille <akim@epita.fr>
8303 Hide AH_HOOK behind AH_DEFUN.
8305 * autoheader.m4 (AH_DEFUN): New macro. Combination of define and
8307 (AC_TRY_RUN, AC_DEFINE, AC_DEFINE_UNQUOTED, AC_CHECK_LIB,
8308 AC_CHECK_HEADERS, AC_CHECK_HEADERS_DIRENT, AC_CHECK_DECLS,
8309 AC_CHECK_FUNCS, AC_CHECK_SIZEOF, AC_PROG_LEX, AC_CHECK_MEMBERS,
8310 AC_CHECK_TYPE, AC_FUNC_ALLOCA, AC_CHECK_TYPES, AC_C_CHAR_UNSIGNED,
8311 AC_AIX, AC_F77_WRAPPERS, AC_CONFIG_HEADER): All the former calls
8312 to define and AH_HOOK in autoheader.m4 are replaced by AH_DEFUN.
8314 2000-02-04 Akim Demaille <akim@epita.fr>
8316 * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use
8317 to hide, you are DEFUNCT.
8319 1999-11-14 Akim Demaille <akim@epita.fr>
8321 * autoconf.texi (Invoking ifnames): ifnames no longer supports
8324 1999-11-13 Akim Demaille <akim@epita.fr>
8326 Run the `syntax' test on acgeneral macros too.
8327 Fix the bugs discovered.
8329 * acgeneral.m4 (AC_CANONICAL_THING): Quote the
8330 AC_REQUIRE([AC_CANONICAL_HOST]). Bug triggered by the use of
8331 AC_CANONICAL_BUILD alone in configure.in. Also, quote the
8332 arguments of macros (eg, ifelse([$1]...), not ifelse($1...)).
8333 (m4_case): New macro.
8334 (AC_LINKER_OPTION): Don't clash with user's name space
8336 (AC_LIST_MEMBER_OF). You mean AC_FATAL, not AC_MSG_ERROR.
8337 Quote properly the argument.
8338 dnl out the empty lines that result from m4 pure code.
8339 Don't pollute the user name space.
8340 Use AC_SHELL_IFELSE.
8341 (AC_F77_NAME_MANGLING): Don't use `test -o'. There are still
8342 name space problems.
8343 * tests/Makefile.am (macros.m4): Also fetch the macros from
8346 1999-11-13 Akim Demaille <akim@epita.fr>
8348 Really install this patch.
8350 * acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
8351 optional $2: exit status.
8353 1999-11-13 Akim Demaille <akim@epita.fr>
8355 Check that the AC_DEFINEs from acspecific.m4 do have a template.
8356 Fix the discovered bugs.
8358 * tests/atgeneral.m4 (AT_CHECK): Don't just exit 1 when you want
8359 to propagate the failure of a test: exit with the same exit
8360 status, at least to preserve 77 (=ignore).
8361 * tests/syntax.m4 (TEST_MACRO): Run also autoheader. Don't run
8362 this test on all the macros, some just cannot run without
8364 * acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): In the if egrep/fi for
8365 #define templates, add a `:' to prevent syntax errors in
8366 config.status when there are no AC_DEFINE performed.
8367 * autoheader.m4 (AH_TEMPLATE): Don't use _AC_SH_QUOTE here, use it
8369 (AH_VERBATIM): here. Now AH_C_UNSIGNED_CHAR is no longer failing
8370 (formerly it would produce a non backslashed backquote, which
8373 1999-11-13 Akim Demaille <akim@epita.fr>
8375 Introduce a means to distinguish failures of `configure' due to
8376 extern software (so that the test suite doesn't fail on them).
8378 * acgeneral.m4 (AC_MSG_ERROR, AC_MSG_ERROR_UNQUOTED): Allow an
8379 optional $2: exit status.
8380 * doc/autoconf.texi: Document.
8381 * acspecific.m4 (AC_PROG_CC_WORKS, PROG_CXX_WORKS,
8382 AC_PROG_F77_WORKS): Exit 77 if the compiler does not work.
8384 1999-11-13 Akim Demaille <akim@epita.fr>
8386 Clean up a bit the handling of the LANG stack. More is needed.
8388 * acgeneral.m4 (AC_LANG_CASE): New macro.
8389 (AC_LANG_RESTORE): Use m4_case.
8390 (AC_LINKER_OPTION): Use AC_LANG_CASE.
8392 1999-11-11 Akim Demaille <akim@epita.fr>
8394 * autoconf.texi (Generic Declarations): Fixed a typo which
8395 prevented `make distcheck' from succeeding.
8396 * texinfo.tex: Updated for the same reasons.
8398 1999-11-11 Akim Demaille <akim@epita.fr>
8400 Introduce a new style of testing, independent from DejaGNU.
8403 Introduce the logistics.
8405 * configure.in: Initialize AT, and output tests/atconfig, and
8407 * m4/atconfig.m4: New file.
8408 * m4/Makefile.am: Adjusted.
8409 * aclocal.m4: Include atconfig.m4.
8410 * Makefile.am: Adjusted.
8411 * tests/Makefile.am: New file.
8412 * tests/atgeneral.m4: Likewise.
8413 * tests/atconfig.in: Likewise.
8418 * tests/syntax.m4: New file, in charge of checking the validity of
8419 the sh code produced by the macros defined in acspecific.m4.
8420 acgeneral.m4 is not checked here, because these macros require
8422 * tests/suite.m4: New file. Run syntax.m4.
8424 1999-11-10 Akim Demaille <akim@epita.fr>
8426 A test suite will be introduced which tries to run all the
8427 specific macros, but hasbeen'd macro make configure die with bad
8428 exit status. So we wish to distinguish live macros from defunct
8429 macros at the moment they are AC_DEFUN'd, not in their body. Hm,
8430 defunct, defunct... Hey! That's a good name!
8432 * acgeneral.m4 (AC_DEFUNCT): New macro, comparable to AC_DEFUN,
8433 but for macros which are no longer defined. Replaces AC_HASBEEN.
8434 (AC_HASBEEN): Defunct. Well, removed in fact.
8435 (AC_HAVE_LIBRARY): Don't use AC_DEFUN and AC_HASBEEN, just
8437 * acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
8438 AC_INT_16_BITS, AC_LONG_64_BITS): Likewise.
8439 (AC_XENIX_DIR): It was defunct even before I declared it was: was
8440 depending upon AC_DIR_HEADER which is defunct. So AC_DEFUNCT'ed
8442 (AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): While we're here, you
8443 too are defunct now.
8444 * autoconf.texi (Obsolete Macros): Replace the documentation of
8445 AC_HASBEEN with that of AC_DEFUNCT.
8447 1999-11-10 Akim Demaille <akim@epita.fr>
8449 * autoconf.sh: Formatting changes.
8450 Removed development junk.
8451 * acspecific.m4: Formatting changes.
8452 * autoconf.m4: Likewise.
8453 * autoheader.m4: Likewise.
8455 1999-11-10 Akim Demaille <akim@epita.fr>
8457 Let Autoconf use autoconf's `--install'.
8459 * m4/Makefile.am: New file.
8460 * m4/init.am: New file, required by Automake.
8461 * m4/missing.am: Likewise.
8462 * m4/sanity.am: Likewise.
8463 * aclocal.m4: Include them.
8464 * configure.in (AC_OUTPUT): Added m4/Makefile.
8466 1999-11-10 Akim Demaille <akim@epita.fr>
8468 Make autoconf support --install.
8470 * autoconf.sh (task install): New task. Extract the set of
8471 auxiliary m4 files a configure.in depends upon. Install links
8472 from library files to the local dir so that the packages depends
8473 only on local extensions. Check that the user includes exactly
8474 the files she needs.
8476 1999-11-10 Akim Demaille <akim@epita.fr>
8478 Require GNU m4 1.4 (well 1.3 in fact).
8480 Because we are ready to handle the case where there are no frozen
8481 files, we *have* to pass a -I, which is dangerous in conjunction
8482 with the silent including of `aclocal.m4': you may include things
8483 that were not expected. Since anyway handling pre 1.3 complicates
8484 the task, just require an m4 which supports reloading of frozen
8487 * acspecific.m4 (AC_PROG_GNU_M4): Check for --reload.
8488 * autoconf.sh: Likewise
8489 * autoheader.sh: Likewise.
8490 * configure.in: Explicitly state the m4 version you want.
8492 1999-11-10 Akim Demaille <akim@epita.fr>
8494 No need for foo="`bar`", foo=`bar` is fine.
8495 Simplify ${foo} and ${1} into $foo and $1.
8497 * acgeneral.m4 (ac_LF_and_DOT): Remove the double quotes.
8498 * acspecific.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Likewise.
8499 * autoconf.sh: Likewise.
8500 * autoheader.sh: Likewise.
8501 * autoreconf.sh: Likewise.
8502 * autoupdate.sh: Likewise.
8503 * ifnames.sh: Remove all the code and messages related to
8504 AC_MACRODIR, since ifnames is not related to macros in anyway.
8506 1999-11-10 Akim Demaille <akim@epita.fr>
8508 New version of AC_INCLUDE, which does not glob, nor rely upon the
8509 shell. Add AC_INCLUDES too. Help tracking multiple inclusions.
8511 * acgeneral.m4 (m4_errprint, m4_warn, m4_fatal): New macros,
8512 variations around errprint.
8513 (m4_include_unique): New macro which registers what are the files
8514 already included, and warns if some are included several times.
8515 (m4_include, m4_sinclude): New macro, using m4_include_unique.
8516 (AC_INCLUDE): Is now just a wrapper of m4_include.
8517 (AC_INIT): Use m4_sinclude, not sinclude.
8518 (_AC_ERRPRINT): Removed, m4_errprint is here!
8519 (AC_WARNING, AC_FATAL): Wrappers of m4_warn and m4_fatal.
8521 1999-11-01 Akim Demaille <akim@epita.fr>
8523 * autoheader.sh: No longer rely on a system acconfig.h.
8525 1999-11-01 Akim Demaille <akim@epita.fr>
8527 Be kind to Automake: list the arguments of selected macros
8528 (for instance AC_SUBST will list each variable which may be
8531 * autoconf.sh (--trace, --output): New options.
8532 Implement tracing of macros.
8533 trap also on 0, so that there is no need to rm here and there.
8534 * autoconf.texi (Output): Document --trace and --output.
8536 1999-11-01 Akim Demaille <akim@epita.fr>
8538 Clean up the macros for testing members of aggregates.
8540 * acgeneral.m4 (AC_CHECK_MEMBER): FATAL if $1 has no dot in it.
8541 Use AC_INCLUDE_DEFAULTS.
8542 (AC_C_STRUCT_MEMBER): Removed.
8543 * acspecific.m4 (AC_STRUCT_TIMEZONE): Adapted to AC_CHECK_MEMBERS.
8544 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Adapted to
8545 AC_CHECK_MEMBERS and obsoleted.
8546 (AC_STRUCT_ST_BLOCKS): Adapted to AC_CHECK_MEMBERS.
8547 * autoconf.texi (AC_STRUCT_ST_BLKSIZE, HAVE_STRUCT_STAT_ST_RDEV):
8548 Explain they are obsoleted, and how to migrate.
8549 (AC_STRUCT_ST_BLOCKS, AC_STRUCT_TIMEZONE): Explain that the
8550 AC_DEFINE changed (but the former #defines remain defined
8552 (AC_C_STRUCT_MEMBER): Removed, replaced by the definitions of
8553 AC_CHECK_MEMBER and AC_CHECK_MEMBERS.
8555 1999-11-01 Akim Demaille <akim@epita.fr>
8557 Install a uniform set of default includes.
8559 * acgeneral.m4 (AC_INCLUDES_DEFAULT): New macro. Expands in its
8560 argument if non empty, otherwise a default list of includes.
8561 (AC_CHECK_DECL, AC_CHECK_TYPE_INTERNAL): Use AC_INCLUDES_DEFAULT.
8562 * autoconf.texi: Adjusted.
8564 1999-11-01 Akim Demaille <akim@epita.fr>
8566 * autoheader.m4 (AH_FUNC_ALLOCA, AH_C_CHAR_UNSIGNED, AH_AIX):
8567 Don't leave `[]dnl' in pseudo #-comment (actually CPP directives).
8569 1999-11-01 Akim Demaille <akim@epita.fr>
8571 Fix a bit of the brokenness of AC_CHECK_TYPE.
8573 * acgeneral.m4 (AC_CHECK_TYPE_INTERNAL): New macro, inspired from
8574 the former AC_CHECK_TYPE. This macro is exactly the one that
8575 ought to be named AC_CHECK_TYPE: it just checks, and executes user
8576 actions. In the future, this macro ought to be renamed
8578 There is a big difference with the former AC_CHECK_TYPE: instead
8579 of grepping in the headers, it tries to compile a variable
8580 declaration. This is both safer, slower, and better, since now we
8581 can check for compiler types (e.g., unsigned long long).
8582 (AC_CHECK_TYPES): The looping and AC_DEFINEing version of the
8583 previous macro. Uses m4 loops.
8584 (AC_CHECK_TYPE): Reimplemented on top of AC_CHECK_TYPE_INTERNAL.
8585 * autoheader.m4 (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros,
8587 * autoconf.texi (@ovar): New macro, for optional variables.
8588 (Generic Typedefs): Document AC_CHECK_TYPES.
8589 * autoheader.texi: (AH_CHECK_TYPE, AH_CHECK_TYPES): New macros.
8590 (Epilogue): Hooks them.
8592 1999-11-01 Akim Demaille <akim@epita.fr>
8596 * acoldnames.m4: Sort the two sections.
8597 * acoldnames.m4 (AM_CYGWIN32, AM_EXEEXT, AM_FUNC_FNMATCH,
8598 AM_FUNC_MKTIME, AM_PROG_LIBTOOL, AM_MINGW32, AM_PROG_INSTALL,
8599 fp_FUNC_FNMATCH): Added their new names.
8601 1999-10-31 Akim Demaille <akim@epita.fr>
8603 Create man pages for the executables.
8605 * Makefile.am (SUBDIRS): Add `man' and prepend `.' so that
8606 executables be built before help2man is run.
8607 * configure.in (AC_OUTPUT): Add man/Makefile.
8608 AC_MSG_ERROR, not AC_ERROR.
8609 Check for missing help2man.
8610 * man/Makefile.am: New file.
8611 * man/autoconf.x: Likewise.
8612 * man/autoreconf.x: Likewise.
8613 * man/autoheader.x: Likewise.
8614 * man/autoscan.x: Likewise.
8615 * man/autoupdate.x: Likewise.
8616 * man/ifnames.x: Likewise.
8617 * man/common.x: Likewise.
8619 1999-10-31 Akim Demaille <akim@epita.fr>
8621 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Reformating of configure and
8622 config.status --help.
8624 1999-10-31 Akim Demaille <akim@epita.fr>
8626 * acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): Implement `config.status
8627 --file' and `--header'.
8629 1999-10-31 Akim Demaille <akim@epita.fr>
8631 * autoheader.m4 (AH_TEMPLATE): Quote $2 once, now _AC_SH_QUOTE
8634 1999-10-31 Akim Demaille <akim@epita.fr>
8636 * acgeneral.m4: Formatting changes.
8637 * acspecific.m4: Likewise.
8639 1999-10-31 Akim Demaille <akim@epita.fr>
8641 * acgeneral.m4 (AC_CONFIG_LINKS): Allow a second argument,
8642 commands to run, as AC_CONFIG_FILES and HEADERS.
8643 (AC_LIST_LINKS_COMMANDS): New growing string. Initialize.
8644 (AC_OUTPUT_LINKS): Use it.
8645 (AC_OUTPUT_FILES, AC_OUTPUT_HEADERS, AC_OUTPUT_LINKS): Don't
8646 pretend to have arguments: you don't depend upon it.
8647 (AC_OUTPUT): Call the previous macros without arguments.
8649 1999-10-31 Akim Demaille <akim@epita.fr>
8651 * acgeneral.m4 (AC_PREFIX_PROGRAM): Don't use define/undefine, but
8652 pushdef/podef. AC_UPCASE_NAME no longer exist.
8654 1999-10-31 Akim Demaille <akim@epita.fr>
8656 * acgeneral.m4: Formatting changes.
8658 1999-10-31 Akim Demaille <akim@epita.fr>
8662 1999-10-31 Akim Demaille <akim@epita.fr>
8664 Clean up dead comments/code. Clean up the incompatibilities
8665 between quoted and non quoted _AC_ECHO and the like.
8667 * acgeneral.m4: Remove the comments on the no longer defined AC_TR.
8668 (_AC_SH_QUOTE): Be robust to active symbols.
8669 (_AC_ECHO): Quote properly the argument.
8670 (AC_TRY_RUN): Don't quote [AC_TRY_RUN] in the warning.
8672 1999-10-31 Akim Demaille <akim@epita.fr>
8674 * acspecific.m4: Formatting changes.
8676 1999-10-31 Akim Demaille <akim@epita.fr>
8678 * acgeneral.m4 (AC_INIT_NOTICE, AC_INIT_PREPARE, AC_ARG_ENABLE,
8679 AC_ARG_WITH, AC, TRY_COMPILER, AC_TRY_RUN, AC_TRY_CPP,
8680 AC_EGREP_CPP): Use @PND@ instead of [#]: it looses the editors
8681 that try to match the pairs of (), [] etc.
8683 1999-10-31 Akim Demaille <akim@epita.fr>
8685 Fix the compatibility of the compiling macros with C++.
8687 * acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK, AC_CHECK_SIZEOF): Use
8688 `int main () {...}', instead of `main () {...}'.
8689 * acspecific.m4 (AC_TYPE_GETGROUPS, AC_FUNC_CLOSEDIR_VOID,
8690 AC_FUNC_FNMATCH, AC_FUNC_GETPGRP, AC_FUNC_SETPGRP, AC_FUNC_VFORK,
8691 AC_FUNC_WAIT3, AC_FUNC_ALLOCA, AC_FUNC_UTIME_NULL,
8692 AC_FUNC_SETVBUF_REVERSED, AC_FUNC_MEMCMP, AC_C_CHAR_UNSIGNED,
8693 AC_C_LONG_DOUBLE, AC_C_BIGENDIAN, AC_SYS_RESTARTABLE_SYSCALLS):
8695 * acspecific.m4 (AC_FUNC_FNMATCH): Call
8696 AC_CHECK_HEADERS(fnmatch.h), and include fnmatch.h in the compiled
8699 1999-10-31 Akim Demaille <akim@epita.fr>
8701 * acgeneral.m4 (AC_COMPILE_CHECK, AC_TRY_COMPILE,
8702 AC_TRY_RUN_NATIVE, AC_OUTPUT_CONFIG_STATUS): Use @PND@ instead of
8703 [#]: it looses the editors that try to match the pairs of (), []
8706 * acspecific.m4: Formatting changes.
8708 1999-10-31 Akim Demaille <akim@epita.fr>
8710 Allow standard beta version numbers.
8712 * configure.in: Declare version 2.14a.
8713 * acgeneral.m4 (AC_UNGNITS): New macro which transform version
8714 numbers to pure digits (2.14a to 2.14.0.1, 2.15z to 2.15.0.26
8716 (AC_PREREQ): Normalize argument and AC_ACVERSION via AC_UNGNITS.
8718 1999-10-31 Akim Demaille <akim@epita.fr>
8720 Fix the --version of all the executables.
8722 * Makefile.am (editsh, editpl): Substitute also PACKAGE and
8724 * autoconf.sh (version): New string.
8725 (--version): Use it.
8726 (--help) Output on stdout, not stderr.
8727 * autoheader.sh: Likewise.
8728 * autoreconf.sh: Likewise.
8729 * autoscan.pl: Likewise.
8730 * autoupdate.sh: Likewise.
8731 * ifnames.sh: Likewise.
8733 1999-10-31 Akim Demaille <akim@epita.fr>
8735 Perform a better checking for missing templates in autoheader.
8737 * autoheader.m4 (AH_HOOK): When hook AC_FOO on AH_FOO, define the
8738 new AC_FOO to be the expansion of both AH_FOO *and* AC_FOO. See
8739 its definition for the motivations.
8741 * autoheader.m4 (AH_FUNC_ALLOCA): Remove the now useless
8742 additional templates.
8744 1999-10-31 Akim Demaille <akim@epita.fr>
8746 Work properly with Automake 1.4.
8748 * Makefile.am (distpkgdataDATA): Replaces dist_pkgdata_DATA.
8749 (nodistpkgdataDATA): Replaces nodist_pkgdata_DATA.
8750 (EXTRA_DIST): Added $(distpkgdataDATA).
8751 (pkgdata_DATA): Adapted.
8752 (AUTOMAKE_OPTION): Require 1.4.
8754 1999-10-31 Akim Demaille <akim@epita.fr>
8756 Fix a bug in templates of AC_CHECK_LIB.
8758 * autoheader.m4 (AH_CHECK_LIB): Template HAVE_LIBFOO, not
8761 1999-10-31 Akim Demaille <akim@epita.fr>
8763 * acspecific.m4: Formating changes.
8765 1999-10-31 Akim Demaille <akim@epita.fr>
8767 * acgeneral.m4: Formating changes.
8768 * acspecific.m4: Likewise.
8770 1999-10-31 Akim Demaille <akim@epita.fr>
8772 * Makefile.am (pkgdata_DATA): Split into dist_pkgdata_DATA and
8773 nodist_pkgdata_DATA.
8775 1999-10-31 Akim Demaille <akim@epita.fr>
8777 * acspecific.m4 (AC_PROG_GNU_M4): New macro.
8778 * configure.in: Use it.
8780 1999-10-31 Akim Demaille <akim@epita.fr>
8782 Provide a means to specify commands to run before config.status is
8783 created (and, for symmetry, after it is created).
8785 This is typically needed by Automake so that AC_REPLACEd functions
8786 go through deansification via
8788 LIBOBJS=`echo $LIBOBJS | sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
8790 and/or by Libtool which needs to define LTLIBOBJS and others:
8792 LTLIBOBJS=`echo $LIBOBJS | sed 's/\.o/\.lo/g'`
8795 * acgeneral.m4 (AC_OUTPUT_PRE_COMMANDS): New growing string.
8797 (AC_OUTPUT_POST_COMMANDS): Likewise.
8798 (AC_CONFIG_PRE_COMMANDS): New macro, grows AC_OUTPUT_PRE_COMMANDS.
8799 (AC_CONFIG_PRE_COMMANDS): Likewise.
8800 (AC_OUTPUT): Run AC_OUTPUT_PRE_COMMANDS before
8801 AC_OUTPUT_CONFIG_STATUS, and AC_OUTPUT_POST_COMMANDS after.
8803 1999-10-31 Akim Demaille <akim@epita.fr>
8805 Remove spurious empty lines appearing in configures.
8807 * acgeneral.m4 (AC_CONFIG_UNIQUE): Produce no output. Instead of
8808 fighting with dnl, divert to KILL upon entry, and pop at exit.
8810 1999-10-31 Akim Demaille <akim@epita.fr>
8812 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Avoid using double quotes
8813 inside "`...`": some shells parse this incorrectly.
8815 1999-10-31 Akim Demaille <akim@epita.fr>
8817 * Makefile.am (pkgdata_DATA, EXTRA_DIST): Removed acconfig.h.
8818 * testsuite/autoconf.s/defines.exp: Commented out, there is no
8819 longer an acconfig.h.
8821 1999-10-31 Akim Demaille <akim@epita.fr>
8823 * autoconf.m4: Insert -*- Autoconf -*-.
8824 * acgeneral.m4: Likewise.
8825 * acspecific.m4: Likewise.
8826 * acoldnames.m4: Likewise.
8828 1999-10-31 Akim Demaille <akim@epita.fr>
8830 Create AC_CONFIG_HEADERS which has the same interface as the other
8833 * acgeneral.m4 (AC_CONFIG_HEADERS): New macro, with the same
8834 interface as AC_CONFIG_LINKS and AC_CONFIG_FILES.
8835 (AC_LIST_HEADERS_COMMANDS): New growing string, initialize it.
8836 (AC_CONFIG_HEADER): Rename as...
8837 (AC_CONFIG_HEADERS): this, for consistency.
8838 (AC_CONFIG_HEADER): New macro, which calls AC_OUTPUT_HEADERS.
8839 (AC_OUTPUT_HEADERS): The square brackets for sed and grep were
8840 not properly quoted: use @BKL@ and @BKR@.
8841 (AC_OUTPUT_HEADERS): Run the AC_LIST_HEADERS_COMMANDS.
8843 * acgeneral.m4 (AC_OUTPUT): Once config.status created, before
8844 running it, trap to `exit 1' so that config.status is not removed
8845 if configure is interrupted when config.status is complete.
8847 * acgeneral.m4 (AC_OUTPUT_CONFIG_STATUS): When recognizing
8848 arguments, accept only foo, and no longer foo:foo.in etc.
8850 1999-10-31 Akim Demaille <akim@epita.fr>
8852 * acgeneral.m4: Formating changes.
8854 1999-10-31 Akim Demaille <akim@epita.fr>
8856 config.status: Speed up the creation of config headers (about four
8857 times faster on Linux).
8859 The previous scheme had three sed commands for each AC_DEFINE: one
8860 for #define templates, and two for #undef templates (with or
8861 without trailing spaces). Divide this in three sed scripts
8862 instead: a one liner that removes the trailing spaces, one for
8863 #defines, and then the last for #undef.
8865 The real speed up comes from the fact that the #define script
8866 starts by checkin if the current input line has a #define, and if
8867 not the script immediately goes to the next line, without running
8868 the rest of the script as was the case before. Equally for the
8871 Note that this way, users that don't use #define templates don't
8872 pay too much the overhead, since the sed script `realizes' quickly
8873 there are no #define lines. My test case runs in 0.32s with
8874 #define templates, and 0.24s without. To improve this common
8875 case, the whole code for #define templates is conditionalized by a
8876 proper egrep call. The result runs is 0.24s, i.e., almost no cost
8879 I made one dangerous change that I carefully evaluated before
8880 commiting: the sed scripts are cut at 48 lines instead of 12 as
8881 before. This produces here docs of about 4Kb. I checked many
8882 `configure's and they all have big here documents, much bigger
8883 than the 12 lines (for instance AC_FUNC_MMAP produces a 150 lines
8884 long, 3800+ character here document). So I moved to the well
8885 known HP UX sed limitations: no more than 100 commands, and there
8886 are two commands per line now, plus a two command preamble. The
8887 speed up is noticeable.
8889 * acgeneral.m4 (AC_OUTPUT_HEADERS): Remove the ac_e
8891 Changed ac_uD and ac_dD to `...;t t', instead of `...g'.
8892 Instead of creating `conftest.vals' with both ac_e, ac_d,
8893 and ac_u family, preprocess to strip the trailing spaces, and
8894 create `conftest.defines' with the ac_d family, and then
8895 `conftest.undefs' for the ac_e family.
8896 Break up both `conftest.defines' and `conftest.undefs'. Insert a
8897 top label and a global test for `#defines' and `#undef' before.
8898 Call `conftest.defines' if there are #define in the input.
8899 Call `conftest.undefs'.
8901 1999-10-31 Akim Demaille <akim@epita.fr>
8903 * acgeneral.m4: Prefer `>file' over `> file' etc.
8904 * acspecific.m4: Likewise.
8906 1999-10-31 Akim Demaille <akim@epita.fr>
8908 Rename the family AC_NEED_DECL as AC_CHECK: it is more uniform,
8909 but keep defining NEED_FOO_DECL when `foo' is not declared. Files
8910 not using Autoconf behave better when declarations lacks than when
8911 they are wrong. So the unset position should off, hence #if NEEDS
8912 instead of #if !HAVE (which is triggered when HAVE is not set).
8914 * acgeneral.m4 (AC_NEED_DECL): Rename as...
8915 (AC_CHECK_DECL): This. Make sure the arguments are the usual
8916 IF-FOUND, IF-NOT-FOUND.
8917 (AC_NEED_DECLS, AC_CHECK_DECLS): Likewise.
8918 * autoconf.texi (Generic Declarations): Document the changes
8920 * autoheader.m4 (AH_NEED_DECLS): Rename as
8921 (AH_CHECK_DECLS): This.
8922 (AH_HOOKS): Hook AH_CHECK_DECLS on AC_CHECK_DECLS instead of
8925 1999-10-31 Akim Demaille <akim@epita.fr>
8927 Revamp the handling of the arguments of config.status: instead of
8928 looping over config_files etc. to recognize the file names, use
8929 the case which handles the options.
8930 Suggested by Alexandre Oliva.
8932 * acgeneral.m4 (ifset): Rename as...
8933 (ifval): This. All callers changed.
8934 (ifset): New macro, which tests if a macro is set to a non empty
8937 * acgeneral.m4: Initialize growing lists and strings to empty, to
8939 (AC_CONFIG_HEADER): Quote AC_LIST_HEADERS in the define, to handle
8940 the case AC_LIST_HEADERS is initialized.
8942 * acgeneral.m4: (AC_OUTPUT_CONFIG_STATUS): New macro, pulled out
8944 (AC_OUTPUT): Instead of using $1, $2 and $3, pass them to the
8945 official macros (AC_CONFIG_FILES, AC_OUTPUT_COMMANDS).
8946 Call AC_OUTPUT_CONFIG_STATUS.
8947 (option handling): Use the case-esac to recognize arguments.
8948 (AC_OUTPUT_COMMANDS): Fix the missing fi;done.
8950 1999-10-31 Akim Demaille <akim@epita.fr>
8952 Add a means to specify commands to be run by config.status. At
8953 the difference of AC_OUTPUT_COMMANDS, require that the set of
8954 commands be named, so that both
8955 CONFIG_COMMANDS=foo ./config.status
8958 perform the Right Thing.
8960 * acgeneral.m4 (AC_CONFIG_UNIQUE): Also check in
8962 (AC_CONFIG_FILES): Remove a dead pushdef.
8963 (AC_CONFIG_COMMANDS): New macro.
8964 (AC_LIST_COMMANDS): New config list.
8965 (AC_LIST_COMMANDS_COMMANDS): New growing string.
8966 (AC_OUTPUT_COMMANDS_COMMANDS): New macro, output config commands
8968 (AC_OUTPUT): Take AC_LIST_COMMANDS into account.
8969 (AC_OUTPUT): Call AC_OUTPUT_COMMANDS_COMMANDS.
8971 1999-10-31 Akim Demaille <akim@epita.fr>
8973 New macro: AC_CONFIG_FILES which is very much like AC_OUTPUT but
8974 that one associates commands to run when a config file is created.
8975 For instance for a shell script `foo', one uses
8976 AC_CONFIG_FILES(foo, chmod +x foo).
8978 In addition, check that the same name is never used twice in
8979 config files, headers, subdirs and links.
8981 * acgeneral.m4 (m4_append): Don't insert new line between
8983 (m4_list_append): New macro.
8984 (AC_CONFIG_IF_MEMBER): New macro which tests if a file is member
8986 (AC_CONFIG_UNIQUE): New macro which ensures that a config file
8987 name is not yet used.
8988 (AC_CONFIG_HEADER, AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS): Use
8991 * acgeneral.m4 (AC_CONFIG_FILES): New macro.
8992 (AC_LIST_FILES): New list, which stores arguments of
8993 AC_CONFIG_LISTS the same as AC_LIST_LINKS stores AC_CONFIG_LINKS
8995 (AC_OUTPUT): No longer rely on $1 to designate the config files:
8996 register them via AC_CONFIG_FILES. All uses of $1 replaced by
8997 uses of AC_LIST_FILES.
8998 (AC_OUTPUT_FILES): Run the commands associated to the
9001 1999-10-31 Akim Demaille <akim@epita.fr>
9003 * autoconf.sh (Looking for bugs): In addition to AC_, match AH_
9006 1999-10-31 Akim Demaille <akim@epita.fr>
9008 Provide the m4 infrastructure for defining AH_ hooks.
9010 * autoheader.m4 (AH_HOOK): New macro.
9011 Hook all the AC_ macros to their AH_siblings in AH_HOOKS.
9014 * acgeneral.m4 (m4_append): New macro.
9015 (m4_list_append, m4_list_add): Removed.
9017 1999-10-31 Akim Demaille <akim@epita.fr>
9019 * acspecific.m4: Formating changes.
9020 * acgeneral.m4: Likewise.
9022 1999-10-31 Akim Demaille <akim@epita.fr>
9024 * acspecific.m4 (AC_CHECK_MEMBER, AC_CHECK_MEMBERS): New macros.
9025 * autoheader.m4 (AH_CHECK_MEMBERS): New macro.
9026 (epilogue): Hook AH_CHECK_MEMBERS on AC_CHECK_MEMBERS.
9028 1999-10-31 Akim Demaille <akim@epita.fr>
9030 * autoheader.m4 (AC_FUNC_ALLOCA): Rename from this ...
9031 (AH_FUNC_ALLOCA): ... to this. Includes all the needed templates.
9032 (AC_C_CHAR_UNSIGNED): Rename from this ...
9033 (AH_C_CHAR_UNSIGNED): ... to this.
9035 1999-10-31 Ben Elliston <bje@cygnus.com>
9037 * Makefile.am (CLEANFILES): New explicit variable.
9038 (editsh): acdatadir is no longer defined, so use pkgdatadir.
9039 (editpl): Likewise. From Akim Demaille.
9040 * Makefile.in: Regenerate.
9042 * configure: Regenerate.
9043 * aclocal.m4: Generate.
9044 * Makefile.in: Regenerate with Automake.
9045 * testsuite/Makefile.in: Likewise.
9047 1999-10-31 Akim Demaille <akim@epita.fr>
9049 Use Automake. Based on files from Ben Elliston.
9051 * acgeneral.m4: No longer define AC_ACVERSION, include
9053 * acversion.m4.in: New AC_CONFIG_FILE.
9054 * acspecific.m4: Few formating changes.
9055 * autoconf.texi: No longer define EDITION, VERSION and UPDATED:
9056 include version.texi.
9057 AC_OUTPUT the Makefiles mentioned below and acversion.m4.
9058 * configure.in: Use AM_INIT_AUTOMAKE.
9059 Do not AC_ARG_PROGRAM: AM_INIT_AUTOMAKE does it.
9060 * Makefile.am: New file.
9061 * mdate-sh: Likewise.
9062 * missing: Likewise.
9063 * testsuite/Makefile.am: Likewise.
9065 1999-10-31 Ben Elliston <bje@cygnus.com>
9067 * acspecific.m4 (AC_PROG_CC_STDC, AC_C_PROTOTYPES): Inherit from
9068 Automake. From François Pinard.
9069 * autoconf.texi (Particular Programs): Document AC_PROG_CC_STDC.
9070 (C Compiler Characteristics): Document AC_C_PROTOTYPES.
9072 * testsuite/autoconf.s/defines.exp: Changed `fail' and `pass' in
9073 `xfail' and `xpass'. The test suite checks that acconfig.h
9074 templates the AC_DEFINEs. Since we no longer rely on acconfig.h,
9075 the test is obsolete.
9076 * acspecific.m4 (AC_PROG_BINSH, AC_PROG_SED): Don't quote the name
9077 of the macro defined; the test suite does not recognize this
9078 syntax. From Akim Demaille.
9080 1999-10-27 Ben Elliston <bje@cygnus.com>
9082 * autoconf.texi (Generic Programs): @defmac for AC_PATH_TOOL may
9083 not span multiple lines.
9085 1999-10-26 Ben Elliston <bje@cygnus.com>
9087 * INSTALL: Regenerate.
9089 1999-10-16 Ben Elliston <bje@cygnus.com>
9091 * acspecific.m4 (AC_PROG_CXX): gcc is not a C++ compiler.
9092 * autoconf.texi (AC_PROG_CXX): Update documentation.
9094 1999-10-13 Ben Elliston <bje@cygnus.com>
9096 * acconfig.h: Reintroduce missing definitions due to test suite
9099 * autoconf.texi (Configuration Headers): Document the potential
9100 trouble caused by autoheader and boilerplate files. Fix for
9103 1999-10-07 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9105 * Makefile.in (dist): Fixed for srcdir != objdir.
9107 1999-10-07 Akim Demaille <akim@epita.fr>
9109 * acspecific.m4 (AC_CHECK_HEADER_DIRENT): Reintroduce its
9112 1999-10-06 Akim Demaille <akim@epita.fr>
9114 * acspecific.m4: Various formatting changes.
9115 * acspecific.m4 (AC_PROG_CC_WORKS): Declare main returns an int.
9117 1999-10-05 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9119 Shell meta characters in an argument causes the configure script
9120 to freak out and generate a config.status file that contains
9122 Bug triggered by ./configure --with-foobar=\''`"$'.
9124 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Quote single quotes that end
9125 up between single quotes. Protect arguments of echo with double
9127 (AC_INIT_PREPARE): Likewise.
9128 (AC_PATH_PROG): Protect argument of test.
9129 (AC_OUTPUT): Quote meta characters in ac_configure_args.
9131 1999-10-05 Ben Elliston <bje@cygnus.com>
9133 * autoconf.texi (AC_PATH_XTRA): Correctly document the behaviour
9134 when X is not available.
9136 1999-10-05 Akim Demaille <akim@epita.fr>
9138 The sed quoting script depends on the shape of the commands used
9139 by AC_SUBST. The latter was changed, but not the former.
9140 Bug triggered with FOO='%\c' AC_SUBST(FOO).
9142 * acgeneral.m4 (AC_OUTPUT_FILES): Fix the sed quoting script.
9144 1999-10-05 Akim Demaille <akim@epita.fr>
9146 When you rely on the `t' flag of sed for the immediately
9147 preceding substitution, use a combination of `: foo; t foo'.
9148 Bug triggered if you AC_DEFINE(FOO, "%").
9149 Additionally, work around a bug in IRIX sed.
9150 Suggested by Ken Pizzini.
9152 * acgeneral.m4 (AC_OUTPUT_HEADER): Added a label and a test in the
9153 sed code of `$ac_cs_root.hdr'.
9155 1999-10-05 Akim Demaille <akim@epita.fr>
9157 Implement AC_PATH_TOOL.
9158 Submited by Gary V. Vaughan.
9160 * acgeneral.m4 (AC_PATH_TOOL): New macro.
9161 * autoconf.texi (Generic Programs): Document.
9163 1999-10-05 Akim Demaille <akim@epita.fr>
9165 Handle arbitrary version numbers.
9166 Reported by H.J. Lu.
9168 * acgeneral.m4 (m4_split): Support a second optional argument: a
9169 regexp to specify where to split.
9170 (m4_compare): New macro, compares arbitrary long m4 lists of
9172 (AC_PREREQ_SPLIT, AC_PREREQ_CANON, AC_PREREQ_COMPARE): Removed,
9173 replaced by more generic macros.
9174 (AC_PREREQ): Reimplemented, using m4_compare and m4_split.
9176 1999-10-04 Akim Demaille <akim@epita.fr>
9178 Beware of the expansions of $n in comments.
9180 * acgeneral.m4 (AC_OUTPUT): Changed $1 into $[1] in dnls.
9182 1999-10-04 Akim Demaille <akim@epita.fr>
9184 Revert partially the previous changes: AC_CHECK_HEADERS_DIRENT is
9185 used by AC_HEADER_DIRENT.
9187 * autoheader.m4: Restablish the hook for AC_CHECK_HEADERS_DIRENT.
9189 * acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
9192 1999-10-02 Akim Demaille <demaille@inf.enst.fr>
9194 * acgeneral.m4: Instead of just undefining eval, format, include
9195 and shift, rename them to m4_eval, etc.
9197 1999-10-02 Akim Demaille <akim@epita.fr>
9199 AC_DIR_HEADERS is hasbeen'ed.
9201 * acspecific.m4 (AC_DIR_HEADER): Raised from obsolete to hasbeen.
9203 * acspecific.m4 (AC_CHECK_HEADERS_DIRENT, AC_CHECK_HEADER_DIRENT):
9204 Removed, were used only by AC_DIR_HEADER and were not documented.
9206 * autoheader.m4: Remove the hooks for AC_CHECK_HEADERS_DIRENT.
9208 * autoconf.texi (Particular Headers): Removed the documentation of
9211 * autoconf.texi (Environment Variables): Remove the very last
9212 traces of documentation of --env-VAR.
9214 1999-10-02 Akim Demaille <akim@epita.fr>
9216 Remove hasbeen'ed macros from the documentation.
9218 * autoconf.texi (Obsolete Macros): Document AC_HASBEEN.
9220 * autoconf.texi (Libraries): Remove the documentation of
9222 (Particular Headers): likewise for AC_UNISTD_H, AC_MEMORY_H,
9224 (C Compiler Characteristics): Likewise for AC_INT_16_BITS,
9227 1999-10-01 Akim Demaille <akim@epita.fr>
9229 Make the handling of the configuration links (AC_LINK_FILES)
9230 exactly the same as that of configurations files (AC_OUTPUT_FILES)
9231 and headers (AC_CONFIG_HEADERS). As a result, it is sane to run
9232 ./config.status src/libmy_lib
9234 CONFIG_LINKS=src/lib_mylib:lib/lib_mylib ./config.status
9236 * acgeneral.m4 (AC_LINK_FILES): Use AC_FATAL to diagnose bad
9238 Obsoleted (but implemented) in favor of AC_CONFIG_LINKS.
9240 * acgeneral.m4 (AC_CONFIG_LINKS): New macro. Takes space
9241 separated list of DEST:SOURCES arguments.
9243 * acgeneral.m4: Rename each occurrence of AC_LIST_HEADER as
9244 AC_LIST_HEADERS for consistency.
9246 * acgeneral.m4 (AC_OUTPUT, config.status prologue): Move the
9247 definition of config_files and config_headers to the top.
9248 Add the definition of config_links.
9249 Change the help message to use the aforementioned variables.
9251 * acgeneral.m4 (AC_OUTPUT_LINKS): Adapted to the new scheme of
9254 * autoconf.texi (Output, AC_OUTPUT): Mention AC_CONFIG_LINKS.
9255 (Invoking config.status): Mention CONFIG_LINKS.
9257 * autoconf.texi (Using System Type): Document AC_CONFIG_LINKS.
9258 Explicit the obsoleteness of AC_LINK_FILES.
9260 1999-10-01 Akim Demaille <akim@epita.fr>
9262 Moving most of the task of creating config.h.in from sh to m4.
9263 Getting rid of acconfig.h by supply a major new family of macros:
9264 AH_* which make it possible to insert arbitrary text into
9267 * autoheader.m4: Major rewrite: introduction of a set of macros
9268 AH_ that produce code into config.h.in. There are two sets of
9269 macros: generic macros, or specialized, documented below. The
9270 basic idea is that an AC_FOO macro which needs an entry in
9271 config.h.in should have a sibling AH_FOO which expands into that
9272 entry. In a near future, these macros will be moved next to their
9275 * autoheader.m4 (AH_VERBATIM, AH_DEFINE, AH_DEFINE, AH_NEED_DECLS,
9276 AH_CHECK_SIZEOF, AH_CHECK_FUNCS, AH_CHECK_HEADERS,
9277 AH_CHECK_HEADERS, AH_CHECK_LIB, AH_PROG_LEX, AH_FUNC_ALLOCA,
9278 AH_C_CHAR_UNSIGNED, AH_AIX, AH_F77_WRAPPERS): New macros.
9280 * autoheader.m4 (End section): Bind AC_ macros to their
9283 * autoheader.sh: Remove the sections in charge of SYMS, TYPES,
9284 FUNCS, HEADERS, LIBS and DECLS: autoheader.m4 is now in charge of
9287 * autoheader.sh (options): Added -d, --debug, which does not
9288 remove the temporary files.
9290 * autoheader.sh: Instead of redirecting stdout to the output
9291 stream, always output to a temporary file. This allows to change
9292 slightly the consistency check: before autoheader would check that
9293 each non documented AC_DEFINE is templated in an acconfig. Now it
9294 just checks whether the template is in the output file.
9296 * acconfig.h: Completely emptied, the remaining templates
9297 (_ALL_SOURCE, __CHAR_UNSIGNED__, F77_FUNC, F77_FUNC_,
9298 HAVE_STRINGIZE, and STACK_DIRECTION) are now either associated to
9299 their AC_DEFINE, or to one of the new AH_ macros.
9301 * acgeneral.m4: Reordering of the m4 macros which are not specific
9304 * acgeneral.m4 (AC_HAVE_LIB): Promoted from obsolete to hasbeen.
9306 * acgeneral.m4 (AC_TR_CPP): Fixed quoting problem, and missing ^
9308 (AC_TR_SH): Fixed quoting problem.
9310 1999-09-29 Akim Demaille <akim@epita.fr>
9312 * acgeneral.m4 (AC_WRAP): Don't output an extra space after the
9315 1999-09-29 Ben Elliston <bje@cygnus.com>
9317 * acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
9318 function in libkstat (on systems such as Solaris). This family of
9319 functions is preferred since they don't require setgid permissions
9320 to use them. Fix for PR autoconf/65.
9322 1999-09-29 Akim Demaille <akim@epita.fr>
9324 * acconfig.h: Commit the change announced below.
9326 1999-09-29 Akim Demaille <akim@epita.fr>
9328 * acspecific.m4 (AC_C_CONST): Changed from
9331 const charset x = {0, 0};
9334 1999-09-28 Akim Demaille <akim@epita.fr>
9336 Start to get rid of acconfig.h. It is an anachronism.
9338 * acgeneral.m4 (_AC_SH_QUOTE): Both cases must be evaluated the
9339 same number of times.
9341 * acconfig.h (_ALLOCA, CLOSEDIR_VOID, const, CRAY_STACKSEG_END,
9342 DGUX, DIRENT, GETGROUPS_T, GETLOADAVG_PRIVILEGED, GETPGRP_VOID,
9343 gid_t, HAVE_ALLOCA, HAVE_ALLOCA_H, HAVE_DOPRNT, HAVE_FNMATCH,
9344 HAVE_GETLOADAVG, HAVE_GETMNTENT, HAVE_LONG_DOUBLE,
9345 HAVE_LONG_FILE_NAMES, HAVE_MMAP, HAVE_RESTARTABLE_SYSCALLS,
9346 HAVE_ST_BLKSIZE, HAVE_ST_BLOCKS, HAVE_STRCOLL, HAVE_ST_RDEV,
9347 HAVE_STRFTIME, HAVE_SYS_WAIT_H, HAVE_TM_ZONE, HAVE_TZNAME,
9348 HAVE_UNISTD_H, HAVE_UTIME_NULL, HAVE_VFORK_H, HAVE_VPRINTF,
9349 HAVE_WAIT3, inline, INT_16_BITS, LONG_64_BITS, MAJOR_IN_MKDEV,
9350 MAJOR_IN_SYSMACROS, _MINIX, NDIR, NEED_MEMORY_H, NLIST_NAME_UNION,
9351 NLIST_STRUCT, NO_MINUS_C_MINUS_O, F77_NO_MINUS_C_MINUS_O,
9352 _POSIX_1_SOURCE, _POSIX_SOURCE, RETSIGTYPE, SELECT_TYPE_ARG1,
9353 SELECT_TYPE_ARG234, SELECT_TYPE_ARG5, SETPGRP_VOID,
9354 SETVBUF_REVERSED, STAT_MACROS_BROKEN, STDC_HEADERS, SVR4, SYSDIR,
9355 SYSNDIR, SYS_SIGLIST_DECLARED, TIME_WITH_SYS_TIME, TM_IN_SYS_TIME,
9356 uid_t, UMAX, UMAX4_3, USG, vfork, VOID_CLOSEDIR, WORDS_BIGENDIAN,
9357 X_DISPLAY_MISSING, YYTEXT_POINTER): Removed their autoheader
9358 template. They are now documented with their own AC_DEFINE.
9360 * acgeneral.m4 (AC_HASBEEN): New macro. Same as AC_OBSOLETE, but
9363 * acspecific.m4 (AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_INT_16_BITS,
9364 AC_LONG_64_BITS): Promoted from obsolete to hasbeen.
9366 * autoheader.m4 (AC_DEFINE_UNQUOTED): Define via AC_DEFINE, so
9367 that we program things only once.
9368 (AC_DEFINE): Use AC_WRAP and _AC_SH_QUOTE. It is now safe to have
9369 backquotes and extra spaces in the third argument, without
9370 yielding a bad result.
9372 * autoheader.m4: Instead of a huge `eval', use a temporary file.
9373 (option handling): Added --debug, to keep the temporary files.
9374 Fixed a couple of missing quotes.
9376 1999-09-28 Akim Demaille <akim@epita.fr>
9378 Make AC_FOREACH be robust to active symbols.
9380 * acgeneral.m4 (m4_split, m4_join, m4_strip): New macros.
9381 (AC_FOREACH_COMMA): Rename as...
9383 (_AC_CAR): Renamed as...
9385 (_AC_FOREACH): Renamed as...
9386 (_m4_foreach): this.
9387 (_AC_COMMATIZE): Removed.
9388 (AC_FOREACH): Rewritten using m4_split, m4_join, m4_strip, and
9390 * acgeneral.m4: Spell checked.
9391 * autoconf.texi: Likewise.
9393 1999-09-28 Akim Demaille <akim@epita.fr>
9395 * acgeneral.m4 (AC_NEED_DECL): When $4 is given, don't provide
9397 Change the message from `have' to `need'.
9398 Change the actions for `if-(not-)found' to `if-(not-)needed.
9399 Remove trailing parentheses.
9401 * acgeneral.m4 (AC_NEED_DECLS): Change the actions for
9402 `if-(not-)found' to `if-(not-)needed.
9403 Define NEED_DECL_foo, instead of NEED_foo_DECL.
9405 * autoheader.sh (decls): Reflect this.
9407 * autoconf.texi (Generic Declarations): Update.
9409 1999-09-27 Akim Demaille <akim@epita.fr>
9411 * acgeneral.m4 (AC_OUTPUT): Divert AC_OUTPUT_FILE to
9412 AC_DIVERSION_KILL if there are no CONFIG_FILES.
9413 (AC_OUTPUT, ac_cs_usage): Output the list of files to instanciate
9416 1999-09-27 Akim Demaille <akim@epita.fr>
9418 * acgeneral.m4 (AC_CHECK_DECL): Renamed as...
9419 (AC_NEED_DECL): This.
9420 (AC_CHECK_DECLS): Renamed as...
9421 (AC_NEED_DECLS): This.
9422 (AC_NEED_DECL): Include <stdio.h>, <memory.h>, <string.h>,
9423 <strings.h>, <stdlib.h>, <stddef.h>, and <unistd.h>.
9425 * autoconf.texi (Generic Declarations): Updated.
9427 1999-09-27 Ben Elliston <bje@cygnus.com>
9429 * autoscan.pl (scan_files): Emit an AC_PROG_CC invocation to
9430 configure.scan if there are any C files present. Fix for PR
9433 1999-09-26 Akim Demaille <akim@epita.fr>
9435 * acgeneral.m4 (AC_WRAP): Rewritten.
9436 (AC_HELP_STRING): Wrapper of AC_WRAP.
9437 * acgeneral.m4 (_AC_SH_QUOTE): Rewritten. Don't try to handle
9438 both backslashed and non backslashed backquotes in a single
9439 string: consider that either all the backquotes are quoted, or
9442 1999-09-26 Akim Demaille <akim@epita.fr>
9444 * acgeneral.m4 (AC_PATH_PROG): Use a single case statement for
9445 Unix and DOS absolute paths.
9447 * acgeneral.m4 (AC_CHECK_SIZEOF): Fix a typo.
9448 Allow a third default argument: extra headers.
9449 * autoconf.texi (C Compiler Characteristics): Document.
9451 * acgeneral.m4 (AC_CHECK_TYPE): Convert to the AC_VAR_* family.
9452 Allow a third optional argument: extra includes.
9453 * autoconf.texi (Generic Typedefs): Documents.
9455 1999-09-26 Ben Elliston <bje@cygnus.com>
9457 * acgeneral.m4 (AC_OUTPUT_LINKS): Eliminate gratuitous spaces from
9458 $ac_sources if this variable is otherwise empty. Fix for PR
9461 1999-09-25 Ben Elliston <bje@cygnus.com>
9463 * autoconf.texi (AC_FUNC_SETVBUF): Do not mention which systems
9464 might have their setvbuf() arguments reordered. It's difficult to
9465 accurately determine and is not essential. Fix for PR autoconf/7.
9467 * acgeneral.m4 (AC_LINK_FILES): Emit an error if an incorrect
9468 number of arguments are collected. Fix for PR autoconf/10.
9470 1999-09-25 Akim Demaille <akim@epita.fr>
9472 * acgeneral.m4 (AC_OUTPUT, handling of options): Make it possible
9473 to specify the files to configure on the command line instead of
9474 via envvars. Document it.
9476 1999-09-25 Akim Demaille <akim@epita.fr>
9478 * acgeneral.m4: Rename the occurrences of the variable `confstat'
9479 as `ac_cs_root'. The previous name was breaking the naming
9482 1999-10-24 Akim Demaille <akim@epita.fr>
9485 Added a section for 2.15 and 3.
9487 1999-09-24 Ben Elliston <bje@cygnus.com>
9489 * acspecific.m4 (AC_HEADER_STDC): Define ISLOWER and ISUPPER
9490 macros correctly on EBCDIC systems. Contributed by Kurt D.
9491 Zeilenga. Fix for PR autoconf/6.
9493 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com>
9495 * acspecific.m4 (AC_C_VOLATILE): New test.
9496 * acconfig.h: Add new entry for `volatile'.
9497 * autoconf.texi (C Compiler Characteristics): Document it.
9499 1999-09-24 Ben Elliston <bje@cygnus.com>
9501 * autoreconf.sh: Do not run autoheader if AC_CONFIG_HEADER is
9502 commented out in configure.in. Reported by Erez Zadok
9503 as a fix for PR autoconf/21.
9505 * install.texi: Replace `can not' with `cannot'.
9507 1999-09-23 Pavel Roskin <pavel_roskin@geocities.com>
9509 Avoid that comments from aclocal.m4 show up in configure when
9512 * acgeneral.m4: New diversion levels AC_DIVERSION_KILL and
9513 AC_DIVERSION_BINSH introduced. Use AC_DIVERSION_KILL as the
9514 initial value for AC_DIVERSION_CURRENT.
9515 (AC_INIT_BINSH): Set AC_DIVERSION_BINSH explicitly
9516 (AC_REVISION): Likewise.
9517 (AC_INIT): Set AC_DIVERSION_NOTICE when calling AC_INIT_NOTICE.
9519 1999-09-23 Akim Demaille <akim@epita.fr>
9521 * NEWS: Document AC_ARG_VAR.
9523 * acspecific.m4 (AC_C_LONG_DOUBLE): Avoid a needed execution by
9524 using a pure compilation test. Excellent for cross compilation.
9525 From Kaveh R. Ghazi.
9527 1999-09-22 Akim Demaille <akim@epita.fr>
9529 * install.texi: Give more details on envvar handling.
9530 * acgeneral.m4 (AC_HELP_STRING): Add a third argument to tune the
9531 width of the first column.
9532 (AC_INIT_NOTICE): Initialize ac_arg_enable_help, ac_arg_with_help,
9533 and ac_arg_var_help.
9534 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Remove the handling of
9535 --env-var=. After debate, the solution chosen to specify envvars
9536 to configure is a` la make: ./configure VAR=VAL.
9537 (AC_INIT_PARSE_ARGS, --help): Output ac_arg_enable_help,
9538 ac_arg_with_help, and ac_arg_var_help.
9539 * acgeneral.m4 (AC_ARG_VAR): New macro, to register and document
9541 * acspecific.m4 (AC_PROG_CC): Document CFLAGS.
9542 This is mainly to test AC_ARG_VAR. Var to document are to be
9545 1999-09-22 Akim Demaille <akim@epita.fr>
9547 * acgeneral.m4 (m4_default): New macro.
9548 (AC_CHECK_LIB): When ACTION-IF-FOUND is specified, don't perform
9552 1999-09-22 Ben Elliston <bje@cygnus.com>
9554 * config.guess: Clear the CCOPTS environment variable before
9555 invoking the C compiler on HP-UX. This is necessary to guarantee
9556 that the test program is compiled correctly. Reported by Dietmar
9559 1999-09-22 Linas Vepstas <linas@linas.org>
9561 * config.guess: Add OS/390 match pattern.
9562 * config.sub: Add mvs, openedition targets.
9564 1999-09-21 Nick Clifton <nickc@cygnus.com>
9566 * config.sub: Add fr30 target.
9568 1999-09-21 Ben Elliston <bje@cygnus.com>
9570 * configure.in: Check if an appropriate version of GNU m4 is
9571 installed at configure-time rather than at runtime. From Pavel
9572 Roskin. Fix for PR autoconf/2.
9573 * configure: Regenerate.
9575 1999-09-21 Akim Demaille <akim@epita.fr>
9577 * acgeneral.m4 (AC_INIT_PARSE_ARGS, --help message): Use quoted
9578 heredocs to avoid problems with quotes.
9580 1999-09-21 Akim Demaille <akim@epita.fr>
9585 * acgeneral.m4 (AC_CHECK_HEADER): Use AC_VAR_*.
9586 (AC_CHECK_HEADERS): Adapted.
9588 * acgeneral.m4 (AC_TR): Remove, it is useless.
9589 (AC_TR_CPP): Updated version of formerly AC_TR_DEFINE, based on
9590 the model of AC_TR_SH.
9591 All callers changed.
9593 * autoconf.sh (Checking for Bugs): Remove the indirection that
9594 made the `sort -u' useless.
9596 1999-09-21 Akim Demaille <akim@epita.fr>
9598 * autoconf.sh (Last sed cmd): Change also @PND@ to `#', since this
9599 is also a symbol very hard to quote in m4.
9601 * acgeneral.m4 (AC_CHECK_LIB): Use AC_VAR_*.
9603 * acgeneral.m4: Use `m4_BUILTIN' instead of indirection via
9606 1999-09-21 Akim Demaille <akim@epita.fr>
9608 * autoconf.texi (Particular Structures): Move documentation of
9609 AC_HEADER_STAT and AC_HEADER_TIME from here...
9610 (Particular Headers): to here.
9611 (Declarations): New section.
9612 (Particular Headers): Move doc of AC_DECL_SYS_SIGLIST from here...
9613 (Particular Declarations): to here.
9615 1999-09-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9617 * acgeneral.m4 (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS): New
9620 * autoconf.texi (AC_CHECK_FUNC_DECL, AC_CHECK_FUNC_DECLS):
9623 * autoheader.m4: Add support for AC_CHECK_FUNC_DECLS.
9625 * autoheader.sh: Likewise.
9627 1999-09-21 Akim Demaille <akim@epita.fr>
9629 * acgeneral.m4 (AC_SHELL_IFELSE): New macro.
9630 (AC_VAR_IF_SET): Use it.
9631 (AC_CHECK_FUNC): Likewise.
9633 * Makefile.in (${srcdir}/configure): Use autoconf.sh to build
9634 Autoconf's configure. Before the building was performed running
9635 m4 at hand, but much was not done (e.g., __oline__,
9638 1999-09-20 Akim Demaille <akim@epita.fr>
9640 * acgeneral.m4 (AC_OUTPUT): Don't remove the CONFIG_HEADERS
9641 unconditionaly: it breaks the `config.h has not changed' trick.
9643 1999-09-20 Ben Elliston <bje@cygnus.com>
9645 * autoheader.sh: Bourne shell compatibility fix. From Pavel Roskin.
9647 1999-09-20 Pavel Roskin <pavel_roskin@geocities.com>
9649 * autoheader.sh: Fix the tr invocation.
9651 1999-09-17 Ben Elliston <bje@cygnus.com>
9653 * config.guess: Detect QNX version 4.
9654 * config.sub: Handle `qnx' and `i386-qnx' aliases.
9656 1999-09-17 Erez Zadok <ezk@cs.columbia.edu>
9658 * config.guess: Eliminate the trailing dot if ${UNAME_RELEASE} is
9659 1.4-<SOMETHING>. Fix for PR autoconf/22.
9661 1999-09-17 Akim Demaille <akim@epita.fr>
9663 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Improve configure's --help.
9665 * acgeneral.m4 (AC_OUTPUT): Change the root of filenames of
9666 config.status from $conftest to $confstat.
9667 The previous patch to make config.status reentrant was wrong,
9668 because it changed some `conftest' that are used by configure into
9669 `$conftest', while it was for config.status only. To avoid
9670 another confusion like this, all the filenames of config.status
9671 should be `$confstat*', and those of configure should be
9673 (AC_OUTPUT): Rename the uses of `ac_file' for the sed fragments as
9676 * acgeneral.m4 (AC_OUTPUT): This macro used to open the here
9677 documents that configure uses to generate config.status, included
9678 that of the submacros. Now, it no longer handles the here
9679 documents for its subroutines (it was far to hard to track).
9680 (AC_OUTPUT_FILES): Open and close your here documents to
9682 (AC_OUTPUT_HEADER): Likewise.
9683 (AC_OUTPUT_LINKS): Likewise.
9685 * acgeneral.m4 (AC_OUTPUT_FILES): Move $ac_vpsub and $extrasub
9686 from the AC_SUBST substitutions (i.e., that of @SHELL@ etc.) to
9687 the specific section (that of @srcdir@ etc.).
9688 Now the ``general substitution'' section is absolutely uniform.
9690 * acgeneral.m4 (AC_SUBST): Change sed call from `s%@from@%to%g'
9691 into `s%@from@%to%;t t'.
9692 (AC_SUBST_FILE): Likewise.
9693 (AC_OUTPUT_FILES): Optimize the sed scripts by branching if there
9694 are no `@' on the line. Impressive speed up.
9696 * Makefile.in (DISTFILES): Add THANKS.
9700 1999-09-15 Akim Demaille <akim@epita.fr>
9702 * acgeneral.m4 (AC_CHECK_FILE): Use ifset.
9703 (AC_CHECK_FUNC): Updated to use AC_VAR_*, and AC_CACHE_CHECK.
9704 (AC_CHECK_SIZEOF): Likewise.
9705 (AC_CACHE_CHECK): Use AC_MSG_RESULT_UNQUOTED.
9706 (AC_MSG_RESULT_UNQUOTED): New macro.
9708 1999-09-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9710 Fix for PR autoconf/28.
9711 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012, use
9712 `echo` followed by a non-blank, within quotes.
9713 * autoheader.sh (syms): Likewise.
9714 * configure: Rebuilt.
9716 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9718 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't assume LF is \012,
9719 use `echo` followed by a non-blank, within quotes.
9720 * autoheader.sh (syms): Likewise.
9721 * configure: Rebuilt.
9722 Reported by Christian Krone.
9724 * acgeneral.m4 (AC_INCLUDE): New macro.
9725 * autoconf.texi: Document it.
9727 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Save INSTALL in
9728 ac_given_INSTALL, so that we can adjust relative pathnames for
9731 * acgeneral.m4 (Configuration): Accept --env-VAR=VALUE and
9733 * autoconf.texi, install.texi: Document it.
9734 * configure: Rebuilt.
9736 1999-09-14 Akim Demaille <akim@epita.fr>
9738 * acgeneral.m4 (AC_HELP_STRING): Rewrite in m4. Have m4 work, and
9740 (_AC_FOREACH): Be careful not to evaluate the arguments. A loop
9741 over *quoted* macro names should loop over the macro names, not
9742 upon their expansion.
9743 (_AC_COMMATIZE): Also swallow end of lines.
9745 * autoconf.texi (Pretty Help Strings): Updated to reflect the
9748 1999-09-13 Akim Demaille <akim@epita.fr>
9750 * acgeneral.m4 (ifset): New helpy tiny macro.
9751 (AC_OUTPUT): Improved --help of config.status.
9752 (AC_OUTPUT): Remove inconditionaly all the files to be updated.
9753 (AC_OUTPUT): Use pid to define the temporary file names in order
9754 to allow parallel builds.
9756 * autoconf.sh: Substitute also /@BKL@/[/ /@BKR@/]/ /@DLR@/$/ so
9757 that these characters are more easily accessible from m4 without
9758 turning changequote juggling into a nightmare.
9760 * acgeneral.m4 (AC_WRAP): New macro, for word wrapping.
9762 * autoconf.texi: Update the direntry for more modern Texinfos.
9763 Add pointer to configure and config.status.
9764 Remove the dots from the menus: horizontal space is precious.
9765 (Invoking config.status): More traditional presentation of the options.
9767 1999-09-07 Ben Elliston <bje@cygnus.com>
9769 * autoreconf.sh: Recognise -v as a synonym for --verbose.
9771 1999-09-07 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
9773 * Makefile.in (INSTALL, standards.info, autoconf.info): MiKTeX
9774 for Windows treats all options after the first filename as
9775 additional filenames, so real options must appear before the first
9778 1999-09-07 Steven G. Johnson <stevenj@alum.mit.edu>
9780 * autoconf.texi (LDFLAGS, LIBS): Document that -L linker flags
9781 should be kept in LDFLAGS and not LIBS.
9783 1999-09-07 Jim Meyering <meyering@ascend.com>
9785 * acgeneral.m4 (AC_SEARCH_LIBS): Use $ac_lib as the index, not $i.
9787 1999-09-06 Ben Elliston <bje@cygnus.com>
9789 * acspecific.m4 (AC_FUNC_ALLOCA): Rename cache variable to avoid
9790 name clashes with AC_CHECK_HEADER(alloca.h).
9792 1999-09-05 Steve Chamberlain <sac@pobox.com>
9794 * config.sub: Add support for configuring for picoJava (pj).
9796 1999-09-05 Ben Elliston <bje@cygnus.com>
9798 * acgeneral.m4 (CONFIG_AUX_DIRS): Try running `shtool install'.
9799 Contributed by Ralf S. Engelschall.
9801 1999-09-04 Ben Elliston <bje@cygnus.com>
9803 * config.guess: Use POSIX compliant shell code on DG/UX.
9804 Suggested by Stephen Gildea.
9806 1999-09-04 Pavel Roskin <pavel_roskin@geocities.com>
9808 * acgeneral.m4 (AC_OUTPUT_FILES): Output comment to not only
9809 `Makefile', but also `makefile'.
9811 1999-09-04 Jim Blandy <jimb@zwingli.cygnus.com>
9813 * Makefile.in (install): Don't freak if the M4FROZEN files were
9814 never generated. m4 1.1 is supported, but doesn't freeze files.
9816 1999-09-04 Scott Bambrough <scottb@netwinder.org>
9818 * config.guess: Autodetect ArmLinux using 2.9.1.xx linker
9819 emulation names and using the emulation names from the linker from
9820 the binutils CVS tree.
9822 * config.sub: Change manufacturer name for the NetWinder alias
9823 from Corel to Rebel.
9825 1999-09-04 Jeremy Elson <jelson@circlemud.org>
9827 * autoheader.m4 (AC_CHECK_HEADER): Define.
9829 1999-09-02 Tom Tromey <tromey@cygnus.com>
9831 * autoheader.sh: Allow multiple spaces between #undef and symbol
9834 1999-09-01 Akim Demaille <akim@epita.fr>
9836 * acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 to differenciate the
9837 experimental branch from the main trunk.
9839 * acgeneral.m4 (AC_FOREACH_COMMA): New macro, to perform m4 loops
9840 on m4 lists (i.e., list='(item_1, item_2, ..., item_n)').
9841 (AC_FOREACH): New macro, to perform m4 loops on shell lists (i.e.,
9842 list='item_1 item_2 ... item_n').
9844 * acgeneral.m4 (AC_DEFUN): Now accept two other optionnal
9845 parameters: the name of the macro which is specialized here, and
9846 the name of the first argument. For instance `AC_CHECK_FNMATCH'
9847 should be declared as specializing `AC_CHECK_FUNC' for `fnmatch'
9850 * acgeneral.m4 (AC_CHECK_FILES): Use AC_FOREACH for looping,
9851 instead of the shell's loop.
9853 * acgeneral.m4 (AC_TR): In addition to transliteration, provide a
9854 means to specify the valid destination alphabet and a default
9855 character for aliens characters. This is in order to remove
9856 characters such as `+:-' etc. that may appear in file names, but
9857 are not valid for shell variables or #defines.
9858 (AC_TR_DEFINE): New macro, maps anything to a valid uppercase
9860 (AC_TR_UPCASE_NAME): Replaced by AC_TR_DEFINE. All callers
9862 (AC_TR_UPCASE_FILE): Likewise.
9864 * acgeneral.m4 (AC_TR_SH): Don't use the generic AC_TR: there is a
9865 difficult problem of quoting between m4 and sh. Use the variable
9866 $ac_tr_sh to work around this difficulty.
9867 (AC_VAR_TEST_SET): New macro, which tests if a variable is set.
9868 (AC_VAR_IF_SET): New `ifelse' macro.
9869 (AC_CACHE_VAL): Use AC_VAR_IF_SET.
9870 (AC_INIT_NOTICE): Define $ac_tr_sh.
9872 * acgeneral.m4 (AC_CHECK_FILE): Converted to use AC_TR and AC_VAR
9875 * acgeneral.m4: Fixed the regular expressions: `$' shall not be
9876 portably in a sed \(\) group.
9878 1999-08-28 Ben Elliston <bje@cygnus.com>
9880 * config.guess: Once and for all, emit the correct string for
9881 Unixware 7! Contributed by Mike Hopkirk.
9883 * acspecific.m4 (AC_C_INLINE): Qualify the return type of the
9884 dummy inlined function to satisfy newer C++ compilers. Fix for
9887 1999-08-26 Ben Elliston <bje@cygnus.com>
9889 * autoconf.texi (Changed Results): Correct an error in one of the
9890 examples. Fix for PR autoconf/38.
9892 1999-08-25 Ben Elliston <bje@cygnus.com>
9894 * autoconf.texi (Cache Variable Names): Be more explicit about the
9895 requirements for cache variable names. Fix for PR autoconf/53.
9897 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9899 * autoreconf.sh: Run aclocal with the -I option only if
9900 aclocal_dir != `.'. Fix for PR autoconf/44.
9902 1999-08-22 Matthew D. Langston <langston@SLAC.Stanford.EDU>
9904 * acspecific.m4 (AC_PROG_CC): Remove uname test for 32-bit
9905 Windows/Cygwin, and just test for `cl' as a last resort.
9907 * autoconf.texi (Particular Programs): Document new optional
9908 argument to AC_PROG_CC, AC_PROG_CXX and AC_PROG_F77. Document
9909 additions to the Fortran 77 compiler search list.
9911 * acspecific.m4 (AC_PROG_F77): Add more Fortran 77 compilers to
9912 the search list. Contributed by Steven G. Johnson.
9914 (AC_PROG_CC): Likewise.
9915 (AC_PROG_CXX): Likewise.
9916 * acspecific.m4 (AC_PROG_F77): Add an optional first argument
9917 which gives the user an opportunity to specify an alternative
9918 search list for the compiler.
9920 1999-08-18 Ben Elliston <bje@cygnus.com>
9922 * config.guess: Remove "/MP" from the release string on
9923 multiprocessor x86 machines running SVR4.0. Suggested by Tom
9926 1999-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9928 * acgeneral.m4 (AC_CHECK_TYPE): Add optional third argument
9929 INCLUDES, which specifies the headers in which to search for the
9930 type in question. Also, pass a "description" argument to
9932 * acconfig.h (mode_t, off_t, pid_t, size_t): Remove definitions.
9933 * autoconf.texi (AC_CHECK_TYPE): Document optional third argument.
9935 1999-08-05 Jeffrey A Law <law@cygnus.com>
9937 * config.sub (-wrs case): Use os=-vxworks, not os=vxworks.
9939 1999-08-05 Ben Elliston <bje@cygnus.com>
9941 * config.guess: Update patch submission address.
9943 1999-08-05 Ben Elliston <bje@cygnus.com>
9945 * config.sub: Accept version number appended to OS name for MiNT.
9946 Contributed by Guido Flohr.
9948 1999-08-04 Ben Elliston <bje@cygnus.com>
9950 * Makefile.in (INSTALL_SCRIPT): Substitute.
9951 (install): Install scripts with $(INSTALL_SCRIPT).
9953 1999-07-20 Tom Tromey <tromey@cygnus.com>
9955 * autoheader.sh: Fixed regexp when searching for missing symbol.
9958 1999-07-16 Tom Tromey <tromey@cygnus.com>
9960 * autoheader.sh: Be more stringent when looking to see if symbol
9961 is in a template file.
9963 1999-07-15 Matthew D. Langston <langston@SLAC.Stanford.EDU>
9965 * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New implementation, to
9966 make maintenance easier.
9967 Grep the initial output so that we don't start parsing "-l" and
9968 "-L" too early. From Christopher Lee.
9970 * acgeneral.m4 (AC_LIST_MEMBER_OF): New "private implementation
9971 macro" use by AC_F77_LIBRARY_LDFLAGS.
9972 (AC_LINKER_OPTION): Likewise.
9974 1999-07-11 Ben Elliston <bje@cygnus.com>
9976 * config.guess: Cray T3E has an Alpha CPU.
9978 1999-07-04 Mark Elbrecht <snowball3@bigfoot.com>
9980 * acspecific.m4 (AC_PROG_CXX): Look for gpp after g++. gpp is the
9981 DJGPP C++ compiler, since `g++' is not a valid DOS filename.
9983 1999-06-12 Ben Elliston <bje@cygnus.com>
9985 * config.guess: Detect Linux on ia64.
9986 * config.sub: Handle ia64.
9988 1999-06-12 Ben Elliston <bje@cygnus.com>
9990 * config.guess: Handle `elf32ppclinux' from ld. Contributed by
9993 1999-06-09 Matthew D. Langston <langston@SLAC.Stanford.EDU>
9995 * autoconf.texi (Pretty Help Strings): Synchronize documentation
9996 with implementation.
9998 1999-06-04 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10000 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Fix sed regexp for handling
10001 CPP macros with args.
10003 1999-06-04 Nick Clifton <nickc@cygnus.com>
10005 * config.sub: Add mcore target.
10007 1999-06-03 Ben Elliston <bje@cygnus.com>
10009 * acgeneral.m4 (AC_ACVERSION): Correct version number.
10010 * autoconf.texi (EDITION): Likewise.
10011 (VERSION): Likewise.
10013 1999-06-02 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10015 * autoconf.texi (Pretty Help Strings): Document and regenerate the
10017 * acgeneral.m4 (AC_HELP_STRING): New macro.
10019 * NEWS: Begin documenting "Major changes" for release 2.14.
10021 * acconfig.h (F77_FUNC): Add.
10022 (F77_FUNC_): Likewise.
10024 1999-06-01 Akim Demaille <demaille@inf.enst.fr>
10026 * acgeneral.m4 (AC_PREFIX_PROGRAM): Use macros of the AC_TR_
10028 (AC_HAVE_LIBRARY): Likewise.
10029 (AC_CHECK_FUNCS): Likewise.
10030 (AC_CHECK_FILES): Likewise.
10031 (AC_CHECK_SIZEOF): Likewise.
10033 * acgeneral.m4 (AC_TR): New macro which performs transliteration
10034 by m4 when possible, or by `tr' at configure time.
10035 (AC_TR_UPCASE_NAME): New macro, transliteration 'a-z' to 'A-Z'.
10036 (AC_TR_UPCASE_FILE): New macro, transliteration 'a-z./-' to
10038 (AC_TR_SH): New macro, transliteration to valid sh var name.
10040 * acgeneral.m4 (_AC_SH_QUOTE): New macro which protects non
10041 protected backquotes against shell expansion.
10042 (AC_MSG_CHECKING): Use it.
10043 (AC_CHECKING): Use it.
10044 (AC_MSG_RESULT): Use it.
10045 (AC_VERBOSE): Use it.
10046 (AC_MSG_WARN): Use it.
10047 (AC_MSG_ERROR): Use it.
10049 * acgeneral.m4 (_AC_MESSAGE): New macro to report message at m4
10051 (AC_WARNING): New macro to report warnings at m4 runtime.
10052 (AC_FATAL): New macro, to report fatal error at m4 runtime.
10054 * acspecific.m4 (AC_RSH): Use AC_FATAL.
10055 (AC_ARG_ARRAY): Idem.
10056 (AC_HAVE_BOUNDBANG): Idem.
10058 * acgeneral.m4 (AC_VAR_IF_INDIR): New macro.
10059 (AC_VAR_SET): Likewise.
10060 (AC_VAR_GET): Likewise.
10062 1999-05-30 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10064 * autoheader.m4 (AC_DEFINE): Ignore CPP macro arguments.
10065 (AC_DEFINE_UNQUOTED): Likewise.
10067 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
10068 recognize CPP macros that take arguments. Reported, and based on
10069 a patch, by Steven G. Johnson.
10070 (AC_OUTPUT_HEADER): Likewise.
10072 * autoconf.texi (Fortran 77 Compiler Characteristics): Document
10073 new AC_F77_NAME_MANGLING macro.
10075 1999-05-30 Steven G. Johnson <stevenj@alum.mit.edu>
10077 * autoconf.texi (Fortran 77 Compiler Characteristics): Document
10078 new AC_F77_FUNC_WRAPPER macro.
10080 * acspecific.m4 (AC_F77_WRAPPERS): New macro to define the
10081 F77_FUNC and F77_FUNC_ CPP macros to properly mangle the names of
10082 C identifiers so that they match the name mangling scheme used by
10083 the Fortran 77 compiler.
10084 (AC_F77_NAME_MANGLING): New macro to test for the name mangling
10085 scheme used by the Fortran 77 compiler.
10087 1999-05-27 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10089 * acgeneral.m4 (AC_CHECK_LIB): Translate the ":" character to a
10090 "_", which allows checking for member functions in C++ libraries.
10092 1999-05-25 H.J. Lu <hjl@gnu.org>
10094 * config.guess (dummy): Changed to $dummy.
10096 1999-05-22 Ben Elliston <bje@cygnus.com>
10098 * config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake.
10100 1999-05-17 Ben Elliston <bje@cygnus.com>
10102 Merge with the EGCS source tree.
10104 * config.guess: Add detection for Interix and UWIN on Windows NT,
10105 OpenBSD on PA-RISC and UnixWare version 7.x.
10106 Improve usage of `tr' where sets are concerned.
10107 Detect all HP 9000 machines.
10108 Determine machine types more completely on older UnixWare systems.
10109 Determine C library version on GNU/Linux for the PowerPC.
10110 * config.sub: Numerous additions. Some cleanup.
10112 1999-04-29 Ben Elliston <bje@cygnus.com>
10114 * config.sub: Handle `t3e' alias for Cray T3E. Contributed by
10117 1999-04-19 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10119 * acgeneral.m4 (AC_TRY_LINK_FUNC): Add support for Fortran 77.
10121 1999-04-17 Paul Eggert <eggert@twinsun.com>
10123 * autoconf.texi, acspecific.m4 (AC_FUNC_MKTIME): New macro.
10124 taken from automake's AM_FUNC_MKTIME.
10125 * acfunctions: mktime now belongs to AC_FUNC_MKTIME.
10127 1999-04-11 Philipp Thomas <kthomas@gwdg.de>
10129 * config.sub: Set basic_machine to i586 when target_alias = k6-*.
10131 1999-04-11 Pavel Roskin <pavel_roskin@geocities.com>
10133 * autoheader.m4: Do not complain about using AC_TRY_RUN without a
10134 cross-compilation action--only autoconf should do this.
10136 1999-04-11 Paul Eggert <eggert@twinsun.com>
10138 * acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
10141 1999-04-11 Ben Elliston <bje@cygnus.com>
10143 * acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.
10144 * acspecific.m4 (AC_STRUCT_TIMEZONE): Rewrite in terms of
10145 AC_C_STRUCT_MEMBER.
10146 (AC_STRUCT_ST_BLOCKS): Likewise.
10147 (AC_STRUCT_ST_BLKSIZE): Likewise.
10148 (AC_STRUCT_ST_RDEV): Likewise.
10149 * autoconf.texi (Structures): Update. Add menu for subnodes.
10150 (Particular Structures): New node.
10151 (Generic Structures): New node.
10152 (AC_C_STRUCT_MEMBER): Document.
10154 1999-04-10 Ben Elliston <bje@cygnus.com>
10156 * mkinstalldirs: Add `-m' flag to specify the mode of a newly
10157 created directory. Add command line usage and `-h', `--help'
10158 options. Contributed by Jeff Garzik.
10160 1999-04-08 Ben Elliston <bje@cygnus.com>
10162 * acspecific.m4 (AC_PROG_CC): Try using the `cl' C compiler under
10163 Cygwin. Contributed by Scott Stanton.
10165 * config.sub: Handle MPE/iX.
10167 1999-04-07 Ben Elliston <bje@cygnus.com>
10169 * config.guess: Add more CLIX machines. From Thomas Dickey.
10171 1999-04-06 Ben Elliston <bje@cygnus.com>
10173 * config.guess: Avoid the possibility of `ld' on GNU/Linux systems
10174 being something other than the GNU linker (such as a directory, in
10175 the case of GNU binutils).
10177 1999-04-05 Ben Elliston <bje@cygnus.com>
10179 * config.sub: Add modern Alpha processors. Reorganise.
10181 * acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
10182 AC_TRY_COMPILE clean up after itself.
10183 (AC_MINGW32): Likewise.
10184 (AC_EMXOS2): Likewise.
10186 * acspecific.m4 (AC_EMXOS2): New macro. Contributed by Ryuji Abe.
10187 (AC_EXEEXT): Handle case for OS/2.
10188 (AC_PROG_CC_WORKS): Show $CPPFLAGS when running the compiler.
10189 (AC_PROG_CXX_WORKS): Likewise.
10191 * autoconf.texi (AC_EMXOS2): Document.
10192 (AC_EXEEXT): Mention OS/2.
10193 (AC_MINGW32): Move.
10196 1999-04-02 Mike Stump <mrs@wrs.com>
10198 * acgeneral.m4 (AC_ARG_PROGRAM): Remove spaces, as there is one
10199 more pass through sh than you think.
10201 1999-04-01 Ben Elliston <bje@cygnus.com>
10203 * standards.texi: Update from FSF.
10205 * acspecific.m4 (AC_PROG_INSTALL): Avoid using the installation
10206 script belonging to HP `pwplus' when running the install
10207 program. Contributed by Steven G. Johnson and Dave Adams.
10208 (AC_EXEEXT): Do not consider `.xcoff' as a possible executable
10209 filename extension. Contributed by Robert S. Maier.
10211 1999-03-28 Tom Tromey <tromey@cygnus.com>
10213 * autoconf.texi (AC_OUTPUT_COMMANDS): Add to macro index.
10215 1999-03-22 Ben Elliston <bje@cygnus.com>
10217 * config.guess: Rename BUILD_CC to CC_FOR_BUILD; there is a
10218 precedent for the usual name of this environment variable.
10220 1999-03-22 Pavel Roskin <pavel_roskin@geocities.com>
10222 * autoheader.sh: Report an error if AC_CONFIG_HEADER is not
10223 present in the configure input file.
10225 1999-03-21 Ben Elliston <bje@cygnus.com>
10227 * config.guess: Correct typo for detecting ELF on FreeBSD.
10229 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
10231 * config.guess: Recognise HP 9000/8x0 machines.
10233 1999-03-11 Ben Elliston <bje@cygnus.com>
10235 * config.sub: Recognise hppa2.0w. Contributed by Erez Zadok.
10237 1999-03-11 Pavel Roskin <pavel_roskin@geocities.com>
10239 * config.guess: Prefer $HOST_CC over $CC when deciding on a C
10240 compiler to compile stub programs. Allow this to be overridden
10241 with the value of $BUILD_CC in cross-compilation environments
10242 where the native compiler must be used for running tests on the
10245 1999-03-11 Ben Elliston <bje@cygnus.com>
10247 * config.guess: Recognise MiNT and TOS on Atari machines.
10248 Contributed by Guido Flohr.
10250 * config.sub: Add aliases for MiNT.
10252 1999-03-10 Ben Elliston <bje@cygnus.com>
10254 * config.guess: Recognise HP 9000/800. Merged from the master
10255 FSF version of this file.
10257 1999-03-01 Gordon Matzigkeit <gord@trick.fig.org>
10259 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Don't require that macro
10260 symbols be valid C identifiers.
10262 1999-02-28 Ben Elliston <bje@cygnus.com>
10264 * acspecific.m4 (AC_FUNC_VFORK): Allow test to behave correctly
10265 when $ac_cv_func_vfork_works is the empty string. Contributed by
10266 <red@nym.alias.net>.
10268 * config.sub: Add `oskit' as a basic system type. From Godmar Back.
10270 1999-02-26 Ben Elliston <bje@cygnus.com>
10272 * install-sh: Avoid trailing whitespace.
10274 * autoscan.pl (parse_args): Make compatible with Perl version 4.
10276 1999-02-24 Ben Elliston <bje@cygnus.com>
10278 * config.guess: Detect LynxOS 3.x. Contributed by Giuseppe
10281 1999-02-23 Ben Elliston <bje@cygnus.com>
10283 * config.guess: Detect ReliantUNIX on MIPS. Contributed by Andrej
10285 Also remove random trailing whitespace.
10287 1999-02-22 Ben Elliston <bje@cygnus.com>
10289 * autoconf.texi (System Services): Explain the semantics of the
10290 AC_SYS_RESTARTABLE_SYSCALLS macro in greater detail. Suggested by
10293 1999-02-22 Stu Grossman <grossman@cygnus.com>
10295 * acgeneral.m4 (AC_CANONICAL_SYSTEM): Explicitly require
10296 AC_CANONICAL_HOST, AC_CANONICAL_TARGET and AC_CONICAL_BUILD.
10297 (AC_CONFIG_AUX_DIR): Run auxiliary shell scripts through $SHELL.
10298 Do not rely on their magic number.
10299 (AC_CANONICAL_THING): New macro. Cache results.
10300 (AC_CANONICAL_HOST): Reimplement; use AC_CANONICAL_THING.
10301 (AC_CANONICAL_TARGET): Likewise.
10302 (AC_CANONICAL_BUILD): Likewise.
10303 (AC_OUTPUT): Use $SHELL.
10304 (AC_OUTPUT_SUBDIRS): Likewise.
10306 1999-02-19 Ben Elliston <bje@cygnus.com>
10308 * config.guess: Make C code clean for C++ compilers. Contributed
10309 by Markus Oberhumer.
10311 1999-02-19 Ben Elliston <bje@cygnus.com>
10313 * config.guess: Automatically recognise ELF on FreeBSD. From Niall
10314 Smart and improved by Andrew Cagney.
10316 1999-02-19 Felix Lee <flee@cygnus.com>
10318 * acgeneral.m4 (AC_CACHE_VAL): Don't need backticks. This is a
10319 performance enhancement for about a 5% reduction in the runtime of
10320 the generated configure script.
10322 1999-02-18 Ben Elliston <bje@cygnus.com>
10324 * config.guess: Detect NEC EWS4800. Contributed by Koji Arai.
10326 1999-02-11 Ben Elliston <bje@cygnus.com>
10328 * standards.texi: Update from FSF.
10330 1999-02-10 Tom Tromey <tromey@cygnus.com>
10332 * acgeneral.m4 (AC_CACHE_LOAD): Avoid sourcing special files.
10333 Works around bug in some versions of bash.
10335 1999-02-02 Pavel Roskin <pavel_roskin@geocities.com>
10337 * autoconf.texi: Corrected definitions for AC_CONFIG_AUX_DIR and
10338 AC_PROG_F77. Duplicated descriptions for AC_SEARCH_LIBS and
10339 AC_TRY_LINK_FUNC removed.
10341 1999-01-29 Ben Elliston <bje@cygnus.com>
10343 * acspecific.m4 (AC_EXEEXT): Ignore C++ source files.
10345 1999-01-28 Gary V. Vaughan <gvaughan@oranda.demon.co.uk>
10347 * acspecific.m4 (AC_PROG_INSTALL): set INSTALL_SCRIPT to
10348 ${INSTALL} so that automake doesn't propagate install time flags
10349 for INSTALL_PROGRAM into INSTALL_SCRIPT.
10351 1999-01-25 Ben Elliston <bje@cygnus.com>
10353 * install-sh: Use $mkdirprog, not `mkdir' directly. Contributed by
10356 * Makefile.in (clean mostlyclean distclean maintainer-clean):
10359 * config.guess: Synchronise with master FSF version. Add detection
10362 * config.sub: Likewise.
10364 1999-01-23 Ben Elliston <bje@cygnus.com>
10366 * config.guess: Catch more NILE system models. Contributed by
10367 Akim Demaille and Graham Jenkins.
10369 * autoheader.sh: Force $tmpout to close to avoid Windows file
10370 sharing conflicts. From Mark Elbrecht.
10372 1999-01-21 Ben Elliston <bje@cygnus.com>
10374 * autoconf.texi (Introduction): Update bug reporting address.
10376 * config.guess: Likewise.
10378 1999-01-19 Pavel Roskin <pavel_roskin@geocities.com>
10380 * ifnames.sh: Source lines ending with backslash are prepended to
10381 the following line before further processing.
10383 1999-01-19 Ben Elliston <bje@cygnus.com>
10385 * acspecific.m4 (AC_PROG_CXXCPP): Substitute @CXXCPP@ correctly
10386 when $CXXCPP is overridden in the supervisory shell. Contributed
10387 by Michael Schoene.
10389 1999-01-16 Ben Elliston <bje@cygnus.com>
10391 * acgeneral.m4 (AC_ACVERSION): Bump to 2.14.1 for prereleases.
10393 1999-01-14 Scott Bambrough <scottb@corelcomputer.com>
10395 * config.guess: Recognise armv[234][lb] types (ie. `armv*').
10397 1999-01-13 Ben Elliston <bje@cygnus.com>
10399 * autoconf.sh: Remove -v and --verbose from the command line usage
10400 help. They do not exist.
10402 1999-01-12 Scott Bambrough <scottb@corelcomputer.com>
10404 * config.sub: Recognize armv[234][lb] types (ie. `armv*'). Add
10405 alias for the NetWinder; set company to `corel'.
10407 1999-01-11 Akim Demaille <demaille@inf.enst.fr>
10409 * autoreconf.sh (verbose): use either `:' or `echo'.
10410 (aclocal_m4): Renamed from aclocal.
10411 (aclocal_flags): New var.
10412 Run aclocal using $aclocal_flags.
10413 Redirect ls' stderr to /dev/null to avoid spurious messages.
10415 1999-01-11 Ben Elliston <bje@cygnus.com>
10417 * config.guess: Detect HP-UX on MPE/iX machines.
10419 * acgeneral.m4 (AC_ACVERSION): Increment to 2.14.
10421 * autoconf.texi (EDITION): Likewise.
10422 (VERSION): Likewise.
10424 1999-01-10 Ben Elliston <bje@cygnus.com>
10426 * config.guess: Detect Rhapsody on PowerPC and other machines.
10427 Contributed by Wilfredo Sanchez.
10429 * config.sub: Add rhapsody and openstep aliases.
10431 1999-01-09 Ben Elliston <bje@cygnus.com>
10433 * Makefile.in (html): New target. Generate HTML documentation.
10434 (install-strip): Add.
10435 Contributed by Wilfredo Sanchez.
10437 * autoconf.texi (AC_CHECK_LIB): Explain more. Contributed by Bob
10439 (UPDATED): Bump to 1999.
10441 * config.guess: Distinguish between OpenStep and NeXTStep
10442 platforms. Contributed by Wilfredo Sanchez.
10444 1999-01-09 J"orn Rennecke <amylaar@cygnus.co.uk>
10446 * acgeneral.m4 (AC_CHECK_FUNC): Don't actually call the function.
10448 1999-01-09 H.J. Lu <hjl@lucon.org>
10450 * config.guess: Permit multiple concurrent instances by including
10451 the process ID of the shell running this script in temporary
10454 1999-01-08 Ben Elliston <bje@cygnus.com>
10456 * autoconf.sh: More useful and up-to-date help from the --help
10457 option. Contributed by Akim Demaille.
10459 * autoheader.sh: Likewise.
10461 * autoreconf.sh: Likewise.
10463 * autoscan.pl: Likewise.
10465 * autoupdate.sh: Likewise.
10467 * ifnames.sh: Likewise.
10469 * config.guess: Detect Cray T3E and NEC SX-4, SX-5 machines.
10470 Contributed by Andreas Schott.
10472 1999-01-06 Ben Elliston <bje@cygnus.com>
10474 * autoconf.texi (AC_OBJEXT): Correct documentation.
10476 1999-01-05 Ben Elliston <bje@cygnus.com>
10480 1999-01-04 Ben Elliston <bje@cygnus.com>
10482 * autoconf.texi (AC_CHECK_FILE): Document.
10483 (AC_CHECK_FILES): Likewise.
10484 (AC_SEARCH_LIBS): Likewise.
10485 (AC_FUNC_SELECT_ARGTYPES): Use Jeff Garzik's version.
10486 (AC_C_STRINGIZE): Likewise.
10487 (AC_CYGWIN): Document.
10488 (AC_EXEEXT): Likewise.
10489 (AC_OBJEXT): Likewise.
10490 (AC_MINGW32): Likewise.
10491 (AC_TRY_LINK_FUNC): Likewise.
10492 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
10494 1999-01-01 Ben Elliston <bje@cygnus.com>
10498 * acspecific.m4 (AC_PROG_CXX_WORKS): Specify an explicit return
10499 type for `main' to keep modern C++ compilers happy.
10501 1998-12-28 Jeff Garzik <jgarzik@pobox.com>
10504 (AC_SEARCH_LIBS, AC_CHECK_FILE, AC_CHECK_FILES,
10505 AC_TRY_LINK_FUNC): Document.
10506 (AC_CHECK_LIB): Indicate the absence of
10507 action-if-not-found will not kill default action.
10508 (AC_SYS_INTERPRETER): Alphabetize with rest of section,
10509 s/ac_cv_sys_interpreter/interpval/
10512 (AC_TRY_LINK_FUNC): Fix arg transposition.
10513 (AC_SEARCH_LIBS): Require autoconf 2.13, add other-libs arg.
10514 (AC_CHECK_FILES): Add underscore to HAVE_file define.
10517 (AC_SYS_INTERPRETER): New shell var 'interpval' stores
10518 internal var ac_cv_sys_interpreter.
10520 1998-12-27 Ben Elliston <bje@cygnus.com>
10522 * autoconf.texi (AC_PROG_INSTALL): Update.
10523 (AC_FUNC_ALLOCA): Correct code fragment.
10524 (AC_FUNC_SELECT_ARGTYPES): Document.
10525 (AC_C_STRINGIZE): Likewise.
10526 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Likewise.
10528 * acspecific.m4 (AC_CYGWIN): Rename from `AC_CYGWIN32'.
10529 (AC_CYGWIN32): Warn about deprecated usage. Forward to AC_CYGWIN.
10531 * config.sub: Drop `32' from `Cygwin32'.
10533 * config.guess: Likewise.
10534 Handle BSD/OS variants for non-x86 machines. Contributed by Chris
10539 * configure: Rebuild.
10541 1998-12-26 Ben Elliston <bje@cygnus.com>
10543 * autoreconf.sh (stamp): Add missing quote.
10545 * mkinstalldirs: Write output which is not diagnostic to standard
10546 output and not standard error. Suggested by Steve Robbins.
10548 1998-12-11 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10550 * acconfig.h, acgeneral.m4, acspecific.m4, autoconf.texi: Change
10551 all of the Fortran 77 code to use the new `F77' prefix instead of
10552 the older `FC' prefix.
10554 1998-12-11 Ben Elliston <bje@cygnus.com>
10556 * acgeneral.m4 (AC_ACVERSION): Bump to 2.13.
10558 * autoconf.texi (EDITION): Likewise.
10559 (VERSION): Likewise.
10561 1998-10-30 Jeff Garzik <jgarzik@pobox.com>
10563 * autoconf.texi: Document AC_CACHE_LOAD and AC_CACHE_SAVE. Explain
10564 how AC_CACHE_SAVE can be used as a means of syncing the cache to
10565 disk prior to doing something potentially fatal in configure.
10567 1998-10-29 Alexandre Oliva <oliva@dcc.unicamp.br>
10569 * autoreconf.sh: Support several automake command line options,
10570 and run aclocal and automake when needed. Also, create stamp files
10571 just like automake's Makefiles would do for config headers.
10572 Additional contributions from Tom Tromey.
10574 1998-10-24 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10576 * acgeneral.m4 (AC_LANG_FORTRAN77): Remove [] (i.e. the m4 quotes)
10577 since it was confusing the test suite. Also make `f77' the default
10578 for FC, otherwise the test suite fails.
10580 * autoconf.texi (Fortran 77 Compiler Characteristics): Added new
10581 node documenting the new AC_F77_LIBRARY_LDFLAGS macro.
10583 * acspecific.m4 (AC_F77_LIBRARY_LDFLAGS): New macro to determine
10584 the linker flags (e.g. `-L' and `-l') for the Fortran 77 intrinsic
10585 and run-time libraries.
10587 1998-10-24 Ben Elliston <bje@cygnus.com>
10589 * acspecific.m4 (AC_FUNC_SELECT_ARGTYPES): New macro. Detects the
10590 types of formal arguments to select(). Contributed by Lars Hecking.
10592 * acconfig.h (SELECT_TYPE_ARG1): Add.
10593 (SELECT_TYPE_ARG234): Likewise.
10594 (SELECT_TYPE_ARG5): Likewise.
10596 * config.guess: Hide warnings emitted by the HP linker when
10597 generating a PA 2.0 object file. Contributed by Marcus Thiessel.
10599 1998-10-20 Ben Elliston <bje@cygnus.com>
10601 * acgeneral.m4 (AC_LANG_RESTORE): Fix a typo spotted by Noah
10604 1998-10-09 Tom Tromey <tromey@cygnus.com>
10606 * Makefile.in (autoconf.m4f): New target.
10607 (autoheader.m4f): Likewise.
10609 1998-10-08 Ben Elliston <bje@cygnus.com>
10611 * acgeneral.m4 (AC_TRY_LINK_FUNC): Fix macro ordering.
10613 Sun Oct 4 21:57:20 1998 Tom Tromey <tromey@cygnus.com>
10615 * autoconf.texi (Defining Symbols): Documented third argument to
10617 * autoheader.m4 (AC_DEFINE_UNQUOTED): Generate `verbatim'
10618 assignment if third argument given.
10619 (AC_DEFINE): Likewise.
10620 * acgeneral.m4 (AC_DEFINE): Handle case where $# is 3.
10621 (AC_DEFINE_UNQUOTED): Likewise.
10622 * autoheader.sh: Echo $verbatim if not empty.
10624 1998-10-03 Ben Elliston <bje@cygnus.com>
10626 * acconfig.h (FC_NO_MINUS_C_MINUS_O): Add to complete the Fortran
10629 * README: Update bug reporting address. Include maintainer info.
10631 1998-10-02 Ben Elliston <bje@cygnus.com>
10633 * acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): New macro. This
10634 macro can be used to ensure that a configure script will not run
10635 on a second system without removing the cache and re-running
10636 configure. Contributed by Alexandre Oliva.
10638 1998-09-29 Ben Elliston <bje@cygnus.com>
10640 * acgeneral.m4 (AC_SEARCH_LIBS): New macro. Searches a series of
10641 libraries for a given function. Contributed by Jim Blandy.
10642 (AC_TRY_LINK_FUNC): New macro. Again, from Jim.
10644 1998-09-28 Ben Elliston <bje@cygnus.com>
10646 * config.guess: Detect multiprocessor DC/OSx running on Pyramid
10647 MIServer machines. Contributed by Graham K. Jenkins.
10649 * acgeneral.m4 (AC_CHECK_PROG): Fix a bug if the supplied path
10650 contains colons. This was observed with some versions of NetBSD
10651 `sh' and some versions of `bash'.
10652 (AC_PATH_PROG): Likewise. Contributed by Tom Yu.
10654 1998-09-27 Ben Elliston <bje@cygnus.com>
10656 * Makefile.in (all): Generate frozen .m4 files at build time.
10657 (install): Do not freeze .m4 files. Install pre-frozen .m4f files
10658 using $(INSTALL_DATA).
10659 (.m4.m4f): Freeze files if m4 supports stored internal state.
10660 Contributed by Karl Heuer.
10662 * install-sh: Import latest version from the FSF.
10664 * mkinstalldirs: Likewise.
10666 * config.guess: Apply the sysconf(2) test to HP 9000/600-series,
10667 9000/802, 9000/804 and 9000/892 machines. Contributed by Pavel
10669 Detect UnixWare 7. Contributed by Paul Gampe.
10671 * acspecific.m4 (AC_PROG_INSTALL): Substitute `INSTALL_SCRIPT'.
10672 Contributed by François Pinard
10673 (AC_C_STRINGIZE): New macro to test the availability of the
10674 stringizing operator in the C preprocessor. Contributed by Arnold
10675 Robbins on behalf of the GNU AWK project.
10677 * acconfig.h (HAVE_STRINGIZE): Add for the AC_C_STRINGIZE macro.
10679 * testsuite/Makefile.in (check): If DejaGNU is not installed,
10680 print a warning and skip the `dejacheck' target (which will fail).
10681 (site.exp): Use tests to guard commands from generating error
10682 messages if `site.exp' or `site.bak' do not exist. Contributed by
10684 (dejacheck): Remove unused target.
10686 1998-09-26 Ben Elliston <bje@cygnus.com>
10688 * texinfo.tex: Import latest version from the FSF.
10690 * config.guess: Treat all SPARC variant processors running BSD/OS
10691 as just `sparc' for compatibility reasons. Contributed by Chris
10694 * acgeneral.m4 (AC_CHECK_FILE): New macro. Checks for the
10695 existence of a file in the file system (native only).
10696 Contributed by Ken Raeburn.
10697 (AC_CHECK_FILES): Likewise.
10699 1998-09-15 Didier Verna <verna@inf.enst.fr>
10701 * acspecific.m4 (AC_PATH_XTRA): use X_EXTRA_LIBS add-on libraries
10702 in the test for libICE. It is needed at least under Solaris.
10704 1998-09-15 Ben Elliston <bje@cygnus.com>
10706 * config.guess: Handle strange processor ID assignments on AIX
10707 machines. Contributed by Didier Desseaux.
10709 Sat Sep 12 16:25:00 1998 Aaron Crane <aaronc@pobox.com>
10711 * acgeneral.m4 (AC_CHECK_TYPE): Changed the egrep regex to avoid
10712 incorrectly assuming that if foobar_t is defined, then so is
10715 Tue Sep 8 14:06:04 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10717 * acgeneral.m4: Make the following macros Fortran 77 aware
10718 (i.e. conditionalize whether to `#include "confdefs.h"', etc.):
10723 * acgeneral.m4 (AC_LANG_FORTRAN77): Rename `AC_LANG_FORTRAN' to
10724 `AC_LANG_FORTRAN77'. Change the Fortran 77 language macro from
10725 `FORTRAN' to `FORTRAN77'.
10726 (AC_LANG_RESTORE): Change the Fortran 77 language macro from
10727 `FORTRAN' to `FORTRAN77'
10729 * autoconf.texi: Updated Fortran 77 documentation, particularly
10730 for `AC_TRY_COMPILE', `AC_TRY_LINK' and `AC_CHECK_LIB'.
10732 Thu Sep 3 09:34:39 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
10734 * autoconf.texi: Added Fortran 77 documentation.
10736 * acspecific.m4 (AC_PROG_FC): New macro. Determine a Fortran
10738 (AC_PROG_FC_WORKS): New macro.
10739 (AC_PROG_FC_GNU): New macro.
10740 (AC_PROG_FC_G): New macro.
10741 (AC_PROG_FC_C_O): New macro.
10743 * acgeneral.m4: Add FFLAGS (Fortran 77 flags).
10744 (AC_LANG_FORTRAN): New macro.
10745 (AC_LANG_RESTORE): Make Fortran 77 aware.
10746 (AC_TRY_COMPILER): Make Fortran 77 aware (i.e. conditionalize
10747 whether to `#include "confdefs.h"').
10749 Thu Jun 18 12:13:27 1998 Ian Lance Taylor <ian@cygnus.com>
10751 * acspecific.m4 (AC_EXEEXT): Correct setting of ac_exeext when
10752 there is no extension.
10754 Mon Jun 1 12:30:39 1998 Ian Lance Taylor <ian@cygnus.com>
10756 * acgeneral.m4 (AC_CHECK_PROG): Set IFS to just ":" when searching
10758 (AC_PATH_PROG): Likewise.
10759 * acspecific.m4 (AC_PROG_INSTALL): Likewise.
10760 (AC_PROG_CC): On cygwin32, if neither gcc nor cc
10761 are found, look for cl.
10762 (AC_PROG_CXX): Look for cl after all other choices.
10763 * configure: Rebuild.
10765 Thu May 28 18:37:36 1998 Ian Lance Taylor <ian@cygnus.com>
10767 * acgeneral.m4 (AC_ACVERSION): Bump to 2.12.2.
10769 Add support for Visual C++:
10770 * acgeneral.m4 (ac_exeext, ac_objext): New variables.
10771 (ac_link): Use ac_exeext.
10772 (AC_TRY_COMPILER, AC_TRY_LINK, AC_TRY_RUN_NATIVE): Likewise.
10773 (AC_TRY_CPP): Remove lines from stderr which contain only the name
10775 (AC_REPLACE_FUNCS): Use ac_objext.
10776 * acspecific.m4 (AC_PROG_CC): Check whether compiler supports -g
10777 even if it is not gcc.
10778 (AC_PROG_CXX): Likewise.
10779 (AC_PROG_CPP): Try running the compiler with the -nologo option.
10780 (AC_FUNC_ALLOCA): Check for _MSC_VER. Use ac_objext.
10781 (AC_FUNC_MEMCMP): Use ac_objext.
10782 (AC_STRUCT_ST_BLOCKS): Likewise.
10783 (AC_OBJEXT): New macro.
10784 (AC_CYGWIN32, AC_MINGW32, AC_EXEEXT): New macros.
10785 * configure: Rebuild.
10787 * Makefile.in (editsh): Substitute for SHELL.
10788 (Makefile, config.status): Use $(SHELL) when running
10790 * autoconf.sh: Change initial /bin/sh to @SHELL@.
10791 * autoheader.sh: Likewise.
10792 * autoreconf.sh: Likewise.
10793 * autoupdate.sh: Likewise.
10794 * ifnames.sh: Likewise.
10796 Thu Apr 30 16:29:00 1998 Syd Polk <spolk@cygnus.com>
10798 * acspecific.m4 (SETPGRP_VOID): The test for setpgrp needs
10799 to have unistd.h included or the DEC compiler does not
10800 flag the error that triggers setting the variable.
10802 Tue Nov 18 14:21:38 1997 Eric Mumpower <nocturne@cygnus.com>
10804 * autoreconf.sh: Do the right thing when AC_CONFIG_HEADER is
10805 given more than one filename. As noted in the "Invoking
10806 autoheader" node of the info files, autoheader will use the first
10807 file argument given to AC_CONFIG_HEADER. Prior to this patch,
10808 autoreconf would end up executing incorrect shell code (e.g.
10809 "test ! -f 1.h 2.h.in") in such cases.
10810 Patch submitted in parallel to bug-gnu-utils@prep.ai.mit.edu.
10812 Fri Oct 3 18:10:39 1997 Ian Lance Taylor <ian@cygnus.com>
10814 * acgeneral.m4 (AC_CACHE_SAVE): Add a grep when checking whether
10815 set quotes correctly, to avoid a cache overflow on HP-UX 9.
10816 * configure: Rebuild.
10818 Wed Sep 11 15:35:19 1997 Chris Provenzano <proven@cygnus.com>
10820 * acgeneral.m4 : Always set SHELL and substitute SHELL.
10821 When looking for a path for an executable allow the
10822 user to override with an DOS path.
10823 * configure : New configure generated by autoconf.
10825 Thu Sep 4 22:30:40 1997 Jeffrey A Law (law@cygnus.com)
10827 * acspecific (AC_PROC_INSTALL): Don't use installbsd on OSF.
10829 Wed Sep 3 23:00:44 1997 Chris Provenzano <proven@cygnus.com>
10831 * configure : New configure generated by autoconf.
10832 * Makefile.in : Set SHELL=@SHELL@. configure now substiutes
10833 ${CONFIG_SHELL-/bin/sh} in for @SHELL@ at configure time.
10835 Mon Aug 11 01:40:37 1997 Jason Molenda <crash@cygnus.co.jp>
10837 * acspecific (AC_FUNC_VFORK): If cross-compiling, set
10838 $ac_cv_func_vfork_works to $ac_cv_func_vfork (assume vfork works
10841 Tue Aug 5 23:00:05 1997 Ian Lance Taylor <ian@cygnus.com>
10843 * acgeneral.m4 (AC_VERSION): Set to 2.12.1.
10844 (AC_CANONICAL_HOST): Use CONFIG_SHELL to run $ac_config_sub and
10846 (AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Likewise.
10848 Tue Dec 10 19:38:59 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10850 * acgeneral.m4 (AC_CACHE_SAVE): Use grep to prevent overflowing
10851 HP-UX 9.05 /bin/sh buffer in case statement. From Eric Backus.
10853 Mon Dec 9 23:39:17 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10855 * acspecific.m4 (AC_FUNC_GETLOADAVG): Add a semicolon between
10856 shell variable assignments; the evaluation order varies between
10859 Tue Nov 26 13:00:28 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10863 Wed Nov 20 13:00:21 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10865 * Test release 2.11.2.
10867 * acgeneral.m4 (AC_OUTPUT): Remove a now-wrong test for whether to
10868 make an unquoted here document.
10869 (AC_CACHE_SAVE): Double-up backslashes in double quotes.
10872 * Test release 2.11.1.
10874 * acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Make the final
10875 newline consistent with the other AC_TRY_* macros: no final dnl
10876 is needed to avoid extraneous blank lines.
10877 (AC_CHECK_LIB, AC_HAVE_LIBRARY, AC_COMPILE_CHECK): Remove
10879 (AC_DIVERSION_CMDS, AC_DIVERSION_ICMDS): New macros.
10880 (AC_OUTPUT_COMMANDS, AC_OUTPUT): Use them instead of appending to
10883 * acgeneral.m4 (AC_CACHE_SAVE): Handle cache variable values
10884 correctly even if they contain single quote, or are quoted by
10885 the shell. From Paul Eggert.
10886 (AC_INIT_PREPARE): Set LC_MESSAGES to C if set.
10888 Set LC_CTYPE to C if set.
10889 From Thomas Winder.
10890 * autoconf.sh, autoheader.sh: Likewise set LC_MESSAGES and LC_CTYPE.
10892 Tue Nov 19 10:29:06 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10894 * testsuite/autoconf.g/sizeof.exp: Use the v2 macro name.
10896 * acgeneral.m4 (AC_OUTPUT_FILES, AC_OUTPUT_HEADER): Support
10897 creating output files from multiple pieces, concatenated.
10898 Suggested by Theodore Ts'o.
10899 (AC_LINK_FILES): If called more than once, concatenate the
10900 arguments. From Roland McGrath.
10901 (AC_CONFIG_SUBDIRS): Likewise.
10902 (AC_OUTPUT_COMMANDS): New macro. Suggested by
10904 (AC_OUTPUT): Use the lists it sets.
10906 * acgeneral.m4 (AC_TRY_RUN_NATIVE): Fail if linking fails, like
10908 (AC_TRY_RUN): Don't require AC_C_CROSS.
10909 (AC_TRY_COMPILER): New macro.
10910 (AC_LANG_C, AC_LANG_CPLUSPLUS): Set cross_compiling.
10911 * acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Use
10912 AC_TRY_COMPILER instead of AC_TRY_LINK.
10913 (AC_PROG_CC_GNU, AC_PROG_CC_G): Split out of AC_PROG_CC.
10914 (AC_PROG_CXX_GNU, AC_PROG_CXX_G): Split out of AC_PROG_CXX.
10915 For the *_G macros, make the cache variable names non-GNU-specific.
10916 (AC_C_CROSS): Mark obsolete, and otherwise a no-op.
10918 * AUTHORS: New file.
10919 * Makefile.in (DISTFILES): Add it.
10921 * acspecific.m4 (AC_FUNC_MMAP): Update the getpagesize
10922 declarations from getpagesize.h. Check for unistd.h.
10924 * acgeneral.m4 (AC_OUTPUT_FILES): Run the eval in a subshell.
10926 * acfunctions: Map fnmatch, strftime, getpgrp, setpgrp to their
10929 * acgeneral.m4 (AC_OUTPUT_HEADER): Check that $CONFIG_HEADERS is
10930 unset, not that it's empty.
10932 Mon Nov 18 10:24:50 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10936 Sun Nov 17 20:12:05 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10938 * acspecific.m4 (AC_FUNC_STRCOLL): Make the checking message more
10941 Thu Nov 14 11:15:27 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10943 * acheaders: Add entry for malloc.h. Make the strings.h entry
10944 suggest AC_CHECK_HEADERS instead of AC_HEADER_STDC.
10946 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Move initialization of
10947 ac_max_here_lines here from AC_OUTPUT_HEADER.
10949 * autoheader.sh: Take the multiple-include protection back out.
10950 It's not needed for a file that just #defines stuff, and, as Ken
10951 Raeburn pointed out in Apr 1994:
10952 Since you don't make it optional, and you don't give the writer of
10953 configure.in much control over the name of the symbol, it also would
10954 prevent one "config.h" file in a subdirectory from including
10955 "../config.h" as a way to avoid duplicating some common tests.
10957 * acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): Don't try
10958 running a program, just try linking.
10959 (AC_C_CROSS): Make the wording clearer.
10961 Wed Nov 13 10:07:14 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10963 * acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Check whether the
10964 compiler works before checking whether it's a GNU compiler.
10965 (AC_FUNC_VFORK): Call _exit after perror.
10966 (AC_PATH_XTRA): Go back to using -R, as setting an env var as part
10967 of CC doesn't get eval'd correctly to actually work.
10968 Directly test whether a space is needed after -R.
10969 Don't add "-L" to LDFLAGS if $x_libraries is empty.
10970 (AC_FUNC_STRFTIME): Check for it in -lintl only if it's not in the
10973 * Test release 2.10.3.
10975 * testsuite/Makefile.in (dejacheck): New target, suggested by Tom
10977 (check): Depend on dejacheck.
10979 Tue Nov 12 00:06:14 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
10981 * acgeneral.m4 (AC_OUTPUT_FILES): Split the list of sed commands in
10982 conftest.subs into multiple files named conftest.s[1-9][0-9]*.
10983 Create a pipeline of sed commands that use these files, then delete
10984 the temporary files. From John W. Eaton.
10986 * acspecific.m4 (AC_AIX, AC_MINIX): Remove warnings about AC_TRY_LINK.
10987 These macros don't change the linkage options.
10989 * Test release 2.10.2.
10991 * acspecific.m4 (AC_PROG_CC, AC_PROG_CXX) [GCC]: Use -O2 instead
10992 of -O. Suggested by fnf@ninemoons.com (Fred Fish).
10994 * acgeneral.m4 (AC_OUTPUT_HEADER): Support passing
10995 AC_CONFIG_HEADER a value containing shell variables. Suggested by
10996 Markku Savela and Julian Onions.
10997 * acgeneral.m4 (AC_TRY_RUN_NATIVE, AC_TRY_LINK, AC_TRY_COMPILE,
10998 AC_TRY_CPP): Show the test program in config.log if the test fails.
11001 * testsuite/config/unix.exp: Run the configure script as "./script"
11002 in case the user doesn't have "." in their PATH.
11004 Mon Nov 11 18:02:58 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
11006 * acgeneral.m4 (AC_TRY_COMPILE, AC_TRY_LINK): Deal with smart
11007 compilers that know that an unused function doesn't have to be
11008 linked in: call the function directly from main().
11009 (Removing a legacy from when they tried to run the code, I think-djm.)
11010 From fnf@ninemoons.com (Fred Fish).
11012 * acspecific.m4 (AC_FUNC_GETLOADAVG): Rename ac_save_LIBS to avoid
11013 a clash with AC_CHECK_LIB.
11015 (AC_FUNC_FNMATCH, AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
11016 AC_FUNC_STRCOLL, AC_FUNC_MEMCMP): Rename cache variables to avoid
11017 wrong results if someone calls AC_CHECK_FUNC for these functions.
11019 * autoheader.sh: Don't cmp with config.h.in if it doesn't exist yet.
11020 Don't frob lines 1-@TOP@ or @BOTTOM@-end of acconfig.h's.
11021 Accept TAB as well as SPC after #undef in acconfig.h's.
11023 Sat Nov 9 01:54:04 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
11025 * Test release 2.10.1.
11027 * acspecific.m4 (AC_PROG_CC_WORKS, AC_PROG_CXX_WORKS): New macros
11028 adapted from Bruno Haible.
11029 (AC_PROG_CC, AC_PROG_CXX): Use them.
11030 * acgeneral.m4 (AC_TRY_RUN_NATIVE): Split out of AC_TRY_RUN.
11031 (AC_TRY_LINK): Check that the executable exists after linking.
11032 (AC_EGREP_CPP): Disable m4 quote chars around egrep, so [] in regexps
11035 * autoheader.sh: Add multiple-inclusion protection for config.h.
11037 * acgeneral.m4 (AC_PREFIX_PROGRAM): Pretty up the output.
11038 (AC_CHECK_LIB): Include the function being tested in the message.
11039 (AC_CHECK_PROG, AC_PATH_PROG): Add a dummy variable to force word
11040 splitting on the path.
11042 * acspecific.m4 (AC_FUNC_MMAP): Remove check and uses of valloc.
11043 It turns out it's a separate issue, for GNU grep.
11044 Replace the test program with a new version from Mike Haertel.
11046 * acgeneral.m4 (AC_CACHE_SAVE): Accept the HP-UX sh 'set' output
11047 format. From Marcus Daniels.
11049 * acgeneral.m4 (AC_MSG_CHECKING, AC_CHECKING): Write a message to
11050 config.log also. From T.E.Dickey.
11051 (AC_CHECK_LIB, AC_CHECK_HEADER, AC_CHECK_HEADERS): Replace use of
11052 tr with sed, to avoid a bug in the AIX 4.1.3.0 tr reported by
11053 Alain Knaff. He says that version of tr interprets \055 as a
11054 range specifier, like an unquoted -.
11055 * acspecific.m4 (AC_PROG_MAKE_SET, AC_CHECK_HEADER_DIRENT,
11056 AC_CHECK_HEADERS_DIRENT): Ditto.
11058 * acspecific.m4 (AC_FUNC_SETPGRP): New macro.
11059 * acconfig.h (SETPGRP_VOID): New entry.
11062 * acspecific.m4 (AC_PATH_X_DIRECT): Try /lib/usr/lib/X11 for A/UX.
11063 From Guillermo Gomez.
11064 (AC_PATH_XTRA): Replace -R with adding LD_RUN_PATH to CC in the
11065 Solaris kludge. Suggested by Paul Eggert.
11066 Define X_DISPLAY_MISSING with AC_DEFINE, and
11067 if not using X, clear out the X variables.
11068 Check system-dependent libs before system-independent ones.
11069 Check for more system-dependent libs.
11071 Use AC_CHECK_FUNC in the system-dependent libs tests.
11072 From Larry Schwimmer.
11073 Wart removal: Don't require AC_ISC_POSIX.
11074 (AC_ISC_POSIX): Require AC_PROG_CC, since it uses $GCC.
11075 From gvran@uddeborg.pp.se.
11076 Don't blather about being called before AC_TRY_LINK,
11077 which is now called in AC_PROG_CC. Don't encourage using this macro.
11078 * acconfig.h (X_DISPLAY_MISSING): Add entry.
11080 Fri Nov 8 16:02:08 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
11082 * acspecific.m4 (AC_PATH_X_DIRECT): Search for /usr/X11 before
11083 /usr/X11Rn, etc. From bostic@bsdi.com (Keith Bostic).
11085 * acgeneral.m4 (AC_CHECK_TYPE) [STDC_HEADERS]: Check in stddef.h, too.
11086 From Glenn P. Davis.
11087 Don't require the second char after the type name to be a space.
11088 (AC_TRY_RUN): Remove the test files before executing the "failure"
11091 * acspecific.m4 (AC_PROG_CXX): Check for cc++ for NexT.
11093 (AC_PROG_CC, AC_PROG_CXX): Check whether -g works even if
11094 C[XX]FLAGS is set. From T.E.Dickey.
11095 (AC_FUNC_FNMATCH): New macro.
11096 * acconfig.h (HAVE_FNMATCH): New entry.
11098 * acgeneral.m4 (AC_REPLACE_FUNCS): Call AC_CHECK_FUNCS to do the work.
11100 Tue Oct 29 13:03:44 1996 Doug Evans <dje@canuck.cygnus.com>
11102 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Fix thinko in computation of
11103 ac_sub_srcdir in relative but not "." case.
11105 Thu Oct 10 22:29:37 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
11107 * acgeneral.m4 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET,
11108 AC_CANONICAL_BUILD): Allow the os part of the string returned by
11109 config.sub to contain dashes, as in "linux-gnu".
11111 Fri Jul 19 16:59:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11113 * acgeneral.m4 (AC_CHECK_TYPE): Add dnl so regexp doesn't have a
11116 Wed Jun 12 13:56:57 1996 David J MacKenzie <djm@catapult.va.pubnix.com>
11118 * acgeneral.m4 (AC_CHECK_TYPE): Remove extra ')'.
11120 * Many files: Update the FSF street address.
11122 Sun Jun 9 17:54:23 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11124 * acgeneral.m4 (AC_CHECK_LIB): Add missing \ in last change.
11126 Fri Jun 7 11:54:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11128 * acgeneral.m4 (AC_CHECK_LIB): Identifierize lib name in $ac_tr_lib.
11130 Mon May 27 13:49:02 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11132 * acspecific.m4 (AC_SYS_LONG_FILE_NAMES): If $TMPDIR names an
11133 existing, writable directory, then test it instead of /tmp, /var/tmp,
11134 and /usr/tmp for long file name support.
11136 * acgeneral.m4 (AC_PREREQ): Prepend "FATAL ERROR: " to msg.
11138 Sun May 26 19:07:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11140 * acspecific.m4 (AC_PROG_MAKE_SET): Sanitize $MAKE for use as
11143 * acgeneral.m4 (AC_CHECK_TYPE): Tighten regexp so ulong doesn't match
11146 * autoheader.sh: Put $syms in a temporary file and use fgrep -f.
11148 Tue May 7 13:20:33 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
11150 * acgeneral.m4: Version 2.10 released.
11152 Tue Mar 26 13:03:12 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11154 * acgeneral.m4 (AC_OUTPUT_HEADER): Make subdir if necessary.
11156 Thu Mar 21 10:52:03 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11158 * acspecific.m4 (AC_FUNC_GETLOADAVG): Fix name of -lelf cache variable
11159 name in test of it.
11160 (AC_PATH_XTRA): Fix name of -ldnet cache variable name in test of it.
11162 Wed Mar 20 09:37:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11164 * acgeneral.m4 (AC_CHECK_LIB): Use \055 for -; leading and trailing
11165 both lose with some tr.
11167 * acspecific.m4 (AC_C_CONST): Remove check for gcc 2.7 bug.
11168 RMS wants everyone to lose until gcc is fixed.
11170 * acgeneral.m4 (AC_CHECK_LIB): Put - last in tr set so it is not
11171 considered a range.
11173 * acspecific.m4 (AC_C_CONST): Add check for gcc 2.7 bug.
11174 From Paul Eggert and Jim Meyering.
11176 * acgeneral.m4 (AC_CHECK_LIB): Omit `char $2' decl when $2 is `main'.
11178 Wed Mar 13 22:10:42 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11180 * acgeneral.m4 (AC_CHECK_LIB): Put quotes around _ when
11181 constructing cache variable name, to separate it from preceding
11184 Sat Mar 16 15:53:22 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11186 * Version 2.9 released.
11187 * acgeneral.m4 (AC_ACVERSION): Updated to 2.9.
11189 Wed Mar 13 12:49:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11191 * acgeneral.m4 (AC_OUTPUT_HEADER): Undo last change to $ac_dB,
11192 and instead change the code written into conftest.hdr.
11194 Tue Mar 12 02:51:24 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11196 * acgeneral.m4 (AC_OUTPUT_HEADER): Apply Jan 15 fix to
11197 AC_OUTPUT_MAKE_DEFS here too: Match `#define foo' without trailing
11198 space in confdefs.h. Before configure would lose if all its trailing
11199 whitespace got stripped, and that can happen in mail.
11201 Sun Mar 10 20:30:09 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11203 * acgeneral.m4 (AC_INIT_NOTICE): Add 95 and 96 to copyright years.
11205 Sat Mar 9 18:28:42 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11207 * acgeneral.m4 (AC_CHECK_LIB): Add missing [.
11209 Fri Mar 8 15:06:48 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11211 * acgeneral.m4 (AC_CHECK_LIB): Declare $2 to override gcc2 internal
11214 * Version 2.8 released.
11216 Wed Mar 6 14:38:31 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
11218 * acgeneral.m4 (AC_CHECK_LIB): Use a cache variable name containing
11219 both the library and function name.
11221 Tue Jan 16 16:39:21 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11223 * acgeneral.m4 (AC_CHECK_PROG): Take optional 6th arg, full name
11224 of program to reject if found in search path.
11225 * acspecific.m4 (AC_PROG_CC): If gcc not found use AC_CHECK_PROG
11226 for cc, rejecting /usr/ucb/cc.
11227 Fatal configure error if no $CC found at all.
11229 Mon Jan 15 15:57:36 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11231 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Match `#define foo' without
11232 trailing space in confdefs.h. Before configure would lose if
11233 all its trailing whitespace got stripped, and that can happen in mail.
11235 Fri Jan 12 14:38:37 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11237 * acgeneral.m4 (AC_TRY_CPP): Use "" instead of '' when setting
11238 ac_try; we need one level of expansion there for $ac_cpp, then
11239 AC_TRY_EVAL does one more for its the expansion of $ac_cpp.
11241 Thu Jan 11 10:38:19 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11243 * acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Removed echo cmds
11244 from $ac_cpp, $ac_compile, and $ac_link.
11245 (AC_TRY_EVAL, AC_TRY_COMMAND): New macros for running tests' commands.
11246 Always put the configure source line and command line into config.log.
11247 (AC_TRY_CPP, AC_TRY_COMPILE, AC_TRY_LINK): Use them.
11248 * acspecific.m4: Use AC_TRY_EVAL and AC_TRY_COMMAND for running
11251 Fri Jan 5 17:50:28 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11253 * acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT):
11254 Rearrange logic: do no tests if $with_x=no; make incl and lib
11255 tests independent, and distinguish unset from empty.
11257 * autoconf.sh (undefined macro check): \ sed \s inside "". If
11258 grep $name in $infile misses, give error message that there must
11259 be an Autoconf bug.
11261 Tue Dec 19 10:49:20 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11263 * autoconf.sh: Ignore undefined macros in shell comments.
11265 Mon Dec 11 22:12:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11267 * acspecific.m4 (AC_PROG_CC_C_O): Rearrange logic to get the right
11270 Fri Nov 24 17:26:38 1995 Miles Bader <miles@gnu.ai.mit.edu>
11272 * autoconf.sh: Define $AWK from the subst @AWK@, and use it.
11274 Wed Nov 22 11:01:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11278 * autoheader.m4 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Expand the
11279 optional action args. From jj@jfch.vc.cvut.cz (Jakub Jelinek).
11281 * acgeneral.m4 (AC_CHECK_LIB): Translate - in library names to _.
11282 (AC_ARG_PROGRAM): Use cat instead of echo to avoid SysV echo
11283 interpreting backslashes. From kim@tac.nyc.ny.US (Kimmo Suominen).
11284 (AC_OUTPUT_FILES): Quote $ and \ for being in an unquoted here
11285 document. From Paul Eggert.
11287 * acspecific.m4 (AC_PATH_X_XMKMF): Use ${MAKE-make}, not plain make.
11288 (AC_C_CONST): Avoid a warning from g++.
11289 From tgl@sss.pgh.pa.us (Tom Lane).
11290 (AC_FUNC_MMAP): Check for valloc and getpagesize; don't rely on
11292 (AC_HEADER_STDC): If cross-compiling, assume the ctype macros are
11293 ANSI. From dje@cygnus.com (Doug Evans).
11294 (AC_TYPE_SIGNAL) [__cplusplus]: Give a full prototype.
11295 From churritz@cts.com (Chad Hurwitz).
11296 (AC_FUNC_VFORK): If cross-compiling, use AC_CHECK_FUNC instead.
11297 From Steve Chamberlain.
11299 Tue Sep 5 20:37:48 1995 Paul Eggert <eggert@twinsun.com>
11301 * acspecific.m4 (X_LIBS): Use `-R lib', not `-Rlib', since Sun
11302 CC 3.0 requires this.
11304 Tue Aug 8 20:10:12 1995 Paul Eggert <eggert@twinsun.com>
11306 * acgeneral.m4: When creating config.status, start a new
11307 here-script just before building conftest.subs, to work around
11308 a bug in the HP-UX 9 HP9000-800 sh.
11310 Tue Nov 21 17:36:41 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11312 * Makefile.in (install): Undo last ASCRIPTS panic change.
11313 The bug reporter hadn't cleaned up his source dir.
11315 Mon Nov 20 15:26:50 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11319 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Prettify usage message somewhat.
11321 * Makefile.in: Use @bindir@, @datadir@, @infodir@.
11322 (install): Find ASCRIPTS in $(srcdir).
11324 Sat Nov 18 14:21:55 1995 Karl Berry <karl@cs.umb.edu>
11326 * autoconf.sh: Allow lowercase letters in the undefined-macro name.
11328 Fri Nov 17 15:05:44 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11330 * Version 2.5 released.
11332 Fri Nov 17 15:23:04 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11334 * acgeneral.m4 (AC_CHECK_LIB): Don't start tr argument with '+',
11335 so as not to confuse old GNU tr's. From
11337 (AC_INIT_PARSE_ARGS): Make sure MFLAGS and MAKEFLAGS are empty.
11338 From Paul Townsend (aab@cc.purdue.edu).
11339 (AC_CHECK_LIB, AC_CHECK_HEADERS, AC_CHECK_FUNC): Remove
11340 duplicate `d' from alphabets.
11342 * acspecific.m4 (AC_USG): Define USG if we don't have rindex and
11343 bzero, not if we do have them.
11344 From Viktor Dukhovni.
11346 Sun Oct 29 15:13:37 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
11348 * acgeneral.m4 (AC_CHECK_PROG): Use arg 5 as search list, not arg 4.
11350 Wed Aug 30 17:34:48 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11352 * acspecific.m4 (AC_PROG_CC_C_O): If $CC groks it and cc doesn't
11355 Wed Jul 26 00:03:26 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11357 * Test release 2.4.2.
11359 * acgeneral.m4 (AC_CHECK_SIZEOF): Take an optional size to
11360 use when cross-compiling.
11362 * acspecific.m4 (AC_FUNC_CLOSEDIR_VOID, AC_DIR_HEADER): If
11363 cross-compiling, assume it returns void. It's not a big loss.
11366 * acgeneral.m4 autoheader.sh: Change tr [a-z] [A-Z] into expansion
11367 of the full alphabet, to combat losing AIX 4.1.1 tr when LANG
11368 isn't set the way it likes.
11370 * acspecific.m4 (AC_FUNC_GETMNTENT): Check in -lgen for Unixware.
11371 From miguel@roxanne.nuclecu.unam.mx (Miguel de Icaza).
11373 * autoheader.m4 (AC_CONFIG_HEADER): Set config_h to the first
11374 argument. From ghudson@mit.edu (Greg Hudson).
11376 * Makefile.in (all): Depend on info.
11378 * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG, AC_CHECK_PROGS,
11379 AC_PATH_PROGS, AC_CHECK_TOOL): Add optional PATH
11382 Mon Jul 24 17:27:11 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11384 * acgeneral.m4 (AC_CHECK_LIB): Don't enclose tr args in [], for
11385 SysV and POSIX. From Karl Heuer.
11387 Wed Jul 19 17:43:44 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11389 * acgeneral.m4 (AC_CHECK_LIB): Translate + to p in lib name.
11391 Wed Jun 28 13:45:16 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11393 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Allow an empty value
11394 for --enable and --with args.
11395 (AC_CACHE_CHECK): New macro.
11396 * acspecific.m4: Use it where possible.
11398 Tue Jun 27 13:29:54 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11400 * acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE): Add options
11401 --bindir, --libdir, etc.
11403 Mon Jun 26 20:54:36 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11405 * acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put the command
11406 being run into the log file.
11408 Thu Jun 22 22:33:23 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11410 * acspecific.m4 (AC_PROG_INSTALL): Don't cache a shell script path.
11412 * acgeneral.m4 (AC_CHECK_LIB): Allow lib name to contain a . or /,
11413 by fixing the cache variable name.
11415 Wed Jun 14 23:07:20 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
11419 Sun May 7 08:09:12 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
11421 * acspecific.m4 (AC_PATH_X_XMKMF): Check for libX11.{so,sl} as
11422 well as .a when seeing whether LIBDIR or USRLIBDIR is right.
11424 Sat May 6 17:29:07 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
11426 * acspecific.m4 (AC_PROG_CPP): If CPP is already set, use that as
11427 the value and set the cache variable to it.
11429 Mon Mar 27 10:48:36 1995 David J. MacKenzie <djm@churchy.gnu.ai.mit.edu>
11433 * acgeneral.m4 (AC_OUTPUT): Add quotes around the echo arguments
11434 in the trap, so backslashes aren't required for multiline input.
11435 From G.Wilford@ee.surrey.ac.uk.
11436 Also use the sed trick when not using a config header file.
11438 Thu Mar 23 18:02:25 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11440 * acgeneral.m4 (AC_LANG_C, AC_LANG_CPLUSPLUS): Put "-c" right
11441 after compiler name. Same for "-o conftest".
11443 * ifnames.sh (AC_MACRODIR): Default to @datadir@, not a hardcoded
11446 * Test release 2.2.1.
11448 * acgeneral.m4 (AC_OUTPUT): Use sed, not tr, so we only remove the
11449 output config header, not the input one too. From
11450 muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
11451 (AC_LANG_C): Undo Feb 7 change. According to Roland McGrath,
11452 most compilers require all options but -l... and -o to come first.
11454 * Makefile.in (uninstall): Don't use $@, since the cd makes it
11455 invalid when srcdir is relative.
11457 Wed Mar 8 17:05:06 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
11461 Wed Mar 8 12:44:34 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11463 * Makefile.in: Follow cd commands with &&, not ;.
11464 From François Pinard.
11466 Tue Mar 7 11:48:19 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11468 * acspecific.m4 (AC_FUNC_ALLOCA): Keep sh variable name space
11469 clean. Put newline after AC_DEFINE_UNQUOTED call to avoid Irix
11472 Mon Mar 6 15:07:00 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11474 * Test release 2.1.3.
11476 * acspecific.m4 (AC_FUNC_ALLOCA): Replace nested AC_FUNC_CHECK
11479 * acspecific.m4 (AC_FUNC_VPRINTF): Don't check for signal munging.
11482 * acgeneral.m4 (AC_CACHE_SAVE): Tell the user whether the cache
11483 changed or not. From gnu@toad.com (John Gilmore).
11485 * Makefile.in (install-info): Don't cd, to avoid breaking
11486 install-sh references.
11488 Fri Mar 3 11:41:01 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11490 * Makefile.in (autoconf.info, standards.info): Use --no-split to
11491 avoid creating filenames > 14 chars.
11493 * acgeneral.m4 (AC_CHECK_FUNC): Use assert.h,
11494 to avoid protype conflicts from ctype.h (!!) on OSF/1 3.0.
11496 Sat Feb 25 01:56:57 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11498 * acspecific.m4 (AC_C_BIGENDIAN): Check for BYTE_ORDER macro from
11499 sys/param.h before trying the test program which cannot be
11502 Fri Feb 24 20:02:08 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11504 * acgeneral.m4 (AC_CHECK_FUNC): Include errno.h instead of ctype.h
11507 Wed Feb 22 18:01:27 1995 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
11509 * Test release 2.1.2.
11511 Tue Feb 21 13:00:07 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11513 * acgeneral.m4 (AC_CACHE_VAL): Add extra quotes to work around AIX
11514 4.1 bug reported by hyc@locus.com (Howard Chu).
11516 * acspecific.m4 (AC_FUNC_GETLOADAVG): Check for -lelf before -lkvm.
11517 Reported by Kaveh R. Ghazi.
11518 (AC_HEADER_STAT): Check whether S_IFDIR is defined, to work around
11519 ISC bug reported by rick@anasazi.com (Rick Coupland).
11521 * autoheader.sh: Better solution to @BOTTOM@ printing.
11524 Mon Feb 13 18:13:11 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11526 * acspecific.m4 (AC_PROG_CC_C_O): Use sed filter to make sure
11527 ${ac_cc} is always a valid shell variable name.
11528 (AC_PROG_MAKE_SET): Remove gratuitous backslashes in checking message.
11530 Sun Feb 12 18:42:35 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11532 * acgeneral.m4 (AC_CHECK_TOOL_PREFIX): Require AC_CANONICAL_BUILD,
11533 so both $build and $host are definitely set before we compare
11536 Sat Feb 11 04:37:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11538 * acgeneral.m4 (AC_CHECK_TOOL): Rewritten. Take optional third
11539 arg VALUE-IF-NOT-FOUND. Check for
11540 ${ac_tool_prefix}PROG-TO-CHECK-FOR first. If not found and third
11541 arg given, and ${ac_tool_prefix} is nonempty, check for unadorned
11542 PROG-TO-CHECK-FOR as well. Last choice use VALUE-IF-NOT-FOUND.
11544 Fri Feb 10 17:45:53 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11546 * acgeneral.m4 (AC_OUTPUT): Fix sed command to produce $ac_dots
11547 for subdir configures.
11549 Thu Feb 9 14:42:20 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11551 * testsuite/config/unix.exp (autoconf_load): Run the script with
11552 /dev/null as the cache.
11554 * acgeneral.m4 (AC_CHECK_TOOL_PREFIX, AC_CHECK_TOOL): New macros,
11555 from Roland McGrath.
11557 * acspecific.m4 (AC_DECL_YYTEXT): Cache the output file root.
11558 (AC_C_INLINE): If the compiler doesn't recognize it, define it
11559 away. Try __inline__ too. From Jim Avera.
11560 (AC_FUNC_GETPGRP): New macro. From Arnold Robbins.
11561 * acconfig.h: New entry for it.
11563 * configure.in: Check for new awk.
11564 * Makefile.in (editsh): Substitute in AWK.
11566 * acspecific.m4 (AC_PROG_INSTALL): Allow trailing slashes in PATH
11568 * acgeneral.m4 (AC_PREFIX_PROGRAM): Ditto.
11570 Tue Feb 7 11:32:09 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11572 * acgeneral.m4 (AC_CHECK_LIB, AC_HAVE_LIBRARY): Check and add the new
11573 library before existing libs, not after, in case it uses them.
11574 * acspecific.m4 (AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
11575 AC_FUNC_STRFTIME, AC_DYNIX_SEQ, AC_IRIX_SUN, AC_SCO_INTL): Ditto.
11577 * autoheader.sh: Allow @BOTTOM@ to be the first line in
11578 acconfig.h. From iwj10@cus.cam.ac.uk (Ian Jackson).
11580 * acspecific.m4 (AC_FUNC_GETLOADAVG): Add semicolons before
11581 AC_DEFINE. Check for -lkvm before -lutil. Assume it needs setgid
11584 * acgeneral.m4 (ac_compile, ac_link): Put the file name before the
11585 variables, so they can contain -l options.
11587 * acspecific.m4 (AC_FUNC_WAIT3): Sleep longer for HPUX.
11588 (AC_TYPE_SIGNAL): Declare signal as extern "C" for C++.
11590 * Makefile.in testsuite/Makefile.in (maintainer-clean): Renamed
11593 * autoconf.sh (TMPDIR): Inherit from environment, or set if not.
11595 * acgeneral.m4 (AC_PREFIX_PROGRAM): Say we're checking the prefix.
11597 * acspecific.m4 (AC_ISC_POSIX): Fix typo.
11598 (AC_PATH_X): Screen out bogus values from imake.
11599 (AC_PROG_LEX): Check for yywrap, not main, in the library.
11601 Thu Feb 2 11:32:07 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11603 * acconfig.h (__CHAR_UNSIGNED): Protect with #ifndef.
11604 From marcus@ee.pdx.edu (Marcus Daniels).
11606 * acgeneral.m4 (AC_CACHE_SAVE): Workaround Ultrix and 4.3BSD sh
11607 bug in setting the high bit on variable values.
11609 (AC_OUTPUT_FILES, AC_OUTPUT_SUBDIRS): Ignore initial "./" to
11610 avoid messing up the dot-dot counts.
11611 (AC_OUTPUT_SUBDIRS): Pass INSTALL magic to subdirectories.
11614 * ifnames.sh: Speed up drastically by folding 3N+2 processes into 2.
11617 Wed Feb 1 11:58:27 1995 David J. MacKenzie <djm@catapult.va.pubnix.com>
11619 * acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Add additional
11620 quoting for internal consistency.
11621 From junio@twinsun.COM (Jun Hamano).
11623 * acspecific.m4 (AC_PATH_XTRA): R6 function name was wrong.
11625 (AC_C_CROSS): Fix typo in cache var name.
11626 From tgl@sss.pgh.pa.us (Tom Lane).
11627 (AC_PROG_MAKE_SET): Change / in the make program name into _ so it
11628 can be part of a shell variable name.
11629 (AC_DECL_YYTEXT): Fix arguments to AC_TRY_LINK.
11630 From interran@uluru.stanford.edu (John Interrante).
11632 * acgeneral.m4 (AC_CHECK_SIZEOF): If test program fails, set the
11633 variable to 0 as the doc sez.
11634 From eisen@cc.gatech.edu (Greg Eisenhauer).
11636 * acgeneral.m4, acspecific.m4: Remove *.core and core.* as well as
11637 core, for recent BSD's.
11639 * acspecific.m4 (AC_SYS_INTERPRETER): Use `#! /' instead of `#!/'.
11640 * acgeneral.m4 (AC_INIT_BINSH): Likewise.
11641 * All scripts: likewise.
11642 From woods@kuma.web.net (Greg A. Woods).
11644 * acgeneral.m4 (AC_INIT_PREPARE): Use fd 6 instead of 4, to
11645 prevent a conflict on the Kubota Titan. From
11646 muessig@ipf.bau-verm.uni-karlsruhe.DE (Peter Muessig).
11648 * autoconf.sh: Use a more concise syntax to set variables.
11651 * acspecific.m4 (AC_FUNC_WAIT3): Check page fault measurements to
11652 catch Linux. From tobias@server.et-inf.fho-emden.de (Peter Tobias).
11654 * acgeneral.m4 (AC_OUTPUT): If running config.status
11655 fails, exit with a nonzero status. From Ken Raeburn.
11657 Tue Dec 6 19:07:07 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11659 * acspecific.m4 (AC_FUNC_GETLOADAVG): Use elf_begin in -lelf
11660 check, not elf_read.
11662 Mon Nov 7 18:18:11 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
11664 * acspecific.m4 (AC_PROG_MAKE_SET): Fix msg; $MAKE is not useful
11667 Fri Nov 4 09:08:33 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11671 * autoreconf.sh: Add -f --force option.
11672 From Theodore Ts'o.
11674 Thu Nov 3 10:24:08 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11676 * acgeneral.m4 (AC_TRY_RUN): Reword warning.
11678 * acspecific.m4 (AC_PROG_CXX): Notify the user of the check for
11680 (AC_PROG_CXX, AC_PROG_CXXCPP): Use g++, not gcc, as default C++
11682 * acgeneral.m4 (AC_LANG_CPLUSPLUS): Ditto.
11684 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Move ac_usage string directly
11685 into the here document to work around A/UX shell limitation.
11687 * acgeneral.m4 (AC_COMPILE_CHECK): Mention the MSG macros in the
11690 * autoscan.pl (output_programs): Use AC_CHECK_LIB, not
11693 * acgeneral.m4 (AC_CHECK_FUNC): Move prototype outside of function
11694 so it works with C++. From ejb@era.COM (E. Jay Berkenbilt).
11696 Fri Oct 28 11:23:30 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11698 * acspecific.m4 (AC_CHECK_HEADERS_DIRENT): Use define, not
11699 AC_DEFUN, so the test suite doesn't call it with no arguments,
11700 leading to a syntax error in the real Bourne shell.
11702 Wed Oct 26 18:40:41 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11706 Tue Oct 25 11:04:16 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11708 * acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Change -
11709 in file names to _.
11710 * acspecific.m4 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT):
11713 Mon Oct 24 11:28:20 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11715 * Makefile.in (uninstall): Remove the transformed names.
11716 (SCRIPTS): Rename from PROGS.
11717 * configure.in: Likewise.
11719 Fri Oct 21 07:14:23 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11721 * acgeneral.m4 (AC_TRY_COMPILE): New macro.
11722 (AC_LANG_C, AC_LANG_CPLUSPLUS): Set $ac_compile.
11723 (AC_TRY_LINK): Don't declare exit.
11724 * acspecific.m4 (AC_C_INLINE, AC_C_CONST, AC_CHECK_HEADER_DIRENT,
11725 AC_DECL_SYS_SIGLIST, AC_HEADER_SYS_WAIT, AC_TYPE_SIGNAL,
11726 AC_FUNC_GETLOADAVG, AC_HEADER_TIME, AC_STRUCT_TM,
11727 AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_BLKSIZE,
11728 AC_STRUCT_ST_RDEV): Use AC_TRY_COMPILE instead of AC_TRY_LINK.
11729 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Must come before AC_TRY_COMPILE.
11731 * acspecific.m4 (AC_PROG_LEX): Don't assume -ll if using lex;
11732 check for it. From Mark Eichin.
11734 Thu Oct 20 07:11:22 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11736 * acgeneral.m4 (AC_PARSE_ARGS): Ignore --site.
11738 * autoscan.pl: Add more blank lines to the output. Pacify perl -w.
11740 Wed Oct 19 09:14:50 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
11742 * acgeneral.m4 (AC_PREREQ_COMPARE): Allow secondary and ternary
11743 numbers >99. From John Eaton.
11745 Wed Oct 19 00:06:40 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11747 * ifnames.sh: Take comments out of sed script.
11749 Tue Oct 18 00:20:04 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
11751 * acgeneral.m4 (AC_INIT_NOTICE): Set ac_default_prefix.
11752 (AC_INIT_PARSE_ARGS, AC_SITE_LOAD, AC_OUTPUT): Use it.
11753 (AC_PREFIX_DEFAULT): New macro.
11756 * testsuite/autoconf.s/syntax.exp: Renamed from specific.exp.
11758 * acgeneral.m4 (AC_SITE_LOAD): Change where to look for config.site.
11760 * configure.in: Call AC_ARG_PROGRAM.
11761 * Makefile.in (install): Use program_transform_name.
11763 * acgeneral.m4 acspecific.m4 acoldnames.m4: Clarify copying terms.
11765 * acgeneral.m4 (AC_CANONICAL_BUILD): Default build to host, not empty.
11767 * acspecific.m4 (AC_PROG_CC): Recognize NeXT cpp as GNU C.
11768 From tom@basil.icce.rug.NL (Tom R.Hageman).
11770 Mon Oct 17 18:25:53 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
11772 * acspecific.m4 (AC_PROG_CPP): Use assert.h (comes with gcc), not
11773 stdio.h (loses for new cross-compilers). From Roland McGrath.
11775 Tue Oct 11 13:22:22 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
11777 * acspecific.m4 (AC_PATH_XTRA): Add X_PRE_LIBS variable and assume
11778 -lSM if -lICE is found. From Karl Berry.
11780 Mon Oct 3 20:12:36 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
11782 * testsuite/Makefile.in (AUTOCONF, AUTOCONFFLAGS): Test
11783 ../autoconf, not installed autoconf.
11785 Sat Oct 1 04:43:43 1994 Paul Eggert <eggert@twinsun.com>
11787 * acspecific.m4: Catch `const' bug in NEC SVR4.0.2 mips cc.
11789 * Makefile.in (.sh, .pl, configure): Do chmod before mv.
11791 * acheaders, acspecific.m4 (AC_HEADER_SYS_WAIT): New entry.
11793 * acconfig.h (HAVE_SYS_WAIT_H): New entry.
11795 Wed Sep 28 08:59:01 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
11797 * Makefile.in: Set datadir to $(prefix)/share.
11799 Tue Sep 27 08:00:38 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
11801 * Makefile.in: Use implicit rules to make scripts.
11804 * acconfig.h: Remove #undefs of unused symbols.
11806 * testsuite/autoconf.s/defines.exp: New file.
11807 * testsuite/autoconf.s/specific.exp: Extract the list of macros to
11808 test from acspecific.m4 instead of hardcoding it.
11809 * acspecific.m4 (AC_PROG_CXXCPP): Default CXX to gcc, not c++.
11811 Mon Sep 26 12:32:46 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
11813 * acspecific.m4 (AC_HEADER_DIRENT): Only check for -lx if not
11815 * autoreconf.sh: Shorten sed label for OSF/1.
11816 * acgeneral.m4 acspecific.m4: Change licensing terms for output.
11818 Thu Sep 22 15:36:56 1994 David MacKenzie <djm@churchy.gnu.ai.mit.edu>
11820 * autoconf.sh (tmpin): Always set.
11822 Wed Sep 21 13:12:10 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
11824 * acgeneral.m4 (AC_INIT_PREPARE): Remove trailing slashes from
11827 Mon Sep 19 17:11:39 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
11829 * acgeneral.m4 (AC_INIT, AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM,
11830 AC_ARG_PROGRAM): Make the default for program_transform_name be
11831 a valid sed script, and substitute it always.
11833 Sat Sep 17 08:27:58 1994 David MacKenzie <djm@geech.gnu.ai.mit.edu>
11835 * autoheader.sh: Protect `for' loop from checking empty $syms.
11837 * ifnames.sh: Use % instead of , as sed s separator.
11839 * autoscan.pl: Update output comments.
11841 Fri Sep 16 11:20:02 1994 David MacKenzie (djm@geech.gnu.ai.mit.edu)
11843 * acspecific.m4 (AC_TYPE_GETGROUPS): Provide a cross compiling
11844 default. From Jim Meyering.
11846 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Document
11847 --program-transform-name.
11849 Thu Sep 15 16:26:36 1994 David MacKenzie (djm@geech.gnu.ai.mit.edu)
11851 * acgeneral.m4 (AC_INIT_NOTICE): Clarify copying notice.
11852 Fix up comments between sections.
11854 * acspecific.m4 (AC_PROG_LEX): Omit extra checking message.
11856 * autoreconf.sh: Give usage if non-option args are given.
11857 * autoconf.sh autoheader.sh: Define AC_LOCALDIR for configure.in.
11859 Thu Sep 15 11:31:13 1994 Ian Lance Taylor (ian@airs.com)
11861 * Makefile.in (check): Set AUTOCONFFLAGS from srcdir, not objdir.
11863 Thu Sep 15 09:06:40 1994 David MacKenzie (djm@churchy.gnu.ai.mit.edu)
11865 * acgeneral.m4 (AC_MSG_ERROR): Say that it's an error in the message.
11867 * Makefile.in (check): Copy install-sh from srcdir if needed.
11869 * autoreconf.sh: Only regenerate autoheader-generated header file
11870 templates. Pass relative macrodir properly.
11871 * autoconf.sh autoheader.sh autoreconf.sh: Add -l --localdir option.
11872 Based on work by Mark Eichin.
11874 * ifnames.sh: Add -h option.
11875 * autoconf.sh autoheader.sh: Remove -v option.
11877 * acgeneral.m4 (AC_CHECK_TYPE): Require AC_HEADER_STDC and check
11878 stdlib.h if present.
11880 * acgeneral.m4 (AC_OUTPUT): Protect cache save from interruptions.
11882 Tue Sep 13 09:46:23 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
11884 * Makefile.in (install): Use srcdir. From Mark Eichin.
11886 * acgeneral.m4 (AC_OUTPUT_FILES): Automatically add
11887 configure_input comment to Makefiles again.
11888 * Makefile.in testsuite/Makefile.in: Remove configure_input ref.
11890 * acgeneral.m4 (AC_LINK_FILES, AC_OUTPUT_LINKS): Reverse the order
11891 of the arguments. Support relative symlinks.
11893 * acgeneral.m4 acspecific.m4: Remove some gratuitous {} in shell
11894 variable references.
11896 * acgeneral.m4 (AC_OUTPUT_FILES): New output variable
11897 configure_input replaces big kludge for adding output comment.
11898 * Makefile.in, testsuite/Makefile.in: Use it.
11900 Mon Sep 12 23:06:08 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11902 * acgeneral.m4 (AC_INIT_PREPARE, AC_OUTPUT_SUBDIRS): Make command
11903 line quoting work for shell metachars besides blanks.
11905 Sun Sep 11 23:34:24 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11907 * acspecific.m4 (AC_PATH_XTRA): Link with X_EXTRA_LIBS when
11910 * acfunctions (memcmp): Use AC_FUNC_MEMCMP. From Paul Eggert.
11912 * acgeneral.m4 (AC_COMPILE_CHECK): Mark obsolete.
11914 Sat Sep 10 10:59:19 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11916 * Makefile.in (DISTFILES): Include install-sh, not install.sh.
11918 * autoscan.pl: Check AC_MACRODIR.
11920 * acgeneral.m4 (AC_INIT_PARSE_ARGS, AC_INIT_PREPARE,
11921 AC_CONFIG_SUBDIRS, AC_OUTPUT_SUBDIRS): Make quoting of command
11923 (AC_CONFIG_AUX_DIRS): Check for install-sh over install.sh.
11925 * acspecific.m4 (AC_FUNC_GETMNTENT): Only check for second lib if
11926 first lib isn't found. From Jim Meyering.
11928 Fri Sep 9 10:41:42 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11930 * acspecific.m4 (AC_FUNC_MEMCMP): New macro, from Jim Meyering.
11931 * testsuite/autoconf.s/specific.exp: Test it.
11933 * testsuite/Makefile.in (site.exp): Simplify.
11935 * acgeneral.m4 (AC_CACHE_SAVE): Use a shorter syntax for setting
11936 the variables. Idea from Karl Berry.
11937 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an action-if-not-found.
11940 * acconfig.h: Add entries for getmntent and strftime.
11941 * acspecific.m4 (AC_C_CHAR_UNSIGNED): If GCC, don't run a test
11944 Thu Sep 8 10:53:53 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11946 * acspecific.m4 (AC_USG): Was passing too many args to AC_TRY_LINK.
11947 (AC_FUNC_STRFTIME, AC_FUNC_GETMNTENT): New macros.
11948 (AC_HEADER_DIRENT): Check for Xenix dir libs.
11949 (AC_XENIX_DIR, AC_SCO_INTL, AC_IRIX_SUN, AC_DYNIX_SEQ, AC_AIX,
11950 AC_ISC_POSIX, AC_MINIX): Go back to the v1 names.
11951 * acoldnames.m4: Delete their aliases.
11952 * testsuite/autoconf.s/specific.exp: Check them.
11954 * acgeneral.m4 (AC_ARG_PROGRAM): Use `;' instead of `-e' to
11955 separate sed arguments, to simplify Makefile usage and support
11956 sed arguments containing spaces.
11957 (AC_CANONICAL_HOST): Move check for config.sub here from
11958 AC_CANONICAL_SYSTEM.
11960 * autoheader.m4 (AC_CHECK_HEADERS_DIRENT): Redefine. From Paul Eggert.
11961 (AC_CHECK_SIZEOF): Redefine this, not the old name.
11962 (AC_HAVE_LIBRARY): Redefine.
11964 Wed Sep 7 09:32:31 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
11966 * testsuite/lib/common.exp: Ignore warnings about test programs.
11967 * testsuite/autoconf.s/specific.exp: Check AC_FUNC_CLOSEDIR_VOID.
11969 * Makefile.in (*clean): Remove the new index.
11970 (dist): Undo adding write perms. Screws up RCS.
11971 * acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Remove comments from sed
11973 * acoldnames.m4: Change a couple of AC_DEFUN to define.
11975 Wed Sep 7 01:27:19 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11977 * acgeneral.m4 (AC_SITE_LOAD): Check whether $CONFIG_SITE is empty.
11979 Tue Sep 6 09:55:30 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11981 * acgeneral.m4 (AC_ARG_PROGRAM): New macro.
11982 (AC_INIT_PARSE_ARGS, AC_CANONICAL_SYSTEM): Do a little setup for it.
11984 * acspecific.m4 (AC_PROG_INSTALL): Clarify comment. Remove check
11985 for bsdinst, since it's no better than our install.sh.
11986 (AC_CHECK_HEADER_DIRENT, AC_CHECK_HEADERS_DIRENT): New macros.
11987 (AC_HEADER_DIRENT, AC_DIR_HEADER): Use them.
11988 (AC_PROG_CC, AC_PROG_CXX): Check whether GCC accepts -g.
11990 * acgeneral.m4 (AC_INIT_PREPARE): Call AC_PROG_ECHO_N.
11991 Use define instead of AC_DEFUN for some frequently called or
11992 internal macros that aren't involved in ordering constraints.
11994 Mon Sep 5 17:37:36 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
11996 * acspecific.m4 (AC_C_CROSS): Provide default argument to AC_TRY_RUN.
11998 Fri Sep 2 09:30:41 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
12000 * acgeneral.m4 (AC_TRY_CPP): Use a temp file so sh -x works.
12001 From Mark Nudelman.
12003 * acgeneral.m4: --norecursion -> --no-recursion.
12004 (AC_OUTPUT_LINKS): Reset srcdir to ac_given_srcdir.
12006 * acspecific.m4 (AC_PATH_X): Call AC_ARG_WITH(x, ...).
12007 (AC_PROG_INSTALL): Search for bsdinst too.
12009 * Makefile.in (dist): Make distribution files writable.
12011 * acgeneral.m4 (AC_OUTPUT): Move trap 0 commands to near the end
12012 of configure, to work around shell bug in failing to execute the
12013 trap when there are commands after AC_OUTPUT.
12015 Sat Sep 3 19:47:06 1994 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
12017 * acgeneral.m4 (AC_OUTPUT_FILES): Write CONFIG_FILES defn
12018 unquoted, so $1 can contain references to shell variables in configure.
12020 Thu Sep 1 15:34:15 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
12022 * acgeneral.m4 (AC_TRY_RUN): Always warn if no cross-compile
12024 * acspecific.m4 (AC_FUNC_MMAP, AC_FUNC_VFORK, AC_FUNC_WAIT3,
12025 AC_FUNC_UTIME_NULL, AC_FUNC_STRCOLL): Provide a default
12027 (AC_FUNC_CLOSEDIR_VOID): New macro, broken out of AC_HEADER_DIRENT.
12029 Thu Sep 1 00:06:38 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12031 * acgeneral.m4 acspecific.m4: Discard all output until AC_INIT is
12032 called. Remove now-unnecessary dnl's between macro definitions.
12033 (AC_OUTPUT): Add exit 0 and optional unquoted here document to
12034 end of config.status.
12036 Wed Aug 31 00:11:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12038 * acspecific.m4 (AC_PATH_X_DIRECT): Use AC_TRY_LINK instead of
12039 AC_CHECK_LIB, so we don't add the library to $LIBS or print anything.
12040 (AC_PATH_XTRA): Remove initial checking message.
12041 (AC_HEADER_STDC): In test program, default to no STDC headers if
12044 Tue Aug 30 16:16:29 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12046 * autoreconf.sh: Add -h option.
12047 * autoupdate.sh: Remove -v option.
12049 * acgeneral.m4 (AC_EGREP_CPP, AC_TRY_CPP): Add parens around eval
12050 for old shells. From Kaveh Ghazi.
12051 (AC_TRY_RUN): Warn when generating configure, if called without
12052 a default parameter and AC_CANONICAL_SYSTEM has been called.
12054 * autoheader.sh: Don't run `for' loops on empty lists.
12057 * autoconf.sh autoheader.sh: Print the version number using grep
12058 like the other scripts, not using m4.
12059 * acgeneral.m4: Remove conditional for printing version number.
12060 It broke with frozen files.
12062 * autoheader.m4: New file.
12063 * autoheader.sh: Use it; the frozen version if possible.
12064 * Makefile.in (install): Install a frozen autoheader.m4f if possible.
12065 * autoconf.m4: Don't sinclude acsite.m4 here.
12066 * acgeneral.m4 (AC_INIT): Include it here.
12068 Tue Aug 30 14:02:07 1994 David J. MacKenzie (djm@mole.gnu.ai.mit.edu)
12070 * acgeneral.m4 (AC_CHECK_LIB): Use AC_DEFINE_UNQUOTED.
12073 * acgeneral.m4: Revise diversions, to topologically order
12074 macros called via AC_REQUIRE.
12075 (AC_DIVERT_PUSH, AC_DIVERT_POP): New macros.
12076 (AC_INIT, AC_ARG_ENABLE, AC_ARG_WITH, AC_SUBST, AC_SUBST_FILE,
12077 AC_REQUIRE): Use them.
12078 From François Pinard (bless his soul!).
12079 (AC_PRO, AC_EPI): New macros.
12080 (AC_DEFUN): Use them.
12081 (AC_INIT): sinclude aclocal.m4 herea.
12082 * autoconf.m4: Not here.
12084 * autoconf.sh: Use a freeze file if available and m4 can do it.
12085 * Makefile.in (install): Install a freeze file if m4 supports it.
12087 Mon Aug 29 16:18:22 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
12089 * acgeneral.m4 (AC_TRY_CPP): Remove subshell and move quotes.
12091 Sun Aug 28 17:37:26 1994 David J. MacKenzie (djm@bennett.eng.umd.edu)
12093 * acspecific.m4 (AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE,
12094 AC_C_INLINE): Don't AC_REQUIRE AC_PROG_CC.
12096 * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): Define
12097 to print error messages.
12099 * acgeneral.m4 (AC_OUTPUT_LINKS): Insert ac_links and ac_files
12100 into config.status using an *un*quoted here document.
12103 Sat Aug 27 13:31:58 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
12105 * acgeneral.m4 (AC_OUTPUT_HEADER): Remove comments from within sed
12106 script. From Kaveh Ghazi.
12108 Fri Aug 26 17:03:18 1994 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
12110 * autoconf.sh, acgeneral.m4: __LINE__ -> __oline__.
12112 * acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Append any error output
12114 (AC_EGREP_CPP): Don't use a temp file.
12116 * acspecific.m4 (AC_FUNC_ALLOCA): Require CPP.
12118 * acgeneral.m4 (AC_INIT_PREPARE): Replace AC_SUBST_DEFAULT calls
12120 (AC_SUBST_DEFAULT): Macro removed.
12121 * acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): If CFLAGS or CXXFLAGS
12122 was not set already, give it a default value according to whether
12125 * acspecific.m4 (AC_PATH_XTRA): Use AC_CHECK_LIB, not AC_HAVE_LIBRARY.
12127 Fri Aug 26 00:34:11 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12129 * acconfig.h (HAVE_UNION_WAIT): Entry removed; it wasn't defined
12132 * acgeneral.m4 (AC_OUTPUT_HEADER): rm files before mv onto them.
12133 (AC_OUTPUT): Remove explicit exit at end of configure, to allow
12134 code after AC_OUTPUT (needed for Emacs).
12136 * acgeneral.m4 (AC_CANONICAL_SYSTEM): Move setting of alias vars
12139 * acspecific.m4 (AC_PROG_CPP): If $CPP is set and is a directory,
12142 Thu Aug 25 09:26:36 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12144 * acspecific.m4 (AC_SYS_INTERPRETER): Move hash mark out of macro
12146 (AC_FUNC_MMAP): If C++, put malloc decls in extern "C".
12148 * acgeneral.m4 (AC_INIT_PARSE_ARGS): Untabify help message
12149 and indent options.
12151 * Makefile.in (DISTFILES): Remove ChangeLog.0.
12153 * acgeneral.m4 (AC_CHECK_LIB): Do uppercasing of library name at
12155 (AC_HAVE_LIBRARY): Retain old behavior.
12157 * acspecific.m4 (AC_FUNC_VFORK): If C++, use a prototype for the
12158 function in the test program.
12159 (AC_C_ARG_ARRAY): Macro deleted.
12160 * acoldnames.m4, acconfig.h, testsuite/autoconf.s/specific.exp:
12161 Remove references to it.
12163 * autoupdate.sh: Make sure $infile can be read, and $tmpout has
12164 the same permissions. Make sure $infile can be written. From
12167 * acgeneral.m4 (AC_INIT*): Remove now-incorrect AC_BEFORE calls.
12168 (AC_CHECK_FUNC): If C++, use extern "C".
12169 (AC_TRY_LINK, AC_TRY_RUN): If C++, declare exit.
12171 * acspecific.m4 (AC_PATH_XTRA): Check for more libraries.
12174 * acgeneral.m4 (AC_INIT_PREPARE): Substitute CPPFLAGS.
12175 (AC_LANG_C, AC_LANG_CPLUSPLUS): Include CPPFLAGS in the commands.
12177 * acgeneral.m4 (AC_OUTPUT_FILES): Move protection for right side
12178 of sed substitution here from AC_MAKE_DEFS, so it applies to all
12179 AC_SUBST'd variables.
12181 * Makefile.in (install): Use for loops. From Jim Meyering.
12183 * acgeneral.m4: Revise diversions to rely on implicit flushing at
12184 the end of the m4 run. Idea from François Pinard.
12185 (AC_INIT_PREPARE, AC_ARG_ENABLE, AC_ARG_WITH, AC_PREFIX_PROGRAM):
12186 Write to the appropriate diversions.
12187 (AC_ENABLE, AC_WITH): Supply default help string.
12188 (AC_ENABLE_INTERNAL, AC_WITH_INTERNAL, AC_PREFIX_INTERNAL):
12190 (AC_CONFIG_SUBDIRS): Set `subdirs' here instead of in
12192 (AC_PREFIX): Macro removed.
12193 * acoldnames.m4 (AC_PREFIX): Make it an alias for AC_PREFIX_PROGRAM.
12195 * acoldnames.m4: We don't officially support calling
12196 the subroutines of AC_INIT directly, or replacing them, so don't
12199 Wed Aug 24 00:19:05 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12201 * acgeneral.m4 (AC_EGREP_CPP, AC_TRY_LINK, AC_TRY_RUN,
12202 AC_TRY_CPP): Add #line directives.
12203 * autoconf.sh: Make the #line directives accurate.
12204 From François Pinard.
12206 * acgeneral.m4 (AC_OUTPUT): Set ac_given_INSTALL from INSTALL.
12207 (AC_SUBST_FILE): Replace with what was AC_INSERT_FILE.
12208 (AC_SUBST_DEFAULT): New macro.
12209 (AC_INIT_BINSH): Renamed from AC_BINSH.
12210 (AC_INIT_PREPARE): Call AC_SUBST_DEFAULT for CFLAGS, CXXFLAGS, and
12213 * acspecific.m4 (AC_HEADER_MAJOR): Don't nest caching tests.
12215 * Makefile.in (clean): Remove the new index files.
12217 * configure.in: Check for gm4 before gnum4.
12219 * acspecific.m4 (AC_PROG_RSH): Macro removed.
12221 * Makefile.in (install): Install autoconf.m4.
12223 * acspecific.m4 (AC_SYS_INTERPRETER): New name and calling
12224 convention for AC_HAVE_POUNDBANG.
12225 (AC_OS_XENIX): Check ac_header_dir instead of DEFS.
12227 * testsuite/autoconf.s/specific.exp: Add AC_HEADER_DIRENT.
12228 Remove AC_SYS_REMOTE_TAPE. Replace AC_HAVE_POUNDBANG with
12229 AC_SYS_INTERPRETER.
12231 * acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Reword messages.
12233 * acgeneral.m4 (AC_CHECK_LIB): Use our standard alternate m4 quote
12234 characters << and >> instead of /.
12236 * acspecific.m4 (AC_C_CONST, AC_TYPE_GETGROUPS,
12237 AC_PROG_GCC_TRADITIONAL): Don't put the test program in a
12238 temporary variable.
12240 * acgeneral.m4 (AC_CHECK_HEADERS, AC_CHECK_FUNCS): Use
12241 AC_DEFINE_UNQUOTED.
12242 * autoheader.sh (AC_DEFINE_UNQUOTED): Define.
12244 Tue Aug 23 00:03:06 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12246 * acgeneral.m4: Improve comments on some macros.
12247 Fix improperly quoted undefine calls.
12248 (AC_QUOTE_DQUOTE, AC_QUOTE_SQUOTE, AC_QUOTE_HERE, AC_QUOTE_SED,
12249 AC_QUOTE_TOKEN, AC_DEFINE_QUOTE, AC_DEFINE_SEDQUOTE,
12250 AC_QUOTE_IDENTITY): Macros removed.
12251 (AC_DEFINE, AC_DEFINE_UNQUOTED): Only write the (correct) value to
12253 (AC_OUTPUT_MAKE_DEFS): New macro.
12254 (AC_OUTPUT): Call it. Move AC_SUBST calls to AC_INIT_PREPARE.
12255 (AC_OUTPUT_FILES): Put most variable substitutions in a here document
12256 instead of a string, to avoid unwanted changes to the values.
12257 (AC_OUTPUT_HEADER): Generate the sed script to transform
12258 config.h.in from conftest.h. Only split up the sed script in
12259 configure, not also in config.status.
12261 * acspecific.m4 (AC_PROG_ECHO_N): Work around some greps lacking -e.
12263 * acspecific.m4 (AC_PATH_X, AC_PATH_X_XMKMF, AC_PATH_X_DIRECT,
12264 AC_PATH_XTRA): Fix cache use and message printing.
12266 * acgeneral.m4 (AC_SITE_LOAD): Check env var CONFIG_SITE first.
12267 (AC_OUTPUT_HEADER): New macro broken out of AC_OUTPUT.
12269 * acgeneral.m4, acspecific.m4 (AC_FD_MSG, AC_FD_CC): New
12270 symbolic constants.
12272 * acgeneral.m4, acoldnames.m4 (AC_INIT_PARSE_ARGS): Renamed from
12275 * autoupdate.sh: Use $SIMPLE_BACKUP_SUFFIX, if set.
12277 * autoheader.sh (AC_CHECK_LIB): Reflect the added arg.
12279 * autoconf.m4: New file.
12280 * Makefile.in (DISTFILES): Add it.
12281 * autoconf.sh, autoheader.sh, Makefile.in: Use it.
12283 * acspecific.m4 (AC_SYS_REMOTE_TAPE): Macro removed.
12285 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms,
12286 autoscan.pl: Use new macro names.
12288 * acgeneral.m4 (AC_MSG_ERROR): Enclose within {} so it acts like a
12289 single statement. From mjshield@nyx.cs.du.edu (Michael Shields).
12290 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Only compute the uppercase
12291 name if we're going to define that symbol.
12292 (global): Remove AC_DIVERSION_VAR.
12293 (AC_OUTPUT): Adjust quoting and substitutions to replace most
12294 variable values directly in the sed script. Handle srcdir,
12295 top_srcdir, and INSTALL specially.
12296 Add .cpp and .hpp to c-ish suffixes list.
12298 * configure.in: Use the new macro names.
12300 * ChangeLog.0: New file, broken out of ChangeLog.1.
12301 * Makefile.in (DISTFILES): Add it.
12303 * autoupdate.sh: Update the regexps to account for changes to
12306 Mon Aug 22 23:57:18 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12308 * testsuite/autoconf.s/specific.exp: Use new macro names.
12310 Fri Aug 12 10:15:51 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12312 * acspecific.m4 (AC_HEADER_DIRENT, AC_DIR_HEADER): Use one cache
12313 variable for each header file, not one for all of them.
12315 * acgeneral.m4 (AC_CACHE_SAVE): Print a message noting when cache
12317 (AC_CHECK_FUNCS, AC_CHECK_HEADERS): Take an optional arg to
12318 execute on a match.
12320 * acspecific (AC_OS_AIX, AC_OS_MINIX, AC_OS_ISC): Don't need to be
12321 called before AC_TRY_CPP, since that doesn't use CFLAGS.
12323 * acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Print a result
12324 whether or not we found the program.
12325 (AC_CHECKING): Not obsolete.
12326 (AC_WITH, AC_ENABLE, AC_INIT_PREPARE): Merge the --enable and
12329 * acgeneral.m4 (AC_DEFUN): New macro.
12330 Use it globally to define macros that are used as functions,
12331 as opposed to macros that are used as variables. Remove calls to
12334 Thu Aug 11 08:25:08 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12336 * acspecific.m4 (AC_OS_XENIX): Fix assignments. From François
12338 (AC_SYS_REMOTE_TAPE): Fix typo.
12340 Wed Aug 10 09:30:11 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12342 * acspecific.m4 (AC_C_CHAR_UNSIGNED): Don't lie about the result
12343 if gcc, just ignore it.
12345 * acgeneral.m4 (AC_CHECK_LIB): Add a function argument.
12346 * acgeneral.m4 (AC_HAVE_LIBRARY): Make it a wrapper around
12348 * acoldnames.m4: Remove its alias.
12349 * acspecific.m4: Add argument to callers.
12351 * acspecific.m4 (AC_PROG_ECHO_N): Move from acgeneral.m4 AC_MSG_ECHO_N.
12352 * acgeneral.m4: Callers changed.
12354 * acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_SITE_LOAD,
12355 AC_MSG_CHECKING): Aesthetic changes to messages, suggested by
12358 * acspecific.m4 acgeneral.m4 acoldnames.m4: Rename
12359 AC_TRY_CROSS to AC_C_CROSS.
12361 * acgeneral.m4 (AC_INIT_PARSEARGS): Don't mention --verbose in
12363 (AC_INIT_PREPARE): Use file descriptor 5 for config.log, and 6 for
12364 nothing. --verbose no longer does anything.
12365 (AC_MSG_ECHO_N): New macro.
12366 (AC_MSG_CHECKING, AC_MSG_RESULT, AC_CACHE_VAL): Require it and use
12367 the shell variables it sets.
12368 (AC_MSG_RESULT, AC_VERBOSE): Print unless --silent/--quiet is given,
12369 not only when --verbose is given.
12370 (AC_DEFINE): Don't echo anything.
12371 (AC_CACHE_VAL): Use a custom echo instead of AC_MSG_RESULT.
12372 * acgeneral.m4 (AC_CHECKING, AC_VERBOSE): Put back real versions,
12374 * acoldnames.m4: Delete their aliases.
12375 * acgeneral.m4, acspecific.m4 (many macros): Make sure each call
12376 to AC_MSG_CHECKING has exactly one matching AC_MSG_RESULT, and
12377 make the result messages make sense with the checking messages.
12379 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Use echo, not AC_MSG_RESULT,
12380 to print recursion notice.
12382 Tue Aug 9 00:17:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12384 * acgeneral.m4 (AC_OUTPUT): Add comment mentioning config.log.
12386 * ChangeLog.1: File split out of ChangeLog.
12387 * Makefile.in (DISTFILES): Add it.
12389 * acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER), autoheader.sh:
12390 Support optional input-file specification in output-file names.
12391 * autoheader.sh: Support top and bottom comments for config.h.in
12394 * acgeneral.m4, README: Say more about requiring GNU m4.
12396 * autoheader.sh: In the list of symbols to get template entries
12397 for, start each symbol with a blank.
12399 * autoupdate.sh: Add sed substitutions for replacing macro
12400 calls without parameters.
12402 * acgeneral.m4 (AC_CACHE_VAL): Omit the cache var name from the
12405 * acspecific.m4 (AC_DIR_HEADER): Define to be similar to
12406 AC_HEADER_DIRENT, but only define the old cpp macros.
12407 (AC_HEADER_DIRENT): Only define the new ones.
12408 * acoldnames.m4: Don't say that those two macros are synonyms.
12409 * acconfig.h: Add the new cpp macros. Add <> to some comments.
12411 * acgeneral.m4 (AC_OUTPUT): Don't mess with $INSTALL if it starts
12412 with a $, due to user intervention.
12414 * Makefile.in, testsuite/Makefile.in: Fix *clean targets.
12416 * acgeneral.m4 (AC_CACHE_SAVE, AC_CACHE_LOAD, AC_SITE_LOAD):
12417 Use echo instead of AC_MSG_RESULT.
12418 (AC_INIT_PARSEARGS): Group options by topic in help message. Idea
12419 from François Pinard.
12423 Mon Aug 8 23:04:01 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12425 * acgeneral.m4 (AC_OUTPUT): Tighten up srcdir handling code slightly.
12426 Add one or more ../ to $INSTALL when it's a relative path and
12427 creating a file in a subdirectory.
12429 Tue Aug 2 19:54:26 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12431 * autoheader.sh: Read acoldnames.m4. Redefine the new macro names.
12432 Only define HAVE_LIBFOO where AC_CHECK_LIB is called with only one
12435 Sat Jul 30 09:53:38 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12437 * acgeneral.m4 acspecific.m4: The Great Renaming.
12438 (Well, I think it's great. You may have your own opinion.)
12440 * acspecific.m4 (AC_DIR_HEADER): Define HAVE_<path>_H as well as
12441 the old DIRENT, SYSDIR, etc.
12443 * acgeneral.m4 acspecific.m4: Add missing spaces between arguments
12444 to m4 calls. From François Pinard.
12446 * autoconf.sh: Read acoldnames.m4.
12447 * Makefile.in (DISTFILES, PROGS, install, clean): Add
12448 acoldnames.m4 and autoupdate.sh.
12450 Tue Jul 26 08:52:17 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12452 * testsuite/Makefile.in (check): Print a message noting that
12453 runtest is part of DejaGNU.
12455 * autoscan.pl: Remove unneeded backslash.
12457 Sun Jul 24 23:30:27 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12459 * Makefile.in (clean mostlyclean distclean realclean): Recurse
12460 into testsuite directory.
12462 Wed Jul 20 09:38:29 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12464 * Makefile.in (install): Add missing else and fi.
12465 * acspecific.m4 (GETGROUPS_T, RETSIGTYPE, STACK_DIRECTION): Use
12466 AC_DEFINE_UNQUOTED rather than AC_DEFINE.
12469 Tue Jul 19 14:49:02 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12471 * acspecific.m4 (AC_MEMORY_H): Add more quotes.
12473 * acgeneral.m4 (AC_TEST_RUN): Check for cross_compiling = yes, not
12474 whether it's non-empty.
12476 * acspecific.m4 (AC_MINUS_C_MINUS_O, AC_SET_MAKE): Eval the cache var
12478 (AC_YYTEXT_POINTER): Fix typo.
12480 * testsuite/autoconf.s/specific.exp,
12481 testsuite/autoconf.g/sizeof_type.exp,
12482 testsuite/autoconf.g/init.exp: New files.
12483 * testsuite/lib/common.exp, testsuite/config/unix.exp: Many
12484 changes to make them work.
12486 * acgeneral.m4 (AC_DEFINE): Use redirection for echo, not $verbose.
12488 Sat Jul 2 22:07:18 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12490 * acspecific.m4 (AC_REMOTE_TAPE): Substitute PROGS.
12492 Thu Jun 30 16:29:15 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12494 * acgeneral.m4 (AC_SUBST_FILE): New version from Ken Raeburn.
12496 * ifnames: Add --help, --version, --macrodir options.
12498 Fri Jun 24 06:03:35 1994 Paul Eggert (eggert@twinsun.com)
12500 * acspecific.m4 (AC_VFORK): Improve test for the gcc-sparc vfork bug.
12502 Thu Jun 30 09:47:17 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12504 * acgeneral.m4 (AC_OUTPUT_SUBDIRS): Pass correct --srcdir option
12505 to sub configures. Quote args containing spaces.
12506 (AC_PREPARE): Set and substitute `subdirs'. Quote args containing
12508 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET, AC_CANONICAL_BUILD):
12509 Substitute the cpu, vendor, os variables.
12511 * acspecific.m4 (AC_PROG_INSTALL): Look for ginstall before other
12514 * acgeneral.m4 (AC_TEST_LINK): Add newlines around argument code.
12515 From mjshield@nyx.cs.du.edu (Michael Shields).
12517 Wed Jun 29 16:56:28 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12519 * autoscan.pl: Add --macrodir option.
12521 * acgeneral.m4 (AC_CACHE_SAVE): Capture stderr for Ultrix sh.
12523 Tue Jun 28 18:05:00 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12525 * Makefile.in: Make INSTALL from install.texi.
12527 Thu Jun 23 02:03:19 1994 David J. MacKenzie (djm@vortex.eng.umd.edu)
12529 * ifnames.sh: New file.
12530 * Makefile.in: Add it in various places.
12532 Tue Jun 14 12:58:38 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
12534 * Makefile.in (DISTFILES): Add testsuite files.
12536 * autoconf.sh: Print version number on stdout, not stderr.
12537 * acgeneral.m4: Ditto.
12539 * acgeneral.m4 (AC_HAVE_LIBRARY): Add OTHER-LIBRARIES arg.
12540 Treat empty commands args as if they weren't given.
12542 Thu Jun 9 11:39:14 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
12544 * acgeneral.m4 (AC_CHECK_TYPE): New macro.
12546 * acspecific.m4 (AC_PROG_CPP, AC_PROG_CXXCPP, AC_YYTEXT_POINTER,
12547 AC_LN_S, AC_RSH, AC_STDC_HEADERS, AC_MAJOR_HEADER, AC_DIR_HEADER,
12548 AC_STAT_MACROS_BROKEN, AC_SYS_SIGLIST_DECLARED, AC_GETGROUPS_T,
12549 AC_UID_T, AC_RETSIGTYPE, AC_MMAP, AC_VFORK, AC_WAIT3, AC_ALLOCA,
12550 AC_GETLOADAVG, AC_UTIME_NULL, AC_STRCOLL, AC_SETVBUF_REVERSED,
12551 AC_STRUCT_TM, AC_TIME_WITH_SYS_TIME, AC_TIMEZONE, AC_ST_BLOCKS,
12552 AC_ST_BLKSIZE, AC_ST_RDEV, AC_CROSS_CHECK, AC_CHAR_UNSIGNED,
12553 AC_LONG_DOUBLE, AC_WORDS_BIGENDIAN, AC_ARG_ARRAY, AC_INLINE,
12554 AC_CONST, AC_HAVE_POUNDBANG, AC_REMOTE_TAPE, AC_LONG_FILE_NAMES,
12555 AC_RESTARTABLE_SYSCALLS, AC_FIND_X, AC_FIND_X_XMKMF,
12556 AC_FIND_X_DIRECT): Cache results.
12557 (AC_SIZE_T, AC_PID_T, AC_OFF_T, AC_MODE_T): Use AC_CHECK_TYPE.
12558 (AC_DIR_HEADER_CHECK): Macro removed.
12560 Wed Jun 8 18:03:45 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
12562 * acspecific.m4 (AC_MINUS_C_MINUS_O): Cache results.
12564 Thu May 26 09:43:37 1994 David J. Mackenzie (djm@poseidon.cygnus.com)
12566 * acspecific.m4 (AC_PROG_CC, AC_PROG_CXX): Cache results.
12567 Eliminate temp file in gcc test.
12568 (AC_GCC_TRADITIONAL): Cache results.
12570 Wed May 25 14:45:44 1994 David J. Mackenzie (djm@poseidon.cygnus.com)
12572 * acspecific.m4 (AC_VPRINTF): Use AC_FUNC_CHECK.
12574 * acgeneral.m4 (AC_CONFIG_AUX_DIR): Renamed from AC_CONFIG_AUXDIR.
12575 (AC_SUBST_FILE): Macro deleted; didn't work, not clear it's needed.
12577 * acgeneral.m4 (AC_SITE_LOAD): New macro.
12578 (AC_PREPARE): Call it.
12580 Wed May 25 08:18:07 1994 David J. Mackenzie (djm@rtl.cygnus.com)
12582 * acgeneral.m4: m4exit if --version, to reduce needless delay.
12584 * acgeneral.m4 (AC_PREPARE): Redirect file descriptor 6 to
12586 (AC_LANG_C, AC_LANG_CPLUSPLUS): Send compiler messages to desc 6.
12587 * acspecific.m4 (AC_MINUS_C_MINUS_O): Likewise.
12588 * Makefile.in (distclean): Remove config.log.
12590 * acgeneral.m4 (AC_PREPARE): Add AC_BEFORE calls for AC_CONFIG_HEADER,
12591 AC_REVISION, AC_PREREQ, and AC_CONFIG_SUBDIRS.
12592 Add AC_PROVIDE calls to those macros and AC_ARG_ENABLE and AC_ARG_WITH.
12594 * acgeneral.m4 (AC_CANONICAL_SYSTEM, AC_CANONICAL_HOST,
12595 AC_CANONICAL_TARGET, AC_CANONICAL_BUILD): Add "ICAL" to names.
12596 (AC_LINK_FILES): Renamed from AC_MAKE_LINKS.
12597 (AC_TEST_RUN): Renamed from AC_TEST_PROGRAM, which is now an alias.
12598 * acspecific.m4: Change callers to use new name.
12600 * acgeneral.m4 (AC_PREFIX_INTERNAL): Renamed from AC_PREFIX.
12601 (AC_PREFIX): Obsolete wrapper for it.
12602 (AC_PREFIX_PROGRAM): Define a variable.
12603 (AC_PREPARE): Call AC_PREFIX_INTERNAL if that variable is set.
12605 Tue May 24 18:49:35 1994 David J. Mackenzie (djm@rtl.cygnus.com)
12607 * acspecific.m4 (AC_ALLOCA): Don't declare alloca if it's already
12608 defined. From Bill Sommerfeld.
12610 * acgeneral.m4 (AC_TEST_PROGRAM): Verbosely note when using the
12611 cross-compiling default.
12612 (AC_CACHE_WRITE): Set the cache values only if not already set.
12613 (AC_PARSEARGS, AC_OUTPUT): Allow giving an empty prefix or exec_prefix.
12615 * acgeneral.m4, acspecific.m4: Rename AC_CONFIG_AUX* to
12618 * acgeneral.m4 (AC_OUTPUT, AC_OUTPUT_HEADER): Add an env var
12619 CONFIG_STATUS to allow overriding the name of config.status.
12621 * acspecific.m4 (AC_MINUS_C_MINUS_O): If $CC=cc, don't duplicate
12622 the check. From Jim Meyering.
12624 * acgeneral.m4 (AC_TEST_PROGRAM): Add missing newline.
12625 Always include 'fi' for cross-compiling if.
12628 * Makefile.in (prefix, exec_prefix): Use @ substitutions.
12630 * acgeneral.m4: Make default cache file ./config.cache,
12631 so PATH is not used by "." command. From Jim Meyering.
12633 Thu May 19 06:05:07 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
12635 * acspecific.m4 (AC_STRUCT_TM): Fixed checking message to be less
12638 Wed May 18 22:11:45 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
12640 * acgeneral.m4 (AC_BINSH): New macro.
12641 (AC_INIT, AC_REVISION): Require AC_BINSH first thing.
12643 Wed May 18 09:08:39 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
12645 * acgeneral.m4: Rename some internal macros.
12646 Give the diversions symbolic names.
12647 (AC_ARG_ENABLE, AC_ARG_WITH, AC_ENABLE_INTERNAL, AC_WITH_INTERNAL):
12649 (AC_PARSEARGS): Print --with and --enable help strings.
12650 (AC_ENABLE, AC_WITH): Make wrappers around _INTERNAL functions.
12652 (AC_PREPARE): Execute any saved up --with or --enable code.
12654 Tue May 17 15:18:00 1994 David J. MacKenzie (djm@bleen.eng.umd.edu)
12656 * acgeneral.m4 (AC_REVISION): Move quotes around to make it work
12659 Sat May 14 07:30:57 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12661 * acgeneral.m4, acspecific.m4: Clean up some comments.
12663 Tue May 10 09:50:12 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12665 * acspecific.m4 (AC_PROG_INSTALL): set the _path_ cache variable,
12666 not the _program_ one.
12667 * acgeneral.m4 (AC_PREFIX): Call AC_PROGRAM_PATH instead of
12669 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): If the user set the variable
12670 in the environment, cache that value.
12671 (AC_PREPARE, AC_CHECKING, AC_VERBOSE): Use file descriptors 4 and
12672 5 for checking and results messages. Idea from metaconfig 3.0.
12674 Mon May 9 08:20:14 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12676 * acgeneral.m4 (AC_TEST_PROGRAM): If no default for
12677 cross-compiling is given, but we are cross-compiling, give an error.
12678 (AC_PROGRAM_EGREP, AC_TEST_LINK, AC_TEST_PROGRAM, AC_TEST_CPP):
12679 Don't add an extra blank line after the if-clause.
12680 (AC_REVISION): Merge AC_DOREV into this macro.
12681 Rename some macros:
12682 AC_SYSTEM_TYPE -> AC_CANON_SYSTEM
12683 AC_HOST_TYPE -> AC_CANON_HOST
12684 AC_TARGET_TYPE -> AC_CANON_TARGET
12685 AC_BUILD_TYPE -> AC_CANON_BUILD
12686 (AC_OUTPUT): Don't do Cygnus-style magic
12687 substitutions on prefix and exec_prefix, just initialize and
12688 substitute them normally.
12690 Sun May 8 01:09:42 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12692 * acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): Don't call
12693 AC_BEFORE for AC_HEADER_EGREP, to avoid require loops.
12694 * acgeneral.m4 (AC_HEADER_EGREP): Call AC_PROGRAM_EGREP instead of
12695 duplicating most of it.
12697 Fri May 6 15:26:48 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12699 * acspecific.m4 (AC_YYTEXT_POINTER): Use AC_TEST_LINK, not
12702 Fri May 6 00:45:29 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12704 * acspecific.m4, acgeneral.m4: Add dnl after AC_PROVIDE,
12705 AC_REQUIRE, and AC_BEFORE calls.
12706 Use AC_CHECKING and AC_TEST_LINK instead of AC_COMPILE_CHECK.
12708 * acgeneral.m4 (AC_TEST_LINK): New macro.
12709 (AC_COMPILE_CHECK): Mark obsolete. Call AC_CHECKING and
12711 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH, AC_HAVE_LIBRARY, AC_HEADER_CHECK,
12712 AC_FUNC_CHECK, AC_SIZEOF_TYPE): Print "checking" messages even if
12713 using cached values. Use AC_TEST_LINK instead of AC_COMPILE_CHECK.
12714 * acspecific.m4 (AC_PROG_INSTALL): Ditto.
12716 * acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Fix nesting in
12719 * acspecific.m4 (AC_PROG_INSTALL): Ditto.
12721 * acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Adjust relative cache
12722 file paths before passing them to sub-configures. Omit existing
12723 --cache-file arguments.
12725 Thu May 5 21:38:51 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12727 * acgeneral.m4 (AC_FUNC_CHECK, AC_HEADER_CHECK): Combine redundant
12728 code. Use AC_CACHE_VAL.
12729 (AC_SIZEOF_TYPE): Use AC_CACHE_VAL.
12731 Thu May 5 12:51:32 1994 David J. MacKenzie (djm@gamera.eng.umd.edu)
12733 * Makefile.in (all): Don't depend on info files.
12734 (install): Don't install INSTALL.
12735 (installcheck, install-info): New targets.
12737 Thu May 5 08:49:39 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12739 * Makefile.in (dist): chmod the dist directory, not the current
12740 directory. Don't depend on DISTFILES.
12742 * autoconf.sh: Go back to old way of doing NLS nuisance test.
12743 * autoheader.sh: Ditto.
12744 * acgeneral.m4: Ditto.
12746 Thu May 5 08:36:19 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12748 * acgeneral.m4: Use "yes" and "no" or "" uniformly for boolean
12749 variables' values. Don't assume default values.
12750 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Always set the cache variable
12751 and use different ones.
12753 * acspecific.m4: Use "yes" and "no" or "" uniformly for boolean
12754 variables' values. Don't assume default values.
12755 (AC_STDC_HEADERS, AC_ALLOCA): Untangle nested tests.
12757 Thu May 5 07:51:38 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12759 * Makefile.in (distclean): Remove config.cache.
12761 Wed May 4 19:41:35 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12763 * acgeneral.m4 (AC_HAVE_LIBRARY): Use AC_CACHE_VAL.
12765 * Makefile.in (install): Depend on all again.
12766 (install-info): Depend on info again.
12768 Wed May 4 15:05:11 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12770 * acspecific.m4 (AC_PROG_INSTALL): Use AC_CACHE_VAL.
12771 * acgeneral.m4 (AC_PROGRAM_CHECK, AC_PROGRAM_PATH): Use AC_CACHE_VAL.
12772 (AC_REPLACE_FUNCS): Use AC_FUNC_CHECK.
12773 Rearrange general tests into 4 categories:
12774 Checking for files - fundamental (caching)
12775 Checking for files - derived (caching)
12776 Checking for C features - fundamental (no caching)
12777 Checking for C features - derived (caching)
12779 * acgeneral.m4 (AC_CACHE_LOAD, AC_CACHE_SAVE, AC_CACHE_VAL):
12781 (AC_PREPARE): Call AC_CACHE_LOAD.
12782 (AC_OUTPUT): Call AC_CACHE_SAVE.
12783 (AC_PARSEARGS): Add --cache-file=FILE option.
12784 (AC_CONFIG_SUBDIRS): Pass --cache-file to subdirectory configures.
12786 * acgeneral.m4 (AC_OUTPUT_CONFIG_SUBDIRS): Renamed from
12788 (AC_CONFIG_SUBDIRS): Just define AC_SUBDIR_LIST.
12789 (AC_OUTPUT): Call AC_OUTPUT_CONFIG_SUBDIRS if AC_SUBDIR_LIST is
12791 Make config.status --recheck pass --norecursion to configure.
12793 * acspecific.m4 (AC_SETVBUF_REVERSED): Print "checking" message.
12795 Wed May 4 10:40:56 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
12797 * autoreconf.sh: Add options [--help] [--macrodir=dir] [--verbose]
12800 * acspecific.m4 (AC_GCC_TRADITIONAL, AC_SET_MAKE, AC_RSH,
12801 AC_GETLOADAVG, AC_CROSS_CHECK): Print results verbosely.
12802 (AC_GETLOADAVG): Name space cleanup.
12804 Wed May 4 09:32:04 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12806 * autoheader.sh, autoconf.sh, acgeneral.m4: Make the NLS
12807 nuisance test actually do something.
12809 Mon May 2 16:31:33 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12811 * configure.in: Check for standards.texi.
12812 * Makefile.in: Put everything back into one directory.
12813 Don't assume standards.* exist.
12815 Sat Apr 30 09:37:06 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12817 * acgeneral.m4 (AC_OUTPUT): Change >> to > in sed command.
12819 Fri Apr 29 21:56:33 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
12821 * Makefile.in (all): Make autoreconf too.
12823 Fri Apr 29 21:03:48 1994 David J. MacKenzie (djm@aria.eng.umd.edu)
12825 * acgeneral.m4 (AC_OUTPUT): When doing substitutions on files, if
12826 the file starts with "#!", put the "automatically generated"
12827 comment on the second line instead of the first.
12829 Fri Apr 29 12:53:53 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
12831 * acgeneral.m4 (AC_CONFIG_AUX, AC_CONFIG_AUX_DEFAULT,
12832 AC_CONFIG_AUX_DIRS, AC_SYSTEM_TYPE, AC_HOST_TYPE, AC_TARGET_TYPE,
12833 AC_BUILD_TYPE, AC_SUBST_FILE, AC_MAKE_LINKS, AC_OUTPUT_MAKE_LINKS,
12834 AC_CONFIG_SUBDIRS): New macros.
12836 * acspecific.m4 (AC_PROG_INSTALL): Use install.sh from ac_aux_dir.
12838 * Makefile.in: Remove references to standards.*.
12841 Thu Apr 28 12:01:01 1994 David J. MacKenzie (djm@burnout.eng.umd.edu)
12843 * Makefile.in (dist): Add .., ../etc, and ../texinfo files.
12845 * acspecific.m4 (AC_LN_S): Add verbose messages.
12847 * Makefile.in, configure.in: Add autoscan and its data files.
12853 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free
12854 Software Foundation, Inc.
12856 This program is free software: you can redistribute it and/or
12857 modify it under the terms of the GNU General Public License as
12858 published by the Free Software Foundation, either version 3 of the
12859 License, or (at your option) any later version.
12861 This program is distributed in the hope that it will be useful,
12862 but WITHOUT ANY WARRANTY; without even the implied warranty of
12863 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12864 General Public License for more details.
12866 You should have received a copy of the GNU General Public License
12867 along with this program. If not, see
12868 <https://www.gnu.org/licenses/>.