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 Nov 27, 2023
1 parent 662246b commit 6523a03
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,32 @@ 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 6523a03

Please sign in to comment.