git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95165
13f79535-47bb-0310-9956-
ffa450edef68
#include "http_request.h"
#include "util_ldap.h"
+#ifndef APU_HAS_LDAP
+#error mod_auth_ldap requires APR-util to have LDAP support built in
+#endif
+
/* per directory configuration */
typedef struct {
apr_pool_t *pool; /* Pool that this config is allocated from */
*/
#include <apr_ldap.h>
-
-#ifdef APU_HAS_LDAP
-
#include <apr_strings.h>
#include "ap_config.h"
#include <unistd.h>
#endif
+#ifndef APU_HAS_LDAP
+#error mod_ldap requires APR-util to have LDAP support built in
+#endif
+
module AP_MODULE_DECLARE_DATA ldap_module;
int util_ldap_handler(request_rec *r);
return LDAP_SUCCESS;
}
-#endif /* APU_HAS_LDAP */
-
/* ---------------------------------------- */