summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-03 04:58:56 +0100
committerPeter Powell <petpow@saberuk.com>2013-07-04 15:51:11 +0100
commitb68816b1fd17c46a2c62875bc487d0cd562a8bbb (patch)
tree329cc24565788b1fd933906660c53e4e80d539d3
parent8283b5644097ab7a3e2489de9ee0378a2aa26d54 (diff)
Fix $ModDep failing to find application-wide include files.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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;