From 080df026f8866a8588ef2628ef4da0671e15903e Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 10 Feb 2007 10:39:50 +0100 Subject: [PATCH] configure.in: Don't link all objects with `libkstat' and `libdevinfo'. --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.30.2