From b68816b1fd17c46a2c62875bc487d0cd562a8bbb Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 3 Jul 2013 04:58:56 +0100 Subject: Fix $ModDep failing to find application-wide include files. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0af698ed0..b2dd691e1 100755 --- a/configure +++ b/configure @@ -1136,7 +1136,7 @@ sub enable_extras (@) { my @deps = split / +/, getdependencies($extrapath); for my $dep (@deps) { next if scalar(grep { $_ eq $dep } (@extras)) > 0; # Skip if we're going to be enabling it anyway. - if (!-e "src/modules/$dep") { + if (!-e "src/modules/$dep" && !-e "include/$dep") { if (-e "src/modules/extra/$dep") { print STDERR "Will also enable extra \e[32;1m$dep\e[0m (needed by \e[32;1m$extra\e[0m)\n"; push @extras, $dep; -- cgit v1.2.3