apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r586087 - /apr/apr-util/trunk/include/apu.hw
Date Thu, 18 Oct 2007 19:09:05 GMT
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 */



Mime
View raw message