[master] 80bde30 Don't bother checking the target for libumem
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Nov 28 15:58:04 CET 2016
commit 80bde3057847bae5306bb968c8f2f2137ae6a35b
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Nov 28 15:51:33 2016 +0100
Don't bother checking the target for libumem
diff --git a/configure.ac b/configure.ac
index 33881a3..82d6802 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,6 +78,9 @@ if test "x$ax_cv_curses" != xyes; then
AC_MSG_ERROR([requires an X/Open-compatible Curses library])
fi
+# Userland slab allocator from Solaris, ported to other systems
+AC_CHECK_HEADERS([umem.h], [_VARNISH_CHECK_LIB(umem, umem_alloc)])
+
# XXX: This _may_ be for OS/X
AC_CHECK_LIBM
AC_SUBST(LIBM)
@@ -296,13 +299,6 @@ case $target in
esac
AC_SUBST(JEMALLOC_LDADD)
-# Userland slab allocator, available only on Solaris
-case $target in
-*-*-solaris*)
- AC_CHECK_HEADERS([umem.h], [_VARNISH_CHECK_LIB(umem, umem_alloc)])
- ;;
-esac
-
# These functions are provided by libcompat on platforms where they
# are not available
AC_CHECK_FUNCS([setproctitle])
More information about the varnish-commit
mailing list