From: foobar Date: Wed, 19 Jun 2002 01:11:20 +0000 (+0000) Subject: Fix bug: #17130 X-Git-Tag: php-4.3.0dev_zend2_alpha2~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5060a9b379fac39d382b2a395b539cc3c897929e;p=php Fix bug: #17130 --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 35e49b348b..6a5bcf52e1 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -129,6 +129,10 @@ AC_DEFUN(PHP_GD_FREETYPE1,[ TTF_DIR=$i TTF_INC_DIR=$i/include/freetype fi + if test -f "$i/include/freetype1/freetype/freetype.h"; then + TTF_DIR=$i + TTF_INC_DIR=$i/include/freetype1/freetype + fi done fi if test -n "$TTF_DIR" ; then