Re: configure adds -std=gnu++11 to CXX variable

"Zack Weinberg" <[email protected]> Mon, 04 Mar 2024 09:57:54 -0500
Newsgroups gmane.comp.sysutils.autoconf.general
Message-ID <[email protected]>
On Mon, Mar 4, 2024, at 9:54 AM, Zack Weinberg wrote:
> Fixing these things is a high priority for Autoconf 2.73 but nobody
> currently has time to work on it.  If you have time, we would
> appreciate your working on it -- even just a rough draft of revised
> test programs would be helpful.

Oh, also, as a workaround, try

./configure CXX='g++ -std=c++2a' ac_cv_prog_cxx_cxx11='none needed'

This _ought_ to bypass the troublesome test.  If it doesn't work,
try setting ac_cv_prog_cxx_cxx11='none needed' in a config.site
file instead of putting it on the command line.

zw