summaryrefslogtreecommitdiff
path: root/tests/vpath.test
blob: 89e5004cb608efdb21cd7aadadb5624a9645e5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

# Test to make sure VPATH can be overridden.
# Report from Anthony Green.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
VPATH = zardoz
END

$ACLOCAL || exit 1
$AUTOMAKE || exit 1

grep 'VPATH.*@srcdir@' Makefile.in && exit 1
exit 0