do not build xrdpvr unless --enable-xrdpvr is used

This commit is contained in:
Jay Sorg 2012-11-10 17:53:08 -08:00
parent 55f0bfd0b9
commit 585beebf3e
2 changed files with 12 additions and 2 deletions

View File

@ -6,6 +6,12 @@ else
FREERDPDIR = FREERDPDIR =
endif endif
if XRDP_XRDPVR
XRDPVRDIR = xrdpvr
else
XRDPVRDIR =
endif
SUBDIRS = \ SUBDIRS = \
common \ common \
vnc \ vnc \
@ -21,4 +27,4 @@ SUBDIRS = \
instfiles \ instfiles \
genkeymap \ genkeymap \
xrdpapi \ xrdpapi \
xrdpvr $(XRDPVRDIR)

View File

@ -47,6 +47,10 @@ AC_ARG_ENABLE(fuse, AS_HELP_STRING([--enable-fuse],
[Build fuse(clipboard file / drive redir) (default: no)]), [Build fuse(clipboard file / drive redir) (default: no)]),
[fuse=true], [fuse=false]) [fuse=true], [fuse=false])
AM_CONDITIONAL(XRDP_FUSE, [test x$fuse = xtrue]) AM_CONDITIONAL(XRDP_FUSE, [test x$fuse = xtrue])
AC_ARG_ENABLE(xrdpvr, AS_HELP_STRING([--enable-xrdpvr],
[Build xrdpvr module (default: no)]),
[xrdpvr=true], [xrdpvr=false])
AM_CONDITIONAL(XRDP_XRDPVR, [test x$xrdpvr = xtrue])
AM_CONDITIONAL(GOT_PREFIX, test "x${prefix}" != "xNONE"]) AM_CONDITIONAL(GOT_PREFIX, test "x${prefix}" != "xNONE"])