You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/12/13 00:24:05 UTC
cvs commit: apache-1.3/src/helpers find-dbm-lib
gstein 00/12/12 15:24:04
Modified: src/helpers find-dbm-lib
Log:
Patch from Joe to fix mod_auth_dbm building on RedHat 7.
Submitted by: Joe Orton <jo...@redhat.com>
Message-ID: <Pi...@ecstasy.localnet>
Revision Changes Path
1.10 +4 -0 apache-1.3/src/helpers/find-dbm-lib
Index: find-dbm-lib
===================================================================
RCS file: /home/cvs/apache-1.3/src/helpers/find-dbm-lib,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -u -r1.9 -r1.10
--- find-dbm-lib 1999/08/10 12:15:53 1.9
+++ find-dbm-lib 2000/12/12 23:24:03 1.10
@@ -17,6 +17,10 @@
DBM_LIB="-ldbm"
elif ./helpers/TestCompile lib ndbm dbm_open; then
DBM_LIB="-lndbm"
+ elif ./helpers/TestCompile lib db1 dbm_open; then
+ # For Red Hat 7
+ DBM_LIB="-ldb1"
+ CFLAGS="$CFLAGS -I/usr/include/db1"
fi
if [ "x$DBM_LIB" != "x" ]; then
LIBS="$LIBS $DBM_LIB"