summaryrefslogtreecommitdiffstats
path: root/m4/ax_c_mallopt.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_c_mallopt.m4')
-rw-r--r--m4/ax_c_mallopt.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/m4/ax_c_mallopt.m4 b/m4/ax_c_mallopt.m4
deleted file mode 100644
index 31c4fdc36..000000000
--- a/m4/ax_c_mallopt.m4
+++ /dev/null
@@ -1,20 +0,0 @@
-# AC_C_MALLOPT
-# -------------
-# Define HAVE_C_MALLOPT if mallopt() works.
-AN_IDENTIFIER([mallopt], [AC_C_MALLOPT])
-AC_DEFUN([AC_C_MALLOPT],
-[AC_CACHE_CHECK([for mallopt], ac_cv_c_mallopt,
-[AC_LINK_IFELSE(
- [AC_LANG_SOURCE(
- [[#include <malloc.h>
- int main(int argc, char **argv) {
- mallopt(M_ARENA_MAX, 1);
- }
- ]])],
- [ac_cv_c_mallopt=yes],
- [ac_cv_c_mallopt=no])])
-if test $ac_cv_c_mallopt = yes; then
- AC_DEFINE([HAVE_C_MALLOPT], 1,
- [Define to 1 if glibc mallopt exists.])
-fi
-])# AC_C_MALLOPT