Commit 19ed1b46 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

I don't like underscore as a name prefix.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90452 13f79535-47bb-0310-9956-ffa450edef68
parent 053bb169
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -10,16 +10,16 @@ APACHE_MODULE(auth_anon, anonymous user access, , , most)
APACHE_MODULE(auth_dbm, DBM-based access databases, , , most, [
  AC_SEARCH_LIBS(dbm_open,[c db1],,enable_auth_dbm=no)
  dnl Glibc 2.1's ndbm.h includes <db.h> in ndbm.h.  So, we need to find
  dnl where ndbm.h lives.  (glibc 2.2 includes <db1/db.h>.)
  dnl where db.h lives.  (glibc 2.2 includes <db1/db.h>.)
  AC_TRY_COMPILE([#include "ndbm.h"], [dbm_open("/dev/null", 0, 0)],
                 _good_db_path="yes", _good_db_path="no")
  if test "$_good_db_path" = "no"; then
    _old_cppflags=$CPPFLAGS
                 ap_good_db_path="yes", ap_good_db_path="no")
  if test "$ap_good_db_path" = "no"; then
    ap_old_cppflags=$CPPFLAGS
    CPPFLAGS="$CPPFLAGS -I/usr/include/db1"
    AC_TRY_COMPILE([#include "ndbm.h"], [dbm_open("/dev/null", 0, 0)],
                 _good_db_path="yes", _good_db_path="no")
    if test "$_good_db_path" = "no"; then
      CPPFLAGS=$_old_cppflags
                 ap_good_db_path="yes", ap_good_db_path="no")
    if test "$ap_good_db_path" = "no"; then
      CPPFLAGS=$ap_old_cppflags
      enable_auth_dbm=no
    fi
  fi
@@ -31,14 +31,14 @@ APACHE_MODULE(auth_db, DB-based access databases, , , , [
]) 

APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
  _old_cppflags=$CPPFLAGS
  ap_old_cppflags=$CPPFLAGS
  CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include"
  AC_TRY_COMPILE([#include <apr.h>], 
                 [#if !APR_HAS_RANDOM 
                  #error You need APR random support to use auth_digest. 
                  #endif],,
                 enable_auth_digest=no)
  CPPFLAGS=$_old_cppflags
  CPPFLAGS=$ap_old_cppflags
])

APACHE_MODULE(auth_ldap, LDAP based authentication, , , no)