Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 15265 invoked from network); 2 Jan 2009 13:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 13:56:22 -0000 Received: (qmail 87180 invoked by uid 500); 2 Jan 2009 13:56:13 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 87123 invoked by uid 500); 2 Jan 2009 13:56:13 -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: To: undisclosed-recipients:; Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 87100 invoked by uid 99); 2 Jan 2009 13:56:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 05:56:13 -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; Fri, 02 Jan 2009 13:56:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 76BED238889E; Fri, 2 Jan 2009 05:55:52 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r730718 - /httpd/httpd/trunk/modules/arch/unix/config5.m4 Date: Fri, 02 Jan 2009 13:55:52 -0000 From: rjung@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090102135552.76BED238889E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rjung Date: Fri Jan 2 05:55:52 2009 New Revision: 730718 URL: http://svn.apache.org/viewvc?rev=730718&view=rev Log: Add a header check for priv.h to mod_privileges. Modified: httpd/httpd/trunk/modules/arch/unix/config5.m4 Modified: httpd/httpd/trunk/modules/arch/unix/config5.m4 URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/arch/unix/config5.m4?rev=730718&r1=730717&r2=730718&view=diff ============================================================================== --- httpd/httpd/trunk/modules/arch/unix/config5.m4 (original) +++ httpd/httpd/trunk/modules/arch/unix/config5.m4 Fri Jan 2 05:55:52 2009 @@ -10,7 +10,13 @@ fi APACHE_MODULE(unixd, unix specific support, , , $unixd_mods_enable) -APACHE_MODULE(privileges, Per-virtualhost Unix UserIDs and enhanced security for Solaris, , , no) +APACHE_MODULE(privileges, Per-virtualhost Unix UserIDs and enhanced security for Solaris, , , no, [ + AC_CHECK_HEADERS(priv.h, [], [ap_HAVE_PRIV_H="no"]) + if test $ap_HAVE_PRIV_H = "no"; then + AC_MSG_WARN([Your system does not support privileges.]) + enable_privileges="no" + fi +]) APACHE_MODPATH_FINISH