From: foobar Date: Mon, 18 Nov 2002 00:43:48 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.0RC2~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d708e20b124a0ac80ac4329667ab2df7c7dbc9f3;p=php MFH --- diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index e58a7eb3be..bca110541b 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -246,11 +246,16 @@ dnl dnl Check for gd 2.0.4 greater availability dnl -AC_TRY_COMPILE([ - #include - #include -], [gdIOCtx *ctx; ctx = malloc(sizeof(gdIOCtx)); ctx->gd_free = 1], - AC_DEFINE(HAVE_LIBGD204, 1, [ ]) +AC_TRY_COMPILE( +[ +#include +#include +], [ +gdIOCtx *ctx; +ctx = malloc(sizeof(gdIOCtx)); +ctx->gd_free = 1; +], [ + AC_DEFINE(HAVE_LIBGD204, 1, [ ]) ]) dnl