mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Add ifdef when print lua version
This commit is contained in:
@@ -58,8 +58,10 @@ void version(apr_pool_t *mp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Lua version function was removed in current 5.1. Need to check in future versions if it's back */
|
/* Lua version function was removed in current 5.1. Need to check in future versions if it's back */
|
||||||
|
#if defined(WITH_LUA)
|
||||||
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
||||||
"ModSecurity: LUA compiled version=\"%s\"",LUA_VERSION);
|
"ModSecurity: LUA compiled version=\"%s\"",LUA_VERSION);
|
||||||
|
#endif /* WITH_LUA */
|
||||||
|
|
||||||
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
|
||||||
"ModSecurity: LIBXML compiled version=\"%s\"",LIBXML_DOTTED_VERSION);
|
"ModSecurity: LIBXML compiled version=\"%s\"",LIBXML_DOTTED_VERSION);
|
||||||
|
Reference in New Issue
Block a user