variable names when referring to a single test group, or to
`suite' when referring to the whole test suite.
`at_last_test' is removed: m4 compute at_format itself.
(at_stdout, at_stder1, at_stderr): New variables.
(AT_CHECK): Use them.
in PATH.
Create `testsuite.dir/003/run' instead of `testsuite.003'.
Do it as soon as a test fails, don't wait till the end of the test
suite.
Don't remove $as_me.[0-9]*, since these files no longer exist.
need to list the files to remove at the end of tests groups.
* lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES):
(AT_data_files, at_data_files): Remove.
(AT_CLEANUP, AT_DATA): Simplify.
(AT_INIT): Adjust.
Remove the group dir if !debug && !failed.
* tests/atspecific.m4: Adjust.
`testsuite.dir' in which the at-check-line etc. files are to be
found, and `testsuite.dir/003' where the test group 3 is run.
* lib/autotest/general.m4 (AT_INIT): at_tests_dir,
at_check_line_file, at_format, at_test_normalized, at_group_dir
are new variables.
Create the directories.
Use absolute paths for at- files.
(AT_CHECK): Adjust.
* lib/autoconf/functions.m4, lib/autoconf/general.m4,
* lib/autoconf/headers.m4, lib/autoconf/libs.m4,
* lib/autoconf/programs.m4, lib/autoconf/specific.m4,
* lib/autoconf/types.m4: When invoking AC_DEFINE and friends,
specify to what the macro should be defined (typically to 1).
AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the
definition used by Automake where LEX is +/- "${missing} lex" and
`missing' itself contains variables.
that we can trace macros from aclocal.m4.
Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is
obsoleted, and redirect to the former anyway.
Reported by Ralf Corsepius.
processed only if present.
* tests/torture.at (Configuring subdirectories): Use autoreconf
instead of successive calls to autoconf.
Add a nonexistent subdirectory to exercise the patch above.
Reported by Ralf Corsepius.
(&file_name_is_absolute): New, wrappers around routines from
File::Spec.
Use and export them.
(&find_configure_ac): Optionally take a directory where to look at.
* bin/autoreconf.in (&parse_args): Trim the configure.ac part of
the arguments.
Default @ARGV to `.', not find_configure_ac.
(&autoreconf): Argument is a directory.
Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing.
* doc/autoconf.texi (autoreconf Invocation): Update.
(@export_forward_subs): New.
Add basename, dirname, and fileparse.
(@EXPORT): Adjust.
* bin/autoreconf.in (&autoreconf): Fix call to fileparse.
Don't look for aclocal flags if we already know aclocal is not
used.
Move aclocal.m4t only if it exists.
Reported by Ezra Peisach.
passed on command line, defaulting to ./configure.ac if present.
(&maybe_autoreconf, File::Find): Remove, unused.
(&autoreconf): If autoconf is not used, don't try to trace.
invoking AS_BASENAME. Set the locale variables to 'C' if
possible, as POSIX requires this to get the traditional
behavior.
* doc/autoconf.texi (Special Shell Variables): Describe the above.
Awk. Fix the sed prepass to work even if there are multiple
instances of $LINENO on the same line. Do not substitute for
other variables like $LINENOT. Do not check file dates; such a
check is unreliable on sufficiently fast machines, and removing
the check makes the code simpler and more reliable. Check for
output and chmod failures.
* doc/autoconf.texi (Special Shell Variables): Document the above.
work even if there are multiple instances of $LINENO on the same line.
Do not substitute for other variables like $LINENOT. Do not check
file dates; such a check is unreliable on sufficiently fast machines,
and removing the check makes the code simpler and more reliable.
Check for output and chmod failures.
lib/Autom4te/Struct.pm:
Require Perl 5.005_03 instead of just 5.005, as some tests fail
with 5.005_02.
* doc/autoconf.texi (Special Shell Variables): Document some
more LINENO gotchas, particularly with respect to the Awk+Sed hack.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro.
(_AS_LINENO_PREPARE): Use it instead of shell eval, since
eval $LINENO is not portable in practice.