summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-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@:>@])],