From 914cdcfee2c55d5c81df92d55fcde21160fdd4eb Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 20 Dec 2016 10:38:04 -0800 Subject: [PATCH] Don't fail without working nasm if rfxcodec is not enabled --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 4168c1b9..f77c5145 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, [],