summaryrefslogtreecommitdiffstats
path: root/sm
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-08-20 10:54:17 +0200
committerWerner Koch <wk@gnupg.org>2020-08-20 10:54:17 +0200
commit32aac55875f324f8c3d85dad8483604eae65e3e8 (patch)
tree4dd9ebdce7ea640757ba7ff13f1e45456898f970 /sm
parentdoc: Describe the relation between pubring.gpg and pubring.kbx (diff)
downloadgnupg2-32aac55875f324f8c3d85dad8483604eae65e3e8.tar.xz
gnupg2-32aac55875f324f8c3d85dad8483604eae65e3e8.zip
build: New configure option --disable-tests
* configure.ac: Add option --disable-tests. Print warnings in the summary. (DISABLE_TESTS): New am_conditional. -- GnuPG-bug-id: 4960
Diffstat (limited to 'sm')
-rw-r--r--sm/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/sm/Makefile.am b/sm/Makefile.am
index 4931dabba..33426f5ef 100644
--- a/sm/Makefile.am
+++ b/sm/Makefile.am
@@ -22,7 +22,11 @@ EXTRA_DIST = ChangeLog-2011 gpgsm-w32info.rc
bin_PROGRAMS = gpgsm
noinst_PROGRAMS = $(module_tests) $(module_maint_tests)
+if DISABLE_TESTS
+TESTS =
+else
TESTS = $(module_tests)
+endif
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)