Skip to content

Commit d9d55f0

Browse files
authored
ext/gd: Enable HAVE_GD_GET_INTERPOLATION (#20535)
Bundled libgd has gdImageGetInterpolationMethod() function. It is available as of libgd 2.1.1.
1 parent d40ae97 commit d9d55f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/gd/config.m4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ if test "$PHP_GD" != "no"; then
265265
AC_DEFINE([HAVE_GD_BUNDLED], [1],
266266
[Define to 1 if gd extension uses GD library bundled in PHP.])
267267

268+
AC_DEFINE([HAVE_GD_GET_INTERPOLATION], [1],
269+
[Define to 1 if GD library has the 'gdImageGetInterpolationMethod'
270+
function.])
271+
268272
dnl Various checks for GD features
269273
PHP_SETUP_ZLIB([GD_SHARED_LIBADD])
270274
PHP_GD_PNG

0 commit comments

Comments
 (0)