mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
Fix iostats configure stuff.
This commit is contained in:
parent
38015c6600
commit
ec4e9a0435
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user