]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata: add information to build-info
authorEric Leblond <eric@regit.org>
Wed, 23 Jan 2013 09:40:40 +0000 (10:40 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 8 Feb 2013 11:07:25 +0000 (12:07 +0100)
This patch adds information about luajit and jansson to the
output of --build-info command. This should fix #696.

src/suricata.c

index 5ef181f9cd08185806994e286443e49d9a4a5b20..3bd6a24462ea194f12b6e6dec98bfd369ef3bebc 100644 (file)
@@ -620,6 +620,12 @@ void SCPrintBuildInfo(void) {
 #ifdef HAVE_NSS
     strlcat(features, "HAVE_NSS ", sizeof(features));
 #endif
+#ifdef HAVE_LUAJIT
+    strlcat(features, "HAVE_LUAJIT ", sizeof(features));
+#endif
+#ifdef HAVE_LIBJANSSON
+    strlcat(features, "HAVE_LIBJANSSON ", sizeof(features));
+#endif
 #ifdef PROFILING
     strlcat(features, "PROFILING ", sizeof(features));
 #endif