apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r782430 - /apr/apr/trunk/build/apr_hints.m4
Date Sun, 07 Jun 2009 19:03:23 GMT
Author: trawick
Date: Sun Jun  7 19:03:22 2009
New Revision: 782430

URL: http://svn.apache.org/viewvc?rev=782430&view=rev
Log:
forward-port part of r781073 from the 1.3.x branch

as in 1.3.x, kqueue() is disabled
poll() use is unchanged
  in my testing, poll() use is okay in 1.4.x and trunk because the wakeup pipe support
  added in 1.4.x has a side-effect of working around OS X poll() bogosity

Modified:
    apr/apr/trunk/build/apr_hints.m4

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_hints.m4?rev=782430&r1=782429&r2=782430&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Sun Jun  7 19:03:22 2009
@@ -194,14 +194,15 @@
     *-apple-darwin*)
         APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp])
         APR_SETIFNULL(apr_posixsem_is_global, [yes])
-        # kqueue works in 10.5/Darwin 9.x. Disable on all older versions.
         case $host in
+            *-apple-darwin*)
+	        # APR's use of kqueue has triggered kernel panics for some
+                # 10.5.x (Darwin 9.x) users when running the entire test suite.
+                # In 10.4.x, use of kqueue would cause the socket tests to hang.
+                APR_SETIFNULL(ac_cv_func_kqueue, [no]) 
+                ;;
             *-apple-darwin[[0-8]].*)
-            # kqueue is broken on OS X, the poll tests work, but the socket tests
-            # hang when it's turned on.  if you decide to reenable this please be
-            # sure to test that ALL the tests continue to work with it turned on.
-            APR_SETIFNULL(ac_cv_func_kqueue, [no]) 
-            APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332
+                APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332
             ;;
         esac
 	;;



Mime
View raw message