From ac4162eedcf2ada1cf6aae0803b48b8e0b6f17b2 Mon Sep 17 00:00:00 2001 From: Adriano dos Santos Fernandes Date: Sat, 13 Jan 2024 17:57:17 -0300 Subject: [PATCH] Fix problem with autoconf 2.72. This has been causing instability in the MacOS build due to some runners using that autoconf version. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 6a17452f7b..d936241282 100644 --- a/configure.ac +++ b/configure.ac @@ -1654,6 +1654,9 @@ gen/make.platform.solaris.examples:${MAKE_SRC_DIR}/make.platform.solaris.example ;; esac +# Fix problem with autoconf 2.72 inserting -std in CXX. +CXX=`echo "$CXX" | sed -e 's/\(-std=c++11\)//g' -e 's/\(-std=gnu++11\)//g'` + AC_OUTPUT dnl Print out the build configuration (the most interesting thing)