From d52f75aa1ca8638a904499df0519f1b55c4006f9 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 19 Apr 2001 14:16:09 +0000 Subject: [PATCH] Patch from Adam Dickmeiss to make configure detect libtff again. --- ext/gd/config.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 1169ade14f..ef2fc964af 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -110,6 +110,7 @@ AC_DEFUN(PHP_GD_CHECK_VERSION,[ AC_CHECK_LIB(gd, gdImageCreateTrueColor, [AC_DEFINE(HAVE_LIBGD20, 1, [ ])]) AC_CHECK_LIB(gd, gdImageSetTile, [AC_DEFINE(HAVE_GD_IMAGESETTILE, 1, [ ])]) AC_CHECK_LIB(gd, gdImageSetBrush, [AC_DEFINE(HAVE_GD_IMAGESETBRUSH, 1, [ ])]) + AC_CHECK_LIB(gd, gdImageStringFTEx, [AC_DEFINE(HAVE_GD_STRINGFTEX, 1, [ ])]) ]) @@ -249,7 +250,7 @@ if test "$with_gd" != "no" && test "$ac_cv_lib_gd_gdImageLine" = "yes"; then ]) AC_MSG_CHECKING(whether to include FreeType 1.x support) - if test "$with_freetype_dir" = "no" ; then + if test "$with_freetype_dir" = "no" -o "$with_freetype_dir" = ""; then if test -n "$CHECK_TTF" ; then for i in /usr /usr/local "$CHECK_TTF" ; do if test -f "$i/include/freetype.h" ; then -- 2.50.1