[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 16:14:05 CET

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

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.

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 16:14:44 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.