From e9410a4de52da8f1ba857f3ebaba52349c331077 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 28 Sep 2001 10:42:28 +0000 Subject: [PATCH] Bug fix: yaz-config print yazpthread when threads are unavailable. --- yaz-config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4