summaryrefslogtreecommitdiff
path: root/build/apr_hints.m4
diff options
context:
space:
mode:
Diffstat (limited to 'build/apr_hints.m4')
-rw-r--r--build/apr_hints.m48
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])