Skip to content

Commit

Permalink
GUACAMOLE-1196: Add autoconf check for VNC SendExtDisplaySize.
Browse files Browse the repository at this point in the history
  • Loading branch information
necouchman committed Apr 3, 2024
1 parent 3d4f2ae commit 71faf08
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,33 @@ then

fi

#
# SendExtDesktopSize support within libVNCServer
#

if test "x${have_libvncserver}" = "xyes"
then

have_vnc_desktop_size=yes
AC_CHECK_DECL([SendExtDesktopSize],
[], [have_vnc_deesktop_size=no],
[[#include <rfb/rfbclient.h>]])

if test "x${have_vnc_desktop_size}" = "xno"
then
AC_MSG_WARN([
-------------------------------------------------------------
No support in libvncclient for SendExtDesktopSize.
Support for setting remote desktop size will not be present.
-------------------------------------------------------------])
else
AC_DEFINE([ENABLE_VNC_DESKTOP_SIZE],,
[Whether support for setting remote desktop size in VNC connections is enabled.])
fi

fi


#
# FreeRDP 2 (libfreerdp2, libfreerdp-client2, and libwinpr2)
#
Expand Down

0 comments on commit 71faf08

Please sign in to comment.