Comment on use of PQF instead of CQL
[ZOOM-Perl-moved-to-github.git] / Makefile.PL
index a33ad2d..f216f23 100644 (file)
@@ -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__