You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2001/10/16 11:12:02 UTC

cvs commit: apache-1.3/src/modules/standard mod_auth_db.module

martin      01/10/16 02:12:02

  Modified:    src/modules/standard mod_auth_db.module
  Log:
  Test for -ldb1 and -ldb2 (as found on SuSE-7.2 Linux)
  
  Revision  Changes    Path
  1.9       +6 -0      apache-1.3/src/modules/standard/mod_auth_db.module
  
  Index: mod_auth_db.module
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_auth_db.module,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- mod_auth_db.module	2001/04/11 20:07:42	1.8
  +++ mod_auth_db.module	2001/10/16 09:12:02	1.9
  @@ -12,11 +12,17 @@
       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 <db.h>' INCLUDES1="$INCLUDES1 -I/usr/include/db1" TLIB="-ldb1" \
            helpers/TestCompile func dbm_open; then
           # For Red Hat 7