[master] a4e2d47 All relevant BSD's have a testable kqueue now.

Poul-Henning Kamp phk at varnish-cache.org
Mon Jan 2 13:11:09 CET 2012


commit a4e2d478d5d8bab31a654248b9509c84adc9f1f1
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 8404de4..01eac28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,16 +334,7 @@ AC_ARG_ENABLE(kqueue,
     [enable_kqueue=yes])
 
 if test "$enable_kqueue" = yes; then
-	case $target in
-	*-*-freebsd* | *-*-darwin9* | *-*-darwin11* | *-*-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