autoconf
[Top][All Lists]
Advanced

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

Feature request: AC_PROG_CXX_STDCXX


From: Roger Leigh
Subject: Feature request: AC_PROG_CXX_STDCXX
Date: Wed, 29 Jun 2011 00:01:35 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]