sniper Fri Feb 28 02:17:46 2003 EDT Modified files: /php4/ext/yaz config.m4 php_yaz.c Log: YAZ 2.0 or later is required now. Index: php4/ext/yaz/config.m4 diff -u php4/ext/yaz/config.m4:1.13 php4/ext/yaz/config.m4:1.14 --- php4/ext/yaz/config.m4:1.13 Tue Feb 11 22:05:27 2003 +++ php4/ext/yaz/config.m4 Fri Feb 28 02:17:46 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.13 2003/02/12 03:05:27 sniper Exp $ +dnl $Id: config.m4,v 1.14 2003/02/28 07:17:46 sniper Exp $ dnl PHP_ARG_WITH(yaz,for YAZ support, @@ -23,13 +23,13 @@ AC_DEFINE(HAVE_YAZ,1,[Whether you have YAZ]) . $yazconfig - dnl Check version (1.9 or greater required) + dnl Check version (2.0 or greater required) AC_MSG_CHECKING([for YAZ version]) yaz_version=`echo $YAZVERSION | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` - if test "$yaz_version" -ge 1009000; then + if test "$yaz_version" -ge 2000000; then AC_MSG_RESULT([$YAZVERSION]) else - AC_MSG_ERROR([YAZ version 1.9 or later required.]) + AC_MSG_ERROR([YAZ version 2.0 or later required.]) fi for c in $YAZLIB; do Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.65 php4/ext/yaz/php_yaz.c:1.66 --- php4/ext/yaz/php_yaz.c:1.65 Fri Feb 28 01:33:03 2003 +++ php4/ext/yaz/php_yaz.c Fri Feb 28 02:17:46 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_yaz.c,v 1.65 2003/02/28 06:33:03 sniper Exp $ */ +/* $Id: php_yaz.c,v 1.66 2003/02/28 07:17:46 sniper Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -33,9 +33,9 @@ #include <yaz/yaz-version.h> #ifndef YAZ_VERSIONL -#error YAZ version 1.9 or later must be used. -#elif YAZ_VERSIONL < 0x010900 -#error YAZ version 1.9 or later must be used. +#error YAZ version 2.0 or later must be used. +#elif YAZ_VERSIONL < 0x020000 +#error YAZ version 2.0 or later must be used. #endif #ifdef PHP_WIN32
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php