X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile.PL;h=f216f23f47c66e09d2c820a2590853c65ad27606;hb=8478131197998e23055811b971c2f3424a4f7fb8;hp=a33ad2d992c4b0d3a18b2a31ae710a04c6a6fe3e;hpb=ef0f2af5ecd17c41d5573c6a3b31cf413ed41bce;p=ZOOM-Perl-moved-to-github.git diff --git a/Makefile.PL b/Makefile.PL index a33ad2d..f216f23 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,4 +1,4 @@ -# $Id: Makefile.PL,v 1.13 2006-08-31 15:47:45 mike Exp $ +# $Id: Makefile.PL,v 1.20 2007-02-26 14:41:24 mike Exp $ use 5.008; use ExtUtils::MakeMaker; @@ -16,7 +16,7 @@ will also need to install "libyaz-dev" in order to build this module. } chomp($yazver); -check_version($yazver, "2.1.27"); +check_version($yazver, "2.1.50"); # For Windows use # $yazinc = '-Ic:\yaz\include' @@ -39,6 +39,7 @@ WriteMakefile( # OBJECT => '$(O_FILES)', # link all the C files too # Use this to test for illegal code that GCC stupidly permits by default: # OPTIMIZE => "-Wdeclaration-after-statement -g -O0", + EXE_FILES => [ 'samples/zoom/zselect' ], ); @@ -51,7 +52,7 @@ sub check_version { ($gmajor == $wmajor && $gminor < $wminor) || ($gmajor == $wmajor && $gminor == $wminor && $gtrivial < $wtrivial)) { print <<__EOT__; -*** WARNING! +*** ERROR! ZOOM-Perl requires at least version $want of YAZ, but is currently you only have version $got. __EOT__