build system: Automatically enable the processes and tcpconns plugins.
authorFlorian Forster <octo@huhu.verplant.org>
Tue, 19 Aug 2008 07:47:46 +0000 (09:47 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Tue, 19 Aug 2008 07:47:46 +0000 (09:47 +0200)
configure.in

index 1f2d979..314ad1d 100644 (file)
@@ -1241,6 +1241,7 @@ if test "x$with_kvm_getprocs" = "xyes"
 then
        AC_DEFINE(HAVE_LIBKVM_GETPROCS, 1,
                  [Define to 1 if you have the 'kvm' library with the 'kvm_getprocs' symbol (-lkvm)])
+       with_libkvm="yes"
 fi
 AM_CONDITIONAL(BUILD_WITH_LIBKVM_GETPROCS, test "x$with_kvm_getprocs" = "xyes")
 
@@ -1258,6 +1259,7 @@ if test "x$with_kvm_nlist" = "xyes"
 then
        AC_DEFINE(HAVE_LIBKVM_NLIST, 1,
                  [Define to 1 if you have the 'kvm' library with the 'kvm_nlist' symbol (-lkvm)])
+       with_libkvm="yes"
 fi
 AM_CONDITIONAL(BUILD_WITH_LIBKVM_NLIST, test "x$with_kvm_nlist" = "xyes")
 
@@ -2643,9 +2645,13 @@ then
        plugin_processes="yes"
 fi
 
-if test "x$with_kvm_getswapinfo" = "xyes"
+if test "x$with_kvm_getprocs" = "xyes"
 then
        plugin_processes="yes"
+fi
+
+if test "x$with_kvm_getswapinfo" = "xyes"
+then
        plugin_swap="yes"
 fi