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