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 =
endif
if XRDP_XRDPVR
XRDPVRDIR = xrdpvr
else
XRDPVRDIR =
endif
SUBDIRS = \
common \
vnc \
@ -21,4 +27,4 @@ SUBDIRS = \
instfiles \
genkeymap \
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)]),
[fuse=true], [fuse=false])
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"])
@ -122,7 +126,7 @@ AC_CONFIG_FILES([Makefile
instfiles/pam.d/Makefile
genkeymap/Makefile
xrdpapi/Makefile
xrdpvr/Makefile
xrdpvr/Makefile
])
# fontdump/Makefile
# xrdp/cursors/Makefile