summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9f8962f)
raw | patch | inline | side by side (parent: 9f8962f)
author | Florian Forster <octo@noris.net> | |
Wed, 23 Sep 2009 09:59:05 +0000 (11:59 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Wed, 23 Sep 2009 09:59:05 +0000 (11:59 +0200) |
configure.in | patch | blob | history | |
src/Makefile.am | patch | blob | history |
diff --git a/configure.in b/configure.in
index 01dddccd14da775e32f24bda3d09bf146d61d8e6..5c2b9998e2588ecc83d646e4d860cef23f9ea861 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_PLUGIN([memory], [$plugin_memory], [Memory usage])
AC_PLUGIN([multimeter], [$plugin_multimeter], [Read multimeter values])
AC_PLUGIN([mysql], [$with_libmysql], [MySQL statistics])
+AC_PLUGIN([netapp], [$with_libnetapp], [NetApp plugin])
AC_PLUGIN([netlink], [$with_libnetlink], [Enhanced Linux network statistics])
AC_PLUGIN([network], [yes], [Network communication plugin])
AC_PLUGIN([nfs], [$plugin_nfs], [NFS statistics])
memory . . . . . . . $enable_memory
multimeter . . . . . $enable_multimeter
mysql . . . . . . . . $enable_mysql
+ netapp . . . . . . . $enable_netapp
netlink . . . . . . . $enable_netlink
network . . . . . . . $enable_network
nfs . . . . . . . . . $enable_nfs
diff --git a/src/Makefile.am b/src/Makefile.am
index 54befad70ec5e3a9b01a87ed09387403bc9e584e..2e9f265e15cea2a2aeb263610c69f177632048e7 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
collectd_DEPENDENCIES += mysql.la
endif
+if BUILD_PLUGIN_NETAPP
+pkglib_LTLIBRARIES += netapp.la
+netapp_la_SOURCES = netapp.c
+netapp_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBNETAPP_CPPFLAGS)
+netapp_la_LDFLAGS = -module -avoid-version $(LIBNETAPP_LDFLAGS)
+netapp_la_LIBADD = $(LIBNETAPP_LIBS)
+collectd_LDADD += "-dlopen" netapp.la
+collectd_DEPENDENCIES += netapp.la
+endif
+
if BUILD_PLUGIN_NETLINK
pkglib_LTLIBRARIES += netlink.la
netlink_la_SOURCES = netlink.c