check if freerdp-devel is installed and use it

This commit is contained in:
Itamar Reis Peixoto 2010-11-21 00:14:38 -02:00
parent d7c82b28fa
commit 16b198d9f2
2 changed files with 5 additions and 2 deletions

View File

@ -43,6 +43,8 @@ then
fi
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])])

View File

@ -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)