Files

24 lines
672 B
Plaintext
Raw Permalink Normal View History

2011-03-11 11:47:50 +03:00
ngx_addon_name=ngx_http_auth_ldap_module
2016-04-28 14:32:05 +02:00
2016-09-22 12:39:56 +03:00
LDAP_REQUIRED_LIBS="-lldap"
case "$NGX_PLATFORM" in
Darwin:*|FreeBSD:*|Linux:*|SunOS:*)
LDAP_REQUIRED_LIBS="$LDAP_REQUIRED_LIBS -llber"
;;
esac
2016-04-28 14:32:05 +02:00
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_ldap_module
2016-09-22 12:39:56 +03:00
ngx_module_incs=
ngx_module_deps=
2016-04-28 14:32:05 +02:00
ngx_module_srcs="$ngx_addon_dir/ngx_http_auth_ldap_module.c"
2016-09-22 12:39:56 +03:00
ngx_module_libs="$LDAP_REQUIRED_LIBS"
2016-04-28 14:32:05 +02:00
. 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"
2016-09-22 12:39:56 +03:00
CORE_LIBS="$CORE_LIBS $LDAP_REQUIRED_LIBS"
2016-04-28 14:32:05 +02:00
fi