From 0b413d7f000f44e8359b6679b49ab5ea05a1bc1c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 12 Mar 2014 14:11:31 +0100 Subject: [PATCH] Require YAZ 4.0.0 or later --- lib/Net/Z3950/ZOOM.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Net/Z3950/ZOOM.pm b/lib/Net/Z3950/ZOOM.pm index 11f8b29..3bbed50 100644 --- a/lib/Net/Z3950/ZOOM.pm +++ b/lib/Net/Z3950/ZOOM.pm @@ -11,10 +11,10 @@ XSLoader::load('Net::Z3950::ZOOM', $VERSION); my($vs, $ss) = ("x" x 100, "x" x 100); # allocate space for these strings my $version = Net::Z3950::ZOOM::yaz_version($vs, $ss); -if ($version < 0x020132 && ! -f "/tmp/ignore-ZOOM-YAZ-version-mismatch") { +if ($version < 0x040000 && ! -f "/tmp/ignore-ZOOM-YAZ-version-mismatch") { warn <<__EOT__; *** WARNING! -ZOOM-Perl requires at least version 2.1.50 of YAZ, but is currently +ZOOM-Perl requires at least version 4.0.0 of YAZ, but is currently running against only version $vs (sys-string '$ss'). Some things may not work. __EOT__ -- 1.7.10.4