#!/bin/sh
-# $Id: yaz-config.in,v 1.33 2008-01-16 11:30:51 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
PTHREAD_CFLAGS="@PTHREAD_CFLAGS@"
ICU_LIBS="@ICU_LIBS@"
ICU_CPPFLAGS="@ICU_CPPFLAGS@"
-
+SSL_LIBS="@SSL_LIBS@"
yazextralibs="@LIBS@"
YAZVERSION=@VERSION@
[--cflags]
[--comp]
Libraries:
- threads
+ threads icu server
EOF
exit $1
}
lib_thread=yes
;;
icu)
- if test "$ICU_LIBS"; then
+ if test "$ICU_CPPFLAGS"; then
lib_icu=yes
fi
;;
else
YAZLIB="-L${yaz_build_root}/src/.libs $lyaz"
fi
- YAZLIB="$YAZLIB $yazextralibs"
+ YAZLIB="$YAZLIB ${SSL_LIBS} $yazextralibs"
YAZLALIB="${yaz_build_root}/src/libyaz.la"
if test "$lib_server" = "yes"; then