summaryrefslogtreecommitdiffstats
path: root/m4/ax_c_mallinfo.m4
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:19:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-11-07 12:20:17 +0000
commita64a253794ac64cb40befee54db53bde17dd0d49 (patch)
treec1024acc5f6e508814b944d99f112259bb28b1be /m4/ax_c_mallinfo.m4
parentNew upstream version 1.10.0+dfsg (diff)
downloadnetdata-a64a253794ac64cb40befee54db53bde17dd0d49.tar.xz
netdata-a64a253794ac64cb40befee54db53bde17dd0d49.zip
New upstream version 1.11.0+dfsgupstream/1.11.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'm4/ax_c_mallinfo.m4')
-rw-r--r--m4/ax_c_mallinfo.m424
1 files changed, 0 insertions, 24 deletions
diff --git a/m4/ax_c_mallinfo.m4 b/m4/ax_c_mallinfo.m4
deleted file mode 100644
index af8d0481e..000000000
--- a/m4/ax_c_mallinfo.m4
+++ /dev/null
@@ -1,24 +0,0 @@
-# AC_C_MALLINFO
-# -------------
-# Define HAVE_C_MALLINFO if mallinfo() works.
-AN_IDENTIFIER([mallinfo], [AC_C_MALLINFO])
-AC_DEFUN([AC_C_MALLINFO],
-[AC_CACHE_CHECK([for mallinfo], ac_cv_c_mallinfo,
-[AC_LINK_IFELSE(
- [AC_LANG_PROGRAM(
- [[#include <malloc.h>]],
- [[
- struct mallinfo mi = mallinfo();
- /* make sure that fields exists */
- mi.uordblks = 0;
- mi.hblkhd = 0;
- mi.arena = 0;
- ]]
- )],
- [ac_cv_c_mallinfo=yes],
- [ac_cv_c_mallinfo=no])])
-if test $ac_cv_c_mallinfo = yes; then
- AC_DEFINE([HAVE_C_MALLINFO], 1,
- [Define to 1 if glibc mallinfo exists.])
-fi
-])# AC_C_MALLINFO