imgtools/imglib/boostlibrary/boost/config/select_stdlib_config.hpp
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 //  Boost compiler configuration selection header file
       
     2 
       
     3 //  (C) Copyright John Maddock 2001 - 2003. 
       
     4 //  (C) Copyright Jens Maurer 2001 - 2002. 
       
     5 //  Use, modification and distribution are subject to the 
       
     6 //  Boost Software License, Version 1.0. (See accompanying file 
       
     7 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
       
     8 
       
     9 
       
    10 //  See http://www.boost.org for most recent version.
       
    11 
       
    12 // locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
       
    13 
       
    14 // we need to include a std lib header here in order to detect which
       
    15 // library is in use, use <utility> as it's about the smallest
       
    16 // of the std lib headers - do not rely on this header being included -
       
    17 // users can short-circuit this header if they know whose std lib
       
    18 // they are using.
       
    19 
       
    20 #include <boost/config/no_tr1/utility.hpp>
       
    21 
       
    22 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
       
    23 // STLPort library; this _must_ come first, otherwise since
       
    24 // STLport typically sits on top of some other library, we
       
    25 // can end up detecting that first rather than STLport:
       
    26 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/stlport.hpp"
       
    27 
       
    28 #elif defined(__LIBCOMO__)
       
    29 // Comeau STL:
       
    30 #define BOOST_STDLIB_CONFIG "boost/config/stdlib/libcomo.hpp"
       
    31 
       
    32 #elif defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
       
    33 // Rogue Wave library:
       
    34 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp"
       
    35 
       
    36 #elif defined(__GLIBCPP__) || defined(__GLIBCXX__)
       
    37 // GNU libstdc++ 3
       
    38 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"
       
    39 
       
    40 #elif defined(__STL_CONFIG_H)
       
    41 // generic SGI STL
       
    42 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/sgi.hpp"
       
    43 
       
    44 #elif defined(__MSL_CPP__)
       
    45 // MSL standard lib:
       
    46 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
       
    47 
       
    48 #elif defined(__IBMCPP__)
       
    49 // take the default VACPP std lib
       
    50 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/vacpp.hpp"
       
    51 
       
    52 #elif defined(MSIPL_COMPILE_H)
       
    53 // Modena C++ standard library
       
    54 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/modena.hpp"
       
    55 
       
    56 #elif (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
       
    57 // Dinkumware Library (this has to appear after any possible replacement libraries):
       
    58 #  define BOOST_STDLIB_CONFIG "boost/config/stdlib/dinkumware.hpp"
       
    59 
       
    60 #elif defined (BOOST_ASSERT_CONFIG)
       
    61 // this must come last - generate an error if we don't
       
    62 // recognise the library:
       
    63 #  error "Unknown standard library - please configure and report the results to boost.org"
       
    64 
       
    65 #endif
       
    66 
       
    67 
       
    68