From: Roy T. Fielding Date: Tue, 21 Aug 2001 01:00:23 +0000 (+0000) Subject: I don't like underscore as a name prefix. X-Git-Tag: 2.0.25~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=897c1006cdf63e8802473feadafee0867fb422a3;p=apache 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 --- diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index 70e0a095a2..d1fa10bdfd 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -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 in ndbm.h. So, we need to find - dnl where ndbm.h lives. (glibc 2.2 includes .) + dnl where db.h lives. (glibc 2.2 includes .) 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 ], [#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)