1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-03 07:29:10 +00:00

Fix iostats configure stuff.

This commit is contained in:
Brenden Matthews 2009-07-20 12:19:07 -06:00
parent 9aeae3419c
commit 42bf8750ac

View File

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