From af8ef9f526546acc6682cb8ea591f7dad7f849d8 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 9 Apr 2017 23:17:01 -0700 Subject: [PATCH] GUACAMOLE-40: Test whether FreeRDP supports RD gateways and/or load balancing. --- configure.ac | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/configure.ac b/configure.ac index c9391ede..a61534a4 100644 --- a/configure.ac +++ b/configure.ac @@ -609,6 +609,24 @@ then #include ]) fi +# Support for RDP gateways +if test "x${have_freerdp}" = "xyes" +then + AC_CHECK_MEMBERS([rdpSettings.GatewayEnabled], + [AC_DEFINE([HAVE_FREERDP_GATEWAY_SUPPORT],, + [Whether FreeRDP supports RDP gateways])],, + [[#include ]]) +fi + +# Support for load balancing via connection brokers +if test "x${have_freerdp}" = "xyes" +then + AC_CHECK_MEMBERS([rdpSettings.LoadBalanceInfo], + [AC_DEFINE([HAVE_FREERDP_LOAD_BALANCER_SUPPORT],, + [Whether FreeRDP supports load balancers])],, + [[#include ]]) +fi + # Support for "PubSub" event system if test "x${have_freerdp}" = "xyes" then