[Spice-devel] [spice-common] configure: disable smartcard support by default

Fabiano Fidêncio fabiano at fidencio.org
Sat Jan 12 13:02:00 PST 2013


spice and spice-common should be consistent about the libraries checking.
---
 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c4b0f08..74e989e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,9 +35,10 @@ AC_SUBST(PIXMAN_CFLAGS)
 
 AC_ARG_ENABLE([smartcard],
   AS_HELP_STRING([--enable-smartcard=@<:@yes/no@:>@],
-                 [Enable smartcard support @<:@default=yes@:>@]),
+                 [Enable smartcard support @<:@default=no@:>@]),
   [],
-  [enable_smartcard="yes"])
+  [enable_smartcard="no"])
+AS_IF([test x"$enable_smartcard" != "xno"], [enable_smartcard="yes"])
 
 if test "x$enable_smartcard" = "xno"; then
   AM_CONDITIONAL(WITH_SMARTCARD, false)
-- 
1.8.0.2



More information about the Spice-devel mailing list