Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/rdesktop/files: rdesktop-1.6.0-smartcard_configure.patch
Date: Sun, 05 Jul 2009 14:26:23
Message-Id: E1MNSfd-0006Sc-IM@stork.gentoo.org
1 voyageur 09/07/05 14:26:21
2
3 Added: rdesktop-1.6.0-smartcard_configure.patch
4 Log:
5 Fix autoconf logic on enabling pcsc-lite, bug #275972
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/rdesktop/files/rdesktop-1.6.0-smartcard_configure.patch?rev=1.1&content-type=text/plain
13
14 Index: rdesktop-1.6.0-smartcard_configure.patch
15 ===================================================================
16 --- configure.ac.orig 2009-07-05 16:13:23.000000000 +0200
17 +++ configure.ac 2009-07-05 16:19:39.000000000 +0200
18 @@ -108,7 +108,10 @@
19 AC_ARG_ENABLE(smartcard,
20 [ --enable-smartcard Enables smart-card support.
21 ],
22 - [
23 + [
24 + if test "$enableval" = no; then
25 + WITH_SCARD=0
26 + else
27 case "$OSTYPE" in
28 darwin*)
29 AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0])
30 @@ -143,6 +146,7 @@
31 [AC_MSG_RESULT(yes) AC_DEFINE(WITH_PCSC120, 1, [old version of PCSC])],
32 [AC_MSG_RESULT(no)]
33 )
34 + fi
35 ])
36
37 AC_SUBST(SCARDOBJ)