apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r589519 - /apr/apr/trunk/build/apr_hints.m4
Date Mon, 29 Oct 2007 06:39:55 GMT
Author: pquerna
Date: Sun Oct 28 23:39:54 2007
New Revision: 589519

URL: http://svn.apache.org/viewvc?rev=589519&view=rev
Log:
On 10.5/Leopard, enable KQueue and Poll, since both seem to work correctly, and all test cases
pass.  If people could test their apr_pollset using applications to make sure KQueue support
is solid, that would be very helpful.

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=589519&r1=589518&r2=589519&view=diff
==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Sun Oct 28 23:39:54 2007
@@ -191,14 +191,18 @@
 	APR_ADDTO(CPPFLAGS, [-DRHAPSODY])
 	;;
     *-apple-darwin*)
-	APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp])
-	APR_SETIFNULL(apr_posixsem_is_global, [yes])
-        APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332
-
-        # 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_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[[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
+            ;;
+        esac
 	;;
     *-dec-osf*)
 	APR_ADDTO(CPPFLAGS, [-DOSF1])



Mime
View raw message