[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 16:28:53 CET

Sander Striker wrote:

>>From: Branko Cibej [mailto:brane@xbc.nu]
>>Sent: Friday, October 31, 2003 4:09 PM
>>
>>
>
>
>
>>>You're not making any sense. Replacing the APU_WANT_DB statements with
>>>#include statements in the FS library has absolutely nothing to do with
>>>finding bdb.
>>>
>>>
>>Hm. You have a point there.
>>
>>
>>
>>>AFAICT, this would fix the problem and break nothing. What am I missing?
>>>
>>>
>>Sander, any opinition on this?
>>
>>
>
>Yes, it would break.
>
>
>
>>I'm beginning to get the feeling that
>>apu_want.h is a bad idea in itself. apr_want.h is a different matter,
>>because it hides platform differences. But apu_want.h only does a
>>conditional include of db.h, which seems like nonsense to me, given that
>>apr-util wraps the dbm implementation in its own API anyway.
>>
>>
>
>Look at what it does on unix. The include path is filled in by
>configure. That's why we use APU_WANT_.
>
>
Aha. So apu_want.h is modified by the configury on Unix. hmmm.

>If it was always #include <db.h> then yah, that would be a point.
>
>I'm open to suggestions for better solutions, but for now, this works.
>
>
I think I'll look into writing a Perl script that will modify
apu_want.h, apu.hw, and the .dsp files, so that Windows users can link
apr-util with BDB and incidentally make things work for Subversion. I
know this is a hack, but it's a first step towards at least partual
confguratbility of the apr(-util) Win32 build.

Unfortunately, I don't have enough time to port gen-make to APR a just
now, sigh... volunteers welcome. :-)

-- 
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 16:29:40 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.