From 71b0e91bada56ba87c18e7d44734ad0689185559 Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 13 Jul 2002 05:01:55 +0000 Subject: [PATCH] Really fix it this time.. --- ext/gd/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index e884a91cfe3..a3b03184578 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