From 5060a9b379fac39d382b2a395b539cc3c897929e Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 19 Jun 2002 01:11:20 +0000 Subject: [PATCH] Fix bug: #17130 --- ext/gd/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.50.1