[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r178650 - /apr/apr/trunk/build/apr_hints.m4
From:       pquerna () apache ! org
Date:       2005-05-26 16:52:57
Message-ID: 20050526165258.80652.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: pquerna
Date: Thu May 26 09:52:56 2005
New Revision: 178650

URL: http://svn.apache.org/viewcvs?rev=178650&view=rev
Log:
Disable poll() only on Mac OS X < 10.4.  Before 10.4, poll was emulated using select, \
and if it is bound by the limits of select, we want to use select ourselves.

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

Modified: apr/apr/trunk/build/apr_hints.m4
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/build/apr_hints.m4?rev=178650&r1=178649&r2=178650&view=diff
 ==============================================================================
--- apr/apr/trunk/build/apr_hints.m4 (original)
+++ apr/apr/trunk/build/apr_hints.m4 Thu May 26 09:52:56 2005
@@ -189,8 +189,12 @@
     *-apple-darwin*)
 	APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp])
 	APR_SETIFNULL(apr_posixsem_is_global, [yes])
-        # http://issues.apache.org/bugzilla/show_bug.cgi?id=34332
-        APR_SETIFNULL(ac_cv_func_poll, [no])
+        case $host in
+            *-apple-darwin[[0-7]]*)
+                # http://issues.apache.org/bugzilla/show_bug.cgi?id=34332
+                APR_SETIFNULL(ac_cv_func_poll, [no])
+                ;;
+        esac
 	;;
     *-dec-osf*)
 	APR_ADDTO(CPPFLAGS, [-DOSF1])


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic