summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-07-13 05:01:55 +0000
committerfoobar <sniper@php.net>2002-07-13 05:01:55 +0000
commit71b0e91bada56ba87c18e7d44734ad0689185559 (patch)
tree0d5ad3996ce47c173aa730f69783bd4d39f32e34 /ext
parente3797ab76a2d3e74d02900cff97db6957294c0e1 (diff)
downloadphp-git-71b0e91bada56ba87c18e7d44734ad0689185559.tar.gz
Really fix it this time..
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/config.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index e884a91cfe..a3b0318457 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -289,6 +289,10 @@ dnl enable the support in bundled GD library
GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBFREETYPE"
fi
+ if test -n "$TTF_DIR"; then
+ GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBTTF"
+ fi
+
PHP_SUBST(GDLIB_CFLAGS)
else