diff options
author | Lukas Czerner <lczerner@redhat.com> | 2022-02-17 10:25:00 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2022-04-28 13:13:56 -0400 |
commit | 97079a792dd5e9ea9d4708d2e80244c930a139cd (patch) | |
tree | c3bfad53adbb3c83480628eb66a07ee9f5346c33 /configure.ac | |
parent | a282671a02e8fffa04ac0f9db7982fd6bb0a0916 (diff) |
Use mallinfo2 instead of mallinfo if available
mallinfo has been deprecated with GNU C library version 2.33 in favor of
mallinfo2 which works exactly the same as mallinfo but with larger field
widths. Use mallinfo2 if available.
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index dff3d1ca..8acc4e1c 100644 --- a/configure.ac +++ b/configure.ac @@ -1214,6 +1214,7 @@ AC_CHECK_FUNCS(m4_flatten([ llseek lseek64 mallinfo + mallinfo2 mbstowcs memalign mempcpy |