Don't fail without working nasm if rfxcodec is not enabled

This commit is contained in:
Pavel Roskin 2016-12-20 10:38:04 -08:00
parent 634aa1096f
commit 914cdcfee2
1 changed files with 6 additions and 0 deletions

View File

@ -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, [],