]> granicus.if.org Git - php/commitdiff
Fix the test. (and indented it for easier bug spotting :)
authorfoobar <sniper@php.net>
Mon, 18 Nov 2002 00:41:27 +0000 (00:41 +0000)
committerfoobar <sniper@php.net>
Mon, 18 Nov 2002 00:41:27 +0000 (00:41 +0000)
ext/gd/config.m4

index e58a7eb3be8c11299cca3956b90935e48316c6f8..bca110541bfe8d00a33cbf35136b45038cbf10d9 100644 (file)
@@ -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