Print YAJL version on startup. Closing issue: #703

This commit is contained in:
Mauro Faccenda 2014-09-30 10:40:03 -03:00
parent 79639b5e47
commit 87df4827dc

View File

@ -39,6 +39,11 @@
#include "msc_status_engine.h"
#ifdef WITH_YAJL
#include <yajl/yajl_version.h>
#endif /* WITH_YAJL */
/* ModSecurity structure */
msc_engine DSOLOCAL *modsecurity = NULL;
@ -117,6 +122,11 @@ static void version(apr_pool_t *mp) {
"ModSecurity: LUA compiled version=\"%s\"", LUA_VERSION);
#endif /* WITH_LUA */
#ifdef WITH_YAJL
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
"ModSecurity: YAJL compiled version=\"%d.%d.%d\"", YAJL_MAJOR, YAJL_MINOR, YAJL_MICRO);
#endif /* WITH_YAJL */
ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, NULL,
"ModSecurity: LIBXML compiled version=\"%s\"", LIBXML_DOTTED_VERSION);
}