[glib-networking/wip/tlssplit: 8/10] Add a generic HAVE_TLS flag to build the tests



commit ac9f8ce018e5b7bd34a0a6a69b25901430590f22
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Aug 13 09:02:40 2015 +0200

    Add a generic HAVE_TLS flag to build the tests
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761092

 Makefile.am  |    3 +++
 configure.ac |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a9826c0..9e04e2e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,9 @@ endif
 
 if HAVE_GNUTLS
 SUBDIRS += tls/gnutls
+endif
+
+if HAVE_TLS
 SUBDIRS += tls/tests
 endif
 
diff --git a/configure.ac b/configure.ac
index c6f49ca..78d700a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,11 @@ AM_CONDITIONAL(HAVE_PKCS11, [test "$with_pkcs11" = "yes"])
 AC_SUBST(PKCS11_CFLAGS)
 AC_SUBST(PKCS11_LIBS)
 
+dnl ***********************************
+dnl *** Do we have any TLS backend? ***
+dnl ***********************************
+AM_CONDITIONAL(HAVE_TLS, [test "$with_gnutls" = "yes"])
+
 dnl ************************************
 dnl *** Enable lcov coverage reports ***
 dnl ************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]