From 792da5a7db6e0d09f66a768a1fb70a8a7b8f3d95 Mon Sep 17 00:00:00 2001 From: Nikos Ntarmos Date: Sun, 5 Dec 2010 05:57:37 +0200 Subject: [PATCH] apcupsd and iostats work on FreeBSD Signed-off-by: Nikos Ntarmos Signed-off-by: Pavel Labath --- configure.ac.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac.in b/configure.ac.in index 0e1051c..2f2529c 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -238,7 +238,7 @@ AC_ARG_ENABLE([apcupsd], [want_apcupsd="$enableval"], [want_apcupsd=yes]) 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]) want_apcupsd="not supported on $uname" else @@ -258,7 +258,7 @@ AC_ARG_ENABLE([iostats], [want_iostats="$enableval"], [want_iostats=yes]) 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]) want_iostats="not supported on $uname" else -- 1.7.9.5