From a3e9ae20d9b4d2d96becc2f4a94d3a876fe2b3a2 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 18 Nov 2002 00:41:27 +0000 Subject: [PATCH] Fix the test. (and indented it for easier bug spotting :) --- ext/gd/config.m4 | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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 -- 2.50.1