mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Allow disabling of card support.
* configure.ac: Add option --disable-card-support. Also add am_conditional and do not build scd if card support is enabled.
This commit is contained in:
parent
357b142e72
commit
8e0ba4ecd3
2 changed files with 25 additions and 5 deletions
|
@ -42,6 +42,12 @@ else
|
|||
bzip2_source =
|
||||
endif
|
||||
|
||||
if ENABLE_CARD_SUPPORT
|
||||
card_source = card-util.c
|
||||
else
|
||||
card_source =
|
||||
endif
|
||||
|
||||
if HAVE_W32_SYSTEM
|
||||
resource_objs += gpg-w32info.o
|
||||
endif
|
||||
|
@ -110,7 +116,7 @@ gpg2_SOURCES = gpg.c \
|
|||
call-dirmngr.c call-dirmngr.h \
|
||||
photoid.c photoid.h \
|
||||
call-agent.c call-agent.h \
|
||||
card-util.c \
|
||||
$(card_source) \
|
||||
exec.c exec.h
|
||||
|
||||
gpgv2_SOURCES = gpgv.c \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue