Feature request: AC_PROG_CXX_STDCXX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

I was going to report this to bug-autoconf, but it's more of a
feature request than a bug.

For C, we have AC_PROG_CC_STDC to select the most recent C standard,
falling back to the previous standard if not available, and the
macros AC_PROG_CC_C99 and AC_PROG_CC_C89 to request the use of a
specific standard.

With the introduction of several C++ standards, it is (I think) now
needed to have a similar arrangement for C++, to allow selection of
the minimum standard required by your code.  These could include:

AC_PROG_CXX_CXX98
AC_PROG_CXX_CXX03 and/or AC_PROC_CXX_CXXTR1
AC_PROC_CXX_CXX11 and/or AC_PROC_CXX_CXX0X [not yet finalised]

AC_PROC_CXX_STDCXX could select the most recent version of the
standard supported.


I'm afraid that unlike AC_PROG_CC_C99, I won't have the time to write
this for the foreseeable future, so I thought I'd bring it up on the
list in case anyone else did.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [USB]     [Samba]

Add to Google Powered by Linux