nothing
[automake.git] / tests / xsource.test
blob62fadc480fec0f65ad2e19ae1cd04a5f40199d4f
1 #! /bin/sh
3 # Test to make sure source in another directory works.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 bin_PROGRAMS = zardoz
9 zardoz_SOURCES = z.c x/y.c
10 END
12 cat >> configure.in << 'END'
13 AC_PROG_CC
14 END
16 mkdir x
18 : > z.c
19 : > x/y.c
21 $AUTOMAKE || exit 1
23 test `fgrep y.c Makefile.in | wc -l` -eq 1