[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Seruious problems with APU_WANT_DB

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-10-31 00:00:41 CET

Hm, I just had a thought. We're not really using apr-util's DB
functions, so it's all right if they use sdbm instead of BDB. We're only
using the APU_WANT mechanism to include db.h in _our_ code, and our
generated project files _do_ know where to find that file.

So how about this:

--- apu.hw.~1.14.~ 2003-10-30 23:15:17.000000000 +0100
+++ apu.hw 2003-10-30 23:58:50.000000000 +0100
@@ -144,7 +144,10 @@
  */
 #define APU_HAVE_SDBM 1
 #define APU_HAVE_GDBM 0
+
+#ifndef APU_HAVE_DB
 #define APU_HAVE_DB 0
+#endif
 
 

Then we define APU_HAVE_DB to 1 in our project files, and things will
Just Work.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 00:01:19 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.