]> granicus.if.org Git - apache/commitdiff
Fix build breakage on Linux glibc 2.1+ systems that prevented db1 from being
authorJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 20 Aug 2001 23:32:34 +0000 (23:32 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Mon, 20 Aug 2001 23:32:34 +0000 (23:32 +0000)
correctly found for mod_auth_dbm.  This is similar to the mod_auth_db check.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90442 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/config.m4

index f7a78d90de458c164c140069a5a02f085f3c4dbc..0a64b5ae4f1eab7b1ac433f07df9ba5931f5010d 100644 (file)
@@ -7,7 +7,9 @@ APACHE_MODPATH_INIT(aaa)
 APACHE_MODULE(access, host-based access control, , , yes)
 APACHE_MODULE(auth, user-based access control, , , yes)
 APACHE_MODULE(auth_anon, anonymous user access, , , most)
-APACHE_MODULE(auth_dbm, DBM-based access databases, , , most)
+APACHE_MODULE(auth_dbm, DBM-based access databases, , , most, [
+  AC_SEARCH_LIBS(dbm_open,[c db1],,enable_auth_dbm=no)
+])
 
 APACHE_MODULE(auth_db, DB-based access databases, , , , [
   AC_CHECK_HEADERS(db.h,,enable_auth_db=no)