source: trunk/essentials/sys-devel/automake-1.4/tests/depend.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 611 bytes
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
13cat > Makefile.am << 'END'
14bin_PROGRAMS = fred
15fred_SOURCES = \
16 @BLATT@
17END
18
19$AUTOMAKE || exit 1
20
21# In this case we no longer expect to find DEP_FILES.
22grep '^DEP_FILES = *$' Makefile.in && exit 1
23exit 0
Note: See TracBrowser for help on using the repository browser.