Support C++11 and later and let users select the C++ language standard.

* configure.ac (--enable-c++): New option.
* build/ac-macros/compiler.m4 (SVN_CXX_MODE_SETUP):
   Check, in order, for C++20, C++17 and C++11, or the exact language
   standard option given by --enable-c++. In the second case, restrict
   the supported language version to at least C++11.

* subversion/bindings/cxx/tests/test_aprwrap_arrays.cpp (fill_array):
   std::random_shuffle was removed in C++17; use std::shuffle instead,
   which is available since C++11.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1883715 13f79535-47bb-0310-9956-ffa450edef68
3 files changed