From 6d03e39303af90e10fd8919f4005774e16b95d2f Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Tue, 16 Oct 2001 09:12:02 +0000 Subject: [PATCH] Test for -ldb1 and -ldb2 (as found on SuSE-7.2 Linux) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91487 13f79535-47bb-0310-9956-ffa450edef68 --- src/modules/standard/mod_auth_db.module | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/modules/standard/mod_auth_db.module b/src/modules/standard/mod_auth_db.module index d76be1c434c..d982f021b12 100644 --- a/src/modules/standard/mod_auth_db.module +++ b/src/modules/standard/mod_auth_db.module @@ -12,11 +12,17 @@ ConfigStart elif ./helpers/TestCompile lib db db_open; then DB_VERSION='Berkeley-DB/2.x' DB_LIB='-ldb' + elif ./helpers/TestCompile lib db2 db_open; then + DB_VERSION='Berkeley-DB/2.x' + DB_LIB='-ldb2' elif ./helpers/TestCompile func dbopen; then DB_VERSION='Berkeley-DB/1.x' elif ./helpers/TestCompile lib db dbopen; then DB_VERSION='Berkeley-DB/1.x' DB_LIB='-ldb' + elif ./helpers/TestCompile lib db1 dbopen; then + DB_VERSION='Berkeley-DB/1.x' + DB_LIB='-ldb1' elif TCADDINCL='#include ' INCLUDES1="$INCLUDES1 -I/usr/include/db1" TLIB="-ldb1" \ helpers/TestCompile func dbm_open; then # For Red Hat 7 -- 2.47.2