Commit Diff


commit - 98d3e6c172747dc58042bde09a848d3e03572934
commit + 64d120d0707414598101924d540bb8fd564877ca
blob - 763b2eff7bd6650fd957161b1a5ce145bdb71a34
blob + 1b8b217e9e8a405a617d5c17129080c7f1695007
--- configure.ac
+++ configure.ac
@@ -107,20 +107,6 @@ PKG_CHECK_MODULES([libgrapheme], [libgrapheme], [
 	CFLAGS="-I$srcdir/libgrapheme $CFLAGS"
 ])
 
-case "$host_os" in
-	*openbsd*)
-		AC_SEARCH_LIBS([event_init], [event], [],
-			[AC_MSG_ERROR([requires libevent])])
-		;;
-	*)
-		PKG_CHECK_MODULES([libevent2], [libevent_core >= 2], [
-			AC_DEFINE([HAVE_EVENT2], 1, [1 if using event2])
-			CFLAGS="$libevent2_CFLAGS $CFLAGS"
-			LIBS="$libevent2_LIBS $LIBS"
-		], [AC_MSG_ERROR([requires libevent])])
-		;;
-esac
-
 AS_IF([test "x$with_libimsg" = "xyes"], [
 	PKG_CHECK_MODULES([libimsg], [libimsg], [
 		CFLAGS="$libimsg_CFLAGS $CFLAGS"