Adds SecRemoteRules as an build option

SecRemoteRules adds a new dependency to libcurl. Before only mlogc was
depending on libcurl. SecRemoteRules also depends on the apr-tools with
crypto support, which (as reported by our buildbots) is not default in
some environments such as: MacOS X. This commit disable SecRemoteRules
support if apr-tools was not compiled with crypto support.
This commit is contained in:
Felipe Zimmerle
2014-11-12 11:44:45 -03:00
parent 38b9924705
commit c54bb746c6
5 changed files with 41 additions and 15 deletions

View File

@@ -26,9 +26,7 @@
#define AP_MAX_ARGC 64
#endif
#ifndef APU_HAVE_CRYPTO
#error Missing apu crypto module
#endif
#ifdef WITH_REMOTE_RULES_SUPPORT
/**
* @brief Insert a new SecRule to be processed by ModSecurity
@@ -716,3 +714,4 @@ end:
return 0;
}
#endif