From 58b63ab7f1eec70c421b42a509f13dbc08a558ad Mon Sep 17 00:00:00 2001 From: FORT David Date: Sun, 1 May 2016 23:32:07 +0200 Subject: rdp: allow to compile against FreeRDP 2.0 FreeRDP 2.0 is about to be released, this allows to compile against this version. The detection is adjusted to prefer FreeRDP 2 against version 1.x. Signed-off-by: David Fort Reviewed-by: Quentin Glidic Reviewed-by: Bryce Harrington --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index c49c632a..e1300b45 100644 --- a/configure.ac +++ b/configure.ac @@ -238,7 +238,10 @@ AM_CONDITIONAL([ENABLE_RDP_COMPOSITOR], [test x$enable_rdp_compositor = xyes]) if test x$enable_rdp_compositor = xyes; then AC_DEFINE([BUILD_RDP_COMPOSITOR], [1], [Build the RDP compositor]) - PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0]) + PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp2 >= 2.0.0], + [], + [PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0],[])] + ) SAVED_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $RDP_COMPOSITOR_CFLAGS" -- cgit v1.2.1