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