summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2019-07-20 07:57:13 +0200
committerRemi Collet <remi@php.net>2019-07-20 07:57:13 +0200
commita85e4d53367c9a4ccca09903dce3c7e30dcc04c7 (patch)
tree81e11eed7e9d1e1ae3d42913589074bc97b50439 /ext/gd
parent6de97402b5765b70264e69460caef93b00e562ef (diff)
downloadphp-git-a85e4d53367c9a4ccca09903dce3c7e30dcc04c7.tar.gz
Fixed bug #78314 (missing freetype support/functions with external gd)
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index 742ed412cd..662a9c8c2e 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -177,6 +177,9 @@ dnl Various checks for GD features
], [ $GD_SHARED_LIBADD ], [char foobar () {}])
else
+ PHP_GD_XPM
+ PHP_GD_FREETYPE2
+
extra_sources="gd_compat.c"
PKG_CHECK_MODULES([GDLIB], [gdlib >= 2.1.0])
PHP_EVAL_LIBLINE($GDLIB_LIBS, GD_SHARED_LIBADD)