mirror of
https://github.com/matrix-construct/construct
synced 2025-01-13 08:23:56 +01:00
configure: Support checking for jemalloc.
This commit is contained in:
parent
d35dad46c2
commit
7de495c1c7
1 changed files with 14 additions and 0 deletions
14
configure.ac
14
configure.ac
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue