@ -43,6 +43,8 @@ then
fi
AS_IF([test "x$enable_freerdp" = "xyes"], [PKG_CHECK_MODULES(FREERDP, freerdp >= 0.8.1) ], [] )
# checking for Xlib, Xfixes
AC_CHECK_HEADER([X11/Xlib.h], [],
[AC_MSG_ERROR([please install libx11-dev or libX11-devel])])
@ -8,7 +8,7 @@ AM_CFLAGS = \
INCLUDES = \
-I$(top_srcdir)/common \
-I$(top_srcdir)/../freerdp/include/freerdp
$(FREERDP_CFLAGS)
lib_LTLIBRARIES = \
libxrdpfreerdp.la
@ -16,4 +16,5 @@ lib_LTLIBRARIES = \
libxrdpfreerdp_la_SOURCES = xrdp-freerdp.c
libxrdpfreerdp_la_LIBADD = \
$(top_srcdir)/common/libcommon.la
$(top_srcdir)/common/libcommon.la \
$(FREERDP_LIBS)