#!/bin/sh
-# $Id: yaz-config.in,v 1.9 2001-10-05 13:55:17 adam Exp $
+# $Id: yaz-config.in,v 1.10 2001-10-15 20:37:08 adam Exp $
yazprefix=@prefix@
yaz_echo_cflags=no
yaz_echo_libs=no
shift
done
-if test "$lib_thread" = "yes" -a -n "@LIBTHREAD@"; then
+if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then
yazextralibs="@LIBTHREAD@ $yazextralibs"
lyaz="-lyazthread -lyaz"
else
YAZTAB=${yaz_src_root}/tab
YAZBIN=${yaz_build_root}/bin
YAZLIB="-L${yaz_build_root}/lib/.libs $lyaz $yazextralibs"
- if test "$lib_thread" = "yes"; then
+ if test "$lib_thread" = "yes" -a -n "@CFLAGSTHREADS@"; then
YAZLALIB="${yaz_build_root}/lib/libyazthread.la ${yaz_build_root}/lib/libyaz.la $yazextralibs"
else
YAZLALIB="${yaz_build_root}/lib/libyaz.la $yazextralibs"