From 96e07b9c90a7de1052630b76f6eecbb72807a5ac Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sat, 10 Apr 1999 05:38:53 +0000 Subject: * suffix.test: New file. * Makefile.am: Added suffix.test. --- tests/suffix.test | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 tests/suffix.test (limited to 'tests/suffix.test') diff --git a/tests/suffix.test b/tests/suffix.test new file mode 100755 index 000000000..3556a3989 --- /dev/null +++ b/tests/suffix.test @@ -0,0 +1,20 @@ +#! /bin/sh + +# Make sure a suffix rule for C compilation is produced. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +END + +cat > Makefile.am << 'END' +noinst_PROGRAMS = foo +END + +$AUTOMAKE -i || exit 1 + +grep '^\.c\.o' Makefile.in > /dev/null || exit 1 + +$AUTOMAKE || exit 1 +grep '%\.o: %\.c' Makefile.in > /dev/null || exit 1 -- cgit v1.2.1