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 */
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 */
AC_MSG_ERROR([error messages on stderr cause the preprocessor selection to fail])
# 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 */