cleanup on libstatgrab
authorniki <niki>
Fri, 16 Dec 2005 17:05:57 +0000 (17:05 +0000)
committerniki <niki>
Fri, 16 Dec 2005 17:05:57 +0000 (17:05 +0000)
configure.in

index 0c86796..de7cd89 100644 (file)
@@ -262,7 +262,6 @@ AM_CONDITIONAL(BUILD_WITH_KSTAT, test "x$with_kstat" = "xyes")
 
 AC_ARG_WITH(libstatgrab, AC_HELP_STRING([--with-libstatgrab@<:@=PFX@:>@], [Path to libstatgrab.]),
 [
-       # given..
        if test "x$withval" != "xno" && test "x$withval" != "xyes"
        then
                LDFLAGS="$LDFLAGS -L$withval/lib"
@@ -271,12 +270,11 @@ AC_ARG_WITH(libstatgrab, AC_HELP_STRING([--with-libstatgrab@<:@=PFX@:>@], [Path
        fi
 ],
 [
-       # not given..
-       if test "x$ac_system" != "xunknown"
+       if test "x$ac_system" == "xunknown"
        then
-               with_libstatgrab="no"
-       else
                with_libstatgrab="yes"
+       else
+               with_libstatgrab="no"
        fi
 ])
 if test "x$with_libstatgrab" = "xyes"