diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4ff3412d3..c75bf1bed 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |