You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/07/21 04:15:58 UTC

DB_LIB

Uhhh.

Still getting caught up here, but the following code does not work 
on systems that include db in libc. Is this code "in progress"?


#
# Are they using dbm/db auth? If so, add DBM/DB library.
#
if grep mod_auth_dbm Makefile > /dev/null; then
    LIBS="$LIBS $DBM_LIB"
fi
if grep mod_auth_db Makefile > /dev/null; then
    LIBS="$LIBS $DB_LIB"
fi



Re: DB_LIB

Posted by Dean Gaudet <dg...@arctic.org>.
Easy enough to fix.  Just add DB_LIB="" to each of the bsd44 things.

I'm now thinking it would be way cooler to actually try to link a c
program that included "dbopen()" or "dbmopen()" as appropriate.  If it
fails then try -ldb, etc.  I just learned that glibc-2.x includes the dbm
functions, so I'm having to tweak that patch for linux I just posted.

Dean

On Sun, 20 Jul 1997, Randy Terbush wrote:

> Uhhh.
> 
> Still getting caught up here, but the following code does not work 
> on systems that include db in libc. Is this code "in progress"?
> 
> 
> #
> # Are they using dbm/db auth? If so, add DBM/DB library.
> #
> if grep mod_auth_dbm Makefile > /dev/null; then
>     LIBS="$LIBS $DBM_LIB"
> fi
> if grep mod_auth_db Makefile > /dev/null; then
>     LIBS="$LIBS $DB_LIB"
> fi
> 
> 
>