[PHP-users 12508] Re: PHP4.3.0の GD のインストールについて

Youichi Iwakiri php-users@php.gr.jp
2003年1月10日 20:49:41 +0900


いわきりです
Yasuo Ohgakiさんの<3E1E7DBF.5010604@ohgaki.net>から
>大垣です。
>多分以下のパッチで動作すると思います。
>思い通りに動作したら教えてください。

問題は出ませんでした。
>Index: ext/gd/config.m4
>===================================================================
>RCS file: /repository/php4/ext/gd/config.m4,v
>retrieving revision 1.120.2.6
>diff -u -r1.120.2.6 config.m4
>--- ext/gd/config.m4 14 Dec 2002 09:32:49 -0000 1.120.2.6
>+++ ext/gd/config.m4 10 Jan 2003 07:57:50 -0000
>@@ -286,7 +286,7 @@
> AC_DEFINE(HAVE_GD_GIF_READ, 1, [ ])
>> dnl Make sure the libgd/ is first in the include path
>- GDLIB_CFLAGS="-DHAVE_LIBPNG"
>+ GDLIB_CFLAGS="-DHAVE_LIBPNG -DJISX0208"
>> dnl Depending which libraries were included to PHP configure,
> dnl enable the support in bundled GD library

場所的には、こっちの方が良いのでは。
--- config.m4 Sat Dec 14 18:32:49 2002
+++ config.m4.new Fri Jan 10 20:53:59 2003
@@ -304,7 +304,7 @@
 if test -n "$FREETYPE2_DIR"; then
 AC_DEFINE(HAVE_GD_STRINGFT, 1, [ ])
 AC_DEFINE(HAVE_GD_STRINGFTEX, 1, [ ])
- GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBFREETYPE"
+ GDLIB_CFLAGS="$GDLIB_CFLAGS -DHAVE_LIBFREETYPE -DJISX0208"
 fi
 if test -n "$TTF_DIR"; then
-- 
Youichi Iwakiri

AltStyle によって変換されたページ (->オリジナル) /