diff options
author | Edin Kadribasic <edink@php.net> | 2005-04-25 09:08:48 +0000 |
---|---|---|
committer | Edin Kadribasic <edink@php.net> | 2005-04-25 09:08:48 +0000 |
commit | cbe6261882aab048bee3094a7274b1da80e8525e (patch) | |
tree | d43c2abbf46cffe7ea6941443b30fcfe57171025 /ext/gd | |
parent | 9a020fce63e399879060503dffe61695ef90ee8e (diff) | |
download | php-git-cbe6261882aab048bee3094a7274b1da80e8525e.tar.gz |
Added T1LIB support on Windows (#32809)
Diffstat (limited to 'ext/gd')
-rw-r--r-- | ext/gd/config.w32 | 6 |
1 files changed, 5 insertions, 1 deletions
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 { |