From commits-return-9086-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Mon Oct 29 06:40:19 2007 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 60960 invoked from network); 29 Oct 2007 06:40:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2007 06:40:19 -0000 Received: (qmail 92602 invoked by uid 500); 29 Oct 2007 06:40:06 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 92589 invoked by uid 500); 29 Oct 2007 06:40:06 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 92578 invoked by uid 99); 29 Oct 2007 06:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 23:40:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2007 06:40:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 7BFD01A9832; Sun, 28 Oct 2007 23:39:55 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r589519 - /apr/apr/trunk/build/apr_hints.m4 Date: Mon, 29 Oct 2007 06:39:55 -0000 To: commits@apr.apache.org From: pquerna@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071029063955.7BFD01A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pquerna Date: Sun Oct 28 23:39:54 2007 New Revision: 589519 URL: http://svn.apache.org/viewvc?rev=589519&view=rev Log: On 10.5/Leopard, enable KQueue and Poll, since both seem to work correctly, and all test cases pass. If people could test their apr_pollset using applications to make sure KQueue support is solid, that would be very helpful. Modified: apr/apr/trunk/build/apr_hints.m4 Modified: apr/apr/trunk/build/apr_hints.m4 URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/apr_hints.m4?rev=589519&r1=589518&r2=589519&view=diff ============================================================================== --- apr/apr/trunk/build/apr_hints.m4 (original) +++ apr/apr/trunk/build/apr_hints.m4 Sun Oct 28 23:39:54 2007 @@ -191,14 +191,18 @@ APR_ADDTO(CPPFLAGS, [-DRHAPSODY]) ;; *-apple-darwin*) - APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp]) - APR_SETIFNULL(apr_posixsem_is_global, [yes]) - APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332 - - # kqueue is broken on OS X, the poll tests work, but the socket tests - # hang when it's turned on. if you decide to reenable this please be - # sure to test that ALL the tests continue to work with it turned on. - APR_SETIFNULL(ac_cv_func_kqueue, [no]) + APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp]) + APR_SETIFNULL(apr_posixsem_is_global, [yes]) + # kqueue works in 10.5/Darwin 9.x. Disable on all older versions. + case $host in + *-apple-darwin[[0-8]].*) + # kqueue is broken on OS X, the poll tests work, but the socket tests + # hang when it's turned on. if you decide to reenable this please be + # sure to test that ALL the tests continue to work with it turned on. + APR_SETIFNULL(ac_cv_func_kqueue, [no]) + APR_SETIFNULL(ac_cv_func_poll, [no]) # See issue 34332 + ;; + esac ;; *-dec-osf*) APR_ADDTO(CPPFLAGS, [-DOSF1])