source:
vendor/automake/1.4-p6/tests/include.test
Last change on this file was 3124, checked in by , 18 years ago | |
---|---|
File size: 288 bytes |
Line | |
---|---|
1 | #! /bin/sh |
2 | |
3 | # Test to make sure header vars defined only once when including. |
4 | # Report from Marcus G. Daniels. |
5 | |
6 | . $srcdir/defs || exit 1 |
7 | |
8 | cat > Makefile.am << 'END' |
9 | include foo |
10 | END |
11 | |
12 | : > foo |
13 | |
14 | $AUTOMAKE || exit 1 |
15 | len="`grep '^srcdir' Makefile.in | wc -l`" |
16 | echo "len = $len" |
17 | test $len -eq 1 |
Note:
See TracBrowser
for help on using the repository browser.