1 diff -Nru mosh-1.4.0.orig/configure.ac mosh-1.4.0/configure.ac
2 --- mosh-1.4.0.orig/configure.ac 2022-10-27 03:18:11.000000000 +0200
3 +++ mosh-1.4.0/configure.ac 2023-10-08 11:06:17.722772504 +0200
5 # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it
6 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
8 -# Protobuf 3.6+ requires C++11.
9 +# Protobuf 24.4+ (and perhaps earlier) requires C++17.
10 AS_IF([pkg-config --atleast-version 3.6.0 protobuf],
11 - [AX_CXX_COMPILE_STDCXX([11])])
12 + [AX_CXX_COMPILE_STDCXX([17])])