[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: Sander Striker <striker_at_apache.org>
Date: 2003-10-31 14:55:56 CET

> From: Branko Cibej [mailto:brane@xbc.nu]
> Sent: Friday, October 31, 2003 12:01 AM

> 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.

I applied your patch to apr-util (APU_0_9_BRANCH and HEAD), and
together with rev 7586 I was able to successfully compile on windowws.
You should be a happy camper again today ;)

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 14:56:46 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.