Mercurial > hg > nginx
diff auto/lib/libgd/conf @ 6779:e4b00a021cea
Image filter: support for WebP.
In collaboration with Ivan Poluyanov.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 21 Oct 2016 15:18:44 +0300 |
parents | 85dea406e18f |
children | f7e79596baf2 |
line wrap: on
line diff
--- 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