You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by GitBox <gi...@apache.org> on 2019/03/24 20:12:53 UTC

[GitHub] [guacamole-server] necouchman commented on a change in pull request #218: GUACAMOLE-296: Add checks for Stream functions in winpr libraries.

necouchman commented on a change in pull request #218: GUACAMOLE-296: Add checks for Stream functions in winpr libraries.
URL: https://github.com/apache/guacamole-server/pull/218#discussion_r268450539
 
 

 ##########
 File path: configure.ac
 ##########
 @@ -719,6 +720,31 @@ then
                                   [#include <freerdp/utils/stream.h>])])
 fi
 
+# Find location of Stream_New and Stream_free
+if test "x${have_freerdp}" = "xyes" -a "x${have_winpr}" = "xyes"
+then
+    AC_CHECK_LIB([winpr], [Stream_New, Stream_Free],
+                 [WINPR_LIBS="$WINPR_LIBS -lwinpr"],
+                 [AC_CHECK_LIB([winpr-utils], [Stream_New, Stream_Free],
+                               [WINPR_LIBS="$WINPR_LIBS -lwinpr-utils"],
+                               [AC_MSG_WARN([
+  ------------------------------------------
+  Unable to locate stream functions in winpr
+  libraries.  RDP will be disabled.
+  ------------------------------------------])
+                                    have_freerdp=no])])
+fi
+
+if test "x${have_freerdp}" = "xyes"
+then
+    AC_CHECK_LIB([freerdp-client], [freerdp_channels_new],
 
 Review comment:
   Haha - oops.  I think I may have copied it down for referenced.  Removed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services