apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: Purpose of defined APU_HAVE_XXX-DBD in apu.h for dso build
Date Thu, 13 Nov 2008 04:58:34 GMT
Bojan Smojver wrote:
> If you don't define those things, your drivers will contain nothing. We
> have code like this:
> <sqlite3 driver code>
> #endif
> What did you have in mind?

Well, any #define in apu.h should state
with what option it _HAS/_HAVE compiled in.
In case the sqlite3 was compiled statically the
define makes perfect sense, cause apu depends
on libsqlite3. In case of module it means nothing
cause particular dbd driver support is
determined at run-time by successful loading
of module driver.


View raw message