$OpenBSD: patch-configure,v 1.5 2004/02/22 05:33:53 marcm Exp $
--- configure.orig	2004-01-15 07:44:50.000000000 -0800
+++ configure	2004-02-20 22:26:32.000000000 -0800
@@ -23453,7 +23453,7 @@ fi
 
 	;;
   # list of supported OS cores
-  *-*-linux*|*-*-freebsd*|*-*-openbsd*)
+  *-*-linux*|*-*-freebsd*)
 	echo "$as_me:$LINENO: checking for apm_read in -lapm" >&5
 echo $ECHO_N "checking for apm_read in -lapm... $ECHO_C" >&6
 if test "${ac_cv_lib_apm_apm_read+set}" = set; then
@@ -23535,6 +23535,16 @@ else
 fi
 
 	;;
+  *-*-openbsd*)
+	case $host_cpu in
+	  i386 | powerpc)
+	  build_battstat_applet=yes
+	  ;;
+	*)
+	  build_battstat_applet=no
+	  ;;
+	esac
+	;;
   *)
 	echo "warning: ${host} is not supported by battstat_applet, not building" >&2
 	build_battstat_applet=no
