Add g_setallusercontext() for *BSD systems

This commit is contained in:
matt335672
2022-12-15 15:06:55 +00:00
parent cd58d14cef
commit 48e46d183a
3 changed files with 42 additions and 0 deletions
+6
View File
@@ -213,6 +213,12 @@ AM_COND_IF([DEVEL_DEBUG],
[AX_APPEND_COMPILE_FLAGS([-g -O0])],
[AX_APPEND_COMPILE_FLAGS([-O2])])
# Function setusercontext() is in BSD -lutil but N/A on Solaris or GNU systems
AC_SEARCH_LIBS([setusercontext], [util])
# Define HAVE_XXXXX macros for some system functions
AC_CHECK_FUNCS([setusercontext])
# Don't fail without working nasm if rfxcodec is not enabled
if test "x$enable_rfxcodec" != xyes; then
with_simd=no