diff options
-rw-r--r-- | Makefile.am | 8 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 134afce4..5193171f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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) diff --git a/configure.ac b/configure.ac index 610b7e19..6dd4052e 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |