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