From: foobar Date: Mon, 18 Nov 2002 00:41:27 +0000 (+0000) Subject: Fix the test. (and indented it for easier bug spotting :) X-Git-Tag: RELEASE_1_0b2~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a3e9ae20d9b4d2d96becc2f4a94d3a876fe2b3a2;p=php Fix the test. (and indented it for easier bug spotting :) --- 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