octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8906] configure check support for c11 and


From: Carnë Draug
Subject: [Octave-patch-tracker] [patch #8906] configure check support for c11 and c++11
Date: Thu, 18 Feb 2016 16:33:00 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.0

Follow-up Comment #11, patch #8906 (project octave):

I included the source from autoconf, renamed the macros with the octave prefix
to avoid any future clashes, and then the two lines required in configure.ac.


OCTAVE_PROG_CC_C11()
OCTAVE_PROG_CXX_CXX11()


It seems that such compiler flags are meant to go into CXX and CC (like
AC_PROG_CC_99 does) so that's it's all that needs to be done.  This makes it
optional.  If in the future we make it a requirement, both macros take a
if-found and if-not-found blocks which we can use to error.

(file #36387)
    _______________________________________________________

Additional Item Attachment:

File name: cxx11-c11-support.cset         Size:19 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8906>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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