Fix iostats configure stuff.
authorBrenden Matthews <brenden@rty.ca>
Mon, 20 Jul 2009 18:19:07 +0000 (12:19 -0600)
committerBrenden Matthews <brenden@rty.ca>
Mon, 20 Jul 2009 18:19:07 +0000 (12:19 -0600)
configure.ac.in

index 4510153..2a28d13 100644 (file)
@@ -238,13 +238,13 @@ dnl
 
 AC_ARG_ENABLE([iostats],
               AC_HELP_STRING([--enable-iostats],
-                             [enable if you want support for per-task I/O statistics @<:@default=no@:>@]),
-              [want_iostats="$enableval"], [want_iostats=no])
+                             [enable if you want support for per-task I/O statistics @<:@default=yes@:>@]),
+              [want_iostats="$enableval"], [want_iostats=yes])
 
 if test x$want_iostats = xyes; then
   if test x"$uname" != xLinux; then
       AC_MSG_NOTICE([iostats not supported on $uname... disabling])
-      want_apcupsd=no
+      want_iostats=no
   else
       AC_DEFINE(IOSTATS, 1, [Define if you want support for per-task I/O statistics])
   fi