You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by pq...@apache.org on 2005/05/26 19:23:03 UTC

svn commit: r178654 - /apr/apr/branches/0.9.x/build/apr_hints.m4

Author: pquerna
Date: Thu May 26 10:23:02 2005
New Revision: 178654

URL: http://svn.apache.org/viewcvs?rev=178654&view=rev
Log:
Backport r178650 from trunk, disable poll only on Mac OS X < 10.4.

Modified:
    apr/apr/branches/0.9.x/build/apr_hints.m4

Modified: apr/apr/branches/0.9.x/build/apr_hints.m4
URL: http://svn.apache.org/viewcvs/apr/apr/branches/0.9.x/build/apr_hints.m4?rev=178654&r1=178653&r2=178654&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/build/apr_hints.m4 (original)
+++ apr/apr/branches/0.9.x/build/apr_hints.m4 Thu May 26 10:23:02 2005
@@ -164,8 +164,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])