cvs: php4(PHP_4_3) /ext/gd config.m4

From: Date: Mon, 18 Nov 2002 00:43:48 +0000
Subject: cvs: php4(PHP_4_3) /ext/gd config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16371@lists.php.net to get a copy of this message
sniper Sun Nov 17 19:43:48 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.2 php4/ext/gd/config.m4:1.120.2.3 --- php4/ext/gd/config.m4:1.120.2.2 Sun Nov 17 16:58:12 2002 +++ php4/ext/gd/config.m4 Sun Nov 17 19:43:48 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.120.2.2 2002/11/17 21:58:12 iliaa Exp $ +dnl $Id: config.m4,v 1.120.2.3 2002/11/18 00:43:48 sniper Exp $ dnl dnl @@ -246,11 +246,16 @@ dnl Check for gd 2.0.4 greater availability dnl -AC_TRY_COMPILE([ - #include <gd.h> - #include <stdlib.h> -], [gdIOCtx *ctx; ctx = malloc(sizeof(gdIOCtx)); ctx->gd_free = 1], - AC_DEFINE(HAVE_LIBGD204, 1, [ ]) +AC_TRY_COMPILE( +[ +#include <gd.h> +#include <stdlib.h> +], [ +gdIOCtx *ctx; +ctx = malloc(sizeof(gdIOCtx)); +ctx->gd_free = 1; +], [ + AC_DEFINE(HAVE_LIBGD204, 1, [ ]) ]) dnl

« previous php.cvs (#16371) next »