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.
* 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.
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.
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.
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.
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.
Akim Demaille [Fri, 30 Mar 2001 12:49:36 +0000 (12:49 +0000)]
* 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.
Akim Demaille [Tue, 20 Mar 2001 14:15:59 +0000 (14:15 +0000)]
* 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.
Akim Demaille [Mon, 19 Mar 2001 13:32:34 +0000 (13:32 +0000)]
* 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.
Akim Demaille [Mon, 19 Mar 2001 11:06:46 +0000 (11:06 +0000)]
* 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'.
Akim Demaille [Tue, 13 Mar 2001 18:15:58 +0000 (18:15 +0000)]
* 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.
Akim Demaille [Tue, 13 Mar 2001 12:43:14 +0000 (12:43 +0000)]
* 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.
Akim Demaille [Tue, 13 Mar 2001 12:21:40 +0000 (12:21 +0000)]
* 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.
Akim Demaille [Thu, 8 Mar 2001 16:28:03 +0000 (16:28 +0000)]
* 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.
Akim Demaille [Mon, 5 Mar 2001 15:58:31 +0000 (15:58 +0000)]
* 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.
Akim Demaille [Wed, 28 Feb 2001 09:33:30 +0000 (09:33 +0000)]
* 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.
Akim Demaille [Wed, 28 Feb 2001 08:45:55 +0000 (08:45 +0000)]
* 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.
Akim Demaille [Mon, 26 Feb 2001 21:37:13 +0000 (21:37 +0000)]
* 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.
Akim Demaille [Sun, 25 Feb 2001 10:45:25 +0000 (10:45 +0000)]
* autoupdate.in (&END): Try to preserve the exit status.
Use backquotes where more readable.
Internal details should be dumped when $debug, not when $verbose.
Akim Demaille [Sun, 25 Feb 2001 10:44:37 +0000 (10:44 +0000)]
* 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.