cvs: php4 /ext/gd config.m4 gd.c
| From: | Jani Taskinen | Date: | Mon, 21 May 2001 19:28:22 +0000 |
| Subject: | cvs: php4 /ext/gd config.m4 gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5906@lists.php.net to get a copy of this message | ||
sniper Mon May 21 12:28:22 2001 EDT
Modified files:
/php4/ext/gd config.m4 gd.c
Log:
fixed bug: #10593
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.63 php4/ext/gd/config.m4:1.64
--- php4/ext/gd/config.m4:1.63 Sun May 20 16:00:44 2001
+++ php4/ext/gd/config.m4 Mon May 21 12:28:22 2001
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.63 2001/05/20 23:00:44 sniper Exp $
+dnl $Id: config.m4,v 1.64 2001/05/21 19:28:22 sniper Exp $
dnl
AC_DEFUN(PHP_GD_JPEG,[
@@ -180,6 +180,7 @@
AC_CHECK_LIB(gd, gdImageStringFTEx, [AC_DEFINE(HAVE_GD_STRINGFTEX, 1, [ ])])
AC_CHECK_LIB(gd, gdImageColorClosestHWB, [AC_DEFINE(HAVE_COLORCLOSESTHWB, 1, [ ])])
AC_CHECK_LIB(gd, gdImageColorResolve, [AC_DEFINE(HAVE_GDIMAGECOLORRESOLVE, 1, [ ])])
+ AC_CHECK_LIB(gd, gdImageGifCtx, [AC_DEFINE(HAVE_GD_GIF_CTX, 1, [ ])])
])
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.128 php4/ext/gd/gd.c:1.129
--- php4/ext/gd/gd.c:1.128 Mon May 21 11:50:05 2001
+++ php4/ext/gd/gd.c Mon May 21 12:28:22 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.128 2001/05/21 18:50:05 jmoore Exp $ */
+/* $Id: gd.c,v 1.129 2001/05/21 19:28:22 sniper Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -1318,7 +1318,7 @@
PHP_FUNCTION(imagegif)
{
#ifdef HAVE_GD_GIF
-#ifdef USE_GD_IOCTX
+#ifdef HAVE_GD_GIF_CTX
_php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF",
gdImageGifCtx);
#else
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF",
gdImageGif);