httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bmar...@penguincomputing.com
Subject [PATCH] mod_auth_dbm config
Date Thu, 06 Apr 2000 00:35:02 GMT
Here's a little patch to get mod_auth_dbm to compile on my linux box.
Looking at helpers/find-dbm-lib I'm pretty sure this does the same thing.

Brian

Index: config.m4
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/config.m4,v
retrieving revision 1.13
diff -u -r1.13 config.m4
--- config.m4   2000/04/05 17:27:57     1.13
+++ config.m4   2000/04/05 22:57:11
@@ -33,7 +33,10 @@
 APACHE_CHECK_STANDARD_MODULE(access, , yes)
 APACHE_CHECK_STANDARD_MODULE(auth, , yes)
 APACHE_CHECK_STANDARD_MODULE(auth_anon, , no)
-APACHE_CHECK_STANDARD_MODULE(auth_dbm, , no)
+APACHE_CHECK_STANDARD_MODULE(auth_dbm, , no, [
+  AC_CHECK_LIB(dbm,dbm_open)
+  AC_CHECK_LIB(ndbm,dbm_open)
+])

 APACHE_CHECK_STANDARD_MODULE(auth_db, , no, [
   AC_CHECK_HEADERS(db.h)
Index: mod_auth_dbm.c
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/standard/mod_auth_dbm.c,v
retrieving revision 1.10
diff -u -r1.10 mod_auth_dbm.c
--- mod_auth_dbm.c      2000/03/31 09:05:15     1.10
+++ mod_auth_dbm.c      2000/04/05 22:57:13
@@ -87,13 +87,6 @@
  * lines below is used by Configure. This could be stored in a separate
  * instead.
  *
- * XXX: this needs updating for apache-2.0 configuration method
- * MODULE-DEFINITION-START
- * Name: auth_dbm_module
- * ConfigStart
-    . ./helpers/find-dbm-lib
- * ConfigEnd
- * MODULE-DEFINITION-END
  */

 typedef struct {

Mime
View raw message