[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 18:11:35 CET

> From: news [mailto:news@sea.gmane.org]On Behalf Of Russell Yanofsky
> Sent: Friday, October 31, 2003 6:03 PM

> Sander Striker wrote:
> > ...
> > 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.
> Um, wouldn't always saying #include <db.h> *be* a better solution?
> It seems a little strange to include an absolute path in a header file.

It's not an absolute path.

> What's wrong with using -I? You'd just need to change the svn configure
> script to use the output of "apu-config --includes"

Take a look at the apr-util configury stuff and you'll probably spot
the problem.

Basically it comes down to: db.h can be installed in a subdir of a default
include path (like db4/db.h).

Patches welcome if this is not graceful enough.


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