3 # Test to make sure .c.o rule is only included once.
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
13 cat > Makefile.am << 'END'
14 AUTOMAKE_OPTIONS = no-dependencies
15 lib_LTLIBRARIES = libltdl.la
16 libltdl_la_SOURCES = ltdl.c ltdl.h
22 # Create all the files created libtoolize so we don't run libtoolize.
23 # We don't want the user to need libtool to run this test.
31 $ACLOCAL -I $aclocaldir || exit 1
34 grep -c '^\.c\.o:' Makefile.in | grep '^1$'
35 grep -c '^\.c\.obj:' Makefile.in | grep '^1$'