sniper Sun Nov 17 19:41:27 2002 EDT
Modified files:
/php4/ext/gd config.m4
Log:
Fix the test. (and indented it for easier bug spotting :)
Index: php4/ext/gd/config.m4
diff -u php4/ext/gd/config.m4:1.122 php4/ext/gd/config.m4:1.123
--- php4/ext/gd/config.m4:1.122 Sun Nov 17 16:57:43 2002
+++ php4/ext/gd/config.m4 Sun Nov 17 19:41:27 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.122 2002/11/17 21:57:43 iliaa Exp $
+dnl $Id: config.m4,v 1.123 2002/11/18 00:41:27 sniper Exp $
dnl
dnl
@@ -246,11 +246,16 @@
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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php