commit
06eda48a62
@ -1,12 +1,19 @@
|
|||||||
# vim:ft=sh:
|
# vim:ft=sh:
|
||||||
ngx_addon_name=ngx_http_fancyindex_module
|
ngx_addon_name=ngx_http_fancyindex_module
|
||||||
|
|
||||||
# XXX: Insert fancyindex module *after* index module!
|
if test -n "$ngx_module_link"; then
|
||||||
#
|
ngx_module_type=HTTP
|
||||||
HTTP_MODULES=`echo "${HTTP_MODULES}" | sed -e \
|
ngx_module_name=ngx_http_fancyindex_module
|
||||||
's/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module/'`
|
ngx_module_srcs="$ngx_addon_dir/ngx_http_fancyindex_module.c"
|
||||||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fancyindex_module.c"
|
|
||||||
|
|
||||||
if [ $HTTP_ADDITION != YES ] ; then
|
. auto/module
|
||||||
|
else
|
||||||
|
# XXX: Insert fancyindex module *after* index module!
|
||||||
|
#
|
||||||
|
HTTP_MODULES=`echo "${HTTP_MODULES}" | sed -e \
|
||||||
|
's/ngx_http_index_module/ngx_http_fancyindex_module ngx_http_index_module/'`
|
||||||
|
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_fancyindex_module.c"
|
||||||
|
if [ $HTTP_ADDITION != YES ] ; then
|
||||||
echo " - The 'addition' filter is needed for fancyindex_{header,footer}, but it was disabled"
|
echo " - The 'addition' filter is needed for fancyindex_{header,footer}, but it was disabled"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in new issue