summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2010-11-19 21:19:39 -0800
committerJay Sorg <jay.sorg@gmail.com>2010-11-19 21:19:39 -0800
commit8a4a729a1b31783cab14da477dd9dcaac9701228 (patch)
tree7ae141f1b8ec18d951def9476534139e73c9f5c2
parent4d4f80bfc43e9c901a5609bd8bd78822b7c607bd (diff)
downloadxrdp-proprietary-8a4a729a1b31783cab14da477dd9dcaac9701228.tar.gz
xrdp-proprietary-8a4a729a1b31783cab14da477dd9dcaac9701228.zip
added --enable-freerdp configure option
-rw-r--r--Makefile.am8
-rw-r--r--configure.ac4
2 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9605bad6..61ea08e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,11 +1,17 @@
+if XRDP_FREERDP
+FREERDPDIR = freerdp
+else
+FREERDPDIR =
+endif
+
SUBDIRS = \
common \
vnc \
rdp \
xup \
mc \
- freerdp \
+ $(FREERDPDIR) \
libxrdp \
xrdp \
sesman \
diff --git a/configure.ac b/configure.ac
index 5861cc74..c7759631 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,10 @@ AC_ARG_ENABLE(xrdpdebug, AS_HELP_STRING([--enable-xrdpdebug],
[Build debug (default: no)]),
[xrdpdebug=true], [xrdpdebug=false])
AM_CONDITIONAL(XRDP_DEBUG, [test x$xrdpdebug = xtrue])
+AC_ARG_ENABLE(freerdp, AS_HELP_STRING([--enable-freerdp],
+ [Build freerdp module (default: no)]),
+ [freerdp=true], [freerdp=false])
+AM_CONDITIONAL(XRDP_FREERDP, [test x$freerdp = xtrue])
# checking for openssl
AC_CHECK_HEADER([openssl/rc4.h], [],