You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Martin Kraemer <Ma...@Fujitsu-Siemens.com> on 2002/08/29 17:52:27 UTC
[PATCH] 1.3: Add support for Berkeley DB4 to mod_auth_db
This is a) a quick hack to mod_auth_db.c to enable libdb4, and
b) a rewrite of mod_auth_db.module to make it easier to locate
the libdb libraries. The latter is a table driven approach which tries
to take advantage of libdb-{n} libs ({n}={2,3,4}) if found.
The patch tries to fall back to the old individual tests if the table
driven algorithm fails, so should not have a negative impact (except on
running time).
Feedback welcome. Without the patch (at least without the 1st part)
Apache-1.3 fails to compile mod_auth_db on Solaris with libdb4 installed.
Martin
--
<Ma...@Fujitsu-Siemens.com> | Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-47655 | 81730 Munich, Germany
Re: [PATCH] 1.3: Add support for Berkeley DB4 to mod_auth_db
Posted by Jeff Trawick <tr...@attglobal.net>.
Martin Kraemer <Ma...@Fujitsu-Siemens.com> writes:
> This is a) a quick hack to mod_auth_db.c to enable libdb4, and
> b) a rewrite of mod_auth_db.module to make it easier to locate
> the libdb libraries. The latter is a table driven approach which tries
> to take advantage of libdb-{n} libs ({n}={2,3,4}) if found.
> The patch tries to fall back to the old individual tests if the table
> driven algorithm fails, so should not have a negative impact (except on
> running time).
>
> Feedback welcome. Without the patch (at least without the 1st part)
> Apache-1.3 fails to compile mod_auth_db on Solaris with libdb4 installed.
I'm definitely +1 concept and +1 on the changes to mod_auth_db.c. I
haven't spent the time to understand the configure changes.
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...