[glib-networking/wip/tlssplit: 3/7] Add a generic HAVE_TLS flag to	build the tests
- From: Ignacio Casal Quinteiro <icq src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glib-networking/wip/tlssplit: 3/7] Add a generic HAVE_TLS flag to	build the tests
 
- Date: Mon, 18 Jan 2016 09:46:56 +0000 (UTC)
 
commit 8adc04d3ddff86da9e2e9ef2d28a168f4f268711
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
 Makefile.am  |    3 +++
 configure.ac |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8069519..d5ec8c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,6 +23,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 7a165e2..7e38beb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,6 +157,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]