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