From e30daf1c89e3b781de360a9dcad4f83e72e16d28 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 Oct 2007 13:05:22 +0000 Subject: [PATCH] Zebra links with ICU enabled YAZ. Requires YAZ 3.0.15 or later. --- configure.ac | 4 ++-- index/zebraidx.c | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 02f43a9..e9a8a03 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Zebra, Index Data ApS, 1995-2007 -dnl $Id: configure.ac,v 1.65 2007-09-19 10:03:44 adam Exp $ +dnl $Id: configure.ac,v 1.66 2007-10-22 13:05:22 adam Exp $ dnl AC_PREREQ(2.59) AC_INIT([idzebra],[2.0.18],[zebra-help@indexdata.dk]) @@ -34,7 +34,7 @@ if test "$ac_cv_lib_crypt_crypt" = "yes"; then fi dnl dnl ------ YAZ -YAZ_INIT([server],[3.0.3]) +YAZ_INIT([server icu],[3.0.15]) if test "$YAZVERSION" = "NONE"; then AC_MSG_ERROR([YAZ development libraries required]) fi diff --git a/index/zebraidx.c b/index/zebraidx.c index 9b2046e..6aa13e0 100644 --- a/index/zebraidx.c +++ b/index/zebraidx.c @@ -1,4 +1,4 @@ -/* $Id: zebraidx.c,v 1.6 2007-08-27 17:22:22 adam Exp $ +/* $Id: zebraidx.c,v 1.7 2007-10-22 13:05:22 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -31,6 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #endif +#include #include #include #include @@ -242,6 +243,9 @@ int main (int argc, char **argv) printf("Configured as: %s\n", sys_str); if (strcmp(version_str, ZEBRAVER)) printf("zebraidx compiled version %s\n", ZEBRAVER); +#if HAVE_ICU + printf("Using ICU\n"); +#endif } else if (ret == 'v') yaz_log_init_level (yaz_log_mask_str(arg)); -- 1.7.10.4