From 8cfa80d082d4a6be303f1c9f524cc66e3658f473 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Sat, 23 Feb 2002 01:36:55 +0000 Subject: [PATCH] fixed configure error with freetype1. --- ext/gd/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index f2723db7b8..34e710c489 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -126,6 +126,10 @@ AC_DEFUN(PHP_GD_FREETYPE2,[ PHP_ARG_WITH(freetype-dir, for freetype(2), [ --with-freetype-dir=DIR GD: Set the path to freetype2 install prefix.]) + if test "$PHP_TTF" != "no"; then + PHP_FREETYPE_DIR="no" + fi + if test "$PHP_FREETYPE_DIR" != "no"; then for i in /usr /usr/local $PHP_FREETYPE_DIR; do if test -f "$i/include/freetype2/freetype/freetype.h"; then -- 2.50.1