Description: fix FTBFS with gcc-14
 Remove the bogus check for pcsc-lite version.
 Any "recent" version of pcsc-lite should be ok.
Author: Ludovic Rousseau <rousseau@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075084

--- a/check
+++ b/check
@@ -81,64 +81,6 @@
 		exit 1
 fi
 
-# check the version of pcsc-lite
-ac_version=\"1.2.9-beta7\"
-ac_hdr=pcsclite.h
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo -n "checking for pcsc-lite version >= $ac_version... "
-echo "checking for pcsc-lite version >= $ac_version... " >&5
-cat > conftest.${ac_ext} << EOF
-#include <string.h>
-#include <$ac_hdr>
-int main() {
-if (strcmp(PCSCLITE_VERSION_NUMBER, $ac_version) < 0)
-{
-	char cpcsc[] = PCSCLITE_VERSION_NUMBER;
-	char cdriver[] = $ac_version;
-
-	/* compare "1.2.9-beta" */
-	if (strncmp(cpcsc, cdriver, 10) == 0)
-	{
-		int p, v;
-		p = atoi(cpcsc+10);
-		v = atoi(cdriver+10);
-
-		if (v<=p)
-			return 0;
-	}
-	return 1;
-}
-else
-	return 0;
-}
-EOF
-if { (eval $ac_link) 2>&5; } && ./conftest; then
-  eval "ac_cv_pcsc_version=yes"
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  eval "ac_cv_pcsc_version=no"
-fi
-rm -f conftest*
-
-if eval "test \"`echo '$ac_cv_'pcsc_version`\" = yes"; then
-  echo "yes"
-  :
-else
-  echo "no"
-fi
-
-if [ $ac_cv_pcsc_version = "no" ]
-then
-	cat << EOF
-
-WRONG VERSION OF PCSC-LITE!
-You can get it from http://pcsclite.alioth.debian.org/ or from a package of
-your operating system distribution
-EOF
-	exit 1
-fi
-
 # if we test for a GemPC410 we stop here
 if [ "$1" = 410 ]
 then
