~ubuntu-branches/ubuntu/warty/aqsis/warty

« back to all changes in this revision

Viewing changes to boost/boost/config/select_stdlib_config.hpp

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-08-24 07:25:04 UTC
  • Revision ID: james.westby@ubuntu.com-20040824072504-zf993vnevvisdsvb
Tags: upstream-0.9.1
ImportĀ upstreamĀ versionĀ 0.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
// Comeau 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(__GLIBCPP__)
 
35
// GNU libstdc++ 3
 
36
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
 
37
 
 
38
#elif defined(__STL_CONFIG_H)
 
39
// generic SGI STL
 
40
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
 
41
 
 
42
#elif defined(__MSL_CPP__)
 
43
// MSL standard lib:
 
44
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
 
45
 
 
46
#elif defined(__IBMCPP__)
 
47
// take the default VACPP std lib
 
48
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
 
49
 
 
50
#elif defined(MSIPL_COMPILE_H)
 
51
// Modena C++ standard library
 
52
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
 
53
 
 
54
#elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
 
55
// Dinkumware Library (this has to appear after any possible replacement libraries):
 
56
#  define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.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