1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-23 01:22:45 +02:00

* configure.ac: Only check for libusb if we're building with card

support.  Noted by Gilles Espinasse.
This commit is contained in:
David Shaw 2006-12-21 17:51:36 +00:00
parent 68ea16cbfc
commit 6a0d191411
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-21 David Shaw <dshaw@jabberwocky.com>
* configure.ac: Only check for libusb if we're building with card
support. Noted by Gilles Espinasse.
2006-12-11 Werner Koch <wk@g10code.com>
* Makefile.am (DISTCLEANFILES): Removed g10defs.h.

View File

@ -1278,7 +1278,10 @@ AM_CONDITIONAL(ENABLE_BZIP2_SUPPORT,test x"$have_bz2" = "xyes")
AC_SUBST(ZLIBS)
# libusb allows us to use the integrated CCID smartcard reader driver.
GNUPG_CHECK_LIBUSB
# We don't need it if we don't have card support though.
if test "$card_support" = yes ; then
GNUPG_CHECK_LIBUSB
fi
# Check for readline support
GNUPG_CHECK_READLINE