* Makefile.am: Add OPENSC_LIBS to all programs.
authorWerner Koch <wk@gnupg.org>
Mon, 18 Aug 2003 17:34:28 +0000 (17:34 +0000)
committerWerner Koch <wk@gnupg.org>
Mon, 18 Aug 2003 17:34:28 +0000 (17:34 +0000)
commit0506e4ebec8db4f4b2f5ecdb3122abca8f70b670
treedebc0b339fb8fd0c97f9c219eea1dbdf3782f476
parent6bdd855d1120afd6f83885ca6ea7a3a4a366b3fe
* Makefile.am: Add OPENSC_LIBS to all programs.

* scdaemon.c, scdaemon.h: New option --disable-opensc.
* card.c (card_open): Implement it.
* apdu.c (open_osc_reader, osc_send_apdu): New.
(apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not
disabled.
(error_string) [HAVE_OPENSC]: Use sc_strerror.
(send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.
ChangeLog
NEWS
acinclude.m4
configure.ac
scd/ChangeLog
scd/Makefile.am
scd/apdu.c
scd/scdaemon.c
scd/scdaemon.h