summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97b5f7f)
raw | patch | inline | side by side (parent: 97b5f7f)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 8 Apr 2010 19:50:21 +0000 (21:50 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 8 Apr 2010 19:50:21 +0000 (21:50 +0200) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 92917d34b2799c233f784565c28078be094f72e6..c15cbceaad8ad1a76c8f897ae64c7c21cbedec78 100644 (file)
--- a/configure.in
+++ b/configure.in
AC_PROG_YACC
PKG_PROG_PKG_CONFIG
+AC_CHECK_PROG([HAVE_PROTOC_C], [protoc-c], [yes], [no])
+
AC_MSG_CHECKING([for kernel type ($host_os)])
case $host_os in
*linux*)
plugin_vserver="no"
plugin_wireless="no"
plugin_zfs_arc="no"
-plugin_pinba="no"
# Linux
if test "x$ac_system" = "xLinux"
AC_PLUGIN([openvpn], [yes], [OpenVPN client statistics])
AC_PLUGIN([oracle], [$with_oracle], [Oracle plugin])
AC_PLUGIN([perl], [$plugin_perl], [Embed a Perl interpreter])
+# FIXME: Check for libevent, too.
+AC_PLUGIN([pinba], [$HAVE_PROTOC_C], [Pinba statistics])
AC_PLUGIN([ping], [$with_liboping], [Network latency statistics])
AC_PLUGIN([postgresql], [$with_libpq], [PostgreSQL database statistics])
AC_PLUGIN([powerdns], [yes], [PowerDNS statistics])
AC_PLUGIN([write_http], [$with_libcurl], [HTTP output plugin])
AC_PLUGIN([xmms], [$with_libxmms], [XMMS statistics])
AC_PLUGIN([zfs_arc], [$plugin_zfs_arc], [ZFS ARC statistics])
-AC_PLUGIN([pinba], [$plugin_pinba], [Pinba PHP statistics])
dnl Default configuration file
# Load either syslog or logfile
libxmms . . . . . . . $with_libxmms
libyajl . . . . . . . $with_libyajl
libevent . . . . . . $with_libevent
- protobuf-c . . . . . $with_protobuf_c
+ protobuf-c . . . . . $HAVE_PROTOC_C
oracle . . . . . . . $with_oracle
python . . . . . . . $with_python
openvpn . . . . . . . $enable_openvpn
oracle . . . . . . . $enable_oracle
perl . . . . . . . . $enable_perl
- ping . . . . . . . . $enable_ping
pinba . . . . . . . . $enable_pinba
+ ping . . . . . . . . $enable_ping
postgresql . . . . . $enable_postgresql
powerdns . . . . . . $enable_powerdns
processes . . . . . . $enable_processes