diff mbox series

[2/3] configure: add missing CONFIG_JEMALLOC

Message ID 20200914095231.621068-3-stefanha@redhat.com
State Superseded
Headers show
Series configure: add missing CONFIG_FOO variables | expand

Commit Message

Stefan Hajnoczi Sept. 14, 2020, 9:52 a.m. UTC
The feature summary in meson.build checks for CONFIG_JEMALLOC:

  summary_info += {'jemalloc support':  config_host.has_key('CONFIG_JEMALLOC')}

Nothing emits CONFIG_JEMALLOC in ./configure so this feature appears
disabled even if it has been enabled.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/configure b/configure
index 9f5b3a8897..a917456909 100755
--- a/configure
+++ b/configure
@@ -7031,6 +7031,10 @@  if test "$tcmalloc" = "yes" ; then
   echo "CONFIG_TCMALLOC=y" >> $config_host_mak
 fi
 
+if test "$jemalloc" = "yes" ; then
+  echo "CONFIG_JEMALLOC=y" >> $config_host_mak
+fi
+
 if test "$avx2_opt" = "yes" ; then
   echo "CONFIG_AVX2_OPT=y" >> $config_host_mak
 fi