From 3e8dfa145a3ef0641cb6e2b48379e2611bd56e62 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 6 Feb 2021 13:31:12 -0800 Subject: [PATCH] remove mstats() detection Graphviz does not depend 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 c6f9ecc4b..8c653038c 100644 --- a/cmake/config_checks.cmake +++ b/cmake/config_checks.cmake @@ -28,7 +28,6 @@ check_function_exists( cbrt HAVE_CBRT ) check_function_exists( getpagesize HAVE_GETPAGESIZE ) check_function_exists( getenv HAVE_GETENV ) check_function_exists( lrand48 HAVE_LRAND48 ) -check_function_exists( mstats HAVE_MSTATS ) check_function_exists( setenv HAVE_SETENV ) check_function_exists( setmode HAVE_SETMODE ) check_function_exists( sincos HAVE_SINCOS ) diff --git a/config-cmake.h.in b/config-cmake.h.in index 597aff249..7791f5583 100644 --- a/config-cmake.h.in +++ b/config-cmake.h.in @@ -25,7 +25,6 @@ #cmakedefine HAVE_GETPAGESIZE #cmakedefine HAVE_GETENV #cmakedefine HAVE_LRAND48 -#cmakedefine HAVE_MSTATS #cmakedefine HAVE_SETENV #cmakedefine HAVE_SETMODE #cmakedefine HAVE_SINCOS diff --git a/configure.ac b/configure.ac index c8e468812..19bd76eb0 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 mstats getpagesize \ + cbrt getpagesize \ ftruncate lseek64 stat64 vfork unlink waitpid select]) AC_REPLACE_FUNCS([strcasestr]) -- 2.40.0