Check for support for streams via winpr.

This commit is contained in:
Michael Jumper 2013-07-16 19:22:03 -07:00
parent 873493a2de
commit 4eccb8c4d5

View File

@ -243,6 +243,11 @@ AC_CHECK_LIB([freerdp-codec], [freerdp_image_convert],
[RDP_LIBS="$RDP_LIBS -lfreerdp-codec"], [RDP_LIBS="$RDP_LIBS -lfreerdp-codec"],
[have_freerdp=no]) [have_freerdp=no])
# Check for stream support via WinPR
AC_CHECK_HEADER(winpr/stream.h,, # <-- stable-1.1
AC_CHECK_LIB([freerdp-utils], [stream_write_uint8],, # <-- stable-1.0
[have_freerdp=no]))
AM_CONDITIONAL([ENABLE_RDP], [test "x${have_freerdp}" = "xyes"]) AM_CONDITIONAL([ENABLE_RDP], [test "x${have_freerdp}" = "xyes"])
AC_SUBST(RDP_LIBS) AC_SUBST(RDP_LIBS)