Supporting MSVC cl in ax_cxx_compile_stdcxx

Paul Smith <[email protected]> Mon, 24 Oct 2022 16:33:35 -0400
Newsgroups gmane.comp.sysutils.autoconf.archive-maintainers
Organization GNU's Not UNIX!
Message-ID <[email protected]>
I see that the ax_cxx_compile_stdcxx macros support checking for
compiler arguments in the following formats:

  * -std=3Dc++XX
  * +std=3Dc++XX
  * -h -std=3Dc++XX

Has any thought been given to supporting the format used by cl (the
Visual Studio compiler)?  That would be either (they are equivalent):

  * -std:c++XX
  * /std:c++XX

?  Annoyingly it requires "std:" rather than "std=3D".