Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 16167 invoked from network); 18 Feb 2011 21:27:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 21:27:37 -0000 Received: (qmail 49220 invoked by uid 500); 18 Feb 2011 21:27:37 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 49019 invoked by uid 500); 18 Feb 2011 21:27:36 -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 49012 invoked by uid 99); 18 Feb 2011 21:27:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 21:27:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Fri, 18 Feb 2011 21:27:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 48C70238890B; Fri, 18 Feb 2011 21:27:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1072155 - /httpd/httpd/trunk/modules/session/config.m4 Date: Fri, 18 Feb 2011 21:27:13 -0000 To: cvs@httpd.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110218212713.48C70238890B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sf Date: Fri Feb 18 21:27:12 2011 New Revision: 1072155 URL: http://svn.apache.org/viewvc?rev=1072155&view=rev Log: Actually check for APU_HAVE_CRYPTO at configure time. This fixes a compile error with apr 2 if crypto is disabled. 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=1072155&r1=1072154&r2=1072155&view=diff ============================================================================== --- httpd/httpd/trunk/modules/session/config.m4 (original) +++ httpd/httpd/trunk/modules/session/config.m4 Fri Feb 18 21:27:12 2011 @@ -34,7 +34,11 @@ APACHE_MODULE(session_cookie, session co APACHE_MODULE(session_crypto, session crypto module, $session_crypto_objects, , no, [ saved_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $APR_INCLUDES $APU_INCLUDES" - AC_CHECK_HEADERS(apr_crypto.h, [ap_HAVE_APR_CRYPTO="yes"], [ap_HAVE_APR_CRYPTO="no"]) + AC_TRY_COMPILE([#include ],[ +#if APU_HAVE_CRYPTO == 0 +#error no crypto support +#endif +], [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.])