else
save_cxxflags="$CXXFLAGS"
cxxflags_to_try="-std=c++17 -stdlib=libstdc++"
cxxflags_to_try="-std=c++17"
CXXFLAGS_TO_USE=""
AC_MSG_CHECKING([supported C++ compiler flags])