From 92afca8dc140726290ccf0faf519b7a6c5b66a3e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 27 Jul 1999 19:18:25 +0000 Subject: [PATCH] * empty4.test: New file. * Makefile.am (TESTS): Added empty4.test. --- tests/ChangeLog | 5 +++++ tests/Makefile.am | 1 + tests/Makefile.in | 1 + tests/empty4.test | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100755 tests/empty4.test diff --git a/tests/ChangeLog b/tests/ChangeLog index dce99e8c..44264e1d 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-07-27 Tom Tromey + + * empty4.test: New file. + * Makefile.am (TESTS): Added empty4.test. + 1999-07-13 Tom Tromey * empty3.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 2bbf9a6a..1347f56f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -88,6 +88,7 @@ else.test \ empty.test \ empty2.test \ empty3.test \ +empty4.test \ error.test \ exdir.test \ exdir2.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index df88623a..4c2a38c7 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -154,6 +154,7 @@ else.test \ empty.test \ empty2.test \ empty3.test \ +empty4.test \ error.test \ exdir.test \ exdir2.test \ diff --git a/tests/empty4.test b/tests/empty4.test new file mode 100755 index 00000000..82cde298 --- /dev/null +++ b/tests/empty4.test @@ -0,0 +1,23 @@ +#! /bin/sh + +# Test to make sure empty _SOURCES works. +# From Paul Berrevoets. + +. $srcdir/defs || exit 1 + +cat >> configure.in << 'END' +AC_PROG_CC +AC_SUBST(ZOO_OBJ) +END + +cat > Makefile.am << 'END' +noinst_PROGRAMS = zoo +zoo_SOURCES = +EXTRA_zoo_SOURCES = bar.c foo.c +zoo_DEPENDENCIES = $(ZOO_OBJ) +zoo_LDADD = $(zoo_DEPENDENCIES) +END + +$AUTOMAKE || exit 1 +fgrep zoo. Makefile.in && exit 1 +exit 0 -- 2.43.5