cvs: php4 /ext/ming config.m4

From: Date: Fri, 16 Mar 2001 02:06:33 +0000
Subject: cvs: php4 /ext/ming config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4596@lists.php.net to get a copy of this message
sniper Thu Mar 15 18:06:33 2001 EDT Modified files: /php4/ext/ming config.m4 Log: Added a check for the one function missing in <= 0.1.0 versions of ming lib. Index: php4/ext/ming/config.m4 diff -u php4/ext/ming/config.m4:1.3 php4/ext/ming/config.m4:1.4 --- php4/ext/ming/config.m4:1.3 Thu Mar 15 16:36:30 2001 +++ php4/ext/ming/config.m4 Thu Mar 15 18:06:33 2001 @@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.3 2001/03/16 00:36:30 sniper Exp $ +dnl $Id: config.m4,v 1.4 2001/03/16 02:06:33 sniper Exp $ dnl config.m4 for extension libming PHP_ARG_WITH(ming, whether to include ming support, @@ -19,7 +19,12 @@ PHP_SUBST(MING_SHARED_LIBADD) AC_ADD_LIBRARY_WITH_PATH(ming, $MING_DIR/lib, MING_SHARED_LIBADD) - AC_DEFINE(HAVE_MING,1,[ ]) + + AC_CHECK_LIB(ming, Ming_setScale, [ + AC_DEFINE(HAVE_MING,1,[ ]) + ],[ + AC_MSG_ERROR(Ming library 0.1.0 or greater required.) + ]) PHP_EXTENSION(ming, $ext_shared) fi

« previous php.cvs (#4596) next »