Do not compile in JSON logging support if yajl is not found

This commit is contained in:
Robert Paprocki
2015-11-10 11:12:42 -08:00
committed by Felipe Zimmerle
parent 0c95a7a2cd
commit 5bc75ec871
4 changed files with 24 additions and 0 deletions

View File

@@ -519,8 +519,10 @@ struct directory_config {
/* AUDITLOG_SERIAL (single file) or AUDITLOG_CONCURRENT (multiple files) */
int auditlog_type;
#ifdef WITH_YAJL
/* AUDITLOGFORMAT_NATIVE or AUDITLOGFORMAT_JSON */
int auditlog_format;
#endif
/* Mode for audit log directories and files */
apr_fileperms_t auditlog_dirperms;