Line | |
---|
1 | #! /bin/sh
|
---|
2 |
|
---|
3 | # This tests for a bug reported by Henrik Frystyk Nielsen <frystyk@w3.org>
|
---|
4 | # In some cases the auto-dependency can get confused and try
|
---|
5 | # to `-include' a directory.
|
---|
6 | # This actually tests for two bugs:
|
---|
7 | # * A configure substitution in _SOURCES incorrectly ends up in DEP_FILES
|
---|
8 | # * A backslash-newline in _SOURCES causes just the directory to
|
---|
9 | # appear in DEP_FILES.
|
---|
10 |
|
---|
11 | . $srcdir/defs || exit 1
|
---|
12 |
|
---|
13 | cat > Makefile.am << 'END'
|
---|
14 | bin_PROGRAMS = fred
|
---|
15 | fred_SOURCES = \
|
---|
16 | @BLATT@
|
---|
17 | END
|
---|
18 |
|
---|
19 | $AUTOMAKE || exit 1
|
---|
20 |
|
---|
21 | # In this case we no longer expect to find DEP_FILES.
|
---|
22 | grep '^DEP_FILES = *$' Makefile.in && exit 1
|
---|
23 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.