[3.0] 479107f All relevant BSD's have a testable kqueue now.

Tollef Fog Heen tfheen at varnish-cache.org
Mon Apr 16 10:20:37 CEST 2012


commit 479107f336268e4e538956d4ae0990e764c4e561
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 2 12:10:57 2012 +0000

    All relevant BSD's have a testable kqueue now.

diff --git a/configure.ac b/configure.ac
index 1938c1f..05397fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -340,16 +340,7 @@ AC_ARG_ENABLE(kqueue,
     [enable_kqueue=yes])
 
 if test "$enable_kqueue" = yes; then
-	case $target in
-	*-*-freebsd* | *-*-darwin9* | *-*-netbsd* )
-		AC_CHECK_FUNCS([kqueue])
-		;;
-	*-*-bsd*)
-		# No other BSD has a sufficiently recent implementation
-		AC_MSG_WARN([won't look for kqueue() on $target])
-		ac_cv_func_kqueue=no
-		;;
-	esac
+	AC_CHECK_FUNCS([kqueue])
 else
 	ac_cv_func_kqueue=no
 fi



More information about the varnish-commit mailing list