[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 80bde30 Don't bother checking the target for libumem
From:       Dridi Boukelmoune <dridi.boukelmoune () gmail ! com>
Date:       2016-11-28 14:58:04
Message-ID: E1cBNNc-0002c7-MX () project ! varnish-software ! com
[Download RAW message or body]


commit 80bde3057847bae5306bb968c8f2f2137ae6a35b
Author: Dridi Boukelmoune <dridi.boukelmoune@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])

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic