diff options
| -rw-r--r-- | Makefile.am | 8 | ||||
| -rw-r--r-- | configure.ac | 6 | ||||
| -rw-r--r-- | xrdp/Makefile.am | 2 |
3 files changed, 14 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 52ea2e61..a6ddaf1f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,6 +33,12 @@ else XRDPVRDIR = endif +if XRDP_PAINTER +PAINTERDIR = libpainter +else +PAINTERDIR = +endif + if XRDP_RFXCODEC RFXCODECDIR = librfxcodec else @@ -40,7 +46,6 @@ RFXCODECDIR = endif SUBDIRS = \ - libpainter \ common \ vnc \ rdp \ @@ -48,6 +53,7 @@ SUBDIRS = \ mc \ $(NEUTRINORDPDIR) \ libxrdp \ + $(PAINTERDIR) \ $(RFXCODECDIR) \ xrdp \ sesman \ diff --git a/configure.ac b/configure.ac index 270ff08d..5c73168a 100644 --- a/configure.ac +++ b/configure.ac @@ -125,6 +125,12 @@ AC_ARG_ENABLE(painter, AS_HELP_STRING([--enable-painter], [], [enable_painter=no]) AM_CONDITIONAL(XRDP_PAINTER, [test x$enable_painter = xyes]) +# Don't fail without working nasm if rfxcodec is not enabled +if test "x$enable_rfxcodec" != xyes; then + with_simd=no + export with_simd +fi + # Check if -ldl is needed to use dlopen() DLOPEN_LIBS= AC_CHECK_FUNC(dlopen, [], diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am index 8e22d182..f39610a0 100644 --- a/xrdp/Makefile.am +++ b/xrdp/Makefile.am @@ -36,7 +36,7 @@ endif if XRDP_PAINTER AM_CPPFLAGS += -DXRDP_PAINTER AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include -XRDP_EXTRA_LIBS += $(top_srcdir)/libpainter/src/.libs/libpainter.a +XRDP_EXTRA_LIBS += $(top_builddir)/libpainter/src/.libs/libpainter.a endif sbin_PROGRAMS = \ |
