changed version check to look for function Ming_useSWFVersion, indicating

Ming 0.2a
This commit is contained in:
Dave Hayden 2001-08-20 03:24:14 +00:00
parent e0f91d3c48
commit 91997ed31c

View File

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