[Pcsclite-cvs-commit] CVS PCSC

CVS User rousseau ludovic.rousseau@free.fr
Mon, 28 Feb 2005 01:58:03 -0700


Update of /cvsroot/pcsclite/PCSC
In directory haydn:/tmp/cvs-serv28553

Modified Files:
	configure.in 
Log Message:
remove --enable-threadsafe since it is now useless


--- /cvsroot/pcsclite/PCSC/configure.in	2005/02/28 08:38:57	1.68
+++ /cvsroot/pcsclite/PCSC/configure.in	2005/02/28 08:58:03	1.69
@@ -70,15 +70,6 @@
  AC_MSG_ERROR([POSIX thread support required])
 ])
 
-dnl --enable-threadsafe
-AC_ARG_ENABLE(threadsafe,
-  AC_HELP_STRING([--enable-threadsafe],[enable client side thread safety]),
-[case "${enableval}" in
-  yes)	threadsafe=true ;;
-  no)	threadsafe=false ;;
-  *) AC_MSG_ERROR([bad value ${enableval} for --enable-threadsafe]) ;;
- esac], [threadsafe=true])
-
 LIBS="$PTHREAD_LIBS $LIBS"
 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 CC="$PTHREAD_CC"
@@ -269,8 +260,6 @@
 	AC_MSG_RESULT([enable ipcdir                 : /var/run (default)])
 fi
 
-AC_MSG_RESULT([enable threadsafe client      : $threadsafe])
-
 dnl --enable-extendedapdu
 AC_ARG_ENABLE(extendedapdu,
 	AC_HELP_STRING([--enable-extendedapdu], [support of extended APDU (for APDU  256B < size < 32KB)]),
@@ -288,11 +277,6 @@
   extended_apdu="#undef PCSCLITE_ENHANCED_MESSAGING"
 fi
 
-dnl warning about pthread
-if test x${threadsafe} = xtrue ; then
-  AC_DEFINE(USE_THREAD_SAFETY, 1, [enable client side thread safety.])
-fi
-
 CPPFLAGS="-I\${top_srcdir}/src $CPPFLAGS"
 
 dnl Setup dist stuff