From: Edin Kadribasic Date: Mon, 25 Apr 2005 09:10:14 +0000 (+0000) Subject: MFH: Added T1LIB support on Windows (#32809) X-Git-Tag: php-5.0.5RC1~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=584fb97aedd93f36e677f8ba5e2911488a00dcb0;p=php MFH: Added T1LIB support on Windows (#32809) --- diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index 0a0c9f6e50..434e892894 100644 --- a/ext/gd/config.w32 +++ b/ext/gd/config.w32 @@ -7,8 +7,11 @@ if (PHP_GD != "no") { if (CHECK_LIB("libjpeg.lib", "gd", PHP_GD) && CHECK_LIB("freetype2.lib", "gd", PHP_GD) && CHECK_LIB("libpng.lib", "gd", PHP_GD) && + CHECK_LIB("T1_StaticMD.lib", "gd", PHP_GD) && CHECK_LIB("zlib.lib", "gd", PHP_GD + ";..\\zlib;" + php_usual_lib_suspects) && - CHECK_HEADER_ADD_INCLUDE("gd.h", "CFLAGS_GD", PHP_GD + ";ext\\gd\\libgd")) { + CHECK_HEADER_ADD_INCLUDE("gd.h", "CFLAGS_GD", PHP_GD + ";ext\\gd\\libgd") && + CHECK_HEADER_ADD_INCLUDE("t1lib.h", "CFLAGS_GD", PHP_GD + ";" + PHP_PHP_BUILD + "\\include\\t1lib") + ) { EXTENSION("gd", "gd.c gdttf.c", null, "-Iext/gd/libgd", "php_gd2.dll"); ADD_SOURCES("ext/gd/libgd", "gd2copypal.c gd_arc_f_buggy.c gd.c \ @@ -40,6 +43,7 @@ if (PHP_GD != "no") { /D HAVE_LIBPNG \ /D USE_GD_IMGSTRTTF \ /D USE_GD_IOCTX \ +/D HAVE_LIBT1 \ /D MSWIN32 \ "); } else {