clean fixlet
[automake.git] / tests / confincl.test
bloba6e0932b44b6ffaf559847ca1d7ed1e0aec3312c
1 #! /bin/sh
3 # This tests for a bug reported by Gord Matzigkeit.
4 # If config.h is not used, @CONFIG_INCLUDE_SPEC@ should not appear
5 # in Makefile.in.
7 . $srcdir/defs || exit 1
9 cat >> configure.in << 'END'
10 AC_PROG_CC
11 END
13 cat > Makefile.am << 'EOF'
14 bin_PROGRAMS = fred
15 EOF
17 $AUTOMAKE || exit 1
19 if grep '@CONFIG_INCLUDE_SPEC@' Makefile.in; then
20 exit 1
22 exit 0