autoconf/tests
Eric Blake 1e604ecfb2 autoconf: warn if AC_*_IFELSE lacks complete program
* 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>
2010-08-26 15:24:13 -06:00
..
atlocal.in Export AUTOM4TE in tests/atlocal.in, for aclocal. 2010-01-12 19:42:00 +01:00
autoscan.at Update copyright year. 2010-01-05 20:59:55 -07:00
autotest.at docs: mention cost of globbing during variable expansion 2010-08-25 17:22:18 -06:00
base.at tests: fix AC_CACHE_CHECK to skip with bad shells. 2010-08-24 23:12:25 +02:00
c.at docs: mention cost of globbing during variable expansion 2010-08-25 17:22:18 -06:00
compile.at autoconf: warn if AC_*_IFELSE lacks complete program 2010-08-26 15:24:13 -06:00
erlang.at Update copyright year. 2010-01-05 20:59:55 -07:00
foreign.at docs: mention cost of globbing during variable expansion 2010-08-25 17:22:18 -06:00
fortran.at docs: mention cost of globbing during variable expansion 2010-08-25 17:22:18 -06:00
local.at Fix testsuite failures with typical m4-x.y.z program suffix. 2010-08-10 22:46:10 +02:00
m4sh.at tests: improve some shell assumption testing 2010-08-25 17:22:21 -06:00
m4sugar.at Add tests for AS_BOX. 2010-07-02 12:10:36 -06:00
Makefile.am Update copyright year. 2010-01-05 20:59:55 -07:00
mktests.sh New macro AC_FC_FIXEDFORM, improved AC_FC_FREEFORM, coverage. 2010-07-02 13:45:04 -06:00
semantics.at Fix regression of AC_CHECK_SIZEOF on pointer types. 2010-07-10 08:16:35 +02:00
statesave.m4 Update copyright year. 2010-01-05 20:59:55 -07:00
suite.at Fix placing of ellipses in English text. 2010-04-26 20:33:51 +02:00
tools.at m4sh: revert incorrect mix of "${a='b'}" 2010-08-25 21:27:22 -06:00
torture.at docs: mention another issue with variable expansion 2010-08-26 11:27:49 -06:00
wrapper.as Update copyright year. 2010-01-05 20:59:55 -07:00