+2001-02-07 Pavel Roskin <proski@gnu.org>
+
+ * tests/atspecific.m4 (AT_CONFIGURE_AC): Double quote constant
+ part of the second argument to AT_DATA.
+ * tests/compile.at (AC_PROG_CPP with warnings): Fix underquoting
+ in a call to _AT_CHECK_AC_MACRO.
+ (AC_PROG_CPP without warnings): Likewise.
+
2001-02-11 Jim Meyering <meyering@lucent.com>
Ensure that even `autoscan --version' fails when e.g.,
m4_define([AT_CONFIGURE_AC],
[AT_CLEANUP_FILES(env-after state*)dnl
AT_DATA([configure.ac],
-[AC_INIT
+[[AC_INIT
AC_CONFIG_AUX_DIR($top_srcdir)
AC_CONFIG_HEADER(config.h:config.hin)
-AC_STATE_SAVE(before)
+AC_STATE_SAVE(before)]
$1
-AC_OUTPUT
+[AC_OUTPUT
AC_STATE_SAVE(after)
-])])
+]])])
# AT_CHECK_AUTOCONF(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)
chmod +x mycpp
_AT_CHECK_AC_MACRO(
-[AC_PROG_CPP
+[[AC_PROG_CPP
# If the preprocessor is not strict, just ignore
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)])
+AC_CHECK_HEADERS(stdio.h autoconf_io.h)]])
AT_CHECK_DEFINES(
[/* #undef HAVE_AUTOCONF_IO_H */
chmod +x mycpp
_AT_CHECK_AC_MACRO(
-[# Ignore if /lib/cpp doesn't work
+[[# Ignore if /lib/cpp doesn't work
if AC_TRY_COMMAND([/lib/cpp </dev/null >&2]); then :; else
AC_MSG_ERROR([preprocessor doesn't work], 77)
fi
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)])
+AC_CHECK_HEADERS(stdio.h autoconf_io.h)]])
AT_CHECK_DEFINES(
[/* #undef HAVE_AUTOCONF_IO_H */