GUACAMOLE-296: Revert manual addition of winpr-utils library.

This commit is contained in:
Nick Couchman 2017-11-06 12:20:25 -05:00
parent caedf26a06
commit b9f8e13d80
2 changed files with 2 additions and 5 deletions

View File

@ -506,7 +506,6 @@ fi
have_freerdp=disabled
RDP_LIBS=
WINPR_LIBS=
AC_ARG_WITH([rdp],
[AS_HELP_STRING([--with-rdp],
[support RDP @<:@default=check@:>@])],
@ -696,7 +695,7 @@ fi
# Check for stream support via WinPR
if test "x${have_freerdp}" = "xyes"
then
AC_CHECK_HEADER(winpr/stream.h,[WINPR_LIBS="$WINPR_LIBS -lwinpr-utils"],
AC_CHECK_HEADER(winpr/stream.h,,
[have_winpr=no,
AC_CHECK_DECL([stream_write_uint8],,
[AC_MSG_WARN([
@ -1016,7 +1015,6 @@ AM_CONDITIONAL([ENABLE_WINPR], [test "x${have_winpr}" = "xyes"])
AM_CONDITIONAL([ENABLE_RDP], [test "x${have_freerdp}" = "xyes"])
AC_SUBST(RDP_LIBS)
AC_SUBST(WINPR_LIBS)
#
# libssh2

View File

@ -185,8 +185,7 @@ guacai_cflags = \
guacai_ldflags = \
-module -avoid-version -shared \
@PTHREAD_LIBS@ \
@RDP_LIBS@ \
@WINPR_LIBS@
@RDP_LIBS@
guacai_libadd = \
@COMMON_LTLIB@ \