From: foobar Date: Sat, 13 Jul 2002 05:01:55 +0000 (+0000) Subject: Really fix it this time.. X-Git-Tag: dev~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b0e91bada56ba87c18e7d44734ad0689185559;p=php Really fix it this time.. --- 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