summaryrefslogtreecommitdiffstats
path: root/g10/Makefile.am
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 /g10/Makefile.am
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 'g10/Makefile.am')
-rw-r--r--g10/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/Makefile.am b/g10/Makefile.am
index c3f9d6f1e..e8e975342 100644
--- a/g10/Makefile.am
+++ b/g10/Makefile.am
@@ -54,7 +54,11 @@ endif
#noinst_PROGRAMS += gpgcompose
#endif
noinst_PROGRAMS += $(module_tests)
+if DISABLE_TESTS
+TESTS =
+else
TESTS = $(module_tests)
+endif
TESTS_ENVIRONMENT = \
abs_top_srcdir=$(abs_top_srcdir)