-diff -Nur apache_1.3.17.orig/src/helpers/find-dbm-lib apache_1.3.17/src/helpers/find-dbm-lib
---- apache_1.3.17.orig/src/helpers/find-dbm-lib Wed Dec 13 00:24:03 2000
-+++ apache_1.3.17/src/helpers/find-dbm-lib Wed Feb 7 23:17:03 2001
-@@ -15,6 +15,8 @@
- DBM_LIB=""
- if ./helpers/TestCompile lib dbm dbm_open; then
- DBM_LIB="-ldbm"
-+ elif ./helpers/TestCompile lib db __db_ndbm_open; then
-+ DBM_LIB="-ldb"
- elif ./helpers/TestCompile lib ndbm dbm_open; then
- DBM_LIB="-lndbm"
- if ./helpers/TestCompile lib db1 dbm_open; then
diff -Nur apache_1.3.17.orig/src/modules/standard/mod_auth_dbm.c apache_1.3.17/src/modules/standard/mod_auth_dbm.c
--- apache_1.3.17.orig/src/modules/standard/mod_auth_dbm.c Wed Feb 7 23:10:02 2001
+++ apache_1.3.17/src/modules/standard/mod_auth_dbm.c Wed Feb 7 23:14:06 2001
#if defined(DBM_SUFFIX)
#define NDBM_FILE_SUFFIX DBM_SUFFIX
#elif defined(__FreeBSD__) || (defined(DB_LOCK) && defined(DB_SHMEM))
+--- apache_1.3.23/src/helpers/find-dbm-lib.orig Tue Jan 22 08:39:15 2002
++++ apache_1.3.23/src/helpers/find-dbm-lib Wed Feb 6 21:34:50 2002
+@@ -13,7 +13,9 @@
+ *-linux*)
+ # many systems don't have -ldbm
+ DBM_LIB=""
+- if ./helpers/TestCompile lib ndbm dbm_open; then
++ if ./helpers/TestCompile lib db __db_ndbm_open; then
++ DBM_LIB="-ldb"
++ elif ./helpers/TestCompile lib ndbm dbm_open; then
+ DBM_LIB="-lndbm"
+ if ./helpers/TestCompile lib db1 dbm_open; then
+ # Red Hat needs this; ndbm.h lives in db1