From: Adam Dickmeiss Date: Fri, 28 Sep 2001 10:42:28 +0000 (+0000) Subject: Bug fix: yaz-config print yazpthread when threads are unavailable. X-Git-Tag: YAZ.1.8~40 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=e9410a4de52da8f1ba857f3ebaba52349c331077;p=yaz-moved-to-github.git Bug fix: yaz-config print yazpthread when threads are unavailable. --- diff --git a/yaz-config.in b/yaz-config.in index ef737b9..1ccd01b 100644 --- a/yaz-config.in +++ b/yaz-config.in @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: yaz-config.in,v 1.7 2001-04-05 13:08:48 adam Exp $ +# $Id: yaz-config.in,v 1.8 2001-09-28 10:42:28 adam Exp $ yazprefix=@prefix@ yaz_echo_cflags=no yaz_echo_libs=no @@ -79,7 +79,7 @@ while test $# -gt 0; do shift done -if test "$lib_thread" = "yes"; then +if test "$lib_thread" = "yes" -a -n "@LIBTHREAD@"; then yazextralibs="@LIBTHREAD@ $yazextralibs" lyaz="-lyazthread -lyaz" else