build: limit umem to solaris

Fixes #4192
parent 455d4a7a
......@@ -100,7 +100,11 @@ _VARNISH_CHECK_LIB(nsl, getaddrinfo)
AC_SUBST(NET_LIBS, "${SOCKET_LIBS} ${NSL_LIBS}")
# Userland slab allocator from Solaris, ported to other systems
AC_CHECK_HEADERS([umem.h])
case $target in
*-*-solaris*)
AC_CHECK_HEADERS([umem.h])
;;
esac
# More portable vmb.h
AC_CHECK_HEADERS([stdatomic.h])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment