From 9b6a84183b60fa9dfcbd8b778e5eb439428a27f2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 7 Feb 2001 20:39:00 +0000 Subject: [PATCH] * distcommon.test: New file. * Makefile.am (TESTS): Added new file. --- tests/distcommon.test | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 tests/distcommon.test diff --git a/tests/distcommon.test b/tests/distcommon.test new file mode 100755 index 00000000..6072853f --- /dev/null +++ b/tests/distcommon.test @@ -0,0 +1,27 @@ +#! /bin/sh + +# A test for failure to include files provided in AC_OUTPUT into +# DIST_COMMON +# From Derek R. Price. + +. $srcdir/defs || exit 1 + +cat > configure.in << EOF +AM_INIT_AUTOMAKE(nonesuch, nonesuch) +AC_OUTPUT(subdir/bar \ + Makefile \ + subdir/Makefile) +EOF + +: > Makefile.am + +mkdir subdir +: > subdir/Makefile.am +: > subdir/bar.in + +$AUTOMAKE || exit 1 + +# verify bar.in +grep 'DIST_COMMON.*bar.in' subdir/Makefile.in || exit 1 + +exit 0 -- 2.43.5