Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 46937 invoked from network); 3 Jan 2009 16:13:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2009 16:13:18 -0000 Received: (qmail 50862 invoked by uid 500); 3 Jan 2009 16:13:18 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 50807 invoked by uid 500); 3 Jan 2009 16:13:18 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 50798 invoked by uid 99); 3 Jan 2009 16:13:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 08:13:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jan 2009 16:13:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 801AE238899B; Sat, 3 Jan 2009 08:12:55 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r731009 - /httpd/httpd/trunk/modules/session/config.m4 Date: Sat, 03 Jan 2009 16:12:55 -0000 To: cvs@httpd.apache.org From: rjung@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090103161255.801AE238899B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rjung Date: Sat Jan 3 08:12:55 2009 New Revision: 731009 URL: http://svn.apache.org/viewvc?rev=731009&view=rev Log: Allow feature test for apr_ssl.h to succeed: Add necessary search paths temporarily to CPPFLAGS. Addition to r730717. When switching to another header, no need to again rename the ap_HAVE_APR_CRYPTO variable. Modified: httpd/httpd/trunk/modules/session/config.m4 Modified: httpd/httpd/trunk/modules/session/config.m4 URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/config.m4?rev=731009&r1=731008&r2=731009&view=diff ============================================================================== --- httpd/httpd/trunk/modules/session/config.m4 (original) +++ httpd/httpd/trunk/modules/session/config.m4 Sat Jan 3 08:12:55 2009 @@ -18,8 +18,11 @@ APACHE_MODULE(session, session module, , , most) APACHE_MODULE(session_cookie, session cookie module, , , $session_mods_enable) APACHE_MODULE(session_crypto, session crypto module, , , no, [ - AC_CHECK_HEADERS(apr_ssl.h, [ap_HAVE_APR_SSL_H="yes"], [ap_HAVE_APR_SSL_H="no"]) - if test $ap_HAVE_APR_SSL_H = "no"; then + saved_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS -I$APR_INCLUDEDIR -I$APU_INCLUDEDIR" + AC_CHECK_HEADERS(apr_crypto.h, [ap_HAVE_APR_CRYPTO="yes"], [ap_HAVE_APR_CRYPTO="no"]) + CPPFLAGS="$saved_CPPFLAGS" + if test $ap_HAVE_APR_CRYPTO = "no"; then AC_MSG_WARN([Your APR does not include SSL/EVP support.]) enable_session_crypto="no" fi