mirror of
https://github.com/php/php-src.git
synced 2024-12-04 07:14:10 +08:00
For now, check only when not using bundled GD lib.
This commit is contained in:
parent
1715acfdc4
commit
eb3b486f21
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user