These are the ones I spotted. Ciao,
Paolo Use preprocessor in cpp tests. * tests/c.at (CPP tests): Use AC_CHECK_HEADERS(..., [-]). diff --git a/tests/c.at b/tests/c.at index bc07c6e..d7a1886 100644 --- a/tests/c.at +++ b/tests/c.at @@ -124,7 +124,9 @@ _AT_CHECK_AC_MACRO( test "x$ac_c_preproc_warn_flag" = xyes && AC_MSG_ERROR([preprocessor has no warning option], 77) CPP="./mycpp $CPP" -AC_CHECK_HEADERS(stdio.h autoconf_io.h)]]) + +# Exercise CPP. +AC_CHECK_HEADERS(stdio.h autoconf_io.h, [], [], [-])]]) AT_CHECK_DEFINES( [/* #undef HAVE_AUTOCONF_IO_H */ @@ -158,7 +160,9 @@ _AT_CHECK_AC_MACRO( AC_PROG_CPP test "x$ac_c_preproc_warn_flag" != xyes && AC_MSG_ERROR([failed to detect preprocessor warning option]) -AC_CHECK_HEADERS(stdio.h autoconf_io.h)]]) + +# Exercise CPP. +AC_CHECK_HEADERS(stdio.h autoconf_io.h, [], [], [-])]]) AT_CHECK_DEFINES( [/* #undef HAVE_AUTOCONF_IO_H */ @@ -204,6 +208,6 @@ test "$CPP" != "$CC -E" && # Exercise CPP. -AC_CHECK_HEADERS(stdio.h autoconf_io.h)]]) +AC_CHECK_HEADERS(stdio.h autoconf_io.h, [], [], [-])]]) AT_CHECK_DEFINES( [/* #undef HAVE_AUTOCONF_IO_H */
