You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/18 21:14:11 UTC
svn commit: r586092 - /apr/apr-util/branches/1.2.x/include/apu.hw
Author: wrowe
Date: Thu Oct 18 12:14:10 2007
New Revision: 586092
URL: http://svn.apache.org/viewvc?rev=586092&view=rev
Log:
Total violation of versioning; you can't dynamically tickle
these at compile time because it leaves the user clueless
as to how this was built.
Rewrite apu.hw, or apu.h, with correspondingly correct 0/1
values, but rewrite it already if you modify the build!
Modified:
apr/apr-util/branches/1.2.x/include/apu.hw
Modified: apr/apr-util/branches/1.2.x/include/apu.hw
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/include/apu.hw?rev=586092&r1=586091&r2=586092&view=diff
==============================================================================
--- apr/apr-util/branches/1.2.x/include/apu.hw (original)
+++ apr/apr-util/branches/1.2.x/include/apu.hw Thu Oct 18 12:14:10 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 */