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: Mike Miller
Subject: [Octave-patch-tracker] [patch #8906] configure check support for c11 and c++11
Date: Sat, 13 Feb 2016 01:51:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

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

Something like this would be cleaner.


octave_save_CXXFLAGS=$CXXFLAGS
AX_CXX_COMPILE_STDCXX([11], [ext], [optional])
XTRA_CXXFLAGS="$XTRA_CXXFLAGS $CXXFLAGS"
CXXFLAGS=$octave_save_CXXFLAGS


I have no objection to using AX_CXX_COMPILE_STDCXX, but it doesn't handle the
C11 option that you also wanted to add.

Most of the complexity of AX_CXX_COMPILE_STDCXX is checking various C++11
features to make sure the compiler actually does support all of C++11, do we
care about that at this point?

    _______________________________________________________

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]