summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-05-07 16:05:18 +0200
committerSimon Josefsson <simon@josefsson.org>2008-05-07 16:05:18 +0200
commit64382616861761860021d88bf165832ae632e4ea (patch)
tree5e90a41bde519d29de03a68bbe216d81e3a937c9 /tests
parente91acdf32910381cbd4fd8908c0625a187488bae (diff)
downloadgnutls-64382616861761860021d88bf165832ae632e4ea.tar.gz
Don't run openpgpself if openpgp stuff wasn't built.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b2ccc4ede1..777f949e69 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -39,13 +39,21 @@ libutils_la_SOURCES = utils.h utils.c
ctests = simple openssl gc set_pkcs12_cred certder \
certificate_set_x509_crl dn parse_ca moredn crypto_rng
openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
+
if HAVE_FORK
-ctests += openpgpself x509self x509signself x509dn anonself pskself dhepskself tlsia resume
+ctests += x509self x509signself x509dn anonself pskself dhepskself tlsia resume
+
+if ENABLE_OPENPGP
+ctests += openpgpself
+endif
+
tlsia_LDADD = ../libextra/libgnutls-extra.la $(LDADD) @LTLIBREADLINE@
endif
+
if ENABLE_OPRFI
ctests += oprfi
endif
+
gc_LDADD = $(LDADD) $(LIBGCRYPT_LIBS)
check_PROGRAMS = $(ctests)