From: Nikos Ntarmos Date: Sun, 5 Dec 2010 03:57:37 +0000 (+0200) Subject: apcupsd and iostats work on FreeBSD X-Git-Url: https://vcs.maemo.org/git/?p=monky;a=commitdiff_plain;h=792da5a7db6e0d09f66a768a1fb70a8a7b8f3d95 apcupsd and iostats work on FreeBSD Signed-off-by: Nikos Ntarmos Signed-off-by: Pavel Labath --- 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