blitz Version 0.10
blitz/bzconfig.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /***************************************************************************
00003  * blitz/bzconfig.h      Select compiler-specific config file
00004  *
00005  * $Id: bzconfig.h,v 1.9 2011/03/25 22:41:16 julianc Exp $
00006  *
00007  * Copyright (C) 1997-2011 Todd Veldhuizen <tveldhui@acm.org>
00008  *
00009  * This file is a part of Blitz.
00010  *
00011  * Blitz is free software: you can redistribute it and/or modify 
00012  * it under the terms of the GNU Lesser General Public License
00013  * as published by the Free Software Foundation, either version 3
00014  * of the License, or (at your option) any later version.
00015  *
00016  * Blitz is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Lesser General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public 
00022  * License along with Blitz.  If not, see <http://www.gnu.org/licenses/>.
00023  * 
00024  * Suggestions:          blitz-devel@lists.sourceforge.net
00025  * Bugs:                 blitz-support@lists.sourceforge.net    
00026  *
00027  * For more information, please see the Blitz++ Home Page:
00028  *    https://sourceforge.net/projects/blitz/
00029  *
00030  ***************************************************************************/
00031 
00032 /* Select the compiler-specific config.h header file */
00033 #ifndef BZCONFIG_H
00034 #define BZCONFIG_H
00035 
00036 #if defined(__APPLE__)
00037 #if defined(__GNUC__)
00038 /* GNU gcc compiler for newer Mac OS X Darwin */
00039 #include <blitz/gnu/bzconfig.h>
00040 #else
00041 /* IBM xlc compiler for Darwin */
00042 #include <blitz/apple/bzconfig.h>
00043 #endif
00044 
00045 #elif defined(__INTEL_COMPILER)
00046 /* Intel icc compiler */
00047 #include <blitz/intel/bzconfig.h>
00048 
00049 #elif defined(_MSC_VER)
00050 /* Microsoft VS.NET compiler */
00051 #include <blitz/ms/bzconfig.h>
00052 
00053 #elif defined(__xlC__)
00054 /* IBM xlC compiler */
00055 #include <blitz/ibm/bzconfig.h>
00056 
00057 #elif defined(__DECCXX)
00058 /* Compaq cxx compiler */
00059 #include <blitz/compaq/bzconfig.h>
00060 
00061 #elif defined(__HP_aCC)
00062 /* HP aCC compiler */
00063 #include <blitz/hp/bzconfig.h>
00064 
00065 #elif defined(_SGI_COMPILER_VERSION)
00066 /* SGI CC compiler */
00067 #include <blitz/sgi/bzconfig.h>
00068 
00069 #elif defined(__SUNPRO_CC)
00070 /* SunPRO CC compiler */
00071 #include <blitz/sun/bzconfig.h>
00072 
00073 #elif defined(__PATHCC__)
00074 /* Pathscale pathCC compiler */
00075 #include <blitz/pathscale/bzconfig.h>
00076 
00077 #elif defined(__GNUC__)
00078 /* GNU gcc compiler */
00079 #include <blitz/gnu/bzconfig.h>
00080 
00081 #elif defined(__PGI)
00082 /* PGI pgCC compiler */
00083 #include <blitz/pgi/bzconfig.h>
00084 
00085 #elif defined(__KCC)
00086 /* KAI KCC compiler */
00087 #include <blitz/kai/bzconfig.h>
00088 
00089 #elif defined(__FUJITSU)
00090 /* Fujitsu FCC compiler */
00091 #include <blitz/fujitsu/bzconfig.h>
00092 
00093 /* Add other compilers here */
00094 
00095 #else
00096 #error Unknown compiler
00097 #endif
00098 
00099 #endif /* BZCONFIG_H */
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines