slightly patched fork of LDAP authentication module for nginx
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nginx-auth-ldap/config

24 lines
672 B

14 years ago
ngx_addon_name=ngx_http_auth_ldap_module
8 years ago
LDAP_REQUIRED_LIBS="-lldap"
case "$NGX_PLATFORM" in
Darwin:*|FreeBSD:*|Linux:*|SunOS:*)
LDAP_REQUIRED_LIBS="$LDAP_REQUIRED_LIBS -llber"
;;
esac
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_ldap_module
8 years ago
ngx_module_incs=
ngx_module_deps=
ngx_module_srcs="$ngx_addon_dir/ngx_http_auth_ldap_module.c"
8 years ago
ngx_module_libs="$LDAP_REQUIRED_LIBS"
. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_ldap_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_ldap_module.c"
8 years ago
CORE_LIBS="$CORE_LIBS $LDAP_REQUIRED_LIBS"
fi