diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-07-04 09:12:41 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-07-04 09:12:41 -0700 |
commit | fd0fa86da89ab4cefa778307088ef2552a05a170 (patch) | |
tree | fce1ad1b9cc1c8735a9d39f582a841dbdb9d6ca6 /configure | |
parent | f6d68c82e7f46a107f4b7593d1b19876fe0a9660 (diff) | |
parent | 9b29bedbc3b43bdca35369879b0d1848e95b9aa5 (diff) |
Merge pull request #574 from SaberUK/master+build-comment-cleanup
Clean up unneeded build system comments.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -885,9 +885,9 @@ EOF } if ($config{HAS_DEFER} eq "TCP_DEFER_ACCEPT") { - print FILEHANDLE "#define USE_TCP_DEFER_ACCEPT"; + print FILEHANDLE "#define USE_TCP_DEFER_ACCEPT\n"; } elsif ($config{HAS_DEFER} eq "SO_ACCEPTFILTER") { - print FILEHANDLE "#define USE_SO_ACCEPTFILTER" + print FILEHANDLE "#define USE_SO_ACCEPTFILTER\n" } print FILEHANDLE "\n#include \"threadengines/threadengine_pthread.h\"\n"; @@ -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; |