aboutsummaryrefslogtreecommitdiffstats
path: root/version_info.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-07-05 19:10:47 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-07-05 19:10:47 +0000
commitefe4dd96aaf3ded2b53b84f78c6602b8c11045d4 (patch)
tree01a395498b6124293f613bb198c308f5241e9ad7 /version_info.c
parenta0c01750b8a8fd0a7b09552e493640ab54783310 (diff)
List whether we were compiled with LIBNL or not (including which major
version). svn path=/trunk/; revision=43574
Diffstat (limited to 'version_info.c')
-rw-r--r--version_info.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/version_info.c b/version_info.c
index bb9efc16e5..b5c4afe59b 100644
--- a/version_info.c
+++ b/version_info.c
@@ -154,6 +154,18 @@ get_compiled_version_info(GString *str, void (*prepend_info)(GString *),
g_string_append(str, "without POSIX capabilities");
#endif /* HAVE_LIBCAP */
+ /* LIBNL */
+ g_string_append(str, ", ");
+#if defined(HAVE_LIBNL1)
+ g_string_append(str, "with libnl 1");
+#elif defined(HAVE_LIBNL2)
+ g_string_append(str, "with libnl 2");
+#elif defined(HAVE_LIBNL3)
+ g_string_append(str, "with libnl 3");
+#else
+ g_string_append(str, "without libnl");
+#endif
+
/* Additional application-dependent information */
if (append_info)
(*append_info)(str);