X-Git-Url: http://git.indexdata.com/?p=simpleserver-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=bfb3863e43e668dc017435a1cee7dc600ebbc033;hp=a530000e01fad9edc25b2ea85ca28d3dd5a67b46;hb=bbae3fcc7f1b9cf30cbfdd1ab3d7784b618ad6cc;hpb=586fe28631368fca02c1c7bc29274f359e64396d diff --git a/Makefile.PL b/Makefile.PL index a530000..bfb3863 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,10 +1,8 @@ use ExtUtils::MakeMaker; -## $Id: Makefile.PL,v 1.22 2009-12-29 10:23:22 adam Exp $ - # Use: perl Makefile.PL OPTIMIZE="-O0 -g -Wdeclaration-after-statement" -my $yazconf = "../yaz/yaz-config"; +my $yazconf = "yaz-config"; my $yazver = `$yazconf --version`; my $yazinc = `$yazconf --cflags servers`; my $yazlibs = `$yazconf --libs server`; @@ -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."