mirror of
https://github.com/php/php-src.git
synced 2024-12-04 15:23:44 +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
|
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)
|
||||||
|
|
||||||
|
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
|
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(GDLIB_CFLAGS)
|
||||||
PHP_SUBST(GD_SHARED_LIBADD)
|
PHP_SUBST(GD_SHARED_LIBADD)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user