$NetBSD: patch-configure,v 1.2 2012/12/14 23:50:36 pettai Exp $

Make sure libpscslite.so is not linked against -lphtread on NetBSD, as
loading libpthread.so through dlopen() is now forbidden

--- configure.orig	2012-12-11 21:43:14.000000000 +0000
+++ configure
@@ -654,6 +654,8 @@ LIBTOOL
 PTHREAD_CFLAGS
 PTHREAD_LIBS
 PTHREAD_CC
+LIBPCSC_PTHREAD_CFLAGS
+LIBPCSC_PTHREAD_LIBS
 acx_pthread_config
 PKG_CONFIG_LIBDIR
 PKG_CONFIG_PATH
@@ -13327,7 +13329,7 @@ fi
 
 
 # disable libudev check is USB is not used
-if test "$use_usb" == "no"; then
+if test "$use_usb" = "no"; then
 	use_libudev="no"
 fi
 
@@ -13484,7 +13486,7 @@ fi
 
 
 # disable libusb check is USB is not used
-if test "$use_usb" == "no"; then
+if test "$use_usb" = "no"; then
 	use_libusb="no"
 fi
 
