+2006-03-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ * tests/c.at (AC_PROG_CPP without warnings): Require that
+ /lib/cpp include stdio.h correctly. Solaris 10's doesn't.
+ Problem reported by D'Arcy A MacIsaac and diagnosed by
+ Ralf Wildenhues.
+
2006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for
AT_BANNER([C low level compiling/preprocessing macros.])
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
AT_SETUP([AC_PROG_CPP without warnings])
# Ignore if /lib/cpp doesn't work
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+ [], [ignore], [ignore])
# A cpp which exit status is meaningless.
AT_DATA([mycpp],
AT_SETUP([AC_PROG_CPP via CC])
# Ignore if /lib/cpp doesn't work
-AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore])
+AT_CHECK([echo '#include <stdio.h>' | /lib/cpp </dev/null || exit 77],
+ [], [ignore], [ignore])
AT_DATA([mycc],
[[#! /bin/sh