X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=9cc9b552d24ba9a4d12b66d0ac3bd67517e4c696;hb=8e0e8593647ea67a4a41a45f2be30aa3d8ca6eaa;hp=1ed690d867c707196dd65024806d7c4163e7a1ca;hpb=82c9b0daf5ff90d01f4a4371f11727cd613e4b01;p=collectd.git diff --git a/configure.ac b/configure.ac index 1ed690d8..9cc9b552 100644 --- a/configure.ac +++ b/configure.ac @@ -644,7 +644,30 @@ AC_CHECK_HEADERS(linux/un.h, [], [], #endif ]) -AC_CHECK_HEADERS(pwd.h grp.h sys/un.h ctype.h limits.h fs_info.h fshelp.h paths.h mntent.h mnttab.h sys/fstyp.h sys/fs_types.h sys/mntent.h sys/mnttab.h sys/statfs.h sys/statvfs.h sys/vfs.h sys/vfstab.h sys/vmmeter.h kvm.h wordexp.h locale.h) +AC_CHECK_HEADERS([ \ + ctype.h \ + fs_info.h \ + fshelp.h \ + grp.h \ + kvm.h \ + limits.h \ + locale.h \ + mntent.h \ + mnttab.h \ + paths.h \ + pwd.h \ + sys/fs_types.h \ + sys/fstyp.h \ + sys/mntent.h \ + sys/mnttab.h \ + sys/statfs.h \ + sys/statvfs.h \ + sys/un.h \ + sys/vfs.h \ + sys/vfstab.h \ + sys/vmmeter.h \ + wordexp.h \ +]) AC_CHECK_HEADERS([xfs/xqm.h], [], [], [ @@ -5208,6 +5231,10 @@ PKG_CHECK_MODULES([LIBNOTIFY], [libnotify], [with_libnotify="no (pkg-config doesn't know libnotify)"] ) +PKG_CHECK_MODULES([RIEMANN_C], [riemann-client >= 1.8.0], + [with_riemann_c="yes"], + [with_riemann_c="no (pbg-config doesn't know riemann-c-client)"]) + # Check for enabled/disabled features # @@ -5863,7 +5890,7 @@ AC_PLUGIN([write_kafka], [$with_librdkafka], [Kafka output plugin]) AC_PLUGIN([write_log], [yes], [Log output plugin]) AC_PLUGIN([write_mongodb], [$with_libmongoc], [MongoDB output plugin]) AC_PLUGIN([write_redis], [$with_libhiredis], [Redis output plugin]) -AC_PLUGIN([write_riemann], [$have_protoc_c], [Riemann output plugin]) +AC_PLUGIN([write_riemann], [$with_riemann_c], [Riemann output plugin]) AC_PLUGIN([write_sensu], [yes], [Sensu output plugin]) AC_PLUGIN([write_tsdb], [yes], [TSDB output plugin]) AC_PLUGIN([xmms], [$with_libxmms], [XMMS statistics]) @@ -6123,6 +6150,7 @@ Configuration: oracle . . . . . . . $with_oracle protobuf-c . . . . . $have_protoc_c python . . . . . . . $with_python + riemann-c-client . . $with_riemann_c Features: daemon mode . . . . . $enable_daemon