diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1999-04-10 05:38:53 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@dcc.unicamp.br> | 1999-04-10 05:38:53 +0000 |
commit | 96e07b9c90a7de1052630b76f6eecbb72807a5ac (patch) | |
tree | bd405df9a490839b4636cec0b98e3fc8fc1050e8 /tests/suffix.test | |
parent | 9c55087771f5f61c7b900a053832b3880f12490c (diff) | |
download | automake-96e07b9c90a7de1052630b76f6eecbb72807a5ac.tar.gz |
* suffix.test: New file.
* Makefile.am: Added suffix.test.
Diffstat (limited to 'tests/suffix.test')
-rwxr-xr-x | tests/suffix.test | 20 |
1 files changed, 20 insertions, 0 deletions
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 |