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

« back to all changes in this revision

Viewing changes to boost/boost/config/select_compiler_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 compiler we are using and define
 
11
// BOOST_COMPILER_CONFIG as needed: 
 
12
 
 
13
# if defined __COMO__
 
14
//  Comeau C++
 
15
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/comeau.hpp"
 
16
 
 
17
#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
 
18
//  Intel
 
19
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/intel.hpp"
 
20
 
 
21
# elif defined __GNUC__
 
22
//  GNU C++:
 
23
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/gcc.hpp"
 
24
 
 
25
#elif defined __KCC
 
26
//  Kai C++
 
27
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/kai.hpp"
 
28
 
 
29
#elif defined __sgi
 
30
//  SGI MIPSpro C++
 
31
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/sgi_mipspro.hpp"
 
32
 
 
33
#elif defined __DECCXX
 
34
//  Compaq Tru64 Unix cxx
 
35
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/compaq_cxx.hpp"
 
36
 
 
37
#elif defined __ghs
 
38
//  Greenhills C++
 
39
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/greenhills.hpp"
 
40
 
 
41
#elif defined __BORLANDC__
 
42
//  Borland
 
43
#   define BOOST_COMPILER_CONFIG "boost/config/compiler/borland.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