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