0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-25 09:58:54 +02:00

configure: Support checking for jemalloc.

This commit is contained in:
Jason Volk 2018-11-29 12:58:01 -08:00
parent d35dad46c2
commit 7de495c1c7

View file

@ -1301,6 +1301,20 @@ AC_HELP_STRING([--with-included-js[[[=shared]]]], [Use the JS engine (SpiderMonk
dnl TODO use an $enable_js var
AM_CONDITIONAL([JS], [[[[ $with_included_js = yes ]]]])
dnl
dnl
dnl jemalloc
dnl
dnl
RB_CHK_SYSHEADER(jemalloc/jemalloc.h, [JEMALLOC_H])
AC_CHECK_LIB(jemalloc, malloc,
[
jemalloc="yes"
], [
jemalloc="no"
])
dnl
dnl
dnl Additional linkages