From: Florian Forster Date: Wed, 28 Mar 2007 15:43:57 +0000 (+0200) Subject: configure.in: Define `HAVE_LIBKSTAT' when the `kstat'-library exists. X-Git-Tag: collectd-3.11.3~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=27adc32054d5c395525bf781644693a41701433f;p=collectd.git configure.in: Define `HAVE_LIBKSTAT' when the `kstat'-library exists. --- 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")