projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check ICU after Libxml2 availability
[yaz-moved-to-github.git]
/
yaz-config.in
diff --git
a/yaz-config.in
b/yaz-config.in
index
76b9152
..
cec9911
100644
(file)
--- a/
yaz-config.in
+++ b/
yaz-config.in
@@
-1,5
+1,5
@@
#!/bin/sh
#!/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
yazprefix=@prefix@
yaz_echo_cflags=no
yaz_echo_libs=no
@@
-68,7
+68,9
@@
while test $# -gt 0; do
lib_thread=yes
;;
icu)
lib_thread=yes
;;
icu)
- lib_icu=yes
+ if test "$ICU_CPPFLAGS"; then
+ lib_icu=yes
+ fi
;;
server)
lib_thread=yes
;;
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_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"
YAZLALIB="$YAZLALIB $yazextralibs"
YAZINC="-I${yaz_src_root}/include $YAZINC"