diff options
author | Valentin Bartenev <vbart@nginx.com> | 2016-10-21 15:18:44 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2016-10-21 15:18:44 +0300 |
commit | 9ec0b1fe12f0df121ccea2097c27f66997110ac2 (patch) | |
tree | ee9605b458a99e39de07b077ed92051a8e4aadb6 /auto | |
parent | 70d0530f8844205cfd78d71f4f0bf20843af778e (diff) |
Image filter: support for WebP.
In collaboration with Ivan Poluyanov.
Diffstat (limited to 'auto')
-rw-r--r-- | auto/lib/libgd/conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/auto/lib/libgd/conf b/auto/lib/libgd/conf index 6e4e91cf0..87761f14d 100644 --- a/auto/lib/libgd/conf +++ b/auto/lib/libgd/conf @@ -74,6 +74,11 @@ if [ $ngx_found = yes ]; then NGX_LIB_LIBGD=$ngx_feature_libs + ngx_feature="GD WebP support" + ngx_feature_name="NGX_HAVE_GD_WEBP" + ngx_feature_test="gdImagePtr img = gdImageCreateFromWebpPtr(1, NULL);" + . auto/feature + else cat << END |