summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/config.m415
1 files 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 <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