]>
Commit | Line | Data |
---|---|---|
32a6c32b JB |
1 | 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 |
2 | --- apache_1.3.17.orig/src/modules/standard/mod_auth_dbm.c Wed Feb 7 23:10:02 2001 | |
3 | +++ apache_1.3.17/src/modules/standard/mod_auth_dbm.c Wed Feb 7 23:14:06 2001 | |
01c05a6c | 4 | @@ -81,7 +81,8 @@ |
5 | #define dbm_fetch sdbm_fetch | |
500394d0 | 6 | #define dbm_close sdbm_close |
01c05a6c | 7 | #else |
8 | -#include <ndbm.h> | |
1862769f JR |
9 | +#define DB_DBM_HSEARCH 1 |
10 | +#include <db.h> | |
1862769f | 11 | #endif |
01c05a6c | 12 | |
13 | /* | |
32a6c32b JB |
14 | diff -Nur apache_1.3.17.orig/src/modules/standard/mod_rewrite.h apache_1.3.17/src/modules/standard/mod_rewrite.h |
15 | --- apache_1.3.17.orig/src/modules/standard/mod_rewrite.h Thu Jan 18 23:31:44 2001 | |
16 | +++ apache_1.3.17/src/modules/standard/mod_rewrite.h Wed Feb 7 23:15:22 2001 | |
01c05a6c | 17 | @@ -130,7 +130,8 @@ |
18 | * so we also need to know the file extension | |
19 | */ | |
d549ed75 | 20 | #ifndef NO_DBM_REWRITEMAP |
01c05a6c | 21 | -#include <ndbm.h> |
d549ed75 AM |
22 | +#define DB_DBM_HSEARCH 1 |
23 | +#include <db.h> | |
01c05a6c | 24 | #if defined(DBM_SUFFIX) |
25 | #define NDBM_FILE_SUFFIX DBM_SUFFIX | |
26 | #elif defined(__FreeBSD__) || (defined(DB_LOCK) && defined(DB_SHMEM)) | |
a6148d70 | 27 | --- apache_1.3.23/src/helpers/find-dbm-lib.orig Tue Jan 22 08:39:15 2002 |
28 | +++ apache_1.3.23/src/helpers/find-dbm-lib Wed Feb 6 21:34:50 2002 | |
29 | @@ -13,7 +13,9 @@ | |
30 | *-linux*) | |
31 | # many systems don't have -ldbm | |
32 | DBM_LIB="" | |
33 | - if ./helpers/TestCompile lib ndbm dbm_open; then | |
34 | + if ./helpers/TestCompile lib db __db_ndbm_open; then | |
35 | + DBM_LIB="-ldb" | |
36 | + elif ./helpers/TestCompile lib ndbm dbm_open; then | |
37 | DBM_LIB="-lndbm" | |
38 | if ./helpers/TestCompile lib db1 dbm_open; then | |
39 | # Red Hat needs this; ndbm.h lives in db1 |