diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-07 19:03:22 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-07 19:03:22 +0000 |
commit | e9e3c3d66b00fde0e265a769fc6dfb67919e1033 (patch) | |
tree | 23f5a53d4472041a4801df08acb8ae4528059b7f /build | |
parent | 741a8dcbf37de68995549487d76278812bc400c8 (diff) | |
download | libapr-e9e3c3d66b00fde0e265a769fc6dfb67919e1033.tar.gz |
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
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@782430 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_hints.m4 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 626e22e37..3b2ba48c4 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -194,14 +194,15 @@ dnl # Not a problem in 10.20. Otherwise, who knows? *-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 ;; |