Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

config.h (Maintainer: Marc Sturm)

Go to the documentation of this file.
00001 /* config.h.  Generated by configure.  */
00002 // -*- Mode: C++; tab-width: 2; -*-
00003 // vi: set ts=2:
00004 //
00005 // ==========================================================================
00006 //
00007 // IMPORTANT:
00008 // This is config.h / config.h.in
00009 // Please do ONLY change config.h.in, as config.h is automagically
00010 // created by configure from config.h.in
00011 //
00012 // Use appropriate options to configure instead of changing config.h.
00013 // Changes made in config.h will be lost as soon as you call configure again.
00014 //
00015 // ==========================================================================
00016 //
00017 // --------------------------------------------------------------------------
00018 //                   OpenMS Mass Spectrometry Framework
00019 // --------------------------------------------------------------------------
00020 //  Copyright (C) 2003-2008 -- Oliver Kohlbacher, Knut Reinert
00021 //
00022 //  This library is free software; you can redistribute it and/or
00023 //  modify it under the terms of the GNU Lesser General Public
00024 //  License as published by the Free Software Foundation; either
00025 //  version 2.1 of the License, or (at your option) any later version.
00026 //
00027 //  This library is distributed in the hope that it will be useful,
00028 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00029 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00030 //  Lesser General Public License for more details.
00031 //
00032 //  You should have received a copy of the GNU Lesser General Public
00033 //  License along with this library; if not, write to the Free Software
00034 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00035 //
00036 // --------------------------------------------------------------------------
00037 // $Maintainer: Marc Sturm $
00038 // --------------------------------------------------------------------------
00039 
00040 #ifndef OPENMS_CONFIG_H
00041 #define OPENMS_CONFIG_H
00042 
00043 // Here are some global configuration flags for OpenMS
00044 
00045 // OPENMS_DEBUG enables some debugging methods
00046 // change the DEBUG entry in configure to define this flag.
00047 // If in debug mode, inline functions won't be compiled
00048 // as inline by defining OPENMS_NO_INLINE_FUNCTIONS
00049 // This facilitates debugging, as the debugger can always
00050 // find the corresponding source code line.
00051 // See also COMMON/debug.h for these symbols.
00052 #define OPENMS_DEBUG 
00053 #define OPENMS_NO_INLINE_FUNCTIONS 
00054 
00055 // The path to the directory where OpenMS data is installed
00056 #define OPENMS_DATA_PATH "/raid/sturm/OpenMS/share/OpenMS/"
00057 #define PACKAGE_VERSION "1.1 "
00058 
00059 // The string describing the binary format
00060 #define OPENMS_BINFMT "Linux-Opteron-g++_4.2.1"
00061 
00062 // Define architecture
00063 /* #undef OPENMS_ARCH_SPARC */
00064 /* #undef OPENMS_ARCH_MIPS */
00065 /* #undef OPENMS_ARCH_I386 */
00066 /* #undef OPENMS_ARCH_ALPHA */
00067 /* #undef OPENMS_ARCH_POWERPC */
00068 
00069 // Define OS
00070 #define OPENMS_OS_LINUX LINUX
00071 /* #undef OPENMS_OS_SOLARIS */
00072 /* #undef OPENMS_OS_SUNOS */
00073 /* #undef OPENMS_OS_IRIX */
00074 /* #undef OPENMS_OS_IRIX32 */
00075 /* #undef OPENMS_OS_IRIX64 */
00076 /* #undef OPENMS_OS_FREEBSD */
00077 /* #undef OPENMS_OS_DARWIN */
00078 /* #undef OPENMS_OS_MINGW32 */
00079 
00080 // Define compiler specifics (used in VERY few places only)
00081 // Microsoft Visual Studio .NET
00082 /* #undef OPENMS_COMPILER_MSVC */
00083 // GNU g++
00084 #define OPENMS_COMPILER_GXX 
00085 // Intel C++
00086 /* #undef OPENMS_COMPILER_INTEL */
00087 // SGI MipsPro
00088 /* #undef OPENMS_COMPILER_MIPSPRO */
00089 // SUN SunPro (Forte, Workshop)
00090 /* #undef OPENMS_COMPILER_SUNPRO */
00091 // Compaq cxx
00092 /* #undef OPENMS_COMPILER_COMPAQ */
00093 // Kuck & Associate (KAI) C++
00094 /* #undef OPENMS_COMPILER_KAI */
00095 
00096 // The compiler name.
00097 #define OPENMS_COMPILER GXX
00098 
00099 // Defines for the compiler version (major.minor.minor_minor)
00100 #define OPENMS_COMPILER_VERSION_MAJOR 4
00101 #define OPENMS_COMPILER_VERSION_MINOR 2
00102 #define OPENMS_COMPILER_VERSION_MINOR_MINOR 1
00103 
00104 // define if gethostname is supported
00105 /* #undef OPENMS_HAVE_GETHOSTNAME */
00106 
00107 // Define if sysinfo(SI_HOSTNAME,) has to be used instead of
00108 // gethostname (older Solaris variants)
00109 /* #undef OPENMS_HAVE_SYSINFO */
00110 
00111 // define if gethostname is not in the unistd.h header
00112 /* #undef OPENMS_DEFINE_GETHOSTNAME */
00113 
00114 // Define if you have the inet_aton function.
00115 // Note: inet_aton is a marginally improved version of inet_addr
00116 // If configure finds inet_aton, OPENMS_HAVE_INET_ATON is set and used.
00117 /* #undef OPENMS_HAVE_INET_ATON */
00118 
00119 // Define the type needed for getsockname, getpeername, and accept
00120 // This type is probably one of socklen_t, size_t, or int
00121 // Refer to /usr/include/sys/socket.h in case of doubt
00122 #define OPENMS_SOCKLEN_TYPE int
00123 
00124 // Define some symbols for the (bit)size of some builtin types
00125 #define OPENMS_INT_SIZE 4
00126 #define OPENMS_CHAR_SIZE 1
00127 #define OPENMS_LONG_SIZE 8
00128 #define OPENMS_SIZE_T_SIZE 8
00129 #define OPENMS_POINTER_SIZE 8
00130 
00131 // Define symbols for the endianness of the system
00132 #define OPENMS_LITTLE_ENDIAN true
00133 /* #undef OPENMS_BIG_ENDIAN */
00134 
00135 // the signature of the function arguments used in xdrrec_create differs
00136 // from platform to platform, so we define some symbols describing the
00137 // correct arguments: (void*, char*, int), (char*, char*, int), or (void)
00138 // take arguments of type (void*, char*, int)
00139 /* #undef OPENMS_XDRREC_CREATE_VOID_CHAR_INT */
00140 /* #undef OPENMS_XDRREC_CREATE_CHAR_CHAR_INT */
00141 /* #undef OPENMS_XDRREC_CREATE_VOID */
00142 
00143 // Some platforms (e.g. Debian 2.1) do not provide xdr_u_hyper, so we
00144 // need a workaround for this
00145 /* #undef OPENMS_HAS_XDR_U_HYPER */
00146 
00147 // Define to `int' if <sys/types.h> doesn't define.
00148 /* #undef pid_t */
00149 
00150 // Define to `unsigned' if <sys/types.h> doesn't define.
00151 /* #undef size_t */
00152 
00153 // Define if you have the ANSI C header files.
00154 #define STDC_HEADERS 1
00155 
00156 // Define if numeric_limits is defined in <limits>
00157 #define OPENMS_HAS_NUMERIC_LIMITS 1
00158 
00159 // Define the argument type for xdr_u_hyper (64 bit)
00160 #define OPENMS_XDR_UINT64_TYPE u_quad_t
00161 
00162 // Define on 64 bit architectures to avoid the use of long long
00163 // which is required on 32 bit machines for comatibility
00164 #define OPENMS_64BIT_ARCHITECTURE 1
00165 
00166 // Define a signed/unsigned numeric type of 64 bit length (used for
00167 // platform independent persistence: stores pointers)
00168 // this usually defaults to unsigned long on 64 bit architectures
00169 // and unsigned long long on 32 bit machines
00170 #define OPENMS_ULONG64_TYPE unsigned long
00171 #define OPENMS_LONG64_TYPE long
00172 
00173 // Defines an unsigned type that has the same length as size_t
00174 #define OPENMS_SIZE_TYPE unsigned int
00175 
00176 // Defines a signed type that has the same length as size_t
00177 #define OPENMS_INDEX_TYPE int
00178 
00179 // Defines an unsigned integer type of the same size as void*
00180 #define OPENMS_POINTERSIZEINT_TYPE long
00181 
00182 // Defines an unsigned integer type of the same size as void*
00183 #define OPENMS_POINTERSIZEUINT_TYPE unsigned long
00184 
00185 // Define the template argument for friends of template classes:
00186 // either "" or "<>"
00187 #define OPENMS_NULL_TEMPLATE_ARGS 
00188 
00189 // Basically a work-around for the broken SUNPro CC (WS 6U2),
00190 // which handles function template incorrectly -- see amberNonBonded.C
00191 /* #undef OPENMS_MUST_CAST_TEMPLATE_FUNCTION_ARGS */
00192 
00193 // Define whether the compiler provides an ANSI-compliant implementation
00194 // of <iostream>. This is required in COMMON/socket.h/C since we need
00195 // the correct initialisation of the base classes. These base classes are
00196 // either something like std::basic_ios<char> etc., or ios, istream etc.
00197 #define OPENMS_HAS_ANSI_IOSTREAM 1
00198 
00199 // Define whether we can use <sstream> or whether we have to use the
00200 // older <strstream>
00201 #define OPENMS_HAS_SSTREAM 1
00202 
00203 // Define whether inline functions may be used as template parameters.
00204 /* #undef OPENMS_HAS_INLINE_TPL_ARGS */
00205 
00206 // Define the precision for the OPENMS Complex type (has to be consistent
00207 // with the FFTW precision, if included).
00208 #define OPENMS_COMPLEX_PRECISION float
00209 
00210 // Define whether the FFTW library/header is available.
00211 /* #undef OPENMS_HAS_FFTW */
00212 /* #undef OPENMS_HAS_FFTW_DOUBLE */
00213 /* #undef OPENMS_HAS_FFTW_FLOAT */
00214 /* #undef OPENMS_HAS_FFTW_LONG_DOUBLE */
00215 /* #undef OPENMS_HAS_FFTW_H */
00216 
00217 // Define whether the CGAL library/header is available.
00218 #define OPENMS_HAS_CGAL 1
00219 
00220 // Define whether to use the ARM style or ANSI style access modifications
00221 //   ARM style:   BaseClass::foo;
00222 //   ANSI style:  using BaseClass::foo;
00223 #define OPENMS_CFG_USING_METHOD_DIRECTIVE 1
00224 
00225 // Define for activated PYTHON support
00226 /* #undef OPENMS_PYTHON_SUPPORT */
00227 
00228 // Maximum line length for reading from files (see source/FORMAT)
00229 #define OPENMS_MAX_LINE_LENGTH 65535
00230 
00231 // On some systems (e.g. Solaris) we need to include /usr/include/ieeefp.h
00232 // for some floating point functions
00233 /* #undef OPENMS_HAS_IEEEFP_H */
00234 
00235 // On some systems (e.g. Solaris) we need to include /usr/include/values.h
00236 // for some floating point functions
00237 #define OPENMS_HAS_VALUES_H 
00238 
00239 // On some systems, we do not have regex.h, so we have to use regexp.h
00240 /* #undef OPENMS_HAS_REGEXP_H */
00241 /* #undef OPENMS_HAS_REGEX_H */
00242 
00243 // Define whether float.h has to be included along with limits.h
00244 /* #undef OPENMS_HAS_FLOAT_H */
00245 
00246 #define OPENMS_HAS_STDINT_H 
00247 #define OPENMS_HAS_UNISTD_H 
00248 /* #undef OPENMS_HAS_PROCESS_H */
00249 #define OPENMS_HAS_TIME_H 
00250 #define OPENMS_HAS_LIMITS_H 
00251 /* #undef OPENMS_HAS_FLOAT_H */
00252 #define OPENMS_HAS_DIRENT_H 
00253 /* #undef OPENMS_HAS_DIRECT_H */
00254 #define OPENMS_HAS_PWD_H 
00255 #define OPENMS_HAS_SYS_IOCTL_H 
00256 #define OPENMS_HAS_SYS_TIME_H 
00257 #define OPENMS_HAS_SYS_STAT_H 
00258 #define OPENMS_HAS_SYS_TIMES_H 
00259 #define OPENMS_HAS_SYS_TYPES_H 
00260 #define OPENMS_HAS_SYS_PARAM_H 
00261 #define OPENMS_HAS_SYS_SOCKET_H 
00262 
00263 // use ExternalAllocator for MSExperiment as default (usually not recommended due to performance penalty)
00264 /* #undef OPENMS_ENABLE_EXTERNALMEMORY */
00265 
00266 #define OPENMS_HAS_NETINET_IN_H 
00267 #define OPENMS_HAS_NETDB_H 
00268 #define OPENMS_HAS_ARPA_INET_H 
00269 
00270 #define OPENMS_HAS_KILL 
00271 #define OPENMS_HAS_SYSCONF 
00272 
00273 
00274 // Specific to the Windows port (and actually not used here,
00275 // included for completeness, rather).
00276 /* #undef OPENMS_HAS_CLOCKS_PER_SEC */
00277 /* #undef OPENMS_HAS_WINDOWS_PERFORMANCE_COUNTER */
00278 /* #undef OPENMS_USE_WINSOCK */
00279 
00280 // Defines for conditional compiles when Libs are missing
00281 /* #undef ANDIMS_DEF */
00282 #define LIBSVM_DEF 1
00283 /* #undef NETCDF_DEF */
00284 #define DB_PLUGIN "QMYSQL"
00285 
00286 // __PRETTY_FUNCTION__ is a GNU G++ extension.  It is used in exceptions to indicate their origin.
00287 #ifndef OPENMS_COMPILER_GXX
00288 #  define __PRETTY_FUNCTION__ "<unknown>"
00289 #endif
00290 
00291 
00292 #ifdef WINNT   //MinGW (32bit + 64bit) & MSVS compiler
00293 #  define OPENMS_WINDOWSPLATFORM 1
00294 #endif
00295 
00296 
00297 #endif // OPENMS_CONFIG_H

Generated Tue Apr 1 15:36:33 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1