output-lua: display warning if no lua support

Display a warning that the lua module is not available if we're
not compiled against lua(jit).
pull/1112/head
Victor Julien 12 years ago
parent eb5a70fe09
commit 1fd0f96b49

@ -674,6 +674,14 @@ void RunModeInitializeOutputs(void)
"recompile with libjansson and its development "
"files installed to add eve-log support.");
continue;
#endif
} else if (strcmp(output->val, "lua") == 0) {
#ifndef HAVE_LUA
SCLogWarning(SC_ERR_NOT_SUPPORTED,
"lua support not compiled in. Reconfigure/"
"recompile with lua(jit) and its development "
"files installed to add lua support.");
continue;
#endif
}

Loading…
Cancel
Save