From 40f3ed2e5a7c520c6c0245ee55d7184d782f9c5a Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 5 Feb 2006 17:41:17 +0000 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 73627f02..46811a0c 100644 --- a/configure.ac +++ b/configure.ac @@ -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