mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
ming-0.2a needs rint() in libm.
This commit is contained in:
parent
c4c4626551
commit
69ae8f1903
@ -20,11 +20,14 @@ if test "$PHP_MING" != "no"; then
|
||||
PHP_SUBST(MING_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD)
|
||||
|
||||
old_LIBS=$LIBS
|
||||
LIBS="$LIBS -L$MING_DIR/lib -lm -ldl"
|
||||
AC_CHECK_LIB(ming, Ming_useSWFVersion, [
|
||||
AC_DEFINE(HAVE_MING,1,[ ])
|
||||
],[
|
||||
AC_MSG_ERROR(Ming library 0.2a or greater required.)
|
||||
])
|
||||
LIBS=$old_LIBS
|
||||
|
||||
PHP_EXTENSION(ming, $ext_shared)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user