summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-02-10 17:57:34 +0100
committerPavel Grunt <pgrunt@redhat.com>2015-02-11 17:35:19 +0100
commit4cd9cc8a5d0b6cb416bdc12211bee38645f89cea (patch)
tree852023ee8b37f338467afba8e226003e6871f434
parent744632f9552c502735f9d437e71982fbe81728d0 (diff)
configure: Check whether use GTLsgtls
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4e88dec..5c46b6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,13 @@ AC_SUBST(SSL_CFLAGS)
AC_SUBST(SSL_LIBS)
SPICE_GLIB_REQUIRES="${SPICE_GLIB_REQUIRES} openssl"
+AC_ARG_WITH([gtls],
+ [AS_HELP_STRING([--with-gtls=@<:@yes/no@:>@], [use GTLs for secure communication instead of openSSL @<:@default=no@:>@])],
+ [],
+ [with_gtls="no"])
+AS_IF([test "x$with_sasl" != "xno"],
+ AC_DEFINE([USE_GTLS], 1, [whether use GTLs for secure communication instead of openSSL]))
+
dnl Cyrus SASL
AC_ARG_WITH([sasl],
[AS_HELP_STRING([--with-sasl=@<:@yes/no/auto@:>@], [use cyrus SASL for authentication @<:@default=auto@:>@])],