iliaa           Sun Nov 17 16:58:12 2002 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/gd        config.m4 
  Log:
  MFH
  
  
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.120.2.1 php4/ext/gd/config.m4:1.120.2.2
--- php4/ext/gd/config.m4:1.120.2.1     Sun Nov 17 15:19:28 2002
+++ php4/ext/gd/config.m4       Sun Nov 17 16:58:12 2002
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.120.2.1 2002/11/17 20:19:28 iliaa Exp $
+dnl $Id: config.m4,v 1.120.2.2 2002/11/17 21:58:12 iliaa Exp $
 dnl
 
 dnl
@@ -248,9 +248,10 @@
 
 AC_TRY_COMPILE([
  #include <gd.h>
-], [gdIOCtx *ctx; ctx->ctx.gd_free = 1;],[],
-[AC_DEFINE(HAVE_LIBGD204, 1, [ ])]
-)
+ #include <stdlib.h>
+], [gdIOCtx *ctx; ctx = malloc(sizeof(gdIOCtx)); ctx->gd_free = 1], 
+       AC_DEFINE(HAVE_LIBGD204, 1, [ ])
+])
 
 dnl
 dnl Main GD configure



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to