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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]