diff options
| author | Justin Terry (VM) <juterry@microsoft.com> | 2017-09-21 16:13:05 -0700 |
|---|---|---|
| committer | jsorg71 <jay.sorg@gmail.com> | 2017-11-07 18:20:45 -0800 |
| commit | 50bd624cc49d7409f6f73b65aeae4cabdec3e7ee (patch) | |
| tree | 93efaaa410fb6bd279979bd1f590df407a22350f /configure.ac | |
| parent | 3d29b6ec768155b6eacf2846dbdb43eddde1d48c (diff) | |
| download | xrdp-proprietary-50bd624cc49d7409f6f73b65aeae4cabdec3e7ee.tar.gz xrdp-proprietary-50bd624cc49d7409f6f73b65aeae4cabdec3e7ee.zip | |
Implements XRDP over vsock
1. Implements the ability to use AV_VSOCK for the transport rather than TCP.
2. Updates the ini file to be able to conditionally turn this feature on.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aa9f51c4..d28ac034 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,9 @@ AC_ARG_ENABLE(pam, AS_HELP_STRING([--disable-pam], [Build PAM support (default: yes)]), [], [enable_pam=yes]) AM_CONDITIONAL(SESMAN_NOPAM, [test x$enable_pam != xyes]) +AC_ARG_ENABLE(vsock, AS_HELP_STRING([--enable-vsock], + [Build AF_VSOCK support (default: no)]), + [], [enable_vsock=no]) AC_ARG_ENABLE(ipv6, AS_HELP_STRING([--enable-ipv6], [Build IPv6 support (default: no, experimental)]), [], [enable_ipv6=no]) @@ -197,6 +200,15 @@ fi AC_SUBST(PAM_RULES) +if test "x$enable_vsock" = "xyes" +then + enable_vsock=yes + AC_CHECK_HEADERS([linux/socket.h linux/vm_sockets.h], + [AC_DEFINE([XRDP_ENABLE_VSOCK], 1, [Enable AF_VSOCK])], + [], + [#include <sys/socket.h>]) +fi + if test "x$enable_ipv6only" = "xyes" then enable_ipv6=yes |
