httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: httpd-2.0/modules/aaa config.m4
Date Mon, 20 Aug 2001 07:00:23 GMT
martin      01/08/20 00:00:23

  Modified:    modules/aaa config.m4
  Log:
  On modern systems (e.g., FreeBSD), the db* functions reside in libc
  rather than in libdb. Also, be more precise in telling what is actually
  checked for (we are NOT testing for main(), but we are testing for dbopen(),
  right?).
  Without the first fix, configuration would fail completely for FreeBSD
  
  Revision  Changes    Path
  1.45      +4 -1      httpd-2.0/modules/aaa/config.m4
  
  Index: config.m4
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/config.m4,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- config.m4	2001/08/18 16:52:02	1.44
  +++ config.m4	2001/08/20 07:00:23	1.45
  @@ -11,7 +11,10 @@
   
   APACHE_MODULE(auth_db, DB-based access databases, , , , [
     AC_CHECK_HEADERS(db.h,,enable_auth_db=no)
  -  AC_CHECK_LIB(db,main,,enable_auth_db=no)
  +  AC_CHECK_LIB(c,dbopen,,enable_auth_db=yes)
  +  if test x"$enable_auth_db" = x"no"; then
  +    AC_CHECK_LIB(db,dbopen,,enable_auth_db=no)
  +  fi
   ]) 
   
   APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
  
  
  

Mime
View raw message