From 61fde22b41b79778500f8e92f24b886c168b2d49 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 9 Feb 2015 16:24:00 -0800 Subject: [PATCH] GUAC-1005: Include libfreerdp-core in test for freerdp_channels_new(). The function is not always included in libfreerdp-client, and its absence can result in libfreerdp-client not being linked in. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ff69e303..e358c41b 100644 --- a/configure.ac +++ b/configure.ac @@ -400,14 +400,15 @@ then [RDP_LIBS="$RDP_LIBS -lfreerdp-cache"]) fi -# libfreerdp-channels (1.0) / libfreerdp-client (1.1) +# libfreerdp-channels (1.0) / libfreerdp-client + libfreerdp-core (1.1) if test "x${have_freerdp}" = "xyes" then AC_CHECK_LIB([freerdp-client], [freerdp_channels_new], [RDP_LIBS="$RDP_LIBS -lfreerdp-client"], [AC_CHECK_LIB([freerdp-channels], [freerdp_channels_new], [RDP_LIBS="$RDP_LIBS -lfreerdp-channels" - legacy_freerdp_extensions=yes])]) + legacy_freerdp_extensions=yes])], + [-lfreerdp-core]) fi # libfreerdp-utils