From 4cd9cc8a5d0b6cb416bdc12211bee38645f89cea Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Tue, 10 Feb 2015 17:57:34 +0100 Subject: configure: Check whether use GTLs --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) 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@:>@])], -- cgit v1.2.3