build: disable TLS tests unless GNUTLS is enabled
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 31 Oct 2012 17:43:04 +0000 (10:43 -0700)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 31 Oct 2012 17:43:04 +0000 (10:43 -0700)
All of the TLS tests hard-depend on GNUTLS.  If glib-networking is built without
GNUTLS, then simply disable the TLS tests.

Makefile.am

index 0a54e1d..4cd21b0 100644 (file)
@@ -21,9 +21,8 @@ endif
 
 if HAVE_GNUTLS
 SUBDIRS += tls/gnutls
-endif
-
 SUBDIRS += tls/tests
+endif
 
 install-exec-hook:
        if test -n "$(GIO_QUERYMODULES)" -a -z "$(DESTDIR)"; then \