summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Commit files from autoconf-2.69 tarballSam Thursfield2013-01-031-7/+21
|
* docs: relax documentation license by dropping cover textEric Blake2011-09-261-0/+4
| | | | | | | | | | | | See https://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00022.html for precedence in diffutils. The autoconf manual, as of this commit, was still barely below 400 pages. * doc/autoconf.texi (copying): Drop front- and back-cover texts. * NEWS: Document this. Reported by Brian Gough. Signed-off-by: Eric Blake <eblake@redhat.com>
* New macro AC_FC_PP_DEFINE for the preprocessor define flag.Ralf Wildenhues2011-04-021-0/+1
| | | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_PP_DEFINE): New macro. * lib/autom4te.in (Automake-preselections): Preselect it. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/local.at (_AT_CHECK_ENV): Do not complain about FCFLAGS_F nor FC_DEFINE. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macro AC_FC_PP_SRCEXT for preprocessed file extensions.Ralf Wildenhues2011-04-021-0/+1
| | | | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_PP_SRCEXT): New macro. * lib/autom4te.in (Automake-preselections): Preselect it. * doc/autoconf.texi (Fortran Compiler): Document it, rewriting the documentation for AC_FC_SRCEXT along the way. * tests/fortran.at (AC_FC_PP_SRCEXT usage): New test. * tests/mktests.sh: Exclude the macro from default testing. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macro AC_FC_MODULE_OUTPUT_FLAG: module output directory.Ralf Wildenhues2011-04-021-0/+1
| | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_MODULE_OUTPUT_FLAG): New macro. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/local.at (_AT_CHECK_ENV): Do not complain about FC_MODOUT. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macro AC_FC_MODULE_FLAG: Fortran 90 module include path.Luc Maisonobe2011-04-021-0/+1
| | | | | | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_MODULE_FLAG): New macro, adjusted and rewritten from the AX_F90_MODULE_FLAG macro from the Autoconf Macro Archive by Luc Maisonobe, Julian C. Cummings, and Alexander Pletzer. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/fortran.at (AC_FC_MODULE_FLAG): New test. * tests/local.at (AT_CHECK_ENV): Do not complain about FC_MODINC setting. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macro AC_FC_MODULE_EXTENSION: Fortran 90 module extension.Luc Maisonobe2011-04-021-0/+1
| | | | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_MODULE_EXTENSION): New macro, rewritten from the AX_F90_MODULE_EXTENSION macro from the Autoconf Macro Archive by Luc Maisonobe and Alexander Pletzer. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/local.at (_AT_CHECK_ENV): Do not complain about FC_MODEXT setting. * NEWS, THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.Ralf Wildenhues2011-03-051-0/+1
| | | | | | | | | | * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal macro. (AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros. * doc/autoconf.texi (Fortran Compiler): Document them. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New macro AC_FC_CHECK_BOUNDS to enable Fortran array bounds checking.Ralf Wildenhues2011-03-051-0/+4
| | | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_CHECK_BOUNDS): New macro. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/fortran.at (AC_FC_CHECK_BOUNDS): New test. * NEWS: Update. Prompted by report from Eve-Marie Devaliere. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Add support for the Go programming language.Ian Lance Taylor2011-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * lib/autoconf/go.m4: New file. * lib/autoconf/autoconf.m4: Include autoconf/go.m4. * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Add go.m4. * lib/freeze.mk (autoconf_m4f_dependencies): Add $(src_libdir)/autoconf/go.m4. * doc/autoconf.texi: Rebuild menus. (Preset Output Variables): Mention Go. Document GOFLAGS. (Libraries): Mention Go. (Go Compiler): New subsection. (Language Choice): Mention Go. (Generating Sources): Likewise. (Running the Preprocessor): Likewise. * tests/go.at: New file. * tests/suite.at: Include go.at and acgo.at. * tests/local.at (_AT_CHECK_ENV): Add GOC and GOFLAGS. * tests/Makefile.am (TESTSUITE_GENERATED_AT): Add $(srcdir)/acgo.at. (TESTSUITE_HAND_AT): Add go.at. (AUTOCONF_FILES): Add $(autoconfdir)/go.m4. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* autoconf: new macro AC_HEADER_CHECK_STDBOOLPaul Eggert2011-02-041-0/+3
| | | | | | | | | | * NEWS: Document this. * doc/autoconf.texi (Particular Headers): Likewise. In example, don't assume a 'system.h' exists. * lib/autoconf/headers.m4 (AC_CHECK_HEADER_STDBOOL): New macro. Use it with AN_IDENTIFIER, since it's less heavyweight. Reindent to match gnulib, since that's a bit nicer. (AC_HEADER_STDBOOL): Reimplement in terms of it.
* maint: update copyright yearEric Blake2011-01-041-3/+1
| | | | | | All files changed to add 2011, via 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* AS_LITERAL_IF: Treat raw = as literal again.Eric Blake2010-10-081-0/+3
| | | | | | | | | | * lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Treat = like +. * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP) (AS@&t@_LITERAL_IF): Expand tests. * NEWS: Document the fix. Reported via Ben Pfaff; originally http://bugs.debian.org/593838 Signed-off-by: Eric Blake <eblake@redhat.com>
* post-release administriviaEric Blake2010-09-221-0/+3
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* Release Version 2.68.v2.68Eric Blake2010-09-221-1/+2
| | | | | | * NEWS: Mention the release. Signed-off-by: Eric Blake <eblake@redhat.com>
* AC_REPLACE_FUNCS: restore shell loop for non-literalEric Blake2010-09-211-3/+7
| | | | | | | | | | | * lib/autoconf/functions.m4 (AC_REPLACE_FUNCS): Handle non-literals, which was lost in 2010-02-26 optimization. * tests/semantics.at (AC_REPLACE_FUNCS): Enhance test. * NEWS: Document the fix. * THANKS: Update. Reported by Wiseman Jun. Signed-off-by: Eric Blake <eblake@redhat.com>
* docs: mark several macros obsoleteBruno Haible2010-09-171-0/+9
| | | | | | | | | * doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD as obsolete and refer to Gnulib. * NEWS: Mention the change. Signed-off-by: Eric Blake <eblake@redhat.com>
* fortran: avoid misparsed FCLIBS from Fortran compilerEric Blake2010-09-161-0/+2
| | | | | | | | | * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Also skip 'Configured by:' lines from gfortran. * NEWS: Mention it. Reported by Stefano Lattarini. Signed-off-by: Eric Blake <eblake@redhat.com>
* m4sugar: fix regression in AC_MSG_ERROR expansionEric Blake2010-09-161-0/+3
| | | | | | | | | | | | | | | | | AS_ERROR Regression introduced in commit cffdc3947, but the underlying problem stems from the introduction of m4_defun_init in commit d0c5f482. * lib/m4sugar/m4sugar.m4 (m4_defun_init): Avoid macro concatenation on subsequent expansions * tests/m4sh.at (AS_WARN and AS_ERROR): New test. * tests/m4sugar.at (m4@&t@_require: one-shot initialization): Enhance test. * NEWS: Document the fix. * THANKS: Update. Reported by Adrian Bunk and and Nishio Futoshi. Signed-off-by: Eric Blake <eblake@redhat.com>
* Document and test AT_CHECK args shell execution environment.Ralf Wildenhues2010-09-131-1/+2
| | | | | | | | | | * doc/autoconf.texi (Writing Testsuites): Document that COMMANDS is run in a subshell, but RUN-IF-FAIL and RUN-IF-PASS are not. * tests/autotest.at (AT@&t@_CHECK execution environment): New test. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* autotest: document and test at_status semantics.Ralf Wildenhues2010-09-131-0/+2
| | | | | | | | * doc/autoconf.texi (Writing Testsuites): Document $at_status. * tests/autotest.at (at_status): New test. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Avoid long lines in testsuite script.Ralf Wildenhues2010-08-271-0/+3
| | | | | | | | | | | * lib/autotest/general.m4 (AT_INIT): Remove definition of AT_groups_all. Initialize at_groups from at_help_all, with newlines instead of spaces separating test groups numbers. Adjust all code to newlines. * NEWS: Update. * tests/autotest.at (Huge testsuite): New test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Try to update config.cache atomically; respect symlinks.Ralf Wildenhues2010-08-271-0/+5
| | | | | | | | | | | | | * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use `mv -f' to update the cache file if it is a regular file and not a symlink. Move first to temporary name in the target directory if not in the current directory for atomicity across mount points. * tests/base.at (AC_CACHE_CHECK): Try symlinked cache file. * doc/autoconf.texi (Cache Files): Leftover temporary cache files may be deleted by the user. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* docs: document m4_define_defaultEric Blake2010-08-261-0/+2
| | | | | | | | * doc/autoconf.texi (Conditional constructs) <m4_define_default>: Document it, since gnulib wants to use it. * NEWS: Mention this. Signed-off-by: Eric Blake <eblake@redhat.com>
* autoconf: warn if AC_*_IFELSE lacks complete programEric Blake2010-08-261-0/+7
| | | | | | | | | | | | | | | | | | | | * lib/autoconf/lang.m4 (AC_LANG_DEFINES_PROVIDED): New macro. (AC_LANG_SOURCE): Call it. (AC_LANG_CONFTEST): Add warning if new macro is not called. * lib/autoconf/c.m4 (_AC_LANG_OPENMP): Add missing AC_LANG_SOURCE. * lib/autoconf/fortran.m4 (AC_FC_FREEFORM, AC_FC_FIXEDFORM) (AC_FC_LINE_LENGTH, __AC_FC_NAME_MANGLING): Intentionally bypass AC_LANG_SOURCE. * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Likewise. * tests/compile.at (AC_COMPILE_IFELSE): New test. * doc/autoconf.texi (Generating Sources) <AC_LANG_CONFTEST>: Document new warning. <AC_LANG_DEFINES_PROVIDED>: Document new macro. <AC_LANG_SOURCE>: Document use of new macro. * NEWS: Document the improvement. Suggested by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
* AC_INIT: allow bugreport to contain '?'Eric Blake2010-08-141-0/+3
| | | | | | | | | | | | * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Relax check. * tests/base.at (AC_INIT with unusual version strings): Enhance test. * doc/autoconf.texi (Initializing configure): Document this. * NEWS: Likewise. * THANKS: Update. Reported by Yavor Doganov and others. Signed-off-by: Eric Blake <eblake@redhat.com>
* Ensure unnamed test group categories are separated from previous.Ralf Wildenhues2010-08-021-0/+3
| | | | | | | | | | | | | | * doc/autoconf.texi (Writing Testsuites) <AT_BANNER>: Update description. * lib/autotest/general.m4 (AT_INIT) <at_fn_banner>: Set banner to single space, not empty line, once printed. For empty banners, print a single empty line to separate them from a previous test group category. * tests/autotest.at (Banners): Insert another test group; adjust tests accordingly. Extend test to cover semantic change. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* post-release administriviaEric Blake2010-07-211-0/+3
| | | | | | * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* Release Version 2.67.v2.67Eric Blake2010-07-211-1/+2
| | | | | | * NEWS: Mention the release. Signed-off-by: Eric Blake <eblake@redhat.com>
* Plug race in parallel autotest.Eric Blake2010-07-201-0/+5
| | | | | | | | | | * lib/autotest/general.m4 (AT_INIT) <Fifo job dispatcher>: Track two fds to fifo in parent, to avoid race where parent can see EOF before child opens fifo. Avoid any atomicity problems with tokens larger than one byte. * NEWS: Document the bug fix. Signed-off-by: Eric Blake <eblake@redhat.com>
* Also reject ' and newline from AC_INIT strings.Eric Blake2010-07-201-5/+3
| | | | | | | | | | | | | * lib/autoconf/general.m4 (_AC_INIT_LITERAL): Reject a couple more problematic characters. * tests/base.at (AC_INIT with unusual version strings): Enhance test. * doc/autoconf.texi (Initializing configure) <AC_INIT>: Further clarifications, and clean up wording about use of m4_esyscmd. * NEWS: Update previous news entry. Suggested by Paolo Bonzini. Signed-off-by: Eric Blake <eblake@redhat.com>
* Let autoreconf pass warning flags to new-enough aclocal.Ralf Wildenhues2010-07-201-0/+2
| | | | | | | | | | | | * bin/autoreconf.in ($aclocal_supports_warnings) ($automake_supports_warnings): New globals. (parse_args): Set and use them. Be sure to invoke `aclocal --help' and `automake --help' just once each. * NEWS: Update. Prompted by report from Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Signed-off-by: Eric Blake <eblake@redhat.com>
* Fix up AC_INIT vs. " issues, and document it.Eric Blake2010-07-191-5/+5
| | | | | | | | | | | | | * doc/autoconf.texi (Initializing configure): Improve documentation on argument restrictions. * NEWS: Tweak information. * lib/autoconf/general.m4 (_AC_INIT_GENERAL): New macro, that also rejects literal ". (_AC_INIT_PACKAGE): Use it to plug hole in last patch. * tests/base.at (AC_INIT with unusual version strings): Enhance test. Signed-off-by: Eric Blake <eblake@redhat.com>
* Relax AC_INIT requirements for PACKAGE and VERSION strings again.Ralf Wildenhues2010-07-191-0/+8
| | | | | | | | | | | | | * lib/m4sugar/m4sh.m4 (AS_LITERAL_HEREDOC_IF): New macro. (_AS_LITERAL_HEREDOC_IF, _AS_LITERAL_HEREDOC_IF_YES) (_AS_LITERAL_HEREDOC_IF_NO): New helper macros. * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Use AS_LITERAL_HEREDOC_IF for PACKAGE and VERSION strings. * tests/base.at (AC_INIT with unusual version strings): New test. * tests/m4sh.at (AS@&t@_LITERAL_IF): Extend test. * NEWS: Update. Signed-off-by: Eric Blake <eblake@redhat.com>
* Allow inspecting AC_PREPROC_IFELSE output in true branch.Ralf Wildenhues2010-07-191-0/+3
| | | | | | | | | | | | | * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY): Redirect preprocessor output to conftest.i rather than /dev/null. (_AC_PREPROC_IFELSE): Remove conftest.i in the postprocessing. * tests/compile.at (Order of user actions and cleanup): Extend test in the ACTION-IF-TRUE branch. * doc/autoconf.texi (Running the Preprocessor): Document new feature. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* New Fortran macro AC_FC_LINE_LENGTH.Ralf Wildenhues2010-07-101-0/+2
| | | | | | | | | * lib/autoconf/fortran.m4 (AC_FC_LINE_LENGTH): New macro. * doc/autoconf.texi (Fortran Compiler): Document it. * tests/fortran.at (AC_FC_LINE_LENGTH): New test. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix regression of AC_CHECK_SIZEOF on pointer types.Eric Blake2010-07-101-0/+3
| | | | | | | | | | | | | | | | | * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Translate `*' to `p' when checking literal-ness of the type, for pointer types. * lib/m4sugar/m4sh.m4 (_AS_TR_SH): Also consider `*' as literal. (_AS_TR_CPP): Likewise. * tests/semantics.at (AC_CHECK_ALIGNOF struct): When checking for numeric answer, be sure to not allow variable references. (AC_CHECK_SIZEOF struct): Likewise. Also, test the `AC_CHECK_SIZEOF([int *])' example from the manual. * doc/autoconf.texi (Generic Compiler Characteristics): Add example marker. * NEWS: Update. Reports by Nishio Futoshi and Roberto Bagnara. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Fix regression of AC_CONFIG_SUBDIRS with multiple arguments.Ralf Wildenhues2010-07-081-0/+2
| | | | | | | | | | | | * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Do not assume the argument is a single word. * tests/torture.at (Deep Package): Extend test to cover this. (Non-literal AC_CONFIG_SUBDIRS): New test. * doc/autoconf.texi (Subdirectories): Add example marker. * NEWS: Update. Report by Bruno Haible. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* post-release administriviaEric Blake2010-07-021-0/+3
| | | | | | | * maint.mk (NEWS_hash): Define. * NEWS: Add header line for next release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update.
* Release Version 2.66.v2.66Eric Blake2010-07-021-2/+2
| | | | | | * NEWS: Mention the release. Signed-off-by: Eric Blake <eblake@redhat.com>
* Make AS_TR_SH and AS_TR_CPP similar.Eric Blake2010-07-021-0/+2
| | | | | | | | | | * lib/m4sugar/m4sh.m4 (_AS_TR_CPP_LITERAL): Avoid underquoting. (_AS_TR_CPP_INDIR): Handle all polymorphic variables. * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP): New test. * NEWS: Document the fix. Reported by Bruno Haible. Signed-off-by: Eric Blake <eblake@redhat.com>
* New macro AC_FC_FIXEDFORM, improved AC_FC_FREEFORM, coverage.Ralf Wildenhues2010-07-021-0/+2
| | | | | | | | | | | | | | | | | | * lib/autoconf/fortran.m4 (_AC_FC_DIALECT_YEAR): Fix typo in comment. (AC_FC_FREEFORM): Update list of known options for Sun, HP, Lahey/Fujitsu Fortran compilers. Use M4 quoting consistently. (AC_FC_FIXEDFORM): New macro. * tests/fortran.at (AC_FC_DUMMY_MAIN usage, AC_FC_MAIN usage): Use AC_FC_FIXEDFORM, to avoid testsuite failure with FC=xlf95. (AC_FC_FREEFORM with AC_FC_SRCEXT, AC_FC_FIXEDFORM) (AC_FC_FIXEDFORM with AC_FC_SRCEXT): New tests. * tests/mktests.sh: No need to exclude AC_FC_FREEFORM, it uses AC_LANG_PUSH/AC_LANG_POP. * doc/autoconf.texi (Fortran Compiler): Document it. * NEWS: Update. Signed-off-by: Eric Blake <eblake@redhat.com>
* Optimize AS_BOX.Eric Blake2010-07-021-0/+4
| | | | | | | | | | * lib/m4sugar/m4sh.m4 (AS_BOX): Use less m4 time. (_AS_BOX_LITERAL): Use fewer forks in the common case. * doc/autoconf.texi (Common Shell Constructs) <AS_BOX>: Document the macro. * NEWS: Mention it. Signed-off-by: Eric Blake <eblake@redhat.com>
* Add AS_LITERAL_WORD_IF.Eric Blake2010-07-021-0/+5
| | | | | | | | | | | | * lib/m4sugar/m4sh.m4 (_AS_LITERAL_IF): Also reject shell quoting characters as non-literal, and provide way to reject space. (AS_LITERAL_WORD_IF): New macro. * doc/autoconf.texi (Polymorphic Variables) <AS_LITERAL_IF>: Document new macro. Fix example to match reality. * NEWS: Document change and new macro. * tests/m4sh.at (AS@&t@_LITERAL_IF): Update test. Signed-off-by: Eric Blake <eblake@redhat.com>
* Document, test, and fix AT_ARG_OPTION, AT_ARG_OPTION_ARG.Ralf Wildenhues2010-06-171-0/+5
| | | | | | | | | | | | | | | | | | | * lib/autotest/general.m4 (_AT_ARG_OPTION): Fix translation of hyphens to underscores when turning option names to variables. Avoid macro name concatenation garbage with trailing `dnl'. (AT_ARG_OPTION, AT_ARG_OPTION_ARG): Overhaul macro description. The OPTIONS are space-separated, not comma-separated. The negative form of AT_ARG_OPTION is prefixed with `--no-'. * tests/autotest.at (AT@&t@_ARG_OPTION, AT@&t@_ARG_OPTION_ARG): New tests. * NEWS: Update. * doc/autoconf.texi (Writing Testsuites): Document AT_ARG_OPTION and AT_ARG_OPTION_ARG. (testsuite Invocation): Call the thingies passed to the testsuite options, not arguments. Note that the testsuite author may add further package-specific options. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Autotest: enable colored test results.Ralf Wildenhues2010-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | * lib/autotest/general.m4 (HELP_TUNING_BEGIN): New diversion. (HELP_TUNING, HELP_OTHER, HELP_END): Bump diversion numbers. (AT_INIT): Accept --color and --color=never|auto|always. If desired, colorize test results and testsuite summary on standard output. [HELP_TUNING]: Divert content instead to ... [HELP_TUNING_BEGIN]: ... this diversion, m4_wrapped until the end, when we know whether AT_COLOR_TESTS has been specified. (AT_COLOR_TESTS): New macro, set the default for color to auto. * doc/autoconf.texi (Writing Testsuites): Document it. (testsuite Invocation): Document --color* options. * tests/local.at: Call AT_COLOR_TESTS for Autoconf's testsuite. * tests/autotest.at (color test results): New test, mirroring color.test from Automake. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Make CONFIG_SITE handling more robust.Eric Blake2010-06-141-0/+3
| | | | | | | | | | | * lib/autoconf/general.m4 (AC_SITE_LOAD): Avoid leading - and path search, and check for failure to load. * tests/base.at (AC_CACHE_CHECK): Enhance test. * doc/autoconf.texi (Site Defaults): Mention that CONFIG_SITE works best as an absolute path. * NEWS: Document the semantic change. Signed-off-by: Eric Blake <eblake@redhat.com>
* Allow plus signs in AC_ARG_ENABLE and AC_ARG_WITH.Bruno Haible2010-06-141-0/+4
| | | | | | | | | | | * doc/autoconf.texi (External Software): Mention that AC_ARG_WITH accepts packages with a + sign in it. (Package Options): Likewise for AC_ARG_ENABLE. * lib/autoconf/general.m4 (_AC_ENABLE_IF): Also replace '+' with '_'. * tests/base.at (AC_ARG_ENABLE and AC_ARG_WITH): New test. * NEWS: Update. Signed-off-by: Eric Blake <eblake@redhat.com>
* New Autotest testsuite option --recheck.Ralf Wildenhues2010-06-141-0/+3
| | | | | | | | | | | | | | * lib/autotest/general.m4 (AT_INIT): New variable $at_recheck. Escape hyphen in $at_dir early. Accept command line switch --recheck. Set $at_suite_log early, based on --directory switch; with --recheck, include the list of FAILed and XPASSed tests from old testsuite.log file in $at_groups. Document --recheck in --help output. * tests/autotest.at (recheck): New test. * doc/autoconf.texi (testsuite Invocation): Document --recheck. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Make AS_SET_CATFILE polymorphic, and add testsuite coverage.Ralf Wildenhues2010-06-081-0/+2
| | | | | | | | | | | * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Use AS_VAR_SET to set the variable. * tests/m4sh.at (AS@&t@_SET_CATFILE): New test. * doc/autoconf.texi (Common Shell Constructs): Document that AS_SET_CATFILE is polymorphic in its VAR argument now. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>