Boost is now unneeded, thanks to the fix for PR253, contributed by Reid Spencer!
[oota-llvm.git] / include / boost / config / select_compiler_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 compiler we are using and define
11 // BOOST_COMPILER_CONFIG as needed: 
12
13 #if defined __GNUC__
14 //  GNU C++:
15 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
16
17 # elif defined __COMO__
18 //  Comeau C++
19 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
20
21 #elif defined __KCC
22 //  Kai C++
23 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
24
25 #elif defined __sgi
26 //  SGI MIPSpro C++
27 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
28
29 #elif defined __DECCXX
30 //  Compaq Tru64 Unix cxx
31 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
32
33 #elif defined __ghs
34 //  Greenhills C++
35 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
36
37 #elif defined __BORLANDC__
38 //  Borland
39 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.hpp"
40
41 #elif defined(__ICL) || defined(__ICC)
42 //  Intel
43 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
44
45 #elif defined  __MWERKS__
46 //  Metrowerks CodeWarrior
47 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/metrowerks.hpp"
48
49 #elif defined  __SUNPRO_CC
50 //  Sun Workshop Compiler C++
51 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/sunpro_cc.hpp"
52
53 #elif defined __HP_aCC
54 //  HP aCC
55 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/hp_acc.hpp"
56
57 #elif defined(__MRC__) || defined(__SC__)
58 //  MPW MrCpp or SCpp
59 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/mpw.hpp"
60
61 #elif defined(__IBMCPP__)
62 //  IBM Visual Age
63 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/vacpp.hpp"
64
65 #elif defined _MSC_VER
66 //  Microsoft Visual C++
67 //
68 //  Must remain the last #elif since some other vendors (Metrowerks, for
69 //  example) also #define _MSC_VER
70 #   define BOOST_COMPILER_CONFIG "boost/config/compiler/visualc.hpp"
71
72 #elif defined (BOOST_ASSERT_CONFIG)
73 // this must come last - generate an error if we don't
74 // recognise the compiler:
75 #  error "Unknown compiler - please configure and report the results to boost.org"
76
77 #endif
78