--- configure.ac.orig 2022-12-29 08:45:02.000000000 +0700 +++ configure.ac 2022-12-29 08:45:44.000000000 +0700 @@ -58,8 +58,9 @@ AC_STRUCT_TM # Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_REALLOC +# These two cause a failure with Clang, comment out: +# AC_FUNC_MALLOC +# AC_FUNC_REALLOC AC_CHECK_FUNCS([floor modf pow sqrt strchr erfc nextafter]) # Output files