Fix CQL stuff does not compile against older YAZ PHPYAZ-27
[phpyaz-moved-to-github.git] / tests / cql.phpt
index 479b166..668d9b1 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 cql
 --SKIPIF--
-<?php if (!extension_loaded("yaz")) print "skip"; ?>
+<?php if (!extension_loaded("yaz") || !function_exists("yaz_cql_parse")) print "skip"; ?>
 --FILE--
 <?php
 $z = yaz_connect("bogus");