From d708e20b124a0ac80ac4329667ab2df7c7dbc9f3 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 18 Nov 2002 00:43:48 +0000 Subject: [PATCH] MFH --- 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