diff options
author | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2005-05-26 16:52:56 +0000 |
---|---|---|
committer | pquerna <pquerna@13f79535-47bb-0310-9956-ffa450edef68> | 2005-05-26 16:52:56 +0000 |
commit | 2d77db0d1a5dd72a82b96e286841c2b71161af78 (patch) | |
tree | 563c33d6d2b2e1e5f81a5d9dae6b16ada96b7ff8 | |
parent | 561bf2645fb3b98c948136821d4370d085fa0176 (diff) | |
download | libapr-2d77db0d1a5dd72a82b96e286841c2b71161af78.tar.gz |
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.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@178650 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/apr_hints.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 1f304f160..dcac6bced 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -189,8 +189,12 @@ 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]) - # 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]) |