From 9e7ac0e12783ad7840bb8a7b79ee5c6bda54a6fe Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Feb 2021 13:29:06 -0800 Subject: [PATCH] remove mallopt() detection Nothing in Graphviz depends on this. --- cmake/config_checks.cmake | 1 - config-cmake.h.in | 1 - configure.ac | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cmake/config_checks.cmake b/cmake/config_checks.cmake index 98d67f86a..37df513e7 100644 --- a/cmake/config_checks.cmake +++ b/cmake/config_checks.cmake @@ -29,7 +29,6 @@ check_function_exists( getpagesize HAVE_GETPAGESIZE ) check_function_exists( getenv HAVE_GETENV ) check_function_exists( lrand48 HAVE_LRAND48 ) check_function_exists( mallinfo HAVE_MALLINFO ) -check_function_exists( mallopt HAVE_MALLOPT ) check_function_exists( mstats HAVE_MSTATS ) check_function_exists( setenv HAVE_SETENV ) check_function_exists( setmode HAVE_SETMODE ) diff --git a/config-cmake.h.in b/config-cmake.h.in index 0e3229e9b..9e03e47dc 100644 --- a/config-cmake.h.in +++ b/config-cmake.h.in @@ -26,7 +26,6 @@ #cmakedefine HAVE_GETENV #cmakedefine HAVE_LRAND48 #cmakedefine HAVE_MALLINFO -#cmakedefine HAVE_MALLOPT #cmakedefine HAVE_MSTATS #cmakedefine HAVE_SETENV #cmakedefine HAVE_SETMODE diff --git a/configure.ac b/configure.ac index 7fffb54e3..1c23e7507 100644 --- a/configure.ac +++ b/configure.ac @@ -466,7 +466,7 @@ LIBS=$save_LIBS # Checks for library functions AC_CHECK_FUNCS([lrand48 drand48 srand48 setmode setenv getenv \ - cbrt mallopt mallinfo mstats getpagesize \ + cbrt mallinfo mstats getpagesize \ ftruncate lseek64 stat64 vfork unlink waitpid select]) AC_REPLACE_FUNCS([strcasestr]) -- 2.40.0