* Roger Leigh: > I would propose to add: > > AC_PROG_CXX_STDCXX > AC_PROG_CXX_CXX98 > AC_PROG_CXX_CXXTR1 [CXX98 with additional checks for TR1 headers] > AC_PROG_CXX_CXX11 > > With behaviour the same as the existing C macros. This would be unwise because picking the most recent compiler-supported standard will likely break programs on GNU/Linux. Switching from C++98 to C++11 changes the ABI of standard library templates, so it's basically an all-or-nothing choice for the entire system. (Other language changes can break compilation, but these are less obnoxious and easier to work around.) _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf