forked from team-unstablers/ulalaca-xrdp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
xrdp-automake.patch
58 lines (55 loc) · 1.43 KB
/
xrdp-automake.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
diff --git a/Makefile.am b/Makefile.am
index 334df878..ecca38cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,6 +39,12 @@ else
RFXCODECDIR =
endif
+if XRDP_ULALACA
+ULALACADIR = ulalaca
+else
+ULALACADIR =
+endif
+
SUBDIRS = \
common \
vnc \
@@ -57,6 +63,7 @@ SUBDIRS = \
xrdpapi \
pkgconfig \
$(XRDPVRDIR) \
+ $(ULALACADIR) \
tests \
tools
diff --git a/configure.ac b/configure.ac
index 015f81a8..f55cfe03 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
AM_INIT_AUTOMAKE([1.7.2 foreign])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC
+AC_PROG_CXX
AC_C_CONST
AC_PROG_LIBTOOL
@@ -118,6 +119,12 @@ AC_ARG_ENABLE(neutrinordp, AS_HELP_STRING([--enable-neutrinordp],
[Build neutrinordp module (default: no)]),
[], [enable_neutrinordp=no])
AM_CONDITIONAL(XRDP_NEUTRINORDP, [test x$enable_neutrinordp = xyes])
+
+AC_ARG_ENABLE(ulalaca, AS_HELP_STRING([--enable-ulalaca],
+ [Build ulalaca module (default: no)]),
+ [], [enable_ulalaca=no])
+AM_CONDITIONAL(XRDP_ULALACA, [test x$enable_ulalaca = xyes])
+
AC_ARG_ENABLE(jpeg, AS_HELP_STRING([--enable-jpeg],
[Build jpeg module (default: no)]),
[], [enable_jpeg=no])
@@ -484,6 +491,7 @@ AC_CONFIG_FILES([
Makefile
mc/Makefile
neutrinordp/Makefile
+ ulalaca/Makefile
pkgconfig/Makefile
pkgconfig/xrdp.pc
pkgconfig/xrdp-uninstalled.pc