[Pcsclite-cvs-commit] PCSC configure.in,1.49,1.50
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/PCSC
In directory haydn:/tmp/cvs-serv8854
Modified Files:
configure.in
Log Message:
the libpcsclite library does not compile and work without a thread library
even with --disable-threadsafe
Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/configure.in,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- configure.in 12 May 2004 07:53:39 -0000 1.49
+++ configure.in 7 Jun 2004 13:39:01 -0000 1.50
@@ -80,11 +80,10 @@
*) AC_MSG_ERROR([bad value ${enableval} for --enable-threadsafe]) ;;
esac], [threadsafe=true])
-if test x${threadsafe} = xtrue ; then
- LIBS="$PTHREAD_LIBS $LIBS"
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
- CC="$PTHREAD_CC"
-fi
+LIBS="$PTHREAD_LIBS $LIBS"
+CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+CC="$PTHREAD_CC"
+
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(PTHREAD_CFLAGS)
@@ -300,7 +299,6 @@
fi
AC_MSG_RESULT([enable threadsafe client : $threadsafe])
-AM_CONDITIONAL(PCSC_THR_SAFE, test x$threadsafe = xtrue)
dnl --enable-extendedapdu
AC_ARG_ENABLE(extendedapdu,
@@ -321,7 +319,6 @@
dnl warning about pthread
if test x${threadsafe} = xtrue ; then
- AC_MSG_RESULT([NOTE :: You must link pthread libraries with your app.])
AC_DEFINE(USE_THREAD_SAFETY, 1, [enable client side thread safety.])
fi