ming-0.2a needs rint() in libm.

This commit is contained in:
Rui Hirokawa 2001-09-29 08:15:39 +00:00
parent c4c4626551
commit 69ae8f1903

View File

@ -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