[Spice-devel] [PATCH spice-common 2/2] Use new libcacard.h

Marc-André Lureau marcandre.lureau at gmail.com
Mon Nov 23 23:43:54 PST 2015


This require bumping libcacard requirement, which shouldn't be
an issue as soon as it is released.

Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
---
 common/messages.h | 2 +-
 m4/spice-deps.m4  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/messages.h b/common/messages.h
index 5f5de54..a59a1c3 100644
--- a/common/messages.h
+++ b/common/messages.h
@@ -39,7 +39,7 @@
 #include <spice/macros.h>
 
 #ifdef USE_SMARTCARD
-#include <vscard_common.h>
+#include <libcacard.h>
 #endif
 
 #include "draw.h"
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index cb2b4c0..726c047 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -70,7 +70,7 @@ AC_DEFUN([SPICE_CHECK_SMARTCARD], [
 
     have_smartcard=no
     if test "x$enable_smartcard" != "xno"; then
-      PKG_CHECK_MODULES([SMARTCARD], [libcacard >= 0.1.2], [have_smartcard=yes], [have_smartcard=no])
+      PKG_CHECK_MODULES([SMARTCARD], [libcacard >= 2.5.1], [have_smartcard=yes], [have_smartcard=no])
       if test "x$enable_smartcard" != "xauto" && test "x$have_smartcard" = "xno"; then
         AC_MSG_ERROR("Smartcard support requested but libcacard could not be found")
       fi
-- 
2.5.0



More information about the Spice-devel mailing list