From: Florian Forster Date: Sat, 10 Feb 2007 09:39:50 +0000 (+0100) Subject: configure.in: Don't link all objects with `libkstat' and `libdevinfo'. X-Git-Tag: collectd-3.11.1~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=080df026f8866a8588ef2628ef4da0671e15903e;p=collectd.git configure.in: Don't link all objects with `libkstat' and `libdevinfo'. --- diff --git a/configure.in b/configure.in index 1b0a91fa..e30aaa97 100644 --- a/configure.in +++ b/configure.in @@ -609,11 +609,11 @@ fi if test "x$with_kstat" = "xyes" then - AC_CHECK_LIB(kstat, kstat_open,, [with_kstat="no (libkstat not found)"]) + AC_CHECK_LIB(kstat, kstat_open, [with_kstat="yes"], [with_kstat="no (libkstat not found)"], []) fi if test "x$with_kstat" = "xyes" then - AC_CHECK_LIB(devinfo, di_init,, [with_devinfo="no (not found)"]) + AC_CHECK_LIB(devinfo, di_init, [with_devinfo="yes"], [with_devinfo="no (not found)"], []) AC_CHECK_HEADERS(kstat.h,, [with_kstat="no (kstat.h not found)"]) fi if test "x$with_kstat" = "xyes"