For now, check only when not using bundled GD lib.

This commit is contained in:
foobar 2002-09-11 16:40:35 +00:00
parent 1715acfdc4
commit eb3b486f21

View File

@ -364,11 +364,11 @@ if test "$PHP_GD" != "no"; then
else else
GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_FCLAGS" GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_FCLAGS"
PHP_ADD_INCLUDE($GD_INCLUDE) PHP_ADD_INCLUDE($GD_INCLUDE)
fi
PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [ PHP_CHECK_LIBRARY(gd, gdImageCreate, [], [
AC_MSG_ERROR([GD build test failed. Please check the config.log for details.]) AC_MSG_ERROR([GD build test failed. Please check the config.log for details.])
], [ -L$GD_LIB $GD_SHARED_LIBADD ]) ], [ -L$GD_LIB $GD_SHARED_LIBADD ])
fi
PHP_SUBST(GDLIB_CFLAGS) PHP_SUBST(GDLIB_CFLAGS)
PHP_SUBST(GD_SHARED_LIBADD) PHP_SUBST(GD_SHARED_LIBADD)