configure.in: Define `HAVE_LIBKSTAT' when the `kstat'-library exists.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 28 Mar 2007 15:43:57 +0000 (17:43 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Wed, 28 Mar 2007 15:43:57 +0000 (17:43 +0200)
configure.in

index 602d0fa..99d7b8d 100644 (file)
@@ -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")