]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Help RedHat 7 find db1 lib
authorMartin Kraemer <martin@apache.org>
Wed, 11 Apr 2001 20:07:42 +0000 (20:07 +0000)
committerMartin Kraemer <martin@apache.org>
Wed, 11 Apr 2001 20:07:42 +0000 (20:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@88812 13f79535-47bb-0310-9956-ffa450edef68

src/modules/standard/mod_auth_db.module

index 4636763b2a76f75ac9900d57ec8c3912deeb3a05..d76be1c434c19e893d02dfb4b271a5b4c90b38c9 100644 (file)
@@ -17,6 +17,12 @@ ConfigStart
     elif ./helpers/TestCompile lib db dbopen; then
         DB_VERSION='Berkeley-DB/1.x'
         DB_LIB='-ldb'
+    elif TCADDINCL='#include <db.h>' INCLUDES1="$INCLUDES1 -I/usr/include/db1" TLIB="-ldb1" \
+         helpers/TestCompile func dbm_open; then
+        # For Red Hat 7
+        DB_VERSION='Berkeley-DB/1.x'
+        DB_LIB='-ldb1'
+        CFLAGS="$CFLAGS -I/usr/include/db1"
     fi
     if [ ".$DB_VERSION" != . ]; then
         if [ ".$DB_LIB" != . ]; then