]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/config/cxx.py
2 # Copyright (c) 2016 Stefan Seefeld
5 # Distributed under the Boost Software License, Version 1.0.
6 # (See accompanying file LICENSE_1_0.txt or copy at
7 # http://www.boost.org/LICENSE_1_0.txt)
12 def add_options(vars):
18 source
= r
"""#if __cplusplus < 201103L
22 context
.Message('Checking for C++11 support...')
24 if not context
.TryCompile(source
, '.cpp'):
25 context
.env
['CXX11'] = False
28 context
.env
['CXX11'] = True