X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=bfb3863e43e668dc017435a1cee7dc600ebbc033;hp=264c5700522938742db4e1ca6fd07c5da6a75ce9;hb=928972af714a204ad40c80108b0751b02c5d5856;hpb=df56f80f5b2d61e66d5b772d80bf8c5573041921 diff --git a/Makefile.PL b/Makefile.PL index 264c570..bfb3863 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,7 +1,5 @@ use ExtUtils::MakeMaker; -## $Id: Makefile.PL,v 1.23 2009-12-29 10:24:12 adam Exp $ - # Use: perl Makefile.PL OPTIMIZE="-O0 -g -Wdeclaration-after-statement" my $yazconf = "yaz-config"; @@ -17,13 +15,10 @@ SimpleServer module. ]; } -### Although this release of SimpleServer will work with version 3.0.2 -# of YAZ, you will not be able to take advantage of the new CCL -# support in the YAZ GFS unless you have version 3.0.9 or better. - +## present_number in search handler appeared in 4.2.48 chomp($yazver); my ($major, $minor, $trivial) = split(/\./, $yazver); -my ($needMaj, $needMin, $needTriv) = (3, 0, 2); +my ($needMaj, $needMin, $needTriv) = (4, 2, 48); #print "major=$major, minor=$minor, trivial=$trivial\n"; die "You have YAZ version $major.$minor.$trivial; " . "you need $needMaj.$needMin.$needTriv or better."