PCMConfig.h

Go to the documentation of this file.
00001 
00002 //
00003 // This source file is a part of ParCompMark
00004 // Parallel Compositing Benchmark Framework
00005 //
00006 // for latest info see http://parcompmark.sourceforge.net
00007 
00008 //
00009 // Copyright (C) 2006 IT2 ParCompMark Dev. Team
00010 // 
00011 // This program is free software; you can redistribute it and/or
00012 // modify it under the terms of the GNU General Public License
00013 // as published by the Free Software Foundation; either version 2
00014 // of the License, or (at your option) any later version.
00015 // 
00016 // This program 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 General Public License for more details.
00020 // 
00021 // You should have received a copy of the GNU General Public License
00022 // along with this program; if not, write to the Free Software
00023 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00024 
00027 
00028 #ifndef __PCM_CONFIG_H__
00029 #  define __PCM_CONFIG_H__
00030 
00031 // GNU buildsystem configuration file
00032 #  ifdef HAVE_CONFIG_H
00033 #   include "config.h"
00034 #  endif
00035 
00036 // Particular header files for ANSI C headers
00037 #  ifdef HAVE_MEMORY_H
00038 #   include <memory.h>
00039 #  endif
00040 
00041 #  ifdef HAVE_STDINT_H
00042 #   include <stdint.h>
00043 #  endif
00044 
00045 #  ifdef HAVE_STDLIB_H
00046 #   include <stdlib.h>
00047 #  endif
00048 
00049 #  ifdef HAVE_STRINGS_H
00050 #   include <strings.h>
00051 #  endif
00052 
00053 #  ifdef HAVE_STRING_H
00054 #   include <string.h>
00055 #  endif
00056 
00057 #  ifdef HAVE_SYS_STAT_H
00058 #   include <sys/stat.h>
00059 #  endif
00060 
00061 #  ifdef HAVE_SYS_TYPES_H
00062 #   include <sys/types.h>
00063 #  endif
00064 
00065 #  ifdef HAVE_UNISTD_H
00066 #   include <unistd.h>
00067 #  endif
00068 
00069 // C++ standard IO header
00070 #  ifdef HAVE_IOSTREAM
00071 #   include <iostream>
00072 #  else
00073 #   error Cannot find header 'iostream'
00074 #  endif
00075 
00076 // Standard C++ string header
00077 #  ifdef HAVE_STRING
00078 #   include <string>
00079 #  else
00080 #   error Cannot find header 'string'
00081 #  endif
00082 
00083 // ANSI C math header
00084 #  ifdef HAVE_MATH_H
00085 #   include <math.h>
00086 #  else
00087 #   error Cannot find header 'math.h'
00088 #  endif
00089 
00090 // Command line argument parser
00091 #  ifdef HAVE_GETOPT_H
00092 
00093 #  else
00094 #   error Cannot find header 'getopt.h'
00095 #  endif
00096 
00097 // OpenGL main header
00098 // [Optional]
00099 #  ifdef HAVE_GL_GL_H
00100 
00101 #  endif
00102 
00103 // OpenGL utility header
00104 // [Optional]
00105 #  ifdef HAVE_GL_GLU_H
00106 
00107 #  endif
00108 
00109 // OpenGL utility toolkit header
00110 // [Optional]
00111 #  ifdef HAVE_GL_GLUT_H
00112 
00113 #  endif
00114 
00115 // Internet Protocol family header
00116 #  ifdef HAVE_SYS_SOCKET_H
00117 
00118 #  else
00119 #   error Cannot find header 'sys/socket.h'
00120 #  endif
00121 
00122 // Definitions for Internet operations
00123 #  ifdef HAVE_ARPA_INET_H
00124 
00125 #  else
00126 #   error Cannot find header 'arpa/inet.h'
00127 #  endif
00128 
00129 // Standard symbolic constants and types
00130 #  ifdef HAVE_UNISTD_H
00131 #   include <unistd.h>
00132 #  else
00133 #   error Cannot find header 'unistd.h'
00134 #  endif
00135 
00136 // Thread handling
00137 #  ifdef HAVE_PTHREAD_H
00138 
00139 #  else
00140 #   error Cannot find header 'pthread.h'
00141 #  endif
00142 
00143 // Header for time types
00144 #  ifdef HAVE_SYS_TIME_H
00145 
00146 #  else
00147 #   error Cannot find header 'sys/time.h'
00148 #  endif
00149 
00150 // Signal handling routines
00151 #  ifdef HAVE_SIGNAL_H
00152 
00153 #  else
00154 #   error Cannot find header 'signal.h'
00155 #  endif
00156 
00157 // Squirrel header
00158 #  ifdef HAVE_SQUIRREL_SQUIRREL_H
00159 
00160 #  else
00161 #   error Cannot find header 'squirrel/squirrel.h'
00162 #  endif
00163 
00164 // Squirrel to C++ binding header
00165 #  ifdef HAVE_SQUIRREL_SQPLUS_H
00166 
00167 #  else
00168 #   error Cannot find header 'squirrel/sqplus.h'
00169 #  endif
00170 
00171 // GNU readline header
00172 // [Optional]
00173 #  ifdef HAVE_READLINE_READLINE_H
00174 
00175 #  endif
00176 
00177 // GNU readline (history) header
00178 // [Optional]
00179 #  ifdef HAVE_READLINE_HISTORY_H
00180 
00181 #  endif
00182 
00183 // OpenIL main header
00184 // [Optional]
00185 #  ifdef HAVE_IL_IL_H
00186 
00187 #  endif
00188 
00189 // OpenIL utility header
00190 // [Optional]
00191 #  ifdef HAVE_IL_ILU_H
00192 
00193 #  endif
00194 
00195 // OpenGL rendering support
00196 #  if PCM_OPENGL == 1 && (0 || not defined(HAVE_GL_GL_H) || not defined(HAVE_GL_GLU_H) || not defined(HAVE_LIBGL) || not defined(HAVE_LIBGLU))
00197 #   error Cannot enable option 'opengl' (OpenGL rendering support) since there are unincludable headers or unlinkable libraries
00198 #  endif
00199 
00200 // CEGUI user interface support
00201 #  if PCM_GUI == 1 && (0 )
00202 #   error Cannot enable option 'gui' (CEGUI user interface support) since there are unincludable headers or unlinkable libraries
00203 #  endif
00204 
00205 // Cg support
00206 #  if PCM_CG == 1 && (0 || not defined(HAVE_LIBCG) || not defined(HAVE_LIBCGGL))
00207 #   error Cannot enable option 'cg' (Cg support) since there are unincludable headers or unlinkable libraries
00208 #  endif
00209 
00210 #endif