--- configure.ac 2019-04-26 11:43:32.648297000 -0400 +++ configure.ac 2019-07-09 18:11:50.759723658 -0400 @@ -2029,7 +2029,7 @@ # Clean up all leftovers from this test. rm -f crammd5_installed.c crammd5_installed -AS_IF([test "x$crammd5test" = "xfound"], +AS_IF([test "$(echo x$crammd5test | cut -c -6)" = "xfound"], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([no ------------------------------------------------------------------- --- configure.ac 2020-11-17 07:52:12.000000000 -0600 +++ configure.ac 2023-07-30 03:32:41.000000000 -0500 @@ -2290,7 +2290,7 @@ fi AC_CHECK_HEADERS([zlib.h], - [AC_CHECK_LIB([z], [deflate, gzread, gzwrite, inflate], [], + [AC_CHECK_LIB([z], [gzread], [], [AC_MSG_ERROR([cannot find libz ------------------------------------------------------------------- libz is required for Mesos to build. Do not poison configure with unsuitable flag: --- configure.ac 2020-11-17 07:52:12.000000000 -0600 +++ configure.ac 2025-05-10 20:39:28.000000000 +0800 @@ -697,9 +697,6 @@ [AC_SUBST(STACK_PROTECTOR, "-fstack-protector-strong")], [AC_SUBST(STACK_PROTECTOR, "-fstack-protector")]) -# Ensure that CXX supports C++11 (with "strict" conformance), and set -# "--std=" flag and CXXFLAGS environment variable as appropriate. -AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory]) # Blacklist known incompatible C++ standard libraries to reduce chance # of users accidentally using them.