mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
changed version check to look for function Ming_useSWFVersion, indicating
Ming 0.2a
This commit is contained in:
parent
e0f91d3c48
commit
91997ed31c
@ -20,10 +20,10 @@ if test "$PHP_MING" != "no"; then
|
|||||||
PHP_SUBST(MING_SHARED_LIBADD)
|
PHP_SUBST(MING_SHARED_LIBADD)
|
||||||
PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD)
|
PHP_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD)
|
||||||
|
|
||||||
AC_CHECK_LIB(ming, Ming_setScale, [
|
AC_CHECK_LIB(ming, Ming_useSWFVersion, [
|
||||||
AC_DEFINE(HAVE_MING,1,[ ])
|
AC_DEFINE(HAVE_MING,1,[ ])
|
||||||
],[
|
],[
|
||||||
AC_MSG_ERROR(Ming library 0.1.0 or greater required.)
|
AC_MSG_ERROR(Ming library 0.2a or greater required.)
|
||||||
])
|
])
|
||||||
|
|
||||||
PHP_EXTENSION(ming, $ext_shared)
|
PHP_EXTENSION(ming, $ext_shared)
|
||||||
|
Loading…
Reference in New Issue
Block a user