summaryrefslogtreecommitdiffhomepage
path: root/auto/lib
diff options
context:
space:
mode:
Diffstat (limited to 'auto/lib')
-rw-r--r--auto/lib/libgd/conf5
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