diff options
author | Peter Powell <petpow@saberuk.com> | 2013-07-03 04:58:56 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-07-04 15:51:11 +0100 |
commit | b68816b1fd17c46a2c62875bc487d0cd562a8bbb (patch) | |
tree | 329cc24565788b1fd933906660c53e4e80d539d3 | |
parent | 8283b5644097ab7a3e2489de9ee0378a2aa26d54 (diff) |
Fix $ModDep failing to find application-wide include files.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |