Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 43847 invoked from network); 18 Oct 2007 19:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2007 19:09:33 -0000 Received: (qmail 71545 invoked by uid 500); 18 Oct 2007 19:09:14 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 71511 invoked by uid 500); 18 Oct 2007 19:09:14 -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 71499 invoked by uid 99); 18 Oct 2007 19:09:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2007 12:09:14 -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; Thu, 18 Oct 2007 19:09:26 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D86C21A9832; Thu, 18 Oct 2007 12:09:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r586087 - /apr/apr-util/trunk/include/apu.hw Date: Thu, 18 Oct 2007 19:09:05 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071018190905.D86C21A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Thu Oct 18 12:09:04 2007 New Revision: 586087 URL: http://svn.apache.org/viewvc?rev=586087&view=rev Log: HUGE violation of best practices, when you install a header it's a stamp of what facilities were provided. Using local defines redenders this information WORTHLESS. Update apu.h with true values, folks. Modified: apr/apr-util/trunk/include/apu.hw Modified: apr/apr-util/trunk/include/apu.hw URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apu.hw?rev=586087&r1=586086&r2=586087&view=diff ============================================================================== --- apr/apr-util/trunk/include/apu.hw (original) +++ apr/apr-util/trunk/include/apu.hw Thu Oct 18 12:09:04 2007 @@ -87,27 +87,23 @@ * we always have SDBM (it's in our codebase) */ #define APU_HAVE_SDBM 1 +#define APU_HAVE_NDBM 0 #define APU_HAVE_GDBM 0 - -/* Allow external override */ -#if !defined(APU_HAVE_DB) #define APU_HAVE_DB 0 + +#if APU_HAVE_DB +#define APU_HAVE_DB_VERSION UNKNOWN #endif +#define APU_HAVE_PGSQL 0 +#define APU_HAVE_MYSQL 0 +#define APU_HAVE_SQLITE2 0 +#define APU_HAVE_SQLITE3 0 +#define APU_HAVE_ORACLE 0 #define APU_HAVE_APR_ICONV 1 #define APU_HAVE_ICONV 0 #define APR_HAS_XLATE (APU_HAVE_APR_ICONV || APU_HAVE_ICONV) - -#if !defined(APU_HAVE_PGSQL) -#define APU_HAVE_PGSQL 0 -#endif -#if !defined(APU_HAVE_SQLITE2) -#define APU_HAVE_SQLITE2 0 -#endif -#if !defined(APU_HAVE_SQLITE3) -#define APU_HAVE_SQLITE3 0 -#endif #endif /* APU_H */ #endif /* WIN32 */