summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cac681c)
raw | patch | inline | side by side (parent: cac681c)
author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 18 Aug 2008 14:16:28 +0000 (16:16 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Mon, 18 Aug 2008 15:50:01 +0000 (17:50 +0200) |
configure.in | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.in b/configure.in
index 2b85a2bdb40a2269bad2e38faa290a8efdd48ced..106fe397b8ca3a676a1d78a11b3e5e0ad9f365ed 100644 (file)
--- a/configure.in
+++ b/configure.in
*darwin*)
ac_system="Darwin"
;;
+ *openbsd*)
+ ac_system="OpenBSD"
+ ;;
*)
ac_system="unknown"
esac
fi
fi
+if test "x$ac_system" = "xOpenBSD"
+then
+ plugin_tcpconns="yes"
+fi
+
# Mac OS X devices
if test "x$with_libiokit" = "xyes"
then
diff --git a/src/Makefile.am b/src/Makefile.am
index 3c5c87b295d0e3cfb650731eccd97bddf284e5d9..1e457362725abe59958dd81473cd8c5d52473532 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
pkglib_LTLIBRARIES += tcpconns.la
tcpconns_la_SOURCES = tcpconns.c
tcpconns_la_LDFLAGS = -module -avoid-version
+tcpconns_la_LIBADD =
collectd_LDADD += "-dlopen" tcpconns.la
collectd_DEPENDENCIES += tcpconns.la
+if BUILD_WITH_LIBKVM
+tcpconns_la_LIBADD += -lkvm
+endif
endif
if BUILD_PLUGIN_TEAMSPEAK2