blitz
Version 1.0.2
Toggle main menu visibility
Loading...
Searching...
No Matches
bzconfig.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/***************************************************************************
3
* blitz/bzconfig.h Select compiler-specific config file
4
*
5
* $Id$
6
*
7
* Copyright (C) 1997-2011 Todd Veldhuizen <tveldhui@acm.org>
8
*
9
* This file is a part of Blitz.
10
*
11
* Blitz is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU Lesser General Public License
13
* as published by the Free Software Foundation, either version 3
14
* of the License, or (at your option) any later version.
15
*
16
* Blitz is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License for more details.
20
*
21
* You should have received a copy of the GNU Lesser General Public
22
* License along with Blitz. If not, see <http://www.gnu.org/licenses/>.
23
*
24
* Suggestions: blitz-devel@lists.sourceforge.net
25
* Bugs: blitz-support@lists.sourceforge.net
26
*
27
* For more information, please see the Blitz++ Home Page:
28
* https://sourceforge.net/projects/blitz/
29
*
30
***************************************************************************/
31
32
/* Select the compiler-specific config.h header file */
33
#ifndef BZCONFIG_H
34
#define BZCONFIG_H
35
36
#if defined(__APPLE__)
37
#if defined(__clang__)
38
/* clang compiler */
39
#include <blitz/llvm/bzconfig.h>
40
#elif defined(__GNUC__)
41
/* GNU gcc compiler for newer Mac OS X Darwin */
42
#include <blitz/gnu/bzconfig.h>
43
#else
44
/* IBM xlc compiler for Darwin */
45
#include <blitz/apple/bzconfig.h>
46
#endif
47
48
#elif defined(__INTEL_COMPILER)
49
/* Intel icc compiler */
50
#include <blitz/intel/bzconfig.h>
51
52
#elif defined(_MSC_VER)
53
/* Microsoft VS.NET compiler */
54
#include <blitz/ms/bzconfig.h>
55
56
#elif defined(__xlC__)
57
/* IBM xlC compiler */
58
#include <blitz/ibm/bzconfig.h>
59
60
#elif defined(__DECCXX)
61
/* Compaq cxx compiler */
62
#include <blitz/compaq/bzconfig.h>
63
64
#elif defined(__HP_aCC)
65
/* HP aCC compiler */
66
#include <blitz/hp/bzconfig.h>
67
68
#elif defined(_SGI_COMPILER_VERSION)
69
/* SGI CC compiler */
70
#include <blitz/sgi/bzconfig.h>
71
72
#elif defined(__SUNPRO_CC)
73
/* SunPRO CC compiler */
74
#include <blitz/sun/bzconfig.h>
75
76
#elif defined(__PATHCC__)
77
/* Pathscale pathCC compiler */
78
#include <blitz/pathscale/bzconfig.h>
79
80
#elif defined(__clang__)
81
/* clang compiler */
82
#include <blitz/llvm/bzconfig.h>
83
84
#elif defined(__GNUC__)
85
/* GNU gcc compiler */
86
#include <blitz/gnu/bzconfig.h>
87
88
#elif defined(__PGI)
89
/* PGI pgCC compiler */
90
#include <blitz/pgi/bzconfig.h>
91
92
#elif defined(__KCC)
93
/* KAI KCC compiler */
94
#include <blitz/kai/bzconfig.h>
95
96
#elif defined(__FUJITSU)
97
/* Fujitsu FCC compiler */
98
#include <blitz/fujitsu/bzconfig.h>
99
100
/* Add other compilers here */
101
102
#else
103
#error Unknown compiler
104
#endif
105
106
#endif
/* BZCONFIG_H */
blitz
bzconfig.h
Generated by
1.17.0