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/04/11 22:07:43 UTC

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

martin      01/04/11 13:07:43

  Modified:    src/modules/standard mod_auth_db.module
  Log:
  Help RedHat 7 find db1 lib
  
  Revision  Changes    Path
  1.8       +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.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- mod_auth_db.module	1999/11/28 14:01:05	1.7
  +++ mod_auth_db.module	2001/04/11 20:07:42	1.8
  @@ -17,6 +17,12 @@
       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