Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12869 lines (9090 sloc) 420 KB
2001-05-21 Akim Demaille <akim@epita.fr>
Version 2.50.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/tools.at: s/undefined macro/possibly undefined macro/.
2001-05-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SEARCH_LIBS): Unobfuscate.
2001-05-19 Akim Demaille <akim@epita.fr>
* autoconf.sh: s/undefined macro/possibly undefined macro/.
2001-05-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Programs): Explain the
`AC_PROG_LEX invoked multiple times' message.
Reported by Rainer Orth as PR Autoconf/177.
2001-05-19 Akim Demaille <akim@epita.fr>
* autoheader.sh: Fix file names used in error messages.
Reported by Rainer Orth as PR Autoconf/178.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
if using `cc'.
2001-05-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using
AT_CHECK_MACRO since it skips tests embedded in configure.ac.
Remove files which might have been created when invoking the
compiler.
Reported by Nicolas Joly.
2001-05-14 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Shellology): Document a quirk in
here-document handling on OpenBSD.
2001-05-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
`maybe' strategy: first try cpp's exit status, then its stderr.
(AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
* tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
Remove unrelated code.
2001-05-10 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP via CC): New.
From Daniel Carroll.
2001-04-27 Akim Demaille <akim@epita.fr>
If AC_PROG_CC is invoked but not AC_PROG_CPP, then CPPFLAGS is not
AC_SUBST'ed.
Reported by Ralf Corsepius.
* aclang.m4 (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS): New.
(AC_PROG_CC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP)
(AC_PROG_F77): Use them.
2001-04-27 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Rename and extend as...
(_AC_PROG_PREPROC_WORKS_IFELSE): this.
Adjust to admit
(AC_PROG_CPP, AC_PROG_CXXCPP): Use it.
Reported by Daniel Carroll.
2001-04-26 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use two backslashes
before double quotes in the copyright notice, since the native
OpenBSD shell removes single backslashes in here-documents with
unquoted delimiters.
2001-04-25 Nicolas Joly <njoly@pasteur.fr>
* acgeneral.m4 (_AC_RUN_IFELSE): Clean `core' files.
2001-04-24 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi (The GNU build system): Add this chapter
introducing Autoconf+Automake+Libtool, and fix references in the
introduction.
2001-04-24 Akim Demaille <akim@epita.fr>
On HP-UX 10 `ranlib --version' creates `./--version'.
Reported by Bob Proulx and Jim Meyering.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Do not invoke the
program with --version.
2001-04-22 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_MEMCMP): Remove `int main () {' and the
trailing `}', since AC_LANG_PROGRAM provides them.
2001-04-20 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49f.
2001-04-20 Akim Demaille <akim@epita.fr>
Version 2.49e.
2001-04-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Ignore configure's stderr.
2001-04-20 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (AC_OUTPUT): Close the descriptor before running
config.status so config.log is properly created on MS-DOS.
2001-04-20 Nicolas Joly <njoly@pasteur.fr>
* tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Be robust to missing
or broken autoupdate.
* tests/tools.at: Likewise.
* tests/Makefile.am (CLEANFILES): Also clean Libtool files.
2001-04-18 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (_AC_INIT_SRCDIR): Handle
backslashes (DOS paths) for $ac_confdir and $srcdir.
2001-04-17 Akim Demaille <akim@epita.fr>
Don't mess with FDs.
* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Remove, replace with
inline setting up of AS_MESSAGE_FD.
(AS_MESSAGE_LOG_FD): Do not define, so that AS_MESSAGE does not
output in it before...
(_AC_INIT_CONFIG_LOG): here, which is run after the handling of
options.
2001-04-18 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Replace documentation for obsolete
AC_LIBOBJ_DECL with clearer documentation for AC_LIBSOURCE
and AC_LIBSOURCES, improving the AC_LIBOBJ docs as well.
2001-04-17 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Fixes for punctuation and grammar.. Replace
"..." with "@dots{}" except when "..." is in literal code.
2001-04-17 Nicolas Joly <njoly@pasteur.fr>
* acgeneral.m4 (_AC_LINK_IFELSE): Be sure to remove temporary
`conftest.$ac_objext', as some compilers may forget it.
2001-04-16 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
AC_PACKAGE_VERSION only if they are defined.
(_AC_OUTPUT_CONFIG_STATUS): Likewise.
2001-04-15 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Alter response on
`config.status --version' to be more compliant with the GNU Coding
Standards.
2001-04-13 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Still more minor modifications for clarity,
felicity, and grammar.
2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi (AC_F77_WRAPPERS): Mention C++ as well as C.
In the example, don't #ifdef F77_FUNC before using it, as that
would push any errors to link-time rather than compile-time; note
that the user can test this to invoke alternative behavior.
2001-04-11 Akim Demaille <akim@epita.fr>
* autoconf.sh (Task script): Be sure that `forbidden.rx' and
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: A few more minor modifications for clarity,
grammar, and formatting.
2001-04-10 Lars J. Aas <larsa@sim.no>
* Makefile.am: AC_SUBST fixes for PACKAGE_NAME, VERSION, PACKAGE...
* configure.in: Moved here.
Suggested by Akim Demaille and Raja R Harinath.
2001-04-10 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Re-enable logging to
`config.log' from `config.status', but delay logging till after
command line option processing.
2001-04-10 Lars J. Aas <larsa@sim.no>
* autoupdate.in (print_usage): print "\ at end of line does not
work as expected, so change block to here-doc instead.
(print_version): Same.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Replace all tab characters with (8) spaces,
lest the formatting of example code, etcetera, be messed up.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Rephrase various parts for clarity, felicity,
and/or grammar.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Clean up cache documentation: Document
--config-cache/-C option, and recommend instead of --cache-file.
Indent example AC_CACHE_VAL macros for clarity. Add new
"Cache Checkpointing" section for AC_CACHE_SAVE (and
AC_CACHE_LOAD), so that the "Cache Files" section focuses solely
on features visible to end-users (e.g. to better fit the cross
references). Various minor rewordings for clarity, felicity,
and/or grammar.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Revert to "configure.in" in the history, since
"configure.ac" wasn't used in the past, and in any case it is
probably a good idea to preserve this section verbatim.
2001-04-09 Steven G. Johnson <stevenj@alum.mit.edu>
* AUTHORS: Fix grammar.
2001-04-09 Lars J. Aas <larsa@sim.no>
* Makefile.am: Manual addition of @PACKAGE@ substitution variable
needed by dist rules. Added explanatory comment.
Problem reported and comment suggested by Raja R Harinath.
2001-04-06 Lars J. Aas <larsa@sim.no>
* Makefile.am: Manual addition of @VERSION@ substitution variable
as a temporary Automake fix. Reported by Raja R Harinath.
2001-04-04 Lars J. Aas <larsa@sim.no>
* acgeneral (_AC_INIT_CONFIG_LOG): New macro for setting up the
config.log file.
(_AC_INIT_DEFAULTS_FDS): Log to /dev/null instead of config.log.
(AC_INIT): Invoke _AC_INIT_CONFIG_LOG after _AC_INIT_VERSION.
2001-04-04 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_INIT_DEFAULTS): Produce better version
information for config.log header.
(_AC_INIT_VERSION): Produce better version information for
`configure --version'.
2001-03-30 Steven G. Johnson <stevenj@alum.mit.edu>
* doc/autoconf.texi: Use "invalid" instead of "illegal," as
suggested by the GNU coding standards.
2001-03-30 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_BASENAME): New.
(AS_SHELL_SANITIZE): Set `$as_me'.
* acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
* tests/atgeneral.m4: Likewise.
(AT_INIT): Use $PATH_SEPARATOR for walking the path.
* autoconf.sh: Be DOS-friendly when setting as_me and M4.
Add quotes to support spaces in $tmp.
Work around problem in DJGPP port of awk by using a temporary file.
* autoheader.sh: Be DOS-friendly when setting as_me.
* autoreconf.sh: Be DOS-friendly when setting as_me, dir and
template_dir.
2001-03-27 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (AC_INIT_VERSION): Improved version information string
for `configure --version'.
2001-03-27 Akim Demaille <akim@epita.fr>
* autoheader.sh (config_h): Be robust to new lines when extracting
the first argument of AC_CONFIG_HEADERS.
Reported by Lars J. Aas.
2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Minor tweaks.
2001-03-27 Tim Van Holder <tim.van.holder@pandora.be>
* Makefile.am, configure.in: autoupdate is a Perl script.
2001-03-20 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about
`touch'.
From Jim Meyering, Volker Borchert, and Peter Eisentraut.
2001-03-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Libtool): Don't skip 1.3.5.
Invoke AC_CANONICAL_SYSTEM ---for some reason AC_CANONICAL_HOST is
not enough for 1.3.5.
From Lars J. Aas.
2001-03-20 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: s/Testing suite/Test suite/g.
From Jim.
(AT_INIT): Adjust the error message on invalid options.
* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
2001-03-20 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi: A couple of grammatical tweaks.
2001-03-19 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49e.
2001-03-19 Akim Demaille <akim@epita.fr>
Version 2.49d.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/tools.at (AWK portability): Don't rely on `empty'.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
Reported by Nicolas Joly.
2001-03-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the
_AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix.
Reported by Harlan Stenn, and fixed by Jim Meyering.
2001-03-19 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code
`/bin/sh', use $SHELL.
From Paul Eggert.
2001-03-19 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
fileutils-4.0.42's.
2001-03-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
do it only when diffing `/dev/null' is not supported.
And use `at-devnull' instead of `empty'.
2001-03-13 Akim Demaille <akim@epita.fr>
* autoscan.pl, autoupdate.in: Use `use' instead of `require' to
require some version of Perl, so that the test is performed at
compile time, not run time.
Suggested by Nicolas Joly.
2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
* tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR.
* tests/atconfig.in: Set PATH_SEPARATOR to the proper
path separator. Set SHELL here...
* tests/atgeneral.m4: ... instead of here. Use $PATH_SEPARATOR
when setting AUTOTEST_PATH. Don't default tests to "all" before
deciding whether the help text is needed.
* tests/semantics.at: Use the correct path separator.
2001-03-13 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Expand section on DOS issues.
Add link to the `doschk' package. Fix minor typo.
Clean up white spaces.
2001-03-13 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77_C_O): define F77_NO_MINUS_C_MINUS_O
when test fails, not when it succeeds(!).
2001-03-13 Akim Demaille <akim@epita.fr>
* tests/tools.at (AWK portability): Use AT_CHECK to check for GNU
AWK so that there is always a AT_CHECK between
AT_SETUP/AT_CLEANUP.
Reported by Nicolas Joly.
2001-03-13 Akim Demaille <akim@epita.fr>
* tests/tools.at: Be sure to remove configure.ac~.
2001-03-13 Raja R Harinath <harinath@cs.umn.edu>
* autoupdate.in (File::Basename): Use package.
(%ac_macros, %au_macros): Save only base filenames.
2001-03-08 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): In the AU_DEFUN definition, don't try
to issue an obsolete message, it can't work for macros being
defined both with AC_DEFUN and AU_DEFUN.
Hence do it in the AC_DEFUN definition.
2001-03-06 Pavel Roskin <proski@gnu.org>
* tests/base.at (AC_TRY_*): Escape `^' - it's a pipe command
separator on Tru64 v5.1.
Reported by Nicolas Joly.
2001-03-05 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
at-check-line for removal.
Check for the presence of at-check-line only when $at_test was
really a test.
Reported by Pavel.
2001-03-04 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
in the error message.
2001-03-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Quote `$$*' correctly.
2001-02-28 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Warn when at-check-line is
missing.
* tests/tools.at (Syntax of the scripts): Use AT_CHECK to test
/bin/sh -n. Exit 77 on failure.
Reported by Harlan Stenn.
2001-02-28 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Use `.;.' instead
of `.;`pwd`': if pwd is c:/foo, we might walk through `.:c'
(fails), and then `/foo' which might succeed, resulting in
believing `;' is the right path separator.
2001-02-26 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AH_VERBATIM, AH_TEMPLATE): New, use AS_ESCAPE, not
_AS_QUOTE.
(_AH_VERBATIM_OLD, _AH_TEMPLATE_OLD): New, used for bugward
compatibility in...
(AC_DEFINE, AC_DEFINE_UNQUOTED): here.
2001-02-26 Pavel Roskin <proski@gnu.org>
* autoupdate.in (&mktmpdir): Strip the newline from the output
of mktemp.
2001-02-26 Pavel Roskin <proski@gnu.org>
* man/Makefile.am: autoupdate.1 now depends on autoupdate.in.
2001-02-25 Tim Van Holder <tim.van.holder@pandora.be>
* autoupdate.in: Support DOS paths. Initialize $tmp to
avoid warnings. Default $autoconf to 'autoconf'.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&END): Try to preserve the exit status.
Use backquotes where more readable.
Internal details should be dumped when $debug, not when $verbose.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&mktmpdir): New.
(&END): Remove $tmp.
(&parse_args): Handle -d and -l.
2001-02-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Remove conf$$* on exit.
* m4sh.m4 (_AS_LN_S_PREPARE, _AS_BROKEN_TEST_PREPARE):
s/conftest/conf$$/ to avoid race conditions.
From Lars J. Aas.
2001-02-25 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_INSTALL): Use ac_path_separator.
Restore the IFS earlier.
Suggested by Tim Van Holder.
2001-02-25 Akim Demaille <akim@epita.fr>
* m4sh.m4 (_AS_TEST_PREPARE): Rename as...
(_AS_BROKEN_TEST_PREPARE): this.
(_AS_TEST_PREPARE): New dummy but working version of this macro.
* acspecific.m4 (AC_PROG_INSTALL): Use AS_EXECUTABLE_P.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in (&parse_args): Support `-'.
2001-02-25 Akim Demaille <akim@epita.fr>
* autoupdate.in: Less Bournisms, more Wallisms.
2001-02-23 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Fix typo: s/;/:/
* acgeneral.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Revert that change.
There was no typo.
2001-02-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Typos and formatting changes.
2001-02-21 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use `AS_EXIT(0)' instead
of `exit 0' when exiting config.status.
2001-02-21 Tim Van Holder <tim.van.holder@pandora.be>
* doc/autoconf.texi: Add new node discussing issues related to
file systems (DOS, specifically). Document DJGPP's bash's special
handling of $PATH_SEPARATOR.
2001-02-21 Akim Demaille <akim@epita.fr>
* autoupdate.in: New. Replaces autoupdate.sh.
2001-02-21 Akim Demaille <akim@epita.fr>
* autoscan.pl (&find_configure_ac): New.
2001-02-20 Paul Martinolich <martinol@datasync.com>
* autoscan.pl (check_configure_ac): Pretty missing macro warnings
output.
2001-02-19 Paul Eggert <eggert@twinsun.com>
* aclang.m4 (AC_C_INLINE): Define "inline" to empty if the
compiler doesn't support 'static inline'. This is needed for
Encore Umax-3.0.9.16b.
2001-02-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Rename as...
(_AC_COMPILER_EXEEXT_WORKS): this. Use the `a.out' or `a.exe'
left by _AC_COMPILER_EXEEXT_DEFAULT to check if the compiler works.
(_AC_COMPILER_EXEEXT_CROSS): Extract from the above macro.
(_AC_COMPILER_EXEEXT): Use them.
Adjust all the compiler looking macros to check for EXEEXT
*first*, then OBJEXT.
Set ac_exeext yourself.
(_AC_COMPILER_EXEEXT_O): Don't.
2001-02-07 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
part of the second argument to AT_DATA.
* tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
in a call to _AT_CHECK_AC_MACRO.
(AC_PROG_CPP without warnings): Likewise.
2001-02-11 Jim Meyering <meyering@lucent.com>
Ensure that even `autoscan --version' fails when e.g.,
writing to a full disk.
* autoscan.pl (END): New function.
* autoscan.pl: Misc. clean-up:
Move declarations of variables into the scope where they're used.
Use `qw'. Don't use `$_'.
2001-02-06 Paul Eggert <eggert@twinsun.com>
* acspecific.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES): Don't reject
C++ compilers that are masquerading as C compilers, and that
incorrectly reject large integers.
2001-02-07 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_OUTPUT): Remove $(srcdir), ${srcdir} and
@srcdir@ from VPATH if srcdir is "." and replace blank VPATH
lines with empty lines to preserve line numbers.
Original version by Derek Price.
2001-02-07 Derek Price <derek.price@openavenue.com>
* acgeneral.m4 (_AC_LIBOBJ): Call AC_LIBSOURCE with '.c' extension
appended to function name.
2001-02-06 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR, AC_RUN_LOG): New.
(_AC_EVAL_STDERR, _AC_EVAL): Use them.
(_AC_INIT_PREPARE_FS_SEPARATORS): Use AC_RUN_LOG.
2001-02-05 Derek Price <derek.price@openavenue.com>
* autoheader.sh: Only set config_h for the first call to
AC_CONFIG_HEADERS.
2001-02-05 Jim Meyering <meyering@lucent.com>
* acspecific.m4 (AC_SYS_LARGEFILE): Add ULL suffix to the
integer constants.
2001-02-05 Akim Demaille <akim@epita.fr>
acfunctions.m4 was still using the old AC_LIBOBJ_DECL.
Reported by Derek R. Price.
* tests/semantics.at (AC_REPLACE_FUNCS): New test.
* acfunctions.m4 (AC_REPLACE_FUNCS, _AC_LIBOBJ_ALLOCA): Use
AC_LIBSOURCES.
2001-02-03 Pavel Roskin <proski@gnu.org>
* tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
"else". Separate commands inside AC_TRY_COMMAND with semicolons.
From Nicolas Joly.
2001-02-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Removed, dead code.
2001-02-03 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK): Use
AC_LIBSOURCES.
2001-02-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
(AC_LIBSOURCES, AC_LIBSOURCE): New.
2001-02-02 Akim Demaille <akim@epita.fr>
* tests/base.at (AC_TRY_COMMAND): Fix the test.
From Nicolas Joly.
The following patch went into Autoconf between the two previous
entries:
* acgeneral.m4 (AC_TRY_COMMAND): Use the old code, using a tmp
variable, to recover multiline robustness.
Reported by Tim Van Holder.
* tests/base.at (AC_TRY_COMMAND): New.
2001-02-02 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Rename all occurences
of ac_try to ac_mid to avoid a name clash.
2001-02-02 Pavel Roskin <proski@gnu.org>
* autoscan.pl (scan_c_file): When in verbose mode, don't print
out hashes common for the whole package. Do it in scan_files()
instead.
(scan_makefile): Likewise.
(scan_sh_file): Likewise.
Thanks to Jim Meyering for improved implementation.
2001-02-01 Pavel Roskin <proski@gnu.org>
* autoreconf.sh: Fix the case when the verbose output was not
redirected to stderr as everywhere else.
2001-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
from check for ac_sub_configure.
2001-01-30 Akim Demaille <akim@epita.fr>
The recent addition of `exit's prototype in confdefs.h causes
AC_OUTPUT_MAKE_DEFS to include junky -D switches.
Reported by Wolfgang Mueller.
* tests/torture.at (#define header templates): Include trash in
confdefs.h.
* tests/atgeneral.at (AT_INIT): Don't expect `find' to support
-maxdepth, hence don't use -follow either.
Reported by Nicolas Joly.
* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS) <confdef2opt.sed>: In the
`quote' section, `p'rint the result.
If neither `#define' pattern match, just call `d' to start a new
cycle.
Invoke this sed program with -n.
2001-01-30 Akim Demaille <akim@epita.fr>
* tests/compile.at: New test.
* tests/atspecific.at (AT_CHECK): When given 77 as expected exit
status, don't include the `skip' mechanism.
2001-01-30 Akim Demaille <akim@epita.fr>
* tests/base.at (AC_CACHE_CHECK): Typo and clean up.
Check only --quiet.
2001-01-30 Paul Eggert <eggert@twinsun.com>
* autoheader.sh: Don't pass a string to 'echo' that might
possibly contain backslashes.
2001-01-29 Pavel Roskin <proski@gnu.org>
Don't use filenames that can be reduced to "conftest" on DOS.
* acfunctions.m4 (AC_FUNC_MMAP): Use conftest.mmap, not
conftestmmap.
(AC_FUNC_UTIME_NULL): Use conftest.data, not conftestdata.
* acspecific.m4 (AC_PROG_MAKE_SET): Use conftest.make, not
conftestmake.
(_AC_PATH_X_XMKMF): Use conftest.dir, not conftestdir.
* acgeneral.m4 (AC_ARG_PROGRAM): Use conftest.sed, not
conftestsed.
* m4/sanity.m4: Use conftest.file, not conftestfile.
* doc/autoconf.texi (Guidelines for Test Programs): Suggest
using conftest.data, not conftestdata.
2001-01-29 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: Don't redirect builtins' stderr as Ultrix
hates this: use a subshell.
2001-01-29 Assar Westerlund <assar@sics.se>
* m4sh.m4 (_AS_TEST_PREPARE): Discard output when testing `test
-x' and `test -f' to avoid confusing users with error messages.
(AS_MKDIR_P): Invert order of separators in IFS to avoid problem
with some shells adding backslash between fields and parsing the
result for escapes.
* doc/autoconf.texi (Special Shell Variables): Document IFS.
2001-01-29 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Improve documentation of the compilers
that are tried, add a few new ones (cft77, af77, epcf90, xlf95, g95),
and put pgf90 in the right place (before the F95 compilers).
2001-01-29 Jim Meyering <meyering@lucent.com>
* autoscan.pl: Do scan `configure.ac' when you claim it.
From Raja R Harinath.
(@kinds): Use `qw', rather than lots of quotes and commas.
(%generic_macro): Use single quotes around literals.
($configure_scan): Define global, and use it instead of the literal.
Use `warn' in place of `printf STDERR'.
2001-01-29 Akim Demaille <akim@epita.fr>
* autoscan.pl: `Formatting++' changes: prototypes all the
functions, no longer use `&' to call functions as it disables
prototype checking, topological sort so that functions are defined
before being used, and put an Autoconf like nice comment to
describe the functions.
(output): Accept a CONFIGURE_SCAN parameter, and open CONF.
2001-01-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SITE_LOAD): Let config.log know what you load.
2001-01-27 Akim Demaille <akim@epita.fr>
Follow Tim Van Holder's suggestions for a uniform handling of
symlinks.
* m4sh.m4: Stay in `as_', not `ac_'.
(_AS_LN_S_PREPARE): Eve out from...
* acspecific.m4 (AC_PROG_LN_S): here. Adjust.
* m4sh.m4 (AS_LN_S): New.
(AS_SHELL_PREPARE): Call _AS_LN_S_PREPARE.
2001-01-26 Assar Westerlund <assar@sics.se>
* autoreconf.sh (find): Fix precedence.
(aclocal): Same as below for autoheader.
2001-01-26 Akim Demaille <akim@epita.fr>
* autoreconf.sh (autoheader): Run it when there is no template, as
there is no risk to override a handwritten template.
From Assar Westerlund.
2001-01-26 Akim Demaille <akim@epita.fr>
* aclang.m4: dnl AC_ARG_VAR's newline.
(AC_PROG_CC, AC_PROG_F77, AC_PROG_CXX): AC_ARG_VAR(LDFLAGS).
* acgeneral.m4 (AC_CHECK_LIB): Don't do it.
2001-01-26 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Handle DOS issues: directory separator, single
dot in file names, and one actual bug: when set -e, running
(false; true) will of course fail, use (false || true).
From Tim Van Holder.
2001-01-26 Tim Van Holder <tim.van.holder@pandora.be>
* tests/Makefile.am (testsuite): Use testsuite.tmp, not
testsuite-tmp as temporary file.
2001-01-25 Assar Westerlund <assar@sics.se>
* autoreconf.sh: Also find configure.in.
2001-01-24 Akim Demaille <akim@epita.fr>
* configure.in: Bump to 2.49d.
2001-01-24 Akim Demaille <akim@epita.fr>
Version 2.49c.
2001-01-24 Jim Meyering <meyering@lucent.com>
* autoscan.pl (output): Detect/report a close failure.
2001-01-24 Akim Demaille <akim@epita.fr>
Preserve INSTALL too.
* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_INSTALL for internal
computations, and therefore use INSTALL where ac_given_INSTALL
was used.
(_AC_OUTPUT_SUBDIRS): There is no point in computing INSTALL in
here. It's not even used.
2001-01-24 Akim Demaille <akim@epita.fr>
While preserved in configure, srcdir is trashed in config.status.
Reported by Ralf Corsepius.
* tests/aclocal.m4 (AC_STATE_SAVE): It is ok to modify
CONFIG_STATUS, DEFS, prefix and exec_prefix.
It is OK to produce config.* files.
* tests/atspecific.m4 (AT_CONFIGURE_AC): Save the env *after*
AC_OUTPUT to check that it doesn't break anything by itself.
* tests/torture.m4 (srcdir): New test, from Ralf Corsepius.
* acgeneral.m4 (_AC_OUTPUT_FILES): Use ac_top_srcdir and ac_srcdir
to preserve srcdir and top_srcdir.
Remove any use of `ac_given_srcdir' as `$srcdir' being preserved
is usable.
2001-01-24 Alexandre Duret-Lutz <duret_g@epita.fr>
configure -q did not work since 2000-11-03.
* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Don't check for $silent,
tie AS_MESSAGE_FD to stdout unconditionally.
(_AC_INIT_PARSE_ARGS): If $silent redirect AS_MESSAGE_FD to
/dev/null.
* tests/base.at (AC_CACHE_CHECK): New test.
2001-01-24 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_EXECUTABLE_P, _AS_TEST_PREPARE): New macros.
(AS_SANITIZE_SHELL): Call _AS_TEST_PREPARE.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Use AS_EXECUTABLE_P
instead of test -f.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (generic_macro): s/AC_CHECK_FUNCTIONS/AC_CHECK_FUNCS/.
* acfunctions: Just like the previous patch.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (@kinds, %generic_macro): New.
(&init_tables): Use them.
* acheaders: Run `autoconf -t AC_CHECK_HEADERS:'$1'' on the fileutils,
and include all these headers in here.
Don't specify `AC_CHECK_HEADERS' as it's the default.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl: Just like the previous patch, but for
AC_CHECK_FUNCS, AC_CHECK_TYPES, and AC_CHECK_MEMBERS.
2001-01-24 Akim Demaille <akim@epita.fr>
* autoscan.pl (print_unique): Push all the macro invocation
locations.
(output_headers): For headers that need to be checked, push either
the specialized macro, or the generic macro call.
(check_configure_ac): Handle AC_CHECK_HEADERS.
2001-01-24 Raja R Harinath <harinath@cs.umn.edu>
Some non-srcdir build fixes.
* configure.in (BUGS): Look for file in $srcdir.
* tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.
2001-01-24 Akim Demaille <akim@epita.fr>
Don't AC_SUBST too much, as it makes Automake include those
variables in Makefiles, and drives autoscan to require unneeded
programs.
* acgeneral.m4 (_AC_INIT_PREPARE): Don't AC_SUBST CFLAGS,
CPPFLAGS, CXXFLAGS and LDFLAGS.
(AC_ARG_VAR): AC_SUBST the var.
Document it only once, even if there are several different docs.
* aclang.m4 (AC_PROG_CPP): Declare CPP and CPPFLAGS to AC_ARG_VAR.
(AC_PROG_CXXCPP): Declare CXXCPP and CPPFLAGS.
2001-01-24 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_expand_once): Accept a witness.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_EXPAND_ONCE): Remove, use m4_expand_once.
(AC_DIVERT_ONCE): Move to...
* m4sugar.m4 (m4_expand_once): here.
2001-01-23 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_SET): Turn off optimizations.
2001-01-23 Akim Demaille <akim@epita.fr>
* configure.in: If this is a beta, dump the core of BUGS.
* tests/base.at (AC_REQUIRE & AC_LANG): New test, currently failing.
2001-01-23 Akim Demaille <akim@epita.fr>
* autoscan.pl: Don't use `defined' to check whether an array is
defined.
Don't use parens with `defined'.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE): Be sure to quote hashes to
avoid M4 thinking it's comments.
2001-01-23 Tim Van Holder <tim.van.holder@pandora.be>
* aclang.m4 (_AC_COMPILER_EXEEXT_O): Use
AS_IF([AC_TRY_EVAL(ac_link)]) instead of AC_LINK_IFELSE to
avoid depending on ac_exeext before it's found.
(AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Check for the
executable extension BEFORE checking whether the compiler
works, as that test depends on a correct ac_exeext.
2001-01-23 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE) <trap>: Typo.
2001-01-22 Pavel Roskin <proski@gnu.org>
* autoscan.pl: Use "use strict". Declare all global variables
or make them private. Make all local variables private.
(find_autoconf): New, moved some code from the top level.
Use %ENV outside quotes to eliminate a warning.
2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
* acspecific.m4 (AC_PROG_LN_S): Detect DJGPP < 2.04, which only
supports 'ln -s' for executables.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl ($dir, $autoconf): New.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl ($headers, $functions, $identifiers, $libraries):
Also register locations of their requirement instead of a simple
counter.
(&check_configure_ac): Close TRACES.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Formatting changes.
Check `configure.ac' or `configure.in' if present.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl (&wanted): Don't register `Makefile' when
`Makefile.in' is present.
Factor the simplification of $name.
(&scan_makefile, &scan_sh_file): Instead of counting the number of
occurrences where a program/makevar is wanted, register file:line.
Adjust the verbose output.
(&check_configure_ac): Report the location where the macro is required.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Instead of undefined globals, set them to empty
values.
(%needed_macros): New.
(&check_configure_ac): New. Call it.
(&output_libraries): Eve out from &output_programs.
(&print_unique): For the time being register in %needed_macros
only argument less macros.
2001-01-22 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
then '#include <stdlib.h>', before trying the explicit declarations.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
AC_TRY_COMMAND to improve config.log.
(_AC_INIT_DEFAULTS): Don't define ac_exeext and ac_objext to
highlight failures.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
impossible to describe bug of SunOS 4.1.3 which causes a shell
crash when using `VAR=${VAR="$default"}'.
Reported and diagnosed by Kevin Ryde.
2001-01-22 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.
2001-01-22 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Export ac_cv_exeext so ltconfig believes the value is cached and
skips its own faulty test.
2001-01-22 Jim Meyering <meyering@lucent.com>
* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
body.
2001-01-22 Tim Van Holder <tim.van.holder@pandora.be>
* aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
conftest.val, not conftestval.
* acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
Likewise.
2001-01-22 Akim Demaille <akim@epita.fr>
Create actypes.m4.
* acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
(AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
(_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
(AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
* actypes.m4: here.
* acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
(AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
(AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
(AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
(AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
* actypes.m4: here.
Adjust the test suite.
2001-01-22 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Include a default case for non
existing tests.
* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
(AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
Spread their use.
(AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
* tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
* tests/mktest.sh: Create one test file per Autoconf source
file instead of separating syntax/update.
2001-01-22 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Some about diff and cmp.
2001-01-22 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_ESCAPE): New.
(_AS_QUOTE_IFELSE): Use it.
* tests/atgeneral.m4 (AT_INIT) <SHELL>: Define and use.
<--help> Don't display the options help when tests were selected.
Document -d.
<at_skip_list>: New.
<testsuite.log>: Give a banner, include ChangeLog snippets, list
the failed and skipped tests.
Remove useless $at_traceoff in sub shells, this improves the
readability of the traces by removing testsuite's implementation
details.
(AT_CHECK): Filter out the shell traces from the tested command's
stderr.
Use AS_ESCAPE.
Don't register experr and expout for clean up, as it's hairy and
easier to do from...
Support STDOUT = stdout, and STDERR = stderr.
Force the output of shell traces.
(AT_INIT): Here.
2001-01-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
the log.
(_AC_INIT_PREPARE): Do it in the trap 0.
2001-01-22 Akim Demaille <akim@epita.fr>
* autoscan.pl: Instead of undefined globals, set them to empty
values.
(%needed_macros): New.
(&check_configure_ac): New. Call it.
(&output_libraries): Eve out from &output_programs.
(&print_unique): For the time being register in %needed_macros
only argument less macros.
2001-01-22 Raja R Harinath <harinath@cs.umn.edu>,
Tim Van Holder <tim.van.holder@pandora.be>,
Jim Meyering <jim@meyering.net>
* acspecific.m4 (AC_AIX): Fix typo: s/@\$/@%/.
2001-01-19 Akim Demaille <akim@epita.fr>
Catch only used patterns.
Reported by the whole Autoconf community.
* m4sh.m4 (AS_INIT): New.
* acgeneral.m4 (AC_PLAIN_SCRIPT): Use it.
Forbid only AC, AU, AH and AM.
2001-01-19 Akim Demaille <akim@epita.fr>
Optimizing AC_LANG was broken. Test and fix.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
use _AC_LANG_ABBREV so that you don't depend upon _AC_LANG.
(_AC_LANG_SET): New.
(AC_LANG, AC_LANG_PUSH, AC_LANG_POP): Use it.
* tests/compile.at: Test AC_LANG, AC_LANG_PUSH & AC_LANG_POP.
2001-01-19 Akim Demaille <akim@epita.fr>
* sugar.m4 (m4_require): Missing dnl.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
AS_FLAGS are OK.
2001-01-18 Tim Van Holder <tim.van.holder@pandora.be>
* m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.
2001-01-18 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
since Libtool does not yet support it.
Let the test suite be more verbose about at-path.
From Patrick Welche.
2001-01-18 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
STDLIB|INTTYPES|MEMORY|STRING|UNISTD.
* tests/semantics.at (AC_CHECK_SIZEOF): Don't check the presence
of default headers, as it's machine dependent.
Reported by Jim Meyering and Nicolas Joly.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Don't leave macro names in comments.
* aclang.m4: Likewise.
* configure.in: Likewise.
* tests/semantics.at: Likewise.
* tests/tools.at: Likewise.
2001-01-18 Akim Demaille <akim@epita.fr>
Medium term goal: AC_ macros can be tested with -W obsolete.
* acgeneral.m4 (AC_RUN_IFELSE): Accept IF-CROSS-COMPILING.
(AC_TRY_RUN): Use it.
* acfunctions.m4: Start ousting AC_TRY_RUN and AC_TRY_COMPILE.
* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): AC_BEFORE on
AC_COMPILE_IFELSE and AC_RUN_IFELSE.
2001-01-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
bad surprises.
Reported by Jim.
2001-01-18 Akim Demaille <akim@epita.fr>
Require a perfect divert push/pop balance.
* m4sugar.m4 (m4_divert, m4_divert_push, m4_divert_pop): Keep
track of them in m4_divert_stack.
(m4_divert_pop): Accept the expected current diversion as
argument and m4_fatal if incorrect, or if there is nothing to pop.
(globally): Specify the known m4_divert_pop.
Preserve symbolic values when possible.
* acgeneral.m4: No longer push the first diversion.
Specify the known m4_divert_pop.
(AC_PLAIN_SCRIPT): When m4_divert_push a diversion, m4_wrap its
pop.
(AC_INIT): Run AC_PLAIN_SCRIPT first, not last.
* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Can't use m4_defun
without m4_init.
* m4sugar.m4: Likewise.
2001-01-18 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
builtin, fail on undefined symbols.
* tests/torture.at (Torturing config.status): Stop playing nasty
tricks with changequote.
(AC_DEFUBST): Move here from...
* tests/aclocal.m4: there.
2001-01-18 Akim Demaille <akim@epita.fr>
Various cleanups and consistency checks.
* m4sugar.m4: Formatting changes.
* acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
(AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
Use m4_copy to define them, in order to keep a good $0.
(AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
* aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
(AC_LANG_POP): Admit an argument specifying the language we quit
when popping.
Adjust Autoconf's AC_LANG_POPs.
* tests/tools.at (AWK portability): Don't depend on AC_INIT.
(autoconf --trace: user macros): Obviously I
meant TRACE1, not AC_TRACE1.
2001-01-17 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
arguments.
(_m4_expansion_stack): Rename as...
(m4_expansion_stack): this, and change its value: instead of using
the pushdef stack to stack each *line* of the stack, each
definition contains the whole stack. I.e., to display the whole
stack, instead of popdefing and displaying each definition, just
display the current definition.
(m4_expansion_stack_push, m4_expansion_stack_pop): New.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Let $2 be the expected
exit status.
* tests/m4sugar.m4 (m4_require: circular dependencies): New test.
2001-01-17 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_normalize): New macro - superposition of
m4_flatten and m4_strip.
(m4_join): Use m4_normalize.
* acgeneral.m4 (AC_FOREACH): Use m4_normalize.
(AC_CONFIG_HEADERS): Normalize the first argument.
(AC_CONFIG_LINKS): Likewise.
(AC_CONFIG_SUBDIRS): Likewise.
2001-01-17 Tim Van Holder <tim.van.holder@pandora.be>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir uses.
2001-01-16 Akim Demaille <akim@epita.fr>
Work around the Ultrix limitations on ``multiple redirections''.
Reported by Harlan Stenn.
* acgeneral.m4 (_AC_EVAL_STDERR): New.
(_AC_PREPROC_IFELSE): Use it.
2001-01-16 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.
2001-01-16 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
(_AC_INIT_DEFAULTS, AC_OUTPUT): Use it.
2001-01-16 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Lots of additions and changes.
(File Descriptors): New.
(Limitations of Make): New.
2001-01-16 Akim Demaille <akim@epita.fr>
* m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
Reported by Tim Van Holder.
2001-01-16 Akim Demaille <akim@epita.fr>
* Makefile.am (editpl, editsh): Merge into...
(edit).
* m4sh.m4 (AS_UNAME): Eved out from...
* acgeneral.m4 (_AC_INIT_DEFAULTS): here.
(_AC_INIT_PACKAGE): Define AC_PACKAGE_NAME.
(_AC_INIT_PARSE_ARGS): AC_SUBST the PACKAGE_ variables.
Propagate their use in the executables and the test suite.
* tests/atgeneral.m4 (PATH): Include only absolute paths.
(AT_INIT): Use AS_UNAME.
2001-01-16 Akim Demaille <akim@epita.fr>
When default headers are used, check for their presence.
Suggested by Jim.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
ac_includes_default, since...
(_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
(AC_INCLUDES_DEFAULT): Require the former when default includes
are used.
(AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
* acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.
2001-01-15 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Normalize sh samples.
2001-01-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
identity of the tests.
2001-01-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
before creating the debug scripts.
Create a log file.
When ignoring a test, display a reassuring `ok' for stressed
users, and say `skipped' instead.
Simply run `testsuite' with the failed tests instead of running
the debug scripts, this avoids having zillions of banners `Testing
Blabla 2.13' (another means to avoid these banners is to have the
test suite succeed :-).
2001-01-15 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
* tests/atgeneral.m4: Use it.
2001-01-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
* m4sh.m4 (AS_LITERAL_IF): this.
(AS_IFELSE): Rename as...
(AS_IF): this.
2001-01-12 Akim Demaille <akim@epita.fr>
With `expr's that return `0' on failures, the executable suffix is
`0'. Test and fix.
Reported by Assar Westerlund.
* Makefile.am (maintainer-check): New target.
* tests/Makefile.am (maintainer-check, maintainer-check-posix)
(maintainer-check-c++, expr): Likewise.
* configure.in (EXPR): Look for it.
* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
* tests/compile.at (Extensions): New test.
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Distinguish files with or without a dot.
2001-01-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Last changes for `configure.ac'.
(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
account.
* autoreconf.sh: Likewise.
2001-01-11 Motoyuki Kasahara <m-kasahr@sra.co.jp>
* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
invocation.
2001-01-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
(AC_PROG_CC, AC_PROG_CXX): Use it.
(AC_PROG_CC_STDC): Be sure to remove tmp files.
* tests/compile.at (AC_TRY_LINK_FUNC): Don't use exit to test it,
since it produces a prototype which conflicts with the one
computed by _AC_PROG_CXX_EXIT_DECLARATION.
* tests/semantics.at (AC_CHECK_FUNCS, AC_HAVE_FUNCS): Likewise.
(AC_HAVE_FUNCS): Test AC_HAVE_FUNCS!
2001-01-11 Kevin Ryde <user42@zip.com.au>
* autoconf.texi (Shellology): Fix an @end itemize, and a typo.
2001-01-11 Kelly Anderson <tgcorp@attglobal.net>
* autoconf.sh (M4): Handle PC drive letters.
* autoupdate.sh: Likewise.
2001-01-11 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
look for, after the other Fortran 90 compilers.
2001-01-11 Akim Demaille <akim@epita.fr>
* aclang.m4: Use m4_copy to duplicate macros.
(AC_LANG_PUSH): In order to have AC_LANG's simplifications
effective, be sure to let _AC_LANG be the old language before
calling AC_LANG.
2000-12-25 Pavel Roskin <proski@gnu.org>
* autoreconf.sh: s/localddir/localdir/.
Reported by Motoyuki Kasahara.
2000-12-23 Akim Demaille <akim@epita.fr>
* autoconf.sh: Promote `configure.ac' over `configure.in'.
* autoreconf.sh: Likewise.
* autoheader.sh: Ditto.
* autoupdate.sh: Similarly.
* doc/autoconf.texi: Adjust.
* tests/atspecific.m4: Be sure to remove configure.in.
Adjust the test suite to use `configure.ac'.
2000-12-22 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
single statement, so that one can make pipes with AC_TRYs, just as
in 2.13.
2000-12-20 Lars J. Aas <larsa@sim.no>
* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
Make the order of arguments for ls count by splitting the ls
command into a sequence of ls commands.
2000-12-20 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): Be sure to have `choke me' on
the seventh column so that the SGI Fortran compiler really chokes
on it.
From Ezra Peisach.
2000-12-20 Akim Demaille <akim@epita.fr>
* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
1.3.[0-5].
* tests/compile.at (GNU Fortran 77): Use AS_EXIT.
2000-12-20 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
pattern ` state* ' was added many times for `*' was improperly
escaped.
(AT_INIT): Remove the data files before running the tests.
Define AT_data_files and output it.
(AT_SETUP): Don't.
(_m4_divert(TEST)): Remove, now useless.
2000-12-20 Akim Demaille <akim@epita.fr>
* aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
(AC_PROG_CXXCPP, AC_PROG_CPP): Set the current language instead of
just asserting it, since these macros can be called directly.
Reported by Raja R. Harinath.
2000-12-19 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Installation Directory Variables): More info
on prefix and exec_prefix.
2000-12-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
_AC_COMPILE_IFELSE which uses ac_objext in a `test -s'.
Reported by Lars J. Aas.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
Use AC_TRY_COMMAND when running commands, to enrich the logs.
2000-12-19 Akim Demaille <akim@epita.fr>, Mo DeJong <mdejong@cygnus.com>
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
(_AC_COMPILER_EXEEXT_O): Extracted from...
(_AC_COMPILER_EXEEXT): here. Adjust.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Make exit status report more
visible.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Support FLAGS, STDOUT
and STDERR.
(AT_CHECK_CONFIGURE): Support plenty, cleanup defs when needed.
Spread their use in the whole suite.
Simplify a few AT_CLEANUPs.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
if-not-failed.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Use it in order to
dump config.log when configure failed. Before, the log was
reported only on success.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/foreign.at: New file.
2000-12-19 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
2000-12-18 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add a comment explaining why suffix rules are not
used there.
2000-12-15 Pavel Roskin <proski@gnu.org>
* autoconf.sh: If the "allowed" pattern is not defined set it
to "^$".
* tests/tools.at (autoconf: forbidden tokens, basic): New test.
(autoconf: forbidden tokens): Renamed to ...
(autoconf: forbidden tokens, exceptions): ... this.
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
Reported by Ezra Peisach.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): s/g77/G77/.
Reported by Ezra Peisach.
2000-12-15 Akim Demaille <akim@epita.fr>
* man/Makefile.am (.x.1): Fix to work properly with
builddir != srcdir.
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
(AC_PROG_CPP, AC_PROG_CXXCPP, AC_PROG_GCC_TRADITIONAL)
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_CC_STDC):
Don't use `${CC-cc}' since now the AC_REQUIRE machinery guarantees
that $CC is defined. And if not, it's a bug which must be
observable.
* acspecific.m4 (AC_SYS_LARGEFILE): Likewise.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
AC_TRY_EVAL.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE): More alike,
using AS_IFELSE, and systematically AC_TRY_COMMAND when testing
something (for the logs).
2000-12-15 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
* acgeneral.m4 (_AC_TRY_CPP): Its last use was that above, so
inline it into...
(_AC_PREPROC_IFELSE): here.
2000-12-15 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_EVAL): New.
(AC_TRY_EVAL, AC_TRY_COMMAND): Use it.
2000-12-15 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
(AC_TRY_CPP): Use AC_PREPROC_IFELSE.
(AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
properly.
* acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
AC_PREPROC_IFELSE.
* acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.
2000-12-15 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_init): Catch `dnl'.
2000-12-15 Pavel Roskin <proski@gnu.org>
* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
2000-12-14 Pavel Roskin <proski@gnu.org>
* tests/semantics.at (AC_CHECK_TYPES): There are two tests with
this name. Rename the second one to "AC_CHECK_TYPES: backward
compatibility"
(AC_TRY_LINK_FUNC): Removed. It's now in tests/compile.at.
(C keywords): Likewise.
(AC_PROG_CPP with warnings): Likewise.
(AC_PROG_CPP without warnings): Likewise.
2000-12-14 Akim Demaille <akim@epita.fr>
Put back AC_CYGWIN etc. under the responsibility of the
configure.in maintainer, but discourage its use.
* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
AU defined on top of AC_CANONICAL_HOST and $host_os.
* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
AC_MINGW32, and AC_EMXOS2.
2000-12-13 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
otherwise _m4eof is appended to the output on FreeBSD 4.0.
* tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
in sed, use "s" instead.
* tests/mktests.sh: Don't use \? in sed - it's a GNU extension.
Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.
2000-12-13 Akim Demaille <akim@epita.fr>
EXEEXT and OBJEXT don't need to know $CYGWIN etc.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
Move as...
* aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
(_AC_COMPILER_OBJEXT): these.
(_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
Don't depend upon $CYGWIN and the like.
(_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
Skip more extensions.
Use _AC_COMPILE_IFELSE.
2000-12-12 Pavel Roskin <proski@gnu.org>
* Makefile.am: Don't use suffix rules for perl and shell
scripts. Use explicit rules instead.
2000-12-12 Pavel Roskin <proski@gnu.org>
* autoscan.pl (init_tables): Allow spaces on the right hand side
in autoscan tables. Die if there are no spaces at all.
(scan_c_file): Use \b instead of \W so that keywords match at
the beginning and the end of the line.
(scan_sh_file): Likewise.
(scan_makefile): Likewise. Use \B to match before `-l'.
(output): Suggest AC_CONFIG_HEADER if any C/C++ sources are
found.
* acidentifiers: Update macros for structure members st_blksize
and st_rdev.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/compile.at (GNU Fortran 77): Be robust to compilers that
choke on `--version'.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/suite.at: Run `tools.at' first.
2000-12-12 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AC_STATE_SAVE): Use a more precise regexp to
keep envvars.
2000-12-12 Akim Demaille <akim@epita.fr>
AS_ERROR was not properly saving data in the log file.
* sh.m4 (AS_WARN, AS_ERROR): Use AS_MESSAGE.
(_AS_ECHO): Fix quotation.
(AS_MESSAGE): Use `as_me'.
* acgeneral.m4: More banners in the log.
(_AC_INIT_DEFAULTS): Compute as_me before using it.
2000-12-08 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (System Services) <AC_PATH_XTRA>: Adjust the
documentation about X_DISPLAY_MISSING to the code.
2000-12-07 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): More robust computation of
ac_tests_pattern.
Reported by Andrej Borsenkow.
2000-12-07 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT): Skip *.pdb.
From Paul Berrevoets.
2000-12-07 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Bad typo: assign `exit 1' to
at_continue if something failed, not `:'.
* tests/semantics.at (AC_PATH_XTRA): New.
* acspecific.m4 (_AC_PATH_X): New, extracted form AC_PATH_X.
2000-12-06 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49c.
2000-12-06 Akim Demaille <akim@epita.fr>
Version 2.49b.
2000-12-06 Akim Demaille <akim@epita.fr>
Stop playing with FDs in Autotest.
* tests/atgeneral.m4 (AT_INIT): Set up FD 5.
(AT_CHECK): Instead of using exec to globally change the FDs of
`testsuite', enclose the body of the test into a
`(..) >stdout 2>stderr'.
In every case, when verbose, display the differences between
expected and observed (stdout, stderr, exit status).
Let `0' be the default for EXIT-STATUS.
Support EXIT-STATUS == `ignore'.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoconf: forbidden tokens): Adjust expected
result.
2000-12-06 Akim Demaille <akim@epita.fr>
* man/config.guess.x: New file.
* man/config.sub.x: New file.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4 (AT_STATE_SAVE): Don't even try to preserve
egrep error messages, AT_CHECK will find them.
2000-12-06 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools) <awk>: `for' on
arrays is nondeterministic across AWK implementations.
* tests/tools.at (autoconf: forbidden tokens): Sort the error
message to guarantee its uniqueness.
2000-12-06 Akim Demaille <akim@epita.fr>
The SunOS' egrep fails to process properly the `egrep' invocations
of the test suite.
* tests/aclocal.m4 (AC_STATE_SAVE): If egrep fails, remove the
output file.
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't check `state-*'
if the files are not present.
* m4sugar.m4 (m4_join): Rename as...
(m4_smash): this.
* tests/aclocal.m4 (join): Move as...
* m4sugar.m4 (m4_flatten): this.
* autoconf.sh (trace.m4): Rename m4_smash as m4_flatten.
2000-12-06 Akim Demaille <akim@epita.fr>
* autoconf.sh (task trace): s/m4/$M4/.
* autoheader.sh: When loading trace.sh, catch errors and exit with
a decent error message.
* tests/tools.at: Be sure to test autoconf --trace before
autoheader.
2000-12-06 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Fix the m4_ifval invocation.
2000-12-06 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG): Be `smart': don't issue the sh code if the
current language did not change.
(AC_LANG_ASSERT): New.
(AC_PROG_CPP, AC_PROG_CXXCPP): Assert the language.
(_AC_PROG_F77_V, _AC_F77_NAME_MANGLING): Don't require
AC_PROG_F77, the code you include does it.
(AC_F77_LIBRARY_LDFLAGS): Set the language.
2000-12-06 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (ifelse): Rename as...
(m4_if): this.
* autoconf.m4 (ifelse): Restore.
2000-12-06 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_dquote, m4_pattern_forbid, m4_pattern_allow)
(m4_cr_letters, m4_cr_LETTERS, m4_cr_Letters, m4_cr_digits)
(m4_cr_symbols1, m4_cr_symbols2, m4_re_string, m4_re_word)
(m4_init): New macros.
(m4_token_allow): Remove.
* acgeneral.m4: Don't push BODY into the diversion stack.
(AC_PLAIN_SCRIPT): Do it.
Call m4_init, define the Autoconf patterns.
(AC_INIT): Use AC_PLAIN_SCRIPT.
Remove the useless `dnl' (those where the current diversion is
KILL).
* autoconf.sh (m4_common): Fix quotation.
(finalize.awk): Load forbidden.rx and allowed.rx.
Split the line into tokens, and check their validity.
* tests/tools.at (Forbidden tokens): Adjust.
2000-12-05 Bob Wilson <bwilson@tensilica.com>
* acspecific.m4 (_AC_OBJEXT, _AC_EXEEXT): Ignore .d files produced
by CFLAGS=-MD.
2000-12-05 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_F77): Temporarily set ac_ext to F to run
_AC_LANG_COMPILER_GNU.
From Steven G. Johnson.
* tests/compile.at (GNU Fortran 77): New test.
2000-12-05 Akim Demaille <akim@epita.fr>
* tests/tools.at (autoupdate): Strengthen and check autoupdate's
idempotency.
2000-12-05 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): s/cp -f/mv -f/.
2000-12-01 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't escape
backquotes in AC_MSG_ERROR. Fix error message.
2000-12-01 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_INIT): Use ${CONFIG_SHELL-/bin/sh}
to run the testsuite from the debug scripts.
Suggested by Alexandre Oliva.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Assignments): Don't use $? from an
assignment.
2000-11-30 Akim Demaille <akim@epita.fr>
* sh.m4 (AS_EXIT): Don't rely on false exiting 1.
Actually, always use `(exit $val); exit', don't try to be tricky.
* doc/autoconf.texi (Limitations of Builtins) <false>: new.
2000-11-30 Akim Demaille <akim@epita.fr>
* sh.m4 (_AS_EXPR_PREPARE): Don't rely on the exit status of a
back quote evaluation since the very system for which the test was
written does not propagate it. Groumph!
2000-11-30 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT): Also remove conftest$ac_exeext.
Reported by Pavel.
2000-11-30 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_EXEEXT, _AC_OBJEXT): Make the two macros more
alike: a loop over a sorted list of possible files.
Don't cleanup on errors, the trap will do it.
Cleanup when there are no errors.
(_AC_EXEEXT): Use the empty string instead of `no' as the cached
value.
Be sure to prefer `.exe' to `' when the two are observable.
Suggested by Lars and Earnie.
2000-11-30 Akim Demaille <akim@epita.fr>
When using Cygwin, in spite of all their efforts, it may happen
that `confestval' be read in binary mode. The shell then fails to
properly strip the \r\n.
Reported by Lars J. Aas.
* aclang.m4 (AC_LANG_INT_SAVE): Don't add any trailing new line,
and close the file.
Suggested by Peter Eisentraut.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Systemology): New section.
Some about QNX 4.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Special Shell Variables): Document RANDOM.
2000-11-30 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about cp
and mv, thanks to Ian.
2000-11-29 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_OBJEXT): Skip *.tds, special case .o and
.obj.
Suggested by Lars.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the portability of
the default assignment of CONFIG_FILES, CONFIG_HEADERS,
CONFIG_LINKS and CONFIG_COMMANDS.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CACHE_SAVE): Use the `clear' trick to work
around broken seds.
(_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Rename the sed labels to
match the Autoconf documentation.
2000-11-29 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): More on the variations
around ${foo=bar}.
(Assignments): Rewrite as a summary of the previous section.
* acgeneral.m4 (AC_CACHE_SAVE): Be protected against the Solaris'
`${foo='${bar}'}' bug.
2000-11-29 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): Don't use
`... echo "error: \\\`$f'" ...`
as it's not portable to BSDI 1.3.
Do this instead:
`... echo "error: $f" ...`
Reported by Daniele Arena.
2000-11-29 Akim Demaille <akim@epita.fr>
QNX 4.2.5's expr always exits 1 when `:' is used with parens.
* doc/autoconf.texi (Limitations of Usual Tools) <expr>: More
information, thanks to Paul Berrevoets, Paul Eggert and David
Morgan.
* sh.m4 (_AS_EXPR_PREPARE): New.
(AS_DIRNAME): Use it.
2000-11-29 Akim Demaille <akim@epita.fr>
sizeof (struct {char a,b; }) is not required to be 2.
Reported by Johan Danielsson.
* tests/semantics.at (AC_CHECK_SIZEOF): Define charchar as an
array of 2 chars.
Suggested by Alexandre.
2000-11-29 Akim Demaille <akim@epita.fr>
Provide a means to display banners in the test suite.
* tests/atgeneral.m4 (AT_INIT): Initialize `AT_banner_ordinal'.
Execute the epilogue of the tests only if a test was run.
Don't build the value of `at_tests_all' with a for loop: expand
`AT_TESTS_ALL'.
(AT_SETUP): Build `AT_TESTS_ALL'.
(AT_BANNER): New.
Adjust all the former banners to use it.
(AT_CHECK): Don't trace the decoding of `$?'.
2000-11-29 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_DEFINE, AT_UNDEFINE, AT_SHIFT)
(AT_INCLUDE): Remove, use the m4_ macros.
2000-11-29 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (ifval, ifset, ifdef, ifndef, m4_ifvanl): Rename as...
(m4_ifval, m4_ifset, m4_ifdef, m4_ifndef, m4_ifvaln): this.
(m4_n): New macro.
(m4_ifvaln): Use it.
* autoconf.m4 (ifdef): Restore it.
2000-11-29 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_errprint, divnum, errprint, esyscmd): Rename as...
(m4_errprintn, m4_divnum, m4_errprint, m4_esyscmd): this.
* autoconf.m4: Restore them.
2000-11-28 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Don't suggest obsolete AC_LANG_FORTRAN77.
(Language Choice): Better preamble.
2000-11-28 Pavel Roskin <proski@gnu.org>
* doc/install.texi: Minor changes to eliminate TeX warnings.
* doc/autoconf.texi: Likewise. Typo fixes.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atconfig.in: Move code into...
* tests/atgeneral.m4 (AT_INIT): here.
Use AS_SHELL_SANITIZE.
2000-11-23 Akim Demaille <akim@epita.fr>
Have the test suite list of the test groups and their references.
* tests/atgeneral.m4 (_m4_divert(SUITE_PRO)): Remove, replaced
by...
(_m4_divert(DEFAULT), _m4_divert(OPTIONS), _m4_divert(HELP))
(_m4_divert(SETUP)): these.
(_m4_divert(SUITE_EPI)): Rename as...
(_m4_divert(TAIL)): this.
(AT_INIT): Adjust to the new diversions.
Insert the magic number.
Accept test groups as cli argument.
List the test groups.
Rename TESTS, test, and tests as at_tests_all, at_test, and
at_tests.
Have the debug scripts pass options to test suite.
Remove their banner.
* tests/atspecific.m4: Don't divert to 0.
* suite.at: Don't insert the magic number.
2000-11-23 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_divert, m4_undivert): Support named diversions.
* tests/atgeneral.m4 (_m4_divert(SUITE_PRO), _m4_divert(TESTS))
(_m4_divert(SUITE_EPI), _m4_divert(TEST)): New diversions.
Push the first two diversions.
(AT_INIT): Don't.
(AT_INIT, AT_SETUP, AT_CLEANUP): Adjust to use the named
diversions.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEANUP): Factor the computation of
at_test_count into...
(AT_INIT): here.
Use an sh variable, at_data_files, instead of an hard coded list.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CLEAN_FILE_IFELSE, AT_CLEANUP_FILE)
(AT_CLEANUP_FILES): New macros.
(AT_SETUP, AT_CHECK, AT_CLEANUP): Use them.
(AT_CHECK): Fix a use of at_verbose.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER)
(AT_CHECK_CONFIGURE): New macros.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT) <at_verbose>: Be a :/echo variable.
<at_silent>: Remove.
(AT_CLEANUP): Clean up the diversion use.
2000-11-23 Akim Demaille <akim@epita.fr>
Factor part of the prologue of the tests.
* tests/atgeneral.m4 (AT_SETUP, AT_CLEANUP): No longer handle
at_stop_on_error.
(AT_INIT): After having checked whether the test failed, break out
of the loop if requested (-e).
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_SETUP): Don't build at-check-line, that's
AT_CHECK's job.
Remove the code depending upon `at_skip_mode': it's unused.
2000-11-23 Akim Demaille <akim@epita.fr>
* tests/atconfig.in: Remove the `snippet' marks, there are no
longer used.
* tests/atgeneral.m4: Likewise.
2000-11-23 Akim Demaille <akim@epita.fr>
Factor the epilogue of the tests.
* tests/atgeneral.m4 (AT_CLEANUP): Move the reading of at_status
into...
(AT_INIT): here, at the end of the `case'.
2000-11-23 Akim Demaille <akim@epita.fr>
The debug scripts are only wrapper around testsuite, asking for a
specific test.
* tests/atgeneral.m4 (AC_INIT) <at_debug>: New variable, new
option, -d, to disable the creation of the debug scripts (when
testsuite was already launched from one).
<at_test_count>: Really compute it instead of using the number of
the last test run.
2000-11-23 Akim Demaille <akim@epita.fr>
Transform Autotest's body into a `for test; case $test'.
As a known side effect, currently any code outside
AT_SETUP/AT_CLEANUP is discarded.
* acgeneral.m4 (_m4_divert(KILL)): Move to...
* m4sugar.m4: here.
* tests/atgeneral.m4 (AT_INIT): Use m4_divert_push/pop instead of
m4_divert.
Put all the tests inside a for;case.
Define TESTS.
(AT_SETUP, AT_CLEANUP): Open/close each case.
2000-11-23 Akim Demaille <akim@epita.fr>
Move divert and undivert into m4_.
* m4sugar.m4 (m4_divert, divert, undivert): Rename as...
(m4_divert_text, m4_divert, m4_undivert): this.
* autoconf.m4 (divert, undivert): Restore them for user macros only.
2000-11-23 Akim Demaille <akim@epita.fr>
Move Autotest on top of M4sh.
* tests/atgeneral.m4: Import M4sh.
Adjust the differences on the names of the builtins (define etc.).
(AT_CASE): Remove, use m4_case.
(AT_SETUP): Don't use `AT_group_description', `$1' is OK.
* tests/atspecific.m4 (m4_for, m4_foreach): Remove, use those of
M4sugar.
* tests/m4sugar.at: Strengthen the quotation and adjust to the new
macro names.
* tests/m4sh.at: Ditto.
* tests/torture.at: Ditto.
* tests/base.at: Ditto.
* m4sh.m4: Import M4sugar.
* autoconf.m4: Don't import M4sugar, M4sh does.
2000-11-20 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_RUN_IFELSE): `==' in test is not portable,
replace with `='.
2000-11-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS): Also include `PATH' and
`/bin/machine' in the log.
2000-11-17 Akim Demaille <akim@epita.fr>
Let AC_TRY_RUN be more verbose
* acgeneral.m4 (_AC_RUN_IFELSE): Instead of canceling the output
of the test program, save it into the log.
Save the exit status, and report it in the log when non zero.
Just use `(./conftest)' instead of `(./conftest; exit)'.
2000-11-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_includes_default>: Include
sys/stat.h.
* acspecific.m4 (AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_BLOCKS)
(AC_STRUCT_ST_RDEV): Simplify.
* acfunctions.m4 (AC_FUNC_MMAP): Include sys/stat.h unconditionally.
* doc/autoconf.texi (Default Includes): Adjust.
(Particular Structures) <AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV>:
Adjust.
2000-11-16 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools) <expr>:
expr 'a' : '\(b\)'.
From Paul Eggert.
2000-11-16 Akim Demaille <akim@epita.fr>
Reorder the test suite so that low level features are tested
before high level ones.
* tests/semantics.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
(missing templates): Move to...
* tests/torture.at: here.
Reorder the file so that the torture test is last.
* tests/semantics.at (AC_TRY_LINK_FUNC, AC_PROG_CPP with warnings)
(AC_PROG_CPP without warnings): Move to...
* tests/compile.at: here, new file.
* tests/suite.at: Run `torture' and then `compile' before
`semantics'.
2000-11-16 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_SYS_LARGEFILE): _AC_SYS_LARGEFILE_SOURCE no
longer exist.
2000-11-16 Akim Demaille <akim@epita.fr>
POSIX doesn't require s/[^/]// to work.
From Paul Eggert and Johan Danielsson.
* doc/autoconf.texi (Limitations of Usual Tools) <sed>:
Reorganize. Document this issue.
* autoupdate.sh (dir): Use `,' as separator instead of `/'
* autoreconf.sh: Likewise.
* autoupdate.sh: Ditto.
2000-11-16 Paul Eggert <eggert@twinsun.com>
* m4/largefile.m4 (_AC_SYS_LARGEFILE_SOURCE): Remove, replaced by...
(_AC_SYS_LARGEFILE_TEST_INCLUDES): this.
(AC_SYS_LARGEFILE_MACRO_VALUE): Use AC_LANG_PROGRAM instead of
_AC_SYS_LARGEFILE_SOURCE, i.e., don't pass
_AC_SYS_LARGEFILE_TEST_INCLUDES by default: this isn't desirable
when checking for fseeko.
(AC_SYS_LARGEFILE): Pass AC_SYS_LARGEFILE_TEST_INCLUDES to
_AC_SYS_LARGEFILE_MACRO_VALUE, since it no longer does this for us.
2000-11-16 Akim Demaille <akim@epita.fr>
Provide a means for escaping the forbidden patterns test.
* tests/tools.at (Forbidden tokens): Test m4_token_allow.
* m4sugar.m4 (m4_file_append, m4_token_allow): New macros.
* autoconf.sh (task script): Pass `tmp' and `verbose' to
finalize.awk.
(finalize.awk::check_patterns): Eve out from the body.
(finalize.awk): Read `$tmp/tokens_allowed', and don't complain for
these exceptions.
2000-11-14 Paul Eggert <eggert@twinsun.com>
* acspecific.m4 (AC_SYS_LARGEFILE): Don't worry about
whether fseeko and ftello are properly declared.
* acfunctions.m4 (AC_FUNC_FSEEKO): New macro, which worries about
fseeko (and presumably ftello). Do not set _XOPEN_SOURCE; that
causes too many problems in practice.
* acfunctions (fteelo, fseeko): Trigger AC_FUNC_FSEEKO.
* doc/autoconf.texi: Adjust.
2000-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Comment `true'.
2000-11-14 Akim Demaille <akim@epita.fr>
* BUGS: New file.
Be sure to read this file if you're using a non released Autoconf.
* tests/tools.at (Syntax of the scripts): The non built tools are
in `$top_srcdir', not `..'.
(autoconf --trace): When using `-i' we need the src tree, not the
build tree.
2000-11-14 Akim Demaille <akim@epita.fr>
A single m4_require is enough.
* m4sugar.m4 (_m4_require): $2 defaults to $1.
Rename as...
(m4_require): this.
* acgeneral.m4 (_AC_REQUIRE): Remove, use m4_require if you want
to get into the gory details.
2000-11-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS_ENVIRONMENT): Rename as...
* m4sh.m4 (AS_SHELL_SANITIZE): this.
2000-11-14 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Don't neutralize
autoconf's warnings.
2000-11-14 Akim Demaille <akim@epita.fr>
Set AC_LANG_PREPROC_REQUIRE which replaces AC_REQUIRE_CPP.
The main difference is that the former requires AC_LANG_COMPILER.
* aclang (AC_LANG_PREPROC, AC_LANG_PREPROC(C), AC_LANG_PREPROC(C++))
(AC_LANG_PREPROC(Fortran 77), AC_LANG_PREPROC_REQUIRE): New
macros. Issue a warning when looking for the Fortran 77
preprocessor instead of an error.
(AC_LANG_COMPILER): Check that it is run before the corresponding
AC_LANG_PREPROC.
(AC_PROG_C
(AC_LANG_COMPILER_REQUIRE): Don't call directly
AC_LANG_COMPILER(_AC_LANG), rather invoke AC_LANG_COMPILER so that
the generic code in AC_LANG_COMPILER is run.
(AC_REQUIRE_CPP): Use AC_LANG_PREPROC_REQUIRE.
(AC_PROG_CC, AC_PROG_CXX): Don't require being run before the
corresponding AC_LANG_PREPROC: AC_LANG_COMPILER does it.
Propagate AC_LANG_PREPROC_REQUIRE.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP): Use it instead of
AC_REQUIRE_CPP.
* acspecific.m4 (_AC_DECL_YYTEXT, AC_PATH_X): Don't
AC_REQUIRE_CPP, inner macro will do it.
* aclang.m4 (AC_PROG_GCC_TRADITIONAL, AC_C_STRINGIZE)
(AC_C_PROTOTYPES): Likewise.
(AC_C_STRINGIZE): Yeeks! The body of AC_CACHE_CHECK was not
quoted. Use @%:@ do assist Emacs.
For some reason (don't ask), this revamping revealed that
AC_PROG_CC_STDC, because of the `break', does not clean its tmp
files.
* aclang.m4 (AC_PROG_CC_STDC): Extract the creation of conftest.c
out of AC_COMPILE_IFELSE.
Be sure to clean the tmp files.
2000-11-14 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Simplify.
2000-11-14 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ALLOCA): Don't require AC_PROG_CPP,
since (i) you actually need a compiler, (ii) AC_TRY_LINK handles
it.
* acheaders.m4 (AC_HEADER_STDC): Don't require AC_PROG_CPP,
AC_TRY_CPP does it.
2000-11-14 Akim Demaille <akim@epita.fr>
Create acheaders.m4.
* acgeneral.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS)
(AH_CHECK_HEADERS): Move to...
* acheaders.m4: here, a new file.
* acspecific.m4 (_AC_CHECK_HEADER_DIRENT, AH_CHECK_HEADERS_DIRENT)
(AC_HEADER_DIRENT, AC_HEADER_MAJOR, AC_HEADER_STAT, AC_HEADER_STDC)
(AC_HEADER_SYS_WAIT, AC_HEADER_TIME)
(_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H)
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ): Move
to...
* acheaders.m4: here.
2000-11-14 Akim Demaille <akim@epita.fr>
Move AC_MSG_* into M4sh.
* acgeneral.m4 (_AC_SH_QUOTE, _AC_SH_QUOTE_IFELSE, _AC_ECHO): Move
to...
* m4sh.m4 (_AS_QUOTE, _AS_QUOTE_IFELSE, _AS_ECHO): here.
(AS_MESSAGE, AS_WARN, AS_ERROR): New.
* acgeneral.m4 (AC_MSG_NOTICE, AC_MSG_WARN, AC_MSG_ERROR): Use them.
(AC_FD_MSG, AC_FD_LOG): Be AU_ALIAS'es of...
(AS_MESSAGE_FD, AS_MESSAGE_LOG_FD): new.
Adjust all dependencies.
2000-11-14 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Spread some AS_EXIT and AC_MSG_ERROR.
(AC_OUTPUT): Don't play with trap, use ac_clean_files.
2000-11-14 Akim Demaille <akim@epita.fr>
Use AC_MSG_ERROR in `config.status', but adjust AC_MSG_* to use $0
instead of hard coded `configure'.
* acgeneral.m4 (AC_COPYRIGHT): s/configure.in/__file__/.
(_AC_INIT_DEFAULTS_FDS): Append to AC_FD_LOG instead of creating
it. No longer insert the configure banner.
(_AC_INIT_DEFAULTS): Create config.log with the banner.
Define `as_me'.
(_AC_INIT_PARSE_ARGS, _AC_INIT_PREPARE, AC_MSG_NOTICE)
(AC_MSG_CHECKING, AC_MSG_RESULT, AC_MSG_RESULT_UNQUOTED)
(AC_MSG_WARN, AC_MSG_ERROR, AC_MSG_ERROR, AC_TRY_CPP)
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE)
(_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_PROG_F77_V_OUTPUT): Use
`$as_me' instead of `configure'.
(AC_OUTPUT): Get rid of the UCA, and of the empty line when
dumping confdefs.h into config.log.
(_AC_OUTPUT_CONFIG_STATUS): Use _AC_INIT_DEFAULTS_FDS.
Print a banner.
Use AC_MSG_ERROR and AC_MSG_NOTICE.
* acgeneral.m4 (AC_CACHE_LOAD, _AC_OUTPUT_FILES, _AC_OUTPUT_LINKS)
(_AC_OUTPUT_HEADERS): Use AC_MSG_NOTICE.
* tests/semantics.at (missing templates): Adjust.
2000-11-14 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autoconf Invocation): Explain `-W error'
gives back traces.
2000-11-11 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_CHECK_FUNCS): Add missing m4 quotes.
(AC_FUNC_GETPGRP): Likewise.
* acspecific.m4 (AC_AIX): Likewise.
* m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
* m4/missing.m4 (AM_MISSING_PROG): Likewise.
* m4/sanity.m4 (AM_SANITY_CHECK): Likewise.
2000-11-11 Pavel Roskin <proski@gnu.org>
* acfunctions.m4: Always quote first argument of AC_MSG_ERROR,
AC_MSG_WARN, AC_MSG_CHECKING, AC_MSG_RESULT,
AC_MSG_RESULT_UNQUOTED.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* configure.in: Likewise.
* doc/autoconf.texi: Likewise.
2000-11-10 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Particular Structures): Fix examples for
AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV.
2000-11-10 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Limitations of Usual Tools): Don't use
uncommon abbreviations.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): Some information
about `trap'.
Document the FreeBSD bug observed by Pavel.
2000-11-10 Pavel Roskin <proski@gnu.org>
* autoscan.pl (scan_files): Eliminate a warning if no C files
are found.
(output): Likewise. Use AC_CONFIG_SRCDIR and AC_CONFIG_FILES
instead of old-style arguments for AC_INIT and AC_OUTPUT.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): `&' in sed's rhs
is portable.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): Some information about
Solaris' sh handling of ``foo=${foo='}'}'' collected by Alexandre,
reported by David Taylor.
2000-11-10 Akim Demaille <akim@epita.fr>
* tests/m4sh.at (Negated classes in globbing): New test.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Builtins): `for i; do'.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shellology): Some about /usr/xpg4/bin/sh on
Solaris.
Sort the entries.
Some words about POSIX vs Bourne shell.
From Russ Allbery and Robert Lipe.
2000-11-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Shell Substitutions): Split into...
(Shell Substitutions, Assignments): these.
Move them before `Special Shell Variables'.
(Shell Substitutions): Include information on `$()' from Russ
Allbery.
2000-11-10 Akim Demaille <akim@epita.fr>
When running
AC_INIT
AC_PROG_CC
AC_LANG_COMPILER_REQUIRE
AC_PROG_CC is expanded twice, because AC_PROG_CC provides
`AC_PROG_CC', and not `AC_LANG_COMPILER(C)' as expected by
AC_LANG_COMPILER_REQUIRE.
* aclang.m4 (AC_LANG_COMPILER(C)): Instead of calling AC_PROG_CC,
require it.
(AC_LANG_COMPILER(C++), AC_LANG_COMPILER(Fortran 77)): Likewise.
2000-11-10 Akim Demaille <akim@epita.fr>
* m4sh.m4 (AS_MKDIR_P, AS_DIRNAME_SED): Don't shell quote $1.
Adjust callers.
Reported by Paul Eggert.
* tests/m4sh.at: Sort.
2000-11-09 Pavel Roskin <proski@gnu.org>
* install-sh: Use ":" instead of "true".
2000-11-09 Pavel Roskin <proski@gnu.org>
* tests/tools.at (Syntax of the scripts): Check "autoreconf"
only once. Check "install-sh", "mkinstalldirs" and "missing".
2000-11-09 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_COMPUTE_INT_COMPILE): Use ":" instead of
"true".
* tests/atgeneral.m4 (AT_INIT): Likewise.
* tests/tools.at (Syntax of the scripts): Likewise.
2000-11-09 Pavel Roskin <proski@gnu.org>
* tests/m4sugar.at (m4_warn): Adjusted to accept stack dump when
-Werror is used.
2000-11-08 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (_m4_expansion_stack_dump): Really rename as...
(m4_expansion_stack_dump): this.
2000-11-08 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_PROGRAM(Fortran 77): Complain about $1 having
a value.
Reported by Paul Martinolich.
(_AC_LANG_COMPILER_GNU): Pass the test as the body of
AC_LANG_PROGRAM, not the prologue.
2000-11-07 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Temporarily disable recognizing of abbreviated
long options - it's hard to maintain them by hand.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
2000-11-07 Akim Demaille <akim@epita.fr>
* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.
2000-11-07 Akim Demaille <akim@epita.fr>
m4_syscmd was reestablished as `syscd' intead of `syscmd' because
instead of `s/^m4_//', m4_copy_unm4 was running `s/[m4_]//'.
* m4sugar.m4 (m4_copy_unm4): Fix.
2000-11-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECKING): Is not an alias of AC_MSG_NOTICE,
hence use AU_DEFUN, not AU_ALIAS.
2000-11-03 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_FNMATCH): Add a test to detect
the d*/*1 vs d/s/1 bug.
Add a couple more test cases to catch bugs in glibc 2.1.95.
Include fnmatch.h unconditionally
Mention the GNU C library.
From Paul Eggert.
2000-11-03 Akim Demaille <akim@epita.fr>
AC_CONFIG_AUX_DIR_DEFAULTS overrides AC_CONFIG_AUX_DIR. Ouch.
Reported by Paul Martinolich.
* acgeneral.m4 (AC_PROVIDE): Don't forget to `m4_provide'!!!
Tss, novice...
* tests/base.at (AC_REQUIRE & AC_PROVIDE): New test.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_location): When using its value, don't use
`m4_defn', since m4_location is not a variable, it's a macro which
expands to __file__:__line__.
* tests/m4sugar.at (m4_warn): New test.
2000-11-03 Akim Demaille <akim@epita.fr>
* tests/tools.at (unexpanded macros): Strengthen.
* autoconf.sh (finalize.awk): Use `sub' instead of `index' +
`substr'.
More comments.
2000-11-03 Akim Demaille <akim@epita.fr>
* Makefile.am (.m4.m4f): Check that processing produces only
comments and empty lines.
Check that freezing produced no output.
* m4sugar.m4: Commentize what was not.
* m4sh.m4: Likewise.
* aclang.m4: Formatting changes.
2000-11-03 Akim Demaille <akim@epita.fr>
* autoconf.m4 (define): Reestablish only after having read the
`ac' files.
Adjust all the Autoconf code to use `m4_define', not `define'.
2000-11-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AU_ALIAS): Don't forget to pass the arguments to
the new macro...
Reported by Ezra Peisach.
* tests/semantics.m4 (AC_HAVE_FUNCS): New test.
* tests/tools.at (autoupdate): As a benign side effect, updating a
macro that takes no argument produces `UPDATED([])', no longer
`UPDATED()'. Adjust the test.
2000-11-03 Akim Demaille <akim@epita.fr>
* autoconf.m4: Instead of reactivating the macros before reading
Autoconf's files, do it afterwards, so that Autoconf promotes the
right use, but users still can use the old names.
Of course this revealed numerous non updated uses of old macros in
Autoconf's files. Adjust them.
But for the time being, keep `define' alive for Autoconf.
2000-11-03 Akim Demaille <akim@epita.fr>
AC_REQUIRE and AC_DEFUN_ONCE don't work properly together. This
caused strange messages about AC_ARG_PROGRAM.
Reported by Jim Meyering.
* acgeneral.m4 (AC_DEFUN_ONCE): Fix the indirection to
m4_defun_once.
* m4sugar.m4 (m4_defun_once): Also define
`m4_location(MACRO-NAME)'. s/ac_warn/m4_warn/.
Use `m4_defn' to read `m4_location'.
* tests/base.at (AC_REQUIRE & AC_DEFUN_ONCE): Two new tests.
2000-11-03 Akim Demaille <akim@epita.fr>
Set up config.log earlier so that AC_MSG_ERROR and AC_MSG_WARN can
be used early.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Call `_AC_INIT_PREPARE_FDS'.
(_AC_INIT_PREPARE): Don't.
(_AC_INIT_PREPARE_ENVIRONMENT, _AC_INIT_PREPARE_FDS): Rename as...
(_AC_INIT_DEFAULTS_ENVIRONMENT, _AC_INIT_DEFAULTS_FDS): these,
since they are called from `_AC_INIT_DEFAULTS', not
`_AC_INIT_PREPARE'.
(_AC_INIT_DEFAULTS_FDS): Dump `$@' in config.log, not
`$ac_configure_args' which is not computed yet.
2000-11-03 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and
`-'.
Reported by Andreas Jaeger.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sh.m4 (_AS_UNSET_PREPARE): New macro, eved from
_AC_INIT_PREPARE_ENVIRONMENT, and fixed: set `FOO' before trying
to unset it: `unset' exits 1 if the variable is not defined.
(AS_UNSET): Require it. Use `as_unset' not `ac_unset'.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Use it.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (builtin, changecom, changequote, decr, dumpdef)
(incr, index, indir, len, syscmd, sysval, traceoff, traceon):
Rename as...
(m4_builtin, m4_changecom, m4_changequote, m4_decr, m4_dumpdef)
(m4_incr, m4_index, m4_indir, m4_len, m4_syscmd, m4_sysval)
(m4_traceoff, m4_traceon): these.
* autoconf.m4 (builtin, changecom, decr, incr, index, indir, len)
(syscmd, sysval, traceoff, traceon): Reactivate.
2000-11-03 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_rename_m4, m4_copy_unm4): New macros.
Use them.
(debugfile, debugmode, m4exit, m4wrap, maketemp, patsubst, regexp)
(substr, translit, m4_wrap): Rename as...
(m4_debugfile, m4_debugmode, m4_exit, m4_wrap, m4_maketemp)
(m4_patsubst, m4_regexp, m4_substr, m4_translit, m4_text_wrap): these.
Adjust all dependencies.
* acgeneral.m4: Adjust.
* tests/m4sugar.at: Adjust.
* autoconf.m4 (m4exit, patsubst, regexp, substr, translit):
Reestablish them.
2000-11-02 Akim Demaille <akim@epita.fr>
The documentation is not clear about the obsoleteness of
`acconfig.h', `config.h.top', and `config.h.bot'.
Reported by Aharon Robbins.
* doc/autoconf.texi (Making configure Scripts)
(Automatic Remaking, Defining Symbols, Distributing): Forget about
these files.
(acconfig.h): Reword.
Display the old scheme presenting the dependencies between input
and output files.
(Changed File Names): Clarify.
2000-11-02 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Limitations of Usual Tools): Some about
dirname.
2000-11-02 Pavel Roskin <proski@gnu.org>
* ifnames.sh: Put the opening brace on the same line with
patterns. Reported by Paul Martinolich.
* tests/tools.at (AWK portability): Check ifnames.
(ifnames): New test for ifnames.
* THANKS: Updated.
2000-11-02 Pavel Roskin <proski@gnu.org>
* m4/atconfig.m4 (AT_CONFIG): s/AT_TESTPATH/AUTOTEST_PATH/
because AT_TESTPATH looks like a macro.
* tests/atconfig.in: Likewise.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoconf.sh (trace.m4): Move all the M4 builtins into `at_'.
Catch the failures of the big pipe.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/tools.at (Tracing M4 builtins): New test.
* autoconf.sh (trace_format): Fix its computation.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
stdout and stderr fail, differences on the latter are probably
more significant than on the former.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoconf.sh (task trace) [debug]: Instead of a long pipe, extend
trace.m4.
2000-11-02 Akim Demaille <akim@epita.fr>
* autoupdate.sh (m4.txt): Use `dumpdef' and m4 to build it.
2000-11-02 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (popdef, pushdef): Rename as...
(m4_popdef, m4_pushdef): these.
Adjust dependencies.
* acgeneral.m4: Adjust.
* aclang.m4: Likewise.
* autoconf.m4 (popdef, pushdef): Reactivate them.
2000-11-02 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
`-v' is passed.
2000-11-01 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Using trap-safe "exit".
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* tests/base.at: Use AS_EXIT instead of exit in configure.in.
* tests/m4sh.at: Likewise.
* tests/semantics.at: Likewise.
2000-11-01 Akim Demaille <akim@epita.fr>
In M4sugar, move `define', `undefine', and `defn' into the `m4_'
name space.
* m4sugar.m4 (m4_define, m4_defn, m4_undefine): New macros.
(define, defn, undefine): Undefine.
Adjust all uses.
* m4sh.m4: Adjust.
* autoconf.m4: Reenable these builtins.
* m4sugar.m4 (m4_expansion_stack_dump): Use m4_copy.
2000-11-01 Akim Demaille <akim@epita.fr>
GNU M4 1.4 improperly handle the traces of copies of builtins.
* autoconf.sh (task trace): When tracing `BUILTIN' also trace
`m4_BUILTIN'.
2000-11-01 Akim Demaille <akim@epita.fr>
Autoupdate should not depend upon foreign macros.
* autoupdate.sh (ac.m4): Use `_au_define', not `define'.
(input.m4): Use `_au_BUILTIN' not `BUILTIN'.
2000-11-01 Akim Demaille <akim@epita.fr>
* m4sugar.m4 (m4_fatal): Dump the expansion stack.
* acgeneral.m4 (AC_FATAL): Use m4_fatal.
2000-11-01 Akim Demaille <akim@epita.fr>
Move the `defun' handling into M4sugar.
* m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
_m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
m4_provide_ifelse): New macros.
* acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
_AC_DEFUN_EPI): Removed.
(AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.
2000-11-01 Raja R Harinath <harinath@cs.umn.edu>
* tests/tools.at (autoupdating AC_LINK_FILES): Invoke autoconf
like in the rest of the tests.
2000-11-01 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Typo: s/m4__warnings/m4_warnings/.
2000-10-31 Pavel Roskin <proski@gnu.org>
* autoupdate.sh: Check that $sed understands the meaning of "\b"
instead of checking "--version".
2000-10-31 Akim Demaille <akim@epita.fr>
Move the handling of classified warnings into M4sugar.
* m4sugar.m4 (m4_diagnose): Remove.
(m4_warning): New.
* acgeneral.m4 (AC_WARNING_IFELSE, _AC_WARNING_IFELSE)
(_AC_WARNING_ERROR_IFELSE, __AC_WARNING_ERROR_IFELSE)
(_AC_DIAGNOSE, AC_DIAGNOSE): Rename as...
* m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse)
(_m4_warning_error_ifelse, __m4_warning_error_ifelse)
(_m4_warn, m4_warn): these.
* acgeneral.m4 (AC_DIAGNOSE): Wrapper around `m4_warn'.
* autoconf.sh: Define `m4_warnings' instead of `_AC_WARNINGS'.
2000-10-30 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PATH_XTRA): Use AC_LANG_PROGRAM() as the
argument to AC_LINK_IFELSE.
2000-10-30 Pavel Roskin <proski@gnu.org>
* m4sh.m4 (AS_EXIT): Use "false" for exit code 1, ":" for 0.
* acgeneral.m4 (AC_MSG_ERROR): Don't use m4_default for the
second argument - AS_EXIT takes care of it.
2000-10-30 Akim Demaille <akim@epita.fr>
* m4sugar.m4: Formatting changes.
2000-10-30 Akim Demaille <akim@epita.fr>
Move the handling of diversions into M4sugar.
* acgeneral.m4 (_AC_DIVERT, AC_DIVERT, AC_DIVERT_PUSH)
(AC_DIVERT_POP): Move to...
* m4sugar.m4 (_m4_divert, m4_divert, m4_divert_push)
(m4_divert_pop): here.
* acgeneral.m4: Adjust to use only the M4sugar macros.
Nevertheless...
(AC_DIVERT_PUSH, AC_DIVERT_POP): New wrappers around the M4sugar
macros.
(_AC_DIVERT(...)): Rename all the diversions names as...
(_m4_divert(...)): these.
2000-10-30 Pavel Roskin <proski@gnu.org>
* m4sh.m4 (AS_EXIT): New macro that exits and makes sure that $?
is set correctly within the exit trap.
(AS_TMPDIR): Use it.
* acgeneral.m4 (AC_MSG_ERROR): Likewise,
2000-10-29 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_TOOL): Set VARIABLE also when using the
cache. From Jim Meyering.
(AC_PATH_TOOL): Likewise.
2000-10-29 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_CHECK): Warn if the expected exit status
is different from what we got. Don't preserve exit status other
than 77.
2000-10-29 Pavel Roskin <proski@gnu.org>
* autoconf.sh: When scanning for unexpanded macros match only
words beginning with "A?_" and "m4_" or containing "_A?_".
Strip the comments before the matching. Don't use character
ranges.
2000-10-29 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.
2000-10-29 Jim Meyering <meyering@lucent.com>
* acgeneral.m4 (AC_MSG_WARN): Now that this macro expands to
two stmts, enclose them in `{' ... `}'.
2000-10-28 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_REQUIRE_CPP): Don't default to C++ - call AC_FATAL
for unsupported languages.
2000-10-27 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
shell, not from the test program.
2000-10-27 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Limitations of Builtins): Recommend using
AC_MSG_ERROR instead of exit.
(Autoconf Language): Fix examples.
2000-10-27 Pavel Roskin <proski@gnu.org>
* tests/suite.at: Move "-*- Autoconf -*-" to the second line.
2000-10-27 Akim Demaille <akim@epita.fr>
Use AC_MSG_ERROR in the test suite, not just `exit'.
* tests/README: New file.
* tests/semantics.at: Don't just `exit 1' or `exit 77' from
configure.in: call AC_MSG_ERROR.
* tests/base.m4: Likewise.
* tests/m4sh.at: Likewise.
* tests/semantics.at (AT_CHECK_PROGS_PREPARE): New macro, eved
out of...
(AC_CHECK_PROG & AC_PATH_PROG): here.
Split into two individual tests...
(AC_CHECK_PROG & AC_CHECK_PROGS, AC_PATH_PROG & AC_PATH_PROGS): these.
2000-10-27 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Recognize short options followed by arguments
without separators.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise. Recognize abbreviations for
"--autoconf-dir" and "--m4dir".
* autoupdate.sh: Likewise. Recognize abbreviations for
"--autoconf-dir".
2000-10-26 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Don't show obsolete options on "--help". Report
obsolete options to stderr. Adjust list of options. Correct
processing of options. Process options with values separated by
"=" first, so that abbreviations work. Don't accept "=" with
short options.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: There is no "--verbose" option.
* doc/autoconf.texi: Option "-A" requires an argument.
(autoreconf Invocation): Document "--install", "--symlink",
"--m4dir" and the options passed to Automake.
2000-10-26 Akim Demaille <akim@epita.fr>
* shell.m4: Rename as...
* m4sh.m4: this.
* tests/m4sugar.m4, tests/shell.m4, tests/torture.m4: Rename as...
* tests/m4sugar.at, tests/m4sh.at, tests/torture.at: these.
* tests/semantics.m4, tests/base.m4, tests/suite.m4: Rename as...
* tests/semantics.at, tests/base.at, tests/suite.at: these.
* tests/tools.m4, tests/update.m4, tests/syntax.m4: Rename as...
* tests/tools.at, tests/update.at, tests/syntax.at: these.
* tests/mktests.sh: Adjust the output file names.
2000-10-25 Pavel Roskin <proski@gnu.org>
* autoupdate.sh: Redirect stdin for sed to /dev/null to avoid
hangs with non-GNU versions of sed.
2000-10-25 Akim Demaille <akim@epita.fr>
Move the Autoconf independent shell macros into the file
`shell.m4' and the name space `AS_*'.
* acgeneral.m4 (AC_SHELL_IFELSE, _AC_SHELL_TMPDIR, AC_SHELL_UNSET)
(AC_SHELL_MKDIR_P, AC_SHELL_DIRNAME): Rename and move to...
* shell.m4 (AS_IFELSE, AS_TMPDIR, AS_UNSET, AS_MKDIR_P)
(AS_DIRNAME): here, a new file.
Adjust all dependencies.
* tests/base.m4 (m4_wrap): Eve out into...
* tests/shell.m4: here, new file.
* tests/base.m4 (AC_SHELL_MKDIR_P)
(AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): Eve out into...
* tests/m4sugar.m4 (AS_MKDIR_P, AS_DIRNAME & AS_DIRNAME_SED):
here, new file.
Adjust the test suite.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_DIRNAME): Split its code into...
(AC_SHELL_DIRNAME_EXPR, AC_SHELL_DIRNAME_SED): these new macros.
* tests/base.m4 (AC_SHELL_DIRNAME & AC_SHELL_DIRNAME_SED): New
test.
2000-10-25 Pavel Roskin <proski@gnu.org>
* tests/aclocal.m4 (AC_ENV_SAVE): Rename to ...
(AC_STATE_SAVE): ... this. Save the list of all files
in the current directory.
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Compare lists of
files created by AC_ENV_SAVE. Remove state* before and after
the test.
2000-10-25 Pavel Roskin <proski@gnu.org>
* Makefile.am: Add acversion.m4.in to EXTRA_DIST.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_SHELL_DIRNAME): The sed fall back was producing
twice the output for it was not using `-n' and used `p'. Remove
the latter.
2000-10-25 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): Give some information on
the host in config.log.
2000-10-24 Pavel Roskin <proski@gnu.org>
* tests/mktests.sh: Set locale to C to make sure that syntax.m4
and update.m4 are locale-independent.
2000-10-24 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_CACHE_DUMP): Add a missing separator for sed
commands.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AT_FILE_DEPENDENCY): Rename as...
(AC_FILE_DEPENDENCY_TRACE): this.
2000-10-24 Lars J. Aas <larsa@sim.no>
* m4sugar.m4: (m4_tolower, m4_toupper): New macros.
* acgeneral.m4 (AC_PREFIX_PROGRAM): Use m4_toupper().
* aclang.m4 (AC_F77_FUNC): Use m4_toupper()/m4_tolower().
2000-10-24 Pavel Roskin <proski@gnu.org>
* m4sugar.m4 (m4_quote): Comment change.
2000-10-24 Akim Demaille <akim@epita.fr>
Start avoiding dependence upon character ranges.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Introduce `ac_cr_AZ',
`ac_cr_az', `ac_cr_09', `ac_cr_alnum' and `ac_hostname'.
Spread their use.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_OUTPUT): Don't play with `trap'.
(_AC_INIT_PREPARE): Trap after having created config.log.
Also trap on 0.
When trapped, report why in config.log.
(AC_MSG_WARN, AC_MSG_ERROR): Also output the message in
config.log.
2000-10-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Rename as...
(AC_SHELL_DIRNAME): this.
s/X$1/X[]$1/ so that when $1 is a macro, it's given a chance to be
expanded.
(AC_PREFIX_PROGRAM): Use AC_SHELL_DIRNAME.
Quote properly.
2000-10-24 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (Syntax of the scripts): Specify the path to the
tested program, some shells don't honor the PATH with `sh PROG'.
2000-10-23 Akim Demaille <akim@epita.fr>
Since GNU M4 now comes with its libm4 (binary), to avoid
ambiguities let's rename `libm4' (M4 code) as `m4sugar':
Readability And Greater Understanding Stands 4 M4sugar
name coined by Lars J. Aas.
* libm4.m4: Rename as...
* m4sugar.m4: this.
All dependencies adjusted.
2000-10-23 Akim Demaille <akim@epita.fr>
* tests/mktests.sh (update_exclude_list, syntax_exclude_list): Add
`AC_PREREQ'.
* tests/tools.m4: Globally, don't use `../' to invoke the tested
tools, since the PATH is properly set, and in most cases it
obfuscates the test code.
(autoupdating AC_PREREQ): New tests.
2000-10-23 Akim Demaille <akim@epita.fr>
In order to check that all the CPP symbols which are AC_DEFINE'd
are properly templated, autoheader traces
AC_DEFINE/AC_DEFINE_UNQUOTED. Only literals can be traced, and
actually tracing non literals produces invalid autoheader input.
Hence, provide a means to trace calls to
AC_DEFINE/AC_DEFINE_UNQUOTED with literals.
* acgeneral.m4 (AC_DEFINE_TRACE, AC_DEFINE_TRACE_LITERAL): New
macros.
(AC_DEFINE, AC_DEFINE_UNQUOTED): Use AC_DEFINE_TRACE.
* autoheader.sh: Trace AC_DEFINE_TRACE_LITERAL, not
AC_DEFINE/AC_DEFINE_UNQUOTED.
2000-10-23 Akim Demaille <akim@epita.fr>
Let autoupdate change AC_PREREQ to require the current version of
Autoconf.
* acgeneral.m4 (_AC_VERSION_UNLETTER, _AC_VERSION_COMPARE): Move
to...
* libm4.m4 (m4_version_unletter, m4_version_compare): here.
Adjust dependencies.
* acgeneral.m4 (AU::AC_PREREQ): New macro.
* autoupdate.sh: Fail when `m4 input.m4' fails.
2000-10-21 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_CHOWN): Remove temporary files on exit.
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
(AC_FUNC_SELECT_ARGTYPES): Likewise.
(AC_FUNC_UTIME_NULL): Likewise.
* acgeneral.m4 (_AC_COMPUTE_INT): Likewise.
* aclang.m4 (_AC_F77_NAME_MANGLING): Likewise.
* acspecific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
2000-10-20 Pavel Roskin <proski@gnu.org>
* tests/tools.m4 (autoupdating AC_LINK FILES): Clean up "src1"
and "src2" at the end of the test.
2000-10-19 Pavel Roskin <proski@gnu.org>
* NEWS: Documented changes in AC_PROG_CPP and AC_TRY_CPP.
* doc/autoconf.texi (Compilers and Preprocessors): Likewise.
* acgeneral.m4 (AC_TRY_CPP): Comment changes.
2000-10-19 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Shellology): Documented quirks in ash-0.2.
2000-10-18 Pavel Roskin <proski@gnu.org>
* mdate-sh: Removed, its copy remains in the doc/ directory.
2000-10-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_TOOLS): Use `$' when reading a variable.
2000-10-18 Morten Eriksen <mortene@sim.no>
* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
instead of reinventing the wheel. This also takes care of a bug
where the "-g" option was accepted if the compiler silently exits
with status unequal to 0.
(_AC_PROG_CXX_G): Likewise.
(AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
$ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
front of _AC_PROG_CC_G.
(AC_PROG_CXX, AC_PROG_F77): Likewise.
2000-10-18 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4 (AT_INIT): Avoid foo="`bar`", foo=`bar` is
enough.
Use grep to check the presence of a string in a stream.
* m4/atconfig.m4: Quote.
2000-10-18 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SHELL_DIRNAME): Quote the `sed' fall back.
2000-10-18 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_PROG_LN_S): If neither `ln -s' nor `ln' work,
fall back to `cp'.
2000-10-17 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_CHECK_TOOL): As AC_CHECK_PROG first tests the
value of the VARIABLE argument when looking for executables, we
need to set it to the correct value from AC_CHECK_TOOL when not
just passing on the incoming VARIABLE directly.
(AC_CHECK_TOOLS, AC_PATH_TOOL): Likewise.
2000-10-17 Assar Westerlund <assar@sics.se>
* acgeneral.m4 (_AC_INIT_PREPARE): Move the
_AC_INIT_PREPARE_ENVIRONMENT invocation to...
(_AC_INIT_DEFAULTS): here, so that we keep the same known
environment for more of the script.
2000-10-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (The GNU build system): Sketch of new a
chapter.
2000-10-17 Akim Demaille <akim@epita.fr>
Somehow, the adjustment of `mktests.sh' claimed on 2000-10-17 by
myself (`Fix autoupdate...') was not applied.
* tests/mktests.sh (update_exclude_egrep): Add AC_INIT, AC_OUTPUT,
AC_LINK_IFELSE.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_CHECK_PROG, AC_CHECK_PROGS, AC_PATH_PROG)
(AC_PATH_PROGS, AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Fix
the quotation.
(AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Check with the
$ac_tool_prefix iff it is not empty.
2000-10-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Particular Programs): Some notes on the
portability of Flex.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): Before compiling, remove the files expected to
be produced.
(_AC_LINK_IFELSE, _AC_RUN_IFELSE): You don't create object files,
so don't remove them.
2000-10-17 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_FATAL): Use _AC_EXPANSION_STACK_DUMP.
(_AC_REQUIRE): Use AC_FATAL.
2000-10-17 Akim Demaille <akim@epita.fr>
Give a means to report where the macros have been defined in error
messages.
* libm4.m4 (m4_location): New macro.
(m4_errprint): Rename as...
(m4_diagnose): this. Use m4_location.
Adjust dependencies.
(m4_errprint): New macro, similar to `errprint' but for an
additional trailing `\n'.
* acgeneral.m4 (AC_DEFUN, AC_DEFUN_ONCE): Define `m4_location($1)'
to the current location (i.e., that of the definition of $1).
(_AC_DEFUN_PRO, _AC_REQUIRE): Also push the location of the
current macro in the stack.
(_AC_EXPANSION_STACK_DUMP): Adjust.
2000-10-17 Akim Demaille <akim@epita.fr>
Fix autoupdate: updating `AC_OUTPUT_COMMANDS' was failing because
it includes another AU defined macro.
* autoupdate.sh (input.m4:_au_defun): New macro.
(au.m4): Use it instead of inlining _au_enable/_au_disable
invocations in the definition of all these macros.
(input.m4:__au_enable, input.m4:__au_disable): New macros.
(input.m4:_au_enable, input.m4:_au_disable): Use them.
* tests/mktests.sh (update_exclude_list): Add `AC_OUTPUT'.
Running it twice in a configure.in is not valid.
Add `AC_LINK_FILES' since it requires arguments.
* tests/tools.m4 (autoupdating AC_LINK_FILES): New test.
2000-10-17 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (MAINTAINERCLEANFILES): Add acversion.m4.
(INSTALL.txt): Put into $(srcdir).
(acversion.m4): Build here ...
* configure.in (AC_OUTPUT): Not here.
* tests/Makefile.am (MACRO_FILES): Don't use $(top_srcdir).
(syntax.m4): Create in $(srcdir).
(update.m4): Likewise.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Look for autoconf
macros in the top source directory.
2000-10-16 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): New macro, which unifies...
(_AC_PROG_F77_GNU, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU): Remove.
Adjust dependencies.
(ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): AU_ALIAS'ed.
2000-10-16 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Adjust copyright notice.
* acspecific.m4: Likewise.
* acoldnames.m4: Likewise.
* acversion.m4.in: Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
2000-10-16 Pavel Roskin <proski@gnu.org>
* tests/aclocal.m4: Don't consider variables @, '*', '?' and
'#' in the output of `set' - they are modified by zsh.
2000-10-14 Pavel Roskin <proski@gnu.org>
* m4/missing.m4 (AM_MISSING_PROG): Use $SHELL to run "missing".
* configure.in: Don't add $SHELL to the path of help2man -
it is already added by AM_MISSING_PROG.
2000-10-13 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: If ever it fails, touch the output files
``a` la missing''.
2000-10-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_LINKER_OPTION): Ahem, err, use `$' when
consulting a variable...
2000-10-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4: Typos in comments spotted by Pavel.
2000-10-12 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PROG_LEX): Don't assume that lex exists.
Don't run _AC_DECL_YYTEXT if it doesn't. Always check libl and
libfl regardless of the $LEX value.
2000-10-12 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_CONFIG_SUBDIRS): Fixed nasty typo.
2000-10-12 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Backslash the quote in the heredocs to help
syntax highlighting tools.
* tests/atspecific.m4 (AT_CHECK_UPDATE): Give a better AT_SETUP
title.
2000-10-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_SH_QUOTE): Issue an `obsolete' warning for use
of backquotes, instead of a `syntax' warning.
2000-10-12 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_VAR_IN_INDIR, AC_VAR_IF_SET): Rename as...
(AC_VAR_INDIR_IFELSE, AC_VAR_SET_IFELSE): this.
2000-10-12 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: Remove tmp files.
2000-10-12 Akim Demaille <akim@epita.fr>
Macros used by AC_LANG_COMPILER macros shall not AC_REQUIRE
AC_LANG_COMPILER by the way of AC_COMPILE_IFELSE etc.
* acspecific.m4 (_AC_EXEEXT): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE to avoid AC_REQUIREing AC_PROG_CC which precisely
requires _AC_EXEEXT.
Don't run _AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2.
* aclang.m4 (_AC_PROG_F77_G): Use _AC_COMPILE_IFELSE, not
AC_COMPILE_IFELSE.
(_AC_LANG_COMPILER_WORKS): Use _AC_LINK_IFELSE, not
AC_LINK_IFELSE.
2000-10-12 Akim Demaille <akim@epita.fr>
Diagnose AC_REQUIRE circular dependencies.
* acgeneral.m4 (_AC_DEFUN_PRO, _AC_DEFUN_EPI): Keep a stack of
macro expansions, _AC_EXPANSION_STACK.
Use `_AC_EXPANDING(FOO)' to record the fact that `FOO' is being
expanded.
(_AC_REQUIRE): Diagnose required macros which are already being
expanded.
Record in _AC_EXPANSION_STACK the AC_REQUIRE calls.
(_AC_EXPANSION_STACK_DUMP): New macro.
2000-10-12 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_dumpdefs, _m4_dumpdefs_up, _m4_dumpdefs_down): New
macros.
2000-10-11 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_CHECK): Make sure that $? is set to 0
if diffs have succeeded.
2000-10-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE)
(_AC_RUN_IFELSE): New macros which are the former
AC_COMPILE_IFELSE etc. without AC_LANG_COMPILER_REQUIRE.
(AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE): Use them.
2000-10-11 Morten Eriksen <mortene@sim.no>
* acgeneral.m4 (AC_RUN_IFELSE): Add missing executable suffix.
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Likewise.
* aclang.m4 (AC_PROG_CC_C_O, AC_PROG_F77_C_O): Fix typos where
$objext were used instead of $ac_objext.
2000-10-05 Akim Demaille <akim@epita.fr>
Check that updated scripts are valid scripts.
* tests/mktests.sh: Generate `syntax.m4' directly.
* tests/macros.m4: Remove.
Adjust dependencies.
* tests/mktests.sh: Generate `update.m4' too.
* tests/update.m4: New generated file.
Adjust dependencies.
* tests/atspecific.m4 (AT_CHECK_UPDATE): New macro.
2000-10-05 Akim Demaille <akim@epita.fr>
* tests/mktests.sh: New file, which replaces the code inlined in
Makefile.am.
* src/Makefile.am (macros.m4): Use `mktests.sh'.
* tests/suite.m4: Reorder from low level to high level.
2000-10-02 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_ABBREV, _AC_LANG_ABBREV(C))
(_AC_LANG_ABBREV(C++), _AC_LANG_ABBREV(Fortran 77): New macros.
(AC_LANG_(C), AC_LANG_(C++), AC_LANG_(Fortran 77)): Don't define
AC_LANG_ABBREV.
(_AC_PROG_PREPROC_WORKS): Adjust.
* acgeneral.m4 (_AC_TRY_CPP): Likewise.
2000-10-02 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (AC_PROG_LEX): Use AC_DEFUN_ONCE.
(AC_DECL_YYTEXT): Don't use AC_REQUIRE because autoupdate
would place it into configure.in but it's not allowed
outside AC_DEFUN.
2000-10-02 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am: Macros defined by AC_DEFUN_ONCE should
go to macros.m4 for testing.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_SHELL_UNSET): Don't rely on variable
assignments changing $?.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
(_AC_OUTPUT_HEADERS): Exit if the header template is missing.
2000-09-28 Pavel Roskin <proski@gnu.org>
* acfunctions.m4: Formatting fixes.
* acgeneral.m4: Likewise.
* aclang.m4: Likewise.
* acspecific.m4: Likewise.
* libm4.m4: Likewise.
2000-09-27 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_PROG): Added protection against spaces
in $PATH.
* acspecific.m4 (AC_PROG_INSTALL): Likewise.
2000-09-27 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_CHECK_LIB): only call AH_CHECK_LIB if
ACTION-IF-TRUE is not given.
(AH_CHECK_LIB): related comment changes.
2000-09-27 Pavel Roskin <proski@gnu.org>
* aclang.m4 (_AC_LANG_COMPILER_WORKS): Remove []dnl because it
resulted in invalid shell code.
2000-09-27 Lars J. Aas <larsa@sim.no>
* autoconf.sh: Report full macro name for missing macros.
2000-09-27 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* autoheader.sh: Fix trap (EXIT) status.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Change `exit' to `{ (exit 1); exit; }' after m4 and
awk commands to ensure exit state is in a defined state.
2000-09-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* tests/semantics.m4 (AC_PROG_CPP with warning): Simplified.
2000-09-25 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use
_AC_INIT_PREPARE_ENVIRONMENT to make the shell running
config.status sane and POSIX-compatible.
2000-09-25 Pavel Roskin <proski@gnu.org>
* autoheader.sh: Don't check status of variable assignments -
it's undefined in ash 0.2.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoconf.sh: Likewise. Also eliminated command substitution
inside variable expansion - ash 0.2 coredumps on it.
2000-09-21 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): Check stderr from
autoconf and autoheader. Expected warnings disabled by "-W none"
Preceding comment removed as no longer relevant.
* tests/semantics.m4 (AC_CHECK_PROG & AC_PATH_PROG): Check
stderr from autoconf.
(AC_PATH_PROG & AC_PATH_PROGS): Likewise.
(AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): Likewise.
* tests/tools.m4 (autoheader): Check that autoheader prints
a warning for missing templates. Check stderr from autoconf.
* tests/torture.m4 (config.status under extreme conditions):
Check stderr from autoconf and autoheader.
(command line interface): Check stderr from autoconf.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix usage info for
config.status - file arguments are optional.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_OUTPUT_FILES): Ensure that config.status
exits if any input file is missing.
* tests/semantics.m4 (missing templates): Test it.
2000-09-21 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_SHELL_TMPDIR): Don't check status of variable
assignment - it's undefined in ash 0.2.
2000-09-21 Akim Demaille <akim@epita.fr>
* src/atgeneral.m4 (AC_CHECK): Display stderr including when the
test failed because of stdout.
2000-09-21 Akim Demaille <akim@epita.fr>
* tests/atgeneral.m4: Formatting changes.
(AT_INIT): Let `at_stop_on_error' and `at_verbose' be `:'/`false'
variables instead of `'/`1'.
`at_check_stds' replaces `at_no_redirs'.
Rename `Snippet 3' as `Snippet 4'.
Introduce `Snippet 3' for variable initializations.
Adjust the dependencies.
(AT_CHECK): Don't show diff's result unless verbose.
2000-09-20 Pavel Roskin <proski@gnu.org>
* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
from testing because they require an argument.
* tests/atspecific.m4: Make sure that configure doesn't write
anything to stderr.
2000-09-20 Pavel Roskin <proski@gnu.org>
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
variable wasn't always set inside AC_CACHE_CHECK.
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
From Nicolas Joly.
2000-09-20 Pavel Roskin <proski@gnu.org>
* libm4.m4 (m4_ifvanl): Don't output a newline for empty
arguments.
2000-09-19 Akim Demaille <akim@epita.fr>
* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
(AT_CHECK_MACRO): this. All dependencies adjusted.
2000-09-19 Akim Demaille <akim@epita.fr>
* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
AC_FUNC_STRTOD.
From Bernard Dautrevaux.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
simplification.
2000-09-19 Akim Demaille <akim@epita.fr>
* autoconf.sh (optarg): More robust expr invocation.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Reported by Bernard Dautrevaux.
2000-09-19 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
would replace an old macro call with the new macro body instead of
the new macro call.
* tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.
2000-09-19 Pavel Roskin <proski@gnu.org>
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
(AT_TEST_MACRO): Use it.
* tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
without warnings): New tests.
2000-09-18 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.
2000-09-18 Jim Meyering <meyering@lucent.com>
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
of LIBS. Otherwise, everyone ends up linking with -lelf for some
configurations.
Reported by Mike Stone.
2000-09-14 Pavel Roskin <proski@gnu.org>
* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
and eliminate ac_tmp_cpp.
(AC_PROG_CXXCPP): Use double quotes in the for loop and
eliminate ac_tmp_cxxcpp.
2000-09-14 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
from the output - it is only printed by Visual C that gives
correct exit status.
* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
by the same reason.
2000-09-12 Pavel Roskin <proski@gnu.org>
* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
it's useless here. Rename to ...
(_AC_PROG_PREPROC_WORKS): ... this.
2000-09-12 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
2000-09-12 Akim Demaille <akim@epita.fr>
The test suite fails on some hosts because for instance
AC_INIT
AC_CHECK_FUNC(exit)
will not look for a compiler, it will just use `cc'.
Macros that need a compiler should require one.
* acgeneral.m4 (_AC_REQUIRE): New macro, which is actually the
previous version of AC_REQUIRE plus the possibility to distinguish
the name of the symbol being AC_PROVIDE'd, and the text to expand.
(AC_REQUIRE): Reimplement in terms of _AC_REQUIRE.
* aclang.m4 (AC_LANG_COMPILER, AC_LANG_COMPILER_REQUIRE)
(AC_LANG_COMPILER(C), AC_LANG_COMPILER(C++))
(AC_LANG_COMPILER(Fortran 77)):
New macros.
* acgeneral.m4 (AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE):
Require a compiler.
(AC_TRY_RUN): Formatting changes.
* acfunctions.m4 (AC_FUNC_SETPGRP): Quote properly. The previous
changes revealed the weaknesses of this macro.
2000-09-12 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
and checks whether it produces errors or warnings. Don't put grep
output into a variable, use another grep instead.
(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
if the case of an error.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
define AC_LANG_ABBREV to the short language name.
(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
preprocessor can be used to check for existence of headers.
Most code taken from ...
(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
it's a macro for C only.
(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
2000-09-12 Akim Demaille <akim@epita.fr>
* autoupdate.sh (sed): Look for GNU sed.
(usage): Ask for GNU sed.
2000-09-12 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
changequote.
2000-09-12 Ruediger Kuhlmann <autoconf-list@ruediger-kuhlmann.de>
* acgeneral.m4 (AC_ARG_ENABLE, AC_ARG_WIDTH): Add trailing
semicolon to final fi.
2000-09-11 Pavel Roskin <proski@gnu.org>
* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
(__AC_WARNING_ERROR_IFELSE): New macros for checking whether
warnings should be considered errors.
(_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.
2000-09-11 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Properly report names of unexpanded macros that
begin with an underscore.
2000-09-11 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Preset Output Variables): Correctly specify
what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
Extended description of LDFLAGS and LIBS.
(Compilers and Preprocessors, C Compiler Characteristics):
Recommend Automake as the source of ansi2knr.
(Autoconf Language, Quotation and Nested Macros): English fixes.
(Quotation and Nested Macros): Unclear example replaced with
an explanation of when m4 expands quotes. Added explanation why
unquoted calls are dangerous.
2000-09-08 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi: Always use one space before the opening
parenthesis in @defmac.
2000-09-06 Morten Eriksen <mortene@sim.no>
* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
which uses $ac_objext hence depends upon _AC_OBJEXT.
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
_AC_OBJEXT before _AC_EXEEXT since the latter needs $ac_objext.
2000-09-06 Bernard Dautrevaux <dautrevaux@objectlive.com>
* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
creates both an unsuffixed file and suffixed ones.
2000-09-06 Peter Eisentraut <peter_e@gmx.net>
* autoconf.texi: English and typo fixes.
2000-09-05 Pavel Roskin <proski@gnu.org>
* autoconf.sh: Consider undefined macros as errors.
* tests/base.m4 (unexpanded macros): Expect error, not warning.
2000-09-05 Dave Love <fx@gnu.org>
* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
that we can get some standard output.
2000-09-04 Peter Eisentraut <peter_e@gmx.net>
* autoscan.pl: Repair broken Getopt::Long use.
2000-09-04 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49b.
* Makefile.am (bin_SCRIPTS): Depend upon configure.in.
2000-08-11 Akim Demaille <akim@epita.fr>
Version 2.49a.
2000-08-11 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_NO_EXECUTABLES): New macro.
2000-08-11 Akim Demaille <akim@epita.fr>
* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
2000-08-11 Akim Demaille <akim@epita.fr>
* configure.in: Bump version to 2.49a.
2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* autoconf.sh: Change `exit N' to `(exit N); exit' to provide
the correct exit status when an exit trap is taken.
2000-08-11 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
their AU_ALIAS definition: Automake 1.4 does not quote the name of
these macros, hence when Autoconf reads Automake's definition the
name is expanded with unpredictable results.
2000-08-09 Akim Demaille <akim@epita.fr>
* autoreconf.sh (Installing Autoconf extensions files): Remove.
2000-08-09 Akim Demaille <akim@epita.fr>
* autoconf.sh (finalize.awk): Don't leave spaces before the user
function calls.
Reported by John David Anglin.
* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
section.
* tests/tools.m4 (AWK portability): New test.
2000-08-08 Pavel Roskin <proski@gnu.org>
* Makefile.am: Substitute @bindir@ in shell scripts, needed by
autoheader.
2000-08-07 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
${foo} into $foo.
* aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
comments into the header comment.
* acgeneral.m4 (AC_TRY_CPP): Likewise.
2000-08-07 Akim Demaille <akim@epita.fr>
* tests/tools.m4 (undefined macros): New test.
2000-08-07 Akim Demaille <akim@epita.fr>
* autoconf.sh (finalize.awk): New subtool, eved from the previous
literal AWK program that performed the `oline' and quadrigraphs
substitution.
Fix its `oline' computation which was dead wrong when there are
empty lines (i.e., always).
Enhance it in order to look for and report unexpanded macro.
Don't let it pretend there are bugs in Autoconf (c:, the test
suite makes this scenario pretty unlikely as opposed to an actual
user bug.
Catch `m4_' too.
Remove the shell snippet which used to do this.
2000-08-07 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
Roskin.
(AC_MSG_ERROR): Use it.
2000-08-04 Ruediger Kuhlmann <uck4@rz.uni-karlsruhe.de>
* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
* doc/autoconf.texi (Limitations of Usual Tools): Typos.
2000-08-04 Akim Demaille <akim@epita.fr>
Solaris' /usr/ucb/expr, and SunOS' /usr/bin/expr fail with the `:'
operator when \(\) is used, and matches a string longer than 120
characters.
Reported by Geoff Keating.
* doc/autoconf.texi (Limitations of Usual Tools): Some words about
this.
* acgeneral.m4 (_AC_SHELL_DIRNAME): Fall back to echo|sed if expr
fails.
From Paul Eggert.
2000-08-04 Akim Demaille <akim@epita.fr>
* acgeneral.m4: (AC_RUN_IFELSE, AC_LINK_IFELSE, AC_COMPILE_IFELSE):
Don't create the source file if none is given, and in this case,
don't remove it either.
2000-08-04 Akim Demaille <akim@epita.fr>
* libm4.m4 (m4_ifvanl): New macro.
* acgeneral.m4: Use it.
2000-08-02 Akim Demaille <akim@epita.fr>
Release Automake from being a substitute to Autoconf.
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H,
_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL, AC_HEADER_TIOCGWINSZ,
AC_SYS_POSIX_TERMIOS): New macros from both Automake and the
fileutils.
2000-08-02 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Recent changes
inverted the results. Fix that.
2000-08-02 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Special Shell Variables): More emphasis on
the dangers of character ranges.
From Paul Eggert.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
`IFS=,; echo ,' will give a comma. Take this into account.
2000-08-01 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
2000-08-01 Akim Demaille <akim@epita.fr>
AC_VALIDATE_CACHED_SYSTEM_TUPLE no longer works properly since the
AC_CANONICAL_* revamping.
Reported by Peter Eisentraut.
In fact, let's just use the precious variables handling.
* acgeneral.m4 (AC_VALIDATE_CACHED_SYSTEM_TUPLE): Obsoleted.
(_AC_ARG_VAR_PRECIOUS): New macro, eved from...
(AC_ARG_VAR): this macro. Adjust.
(_AC_INIT_PREPARE): `build_alias', `host_alias', and
`target_alias' are precious.
* doc/autoconf.texi: Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
LC_COLLATE and LC_NUMERIC.
* autoconf.m4: Don't rely on character ranges with tr.
* doc/autoconf.texi (Special Shell Variables): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (_AC_LIBOBJ_STRTOD, AC_FUNC_STRTOD,
AM_FUNC_STRTOD): New macros, from Automake.
* acfunctions: Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acidentifiers: Catch ptrdiff_t.
* acspecific.m4 (AM_TYPE_PTRDIFF_T): AU define.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoscan.pl: Be ready to handle AC_CHECK_TYPES requests.
Quote properly the output.
Remove useless backslashes.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ONSTACK): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AC_FUNC_ERROR_AT_LINE): New macro, from
Automake.
* doc/autoconf.texi (Particular Functions): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
Create acfunctions.m4, in charge of the macros related to
functions.
* acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
Move to...
* acfunctions.m4: here, new file.
* acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
_AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
* Makefile.am: Adjust.
Move also the old definitions into acfunctions.m4, and adjust the
test suite.
* acgeneral.m4 (AU_ALIAS): New macro.
* acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
* acfunctions.m4: here, using AU_ALIAS.
* acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
define them.
* acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
* tests/Makefile.am (MACRO_FILES): Adjust.
2000-08-01 Akim Demaille <akim@epita.fr>
* autoscan.pl: Use Getopt::Long;
* acidentifiers: Classify, sort.
2000-08-01 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CXX_GNU, _AC_PROG_CC_GNU, _AC_PROG_F77_GNU):
Use grep instead of egrep, don't redirect stderr.
2000-08-01 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_NOTICE): Adjust so that there are no
empty lines in the header comments (should be `#' alone instead).
Reported by Didier Verna.
2000-08-01 Greg A. Woods <woods@weird.com>
* doc/autoconf.texi (Installation Directory Variables):
Clarifications and typos.
2000-08-01 Didier Verna <didier@lrde.epita.fr>
* acgeneral.m4 (AC_REVISION): Put a dot at the end of the line.
(_AC_INIT_HELP): Output the bug report address at
the end of a `configure --help' output.
(_AC_INIT_NOTICE): Ditto, but at the top of `configure'.
2000-07-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_PREPARE_FDS): New macro, pulled out of
(_AC_INIT_PREPARE): here, where it is called from.
* aclang.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't test -z "`foo`".
2000-07-31 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_DIVERT(INIT_PARSE_ARGS)): Rename as...
(_AC_DIVERT(PARSE_ARGS)): this. Adjust dependencies.
(AC_ARG_WITH): Remove spurious newline.
(AC_ARG_VAR): No longer save precious variables in
ac_configure_args, rather snapshot them twice (one kept
unmodified, another one to be written to/overwritten by the cache
file).
(AC_CACHE_SAVE): Let the cache variables named `ac_cv_env_*'
be overwritten when loading the cache (i.e., don't use the
: ${foo=...} trick).
(_AC_ARG_VAR_VALIDATE): Compare the two snapshots of the precious
variables.
(_AC_INIT_PREPARE): Call it after having loaded the cache file.
2000-07-28 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_LANG_CONFTEST, _AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext. Use _ACEOF instead of ACEOF.
2000-07-28 Akim Demaille <akim@epita.fr>
* autoconf.sh (--warnings): Catch `no-category', not `nocategory'.
* autoheader.sh: Likewise.
* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
2000-07-28 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Installation Directory Variables): New
section, Eved off from `Preset Output Variables', i.e., was a
small part of it, grew independent, and is its equal (at least).
(Coding Style): `$#' padding.
* Makefile.am (editsh, editpl): Do what the doc says you do: use
@datadir\@ instead of @''datadir''@.
2000-07-28 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_PROG_CC_GNU, _AC_PROG_CXX_GNU,
_AC_PROG_F77_GNU): Use ac_ext. Use ACEOF instead of EOF.
(AC_LANG_CONFTEST): New macro.
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_F77_C_O,
_AC_PROG_F77_V_OUTPUT): Use it.
* acgeneral.m4 (AC_TRY_CPP, AC_EGREP_CPP, AC_COMPILE_IFELSE,
AC_LINK_IFELSE, AC_RUN_IFELSE): Likewise.
2000-07-24 Steven G. Johnson <stevenj@alum.mit.edu>
* aclang.m4 (AC_F77_FUNC): New macro to give the user a clean
way of accessing Fortran name-mangling information other than
through CPP, and without having to know the different possible
name-mangling schemes.
* autoconf.texi: Documented AC_F77_FUNC
2000-07-24 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_CHECK_TYPE_BUILTIN_P): Add `off_t' and
`size_t' which are often used too.
Fix a bug which prevents recognition of `bool' and `char'.
(_AC_CHECK_TYPE_MAYBE_TYPE_P): New macro.
(AC_CHECK_TYPE): Use it.
2000-07-19 Peter Eisentraut <peter_e@gmx.net>
* Makefile.am: Remove INSTALL.txt by maintainer-clean target.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoupdate.sh: Typo: s/infile/file/.
2000-07-19 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_F77_NAME_MANGLING): Obsolete, becomes
_AC_F77_NAME_MANGLING.
(_AC_F77_NAME_MANGLING): Use independent checks for the
name mangling of symbols with and without underscores.
Use algorithm with for loops instead of recursive macro calls.
(AC_F77_WRAPPERS): Adapt to changes in _AC_F77_NAME_MANGLING.
* doc/autoconf.texi (Fortran 77 Compiler Characteristics):
Remove documentation of AC_F77_NAME_MANGLING.
Remove documentation of f77_case and f77_underscore.
Replace AC_F77_FUNC_WRAPPER with AC_F77_WRAPPERS.
2000-07-19 Akim Demaille <akim@epita.fr>
* NEWS: Fresh air.
* TODO: Fresh blood.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (autoheader Invocation): Explain the purpose
of autoheader.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi: Various English fixes from Jim.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Compilers and Preprocessors, Obsolete
Macros): Don't give boring internal details.
(Language Choice): Typo.
(Limitations of Builtins): Some about `!', `set', `$@'.
(Coding Style): Some about $[@] quotation.
Some about cross-compilation.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh (dir): When verbose, say what are the tools you
will use.
2000-07-19 Akim Demaille <akim@epita.fr>
Warnings related to obsolete constructs should be properly
classified.
* acspecific.m4 (AC_RSH, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS, AC_STRUCT_ST_BLKSIZE,
AC_STRUCT_ST_RDEV, AC_HAVE_POUNDBANG, AC_ARG_ARRAY): Use
`AC_DIAGNOSE(obsolete, ...)' instead of `AC_WARNING'.
2000-07-19 Akim Demaille <akim@epita.fr>
autoconf -W error does not work.
* acgeneral.m4 (_AC_DIAGNOSE): use _AC_WARNING_IFELSE,
_AC_WARNING_ENABLE is dead.
2000-07-19 Akim Demaille <akim@epita.fr>
Martin Wilck found a Fortran 77 compiler which always exits with
success.
* acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
file was created and is nonempty.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
pages, and the mailing lists.
2000-07-19 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Prerequisite Macros): Dedocument AC_PROVIDE.
(Coding Style): Move some into...
(Macro Definitions): here.
2000-07-19 Akim Demaille <akim@epita.fr>
The --help message should have paragraphs starting with a title,
the options, and then optionally a small paragraph.
* acgeneral.m4 (AC_DIVERT_ONCE): New macro.
(HELP_VAR_END): New diversion.
(AC_ARG_ENABLE, AC_ARG_WITH, AC_ARG_VAR): Use AC_DIVERT_ONCE.
(AC_ARG_VAR): Follow the --help style.
* acspecific.m4 (AC_PATH_X): Use AC_DIVERT_ONCE.
2000-07-19 Akim Demaille <akim@epita.fr>
* aclang.m4 (AC_PROG_CC): Don't require AC_PROG_F77, require
AC_PROG_CC instead.
From Martin Wilck.
(AC_PROG_F77_C_O): Require AC_PROG_F77.
Use a cache variable independent of $F77.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Accept --symbolic and -s.
2000-07-19 Akim Demaille <akim@epita.fr>
Make it clear that the regular user does not need --macrodir.
In fact, rename this option as -A, --autoconf-dir.
* autoconf.sh: Complain when -m, --macrodir is used.
Accept -A, --autoconf-dir.
Use $autoconf_dir instead of $AC_MACRODIR.
Adjust --help.
* autoheader.sh: Likewise.
* autoscan.sh: Likewise.
* autoupdate.sh: Likewise.
Use $optarg.
* autoreconf.sh: Likewise.
* doc/autoconf.texi: Adjust.
* tests: Adjust the test suite.
2000-07-19 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Forward --debug to sub tools.
Let them share the same tmp dir.
2000-07-18 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_MING32): Rename as AC_MINGW32.
2000-07-18 Steven G. Johnson <stevenj@alum.mit.edu>
Fixed bug where the F77 compiler output was parsed differently
when detecting the verbose flag than when scanning for linker
options, and as a result the former test failed (under AIX/xlf).
* aclang.m4 (_AC_PROG_F77_V_OUTPUT): New macro to get the
output of linking an F77 program with a given verbose flag,
and preprocess it as required to scan for linker flags.
(_AC_PROG_F77_V): Use the above macro here...
(AC_F77_LIBRARY_LDFLAGS): ...and here, enforcing consistency.
2000-07-17 Martin Wilck <martin@tropos.de>
* autoupdate.sh (autoconf): s,$updated,$tmp/updated,.
2000-07-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Actions): Explain the
behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.
2000-07-17 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Configuration Actions): Explain the
behavior of AC_CONFIG_HEADERS and AC_CONFIG_FILES with respect to
absolute and relative filenames, and stdin/stdout.
(config.status invocation): Likewise.
2000-07-13 Akim Demaille <akim@epita.fr>
Make it easier to trace what autoreconf does.
* autoheader.sh: Be more verbose, and always report your name in
verbose messages.
* autoconf.sh: Likewise.
* autoreconf.sh: Likewise.
(update.sh): Redirect ls' stderr to /dev/null.
2000-07-13 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Properly
handle absolute input file names.
From Alexandre Oliva.
2000-07-12 Martin Wilck <martin@tropos.de>
* aclang.m4 (AC_PROG_F77): Delete AC_BEFORE(AC_PROG_CPP) that
leads to unnecessary warnings if both C and Fortran are checked.
(AC_PROG_F77_C_O): AC_REQUIRE AC_PROG_F77 instead of pretend you
need to be AC_BEFORE it.
2000-07-12 Akim Demaille <akim@epita.fr>
* autoconf.sh (_ac_warnings): Fix call to tr.
Reported by Johan Danielsson.
2000-07-11 Martin Wilck <martin@tropos.de>
* aclang.m4 (_AC_PROG_F77_V): New macro to determine the flag that
causes the compiler to output verbose linking information.
(AC_F77_LIBRARY_LDFLAGS): Use _AC_PROG_F77_V instead of
simply "-v"
(AC_F77_LIBRARY_LDFLAGS): New algorithm to parse flags, uses
set/shift shell commands.
(AC_F77_LIBRARY_LDFLAGS): Set FLIBS at end, after determining
ac_cv_flibs.
2000-07-11 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_INIT_DEFAULTS) <ac_max_here_lines>: Set to 38
instead of 48, to pass the test on RISC/OS 4.52.
2000-07-11 Akim Demaille <akim@epita.fr>
!*^&$@ sed portability problems... The test on AC_CHECK_TYPES is
failing on RISC/OS 4.52 because of the forget-to-reset-the-flag
bug in its sed.
* acgeneral.m4 (_AC_OUTPUT_HEADERS): Work around this bug.
2000-07-11 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): s/ac_check/ac_cv/.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS): Look for
the input files first in $builddir, then $srcdir.
Suggested by Lars J. Aas, designed by Alexandre Oliva.
2000-07-10 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS):
Accept special filename '-' for stdin and stdout.
2000-07-10 Akim Demaille <akim@epita.fr>
Alexandre's suggestions.
* autoreconf.sh (update.sh): Use `ls -1dt' instead of `-lt'.
Use test instead of sed.
<automake>: If automake is used, always run it: it has its own
mechanism not to update if unneeded.
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_PROG_ECHO): Modernize.
2000-07-10 Akim Demaille <akim@epita.fr>
Stop being ridiculous :*(
* acgeneral.m4 (_AC_SHELL_DIRNAME): When using m4 the argument
is named `$1' not `$dir'.
When using m4 you ought to quote properly.
When using m4, you should check that there are not too many shell
quotes (inside the macro itself, and where it is called).
When you do this, Autoconf, hm, works better.
2000-07-10 Steven G. Johnson <stevenj@alum.mit.edu>
Improve --help documentation of important environment variables.
* acgeneral.m4 (_AC_INIT_HELP): Direct reader to descriptions
of useful variables at the end of the --help.
(AC_ARG_VAR): Emphasize use of environment variables to override
and/or help the configure script. Ensure that a given variable
is only documented once in the --help.
(AC_CHECK_LIB): Call AC_ARG_VAR to document and register the
LDFLAGS variable, and...
(AC_CHECK_HEADER): do the same for the CPPFLAGS variable.
* aclang.m4 (AC_PROG_CC): Call AC_ARG_VAR to document and register
the CC and CFLAGS variables, and do the same for...
(AC_PROG_CXX): CXX and CXXFLAGS, and...
(AC_PROG_F77): F77 and FFLAGS.
2000-07-10 Akim Demaille <akim@epita.fr>
* Makefile.am (wget-update): New target.
(WGET): New variable.
2000-07-10 Akim Demaille <akim@epita.fr>
* doc/autoconf.texi (Coding Style): Some more constraints :).
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (AC_FUNC_STRERROR_R): Aaaaaaarg! Don't leave the
AC_DEFINE inside the AC_CACHE_CHECK.
2000-07-10 Akim Demaille <akim@epita.fr>
* acspecific.m4 (_AC_FUNC_STAT, AC_FUNC_STAT, AC_FUNC_LSTAT): New
macros, from Jim's stat.m4 and lstat.m4 serial 6.
* doc/autoconf.texi (Particular Functions): Document
* acfunctions: Add them.
2000-07-10 Akim Demaille <akim@epita.fr>
AC_LIBOBJ when used by AC_REPLACE_FUNCS should not complain for
variables as argument.
* acgeneral.m4 (_AC_LIBOBJ): Same as the former AC_LIBOBJ, but
takes an additional argument: action to perform when non-literal
argument.
(AC_LIBOBJ): Use it.
(AC_REPLACE_FUNCS): Use _AC_LIBOBJ, not AC_LIBOBJ.
2000-07-10 Akim Demaille <akim@epita.fr>
LANGUAGE should be neutralized too.
* acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Do it.
* doc/autoconf.texi (Special Shell Variables): Mention it.
2000-07-10 Akim Demaille <akim@epita.fr>
Set autoconf's default warnings to `syntax'.
In fact, honor the most recent specification in the concatenation
of `syntax',$WARNINGS,<options> in that order.
Implement support for `none' and `noCATEGORY' so that the options
may override the previous choices.
Suggested by Didier Verna.
* acgeneral.m4 (_AC_WARNING_IFELSE): New macro.
(AC_WARNING_IFELSE): Use this macro to implement the new specs.
(AC_WARNING): The empty category must not be used, default to
`syntax'.
* doc/autoconf.texi (autoconf Invocation, Reporting Messages): Adjust.
* autoconf.sh: Adjust.
Use `optarg' to fetch the arguments of options.
Fix a bug in the handling of `--trace='.
* acgeneral.m4 (AC_CACHE_VAL): Typo: the macro was complaining iff
it shouldn't have.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (--install, --symlink): New options.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (dots, aclocal_m4, acconfig_h): Remove.
Adjust dependencies.
When using $verbose, redirect to stderr.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh: Clarify the difference between the location of
`aclocal.m4' and that of the location Autoconf extensions.
(-M, --m4dir): New option.
(aclocal_flags): Do not use $localdir, but $m4dir.
(localdir_opt): Remove, since $autoconf, $autoheader already
include `-l $localdir'.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoconf.sh (task install): We no longer use AC_INCLUDE.
2000-07-10 Akim Demaille <akim@epita.fr>
* acoldnames.m4: Remove the obsolete comments. The technology is
now detailed in `autoupdate'.
Quote the names being defined.
Formatting changes.
2000-07-10 Akim Demaille <akim@epita.fr>
* acgeneral.m4 (AC_DEFUNCT): Remove.
(AC_RSH, AC_UNISTD_H, AC_USG, AC_MEMORY_H, AC_DIR_HEADER,
AC_INT_16_BITS, AC_LONG_64_BITS): They're alive!...
* doc/autoconf.texi (Obsolete Macros): but not fresh.
2000-07-10 Akim Demaille <akim@epita.fr>
* autoreconf.sh (debug): New variable.