]> git.lyx.org Git - lyx.git/blob - boost/boost/config/select_stdlib_config.hpp
update from Boost CVS
[lyx.git] / boost / boost / config / select_stdlib_config.hpp
1 //  Boost compiler configuration selection header file
2
3 //  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
4 //  distribute this software is granted provided this copyright notice appears
5 //  in all copies. This software is provided "as is" without express or implied
6 //  warranty, and with no claim as to its suitability for any purpose.
7
8 //  See http://www.boost.org for most recent version.
9
10 // locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
11
12 // we need to include a std lib header here in order to detect which
13 // library is in use, use <utility> as it's about the smallest
14 // of the std lib headers - do not rely on this header being included -
15 // users can short-circuit this header if they know whose std lib
16 // they are using.
17
18 #include <utility>
19
20 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
21 // STLPort library; this _must_ come first, otherwise since
22 // STLport typically sits on top of some other library, we
23 // can end up detecting that first rather than STLport:
24 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
25
26 #elif defined(__LIBCOMO__)
27 // Commeau STL:
28 #define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
29
30 #elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
31 // Rogue Wave library:
32 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
33
34 #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
35 // Dinkumware Library:
36 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
37
38 #elif defined(__GLIBCPP__)
39 // GNU libstdc++ 3
40 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
41
42 #elif defined(__STL_CONFIG_H)
43 // generic SGI STL
44 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
45
46 #elif defined(__MSL_CPP__)
47 // MSL standard lib:
48 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
49
50 #elif defined(__IBMCPP__)
51 // take the default VACPP std lib
52 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
53
54 #elif defined(MSIPL_COMPILE_H)
55 // Modena C++ standard library
56 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
57
58 #elif defined (BOOST_ASSERT_CONFIG)
59 // this must come last - generate an error if we don't
60 // recognise the library:
61 #  error "Unknown standard library - please configure and report the results to boost.org"
62
63 #endif
64
65