diff options
| author | foobar <sniper@php.net> | 2002-06-19 01:11:20 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2002-06-19 01:11:20 +0000 |
| commit | 5060a9b379fac39d382b2a395b539cc3c897929e (patch) | |
| tree | 4839dfae3f3740e2bf34c08f8b3ba525dc733303 | |
| parent | 0af2ae718f52c00041ac74b09d3b11d21668ccd9 (diff) | |
| download | php-git-5060a9b379fac39d382b2a395b539cc3c897929e.tar.gz | |
Fix bug: #17130
| -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 |
