Mercurial > octave
changeset 33135:9af30a72ca59
maint: Merge stable to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 03 Mar 2024 10:49:32 +0100 |
parents | a13cb0eb53a9 (current diff) fe201b17eb86 (diff) |
children | 0a8166b45c29 |
files | configure.ac |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Sun Mar 03 10:17:29 2024 +0100 +++ b/configure.ac Sun Mar 03 10:49:32 2024 +0100 @@ -302,6 +302,14 @@ ### Determine which C++ compiler to use (we expect to find g++ or clang++). +# AC_PROG_CXX attempts to find the compiler flags for activating support for +# C++11. As of autoconf version 2.71, the source code that it uses for that +# test includes parts that are invalid in C++20. +# We are using AX_CXX_COMPILE_STDCXX to determine the potentially needed flags +# for the C++ version that Octave requires. So, skip the (unnecessary and +# broken) test for C++11 in AC_PROG_CXX by setting the following (undocumented) +# flag: +ac_cv_prog_cxx_cxx11="" AC_PROG_CXX AC_PROG_CXXCPP