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
])
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)