diff options
| -rw-r--r-- | ext/gd/config.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
