diff options
author | Werner Koch <[email protected]> | 2003-09-02 19:06:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-09-02 19:06:34 +0000 |
commit | 936250aac9d87f464e8e4c5958d54e9ac405c878 (patch) | |
tree | 6ab4aa6a1eadbbd486327530236635d9f0563525 /configure.ac | |
parent | 2003-08-26 Timo Schulz <[email protected]> (diff) | |
download | gnupg-936250aac9d87f464e8e4c5958d54e9ac405c878.tar.gz gnupg-936250aac9d87f464e8e4c5958d54e9ac405c878.zip |
* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.
* scdaemon.c, scdaemon.h: New option --pcsc-ccid.
* ccid-driver.c, ccid-driver.h: New but far from being useful.
* Makefile.am: Add above.
* apdu.c: Add support for that ccid driver.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7a7570eae..591d5df53 100644 --- a/configure.ac +++ b/configure.ac @@ -376,6 +376,19 @@ AM_PATH_LIBASSUAN("$NEED_LIBASSUAN_VERSION", # AM_PATH_KSBA("$NEED_KSBA_VERSION",have_ksba=yes,have_ksba=no) +# +# libusb allows us to use the integrated CCID smartcard reader driver. + +# Note, that we need the CVS version. FIXME: libusb should have a +# regular check as the other libraries do. + +AC_CHECK_LIB(usb, usb_find_device, + [ LIBUSB_LIBS="$LIBUSB_LIBS -lusb" + AC_DEFINE(HAVE_LIBUSB,1, + [defined if libusb is available]) + ]) +AC_SUBST(LIBUSB_LIBS) + # # OpenSC is needed by the SCdaemon - if it is not availbale we can only |