-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig
More file actions
21 lines (20 loc) · 712 Bytes
/
Copy pathconfig
File metadata and controls
21 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ngx_feature="GraphicsMagick"
ngx_feature_name=GraphicsMagick
ngx_feature_run=no
ngx_feature_incs="#include <magick/api.h>"
ngx_feature_path="/usr/local/GraphicsMagick/include/GraphicsMagick"
ngx_feature_libs=-lGraphicsMagick
ngx_feature_test="GetMagickCopyright()"
. auto/feature
if [ $ngx_found = yes ]; then
ngx_addon_name=ngx_http_graphicsmagick_module
HTTP_MODULES="$HTTP_MODULES ngx_http_graphicsmagick_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_graphicsmagick_module.c"
CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
CORE_INCS="$CORE_INCS $ngx_feature_path"
else
cat << END
$0: error: the GraphicsMagick addon requires the GraphicsMagick library.
END
exit 1
fi