diff --git a/configure.ac b/configure.ac index a818fee6..9d36bb81 100644 --- a/configure.ac +++ b/configure.ac @@ -437,7 +437,6 @@ if test "x$with_rdp" != "xno" then have_winpr=yes have_freerdp=yes - have_disp=yes legacy_freerdp_extensions=no rdpsettings_interface=unknown rdpsettings_audioplayback=yes @@ -554,8 +553,7 @@ then [AC_DEFINE([HAVE_FREERDP_DISPLAY_UPDATE_SUPPORT],, [Whether FreeRDP supports the display update channel])] [AC_CHECK_MEMBERS([rdpSettings.SupportDisplayControl],,, - [[#include ]])], - have_disp=no, + [[#include ]])],, [#include #include ]) fi @@ -869,7 +867,6 @@ then fi AM_CONDITIONAL([LEGACY_FREERDP_EXTENSIONS], [test "x${legacy_freerdp_extensions}" = "xyes"]) -AM_CONDITIONAL([ENABLE_DISPLAY_UPDATE], [test "x${have_disp}" = "xyes"]) AM_CONDITIONAL([ENABLE_WINPR], [test "x${have_winpr}" = "xyes"]) AM_CONDITIONAL([ENABLE_RDP], [test "x${have_freerdp}" = "xyes"]) diff --git a/src/protocols/rdp/Makefile.am b/src/protocols/rdp/Makefile.am index 69492a16..3160b57a 100644 --- a/src/protocols/rdp/Makefile.am +++ b/src/protocols/rdp/Makefile.am @@ -33,6 +33,7 @@ libguac_client_rdp_la_SOURCES = \ rdp_bitmap.c \ rdp_cliprdr.c \ rdp_color.c \ + rdp_disp.c \ rdp_fs.c \ rdp_gdi.c \ rdp_glyph.c \ @@ -87,6 +88,7 @@ noinst_HEADERS = \ rdp_bitmap.h \ rdp_cliprdr.h \ rdp_color.h \ + rdp_disp.h \ rdp_fs.h \ rdp_gdi.h \ rdp_glyph.h \ @@ -110,12 +112,6 @@ guacsnd_sources += compat/winpr-stream.c guacdr_sources += compat/winpr-stream.c endif -# Add display update channel support, if supported by FreeRDP -if ENABLE_DISPLAY_UPDATE -noinst_HEADERS += rdp_disp.h -libguac_client_rdp_la_SOURCES += rdp_disp.c -endif - # # Main RDP client library #