X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=yaz-config.in;h=f61d007a447f4988f1c3af85092d1ac919ed06fc;hb=0402f8526787fc555058e44d8348b492c7b223a8;hp=76b9152133a61fd23d713fc4372b9d15066c2d47;hpb=0ffb25b0bf78f53399267664b71206c88980c4da;p=yaz-moved-to-github.git diff --git a/yaz-config.in b/yaz-config.in index 76b9152..f61d007 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.31 2007-10-22 12:21:38 adam Exp $ +# $Id: yaz-config.in,v 1.33 2008-01-16 11:30:51 adam Exp $ yazprefix=@prefix@ yaz_echo_cflags=no yaz_echo_libs=no @@ -68,7 +68,9 @@ while test $# -gt 0; do lib_thread=yes ;; icu) - lib_icu=yes + if test "$ICU_LIBS"; then + lib_icu=yes + fi ;; server) lib_thread=yes @@ -112,6 +114,9 @@ if test "$yaz_echo_source" = "yes"; then 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"