check if freerdp-devel is installed and use it

ulab-original
Itamar Reis Peixoto 14 years ago
parent d7c82b28fa
commit 16b198d9f2

@ -43,6 +43,8 @@ then
fi fi
fi fi
AS_IF([test "x$enable_freerdp" = "xyes"], [PKG_CHECK_MODULES(FREERDP, freerdp >= 0.8.1) ], [] )
# checking for Xlib, Xfixes # checking for Xlib, Xfixes
AC_CHECK_HEADER([X11/Xlib.h], [], AC_CHECK_HEADER([X11/Xlib.h], [],
[AC_MSG_ERROR([please install libx11-dev or libX11-devel])]) [AC_MSG_ERROR([please install libx11-dev or libX11-devel])])

@ -8,7 +8,7 @@ AM_CFLAGS = \
INCLUDES = \ INCLUDES = \
-I$(top_srcdir)/common \ -I$(top_srcdir)/common \
-I$(top_srcdir)/../freerdp/include/freerdp $(FREERDP_CFLAGS)
lib_LTLIBRARIES = \ lib_LTLIBRARIES = \
libxrdpfreerdp.la libxrdpfreerdp.la
@ -16,4 +16,5 @@ lib_LTLIBRARIES = \
libxrdpfreerdp_la_SOURCES = xrdp-freerdp.c libxrdpfreerdp_la_SOURCES = xrdp-freerdp.c
libxrdpfreerdp_la_LIBADD = \ libxrdpfreerdp_la_LIBADD = \
$(top_srcdir)/common/libcommon.la $(top_srcdir)/common/libcommon.la \
$(FREERDP_LIBS)

Loading…
Cancel
Save