1 //----------------------------------------------------------------------------- |
1 // Boost config.hpp configuration header file ------------------------------// |
2 // boost variant/detail/config.hpp header file |
2 |
3 // See http://www.boost.org for updates, documentation, and revision history. |
3 // (C) Copyright John Maddock 2002. |
4 //----------------------------------------------------------------------------- |
4 // Use, modification and distribution are subject to the |
|
5 // Boost Software License, Version 1.0. (See accompanying file |
|
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
|
7 |
|
8 // See http://www.boost.org/libs/config for most recent version. |
|
9 |
|
10 // Boost config.hpp policy and rationale documentation has been moved to |
|
11 // http://www.boost.org/libs/config |
5 // |
12 // |
6 // Copyright (c) 2003 |
13 // CAUTION: This file is intended to be completely stable - |
7 // Eric Friedman |
14 // DO NOT MODIFY THIS FILE! |
8 // |
15 // |
9 // Distributed under the Boost Software License, Version 1.0. (See |
|
10 // accompanying file LICENSE_1_0.txt or copy at |
|
11 // http://www.boost.org/LICENSE_1_0.txt) |
|
12 |
16 |
13 #ifndef BOOST_VARIANT_DETAIL_CONFIG_HPP |
17 #ifndef BOOST_CONFIG_HPP |
14 #define BOOST_VARIANT_DETAIL_CONFIG_HPP |
18 #define BOOST_CONFIG_HPP |
15 |
19 |
16 #include "boost/config.hpp" |
20 // if we don't have a user config, then use the default location: |
17 #include "boost/detail/workaround.hpp" |
21 #if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) |
18 |
22 # define BOOST_USER_CONFIG <boost/config/user.hpp> |
19 /////////////////////////////////////////////////////////////////////////////// |
23 #endif |
20 // macro BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING |
24 // include it first: |
21 // |
25 #ifdef BOOST_USER_CONFIG |
22 #if BOOST_WORKAROUND(__MWERKS__, <= 0x3201) \ |
26 # include BOOST_USER_CONFIG |
23 || BOOST_WORKAROUND(BOOST_INTEL, <= 700) \ |
27 #endif |
24 || BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ |
28 // if we don't have a compiler config set, try and find one: |
25 && !defined(BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING) |
29 #if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) |
26 # define BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING |
30 # include <boost/config/select_compiler_config.hpp> |
|
31 #endif |
|
32 // if we have a compiler config, include it now: |
|
33 #ifdef BOOST_COMPILER_CONFIG |
|
34 # include BOOST_COMPILER_CONFIG |
27 #endif |
35 #endif |
28 |
36 |
29 /////////////////////////////////////////////////////////////////////////////// |
37 // if we don't have a std library config set, try and find one: |
30 // macro BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND |
38 #if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) |
31 // |
39 # include <boost/config/select_stdlib_config.hpp> |
32 #if !defined(BOOST_NO_SFINAE) \ |
40 #endif |
33 && !BOOST_WORKAROUND(BOOST_INTEL, <= 700) \ |
41 // if we have a std library config, include it now: |
34 && !defined(BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND) |
42 #ifdef BOOST_STDLIB_CONFIG |
35 # define BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND |
43 # include BOOST_STDLIB_CONFIG |
36 #endif |
44 #endif |
37 |
45 |
38 #endif // BOOST_VARIANT_DETAIL_CONFIG_HPP |
46 // if we don't have a platform config set, try and find one: |
|
47 #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) |
|
48 # include <boost/config/select_platform_config.hpp> |
|
49 #endif |
|
50 // if we have a platform config, include it now: |
|
51 #ifdef BOOST_PLATFORM_CONFIG |
|
52 # include BOOST_PLATFORM_CONFIG |
|
53 #endif |
|
54 |
|
55 // get config suffix code: |
|
56 #include <boost/config/suffix.hpp> |
|
57 |
|
58 #endif // BOOST_CONFIG_HPP |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |