From eb3b486f2161f17c30a73425b80b371b32f0313a Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 11 Sep 2002 16:40:35 +0000 Subject: [PATCH] For now, check only when not using bundled GD lib. --- ext/gd/config.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index 0791fa90b9..0edec76c33 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -364,12 +364,12 @@ if test "$PHP_GD" != "no"; then else GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_FCLAGS" PHP_ADD_INCLUDE($GD_INCLUDE) + + PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [ + AC_MSG_ERROR([GD build test failed. Please check the config.log for details.]) + ], [ -L$GD_LIB $GD_SHARED_LIBADD ]) fi - PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [ - AC_MSG_ERROR([GD build test failed. Please check the config.log for details.]) - ], [ -L$GD_LIB $GD_SHARED_LIBADD ]) - PHP_SUBST(GDLIB_CFLAGS) PHP_SUBST(GD_SHARED_LIBADD) fi -- 2.40.0