From: Adam Dickmeiss Date: Wed, 12 Mar 2014 13:11:31 +0000 (+0100) Subject: Require YAZ 4.0.0 or later X-Git-Tag: v1.30~1 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=0b413d7f000f44e8359b6679b49ab5ea05a1bc1c;p=ZOOM-Perl-moved-to-github.git Require YAZ 4.0.0 or later --- 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__