Adds MODSEC_NO_LOGS option to be part of the configure

This commit is contained in:
Felipe Zimmerle
2015-10-15 15:42:56 -03:00
parent 74045beab5
commit b0089cfde9
4 changed files with 11 additions and 1 deletions

View File

@@ -262,6 +262,10 @@ int main(int argc, char **argv) {
ModSecurityTest<RegressionTest> test;
ModSecurityTestResults<RegressionTest> results;
#ifdef NO_LOGS
std::cout << "Test utility cannot work without logging support." \
<< std::endl;
#else
test.cmd_options(argc, argv);
std::cout << test.header();
@@ -324,6 +328,6 @@ int main(int argc, char **argv) {
}
delete vec;
}
#endif
return 0;
}