When sources.mk is needed to find directories, don't test whether it's

there, just use it.  If it's not there, things will fail down the
road.  Better to fail early.
This commit is contained in:
Markus Armbruster 2006-02-05 17:41:17 +00:00
parent 9f5aa41084
commit 40f3ed2e5a

View file

@ -142,7 +142,7 @@ AC_CONFIG_COMMANDS([stamp-h],
[if test $cvs_controlled = yes; then
mkdir -p `cd $srcdir && $AWK -f src/scripts/cvsfiles.awk \
| sed -n '/\//s,/@<:@^/@:>@*$,,gp'| uniq`
elif test -f $srcdir/sources.mk; then
else
mkdir -p `sed s/.*=// <$srcdir/sources.mk | tr ' ' '\012' \
| sed -n '/\//s,/@<:@^/@:>@*$,,gp'| uniq`
fi