2 Star 6 Fork 2

zhangsongfu / imagemagick_nginx_module

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config 697 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangsongfu 提交于 2012-07-31 14:45 . later modify config
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
C
1
https://gitee.com/dandingboshi/imagemagick_nginx_module.git
git@gitee.com:dandingboshi/imagemagick_nginx_module.git
dandingboshi
imagemagick_nginx_module
imagemagick_nginx_module
master

搜索帮助