From 27adc32054d5c395525bf781644693a41701433f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 28 Mar 2007 17:43:57 +0200 Subject: [PATCH] configure.in: Define `HAVE_LIBKSTAT' when the `kstat'-library exists. --- configure.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index 602d0faa..99d7b8d4 100644 --- a/configure.in +++ b/configure.in @@ -618,12 +618,9 @@ then fi if test "x$with_kstat" = "xyes" then - collect_kstat=1 -else - collect_kstat=0 + AC_DEFINE(HAVE_LIBKSTAT, 1, + [Define to 1 if you have the 'kstat' library (-lkstat)]) fi -AC_DEFINE_UNQUOTED(COLLECT_KSTAT, [$collect_kstat], - [Wether or not to use kstat library (Solaris)]) AM_CONDITIONAL(BUILD_WITH_LIBKSTAT, test "x$with_kstat" = "xyes") AM_CONDITIONAL(BUILD_WITH_LIBDEVINFO, test "x$with_devinfo" = "xyes") -- 2.11.0