[patch] Extend AC_PROG_CXX to check for standards conformance

2013-01-20 Thread Roger Leigh
Patch attached. Probably not in its final form, but I hope it will be useful as a basis for discussion. This is like the existing C89/99/11 checks, but for C++. In this patch, I've implemented three checks: AC_PROG_CXX_CXX98 AC_PROG_CXX_CXX98TR1 AC_PROG_CXX_CXX11 and AC_PROG_CXX will try them i

Re: [patch] Extend AC_PROG_CXX to check for standards conformance

2013-01-20 Thread Paul Eggert
Thanks for doing that. I don't use C++, so I'm not the best person to review this patch. But from a quick look I can see one thing missing: the documentation needs updating. One other thing: On 01/20/2013 01:27 PM, Roger Leigh wrote: > it's useful to restrict the compiler to a minimum standard >