Hash :
6e083c82
Author :
Date :
1996-11-15T07:14:37
Updated tests for new CC checking
#! /bin/sh
# Test to make sure EXTRA_ targets are generated. This test used to
# make sure the targets were *not* generated. That is wrong; the
# targets should always be generated. However, they should not be
# built by default.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
END
cat > Makefile.am << 'END'
bin_PROGRAMS = @foo@
EXTRA_PROGRAMS = zardoz
END
$AUTOMAKE || exit 1
grep "^zardoz" Makefile.in || exit 1
# Can't have EXTRA clean rules.
grep 'clean.*EXTRA' Makefile.in && exit 1
exit 0