From be35b26b1591f02002146273280e5478c492f428 Mon Sep 17 00:00:00 2001 From: pquerna Date: Thu, 26 May 2005 16:58:46 +0000 Subject: Backport r178650 from trunk, disable poll only on Mac OS X < 10.4. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.1.x@178652 13f79535-47bb-0310-9956-ffa450edef68 --- build/apr_hints.m4 | 8 ++++++-- 1 file 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]) -- cgit v1.2.1