Tag
Hash :
852e99bc
Author :
Date :
2002-05-30T06:05:05
fgrep -> $FGREP, egrep -> $EGREP
#! /bin/sh
# Test to make sure that suffix rules chain.
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CXX
END
cat > Makefile.am << 'END'
SUFFIXES = .zoo
.zoo.cc:
convert-zoo whatever
bin_PROGRAMS = foo
foo_SOURCES = foo.zoo
END
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
# The foo.cc intermediate step is implicit, it's a mistake if
# Automake requires this file somewhere.
$FGREP foo.cc Makefile.in && exit 1
# However Automake must figure that foo.zoo is eventually
# transformed into foo.o, and use this latter file (to link foo).
$FGREP 'foo.$(OBJEXT)' Makefile.in || exit 1
exit 0