1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-27 12:42:41 +00:00

apcupsd and iostats work on FreeBSD

Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Pavel Labath <pavelo@centrum.sk>
This commit is contained in:
Nikos Ntarmos 2010-12-05 05:57:37 +02:00 committed by Pavel Labath
parent 33565ef0d6
commit 792da5a7db

View File

@ -238,7 +238,7 @@ AC_ARG_ENABLE([apcupsd],
[want_apcupsd="$enableval"], [want_apcupsd=yes]) [want_apcupsd="$enableval"], [want_apcupsd=yes])
if test x$want_apcupsd = xyes; then if test x$want_apcupsd = xyes; then
if test x"$uname" != xLinux; then if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
AC_MSG_NOTICE([apcupsd not supported on $uname... disabling]) AC_MSG_NOTICE([apcupsd not supported on $uname... disabling])
want_apcupsd="not supported on $uname" want_apcupsd="not supported on $uname"
else else
@ -258,7 +258,7 @@ AC_ARG_ENABLE([iostats],
[want_iostats="$enableval"], [want_iostats=yes]) [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 -a x"$uname" != xFreeBSD; then
AC_MSG_NOTICE([iostats not supported on $uname... disabling]) AC_MSG_NOTICE([iostats not supported on $uname... disabling])
want_iostats="not supported on $uname" want_iostats="not supported on $uname"
else else