#!/bin/sh
-# $Id: yaz-config.in,v 1.31 2007-10-22 12:21:38 adam Exp $
+# $Id: yaz-config.in,v 1.34 2008-01-16 12:18:51 adam Exp $
yazprefix=@prefix@
yaz_echo_cflags=no
yaz_echo_libs=no
lib_thread=yes
;;
icu)
- lib_icu=yes
+ if test "$ICU_CPPFLAGS"; then
+ lib_icu=yes
+ fi
;;
server)
lib_thread=yes
if test "$lib_server" = "yes"; then
YAZLALIB="${yaz_build_root}/src/libyaz_server.la $YAZLALIB"
fi
+ if test "$lib_icu" = "yes"; then
+ YAZLALIB="${yaz_build_root}/src/libyaz_icu.la $YAZLALIB"
+ fi
YAZLALIB="$YAZLALIB $yazextralibs"
YAZINC="-I${yaz_src_root}/include $YAZINC"