From: Matthew Fernandez Date: Sat, 6 Feb 2021 21:29:06 +0000 (-0800) Subject: remove mallopt() detection X-Git-Tag: 2.47.0~90^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e7ac0e12783ad7840bb8a7b79ee5c6bda54a6fe;p=graphviz remove mallopt() detection Nothing in Graphviz depends on this. --- 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])