]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Don't run openpgpself if openpgp stuff wasn't built.
authorSimon Josefsson <simon@josefsson.org>
Wed, 7 May 2008 14:05:18 +0000 (16:05 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 7 May 2008 14:05:18 +0000 (16:05 +0200)
tests/Makefile.am

index b2ccc4ede10d01df289dd2b250d18730fe4879ee..777f949e69d4b776b327b6dd4866c6d0c964bf80 100644 (file)
@@ -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)