summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index da9e5d2277..a830bb8d22 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -51,14 +51,18 @@ endif
noinst_LTLIBRARIES = libutils.la
libutils_la_SOURCES = utils.h utils.c
-ctests = simple openssl gc set_pkcs12_cred certder mpi \
+ctests = simple gc set_pkcs12_cred certder mpi \
certificate_set_x509_crl dn parse_ca moredn crypto_rng mini \
finished hostname-check cve-2008-4989 pkcs12_s2k
+
+if ENABLE_OPENSSL
+ctests += openssl
openssl_LDADD = $(LDADD) ../libextra/libgnutls-openssl.la
-openpgp_keyring_LDADD = $(LDADD) ../libextra/libgnutls-extra.la
+endif
if ENABLE_OPENPGP
ctests += openpgp-keyring pgps2kgnu
+openpgp_keyring_LDADD = $(LDADD) ../libextra/libgnutls-extra.la
endif
if HAVE_FORK