summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2022-08-30 13:28:24 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2022-08-30 13:54:19 +0200
commitbda93ed4bcdc1bf7493298f6c90076cc3a033223 (patch)
tree3e5544778f32311738060af98bc0847bb35ac8ce /configure
parent60ca2ce20fef54b3441dda051beebbc1847db50d (diff)
downloadlvm2-bda93ed4bcdc1bf7493298f6c90076cc3a033223.tar.gz
configure: check for mallinfo2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 3586dd91c..aa3b83fcb 100755
--- a/configure
+++ b/configure
@@ -7697,6 +7697,12 @@ then :
printf "%s\n" "#define HAVE_FFS 1" >>confdefs.h
fi
+ac_fn_c_check_func "$LINENO" "mallinfo2" "ac_cv_func_mallinfo2"
+if test "x$ac_cv_func_mallinfo2" = xyes
+then :
+ printf "%s\n" "#define HAVE_MALLINFO2 1" >>confdefs.h
+
+fi
ac_fn_c_check_func "$LINENO" "prlimit" "ac_cv_func_prlimit"
if test "x$ac_cv_func_prlimit" = xyes
then :