forked from oupula/ngx_image_thumb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
34 lines (25 loc) · 704 Bytes
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ngx_feature="http_image_module"
ngx_feature_name=
ngx_feature_run=no
ngx_feature_incs="#include <curl/curl.h>
#include <gd.h>
#include <pcre.h>"
ngx_feature_path=
ngx_feature_libs="-lcurl"
ngx_feature_test=
ngx_addon_name=ngx_http_image_module
HTTP_MODULES="$HTTP_MODULES ngx_http_image_module"
CORE_INCS="$CORE_INCS \
$ngx_addon_dir"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
${ngx_addon_dir}/ngx_http_image_module.c"
USE_LIBGD=YES
have=NGX_HTTP_HEADERS . auto/have
. auto/feature
if [ $ngx_found = yes ]; then
CORE_INCS="$CORE_INCS $ngx_feature_path"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
else
CORE_INCS="$CORE_INCS $ngx_feature_path"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
fi