3 # Test to make sure C-but-not-CC error works.
5 . $srcdir/defs || exit 1
7 cat >> configure.in << 'END'
8 dnl AC_PROG_CC and AC_PROG_CXX missing on purpose
10 AC_LIBOBJ([mountlist])
13 cat > Makefile.am << 'END'
23 # Use -Wno-error, because there are many error messages
24 # output for this test, and we just want to make sure some of
25 # them are about CC and CXX being undefined.
26 $AUTOMAKE --Wno-error 2> err && exit 1
27 fgrep CC err || exit 1
28 fgrep CXX err || exit 1