X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz-config.in;h=9931978c9857e525d19bbe96666ae9f334c48d77;hp=76b9152133a61fd23d713fc4372b9d15066c2d47;hb=1f41a1d415d2ab138050a96020ed39caa0c4e323;hpb=0ffb25b0bf78f53399267664b71206c88980c4da diff --git a/yaz-config.in b/yaz-config.in index 76b9152..9931978 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,5 +1,7 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.31 2007-10-22 12:21:38 adam Exp $ +# This file is part of the YAZ toolkit. +# Copyright (C) 1995-2008 Index Data + yazprefix=@prefix@ yaz_echo_cflags=no yaz_echo_libs=no @@ -68,7 +70,9 @@ while test $# -gt 0; do lib_thread=yes ;; icu) - lib_icu=yes + if test "$ICU_CPPFLAGS"; then + lib_icu=yes + fi ;; server) lib_thread=yes @@ -112,6 +116,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"